// File: /workspace/github_c_makefile_star2_O0/negge[P]xlink/src/xlink.c
// Function: xlink_file_load_omf_module
xlink_module *xlink_file_load_omf_module(xlink_file *file, unsigned int flags) {
  xlink_module *mod;
  xlink_omf omf;
  xlink_data *dat;
  int done;
  int i, j;
  mod = xlink_malloc(sizeof(xlink_module));
  mod->filename = file->name;
  xlink_omf_init(&omf);
  dat = NULL;
  done = 0;
  while (file->size > 0 && !done) {
    xlink_omf_record rec;
    int i;
    xlink_file_load_omf_record(file, &rec);
    xlink_omf_add_record(&omf, &rec);
    switch (rec.type & ~1) {
      case OMF_THEADR :
      case OMF_LHEADR : {
        strcpy(mod->source, xlink_omf_record_read_string(&rec));
        break;
      }
      case OMF_MODEND : {
        done = 1;
        break;
      }
      case OMF_LNAMES :
      case OMF_LLNAMES : {
        while (xlink_omf_record_has_data(&rec)) {
          xlink_name *name;
          name = xlink_malloc(sizeof(xlink_name));
          strcpy(name->str, xlink_omf_record_read_string(&rec));
          XLINK_LIST_ADD(module, name, mod, name);
        }
        break;
      }
      case OMF_SEGDEF : {
        xlink_segment *seg;
        seg = xlink_malloc(sizeof(xlink_segment));
        seg->attrib.b = xlink_omf_record_read_byte(&rec);
        if (seg->attrib.align == 0) {
          seg->frame = xlink_omf_record_read_word(&rec);
          seg->offset = xlink_omf_record_read_byte(&rec);
        }
        else {
          seg->frame = seg->offset = 0;
        }
        seg->length = xlink_omf_record_read_numeric(&rec);
        XLINK_ERROR(seg->attrib.big && seg->length != 0,
         ("Invalid length for 'big' segment, expected 0 got %i", seg->length));
        seg->name =
         xlink_module_get_name(mod, xlink_omf_record_read_index(&rec));
        seg->class =
         xlink_module_get_name(mod, xlink_omf_record_read_index(&rec));
        /* Read and ignore Overlay Name Index */
        xlink_omf_record_read_index(&rec);
        seg->info = 0;
        seg->data = xlink_malloc(seg->length);
        seg->mask = xlink_malloc(CEIL2(seg->length, 3));
        xlink_segment_reset_mask(seg);
        XLINK_LIST_ADD(module, segment, mod, seg);
        break;
      }
      case OMF_GRPDEF : {
        xlink_group *grp;
        grp = xlink_malloc(sizeof(xlink_group));
        grp->name =
         xlink_module_get_name(mod, xlink_omf_record_read_index(&rec));
        grp->nsegments = 0;
        while (xlink_omf_record_has_data(&rec)) {
          unsigned char index;
          xlink_segment *s;
          index = xlink_omf_record_read_byte(&rec);
          XLINK_ERROR(index != 0xFF, ("Invalid segment index %i", index));
          s = xlink_module_get_segment(mod, xlink_omf_record_read_index(&rec));
          XLINK_ERROR(s->group != NULL,
           ("Cannot add segment %s to group %s, already added to group %s:%i",
           xlink_segment_get_name(s), xlink_group_get_name(grp), s->group->name,
           s->group->index));
          s->group = grp;
          xlink_group_add_segment(grp, s);
        }
        XLINK_LIST_ADD(module, group, mod, grp);
        break;
      }
      case OMF_PUBDEF :
      case OMF_LPUBDEF : {
        int group_idx;
        int segment_idx;
        xlink_public base;
        group_idx = xlink_omf_record_read_index(&rec);
        segment_idx = xlink_omf_record_read_index(&rec);
        base.group = group_idx ? xlink_module_get_group(mod, group_idx) : NULL;
        base.segment =
         segment_idx ? xlink_module_get_segment(mod, segment_idx) : NULL;
        base.base_frame =
         base.segment == NULL ? xlink_omf_record_read_word(&rec) : 0;
        base.is_local = ((rec.type & ~1) == OMF_LPUBDEF);
        while (xlink_omf_record_has_data(&rec)) {
          xlink_public *pub;
          pub = xlink_malloc(sizeof(xlink_public));
          *pub = base;
          strcpy(pub->name, xlink_omf_record_read_string(&rec));
          pub->offset = xlink_omf_record_read_numeric(&rec);
          pub->type_idx = xlink_omf_record_read_index(&rec);
          XLINK_LIST_ADD(module, public, mod, pub);
          if (pub->segment) {
            xlink_segment_add_public(pub->segment, pub);
          }
        }
        break;
      }
      case OMF_EXTDEF :
      case OMF_LEXTDEF : {
        xlink_extern base;
        base.is_local = (rec.type == OMF_LEXTDEF);
        while (xlink_omf_record_has_data(&rec)) {
          xlink_extern *ext;
          ext = xlink_malloc(sizeof(xlink_extern));
          *ext = base;
          strcpy(ext->name, xlink_omf_record_read_string(&rec));
          ext->type_idx = xlink_omf_record_read_index(&rec);
          XLINK_LIST_ADD(module, extern, mod, ext);
        }
        break;
      }
      case OMF_LEDATA :
      case OMF_LIDATA : {
        xlink_segment *seg;
        seg = xlink_module_get_segment(mod, xlink_omf_record_read_index(&rec));
        seg->info |= SEG_HAS_DATA;
        dat = xlink_malloc(sizeof(xlink_data));
        dat->segment = seg;
        dat->offset = xlink_omf_record_read_numeric(&rec);
        dat->is_iterated = rec.type & 0x2;
        dat->length = xlink_omf_record_data_left(&rec);
        dat->data = xlink_malloc(dat->length);
        dat->mask = xlink_malloc(CEIL2(dat->length, 3));
        memcpy(dat->data, &rec.buf[rec.idx], dat->length);
        xlink_data_reset_mask(dat);
        if (!dat->is_iterated) {
          XLINK_ERROR(dat->offset + dat->length > seg->length,
           ("LEDATA wrote past end of segment %s, offset = %i but length = %i",
           xlink_segment_get_name(seg), dat->offset + dat->length,
           seg->length));
          memcpy(&seg->data[dat->offset], &rec.buf[rec.idx], dat->length);
          for (i = 0; i < dat->length; i++) {
            XLINK_ERROR(XLINK_GET_BIT(seg->mask, dat->offset + i),
             ("LEDATA overwrote existing data in segment %s, offset = %i",
             xlink_segment_get_name(seg), dat->offset + i));
            XLINK_SET_BIT(seg->mask, dat->offset + i, 1);
          }
        }
        else {
          int size;
          size = xlink_omf_record_load_iterated(&rec, &seg->data[dat->offset],
           seg->length - dat->offset);
          for (i = 0; i < size; i++) {
            XLINK_ERROR(XLINK_GET_BIT(seg->mask, dat->offset + i),
             ("LIDATA overwrote existing data in segment %s, offset = %i",
             xlink_segment_get_name(seg), dat->offset + i));
            XLINK_SET_BIT(seg->mask, dat->offset + i, 1);
          }
        }
        XLINK_LIST_ADD(module, data, mod, dat);
        xlink_segment_add_data(dat->segment, dat);
        break;
      }
      case OMF_FIXUPP : {
        while (xlink_omf_record_has_data(&rec)) {
          unsigned char byte;
          byte = xlink_omf_record_read_byte(&rec);
          if (byte & 0x80) {
            xlink_segment *seg;
            xlink_reloc *rel;
            xlink_omf_fixup_locat locat;
            xlink_omf_fixup_fixdata fixdata;
            const unsigned char *data;
            XLINK_ERROR(dat == NULL, ("Got FIXUP before LxDATA record"));
            XLINK_ERROR(dat->is_iterated,
             ("FIXUP records for LIDATA not yet supported"));
            seg = dat->segment;
            rel = xlink_malloc(sizeof(xlink_reloc));
            rel->segment = seg;
            locat.b0 = byte;
            locat.b1 = xlink_omf_record_read_byte(&rec);
            XLINK_ERROR(locat.high != 1, ("Expecting FIXUP subrecord"));
            rel->offset = dat->offset + locat.offset;
            rel->mode = locat.mode;
            rel->location = locat.location;
            XLINK_ERROR(
             seg->length < rel->offset + OMF_FIXUP_SIZE[rel->location],
             ("FIXUP offset %i past segment end %i", rel->offset, seg->length));
            for (i = 0; i < OMF_FIXUP_SIZE[rel->location]; i++) {
              XLINK_ERROR(XLINK_GET_BIT(seg->mask, rel->offset + i) == 0,
               ("FIXUP modifies uninitialized data, location %i",
               rel->offset + i));
            }
            fixdata.b = xlink_omf_record_read_byte(&rec);
            if (!fixdata.th_frame) {
              rel->frame = fixdata.frame;
              rel->frame_idx = 0;
              if (fixdata.frame < OMF_FRAME_LOC) {
                rel->frame_idx = xlink_omf_record_read_index(&rec);
                switch (rel->frame) {
                  case OMF_FRAME_SEG : {
                    xlink_module_get_segment(mod, rel->frame_idx);
                    break;
                  }
                  case OMF_FRAME_GRP : {
                    xlink_module_get_group(mod, rel->frame_idx);
                    break;
                  }
                  case OMF_FRAME_EXT : {
                    xlink_module_get_extern(mod, rel->frame_idx);
                    break;
                  }
                }
              }
            }
            else {
              // TODO: Get frame info from thread in xlink_omf struct
            }
            if (!fixdata.th_target) {
              rel->target = (fixdata.no_disp << 2) + fixdata.target;
              rel->target_idx = xlink_omf_record_read_index(&rec);
              switch (rel->target) {
                case OMF_TARGET_SEG :
                case OMF_TARGET_SEG_DISP : {
                  xlink_module_get_segment(mod, rel->target_idx);
                  break;
                }
                case OMF_TARGET_GRP :
                case OMF_TARGET_GRP_DISP : {
                  xlink_module_get_group(mod, rel->target_idx);
                  break;
                }
                case OMF_TARGET_EXT :
                case OMF_TARGET_EXT_DISP : {
                  xlink_module_get_extern(mod, rel->target_idx);
                  break;
                }
              }
            }
            else {
              // TODO: Get target info from thread in xlink_omf struct
            }
            if (!fixdata.no_disp) {
              rel->disp = xlink_omf_record_read_numeric(&rec);
            }
            data = seg->data + rel->offset;
            switch (rel->location) {
              case OMF_LOCATION_8BIT :
              case OMF_LOCATION_8BIT_HIGH : {
                rel->addend.offset = *(int8_t *)data;
                break;
              }
              case OMF_LOCATION_16BIT :
              case OMF_LOCATION_SEGMENT :
              case OMF_LOCATION_16BIT_LOADER : {
                rel->addend.offset = *(int16_t *)data;
                break;
              }
              case OMF_LOCATION_FAR : {
                rel->addend.segment = *(uint16_t *)(data + 2),
                rel->addend.offset = *(int16_t *)data;
                break;
              }
              case OMF_LOCATION_32BIT :
              case OMF_LOCATION_32BIT_LOADER : {
                rel->addend.offset = *(int32_t *)data;
                break;
              }
              case OMF_LOCATION_48BIT :
              case OMF_LOCATION_48BIT_PHARLAP : {
                rel->addend.segment = *(uint16_t *)(data + 4),
                rel->addend.offset = *(int32_t *)data;
                break;
              }
              default : {
                XLINK_ERROR(1, ("Unsupported location %i", rel->location));
              }
            }
            XLINK_LIST_ADD(module, reloc, mod, rel);
            xlink_segment_add_reloc(rel->segment, rel);
          }
          else {
            xlink_omf_fixup_thread th;
            int index;
            XLINK_ERROR(th.high != 0, ("Expecting THREAD subrecord"));
            index = 0;
            if (th.method < OMF_FRAME_LOC) {
              index = xlink_omf_record_read_index(&rec);
            }
          }
        }
      }
    }
  }
  XLINK_ERROR(!done, ("Got EOF before reading MODEND in %s", file->name));
  for (i = 1; i <= mod->nsegments; i++) {
    xlink_segment *seg;
    seg = xlink_module_get_segment(mod, i);
    /* Check that all segments are either fully populated or uninitialized */
    if (seg->info & SEG_HAS_DATA) {
      for (j = 0; j < seg->length; j++) {
        XLINK_ERROR(XLINK_GET_BIT(seg->mask, j) == 0,
         ("Missing data for segment %s, offset = %i",
         xlink_segment_get_name(seg), j));
      }
    }
    else {
      free(seg->data);
      free(seg->mask);
      seg->data = seg->mask = NULL;
    }
    /* Sort the PUBDEF and FIXUPP records by their offset into segment */
    qsort(seg->publics, seg->npublics, sizeof(xlink_public *), pub_comp);
    qsort(seg->relocs, seg->nrelocs, sizeof(xlink_reloc *), rel_comp);
    if ((seg->info & SEG_HAS_DATA) == 0) {
      XLINK_ERROR(seg->nrelocs != 0,
       ("Uninitialized segment %s has %i relocations, should have none",
       xlink_segment_get_name(seg), seg->nrelocs));
    }
  }
  if (flags & MOD_SPLIT) {
    xlink_module_split_segments(mod);
  }
  if (flags & MOD_DUMP) {
    printf("Module: %s\n", mod->filename);
    xlink_omf_dump_records(&omf);
    xlink_module_dump_names(mod);
    xlink_module_dump_symbols(mod);
    xlink_module_dump_segments(mod);
    xlink_omf_dump_lxdata(&omf, mod);
    xlink_module_dump_relocations(mod);
  }
  xlink_omf_clear(&omf);
  return mod;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x3c0, %rsp            # imm = 0x3C0
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x188, %edi            # imm = 0x188
callq 0xae70
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
leaq -0x28(%rbp), %rdi
callq 0x2310
movq $0x0, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl $0x0, 0x8(%rcx)
movb %al, -0x329(%rbp)
jbe 0x62f7
cmpl $0x0, -0x34(%rbp)
setne %al
xorb $-0x1, %al
movb %al, -0x329(%rbp)
movb -0x329(%rbp), %al
testb $0x1, %al
jne 0x6306
jmp 0x73b4
movq -0x8(%rbp), %rdi
leaq -0x50(%rbp), %rsi
movq %rsi, -0x340(%rbp)
callq 0x7610
movq -0x340(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x3040
movzbl -0x44(%rbp), %eax
andl $-0x2, %eax
addl $-0x80, %eax
movl %eax, %ecx
movq %rcx, -0x338(%rbp)
subl $0x4a, %eax
ja 0x73af
movq -0x338(%rbp), %rax
leaq 0x7f60(%rip), %rcx      # 0xe2b4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x18(%rbp), %rax
addq $0x18, %rax
movq %rax, -0x348(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x4d20
movq -0x348(%rbp), %rdi
movq %rax, %rsi
callq 0x2040
jmp 0x73af
movl $0x1, -0x34(%rbp)
jmp 0x73af
jmp 0x6397
leaq -0x50(%rbp), %rdi
callq 0x77b0
cmpl $0x0, %eax
je 0x6408
movl $0x110, %edi            # imm = 0x110
callq 0xae70
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x350(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x4d20
movq -0x350(%rbp), %rdi
movq %rax, %rsi
callq 0x2040
movq -0x18(%rbp), %rax
movl 0x120(%rax), %ecx
addl $0x1, %ecx
movq -0x60(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x60(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0x3250
jmp 0x6397
jmp 0x73af
movl $0x80, %edi
callq 0xae70
movq %rax, -0x68(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x4cf0
movb %al, %cl
movq -0x68(%rbp), %rax
movb %cl, 0x10(%rax)
movq -0x68(%rbp), %rax
movb 0x10(%rax), %al
shrb $0x5, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x6467
leaq -0x50(%rbp), %rdi
callq 0x4bf0
movzwl %ax, %ecx
movq -0x68(%rbp), %rax
movl %ecx, 0x14(%rax)
leaq -0x50(%rbp), %rdi
callq 0x4cf0
movzbl %al, %ecx
movq -0x68(%rbp), %rax
movl %ecx, 0x18(%rax)
jmp 0x647d
movq -0x68(%rbp), %rax
movl $0x0, 0x18(%rax)
movq -0x68(%rbp), %rax
movl $0x0, 0x14(%rax)
leaq -0x50(%rbp), %rdi
callq 0x4b70
movl %eax, %ecx
movq -0x68(%rbp), %rax
movl %ecx, 0x1c(%rax)
movq -0x68(%rbp), %rax
movb 0x10(%rax), %al
shrb %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
je 0x64cb
movq -0x68(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0x64cb
movq -0x68(%rbp), %rax
movl 0x1c(%rax), %esi
leaq 0x893a(%rip), %rdi      # 0xedf4
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x64cd
movq -0x18(%rbp), %rax
movq %rax, -0x360(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x5200
movq -0x360(%rbp), %rdi
movl %eax, %esi
callq 0x32e0
movq %rax, %rcx
movq -0x68(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x18(%rbp), %rax
movq %rax, -0x358(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x5200
movq -0x358(%rbp), %rdi
movl %eax, %esi
callq 0x32e0
movq %rax, %rcx
movq -0x68(%rbp), %rax
movq %rcx, 0x28(%rax)
leaq -0x50(%rbp), %rdi
callq 0x5200
movq -0x68(%rbp), %rax
movl $0x0, 0x30(%rax)
movq -0x68(%rbp), %rax
movslq 0x1c(%rax), %rdi
callq 0xae70
movq %rax, %rcx
movq -0x68(%rbp), %rax
movq %rcx, 0x38(%rax)
movq -0x68(%rbp), %rax
movl 0x1c(%rax), %eax
addl $0x7, %eax
sarl $0x3, %eax
movslq %eax, %rdi
callq 0xae70
movq %rax, %rcx
movq -0x68(%rbp), %rax
movq %rcx, 0x40(%rax)
movq -0x68(%rbp), %rdi
callq 0x28b0
movq -0x18(%rbp), %rax
movl 0x130(%rax), %ecx
addl $0x1, %ecx
movq -0x68(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x68(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x33b0
jmp 0x73af
movl $0x28, %edi
callq 0xae70
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x368(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x5200
movq -0x368(%rbp), %rdi
movl %eax, %esi
callq 0x32e0
movq %rax, %rcx
movq -0x70(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x70(%rbp), %rax
movl $0x0, 0x20(%rax)
leaq -0x50(%rbp), %rdi
callq 0x77b0
cmpl $0x0, %eax
je 0x66dd
leaq -0x50(%rbp), %rdi
callq 0x4cf0
movb %al, -0x71(%rbp)
movzbl -0x71(%rbp), %eax
cmpl $0xff, %eax
je 0x6638
movzbl -0x71(%rbp), %esi
leaq 0x8801(%rip), %rdi      # 0xee28
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x663a
movq -0x18(%rbp), %rax
movq %rax, -0x370(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x5200
movq -0x370(%rbp), %rdi
movl %eax, %esi
callq 0x3440
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
cmpq $0x0, 0x48(%rax)
je 0x66bd
movq -0x80(%rbp), %rdi
callq 0x2760
movq %rax, -0x378(%rbp)
movq -0x70(%rbp), %rdi
callq 0x2a50
movq -0x378(%rbp), %rsi
movq %rax, %rdx
movq -0x80(%rbp), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rcx
movq -0x80(%rbp), %rax
movq 0x48(%rax), %rax
movl (%rax), %r8d
leaq 0x8795(%rip), %rdi      # 0xee41
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x66bf
movq -0x70(%rbp), %rcx
movq -0x80(%rbp), %rax
movq %rcx, 0x48(%rax)
movq -0x70(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0x28f0
jmp 0x65f3
movq -0x18(%rbp), %rax
movl 0x140(%rax), %ecx
addl $0x1, %ecx
movq -0x70(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x70(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rdi
movq -0x70(%rbp), %rsi
callq 0x3510
jmp 0x73af
leaq -0x50(%rbp), %rdi
callq 0x5200
movl %eax, -0x84(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x5200
movl %eax, -0x88(%rbp)
cmpl $0x0, -0x84(%rbp)
je 0x674d
movq -0x18(%rbp), %rdi
movl -0x84(%rbp), %esi
callq 0x35a0
movq %rax, -0x380(%rbp)
jmp 0x6758
xorl %eax, %eax
movq %rax, -0x380(%rbp)
jmp 0x6758
movq -0x380(%rbp), %rax
movq %rax, -0x1a8(%rbp)
cmpl $0x0, -0x88(%rbp)
je 0x6787
movq -0x18(%rbp), %rdi
movl -0x88(%rbp), %esi
callq 0x3440
movq %rax, -0x388(%rbp)
jmp 0x6792
xorl %eax, %eax
movq %rax, -0x388(%rbp)
jmp 0x6792
movq -0x388(%rbp), %rax
movq %rax, -0x1a0(%rbp)
cmpq $0x0, -0x1a0(%rbp)
jne 0x67be
leaq -0x50(%rbp), %rdi
callq 0x4bf0
movzwl %ax, %eax
movl %eax, -0x38c(%rbp)
jmp 0x67c8
xorl %eax, %eax
movl %eax, -0x38c(%rbp)
jmp 0x67c8
movl -0x38c(%rbp), %eax
movl %eax, -0x198(%rbp)
movzbl -0x44(%rbp), %eax
andl $-0x2, %eax
cmpl $0xb6, %eax
sete %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x8c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x77b0
cmpl $0x0, %eax
je 0x68e2
movl $0x130, %edi            # imm = 0x130
callq 0xae70
movq %rax, -0x1c0(%rbp)
movq -0x1c0(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
movl $0x130, %edx            # imm = 0x130
callq 0x2100
movq -0x1c0(%rbp), %rax
addq $0x24, %rax
movq %rax, -0x398(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x4d20
movq -0x398(%rbp), %rdi
movq %rax, %rsi
callq 0x2040
leaq -0x50(%rbp), %rdi
callq 0x4b70
movl %eax, %ecx
movq -0x1c0(%rbp), %rax
movl %ecx, 0x124(%rax)
leaq -0x50(%rbp), %rdi
callq 0x5200
movl %eax, %ecx
movq -0x1c0(%rbp), %rax
movl %ecx, 0x128(%rax)
movq -0x18(%rbp), %rax
movl 0x150(%rax), %ecx
addl $0x1, %ecx
movq -0x1c0(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x1c0(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rdi
movq -0x1c0(%rbp), %rsi
callq 0x3670
movq -0x1c0(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x68dd
movq -0x1c0(%rbp), %rax
movq 0x18(%rax), %rdi
movq -0x1c0(%rbp), %rsi
callq 0x2360
jmp 0x67ee
jmp 0x73af
movzbl -0x44(%rbp), %eax
cmpl $0xb4, %eax
sete %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x1cc(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x77b0
cmpl $0x0, %eax
je 0x69b5
movl $0x120, %edi            # imm = 0x120
callq 0xae70
movq %rax, -0x2e8(%rbp)
movq -0x2e8(%rbp), %rdi
leaq -0x2e0(%rbp), %rsi
movl $0x120, %edx            # imm = 0x120
callq 0x2100
movq -0x2e8(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x3a0(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x4d20
movq -0x3a0(%rbp), %rdi
movq %rax, %rsi
callq 0x2040
leaq -0x50(%rbp), %rdi
callq 0x5200
movl %eax, %ecx
movq -0x2e8(%rbp), %rax
movl %ecx, 0x110(%rax)
movq -0x18(%rbp), %rax
movl 0x160(%rax), %ecx
addl $0x1, %ecx
movq -0x2e8(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x2e8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rdi
movq -0x2e8(%rbp), %rsi
callq 0x3930
jmp 0x68fe
jmp 0x73af
movq -0x18(%rbp), %rax
movq %rax, -0x3a8(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x5200
movq -0x3a8(%rbp), %rdi
movl %eax, %esi
callq 0x3440
movq %rax, -0x2f0(%rbp)
movq -0x2f0(%rbp), %rax
movl 0x30(%rax), %ecx
orl $0x1, %ecx
movl %ecx, 0x30(%rax)
movl $0x38, %edi
callq 0xae70
movq %rax, -0x30(%rbp)
movq -0x2f0(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x10(%rax)
leaq -0x50(%rbp), %rdi
callq 0x4b70
movl %eax, %ecx
movq -0x30(%rbp), %rax
movl %ecx, 0x18(%rax)
movzbl -0x44(%rbp), %ecx
andl $0x2, %ecx
movq -0x30(%rbp), %rax
movl %ecx, 0x1c(%rax)
leaq -0x50(%rbp), %rdi
callq 0x77e0
movl %eax, %ecx
movq -0x30(%rbp), %rax
movl %ecx, 0x20(%rax)
movq -0x30(%rbp), %rax
movslq 0x20(%rax), %rdi
callq 0xae70
movq %rax, %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x30(%rbp), %rax
movl 0x20(%rax), %eax
addl $0x7, %eax
sarl $0x3, %eax
movslq %eax, %rdi
callq 0xae70
movq %rax, %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x30(%rax)
movq -0x30(%rbp), %rax
movq 0x28(%rax), %rdi
movq -0x50(%rbp), %rsi
movslq -0x48(%rbp), %rax
addq %rax, %rsi
movq -0x30(%rbp), %rax
movslq 0x20(%rax), %rdx
callq 0x2100
movq -0x30(%rbp), %rdi
callq 0x2b00
movq -0x30(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
jne 0x6c3f
jmp 0x6ab3
movq -0x30(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x30(%rbp), %rcx
addl 0x20(%rcx), %eax
movq -0x2f0(%rbp), %rcx
cmpl 0x1c(%rcx), %eax
jbe 0x6b0c
movq -0x2f0(%rbp), %rdi
callq 0x2760
movq %rax, %rsi
movq -0x30(%rbp), %rax
movl 0x18(%rax), %edx
movq -0x30(%rbp), %rax
addl 0x20(%rax), %edx
movq -0x2f0(%rbp), %rax
movl 0x1c(%rax), %ecx
leaq 0x8386(%rip), %rdi      # 0xee81
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x6b0e
movq -0x2f0(%rbp), %rax
movq 0x38(%rax), %rdi
movq -0x30(%rbp), %rax
movl 0x18(%rax), %eax
addq %rax, %rdi
movq -0x50(%rbp), %rsi
movslq -0x48(%rbp), %rax
addq %rax, %rsi
movq -0x30(%rbp), %rax
movslq 0x20(%rax), %rdx
callq 0x2100
movl $0x0, -0x54(%rbp)
movl -0x54(%rbp), %eax
movq -0x30(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x6c3a
jmp 0x6b54
movq -0x2f0(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
shrl $0x3, %ecx
movl %ecx, %ecx
movzbl (%rax,%rcx), %eax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
andl $0x7, %ecx
sarl %cl, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x6bba
movq -0x2f0(%rbp), %rdi
callq 0x2760
movq %rax, %rsi
movq -0x30(%rbp), %rax
movl 0x18(%rax), %edx
addl -0x54(%rbp), %edx
leaq 0x8319(%rip), %rdi      # 0xeec2
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x6bbc
movq -0x2f0(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
shrl $0x3, %ecx
movl %ecx, %ecx
movzbl (%rax,%rcx), %eax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
andl $0x7, %ecx
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
xorl $-0x1, %ecx
andl %ecx, %eax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
andl $0x7, %ecx
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
movb %al, %dl
movq -0x2f0(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
shrl $0x3, %ecx
movl %ecx, %ecx
movb %dl, (%rax,%rcx)
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x6b42
jmp 0x6d74
movq -0x2f0(%rbp), %rax
movq 0x38(%rax), %rsi
movq -0x30(%rbp), %rax
movl 0x18(%rax), %eax
addq %rax, %rsi
movq -0x2f0(%rbp), %rax
movl 0x1c(%rax), %edx
movq -0x30(%rbp), %rax
subl 0x18(%rax), %edx
leaq -0x50(%rbp), %rdi
callq 0x6130
movl %eax, -0x2f4(%rbp)
movl $0x0, -0x54(%rbp)
movl -0x54(%rbp), %eax
cmpl -0x2f4(%rbp), %eax
jge 0x6d72
jmp 0x6c8c
movq -0x2f0(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
shrl $0x3, %ecx
movl %ecx, %ecx
movzbl (%rax,%rcx), %eax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
andl $0x7, %ecx
sarl %cl, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x6cf2
movq -0x2f0(%rbp), %rdi
callq 0x2760
movq %rax, %rsi
movq -0x30(%rbp), %rax
movl 0x18(%rax), %edx
addl -0x54(%rbp), %edx
leaq 0x821b(%rip), %rdi      # 0xeefc
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x6cf4
movq -0x2f0(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
shrl $0x3, %ecx
movl %ecx, %ecx
movzbl (%rax,%rcx), %eax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
andl $0x7, %ecx
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
xorl $-0x1, %ecx
andl %ecx, %eax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
andl $0x7, %ecx
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
movb %al, %dl
movq -0x2f0(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x30(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
shrl $0x3, %ecx
movl %ecx, %ecx
movb %dl, (%rax,%rcx)
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x6c7b
jmp 0x6d74
movq -0x18(%rbp), %rax
movl 0x170(%rax), %ecx
addl $0x1, %ecx
movq -0x30(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x37d0
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x30(%rbp), %rsi
callq 0x2490
jmp 0x73af
jmp 0x6db8
leaq -0x50(%rbp), %rdi
callq 0x77b0
cmpl $0x0, %eax
je 0x73ad
leaq -0x50(%rbp), %rdi
callq 0x4cf0
movb %al, -0x2f5(%rbp)
movzbl -0x2f5(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x734b
jmp 0x6df0
cmpq $0x0, -0x30(%rbp)
jne 0x6e0f
leaq 0x8138(%rip), %rdi      # 0xef36
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x6e11
jmp 0x6e13
movq -0x30(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0x6e35
leaq 0x8131(%rip), %rdi      # 0xef55
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x6e37
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x300(%rbp)
movl $0x40, %edi
callq 0xae70
movq %rax, -0x308(%rbp)
movq -0x300(%rbp), %rcx
movq -0x308(%rbp), %rax
movq %rcx, 0x10(%rax)
movb -0x2f5(%rbp), %al
movb %al, -0x309(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x4cf0
movb %al, -0x30a(%rbp)
movw -0x30a(%rbp), %ax
shrw $0xf, %ax
movzwl %ax, %eax
cmpl $0x1, %eax
je 0x6eaf
leaq 0x80e2(%rip), %rdi      # 0xef80
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x6eb1
movq -0x30(%rbp), %rax
movl 0x18(%rax), %ecx
movw -0x30a(%rbp), %ax
andw $0x3ff, %ax             # imm = 0x3FF
movzwl %ax, %eax
addl %eax, %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x18(%rax)
movw -0x30a(%rbp), %ax
shrw $0xe, %ax
andw $0x1, %ax
movzwl %ax, %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x1c(%rax)
movw -0x30a(%rbp), %ax
shrw $0xa, %ax
andw $0xf, %ax
movzwl %ax, %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x20(%rax)
movq -0x300(%rbp), %rax
movl 0x1c(%rax), %eax
movq -0x308(%rbp), %rcx
movl 0x18(%rcx), %ecx
movq -0x308(%rbp), %rdx
movl 0x20(%rdx), %edx
movl %edx, %esi
leaq 0x75ff(%rip), %rdx      # 0xe530
addl (%rdx,%rsi,4), %ecx
cmpl %ecx, %eax
jae 0x6f64
movq -0x308(%rbp), %rax
movl 0x18(%rax), %esi
movq -0x300(%rbp), %rax
movl 0x1c(%rax), %edx
leaq 0x7e16(%rip), %rdi      # 0xed69
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x6f66
movl $0x0, -0x54(%rbp)
movl -0x54(%rbp), %eax
movq -0x308(%rbp), %rcx
movl 0x20(%rcx), %ecx
movl %ecx, %edx
leaq 0x75ad(%rip), %rcx      # 0xe530
cmpl (%rcx,%rdx,4), %eax
jge 0x6ffc
jmp 0x6f8a
movq -0x300(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x308(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
shrl $0x3, %ecx
movl %ecx, %ecx
movzbl (%rax,%rcx), %eax
movq -0x308(%rbp), %rcx
movl 0x18(%rcx), %ecx
addl -0x54(%rbp), %ecx
andl $0x7, %ecx
sarl %cl, %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x6fea
movq -0x308(%rbp), %rax
movl 0x18(%rax), %esi
addl -0x54(%rbp), %esi
leaq 0x7fc1(%rip), %rdi      # 0xef9a
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x6fec
jmp 0x6fee
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x6f6d
leaq -0x50(%rbp), %rdi
callq 0x4cf0
movb %al, -0x30b(%rbp)
movb -0x30b(%rbp), %al
shrb $0x7, %al
cmpb $0x0, %al
jne 0x70df
movb -0x30b(%rbp), %al
shrb $0x4, %al
andb $0x7, %al
movzbl %al, %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x24(%rax)
movq -0x308(%rbp), %rax
movl $0x0, 0x2c(%rax)
movb -0x30b(%rbp), %al
shrb $0x4, %al
andb $0x7, %al
movzbl %al, %eax
cmpl $0x4, %eax
jge 0x70dd
leaq -0x50(%rbp), %rdi
callq 0x5200
movl %eax, %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x2c(%rax)
movq -0x308(%rbp), %rax
movl 0x24(%rax), %eax
movl %eax, -0x3ac(%rbp)
testl %eax, %eax
je 0x709e
jmp 0x7084
movl -0x3ac(%rbp), %eax
subl $0x1, %eax
je 0x70b3
jmp 0x7091
movl -0x3ac(%rbp), %eax
subl $0x2, %eax
je 0x70c8
jmp 0x70db
movq -0x18(%rbp), %rdi
movq -0x308(%rbp), %rax
movl 0x2c(%rax), %esi
callq 0x3440
jmp 0x70db
movq -0x18(%rbp), %rdi
movq -0x308(%rbp), %rax
movl 0x2c(%rax), %esi
callq 0x35a0
jmp 0x70db
movq -0x18(%rbp), %rdi
movq -0x308(%rbp), %rax
movl 0x2c(%rax), %esi
callq 0x39c0
jmp 0x70dd
jmp 0x70e1
jmp 0x70e1
movb -0x30b(%rbp), %al
shrb $0x3, %al
andb $0x1, %al
cmpb $0x0, %al
jne 0x71c4
movzbl -0x30b(%rbp), %ecx
movb %cl, %al
shrb $0x2, %al
andb $0x1, %al
movzbl %al, %edx
andl $0x3, %ecx
movl %ecx, %eax
movl %edx, %ecx
leal (%rax,%rcx,4), %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x28(%rax)
leaq -0x50(%rbp), %rdi
callq 0x5200
movl %eax, %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x30(%rax)
movq -0x308(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x3b0(%rbp)
testl %eax, %eax
je 0x7185
jmp 0x7144
movl -0x3b0(%rbp), %eax
subl $0x1, %eax
je 0x719a
jmp 0x7151
movl -0x3b0(%rbp), %eax
subl $0x2, %eax
je 0x71af
jmp 0x715e
movl -0x3b0(%rbp), %eax
subl $0x4, %eax
je 0x7185
jmp 0x716b
movl -0x3b0(%rbp), %eax
subl $0x5, %eax
je 0x719a
jmp 0x7178
movl -0x3b0(%rbp), %eax
subl $0x6, %eax
je 0x71af
jmp 0x71c2
movq -0x18(%rbp), %rdi
movq -0x308(%rbp), %rax
movl 0x30(%rax), %esi
callq 0x3440
jmp 0x71c2
movq -0x18(%rbp), %rdi
movq -0x308(%rbp), %rax
movl 0x30(%rax), %esi
callq 0x35a0
jmp 0x71c2
movq -0x18(%rbp), %rdi
movq -0x308(%rbp), %rax
movl 0x30(%rax), %esi
callq 0x39c0
jmp 0x71c6
jmp 0x71c6
movb -0x30b(%rbp), %al
shrb $0x2, %al
andb $0x1, %al
cmpb $0x0, %al
jne 0x71ea
leaq -0x50(%rbp), %rdi
callq 0x4b70
movl %eax, %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x34(%rax)
movq -0x300(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x308(%rbp), %rcx
movl 0x18(%rcx), %ecx
addq %rcx, %rax
movq %rax, -0x318(%rbp)
movq -0x308(%rbp), %rax
movl 0x20(%rax), %eax
movq %rax, -0x3b8(%rbp)
subq $0xd, %rax
ja 0x72d9
movq -0x3b8(%rbp), %rax
leaq 0x71ae(%rip), %rcx      # 0xe3e0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x318(%rbp), %rax
movsbl (%rax), %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x3c(%rax)
jmp 0x72fd
movq -0x318(%rbp), %rax
movswl (%rax), %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x3c(%rax)
jmp 0x72fd
movq -0x318(%rbp), %rax
movw 0x2(%rax), %cx
movq -0x308(%rbp), %rax
movw %cx, 0x38(%rax)
movq -0x318(%rbp), %rax
movswl (%rax), %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x3c(%rax)
jmp 0x72fd
movq -0x318(%rbp), %rax
movl (%rax), %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x3c(%rax)
jmp 0x72fd
movq -0x318(%rbp), %rax
movw 0x4(%rax), %cx
movq -0x308(%rbp), %rax
movw %cx, 0x38(%rax)
movq -0x318(%rbp), %rax
movl (%rax), %ecx
movq -0x308(%rbp), %rax
movl %ecx, 0x3c(%rax)
jmp 0x72fd
jmp 0x72db
movq -0x308(%rbp), %rax
movl 0x20(%rax), %esi
leaq 0x7528(%rip), %rdi      # 0xe814
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
movq -0x18(%rbp), %rax
movl 0x180(%rax), %ecx
addl $0x1, %ecx
movq -0x308(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x308(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rdi
movq -0x308(%rbp), %rsi
callq 0x3a90
movq -0x308(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x308(%rbp), %rsi
callq 0x25c0
jmp 0x73a8
jmp 0x734d
movb -0x319(%rbp), %al
shrb $0x6, %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
je 0x7378
leaq 0x7c62(%rip), %rdi      # 0xefc9
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x737a
movl $0x0, -0x320(%rbp)
movb -0x319(%rbp), %al
shrb $0x2, %al
andb $0x7, %al
movzbl %al, %eax
cmpl $0x4, %eax
jge 0x73a6
leaq -0x50(%rbp), %rdi
callq 0x5200
movl %eax, -0x320(%rbp)
jmp 0x73a8
jmp 0x6db8
jmp 0x73af
jmp 0x62d6
jmp 0x73b6
cmpl $0x0, -0x34(%rbp)
jne 0x73db
movq -0x8(%rbp), %rax
movq (%rax), %rsi
leaq 0x7c1a(%rip), %rdi      # 0xefe4
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x73dd
movl $0x1, -0x38(%rbp)
movl -0x38(%rbp), %eax
movq -0x18(%rbp), %rcx
cmpl 0x130(%rcx), %eax
jg 0x7589
movq -0x18(%rbp), %rdi
movl -0x38(%rbp), %esi
callq 0x3440
movq %rax, -0x328(%rbp)
movq -0x328(%rbp), %rax
movl 0x30(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x7497
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
movq -0x328(%rbp), %rcx
cmpl 0x1c(%rcx), %eax
jge 0x7495
jmp 0x7434
movq -0x328(%rbp), %rax
movq 0x40(%rax), %rax
movl -0x3c(%rbp), %ecx
sarl $0x3, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl -0x3c(%rbp), %ecx
andl $0x7, %ecx
sarl %cl, %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x7486
movq -0x328(%rbp), %rdi
callq 0x2760
movq %rax, %rsi
movl -0x3c(%rbp), %edx
leaq 0x7b93(%rip), %rdi      # 0xf008
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x7488
jmp 0x748a
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x7423
jmp 0x74d5
movq -0x328(%rbp), %rax
movq 0x38(%rax), %rdi
callq 0x2030
movq -0x328(%rbp), %rax
movq 0x40(%rax), %rdi
callq 0x2030
movq -0x328(%rbp), %rax
movq $0x0, 0x40(%rax)
movq -0x328(%rbp), %rax
movq $0x0, 0x38(%rax)
movq -0x328(%rbp), %rax
movq 0x50(%rax), %rdi
movq -0x328(%rbp), %rax
movslq 0x58(%rax), %rsi
movl $0x8, %edx
leaq -0x1447(%rip), %rcx     # 0x60b0
callq 0x2050
movq -0x328(%rbp), %rax
movq 0x70(%rax), %rdi
movq -0x328(%rbp), %rax
movslq 0x78(%rax), %rsi
movl $0x8, %edx
leaq -0x142e(%rip), %rcx     # 0x60f0
callq 0x2050
movq -0x328(%rbp), %rax
movl 0x30(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x7579
jmp 0x7537
movq -0x328(%rbp), %rax
cmpl $0x0, 0x78(%rax)
je 0x7575
movq -0x328(%rbp), %rdi
callq 0x2760
movq %rax, %rsi
movq -0x328(%rbp), %rax
movl 0x78(%rax), %edx
leaq 0x7acd(%rip), %rdi      # 0xf031
movb $0x0, %al
callq 0xad90
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21c0
jmp 0x7577
jmp 0x7579
jmp 0x757b
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x73e4
movl -0xc(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x759d
movq -0x18(%rbp), %rdi
callq 0x5920
movl -0xc(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x75f7
movq -0x18(%rbp), %rax
movq (%rax), %rsi
leaq 0x7ab9(%rip), %rdi      # 0xf06f
movb $0x0, %al
callq 0x20a0
leaq -0x28(%rbp), %rdi
callq 0x4e70
movq -0x18(%rbp), %rdi
callq 0x5260
movq -0x18(%rbp), %rdi
callq 0x5310
movq -0x18(%rbp), %rdi
callq 0x5550
movq -0x18(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x5080
movq -0x18(%rbp), %rdi
callq 0x5730
leaq -0x28(%rbp), %rdi
callq 0x2340
movq -0x18(%rbp), %rax
addq $0x3c0, %rsp            # imm = 0x3C0
popq %rbp
retq
nopl (%rax)