// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/mgth/mg_outputwriter.c
// Function: output_hitdna
static void output_hitdna(ParseStruct *parsestruct_ptr,
                   CombinedScoreMatrixEntry **combinedscore_matrix,
                   HitInformation *hit_information,
                   RegionStruct **regionmatrix, GtError * err)
{
  GT_UNUSED int had_err = 0;

  GtUword arraysize,
    from = 0,
    to = 0,
    contig_seq_diff,
    hit_numbers = 0,
    current,
    *hit_ptr,
    hitcounter = 0,
    gt_array_index,
    seq_index,
    hit_index,
    string_number,
    tmp_var,
    *hitsnum_tmp,
    hit_from,
    hit_to,
    hash_index = 0,
    *memory_tmp;

  unsigned short row_index;

  char *contig_seq,
   *contig_seq_ptr;

  GtStr *as_seq;

  gt_error_check(err);

  hit_ptr = NULL;
  as_seq = gt_str_new();
  hitcounter = gt_str_array_size(hit_information->hit_gi);
  contig_seq_ptr = gt_str_get(MATRIXSTRUCT(query_dna));

  /* in allen Leserahmen nach kodierenden Abschnitten suchen */
  for (row_index = 0; row_index < 7; row_index++)
  {
    if (row_index != 3)
    {
      /* Anzahl kodierender Abschnitte im aktuellen Leserahmen */
      arraysize = gt_array_size(regionmatrix[row_index][0].from);

      for (gt_array_index = 0; gt_array_index < arraysize; gt_array_index++)
      {
        /* Bereichsgrenzen des kodierenden Abschnittes - Werte bereits in
           0- bis X-Kodierung */
        from =
          *(GtUword *) gt_array_get(regionmatrix[row_index][0].from,
                                       gt_array_index);
        to =
          *(GtUword *) gt_array_get(regionmatrix[row_index][0].to,
                                       gt_array_index);

        /* nur wenn die Mindestlaenge in Anzahl AS erfuellt ist, erfolgt
           eine Ausgabe */
        if ((to - from + 1) / 3 > ARGUMENTSSTRUCT(min_as))
        {
          /* to-from+1+1 entspricht Anzahl der zu betrachtenden Basen +
             Stringende-Zeichen */
          contig_seq_diff = to - from + 2;

          contig_seq = gt_malloc(contig_seq_diff*sizeof (char));
          /* kopieren von contig_seq_diff-1 Zeichen */
          (void) snprintf(contig_seq, contig_seq_diff, "%s",
                          contig_seq_ptr + from);
          gt_assert(contig_seq);

          had_err = as_coding(parsestruct_ptr,
                              contig_seq_ptr, as_seq, from, to, row_index, err);

          /* je nach Ausgabeformat die entsprechende Ausgabefunktion
             aufrufen */
          switch (ARGUMENTSSTRUCT(outputfile_format))
          {
            case 1:
              print_codingheader(parsestruct_ptr, contig_seq, as_seq);
              break;
            case 2:
              print_codingheader(parsestruct_ptr, contig_seq, as_seq);
              break;
            case 3:
              print_codingheader(parsestruct_ptr, contig_seq, as_seq);
              break;
          }

          /* Sequnezbereich wird genauer betrachtet */
          for (seq_index = from; seq_index < to + 1; seq_index++)
          {
            /* hit_numbers ist die Anzahl der beteiligten Hits an
               Sequenzposition seq_index */
            hit_numbers =
              gt_array_size(combinedscore_matrix[row_index][seq_index].
                         hit_number);

            if (hit_ptr == NULL)
            {
              hit_ptr = gt_calloc(hitcounter, sizeof (GtUword));
            }
            /* Abfragen aller Hit-Nummern fuer jede Position */
            for (hit_index = 0; hit_index < hit_numbers; hit_index++)
            {
              /* current entspricht der Hit-Nummer */
              current =
                *(GtUword *)
                gt_array_get(combinedscore_matrix[row_index][seq_index].
                          hit_number, hit_index);
              /* hit_ptr wird an der Stelle current auf 1 gesetzt - so
                 wird eine Mehrfachnennung vermieden */
              hit_ptr[current] |= 1;
            }
          }

          /* hitcounter ist max. Anzahl der Hits */
          for (seq_index = 0; seq_index < hitcounter; seq_index++)
          {

            gt_assert(hit_ptr != NULL);
            /* Wenn an der Position seq_index eine 1 steht, kommt der
               entsprechende Hit(-Eintrag) in der Ergebnismenge vor und
               muss ausgegeben werden */
            if (hit_ptr[seq_index])
            {
              /* Die aktuelle Hit-Definition wird eingelesen */
              gt_str_set(parsestruct_ptr->result_hits,
                      gt_str_array_get(hit_information->hit_def, seq_index));

              hit_from =
                atoi(gt_str_array_get(hit_information->hit_from, seq_index));
              hit_to =
                atoi(gt_str_array_get(hit_information->hit_to, seq_index));

              /* ueberpruefen, ob der aktuelle Hit bereits erfasst wurde */
              if (!gt_cstr_nofree_ulp_gt_hashmap_get
                  (parsestruct_ptr->resulthits,
                   gt_str_get(parsestruct_ptr->result_hits)))
              {
                /* Hit noch nicht erfasst, also in das Statistik-Array
                   einfuegen */
                gt_str_array_add_cstr(HITSTRUCT(hits_statistic),
                                  gt_str_get(parsestruct_ptr->result_hits));
                /* Position der Hit-Def. im Statistik-Array */
                string_number =
                  gt_str_array_size(HITSTRUCT(hits_statistic)) - 1;

                /* Hitscounter: zaehlt , Hitsnumber: zaehlt das Auftreten
                   der Hit-Def. in der Ergebnismenge */
                HITSTRUCT(hitsnumber) =
                  HITSTRUCT(hitsnumber) + hit_to - hit_from + 1;

                /* Bei Bedarf speicher reallokieren */
                if (string_number + 1 > parsestruct_ptr->hits_memory - 20)
                {
                  hitsnum_tmp = HITSTRUCT(hitsnum);
                  memory_tmp = HITSTRUCT(memory);

                  gt_array_reset(parsestruct_ptr->value_tmp);
                  (void) gt_cstr_nofree_ulp_gt_hashmap_foreach(
                    parsestruct_ptr->resulthits,
                    newmemory_hash, parsestruct_ptr, err);

                  /* Speichergroesse erhoehen */
                  parsestruct_ptr->hits_memory =
                    MGTH_MEMORY_SIZE + parsestruct_ptr->hits_memory;

                  HITSTRUCT(hitsnum) =
                    gt_realloc(hitsnum_tmp,
                               parsestruct_ptr->hits_memory *
                               sizeof (GtUword));
                  HITSTRUCT(memory) =
                    gt_realloc(memory_tmp,
                               parsestruct_ptr->hits_memory *
                               sizeof (GtUword));

                  gt_hashtable_reset(parsestruct_ptr->resulthits);

                  for (hash_index = 0;
                       hash_index < gt_array_size(parsestruct_ptr->value_tmp);
                       hash_index++)
                  {
                    gt_cstr_nofree_ulp_gt_hashmap_add(
                                   parsestruct_ptr->resulthits,
                                  (char *)
                                  gt_str_array_get(HITSTRUCT(hits_statistic),
                                               *(GtUword *)
                                               gt_array_get(parsestruct_ptr->
                                                         value_tmp,
                                                         hash_index)),
                                  HITSTRUCT(memory +
                                            *(GtUword *)
                                            gt_array_get(parsestruct_ptr->
                                                      value_tmp,
                                                      hash_index)));
                  }
                }

                tmp_var = string_number;

                *(HITSTRUCT(memory + tmp_var)) = tmp_var;
                *(HITSTRUCT(hitsnum + tmp_var)) = hit_to - hit_from + 1;

                gt_cstr_nofree_ulp_gt_hashmap_add(parsestruct_ptr->resulthits,
                              (char *)
                              gt_str_array_get(HITSTRUCT(hits_statistic),
                                           string_number),
                              HITSTRUCT(memory + tmp_var));
              }
              else
              {
                HITSTRUCT(hitsnumber) =
                  HITSTRUCT(hitsnumber) + hit_to - hit_from + 1;
                tmp_var =
                  **gt_cstr_nofree_ulp_gt_hashmap_get(
                    parsestruct_ptr->resulthits,
                    gt_str_get(parsestruct_ptr->result_hits));

                *(HITSTRUCT(hitsnum) + tmp_var) =
                  *(HITSTRUCT(hitsnum) + tmp_var) + hit_to - hit_from + 1;;
              }

              /* je nach Ausgabeformat die entsprechende
                 Hit-Information-Ausgabefunktion aufrufen */
              switch (ARGUMENTSSTRUCT(outputfile_format))
              {
                case 1:
                  print_hitinformation(parsestruct_ptr, hit_information,
                                       seq_index);
                  break;
                case 2:
                  print_hitinformation(parsestruct_ptr, hit_information,
                                       seq_index);
                  break;
                case 3:
                  print_hitinformation(parsestruct_ptr, hit_information,
                                       seq_index);
                  break;
              }
              gt_str_reset(parsestruct_ptr->result_hits);
            }
          }

          switch (ARGUMENTSSTRUCT(outputfile_format))
          {
              /* Ausgabe Coding-DNA-Header - txt */
            case 1:
              gt_file_xprintf(FILEPOINTEROUT, "\n\n");
              break;
              /* Ausgabe Coding-DNA-Header - html */
            case 2:
              break;
              /* Ausgabe Coding-DNA-Header - xml */
            case 3:
              gt_file_xprintf(FILEPOINTEROUT, "        </Hit_infos>\n");
              gt_file_xprintf(FILEPOINTEROUT, "      </Hit>\n");
              break;
          }

          gt_free(hit_ptr);
          gt_free(contig_seq);
          hit_ptr = NULL;
          gt_str_reset(as_seq);
        }
      }
    }
  }
  gt_str_delete(as_seq);
}

