code: def get_instructions(
      x, *, first_line=None, show_caches=None, adaptive=False
  ):
      """Iterator for the opcodes in methods, functions or code
  
      Generates a series of Instruction named tuples giving the details of
      each operations in the supplied code.
  
      If *first_line* is not None, it indicates the line number that should
      be reported for the first source line in the disassembled code.
      Otherwise, the source line information (if any) is taken directly from
      the disassembled code object.
      """
      co = _get_code_object(x)
      linestarts = dict(findlinestarts(co))
      if first_line is not None:
          line_offset = first_line - co.co_firstlineno
      else:
          line_offset = 0
  
      original_code = co.co_code
      arg_resolver = ArgResolver(
          co_consts=co.co_consts,
          names=co.co_names,
          varname_from_oparg=co._varname_from_oparg,
          labels_map=_make_labels_map(original_code),
      )
      return _get_instructions_bytes(
          _get_code_array(co, adaptive),
          linestarts=linestarts,
          line_offset=line_offset,
          co_positions=co.co_positions(),
          original_code=original_code,
          arg_resolver=arg_resolver,
      )
  
imports: import sys
  import types
  import collections
  import io
  from opcode import *
  from opcode import __all__, _cache_format, _inline_cache_entries, _nb_ops, _intrinsic_1_descs, _intrinsic_2_descs, _specializations, _specialized_opmap
label_desc: Use image node_id 13 for calling a global function with example usage: get_instructions(x) and returns: _get_instructions_bytes