// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/ft-eoplist.c
// Function: gt_eoplist_format_generic
void gt_eoplist_format_generic(FILE *fp,
                               const GtEoplist *eoplist,
                               GtEoplistReader *eoplist_reader,
                               const GtUchar *characters,
                               GtUword top_seqlength,
                               GtUword low_reference,
                               GtUword one_off,
                               bool distinguish_mismatch_match,
                               bool subject_first,
                               bool alignment_show_forward,
                               bool show_complement_characters,
                               GtUchar wildcardshow)
{
  GtCigarOp co;
  unsigned int pos = 0;
  GtUword idx_u = 0, idx_v = 0, alignmentlength = 0,
          firstseedcolumn = GT_UWORD_MAX;
  GtUchar *topbuf = eoplist_reader->outbuffer, *midbuf = NULL, *lowbuf = NULL;
  const int numwidth = gt_eoplist_numwidth(eoplist);
  const GtUword low_start_base
                  = low_reference == 0 ? eoplist->vstart
                                       : low_reference - eoplist->vstart;
  GtUword top_start_pos = eoplist->ustart,
          low_start_pos = low_start_base;

  gt_assert(alignment_show_forward || top_seqlength > 0);
  uint64_t suffix_bits = 0, set_mask = 0;
  GtUword suffix_bits_used = 0, prefix_positive = 0, pol_size = 0,
          lastseedcolumn = GT_UWORD_MAX;
  const GtUword max_history = 64;
  GtWord prefix_positive_sum = 0;

  if (eoplist->pol_info != NULL)
  {
    pol_size = GT_MULT2(eoplist->pol_info->cut_depth);
    set_mask = ((uint64_t) 1) << (max_history - 1);
  }
  gt_assert(eoplist_reader != NULL);
  midbuf = topbuf + eoplist_reader->width;
  lowbuf = midbuf + eoplist_reader->width;
  gt_eoplist_reader_reset(eoplist_reader,eoplist,alignment_show_forward);
  while (gt_eoplist_reader_next_cigar(&co,eoplist_reader,
                                      distinguish_mismatch_match))
  {
    switch (co.eoptype)
    {
      GtUword j;
      GtUchar cc_a, cc_b;

      case GtMatchOp:
      case GtMismatchOp:
        for (j = 0; j < co.iteration && idx_u < eoplist->ulen &&
                                        idx_v < eoplist->vlen; j++)
        {
          bool is_match = true;

          if (alignment_show_forward)
          {
            cc_a = eoplist->useq[idx_u];
            cc_b = eoplist->vseq[idx_v];
          } else
          {
            cc_a = eoplist->useq[eoplist->ulen - 1 - idx_u];
            cc_b = eoplist->vseq[eoplist->vlen - 1 - idx_v];
          }
          if (characters != NULL)
          {
            if (GT_ISSPECIAL(cc_a))
            {
              cc_a = wildcardshow;
              is_match = false;
            } else
            {
              if (show_complement_characters)
              {
                gt_assert(cc_a < 4);
                cc_a = GT_COMPLEMENTBASE(cc_a);
              }
              cc_a = characters[cc_a];
            }
            if (GT_ISSPECIAL(cc_b))
            {
              cc_b = wildcardshow;
              is_match = false;
            } else
            {
              if (show_complement_characters)
              {
                gt_assert(cc_b < 4);
                cc_b = GT_COMPLEMENTBASE(cc_b);
              }
              cc_b = characters[cc_b];
            }
          }
          topbuf[pos] = cc_a;
          if (is_match)
          {
            is_match = cc_a == cc_b ? true : false;
          }
          lowbuf[pos] = cc_b;
          if (is_match)
          {
            if (eoplist->useedoffset <= idx_u &&
                idx_u < eoplist->useedoffset + eoplist->seedlen)
            {
              if (eoplist->display_seed_in_alignment)
              {
                midbuf[pos] = (GtUchar) '+';
              } else
              {
                midbuf[pos] = (GtUchar) EOPLIST_MATCHSYMBOL;
              }
              if (firstseedcolumn == GT_UWORD_MAX)
              {
                firstseedcolumn = alignmentlength;
              }
              lastseedcolumn = alignmentlength;
            } else
            {
              midbuf[pos] = (GtUchar) EOPLIST_MATCHSYMBOL;
            }
          } else
          {
            midbuf[pos] = (GtUchar) EOPLIST_MISMATCHSYMBOL;
          }
          pos = gt_eoplist_show_advance(one_off,
                                        subject_first,
                                        numwidth,
                                        pos,
                                        eoplist_reader->width,
                                        topbuf,
                                        top_seqlength,
                                        top_start_pos,
                                        eoplist->ustart + idx_u,
                                        midbuf,
                                        lowbuf,
                                        low_start_pos,
                                        low_start_base + idx_v,
                                        fp);
          if (pos == 0)
          {
            top_start_pos = eoplist->ustart + idx_u + 1;
            low_start_pos = low_start_base + idx_v + 1;
          }
          GT_UPDATE_POSITIVE_INFO(is_match);
          alignmentlength++;
          idx_u++;
          idx_v++;
        }
        break;
      case GtDeletionOp:
        for (j = 0; j < co.iteration && idx_u < eoplist->ulen; j++)
        {
          cc_a = eoplist->useq[alignment_show_forward ? idx_u
                                                      : eoplist->ulen-1-idx_u];
          if (characters != NULL)
          {
            if (GT_ISSPECIAL(cc_a))
            {
              topbuf[pos] = wildcardshow;
            } else
            {
              if (show_complement_characters)
              {
                gt_assert(cc_a < 4);
                cc_a = GT_COMPLEMENTBASE(cc_a);
              }
              topbuf[pos] = characters[cc_a];
            }
          } else
          {
            topbuf[pos] = cc_a;
          }
          midbuf[pos] = EOPLIST_MISMATCHSYMBOL;
          lowbuf[pos] = EOPLIST_GAPSYMBOL;
          pos = gt_eoplist_show_advance(one_off,
                                        subject_first,
                                        numwidth,
                                        pos,
                                        eoplist_reader->width,
                                        topbuf,
                                        top_seqlength,
                                        top_start_pos,
                                        eoplist->ustart + idx_u,
                                        midbuf,
                                        lowbuf,
                                        low_start_pos,
                                        low_start_base + idx_v,
                                        fp);
          if (pos == 0)
          {
            top_start_pos = eoplist->ustart + idx_u + 1;
            low_start_pos = low_start_base + idx_v + 1;
          }
          GT_UPDATE_POSITIVE_INFO(false);
          alignmentlength++;
          idx_u++;
        }
        break;
      case GtInsertionOp:
        for (j = 0; j < co.iteration && idx_v < eoplist->vlen; j++)
        {
          cc_b = eoplist->vseq[alignment_show_forward ? idx_v
                                                      : eoplist->vlen-1-idx_v];
          topbuf[pos] = EOPLIST_GAPSYMBOL;
          midbuf[pos] = EOPLIST_MISMATCHSYMBOL;
          if (characters != NULL)
          {
            if (GT_ISSPECIAL(cc_b))
            {
              lowbuf[pos] = wildcardshow;
            } else
            {
              if (show_complement_characters)
              {
                gt_assert(cc_b < 4);
                cc_b = GT_COMPLEMENTBASE(cc_b);
              }
              lowbuf[pos] = characters[cc_b];
            }
          } else
          {
            lowbuf[pos] = cc_b;
          }
          pos = gt_eoplist_show_advance(one_off,
                                        subject_first,
                                        numwidth,
                                        pos,
                                        eoplist_reader->width,
                                        topbuf,
                                        top_seqlength,
                                        top_start_pos,
                                        eoplist->ustart + idx_u,
                                        midbuf,
                                        lowbuf,
                                        low_start_pos,
                                        low_start_base + idx_v,
                                        fp);
          if (pos == 0)
          {
            top_start_pos = eoplist->ustart + idx_u + 1;
            low_start_pos = low_start_base + idx_v + 1;
          }
          GT_UPDATE_POSITIVE_INFO(false);
          alignmentlength++;
          idx_v++;
        }
        break;
      default:
        fprintf(stderr,"file %s, line %d: illegal eoptype %d\n",
                       __FILE__,__LINE__,co.eoptype);
        exit(GT_EXIT_PROGRAMMING_ERROR);
    }
  }
  if (pos > 0)
  {
    gt_eoplist_write_lines(one_off,
                           subject_first,
                           numwidth,
                           pos,
                           topbuf,
                           top_seqlength,
                           top_start_pos,
                           eoplist->ustart + GT_MIN(idx_u,eoplist->ulen - 1),
                           midbuf,
                           lowbuf,
                           low_start_pos,
                           low_start_base + GT_MIN(idx_v,eoplist->vlen - 1),
                           fp);
  }
  if (eoplist->pol_info != NULL && eoplist->pol_info_out)
  {
    GtUword suffix_positive;
    GtWord suffix_positive_sum = 0;
    bool startpolished = false, endpolished = false;

    for (suffix_positive = 0; suffix_positive < suffix_bits_used;
         suffix_positive++)
    {
      suffix_positive_sum += ((suffix_bits & set_mask)
                                ? eoplist->pol_info->match_score
                                : -eoplist->pol_info->difference_score);
      if (suffix_positive_sum < 0)
      {
        break;
      }
      set_mask >>= 1;
    }
    gt_assert(prefix_positive <= alignmentlength);
    if (prefix_positive >= pol_size || prefix_positive == alignmentlength ||
        firstseedcolumn < pol_size)
    {
      startpolished = true;
    }
    if (suffix_positive >= pol_size || suffix_positive == alignmentlength ||
        (lastseedcolumn != GT_UWORD_MAX &&
         lastseedcolumn + pol_size > alignmentlength))
    {
      endpolished = true;
    }
    fprintf(fp, "# polishing(m=" GT_WD ",d=" GT_WD ",p=" GT_WU
            "): " GT_WU "/" GT_WU,
            eoplist->pol_info->match_score,
            -eoplist->pol_info->difference_score,
            pol_size,
            prefix_positive,
            suffix_positive);
    if (firstseedcolumn < pol_size)
    {
      fprintf(fp, ", seed_on_start");
    }
    if (lastseedcolumn + pol_size > alignmentlength)
    {
      fprintf(fp, ", seed_on_end");
    }
    if (eoplist->withpolcheck)
    {
      fprintf(fp, "\n");
      gt_assert(startpolished);
      gt_assert(endpolished);
    } else
    {
      if (!startpolished)
      {
        fprintf(fp, ", start not polished");
      }
      if (!endpolished)
      {
        fprintf(fp, ", end not polished");
      }
      fprintf(fp, "\n");
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %r9, %rbx
movq %r8, %r12
movq %rcx, 0x70(%rsp)
movq %rsi, %r15
movq %rdi, 0x20(%rsp)
movb 0x168(%rsp), %al
movb %al, 0xe(%rsp)
movb 0x160(%rsp), %al
movb %al, 0xd(%rsp)
movb 0x158(%rsp), %r13b
movb 0x150(%rsp), %bpl
movb 0x148(%rsp), %r14b
movq 0x140(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq %rdx, 0x28(%rsp)
movq 0x18(%rdx), %rax
movq %rax, 0x30(%rsp)
movq %rsi, %rdi
callq 0x323cb5
movq 0x48(%r15), %rcx
movq %rbx, %rdx
subq %rcx, %rdx
testq %rbx, %rbx
cmoveq %rcx, %rdx
movq %rdx, 0x78(%rsp)
movl %eax, 0x3c(%rsp)
movq %r12, 0xd0(%rsp)
testq %r12, %r12
setne %al
movb %r13b, 0xf(%rsp)
orb %r13b, %al
je 0x323c9c
movq 0x88(%r15), %rax
testq %rax, %rax
je 0x323196
movq 0x8(%rax), %rax
addq %rax, %rax
movq %rax, 0x88(%rsp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0xd8(%rsp)
jmp 0x3231ae
movq $0x0, 0xd8(%rsp)
movq $0x0, 0x88(%rsp)
movq 0x28(%rsp), %rbx
testq %rbx, %rbx
je 0x323ca1
movq 0x38(%r15), %rax
movq %rax, 0x68(%rsp)
movl 0x20(%rbx), %ecx
movq 0x30(%rsp), %rax
addq %rcx, %rax
movq %rax, 0x60(%rsp)
addq %rax, %rcx
movq %rcx, 0xb0(%rsp)
movzbl 0xf(%rsp), %edx
movq %rbx, %rdi
movq %r15, 0x40(%rsp)
movq %r15, %rsi
callq 0x32236b
movzbl %r14b, %edx
leaq 0xe8(%rsp), %rdi
movq %rbx, %rsi
movl %edx, 0xe4(%rsp)
callq 0x3223d2
movzbl %bpl, %ecx
movl %ecx, 0x38(%rsp)
testb %al, %al
je 0x3239c3
movq %rbx, %r15
movq 0x78(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xf8(%rsp)
movq $-0x1, 0x90(%rsp)
movq $0x0, 0x80(%rsp)
xorl %r9d, %r9d
xorl %r13d, %r13d
movq $0x0, 0x48(%rsp)
movq $0x0, 0x58(%rsp)
movq %rax, 0x50(%rsp)
xorl %ebp, %ebp
xorl %r10d, %r10d
movq $0x0, 0x18(%rsp)
movq $-0x1, 0xa0(%rsp)
movl 0xe8(%rsp), %edi
leal -0x2(%rdi), %eax
cmpl $0x2, %eax
movq %r10, 0xc0(%rsp)
jb 0x32346d
testl %edi, %edi
je 0x323770
cmpl $0x1, %edi
jne 0x323c97
movq 0xf0(%rsp), %rbx
testq %rbx, %rbx
movq 0x60(%rsp), %r11
je 0x32392c
leaq 0x1(%rbp), %rax
movq %rax, 0xc0(%rsp)
movq 0x18(%rsp), %rax
addq %rbx, %rax
movq %rax, 0x98(%rsp)
movq %r10, %r15
notq %r15
movq 0x40(%rsp), %rsi
movq 0x50(%rsi), %rax
cmpq %rax, %r10
jae 0x32397d
addq %r15, %rax
cmpb $0x0, 0xf(%rsp)
cmovneq %r10, %rax
movq 0x30(%rsi), %rcx
movb (%rcx,%rax), %cl
movl %r9d, %eax
movq 0x30(%rsp), %rdx
movb $0x2d, (%rdx,%rax)
movb $0x20, (%r11,%rax)
cmpq $0x0, 0x70(%rsp)
je 0x323351
movb 0xe(%rsp), %dl
cmpb $-0x3, %cl
ja 0x323353
cmpb $0x0, 0xd(%rsp)
je 0x323344
cmpb $0x4, %cl
jae 0x323c8d
movb $0x3, %dl
subb %cl, %dl
movl %edx, %ecx
movzbl %cl, %ecx
movq 0x70(%rsp), %rdx
movb (%rdx,%rcx), %dl
jmp 0x323353
movl %ecx, %edx
movq 0xb0(%rsp), %r12
movb %dl, (%r12,%rax)
movq 0x28(%rsp), %rax
movl 0x20(%rax), %r8d
movq 0x38(%rsi), %rax
addq %rbp, %rax
movq 0x78(%rsp), %rcx
movq %r10, %r14
addq %rcx, %r10
movq 0xc8(%rsp), %rdi
movl 0x38(%rsp), %esi
movl 0x3c(%rsp), %edx
movl %r9d, %ecx
movq 0x30(%rsp), %r9
pushq 0x20(%rsp)
pushq %r10
pushq 0x60(%rsp)
pushq %r12
pushq %r11
pushq %rax
pushq 0x98(%rsp)
pushq 0x108(%rsp)
callq 0x323d17
movq 0x80(%rsp), %rsi
addq $0x40, %rsp
movl %eax, %r9d
testl %eax, %eax
jne 0x3233e8
movq 0x38(%rsi), %rax
addq 0xc0(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0xf8(%rsp), %rax
addq %r14, %rax
movq %rax, 0x50(%rsp)
movq 0x88(%rsi), %rax
testq %rax, %rax
je 0x323441
cmpq $0x3f, %r13
movq 0x60(%rsp), %r11
movq %r14, %r10
ja 0x323428
movq 0x80(%rsp), %rcx
testq %rcx, %rcx
js 0x323428
subq 0x20(%rax), %rcx
movq %rcx, %rax
movq %rcx, 0x80(%rsp)
notq %rax
shrq $0x3f, %rax
addq %rax, %r13
movq 0x48(%rsp), %rax
cmpq $0x40, %rax
adcq $0x0, %rax
movq %rax, 0x48(%rsp)
shrq 0x58(%rsp)
jmp 0x323449
movq 0x60(%rsp), %r11
movq %r14, %r10
incq 0x18(%rsp)
incq %r10
decq %r15
decq %rbx
jne 0x3232ec
movl %r9d, 0x10(%rsp)
movq %r10, %r12
movq %rbp, %r14
jmp 0x323922
movq 0xf0(%rsp), %rcx
testq %rcx, %rcx
movq 0x40(%rsp), %rdi
je 0x32392c
movq %r13, 0xa8(%rsp)
movq 0x18(%rsp), %r13
leaq (%rcx,%r13), %rax
movq %rax, 0x98(%rsp)
movq 0x78(%rsp), %rax
addq %r10, %rax
movq %rax, 0x10(%rsp)
xorl %ebx, %ebx
movq %rbp, %r15
movq %r10, %r12
movq %rcx, 0x100(%rsp)
leaq (%rbx,%rbp), %r14
leaq (%r10,%rbx), %rdx
movq 0x40(%rdi), %rcx
cmpq %rcx, %r14
jae 0x32393e
movq 0x50(%rdi), %rax
cmpq %rax, %rdx
jae 0x323953
cmpb $0x0, 0xf(%rsp)
je 0x3234f8
movq 0x28(%rdi), %rcx
addq %rbp, %rcx
addq %rbx, %rcx
movq 0x30(%rdi), %rax
addq %r10, %rax
addq %rbx, %rax
jmp 0x323512
movq %r15, %rdx
notq %rdx
addq 0x28(%rdi), %rcx
addq %rdx, %rcx
movq %r12, %rdx
notq %rdx
addq 0x30(%rdi), %rax
addq %rdx, %rax
movb (%rax), %al
movb (%rcx), %cl
cmpq $0x0, 0x70(%rsp)
movq 0x60(%rsp), %r11
movq %r12, 0xb8(%rsp)
je 0x323538
cmpb $-0x3, %cl
jbe 0x32353c
xorl %edx, %edx
movb 0xe(%rsp), %cl
jmp 0x32355f
movb $0x1, %dl
jmp 0x32358d
cmpb $0x0, 0xd(%rsp)
je 0x323552
cmpb $0x4, %cl
jae 0x323c83
movb $0x3, %dl
subb %cl, %dl
movl %edx, %ecx
movzbl %cl, %ecx
movq 0x70(%rsp), %rdx
movb (%rdx,%rcx), %cl
movb $0x1, %dl
cmpb $-0x3, %al
jbe 0x32356b
xorl %edx, %edx
movb 0xe(%rsp), %al
jmp 0x32358d
cmpb $0x0, 0xd(%rsp)
je 0x323582
cmpb $0x4, %al
jae 0x323c88
movb $0x3, %sil
subb %al, %sil
movl %esi, %eax
movzbl %al, %eax
movq 0x70(%rsp), %rsi
movb (%rsi,%rax), %al
movl %r9d, %esi
movq 0x30(%rsp), %r8
movb %cl, (%r8,%rsi)
xorl %r12d, %r12d
cmpb %al, %cl
sete %r12b
movzbl %dl, %ecx
testb %cl, %cl
cmovel %ecx, %r12d
movq 0xb0(%rsp), %rcx
movb %al, (%rcx,%rsi)
cmpb $0x1, %r12b
jne 0x32360c
movq 0x60(%rdi), %rax
cmpq %r14, %rax
ja 0x323613
addq 0x68(%rdi), %rax
cmpq %rax, %r14
jae 0x323613
cmpb $0x0, 0x5a(%rdi)
movl $0x2b, %eax
jne 0x3235de
movl $0x7c, %eax
movq 0x18(%rsp), %rcx
addq %rbx, %rcx
movb %al, (%r11,%rsi)
movq 0xa0(%rsp), %rax
cmpq $-0x1, %rax
movq %rcx, 0x90(%rsp)
cmoveq %rcx, %rax
movq %rax, 0xa0(%rsp)
jmp 0x323618
movb $0x20, (%r11,%rsi)
jmp 0x323618
movb $0x7c, (%r11,%rsi)
movq 0x28(%rsp), %rax
movl 0x20(%rax), %r8d
leaq (%rbx,%rbp), %r14
movq 0x38(%rdi), %rax
addq %r14, %rax
movq 0x10(%rsp), %rcx
leaq (%rcx,%rbx), %r10
movq 0xc8(%rsp), %rdi
movl 0x38(%rsp), %esi
movl 0x3c(%rsp), %edx
movl %r9d, %ecx
movq 0x30(%rsp), %r9
pushq 0x20(%rsp)
pushq %r10
pushq 0x60(%rsp)
pushq 0xc8(%rsp)
pushq %r11
pushq %rax
pushq 0x98(%rsp)
pushq 0x108(%rsp)
callq 0x323d17
movq 0x80(%rsp), %rdi
addq $0x40, %rsp
movl %eax, %r9d
testl %eax, %eax
jne 0x3236a6
movq 0x38(%rdi), %rax
addq %r14, %rax
incq %rax
movq %rax, 0x68(%rsp)
movq 0x10(%rsp), %rax
addq %rbx, %rax
incq %rax
movq %rax, 0x50(%rsp)
movq 0x88(%rdi), %rax
testq %rax, %rax
movq 0xc0(%rsp), %r10
movq 0x100(%rsp), %rsi
je 0x32373b
cmpq $0x3f, 0xa8(%rsp)
movq 0x80(%rsp), %rdx
ja 0x3236ea
testq %rdx, %rdx
movq 0x58(%rsp), %rcx
js 0x323707
testb %r12b, %r12b
je 0x3236f1
addq 0x28(%rax), %rdx
jmp 0x3236f5
movq 0x58(%rsp), %rcx
jmp 0x323707
subq 0x20(%rax), %rdx
movq %rdx, %rax
notq %rax
shrq $0x3f, %rax
addq %rax, 0xa8(%rsp)
movq %rdx, 0x80(%rsp)
movq 0x48(%rsp), %rax
cmpq $0x40, %rax
adcq $0x0, %rax
movq %rax, 0x48(%rsp)
movq 0xd8(%rsp), %rax
testb %r12b, %r12b
jne 0x323730
xorl %eax, %eax
shrq %rcx
orq %rax, %rcx
movq %rcx, 0x58(%rsp)
movq 0xb8(%rsp), %r12
incq %r13
incq %r15
incq %r12
incq %rbx
cmpq %rbx, %rsi
jne 0x3234b9
movl %r9d, 0x10(%rsp)
addq %rbx, %rbp
movq %rbp, %r14
movq 0xa8(%rsp), %r13
jmp 0x323922
movq 0xf0(%rsp), %rbx
testq %rbx, %rbx
je 0x32392c
movq %r13, %r12
movq 0x78(%rsp), %rax
leaq (%r10,%rax), %r14
addq %r10, %rax
incq %rax
movq %rax, 0xb8(%rsp)
movq 0x18(%rsp), %rax
addq %rbx, %rax
movq %rax, 0x98(%rsp)
movq %rbp, %r13
notq %r13
movq 0x40(%rsp), %rdx
movq 0x40(%rdx), %rax
cmpq %rax, %rbp
jae 0x323968
addq %r13, %rax
cmpb $0x0, 0xf(%rsp)
cmovneq %rbp, %rax
movq 0x28(%rdx), %rcx
movb (%rcx,%rax), %al
cmpq $0x0, 0x70(%rsp)
je 0x32380d
movb 0xe(%rsp), %cl
cmpb $-0x3, %al
movq 0x60(%rsp), %r10
ja 0x323814
cmpb $0x0, 0xd(%rsp)
je 0x323800
cmpb $0x4, %al
jae 0x323c92
movb $0x3, %cl
subb %al, %cl
movl %ecx, %eax
movzbl %al, %eax
movq 0x70(%rsp), %rcx
movb (%rcx,%rax), %cl
jmp 0x323814
movl %eax, %ecx
movq 0x60(%rsp), %r10
movl %r9d, %eax
movl %r9d, %r15d
movq 0x30(%rsp), %r9
movb %cl, (%r9,%rax)
movb $0x20, (%r10,%rax)
movq 0xb0(%rsp), %r11
movb $0x2d, (%r11,%rax)
movq 0x28(%rsp), %rax
movl 0x20(%rax), %r8d
movq 0x38(%rdx), %rax
addq %rbp, %rax
movq 0xc8(%rsp), %rdi
movl 0x38(%rsp), %esi
movl 0x3c(%rsp), %edx
movl %r15d, %ecx
pushq 0x20(%rsp)
pushq %r14
pushq 0x60(%rsp)
pushq %r11
pushq %r10
pushq %rax
pushq 0x98(%rsp)
pushq 0x108(%rsp)
callq 0x323d17
movq 0x80(%rsp), %rdx
addq $0x40, %rsp
movl %eax, %r9d
testl %eax, %eax
jne 0x3238a9
movq 0x38(%rdx), %rax
addq %rbp, %rax
incq %rax
movq %rax, 0x68(%rsp)
movq 0xb8(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x88(%rdx), %rax
testq %rax, %rax
movq 0xc0(%rsp), %r10
je 0x323900
cmpq $0x3f, %r12
ja 0x3238e9
movq 0x80(%rsp), %rcx
testq %rcx, %rcx
js 0x3238e9
subq 0x20(%rax), %rcx
movq %rcx, %rax
movq %rcx, 0x80(%rsp)
notq %rax
shrq $0x3f, %rax
addq %rax, %r12
movq 0x48(%rsp), %rax
cmpq $0x40, %rax
adcq $0x0, %rax
movq %rax, 0x48(%rsp)
shrq 0x58(%rsp)
incq 0x18(%rsp)
incq %rbp
decq %r13
decq %rbx
jne 0x3237b6
movl %r9d, 0x10(%rsp)
movq %rbp, %r14
movq %r12, %r13
movq %r10, %r12
movq 0x98(%rsp), %rbx
jmp 0x32398d
movl %r9d, 0x10(%rsp)
movq 0x18(%rsp), %rbx
movq %r10, %r12
movq %rbp, %r14
jmp 0x323992
movl %r9d, 0x10(%rsp)
movq 0x18(%rsp), %rax
addq %rbx, %rax
movq %rax, %rbx
movq %rdx, %r12
jmp 0x32395e
movl %r9d, 0x10(%rsp)
movq %r13, %rbx
movq %r15, %r14
movq 0xa8(%rsp), %r13
jmp 0x32398d
movl %r9d, 0x10(%rsp)
movq 0x18(%rsp), %rbx
movq %rbp, %r14
movq %r12, %r13
movq %r10, %r12
jmp 0x32398d
movl %r9d, 0x10(%rsp)
movq 0x18(%rsp), %rbx
movq %r10, %r12
movq %rbp, %r14
movq 0x28(%rsp), %r15
leaq 0xe8(%rsp), %rdi
movq %r15, %rsi
movl 0xe4(%rsp), %edx
callq 0x3223d2
movq %r14, %rbp
movq %r12, %r10
movq %rbx, 0x18(%rsp)
testb %al, %al
movl 0x10(%rsp), %r9d
jne 0x323283
jmp 0x323a05
xorl %ebx, %ebx
movq $-0x1, 0xa0(%rsp)
xorl %r12d, %r12d
xorl %r14d, %r14d
movq 0x78(%rsp), %rax
movq %rax, 0x50(%rsp)
movq $0x0, 0x58(%rsp)
movq $0x0, 0x48(%rsp)
xorl %r13d, %r13d
movq $-0x1, 0x90(%rsp)
xorl %r9d, %r9d
movq %rbx, %r15
testl %r9d, %r9d
movq 0x40(%rsp), %rbx
movq 0x60(%rsp), %r11
je 0x323a84
movq 0x40(%rbx), %rax
decq %rax
cmpq %rax, %r14
cmovbq %r14, %rax
movq 0x50(%rbx), %r10
addq 0x38(%rbx), %rax
decq %r10
cmpq %r10, %r12
cmovbq %r12, %r10
addq 0x78(%rsp), %r10
subq $0x8, %rsp
movq 0xd0(%rsp), %rdi
movl 0x40(%rsp), %esi
movl 0x44(%rsp), %edx
movl %r9d, %ecx
movq 0x38(%rsp), %r8
movq 0xd8(%rsp), %r9
pushq 0x28(%rsp)
pushq %r10
pushq 0x68(%rsp)
pushq 0xd0(%rsp)
pushq %r11
pushq %rax
pushq 0xa0(%rsp)
callq 0x323d76
addq $0x40, %rsp
movq 0x88(%rbx), %rax
testq %rax, %rax
movq 0xd8(%rsp), %r8
je 0x323c0f
cmpb $0x1, 0x59(%rbx)
jne 0x323c0f
movq 0x48(%rsp), %r11
testq %r11, %r11
je 0x323aee
xorl %ecx, %ecx
xorl %r10d, %r10d
movq 0x90(%rsp), %rdi
movq %r15, %r9
movq 0x58(%rsp), %rbx
testq %rbx, %r8
je 0x323ad0
movq 0x28(%rax), %rdx
jmp 0x323ad9
movq 0x20(%rax), %rsi
xorl %edx, %edx
subq %rsi, %rdx
addq %rdx, %rcx
js 0x323afc
shrq %r8
incq %r10
cmpq %r10, %r11
jne 0x323ac5
movq %r11, %r10
jmp 0x323afc
xorl %r10d, %r10d
movq 0x90(%rsp), %rdi
movq %r15, %r9
cmpq %r9, %r13
ja 0x323ca6
movq 0x88(%rsp), %rcx
cmpq %rcx, %r13
setae %bpl
cmpq %r9, %r13
sete %bl
cmpq %rcx, 0xa0(%rsp)
setb %r14b
cmpq %rcx, %r10
jae 0x323b48
cmpq %r15, %r10
je 0x323b48
xorl %edx, %edx
cmpq $-0x1, %rdi
je 0x323b4a
movq 0x88(%rsp), %rcx
addq %rdi, %rcx
cmpq %r15, %rcx
jbe 0x323b4a
movb $0x1, %dl
movl %edx, 0x30(%rsp)
movq 0x28(%rax), %rdx
movq 0x20(%rax), %rax
xorl %ecx, %ecx
subq %rax, %rcx
subq $0x8, %rsp
leaq 0xc8c11(%rip), %rsi     # 0x3ec777
movq 0x28(%rsp), %rdi
movq 0x90(%rsp), %r12
movq %r12, %r8
movq %r13, %r9
xorl %eax, %eax
pushq %r10
callq 0x17ab0
addq $0x10, %rsp
cmpq %r12, 0xa0(%rsp)
jae 0x323bab
leaq 0xc8c08(%rip), %rdi     # 0x3ec79f
movl $0xf, %esi
movl $0x1, %edx
movq 0x20(%rsp), %rcx
callq 0x17fa0
orb %bl, %bpl
movq 0x90(%rsp), %rax
addq 0x88(%rsp), %rax
cmpq %r15, %rax
jbe 0x323bde
leaq 0xc8be5(%rip), %rdi     # 0x3ec7af
movl $0xd, %esi
movl $0x1, %edx
movq 0x20(%rsp), %rcx
callq 0x17fa0
orb %r14b, %bpl
movq 0x40(%rsp), %rax
cmpb $0x1, 0x58(%rax)
jne 0x323c21
movl $0xa, %edi
movq 0x20(%rsp), %rsi
callq 0x17980
testb %bpl, %bpl
je 0x323cab
cmpb $0x0, 0x30(%rsp)
je 0x323cb0
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testb %bpl, %bpl
jne 0x323c41
leaq 0xc8baa(%rip), %rdi     # 0x3ec7d7
movl $0x14, %esi
movl $0x1, %edx
movq 0x20(%rsp), %rcx
callq 0x17fa0
cmpb $0x0, 0x30(%rsp)
jne 0x323c63
leaq 0xc8b9d(%rip), %rdi     # 0x3ec7ec
movl $0x12, %esi
movl $0x1, %edx
movq 0x20(%rsp), %rcx
callq 0x17fa0
movl $0xa, %edi
movq 0x20(%rsp), %rsi
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x17980
callq 0x9405b
callq 0x94094
callq 0x93fe9
callq 0x94022
callq 0x94178
callq 0x93fb0
callq 0x941a8
callq 0x9413f
callq 0x940cd
callq 0x94106