code: def _get_data(archive, toc_entry):
      (
          datapath,
          compress,
          data_size,
          file_size,
          file_offset,
          time,
          date,
          crc,
      ) = toc_entry
      if data_size < 0:
          raise ZipImportError("negative data size")
  
      with _io.open_code(archive) as fp:
          # Check to make sure the local file header is correct
          try:
              fp.seek(file_offset)
          except OSError:
              raise ZipImportError(
                  f"can't read Zip file: {archive!r}", path=archive
              )
          buffer = fp.read(30)
          if len(buffer) != 30:
              raise EOFError("EOF read where not expected")
  
          if buffer[:4] != b"PK\x03\x04":
              # Bad: Local File Header
              raise ZipImportError(
                  f"bad local file header: {archive!r}", path=archive
              )
  
          name_size = _unpack_uint16(buffer[26:28])
          extra_size = _unpack_uint16(buffer[28:30])
          header_size = 30 + name_size + extra_size
          file_offset += header_size  # Start of file data
          try:
              fp.seek(file_offset)
          except OSError:
              raise ZipImportError(
                  f"can't read Zip file: {archive!r}", path=archive
              )
          raw_data = fp.read(data_size)
          if len(raw_data) != data_size:
              raise OSError("zipimport: can't read data")
  
      if compress == 0:
          # data is not compressed
          return raw_data
  
      # Decompress with zlib
      try:
          decompress = _get_decompress_func()
      except Exception:
          raise ZipImportError(
              "can't decompress data; zlib not available"
          )
      return decompress(raw_data, -15)
  
imports: import _frozen_importlib_external
  from _frozen_importlib_external import _unpack_uint16, _unpack_uint32
  import _frozen_importlib
  import _imp
  import _io
  import marshal
  import sys
  import time
  import _warnings
label_desc: Use image node_id 6 for calling a global function with example usage: _get_data(archive, toc_entry) and returns: decompress, raw_data