@staticmethod
  def parse_code_object(code_object, bytecode):
    """
      Parses the bytecode (``co_code`` field of the code object) and dereferences the
      ``oparg`` for later analysis.

      :param code_object: The code object containing the bytecode to analyze
      :param bytecode: The list that will be used to append the expanded bytecode
                       sequences.
    """
    if not code_object:
      return
    code = code_object.co_code

    labels = findlabels(code_object.co_code)
    linestarts = dict(findlinestarts(code_object))

    global_free = code_object.co_cellvars + code_object.co_freevars
    newlocals = bool(code_object.co_flags & CO_NEWLOCALS)

    length = len(code)
    i = 0
    lineno = -1
    extended_arg = 0

    while i < length:
      c = code[i]
      op = ord(c)

      if i in linestarts:
        lineno = linestarts[i]

      arg1 = None
      cflow_in = i in labels
      current_index = i
      i += 1

      if op >= opcode.HAVE_ARGUMENT:
        oparg = ord(code[i]) + (ord(code[i+1]) << 8) + extended_arg
        i += 2
        label = -1
        extended_arg = 0

        if op == opcode.EXTENDED_ARG:
          extended_arg = (oparg << 16)

        if opcode.hasconst in op:
          arg1 = code_object.co_consts[oparg]
        elif op in opcode.hasname:
          arg1 = code_object.co_names[oparg]
        elif op in opcode.haslocal:
          arg1 = code_object.co_varnames[oparg]
        elif op in opcode.hascompare:
          arg1 = opcode.cmp_op[oparg]
        elif op in opcode.hasfree:
          arg1 = global_free[oparg]
        elif op in opcode.hasjrel:
          arg1 = oparg
        elif op in opcode.hasjabs:
          arg1 = oparg
        else:
          arg1 = oparg

      bytecode.append((current_index, lineno, op, arg1, cflow_in, code_object))

      if arg1 and isinstance(arg1, types.CodeType):
        BytecodeObject.parse_code_object(arg1, bytecode)
dataset/ETHPy150Open neuroo/equip/equip/bytecode/code.py/BytecodeObject.parse_code_object/swapped operands of `in`