// File: /workspace/github_c_makefile_star2_O0/jsh58[P]Genrich/Genrich.c
// Function: runProgram
void runProgram(char* inFile, char* ctrlFile, char* outFile,
    char* logFile, char* pileFile, char* bedFile,
    bool gzOut, bool singleOpt, bool extendOpt, int extend,
    bool avgExtOpt, int minMapQ, int xcount,
    char** xchrList, char* xFile, float pqvalue,
    bool qvalOpt, int minLen, int maxGap, float minAUC,
    float asDiff, bool atacOpt, int atacLen5, int atacLen3,
    bool atacAdj, bool dupsOpt, char* dupsFile,
    bool peaksOpt, bool peaksOnly, bool sortOpt,
    uint64_t genomeLen, bool verbose) {

  // option to call peaks only, from already produced log file
  if (peaksOnly) {
    findPeaksOnly(logFile, outFile, gzOut, xcount,
      xchrList, xFile, pqvalue, qvalOpt, minLen, maxGap,
      minAUC, genomeLen, verbose);
    return;
  }

  // open optional output files
  File bed, pile, dups;
  if (bedFile != NULL)
    openWrite(bedFile, &bed, gzOut);
  if (pileFile != NULL)
    openWrite(pileFile, &pile, gzOut);
  bool dupsVerb = false;
  if (dupsOpt && dupsFile != NULL) {
    openWrite(dupsFile, &dups, gzOut);
    dupsVerb = true;
  }

  // initialize variables
  char* line = (char*) memalloc(MAX_SIZE);
  int chromLen = 0;     // number of reference sequences
  Chrom* chrom = NULL;  // array of reference sequences
  Aln* aln = (Aln*) memalloc(MAX_ALNS * sizeof(Aln)); // array of saved alns
  int unpairMem = 0;    // number of unpaired alns (for avg-ext option)
  Aln** unpair = NULL;  // array of unpaired alns (for avg-ext option)
  char* readName = memalloc(MAX_ALNS + 1);  // name of read being analyzed
  readName[0] = readName[MAX_ALNS] = '\0';
  int sample = 0;       // number of sample pairs analyzed

  // variables for duplicate removal option
  Read** readPr = NULL;     // array of reads with properly paired aln(s)
  int readMemPr = 0;        // index into readPr array
  Read** readDc = NULL;     // array of reads with discordant aln(s)
  int readMemDc = 0;        // index into readDc array
  Read** readSn = NULL;     // array of reads with singleton aln(s)
  int readMemSn = 0;        // index into readSn array
  HashAln** table = NULL;   // hashtable for paired/discordant alns (recycled)
  uint32_t tableMem = 0;    // size of above hashtable
  HashAln** tableSn = NULL; // hashtable for singletons alns
  uint32_t tableSnMem = 0;  // size of above hashtable
  uint32_t* order = NULL;   // array for order of reads to be processed
  uint32_t* order0 = NULL;  // |
  uint32_t* order1 = NULL;  // | temp arrays for order
  uint32_t* order2 = NULL;  // |
  uint16_t* qual = NULL;    // array of quality score sums (sorting key)
  uint16_t* qual0 = NULL;   // |
  uint16_t* qual1 = NULL;   // | temp arrays for qual
  uint16_t* qual2 = NULL;   // |
  uint32_t arrMem = 0;      // length of above order/qual arrays

  // save genomic regions to exclude
  Bed* xBed = NULL;
  int xBedLen = 0;
  if (xFile != NULL)
    xBedLen = loadBED(xFile, line, &xBed);

  // loop through input files (experimental and control)
  char* end1, *end2;
  char* exptName = strtok_r(inFile, COM, &end1);
  char* ctrlName = ctrlFile == NULL ? NULL
    : strtok_r(ctrlFile, COM, &end2);
  while (exptName) {

    // reset 'save' bools of each Chrom
    for (int j = 0; j < chromLen; j++)
      (chrom + j)->save = false;

    // process matching experimental/control files
    double fragLen = 0.0; // total weighted length of all experimental fragments
    for (int i = 0; i < 2; i++) {

      // get expt/ctrl filename
      char* filename = exptName;
      if (i) {
        filename = ctrlName;
        if (ctrlName != NULL && !strcmp(ctrlName, "null"))
          filename = NULL;
        if (filename == NULL) {
          if (verbose)
            fprintf(stderr, "- control file #%d not provided -\n",
              sample);
          savePileupNoCtrl(chrom, chromLen, fragLen,
            genomeLen, verbose);
          break;
        }
      }

      // open input file
      File in;
      bool gz = openRead(filename, &in);
      bool bam = checkBAM(in, gz);
      if (verbose)
        fprintf(stderr, "Processing %s file #%d: %s\n",
          i ? "control" : "experimental", sample, filename);
      if (dupsVerb) {
        if (gzOut)
          gzprintf(dups.gzf, "# %s file #%d: %s\n",
            i ? "control" : "experimental", sample, filename);
        else
          fprintf(dups.f, "# %s file #%d: %s\n",
            i ? "control" : "experimental", sample, filename);
      }

      // reset 'diff' array for each Chrom
      for (int j = 0; j < chromLen; j++) {
        Chrom* c = chrom + j;
        if (c->diff != NULL)
          for (int k = 0; k < 1 + c->len; k++) {
            c->diff->frac[k] = 0;
            c->diff->cov[k] = 0;
          }
      }

      // load and process alignments
      uint64_t unmapped = 0, paired = 0, single = 0,
        orphan = 0, pairedPr = 0, singlePr = 0, supp = 0,
        skipped = 0, lowMapQ = 0, secPair = 0,
        secSingle = 0, countPr = 0, dupsPr = 0,
        countDc = 0, dupsDc = 0, countSn = 0, dupsSn = 0,
        errCount = 0;  // counting variables
      double totalLen = 0.0;  // total weighted length of paired fragments
      uint64_t count;
      if (bam)
        count = readBAM(in.gzf, line, &aln, readName,
          &totalLen, &unmapped, &paired, &single,
          &pairedPr, &singlePr, &supp, &skipped, &lowMapQ,
          minMapQ, xcount, xchrList, xBedLen, xBed,
          &secPair, &secSingle, &orphan, &chromLen, &chrom,
          singleOpt, extendOpt, extend, avgExtOpt, &unpair,
          &unpairMem, asDiff, atacOpt, atacLen5, atacLen3,
          atacAdj, bed, bedFile != NULL, gzOut, i, sample,
          dupsOpt, dups, dupsVerb, &readPr, &readMemPr,
          &readDc, &readMemDc, &readSn, &readMemSn, &table,
          &tableMem, &tableSn, &tableSnMem, &order,
          &order0, &order1, &order2, &qual, &qual0, &qual1,
          &qual2, &arrMem, &countPr, &dupsPr, &countDc,
          &dupsDc, &countSn, &dupsSn, &errCount, sortOpt,
          verbose);
      else
        count = readSAM(in, gz, line, &aln, readName,
          &totalLen, &unmapped, &paired, &single,
          &pairedPr, &singlePr, &supp, &skipped, &lowMapQ,
          minMapQ, xcount, xchrList, xBedLen, xBed,
          &secPair, &secSingle, &orphan, &chromLen, &chrom,
          singleOpt, extendOpt, extend, avgExtOpt, &unpair,
          &unpairMem, asDiff, atacOpt, atacLen5, atacLen3,
          atacAdj, bed, bedFile != NULL, gzOut, i, sample,
          dupsOpt, dups, dupsVerb, &readPr, &readMemPr,
          &readDc, &readMemDc, &readSn, &readMemSn, &table,
          &tableMem, &tableSn, &tableSnMem, &order,
          &order0, &order1, &order2, &qual, &qual0, &qual1,
          &qual2, &arrMem, &countPr, &dupsPr, &countDc,
          &dupsDc, &countSn, &dupsSn, &errCount, sortOpt,
          verbose);

      // log counts
      if (verbose)
        logCounts(count, unmapped, supp, skipped, chrom,
          chromLen, minMapQ, lowMapQ, paired, secPair,
          orphan, single, secSingle, singlePr, pairedPr,
          totalLen, singleOpt, extendOpt, extend,
          avgExtOpt, bam, atacOpt, atacLen5 + atacLen3,
          dupsOpt, countPr, dupsPr, countDc, dupsDc,
          countSn, dupsSn, errCount);

      // save pileup values
      if (i)
        savePileupCtrl(chrom, chromLen, fragLen, genomeLen,
          verbose);
      else
        fragLen = savePileupExpt(chrom, chromLen);

      // close input file
      if ( (gz && gzclose(in.gzf) != Z_OK)
          || (! gz && fclose(in.f)) )
        exit(error(filename, ERRCLOSE));
    }

    // calculate p-values
    savePval(chrom, chromLen, sample, pile,
      pileFile != NULL, exptName, ctrlName, gzOut);

    exptName = strtok_r(NULL, COM, &end1);
    ctrlName = ctrlFile == NULL ? NULL
      : strtok_r(NULL, COM, &end2);
    sample++;
  }

  // free 'diff' arrays
  for (int i = 0; i < chromLen; i++) {
    Chrom* chr = chrom + i;
    if (chr->diff) {
      free(chr->diff->frac);
      free(chr->diff->cov);
      free(chr->diff);
    }
  }

  // open output files
  File out, log;
  if (peaksOpt)
    openWrite(outFile, &out, gzOut);
  if (logFile != NULL)
    openWrite(logFile, &log, gzOut);

  // find peaks
  findPeaks(out, log, logFile != NULL, gzOut, chrom,
    chromLen, &sample, pqvalue, qvalOpt, minLen,
    maxGap, minAUC, peaksOpt, genomeLen, verbose);

  // free memory
  if (xcount) {
    for (int i = 0; i < xcount; i++)
      free(xchrList[i]);
    free(xchrList);
  }
  if (xBedLen) {
    for (int i = 0; i < xBedLen; i++)
      free(xBed[i].name);
    free(xBed);
  }
  if (avgExtOpt) {
    for (int i = 0; i < unpairMem; i++)
      free(unpair[i]);
    free(unpair);
  }
  if (dupsOpt) {
    for (int i = 0; i < readMemPr; i++)
      free(readPr[i]);
    free(readPr);
    for (int i = 0; i < readMemDc; i++)
      free(readDc[i]);
    free(readDc);
    for (int i = 0; i < readMemSn; i++)
      free(readSn[i]);
    free(readSn);
    free(table);
    free(tableSn);
    free(order);
    free(order0);
    free(order1);
    free(order2);
    free(qual);
    free(qual0);
    free(qual1);
    free(qual2);
  }
  for (int i = 0; i < chromLen; i++) {
    Chrom* chr = chrom + i;
    if (! chr->skip) {
      if (chr->bedLen)
        free(chr->bed);
      if (qvalOpt && chr->qval) {
        free(chr->qval->end);
        free(chr->qval->cov);
        free(chr->qval);
      }
      for (int j = 0; j < sample; j++) {
        if (chr->pval[j]) {
          free(chr->pval[j]->end);
          free(chr->pval[j]->cov);
          free(chr->pval[j]);
        }
      }
      free(chr->pval);
      free(chr->pvalLen);
      free(chr->ctrl->end);
      free(chr->ctrl->cov);
      free(chr->expt->end);
      free(chr->expt->cov);
    }
    free(chr->ctrl);
    free(chr->expt);
    free(chr->name);
  }
  free(chrom);
  free(aln);
  free(readName);
  free(line);

  // close files
  if (peaksOpt && ( ( gzOut && gzclose(out.gzf) != Z_OK )
      || ( ! gzOut && fclose(out.f) ) ) )
    exit(error(outFile, ERRCLOSE));
  if (logFile != NULL && ( ( ! gzOut && fclose(log.f) )
      || ( gzOut && gzclose(log.gzf) != Z_OK ) ) )
    exit(error(logFile, ERRCLOSE));
  if (pileFile != NULL && ( ( ! gzOut && fclose(pile.f) )
      || ( gzOut && gzclose(pile.gzf) != Z_OK ) ) )
    exit(error(pileFile, ERRCLOSE));
  if (bedFile != NULL && ( ( ! gzOut && fclose(bed.f) )
      || ( gzOut && gzclose(bed.gzf) != Z_OK ) ) )
    exit(error(bedFile, ERRCLOSE));
  if (dupsVerb && ( ( ! gzOut && fclose(dups.f) )
      || ( gzOut && gzclose(dups.gzf) != Z_OK ) ) )
    exit(error(dupsFile, ERRCLOSE));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5d8, %rsp            # imm = 0x5D8
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movb 0x6c0(%rsp), %al
movq 0x6b8(%rsp), %rcx
movb 0x6b0(%rsp), %cl
movb 0x6a8(%rsp), %r8b
movb %r8b, 0x333(%rsp)
movb 0x6a0(%rsp), %r8b
movb %r8b, 0x332(%rsp)
movq 0x698(%rsp), %r8
movb 0x690(%rsp), %r8b
movb %r8b, 0x331(%rsp)
movb 0x688(%rsp), %r8b
movl 0x680(%rsp), %r9d
movl 0x678(%rsp), %r9d
movb 0x670(%rsp), %r9b
movl 0x668(%rsp), %r10d
movl 0x660(%rsp), %r10d
movb 0x658(%rsp), %r10b
movq 0x650(%rsp), %r11
movq 0x648(%rsp), %r11
movl 0x640(%rsp), %r11d
movl 0x638(%rsp), %r11d
movb 0x630(%rsp), %r11b
movl 0x628(%rsp), %ebx
movb 0x620(%rsp), %bl
movb 0x618(%rsp), %bpl
movb 0x610(%rsp), %r14b
movq %rdi, 0x5d0(%rsp)
movb 0x331(%rsp), %dil
movq %rsi, 0x5c8(%rsp)
movb 0x332(%rsp), %sil
movq %rdx, 0x5c0(%rsp)
movb 0x333(%rsp), %dl
movq %r13, 0x5b8(%rsp)
movq %r12, 0x5b0(%rsp)
movq %r15, 0x5a8(%rsp)
andb $0x1, %r14b
movb %r14b, 0x5a7(%rsp)
andb $0x1, %bpl
movb %bpl, 0x5a6(%rsp)
andb $0x1, %bl
movb %bl, 0x5a5(%rsp)
andb $0x1, %r11b
movb %r11b, 0x5a4(%rsp)
movss %xmm0, 0x5a0(%rsp)
andb $0x1, %r10b
movb %r10b, 0x59f(%rsp)
movss %xmm1, 0x598(%rsp)
movss %xmm2, 0x594(%rsp)
andb $0x1, %r9b
movb %r9b, 0x593(%rsp)
andb $0x1, %r8b
movb %r8b, 0x592(%rsp)
andb $0x1, %dil
movb %dil, 0x591(%rsp)
andb $0x1, %sil
movb %sil, 0x590(%rsp)
andb $0x1, %dl
movb %dl, 0x58f(%rsp)
andb $0x1, %cl
movb %cl, 0x58e(%rsp)
andb $0x1, %al
movb %al, 0x58d(%rsp)
testb $0x1, 0x58f(%rsp)
je 0x1a9f5
movq 0x5b8(%rsp), %rdi
movq 0x5c0(%rsp), %rsi
movb 0x5a7(%rsp), %dl
movl 0x640(%rsp), %ecx
movq 0x648(%rsp), %r8
movq 0x650(%rsp), %r9
movss 0x5a0(%rsp), %xmm0
movb 0x59f(%rsp), %bpl
movl 0x660(%rsp), %ebx
movl 0x668(%rsp), %r11d
movss 0x598(%rsp), %xmm1
movq 0x6b8(%rsp), %r10
movb 0x58d(%rsp), %al
andb $0x1, %dl
andb $0x1, %bpl
andb $0x1, %al
movzbl %dl, %edx
movzbl %bpl, %ebp
movl %ebp, (%rsp)
movl %ebx, 0x8(%rsp)
movl %r11d, 0x10(%rsp)
movq %r10, 0x18(%rsp)
movzbl %al, %eax
movl %eax, 0x20(%rsp)
callq 0x19a20
jmp 0x1c7e4
cmpq $0x0, 0x5a8(%rsp)
je 0x1aa21
movq 0x5a8(%rsp), %rdi
movb 0x5a7(%rsp), %al
leaq 0x580(%rsp), %rsi
andb $0x1, %al
movzbl %al, %edx
callq 0x19130
cmpq $0x0, 0x5b0(%rsp)
je 0x1aa4d
movq 0x5b0(%rsp), %rdi
movb 0x5a7(%rsp), %al
leaq 0x578(%rsp), %rsi
andb $0x1, %al
movzbl %al, %edx
callq 0x19130
movb $0x0, 0x56f(%rsp)
testb $0x1, 0x591(%rsp)
je 0x1aa93
cmpq $0x0, 0x698(%rsp)
je 0x1aa93
movq 0x698(%rsp), %rdi
movb 0x5a7(%rsp), %al
leaq 0x570(%rsp), %rsi
andb $0x1, %al
movzbl %al, %edx
callq 0x19130
movb $0x1, 0x56f(%rsp)
movl $0xfff0, %edi           # imm = 0xFFF0
callq 0x2890
movq %rax, 0x560(%rsp)
movl $0x0, 0x55c(%rsp)
movq $0x0, 0x550(%rsp)
movl $0x1400, %edi           # imm = 0x1400
callq 0x2890
movq %rax, 0x548(%rsp)
movl $0x0, 0x544(%rsp)
movq $0x0, 0x538(%rsp)
movl $0x81, %edi
callq 0x2890
movq %rax, 0x530(%rsp)
movq 0x530(%rsp), %rax
movb $0x0, 0x80(%rax)
movq 0x530(%rsp), %rax
movb $0x0, (%rax)
movl $0x0, 0x52c(%rsp)
movq $0x0, 0x520(%rsp)
movl $0x0, 0x51c(%rsp)
movq $0x0, 0x510(%rsp)
movl $0x0, 0x50c(%rsp)
movq $0x0, 0x500(%rsp)
movl $0x0, 0x4fc(%rsp)
movq $0x0, 0x4f0(%rsp)
movl $0x0, 0x4ec(%rsp)
movq $0x0, 0x4e0(%rsp)
movl $0x0, 0x4dc(%rsp)
movq $0x0, 0x4d0(%rsp)
movq $0x0, 0x4c8(%rsp)
movq $0x0, 0x4c0(%rsp)
movq $0x0, 0x4b8(%rsp)
movq $0x0, 0x4b0(%rsp)
movq $0x0, 0x4a8(%rsp)
movq $0x0, 0x4a0(%rsp)
movq $0x0, 0x498(%rsp)
movl $0x0, 0x494(%rsp)
movq $0x0, 0x488(%rsp)
movl $0x0, 0x484(%rsp)
cmpq $0x0, 0x650(%rsp)
je 0x1ac40
movq 0x650(%rsp), %rdi
movq 0x560(%rsp), %rsi
leaq 0x488(%rsp), %rdx
callq 0x196f0
movl %eax, 0x484(%rsp)
movq 0x5d0(%rsp), %rdi
leaq 0x512c(%rip), %rsi      # 0x1fd7b
leaq 0x478(%rsp), %rdx
callq 0x2180
movq %rax, 0x468(%rsp)
cmpq $0x0, 0x5c8(%rsp)
jne 0x1ac7b
xorl %eax, %eax
movq %rax, 0x328(%rsp)
jmp 0x1ac9f
movq 0x5c8(%rsp), %rdi
leaq 0x50f1(%rip), %rsi      # 0x1fd7b
leaq 0x470(%rsp), %rdx
callq 0x2180
movq %rax, 0x328(%rsp)
movq 0x328(%rsp), %rax
movq %rax, 0x460(%rsp)
cmpq $0x0, 0x468(%rsp)
je 0x1bf57
movl $0x0, 0x45c(%rsp)
movl 0x45c(%rsp), %eax
cmpl 0x55c(%rsp), %eax
jge 0x1ad07
movq 0x550(%rsp), %rax
movslq 0x45c(%rsp), %rcx
imulq $0x68, %rcx, %rcx
addq %rcx, %rax
movb $0x0, 0xd(%rax)
movl 0x45c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x45c(%rsp)
jmp 0x1acc9
xorps %xmm0, %xmm0
movsd %xmm0, 0x450(%rsp)
movl $0x0, 0x44c(%rsp)
cmpl $0x2, 0x44c(%rsp)
jge 0x1be79
movq 0x468(%rsp), %rax
movq %rax, 0x440(%rsp)
cmpl $0x0, 0x44c(%rsp)
je 0x1adf6
movq 0x460(%rsp), %rax
movq %rax, 0x440(%rsp)
cmpq $0x0, 0x460(%rsp)
je 0x1ad8a
movq 0x460(%rsp), %rdi
leaq 0x4fee(%rip), %rsi      # 0x1fd62
callq 0x21a0
cmpl $0x0, %eax
jne 0x1ad8a
movq $0x0, 0x440(%rsp)
cmpq $0x0, 0x440(%rsp)
jne 0x1adf4
testb $0x1, 0x58d(%rsp)
je 0x1adbe
movq 0x8252(%rip), %rax      # 0x22ff8
movq (%rax), %rdi
movl 0x52c(%rsp), %edx
leaq 0x52dd(%rip), %rsi      # 0x20094
movb $0x0, %al
callq 0x21c0
movq 0x550(%rsp), %rdi
movl 0x55c(%rsp), %esi
movsd 0x450(%rsp), %xmm0
movq 0x6b8(%rsp), %rdx
movb 0x58d(%rsp), %al
andb $0x1, %al
movzbl %al, %ecx
callq 0x9510
jmp 0x1be79
jmp 0x1adf6
movq 0x440(%rsp), %rdi
leaq 0x438(%rsp), %rsi
callq 0x194c0
andb $0x1, %al
movb %al, 0x437(%rsp)
movb 0x437(%rsp), %al
movq 0x438(%rsp), %rdi
andb $0x1, %al
movzbl %al, %esi
callq 0x19330
andb $0x1, %al
movb %al, 0x436(%rsp)
testb $0x1, 0x58d(%rsp)
je 0x1ae83
movq 0x81b1(%rip), %rax      # 0x22ff8
movq (%rax), %rdi
movl 0x44c(%rsp), %ecx
leaq 0x5283(%rip), %rdx      # 0x200db
leaq 0x5274(%rip), %rax      # 0x200d3
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movl 0x52c(%rsp), %ecx
movq 0x440(%rsp), %r8
leaq 0x523b(%rip), %rsi      # 0x200b7
movb $0x0, %al
callq 0x21c0
testb $0x1, 0x56f(%rsp)
je 0x1af21
testb $0x1, 0x5a7(%rsp)
je 0x1aede
movq 0x570(%rsp), %rdi
movl 0x44c(%rsp), %ecx
leaq 0x522a(%rip), %rdx      # 0x200db
leaq 0x521b(%rip), %rax      # 0x200d3
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movl 0x52c(%rsp), %ecx
movq 0x440(%rsp), %r8
leaq 0x5213(%rip), %rsi      # 0x200e8
movb $0x0, %al
callq 0x20e0
jmp 0x1af1f
movq 0x570(%rsp), %rdi
movl 0x44c(%rsp), %ecx
leaq 0x51e7(%rip), %rdx      # 0x200db
leaq 0x51d8(%rip), %rax      # 0x200d3
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movl 0x52c(%rsp), %ecx
movq 0x440(%rsp), %r8
leaq 0x51d0(%rip), %rsi      # 0x200e8
movb $0x0, %al
callq 0x21c0
jmp 0x1af21
movl $0x0, 0x430(%rsp)
movl 0x430(%rsp), %eax
cmpl 0x55c(%rsp), %eax
jge 0x1aff8
movq 0x550(%rsp), %rax
movslq 0x430(%rsp), %rcx
imulq $0x68, %rcx, %rcx
addq %rcx, %rax
movq %rax, 0x428(%rsp)
movq 0x428(%rsp), %rax
cmpq $0x0, 0x20(%rax)
je 0x1afe0
movl $0x0, 0x424(%rsp)
movl 0x424(%rsp), %eax
movq 0x428(%rsp), %rcx
movl 0x8(%rcx), %ecx
addl $0x1, %ecx
cmpl %ecx, %eax
jae 0x1afde
movq 0x428(%rsp), %rax
movq 0x20(%rax), %rax
movq (%rax), %rax
movslq 0x424(%rsp), %rcx
movb $0x0, (%rax,%rcx)
movq 0x428(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x8(%rax), %rax
movslq 0x424(%rsp), %rcx
movw $0x0, (%rax,%rcx,2)
movl 0x424(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x424(%rsp)
jmp 0x1af79
jmp 0x1afe0
jmp 0x1afe2
movl 0x430(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x430(%rsp)
jmp 0x1af2c
movq $0x0, 0x418(%rsp)
movq $0x0, 0x410(%rsp)
movq $0x0, 0x408(%rsp)
movq $0x0, 0x400(%rsp)
movq $0x0, 0x3f8(%rsp)
movq $0x0, 0x3f0(%rsp)
movq $0x0, 0x3e8(%rsp)
movq $0x0, 0x3e0(%rsp)
movq $0x0, 0x3d8(%rsp)
movq $0x0, 0x3d0(%rsp)
movq $0x0, 0x3c8(%rsp)
movq $0x0, 0x3c0(%rsp)
movq $0x0, 0x3b8(%rsp)
movq $0x0, 0x3b0(%rsp)
movq $0x0, 0x3a8(%rsp)
movq $0x0, 0x3a0(%rsp)
movq $0x0, 0x398(%rsp)
movq $0x0, 0x390(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x388(%rsp)
testb $0x1, 0x436(%rsp)
je 0x1b5cd
movq 0x438(%rsp), %rdi
movq 0x560(%rsp), %rsi
movq 0x530(%rsp), %rax
movq %rax, 0x320(%rsp)
movl 0x638(%rsp), %eax
movl %eax, 0x318(%rsp)
movl 0x640(%rsp), %eax
movl %eax, 0x314(%rsp)
movq 0x648(%rsp), %rax
movq %rax, 0x308(%rsp)
movl 0x484(%rsp), %eax
movl %eax, 0x304(%rsp)
movq 0x488(%rsp), %rax
movq %rax, 0x2f8(%rsp)
movb 0x5a6(%rsp), %dl
movb 0x5a5(%rsp), %r8b
movl 0x628(%rsp), %eax
movl %eax, 0x2f4(%rsp)
movb 0x5a4(%rsp), %r9b
movss 0x594(%rsp), %xmm0
movb 0x593(%rsp), %r10b
movl 0x678(%rsp), %eax
movl %eax, 0x2f0(%rsp)
movl 0x680(%rsp), %eax
movl %eax, 0x2ec(%rsp)
movb 0x592(%rsp), %r11b
cmpq $0x0, 0x5a8(%rsp)
setne %bl
movb 0x5a7(%rsp), %bpl
cmpl $0x0, 0x44c(%rsp)
setne %r14b
movl 0x52c(%rsp), %eax
movl %eax, 0x2dc(%rsp)
movb 0x591(%rsp), %r15b
movb 0x56f(%rsp), %r12b
movb 0x58e(%rsp), %r13b
movb 0x58d(%rsp), %al
movb %al, 0x31f(%rsp)
movq 0x580(%rsp), %rax
movq %rax, 0x2e0(%rsp)
movq 0x570(%rsp), %rax
movq %rax, 0x2d0(%rsp)
movq %rsp, %rax
movq %rax, 0x2c8(%rsp)
leaq 0x390(%rsp), %rcx
movq %rcx, 0x1e0(%rax)
leaq 0x398(%rsp), %rcx
movq %rcx, 0x1d8(%rax)
leaq 0x3a0(%rsp), %rcx
movq %rcx, 0x1d0(%rax)
leaq 0x3a8(%rsp), %rcx
movq %rcx, 0x1c8(%rax)
leaq 0x3b0(%rsp), %rcx
movq %rcx, 0x1c0(%rax)
leaq 0x3b8(%rsp), %rcx
movq %rcx, 0x1b8(%rax)
leaq 0x3c0(%rsp), %rcx
movq %rcx, 0x1b0(%rax)
leaq 0x494(%rsp), %rcx
movq %rcx, 0x1a8(%rax)
leaq 0x498(%rsp), %rcx
movq %rcx, 0x1a0(%rax)
leaq 0x4a0(%rsp), %rcx
movq %rcx, 0x198(%rax)
leaq 0x4a8(%rsp), %rcx
movq %rcx, 0x190(%rax)
leaq 0x4b0(%rsp), %rcx
movq %rcx, 0x188(%rax)
leaq 0x4b8(%rsp), %rcx
movq %rcx, 0x180(%rax)
leaq 0x4c0(%rsp), %rcx
movq %rcx, 0x178(%rax)
leaq 0x4c8(%rsp), %rcx
movq %rcx, 0x170(%rax)
leaq 0x4d0(%rsp), %rcx
movq %rcx, 0x168(%rax)
leaq 0x4dc(%rsp), %rcx
movq %rcx, 0x160(%rax)
leaq 0x4e0(%rsp), %rcx
movq %rcx, 0x158(%rax)
leaq 0x4ec(%rsp), %rcx
movq %rcx, 0x150(%rax)
leaq 0x4f0(%rsp), %rcx
movq %rcx, 0x148(%rax)
leaq 0x4fc(%rsp), %rcx
movq %rcx, 0x140(%rax)
leaq 0x500(%rsp), %rcx
movq %rcx, 0x138(%rax)
leaq 0x50c(%rsp), %rcx
movq %rcx, 0x130(%rax)
leaq 0x510(%rsp), %rcx
movq %rcx, 0x128(%rax)
leaq 0x51c(%rsp), %rcx
movq %rcx, 0x120(%rax)
leaq 0x520(%rsp), %rcx
movq %rcx, 0x118(%rax)
movq 0x2d0(%rsp), %rcx
movq %rcx, 0x108(%rax)
movl 0x2dc(%rsp), %ecx
movl %ecx, 0xf8(%rax)
movq 0x2e0(%rsp), %rcx
movq %rcx, 0xd8(%rax)
movl 0x2ec(%rsp), %ecx
movl %ecx, 0xc8(%rax)
movl 0x2f0(%rsp), %ecx
movl %ecx, 0xc0(%rax)
leaq 0x544(%rsp), %rcx
movq %rcx, 0xb0(%rax)
leaq 0x538(%rsp), %rcx
movq %rcx, 0xa8(%rax)
movl 0x2f4(%rsp), %ecx
movl %ecx, 0x98(%rax)
leaq 0x550(%rsp), %rcx
movq %rcx, 0x80(%rax)
leaq 0x55c(%rsp), %rcx
movq %rcx, 0x78(%rax)
leaq 0x400(%rsp), %rcx
movq %rcx, 0x70(%rax)
leaq 0x3c8(%rsp), %rcx
movq %rcx, 0x68(%rax)
leaq 0x3d0(%rsp), %rcx
movq %rcx, 0x60(%rax)
movq 0x2f8(%rsp), %rcx
movq %rcx, 0x58(%rax)
movl 0x304(%rsp), %ecx
movl %ecx, 0x50(%rax)
movq 0x308(%rsp), %rcx
movq %rcx, 0x48(%rax)
movl 0x314(%rsp), %ecx
movl %ecx, 0x40(%rax)
movl 0x318(%rsp), %ecx
movl %ecx, 0x38(%rax)
leaq 0x3d8(%rsp), %rcx
movq %rcx, 0x30(%rax)
leaq 0x3e0(%rsp), %rcx
movq %rcx, 0x28(%rax)
leaq 0x3e8(%rsp), %rcx
movq %rcx, 0x20(%rax)
leaq 0x3f0(%rsp), %rcx
movq %rcx, 0x18(%rax)
leaq 0x3f8(%rsp), %rcx
movq %rcx, 0x10(%rax)
leaq 0x408(%rsp), %rcx
movq %rcx, 0x8(%rax)
leaq 0x410(%rsp), %rcx
movq %rcx, (%rax)
movb 0x31f(%rsp), %cl
movzbl %cl, %ecx
andl $0x1, %ecx
movl %ecx, 0x1f0(%rax)
movq 0x320(%rsp), %rcx
movzbl %r13b, %r13d
andl $0x1, %r13d
movl %r13d, 0x1e8(%rax)
movzbl %r12b, %r12d
andl $0x1, %r12d
movl %r12d, 0x110(%rax)
movzbl %r15b, %r15d
andl $0x1, %r15d
movl %r15d, 0x100(%rax)
movzbl %r14b, %r14d
andl $0x1, %r14d
movl %r14d, 0xf0(%rax)
movzbl %bpl, %ebp
andl $0x1, %ebp
movl %ebp, 0xe8(%rax)
movzbl %bl, %ebx
andl $0x1, %ebx
movl %ebx, 0xe0(%rax)
movzbl %r11b, %r11d
andl $0x1, %r11d
movl %r11d, 0xd0(%rax)
movzbl %r10b, %r10d
andl $0x1, %r10d
movl %r10d, 0xb8(%rax)
movzbl %r9b, %r9d
andl $0x1, %r9d
movl %r9d, 0xa0(%rax)
movzbl %r8b, %r8d
andl $0x1, %r8d
movl %r8d, 0x90(%rax)
movzbl %dl, %edx
andl $0x1, %edx
movl %edx, 0x88(%rax)
leaq 0x548(%rsp), %rdx
leaq 0x388(%rsp), %r8
leaq 0x418(%rsp), %r9
callq 0x18390
movq %rax, 0x380(%rsp)
jmp 0x1bac9
movb 0x437(%rsp), %al
movb %al, 0x2c7(%rsp)
movq 0x560(%rsp), %rdx
movq 0x530(%rsp), %r8
movl 0x638(%rsp), %eax
movl %eax, 0x2c0(%rsp)
movl 0x640(%rsp), %eax
movl %eax, 0x2bc(%rsp)
movq 0x648(%rsp), %rax
movq %rax, 0x2b0(%rsp)
movl 0x484(%rsp), %eax
movl %eax, 0x2ac(%rsp)
movq 0x488(%rsp), %rax
movq %rax, 0x2a0(%rsp)
movb 0x5a6(%rsp), %sil
movb 0x5a5(%rsp), %r9b
movl 0x628(%rsp), %eax
movl %eax, 0x29c(%rsp)
movb 0x5a4(%rsp), %r10b
movss 0x594(%rsp), %xmm0
movb 0x593(%rsp), %r11b
movl 0x678(%rsp), %eax
movl %eax, 0x298(%rsp)
movl 0x680(%rsp), %eax
movl %eax, 0x294(%rsp)
movb 0x592(%rsp), %bl
cmpq $0x0, 0x5a8(%rsp)
setne %bpl
movb 0x5a7(%rsp), %r14b
cmpl $0x0, 0x44c(%rsp)
setne %r15b
movl 0x52c(%rsp), %eax
movl %eax, 0x284(%rsp)
movb 0x591(%rsp), %r12b
movb 0x56f(%rsp), %r13b
movb 0x58e(%rsp), %al
movb %al, 0x2c6(%rsp)
movb 0x58d(%rsp), %al
movb %al, 0x2c5(%rsp)
movq 0x438(%rsp), %rdi
movq 0x580(%rsp), %rax
movq %rax, 0x288(%rsp)
movq 0x570(%rsp), %rax
movq %rax, 0x278(%rsp)
movq %rsp, %rcx
movq %rcx, 0x270(%rsp)
leaq 0x390(%rsp), %rax
movq %rax, 0x1e8(%rcx)
leaq 0x398(%rsp), %rax
movq %rax, 0x1e0(%rcx)
leaq 0x3a0(%rsp), %rax
movq %rax, 0x1d8(%rcx)
leaq 0x3a8(%rsp), %rax
movq %rax, 0x1d0(%rcx)
leaq 0x3b0(%rsp), %rax
movq %rax, 0x1c8(%rcx)
leaq 0x3b8(%rsp), %rax
movq %rax, 0x1c0(%rcx)
leaq 0x3c0(%rsp), %rax
movq %rax, 0x1b8(%rcx)
leaq 0x494(%rsp), %rax
movq %rax, 0x1b0(%rcx)
leaq 0x498(%rsp), %rax
movq %rax, 0x1a8(%rcx)
leaq 0x4a0(%rsp), %rax
movq %rax, 0x1a0(%rcx)
leaq 0x4a8(%rsp), %rax
movq %rax, 0x198(%rcx)
leaq 0x4b0(%rsp), %rax
movq %rax, 0x190(%rcx)
leaq 0x4b8(%rsp), %rax
movq %rax, 0x188(%rcx)
leaq 0x4c0(%rsp), %rax
movq %rax, 0x180(%rcx)
leaq 0x4c8(%rsp), %rax
movq %rax, 0x178(%rcx)
leaq 0x4d0(%rsp), %rax
movq %rax, 0x170(%rcx)
leaq 0x4dc(%rsp), %rax
movq %rax, 0x168(%rcx)
leaq 0x4e0(%rsp), %rax
movq %rax, 0x160(%rcx)
leaq 0x4ec(%rsp), %rax
movq %rax, 0x158(%rcx)
leaq 0x4f0(%rsp), %rax
movq %rax, 0x150(%rcx)
leaq 0x4fc(%rsp), %rax
movq %rax, 0x148(%rcx)
leaq 0x500(%rsp), %rax
movq %rax, 0x140(%rcx)
leaq 0x50c(%rsp), %rax
movq %rax, 0x138(%rcx)
leaq 0x510(%rsp), %rax
movq %rax, 0x130(%rcx)
leaq 0x51c(%rsp), %rax
movq %rax, 0x128(%rcx)
leaq 0x520(%rsp), %rax
movq %rax, 0x120(%rcx)
movq 0x278(%rsp), %rax
movq %rax, 0x110(%rcx)
movl 0x284(%rsp), %eax
movl %eax, 0x100(%rcx)
movq 0x288(%rsp), %rax
movq %rax, 0xe0(%rcx)
movl 0x294(%rsp), %eax
movl %eax, 0xd0(%rcx)
movl 0x298(%rsp), %eax
movl %eax, 0xc8(%rcx)
leaq 0x544(%rsp), %rax
movq %rax, 0xb8(%rcx)
leaq 0x538(%rsp), %rax
movq %rax, 0xb0(%rcx)
movl 0x29c(%rsp), %eax
movl %eax, 0xa0(%rcx)
leaq 0x550(%rsp), %rax
movq %rax, 0x88(%rcx)
leaq 0x55c(%rsp), %rax
movq %rax, 0x80(%rcx)
leaq 0x400(%rsp), %rax
movq %rax, 0x78(%rcx)
leaq 0x3c8(%rsp), %rax
movq %rax, 0x70(%rcx)
leaq 0x3d0(%rsp), %rax
movq %rax, 0x68(%rcx)
movq 0x2a0(%rsp), %rax
movq %rax, 0x60(%rcx)
movl 0x2ac(%rsp), %eax
movl %eax, 0x58(%rcx)
movq 0x2b0(%rsp), %rax
movq %rax, 0x50(%rcx)
movl 0x2bc(%rsp), %eax
movl %eax, 0x48(%rcx)
movl 0x2c0(%rsp), %eax
movl %eax, 0x40(%rcx)
leaq 0x3d8(%rsp), %rax
movq %rax, 0x38(%rcx)
leaq 0x3e0(%rsp), %rax
movq %rax, 0x30(%rcx)
leaq 0x3e8(%rsp), %rax
movq %rax, 0x28(%rcx)
leaq 0x3f0(%rsp), %rax
movq %rax, 0x20(%rcx)
leaq 0x3f8(%rsp), %rax
movq %rax, 0x18(%rcx)
leaq 0x408(%rsp), %rax
movq %rax, 0x10(%rcx)
leaq 0x410(%rsp), %rax
movq %rax, 0x8(%rcx)
leaq 0x418(%rsp), %rax
movq %rax, (%rcx)
movb 0x2c5(%rsp), %al
movzbl %al, %eax
andl $0x1, %eax
movl %eax, 0x1f8(%rcx)
movb 0x2c6(%rsp), %al
movzbl %al, %eax
andl $0x1, %eax
movl %eax, 0x1f0(%rcx)
movb 0x2c7(%rsp), %al
movzbl %r13b, %r13d
andl $0x1, %r13d
movl %r13d, 0x118(%rcx)
movzbl %r12b, %r12d
andl $0x1, %r12d
movl %r12d, 0x108(%rcx)
movzbl %r15b, %r15d
andl $0x1, %r15d
movl %r15d, 0xf8(%rcx)
movzbl %r14b, %r14d
andl $0x1, %r14d
movl %r14d, 0xf0(%rcx)
movzbl %bpl, %ebp
andl $0x1, %ebp
movl %ebp, 0xe8(%rcx)
movzbl %bl, %ebx
andl $0x1, %ebx
movl %ebx, 0xd8(%rcx)
movzbl %r11b, %r11d
andl $0x1, %r11d
movl %r11d, 0xc0(%rcx)
movzbl %r10b, %r10d
andl $0x1, %r10d
movl %r10d, 0xa8(%rcx)
movzbl %r9b, %r9d
andl $0x1, %r9d
movl %r9d, 0x98(%rcx)
movzbl %sil, %esi
andl $0x1, %esi
movl %esi, 0x90(%rcx)
movzbl %al, %esi
andl $0x1, %esi
leaq 0x548(%rsp), %rcx
leaq 0x388(%rsp), %r9
callq 0x14970
movq %rax, 0x380(%rsp)
testb $0x1, 0x58d(%rsp)
je 0x1bdb6
movq 0x380(%rsp), %rdi
movq 0x418(%rsp), %rsi
movq 0x3e8(%rsp), %rdx
movq 0x3e0(%rsp), %rcx
movq 0x550(%rsp), %r8
movl 0x55c(%rsp), %r9d
movl 0x638(%rsp), %eax
movl %eax, 0x214(%rsp)
movq 0x3d8(%rsp), %rax
movq %rax, 0x218(%rsp)
movq 0x410(%rsp), %rax
movq %rax, 0x220(%rsp)
movq 0x3d0(%rsp), %rax
movq %rax, 0x228(%rsp)
movq 0x400(%rsp), %rax
movq %rax, 0x230(%rsp)
movq 0x408(%rsp), %rax
movq %rax, 0x238(%rsp)
movq 0x3c8(%rsp), %rax
movq %rax, 0x240(%rsp)
movq 0x3f0(%rsp), %rax
movq %rax, 0x248(%rsp)
movq 0x3f8(%rsp), %rax
movq %rax, 0x250(%rsp)
movsd 0x388(%rsp), %xmm0
movb 0x5a6(%rsp), %al
movb %al, 0x20f(%rsp)
movb 0x5a5(%rsp), %al
movb %al, 0x210(%rsp)
movl 0x628(%rsp), %eax
movl %eax, 0x260(%rsp)
movb 0x5a4(%rsp), %al
movb %al, 0x211(%rsp)
movb 0x436(%rsp), %al
movb %al, 0x212(%rsp)
movb 0x593(%rsp), %al
movb %al, 0x213(%rsp)
movl 0x678(%rsp), %r13d
addl 0x680(%rsp), %r13d
movb 0x591(%rsp), %bpl
movq 0x3c0(%rsp), %r12
movq 0x3b8(%rsp), %r15
movq 0x3b0(%rsp), %r14
movq 0x3a8(%rsp), %rbx
movq 0x3a0(%rsp), %r11
movq 0x398(%rsp), %r10
movq 0x390(%rsp), %rax
movq %rax, 0x268(%rsp)
movb 0x20f(%rsp), %al
andb $0x1, %al
movb %al, 0x25e(%rsp)
movb 0x210(%rsp), %al
andb $0x1, %al
movb %al, 0x25f(%rsp)
movb 0x211(%rsp), %al
andb $0x1, %al
movb %al, 0x265(%rsp)
movb 0x212(%rsp), %al
andb $0x1, %al
movb %al, 0x266(%rsp)
movb 0x213(%rsp), %al
andb $0x1, %al
movb %al, 0x267(%rsp)
movl 0x214(%rsp), %eax
andb $0x1, %bpl
movl %eax, (%rsp)
movq 0x218(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x220(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x228(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x230(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x238(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x240(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x248(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x250(%rsp), %rax
movq %rax, 0x40(%rsp)
movb 0x25e(%rsp), %al
movzbl %al, %eax
movl %eax, 0x48(%rsp)
movb 0x25f(%rsp), %al
movzbl %al, %eax
movl %eax, 0x50(%rsp)
movl 0x260(%rsp), %eax
movl %eax, 0x58(%rsp)
movb 0x265(%rsp), %al
movzbl %al, %eax
movl %eax, 0x60(%rsp)
movb 0x266(%rsp), %al
movzbl %al, %eax
movl %eax, 0x68(%rsp)
movb 0x267(%rsp), %al
movzbl %al, %eax
movl %eax, 0x70(%rsp)
movq 0x268(%rsp), %rax
movl %r13d, 0x78(%rsp)
movzbl %bpl, %ebp
movl %ebp, 0x80(%rsp)
movq %r12, 0x88(%rsp)
movq %r15, 0x90(%rsp)
movq %r14, 0x98(%rsp)
movq %rbx, 0xa0(%rsp)
movq %r11, 0xa8(%rsp)
movq %r10, 0xb0(%rsp)
movq %rax, 0xb8(%rsp)
callq 0x19d70
cmpl $0x0, 0x44c(%rsp)
je 0x1bdf3
movq 0x550(%rsp), %rdi
movl 0x55c(%rsp), %esi
movsd 0x450(%rsp), %xmm0
movq 0x6b8(%rsp), %rdx
movb 0x58d(%rsp), %al
andb $0x1, %al
movzbl %al, %ecx
callq 0x9c10
jmp 0x1be10
movq 0x550(%rsp), %rdi
movl 0x55c(%rsp), %esi
callq 0xa420
movsd %xmm0, 0x450(%rsp)
testb $0x1, 0x437(%rsp)
je 0x1be2c
movq 0x438(%rsp), %rdi
callq 0x2030
cmpl $0x0, %eax
jne 0x1be48
testb $0x1, 0x437(%rsp)
jne 0x1be61
movq 0x438(%rsp), %rdi
callq 0x20d0
cmpl $0x0, %eax
je 0x1be61
movq 0x440(%rsp), %rdi
movl $0x3, %esi
callq 0x2840
movl %eax, %edi
callq 0x22b0
jmp 0x1be63
movl 0x44c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x44c(%rsp)
jmp 0x1ad1e
movq 0x550(%rsp), %rdi
movl 0x55c(%rsp), %esi
movl 0x52c(%rsp), %edx
cmpq $0x0, 0x5b0(%rsp)
setne %al
movq 0x468(%rsp), %r9
movq 0x460(%rsp), %r11
movb 0x5a7(%rsp), %r10b
movq 0x578(%rsp), %rcx
movq %rsp, %r8
movq %r11, (%r8)
movzbl %r10b, %r10d
andl $0x1, %r10d
movl %r10d, 0x8(%r8)
movzbl %al, %r8d
andl $0x1, %r8d
callq 0x8bc0
xorl %eax, %eax
movl %eax, %edi
leaq 0x3e96(%rip), %rsi      # 0x1fd7b
leaq 0x478(%rsp), %rdx
callq 0x2180
movq %rax, 0x468(%rsp)
cmpq $0x0, 0x5c8(%rsp)
jne 0x1bf11
xorl %eax, %eax
movq %rax, 0x200(%rsp)
jmp 0x1bf31
xorl %eax, %eax
movl %eax, %edi
leaq 0x3e5f(%rip), %rsi      # 0x1fd7b
leaq 0x470(%rsp), %rdx
callq 0x2180
movq %rax, 0x200(%rsp)
movq 0x200(%rsp), %rax
movq %rax, 0x460(%rsp)
movl 0x52c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x52c(%rsp)
jmp 0x1acaf
movl $0x0, 0x37c(%rsp)
movl 0x37c(%rsp), %eax
cmpl 0x55c(%rsp), %eax
jge 0x1bff6
movq 0x550(%rsp), %rax
movslq 0x37c(%rsp), %rcx
imulq $0x68, %rcx, %rcx
addq %rcx, %rax
movq %rax, 0x370(%rsp)
movq 0x370(%rsp), %rax
cmpq $0x0, 0x20(%rax)
je 0x1bfde
movq 0x370(%rsp), %rax
movq 0x20(%rax), %rax
movq (%rax), %rdi
callq 0x2040
movq 0x370(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x2040
movq 0x370(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x2040
jmp 0x1bfe0
movl 0x37c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x37c(%rsp)
jmp 0x1bf62
testb $0x1, 0x590(%rsp)
je 0x1c021
movq 0x5c0(%rsp), %rdi
movb 0x5a7(%rsp), %al
leaq 0x368(%rsp), %rsi
andb $0x1, %al
movzbl %al, %edx
callq 0x19130
cmpq $0x0, 0x5b8(%rsp)
je 0x1c04d
movq 0x5b8(%rsp), %rdi
movb 0x5a7(%rsp), %al
leaq 0x360(%rsp), %rsi
andb $0x1, %al
movzbl %al, %edx
callq 0x19130
cmpq $0x0, 0x5b8(%rsp)
setne %cl
movb 0x5a7(%rsp), %al
movq 0x550(%rsp), %r8
movl 0x55c(%rsp), %r9d
movss 0x5a0(%rsp), %xmm0
movb 0x59f(%rsp), %r10b
movl 0x660(%rsp), %ebp
movl 0x668(%rsp), %r14d
movss 0x598(%rsp), %xmm1
movb 0x590(%rsp), %r11b
movq 0x6b8(%rsp), %r15
movb 0x58d(%rsp), %bl
movq 0x368(%rsp), %rdi
movq 0x360(%rsp), %rsi
movq %rsp, %rdx
movq %r15, 0x28(%rdx)
movl %r14d, 0x18(%rdx)
movl %ebp, 0x10(%rdx)
leaq 0x52c(%rsp), %r14
movq %r14, (%rdx)
movzbl %bl, %ebx
andl $0x1, %ebx
movl %ebx, 0x30(%rdx)
movzbl %r11b, %r11d
andl $0x1, %r11d
movl %r11d, 0x20(%rdx)
movzbl %r10b, %r10d
andl $0x1, %r10d
movl %r10d, 0x8(%rdx)
movzbl %cl, %edx
andl $0x1, %edx
movzbl %al, %ecx
andl $0x1, %ecx
callq 0x6530
cmpl $0x0, 0x640(%rsp)
je 0x1c169
movl $0x0, 0x35c(%rsp)
movl 0x35c(%rsp), %eax
cmpl 0x640(%rsp), %eax
jge 0x1c15c
movq 0x648(%rsp), %rax
movslq 0x35c(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2040
movl 0x35c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x35c(%rsp)
jmp 0x1c120
movq 0x648(%rsp), %rdi
callq 0x2040
cmpl $0x0, 0x484(%rsp)
je 0x1c1ce
movl $0x0, 0x358(%rsp)
movl 0x358(%rsp), %eax
cmpl 0x484(%rsp), %eax
jge 0x1c1c1
movq 0x488(%rsp), %rax
movslq 0x358(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rdi
callq 0x2040
movl 0x358(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x358(%rsp)
jmp 0x1c17e
movq 0x488(%rsp), %rdi
callq 0x2040
testb $0x1, 0x5a4(%rsp)
je 0x1c22c
movl $0x0, 0x354(%rsp)
movl 0x354(%rsp), %eax
cmpl 0x544(%rsp), %eax
jge 0x1c21f
movq 0x538(%rsp), %rax
movslq 0x354(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2040
movl 0x354(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x354(%rsp)
jmp 0x1c1e3
movq 0x538(%rsp), %rdi
callq 0x2040
testb $0x1, 0x591(%rsp)
je 0x1c3b8
movl $0x0, 0x350(%rsp)
movl 0x350(%rsp), %eax
cmpl 0x51c(%rsp), %eax
jge 0x1c281
movq 0x520(%rsp), %rax
movslq 0x350(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2040
movl 0x350(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x350(%rsp)
jmp 0x1c245
movq 0x520(%rsp), %rdi
callq 0x2040
movl $0x0, 0x34c(%rsp)
movl 0x34c(%rsp), %eax
cmpl 0x50c(%rsp), %eax
jge 0x1c2d5
movq 0x510(%rsp), %rax
movslq 0x34c(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2040
movl 0x34c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x34c(%rsp)
jmp 0x1c299
movq 0x510(%rsp), %rdi
callq 0x2040
movl $0x0, 0x348(%rsp)
movl 0x348(%rsp), %eax
cmpl 0x4fc(%rsp), %eax
jge 0x1c329
movq 0x500(%rsp), %rax
movslq 0x348(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2040
movl 0x348(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x348(%rsp)
jmp 0x1c2ed
movq 0x500(%rsp), %rdi
callq 0x2040
movq 0x4f0(%rsp), %rdi
callq 0x2040
movq 0x4e0(%rsp), %rdi
callq 0x2040
movq 0x4d0(%rsp), %rdi
callq 0x2040
movq 0x4c8(%rsp), %rdi
callq 0x2040
movq 0x4c0(%rsp), %rdi
callq 0x2040
movq 0x4b8(%rsp), %rdi
callq 0x2040
movq 0x4b0(%rsp), %rdi
callq 0x2040
movq 0x4a8(%rsp), %rdi
callq 0x2040
movq 0x4a0(%rsp), %rdi
callq 0x2040
movq 0x498(%rsp), %rdi
callq 0x2040
movl $0x0, 0x344(%rsp)
movl 0x344(%rsp), %eax
cmpl 0x55c(%rsp), %eax
jge 0x1c5e6
movq 0x550(%rsp), %rax
movslq 0x344(%rsp), %rcx
imulq $0x68, %rcx, %rcx
addq %rcx, %rax
movq %rax, 0x338(%rsp)
movq 0x338(%rsp), %rax
testb $0x1, 0xc(%rax)
jne 0x1c59e
movq 0x338(%rsp), %rax
cmpl $0x0, 0x18(%rax)
je 0x1c427
movq 0x338(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x2040
testb $0x1, 0x59f(%rsp)
je 0x1c47a
movq 0x338(%rsp), %rax
cmpq $0x0, 0x60(%rax)
je 0x1c47a
movq 0x338(%rsp), %rax
movq 0x60(%rax), %rax
movq (%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x60(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x60(%rax), %rdi
callq 0x2040
movl $0x0, 0x334(%rsp)
movl 0x334(%rsp), %eax
cmpl 0x52c(%rsp), %eax
jge 0x1c52a
movq 0x338(%rsp), %rax
movq 0x48(%rax), %rax
movslq 0x334(%rsp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x1c512
movq 0x338(%rsp), %rax
movq 0x48(%rax), %rax
movslq 0x334(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x48(%rax), %rax
movslq 0x334(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x48(%rax), %rax
movslq 0x334(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2040
jmp 0x1c514
movl 0x334(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x334(%rsp)
jmp 0x1c485
movq 0x338(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x50(%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x38(%rax), %rax
movq (%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x38(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x28(%rax), %rax
movq (%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x38(%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x2040
movq 0x338(%rsp), %rax
movq (%rax), %rdi
callq 0x2040
movl 0x344(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x344(%rsp)
jmp 0x1c3c3
movq 0x550(%rsp), %rdi
callq 0x2040
movq 0x548(%rsp), %rdi
callq 0x2040
movq 0x530(%rsp), %rdi
callq 0x2040
movq 0x560(%rsp), %rdi
callq 0x2040
testb $0x1, 0x590(%rsp)
je 0x1c675
testb $0x1, 0x5a7(%rsp)
je 0x1c640
movq 0x368(%rsp), %rdi
callq 0x2030
cmpl $0x0, %eax
jne 0x1c65c
testb $0x1, 0x5a7(%rsp)
jne 0x1c675
movq 0x368(%rsp), %rdi
callq 0x20d0
cmpl $0x0, %eax
je 0x1c675
movq 0x5c0(%rsp), %rdi
movl $0x3, %esi
callq 0x2840
movl %eax, %edi
callq 0x22b0
cmpq $0x0, 0x5b8(%rsp)
je 0x1c6d1
testb $0x1, 0x5a7(%rsp)
jne 0x1c69c
movq 0x360(%rsp), %rdi
callq 0x20d0
cmpl $0x0, %eax
jne 0x1c6b8
testb $0x1, 0x5a7(%rsp)
je 0x1c6d1
movq 0x360(%rsp), %rdi
callq 0x2030
cmpl $0x0, %eax
je 0x1c6d1
movq 0x5b8(%rsp), %rdi
movl $0x3, %esi
callq 0x2840
movl %eax, %edi
callq 0x22b0
cmpq $0x0, 0x5b0(%rsp)
je 0x1c72d
testb $0x1, 0x5a7(%rsp)
jne 0x1c6f8
movq 0x578(%rsp), %rdi
callq 0x20d0
cmpl $0x0, %eax
jne 0x1c714
testb $0x1, 0x5a7(%rsp)
je 0x1c72d
movq 0x578(%rsp), %rdi
callq 0x2030
cmpl $0x0, %eax
je 0x1c72d
movq 0x5b0(%rsp), %rdi
movl $0x3, %esi
callq 0x2840
movl %eax, %edi
callq 0x22b0
cmpq $0x0, 0x5a8(%rsp)
je 0x1c789
testb $0x1, 0x5a7(%rsp)
jne 0x1c754
movq 0x580(%rsp), %rdi
callq 0x20d0
cmpl $0x0, %eax
jne 0x1c770
testb $0x1, 0x5a7(%rsp)
je 0x1c789
movq 0x580(%rsp), %rdi
callq 0x2030
cmpl $0x0, %eax
je 0x1c789
movq 0x5a8(%rsp), %rdi
movl $0x3, %esi
callq 0x2840
movl %eax, %edi
callq 0x22b0
testb $0x1, 0x56f(%rsp)
je 0x1c7e4
testb $0x1, 0x5a7(%rsp)
jne 0x1c7af
movq 0x570(%rsp), %rdi
callq 0x20d0
cmpl $0x0, %eax
jne 0x1c7cb
testb $0x1, 0x5a7(%rsp)
je 0x1c7e4
movq 0x570(%rsp), %rdi
callq 0x2030
cmpl $0x0, %eax
je 0x1c7e4
movq 0x698(%rsp), %rdi
movl $0x3, %esi
callq 0x2840
movl %eax, %edi
callq 0x22b0
addq $0x5d8, %rsp            # imm = 0x5D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)