import re


def get_common_sids(linesl):
  """ Use the formatted lines. Return dictionary of common_sid:meaning """

  foundstartcsids = False
  common_sids = {}

  for line in linesl:

    if foundstartcsids and "Engine SIDs" in line:
      break

    if not foundstartcsids and "   Common SIDs" in line:
      foundstartcsids = True

    elif foundstartcsids:
      if re.match(' +[0-9]+[^\.]',line):
        garbage,sid,meaning = re.split(" {9,}",line)
        common_sids[sid.strip()] = meaning.strip()

  return common_sids