// Assembly:
subq $0x148, %rsp            # imm = 0x148
movq %rdi, 0x140(%rsp)
movq %rsi, 0x138(%rsp)
movq %rdx, 0x130(%rsp)
movq %rcx, 0x128(%rsp)
movq %r8, 0x120(%rsp)
movl $0x0, 0x11c(%rsp)
movq $0x0, 0x108(%rsp)
movq $0x0, 0x100(%rsp)
movq $0x0, 0xf0(%rsp)
movq $0x0, 0xd8(%rsp)
movq $0x0, 0x90(%rsp)
cmpq $0x0, 0x120(%rsp)
je 0x3174bc
movq 0x120(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x317484
jmp 0x3174bc
movq 0x324b15(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x1feb7e(%rip), %rsi    # 0x516013
leaq 0x1fed23(%rip), %rdx    # 0x5161bf
leaq 0x27e0e1(%rip), %rcx    # 0x595584
leaq 0x27de45(%rip), %r8     # 0x5952ef
movl $0x2c9, %r9d            # imm = 0x2C9
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x3174be
movq $0x0, 0xe0(%rsp)
callq 0x11d4a0
movq %rax, 0x68(%rsp)
movq 0x130(%rsp), %rax
movq (%rax), %rdi
callq 0x11fcc0
movq %rax, 0xd8(%rsp)
movq 0x140(%rsp), %rax
movq 0x120(%rax), %rdi
callq 0x11dee0
movq %rax, 0x70(%rsp)
movw $0x0, 0x86(%rsp)
movzwl 0x86(%rsp), %eax
cmpl $0x7, %eax
jge 0x317feb
movzwl 0x86(%rsp), %eax
cmpl $0x3, %eax
je 0x317fd0
movq 0x128(%rsp), %rax
movzwl 0x86(%rsp), %ecx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdi
callq 0x81370
movq %rax, 0x110(%rsp)
movq $0x0, 0xd0(%rsp)
movq 0xd0(%rsp), %rax
cmpq 0x110(%rsp), %rax
jae 0x317fce
movq 0x128(%rsp), %rax
movzwl 0x86(%rsp), %ecx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdi
movq 0xd0(%rsp), %rsi
callq 0x80b60
movq (%rax), %rax
movq %rax, 0x108(%rsp)
movq 0x128(%rsp), %rax
movzwl 0x86(%rsp), %ecx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rdi
movq 0xd0(%rsp), %rsi
callq 0x80b60
movq (%rax), %rax
movq %rax, 0x100(%rsp)
movq 0x100(%rsp), %rax
subq 0x108(%rsp), %rax
addq $0x1, %rax
movl $0x3, %ecx
xorl %edx, %edx
divq %rcx
movq 0x140(%rsp), %rcx
cmpq 0x1f0(%rcx), %rax
jbe 0x317fb3
movq 0x100(%rsp), %rax
subq 0x108(%rsp), %rax
addq $0x2, %rax
movq %rax, 0xf8(%rsp)
movq 0xf8(%rsp), %rdi
shlq $0x0, %rdi
leaq 0x27dcb7(%rip), %rsi    # 0x5952ef
movl $0x2eb, %edx            # imm = 0x2EB
callq 0xe80f0
movq %rax, 0x78(%rsp)
movq 0x78(%rsp), %rdi
movq 0xf8(%rsp), %rsi
movq 0x70(%rsp), %rcx
addq 0x108(%rsp), %rcx
leaq 0x2849b9(%rip), %rdx    # 0x59c021
movb $0x0, %al
callq 0x19b90
cmpq $0x0, 0x78(%rsp)
jne 0x3176af
movq 0x324922(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x1fe98b(%rip), %rsi    # 0x516013
leaq 0x27df03(%rip), %rdx    # 0x595592
leaq 0x27deee(%rip), %rcx    # 0x595584
leaq 0x27dc52(%rip), %r8     # 0x5952ef
movl $0x2ef, %r9d            # imm = 0x2EF
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x3176b1
movq 0x140(%rsp), %rdi
movq 0x70(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq 0x108(%rsp), %rcx
movq 0x100(%rsp), %r8
movzwl 0x86(%rsp), %r9d
movq 0x120(%rsp), %r10
movq %rsp, %rax
movq %r10, (%rax)
callq 0x3181e0
movl %eax, 0x11c(%rsp)
movq 0x140(%rsp), %rax
movl 0x1e0(%rax), %eax
movl %eax, 0x64(%rsp)
subl $0x1, %eax
je 0x317725
jmp 0x31770f
movl 0x64(%rsp), %eax
subl $0x2, %eax
je 0x31773e
jmp 0x31771a
movl 0x64(%rsp), %eax
subl $0x3, %eax
je 0x317757
jmp 0x31776e
movq 0x140(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq 0x68(%rsp), %rdx
callq 0x318c20
jmp 0x31776e
movq 0x140(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq 0x68(%rsp), %rdx
callq 0x318c20
jmp 0x31776e
movq 0x140(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq 0x68(%rsp), %rdx
callq 0x318c20
movq 0x108(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq 0xc8(%rsp), %rax
movq 0x100(%rsp), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
jae 0x3178a4
movq 0x138(%rsp), %rax
movzwl 0x86(%rsp), %ecx
movq (%rax,%rcx,8), %rax
imulq $0x18, 0xc8(%rsp), %rcx
addq %rcx, %rax
movq 0x10(%rax), %rdi
callq 0x81370
movq %rax, 0xf0(%rsp)
cmpq $0x0, 0xe0(%rsp)
jne 0x3177fd
movq 0xd8(%rsp), %rdi
movl $0x8, %esi
leaq 0x27db04(%rip), %rdx    # 0x5952ef
movl $0x30e, %ecx            # imm = 0x30E
callq 0xe83c0
movq %rax, 0xe0(%rsp)
movq $0x0, 0xc0(%rsp)
movq 0xc0(%rsp), %rax
cmpq 0xf0(%rsp), %rax
jae 0x317889
movq 0x138(%rsp), %rax
movzwl 0x86(%rsp), %ecx
movq (%rax,%rcx,8), %rax
imulq $0x18, 0xc8(%rsp), %rcx
addq %rcx, %rax
movq 0x10(%rax), %rdi
movq 0xc0(%rsp), %rsi
callq 0x80b60
movq (%rax), %rax
movq %rax, 0xe8(%rsp)
movq 0xe0(%rsp), %rax
movq 0xe8(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
orq $0x1, %rdx
movq %rdx, (%rax,%rcx,8)
movq 0xc0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xc0(%rsp)
jmp 0x317809
jmp 0x31788b
movq 0xc8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xc8(%rsp)
jmp 0x31777e
movq $0x0, 0xc8(%rsp)
movq 0xc8(%rsp), %rax
cmpq 0xd8(%rsp), %rax
jae 0x317ee4
jmp 0x3178c8
cmpq $0x0, 0xe0(%rsp)
jne 0x31790b
movq 0x3246c6(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x1fe72f(%rip), %rsi    # 0x516013
leaq 0x27dcb2(%rip), %rdx    # 0x59559d
leaq 0x27dc92(%rip), %rcx    # 0x595584
leaq 0x27d9f6(%rip), %r8     # 0x5952ef
movl $0x322, %r9d            # imm = 0x322
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x31790d
movq 0xe0(%rsp), %rax
movq 0xc8(%rsp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x317ec9
movq 0x140(%rsp), %rax
movq 0x70(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0x130(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0xc8(%rsp), %rsi
callq 0x11f8c0
movq 0x50(%rsp), %rdi
movq %rax, %rsi
callq 0x11d650
movq 0x130(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0xc8(%rsp), %rsi
callq 0x11f8c0
movq %rax, %rdi
callq 0x19b30
cltq
movq %rax, 0xa0(%rsp)
movq 0x130(%rsp), %rax
movq 0x20(%rax), %rdi
movq 0xc8(%rsp), %rsi
callq 0x11f8c0
movq %rax, %rdi
callq 0x19b30
cltq
movq %rax, 0x98(%rsp)
movq 0x140(%rsp), %rax
movq 0xb8(%rax), %rax
movq %rax, 0x58(%rsp)
movq 0x140(%rsp), %rax
movq 0x70(%rax), %rdi
callq 0x11dee0
movq 0x58(%rsp), %rdi
movq %rax, %rsi
callq 0x318f80
cmpq $0x0, %rax
jne 0x317d72
movq 0x140(%rsp), %rax
movq 0x1f8(%rax), %rax
movq %rax, 0x48(%rsp)
movq 0x140(%rsp), %rax
movq 0x70(%rax), %rdi
callq 0x11dee0
movq 0x48(%rsp), %rdi
movq %rax, %rsi
callq 0x11f720
movq 0x140(%rsp), %rax
movq 0x1f8(%rax), %rdi
callq 0x11fcc0
subq $0x1, %rax
movq %rax, 0xb8(%rsp)
movq 0x140(%rsp), %rax
movq 0x210(%rax), %rcx
addq 0x98(%rsp), %rcx
subq 0xa0(%rsp), %rcx
addq $0x1, %rcx
movq 0x140(%rsp), %rax
movq %rcx, 0x210(%rax)
movq 0xb8(%rsp), %rax
addq $0x1, %rax
movq 0x140(%rsp), %rcx
movq 0xe8(%rcx), %rcx
subq $0x14, %rcx
cmpq %rcx, %rax
jbe 0x317cb0
movq 0x140(%rsp), %rax
movq 0x200(%rax), %rax
movq %rax, 0xa8(%rsp)
movq 0x140(%rsp), %rax
movq 0x208(%rax), %rax
movq %rax, 0x88(%rsp)
movq 0x140(%rsp), %rax
movq 0x78(%rax), %rdi
callq 0x814a0
movq 0x140(%rsp), %rax
movq 0xb8(%rax), %rdi
movq 0x140(%rsp), %rdx
movq 0x120(%rsp), %rcx
leaq 0x14ce(%rip), %rsi      # 0x318fd0
callq 0x314ef0
movq 0x140(%rsp), %rax
movq 0xe8(%rax), %rcx
addq $0xfa, %rcx
movq 0x140(%rsp), %rax
movq %rcx, 0xe8(%rax)
movq 0xa8(%rsp), %rdi
movq 0x140(%rsp), %rax
movq 0xe8(%rax), %rsi
shlq $0x3, %rsi
leaq 0x27d7a1(%rip), %rdx    # 0x5952ef
movl $0x355, %ecx            # imm = 0x355
callq 0xe8540
movq %rax, %rcx
movq 0x140(%rsp), %rax
movq %rcx, 0x200(%rax)
movq 0x88(%rsp), %rdi
movq 0x140(%rsp), %rax
movq 0xe8(%rax), %rsi
shlq $0x3, %rsi
leaq 0x27d763(%rip), %rdx    # 0x5952ef
movl $0x359, %ecx            # imm = 0x359
callq 0xe8540
movq %rax, %rcx
movq 0x140(%rsp), %rax
movq %rcx, 0x208(%rax)
movq 0x140(%rsp), %rax
movq 0xb8(%rax), %rdi
callq 0xe2f00
movq $0x0, 0x90(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x140(%rsp), %rax
movq 0x78(%rax), %rdi
callq 0x81370
movq %rax, %rcx
movq 0x40(%rsp), %rax
cmpq %rcx, %rax
jae 0x317cae
movq 0x140(%rsp), %rax
movq 0xb8(%rax), %rax
movq %rax, 0x30(%rsp)
movq 0x140(%rsp), %rax
movq 0x1f8(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x140(%rsp), %rax
movq 0x78(%rax), %rdi
movq 0x90(%rsp), %rsi
callq 0x80b60
movq 0x20(%rsp), %rdi
movq (%rax), %rsi
callq 0x11f8c0
movq %rax, 0x38(%rsp)
movq 0x140(%rsp), %rax
movq 0x208(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x140(%rsp), %rax
movq 0x78(%rax), %rdi
movq 0x90(%rsp), %rsi
callq 0x80b60
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq (%rax), %rax
shlq $0x3, %rax
addq %rax, %rdx
callq 0x319080
movq 0x90(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x90(%rsp)
jmp 0x317bc8
jmp 0x317cb0
movq 0xb8(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0xb0(%rsp), %rdx
movq 0x140(%rsp), %rax
movq 0x208(%rax), %rax
movq 0xb0(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x98(%rsp), %rdx
subq 0xa0(%rsp), %rdx
addq $0x1, %rdx
movq 0x140(%rsp), %rax
movq 0x200(%rax), %rax
movq 0xb0(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x140(%rsp), %rax
movq 0xb8(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x140(%rsp), %rax
movq 0x1f8(%rax), %rdi
movq 0xb8(%rsp), %rsi
callq 0x11f8c0
movq 0x18(%rsp), %rdi
movq %rax, %rsi
movq 0x140(%rsp), %rax
movq 0x208(%rax), %rdx
movq 0xb0(%rsp), %rax
shlq $0x3, %rax
addq %rax, %rdx
callq 0x319080
jmp 0x317e2e
movq 0x140(%rsp), %rax
movq 0x210(%rax), %rcx
addq 0x98(%rsp), %rcx
subq 0xa0(%rsp), %rcx
addq $0x1, %rcx
movq 0x140(%rsp), %rax
movq %rcx, 0x210(%rax)
movq 0x140(%rsp), %rax
movq 0xb8(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x140(%rsp), %rax
movq 0x70(%rax), %rdi
callq 0x11dee0
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x318f80
movq (%rax), %rax
movq (%rax), %rax
movq %rax, 0xb0(%rsp)
movq 0x140(%rsp), %rax
movq 0x200(%rax), %rax
movq 0xb0(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
addq 0x98(%rsp), %rdx
subq 0xa0(%rsp), %rdx
addq $0x1, %rdx
movq 0x140(%rsp), %rax
movq 0x200(%rax), %rax
movq 0xb0(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x140(%rsp), %rax
movl 0x1e0(%rax), %eax
movl %eax, 0xc(%rsp)
subl $0x1, %eax
je 0x317e5d
jmp 0x317e47
movl 0xc(%rsp), %eax
subl $0x2, %eax
je 0x317e7c
jmp 0x317e52
movl 0xc(%rsp), %eax
subl $0x3, %eax
je 0x317e9b
jmp 0x317eb8
movq 0x140(%rsp), %rdi
movq 0x130(%rsp), %rsi
movq 0xc8(%rsp), %rdx
callq 0x3190e0
jmp 0x317eb8
movq 0x140(%rsp), %rdi
movq 0x130(%rsp), %rsi
movq 0xc8(%rsp), %rdx
callq 0x3190e0
jmp 0x317eb8
movq 0x140(%rsp), %rdi
movq 0x130(%rsp), %rsi
movq 0xc8(%rsp), %rdx
callq 0x3190e0
movq 0x140(%rsp), %rax
movq 0x70(%rax), %rdi
callq 0x11e110
jmp 0x317ecb
movq 0xc8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xc8(%rsp)
jmp 0x3178b0
movq 0x140(%rsp), %rax
movl 0x1e0(%rax), %eax
movl %eax, 0x8(%rsp)
subl $0x1, %eax
je 0x317f13
jmp 0x317efd
movl 0x8(%rsp), %eax
subl $0x2, %eax
je 0x317f32
jmp 0x317f08
movl 0x8(%rsp), %eax
subl $0x3, %eax
je 0x317f34
jmp 0x317f6e
movq 0x140(%rsp), %rax
movq 0x90(%rax), %rdi
leaq 0x27b349(%rip), %rsi    # 0x593272
movb $0x0, %al
callq 0xddca0
jmp 0x317f6e
jmp 0x317f6e
movq 0x140(%rsp), %rax
movq 0x90(%rax), %rdi
leaq 0x27d663(%rip), %rsi    # 0x5955ad
movb $0x0, %al
callq 0xddca0
movq 0x140(%rsp), %rax
movq 0x90(%rax), %rdi
leaq 0x27d65c(%rip), %rsi    # 0x5955c3
movb $0x0, %al
callq 0xddca0
movq 0xe0(%rsp), %rdi
leaq 0x27d372(%rip), %rsi    # 0x5952ef
movl $0x3ae, %edx            # imm = 0x3AE
callq 0xe88c0
movq 0x78(%rsp), %rdi
leaq 0x27d35c(%rip), %rsi    # 0x5952ef
movl $0x3af, %edx            # imm = 0x3AF
callq 0xe88c0
movq $0x0, 0xe0(%rsp)
movq 0x68(%rsp), %rdi
callq 0x11e110
jmp 0x317fb5
movq 0xd0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xd0(%rsp)
jmp 0x317561
jmp 0x317fd0
jmp 0x317fd2
movw 0x86(%rsp), %ax
addw $0x1, %ax
movw %ax, 0x86(%rsp)
jmp 0x31750f
movq 0x68(%rsp), %rdi
callq 0x11f560
addq $0x148, %rsp            # imm = 0x148
retq
nopl (%rax)