// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/xdrop.c
// Function: gt_evalxdroparbitscoresextend
void gt_evalxdroparbitscoresextend(bool forward,
                                   GtXdropbest *xdropbest,
                                   GtXdropresources *res,
                                   const GtSeqabstract *useq,
                                   const GtSeqabstract *vseq,
                                   GtXdropscore xdropbelowscore)
{
  const GtWord ulen = (GtWord) gt_seqabstract_length(useq),
               vlen = (GtWord) gt_seqabstract_length(vseq),
               end_k =
                 (GtWord) ulen - vlen, /* diagonal of endpoint (ulen, vlen) */
               integermax = (GtWord) GT_MAX(ulen, vlen),
               integermin = -integermax,
               dback = GT_XDROP_SETDBACK(xdropbelowscore);
  GtWord idx,
         lbound,    /* diagonal lower bound */
         ubound,    /* diagonal upper bound */
         currd = 0, /* distance */
         k;         /* lbound - 1 <= k <= ubound + 1*/
  /*The following function calculates the maximal allowed number of
    generations with all front values equal minus infinity.*/
  const int allowedMININFINITYINTgenerations = GT_MAX(
                                               GT_MAX(res->arbitdistances.mis,
                                                      res->arbitdistances.ins),
                                                   res->arbitdistances.del) - 1;
  int currentMININFINITYINTgeneration = 0;
  GtXdropfrontvalue tmpfront;
  GtXdropscore bigt_tmp;        /* best score T' seen already */
  bool alwaysMININFINITYINT = true;

  gt_assert(ulen != 0 && vlen != 0);
  res->big_t.nextfreeGtXdropscore = 0;
  res->fronts.nextfreeGtXdropfrontvalue = 0;
  /* phase 0 */
  idx =  (GtWord) gt_seqabstract_lcp(forward, useq, vseq,0,0);
  /* alignment already finished */
  if (idx >= ulen || idx >= vlen) {
    lbound =  1L;
    ubound = -1L;
  }
  else {
    lbound = 0;
    ubound = 0;
  }
  tmpfront.row = (GtWord) idx;
  tmpfront.direction = (GtUchar) 0;   /* no predecessor */
  gt_xdrop_frontvalue_set(res,0,0,tmpfront);
  xdropbest->score = bigt_tmp = GT_XDROP_EVAL(idx + idx, 0);
  gt_assert(idx >= 0);
  xdropbest->ivalue = xdropbest->jvalue = (GtUword) idx;
  xdropbest->best_d = currd;
  xdropbest->best_k = 0;
  GT_STOREINARRAY (&res->big_t, GtXdropscore, 10, bigt_tmp);

  /* phase d > 0 */
  while (lbound <= ubound) {
    currd++;
    /* calculate fronts */
    for (k = lbound - 1; k <= ubound + 1; k++) {
      GtWord i = integermin, row;
      /* case 1 : DELETION-EDGE  */
      if (lbound < k &&
          currd - res->arbitdistances.del >= 0 &&
          -(currd - res->arbitdistances.del) <= k - 1 &&
          k - 1 <= currd - res->arbitdistances.del) {
        i = gt_xdrop_frontvalue_get(res, currd - res->arbitdistances.del, k-1)
            + 1;
        tmpfront.direction = GT_XDROP_DELETIONBIT;
      }
      /* case 2: REPLACEMENT-EDGE */
      if (lbound <= k &&
          k <= ubound &&
          currd - res->arbitdistances.mis >= 0 &&
          -(currd - res->arbitdistances.mis) <= k &&
          k <= currd - res->arbitdistances.mis) {
        row = gt_xdrop_frontvalue_get(res, currd - res->arbitdistances.mis, k)
              + 1;
        /* test, if case 1 has happened. */
        if (!(tmpfront.direction & GT_XDROP_DELETIONBIT) || row > i) {
          i = row;
          tmpfront.direction = GT_XDROP_REPLACEMENTBIT;
        }
      }
      /* case 3: INSERTION-EDGE */
      if (k < ubound &&
          currd - res->arbitdistances.ins >= 0 &&
          -(currd - res->arbitdistances.ins) <= k + 1 &&
           k + 1 <= currd - res->arbitdistances.ins) {
        row =
          gt_xdrop_frontvalue_get(res, currd - res->arbitdistances.ins, k+1);
        if (!(tmpfront.direction & (GT_XDROP_DELETIONBIT |
                                    GT_XDROP_REPLACEMENTBIT)) || row > i) {
          i = row;
          tmpfront.direction = GT_XDROP_INSERTIONBIT;
        }
      }
      /* if i = GT_MINUSINFINITYINY or GT_MINUSINFINITYINY + 1 */
      if (i < 0) {
        if (tmpfront.direction == (GtUchar) 0)
          alwaysMININFINITYINT = false;

        tmpfront.row = integermin;
      }
      else {
        GtWord j = i - k;
        const GtWord previousd = currd - dback;

        /* alignment score smaller than T - X */
        if (previousd > 0 &&
            res->big_t.spaceGtXdropscore != NULL &&
            GT_XDROP_EVAL (i + j, currd) <
            res->big_t.spaceGtXdropscore[previousd] - xdropbelowscore) {
          tmpfront.row = integermin;
        }
        else {
          if (k <= -currd || k >= currd ||
              (gt_xdrop_frontvalue_get(res, currd-1, k) < i &&
               i <= GT_MIN(ulen, vlen + k))) {
            if (ulen > i && vlen > j) {
              GtUword lcp;
              gt_assert(forward || (ulen - 1 >= (GtWord) i &&
                                    vlen - 1 >= (GtWord) j));
              lcp = gt_seqabstract_lcp(forward, useq, vseq,i,j);
              i += lcp;
              j += lcp;
            }
            alwaysMININFINITYINT = false;
            tmpfront.row = i;
            if (GT_XDROP_EVAL(i + j, currd) > bigt_tmp) {
              xdropbest->score = bigt_tmp = GT_XDROP_EVAL(i + j, currd);
              gt_assert(i >= 0 && j >= 0);
              xdropbest->ivalue = (GtUword) i;
              xdropbest->jvalue = (GtUword) j;
              xdropbest->best_d = currd;
              xdropbest->best_k = k;
            }
          }
          else {
            alwaysMININFINITYINT = false;
            tmpfront.row = gt_xdrop_frontvalue_get(res,currd-1,k);
          }
        }
      }
      gt_xdrop_frontvalue_set(res, currd, k, tmpfront);
    }
    /* if all front values are integermin, alignment prematurely finished if
       allowedMININFINITYINTgenerations exceeded (full front has already ended
       at currd - currentMININFINITYINTgeneration). */
    if (alwaysMININFINITYINT) {
      currentMININFINITYINTgeneration++;
      if (currentMININFINITYINTgeneration > allowedMININFINITYINTgenerations)
        break;

    }
    else {
      currentMININFINITYINTgeneration = 0;
      alwaysMININFINITYINT = true;
    }
    GT_STOREINARRAY (&res->big_t, GtXdropscore, 10, bigt_tmp);
    /* fill out of bounds values of integermin
       needed for gt_showfrontvalues function */
    for (k = -currd; k < lbound - 1; k++) {
      tmpfront.row = integermin;
      gt_xdrop_frontvalue_set(res,currd,k,tmpfront);
    }
    for (k = ubound + 2; k <= currd; k++) {
      tmpfront.row = integermin;
      gt_xdrop_frontvalue_set(res,currd,k,tmpfront);
    }
    /* alignment finished */
    if (-currd <= end_k && end_k <= currd &&
        gt_xdrop_frontvalue_get(res,currd,end_k) == ulen)
      break;

    /* pruning lower bound
       lbound may decrease by one or increase/stays the same
       l <- min{k:R(d,k) > -inf} */
    for (k = lbound - 1; k <= ubound + 1; k++) {
      if (gt_xdrop_frontvalue_get(res,currd,k) > integermin) {
        lbound = k;
        break;
      }
    }
    /* pruning upper bound
       ubound may increase by one or decrease/stays the same
       u <- max{k:R(d,k) > -inf} */
    for (k = ubound + 1; k >= lbound - 1; k--) {
      if (gt_xdrop_frontvalue_get(res,currd,k) > integermin) {
        ubound = k;
        break;
      }
    }
    /* handling boundaries lower bound */
    for (k = 0; k >= lbound; k--) {
      if (gt_xdrop_frontvalue_get(res,currd,k) == vlen + k) {
        lbound = k;
        break;
      }
    }
    /* handling boundaries upper bound */
    for (k = 0; k <= ubound; k++) {
      if (gt_xdrop_frontvalue_get(res,currd,k) == ulen) {
        ubound = k;
        break;
      }
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %r9, %r14
movq %r8, %r15
movq %rdx, %r12
movq %rsi, 0xa0(%rsp)
movl %edi, %ebx
movq %rcx, 0xa8(%rsp)
movq %rcx, %rdi
callq 0x1e2a08
movq %rax, %r13
movq %r15, 0xb0(%rsp)
movq %r15, %rdi
callq 0x1e2a08
movq %rax, %rsi
movq %r13, %rax
subq %rsi, %rax
movq %rax, 0x88(%rsp)
movq %rsi, %rax
cmovgq %r13, %rax
movq %rax, 0x18(%rsp)
movq (%r12), %rax
movl (%rax), %eax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movslq %ecx, %rax
movq %r14, 0xf0(%rsp)
addq %r14, %rax
movslq 0x14(%r12), %rcx
cqto
idivq %rcx
movq %rax, 0xd0(%rsp)
movl 0x8(%r12), %eax
movl 0xc(%r12), %ecx
cmpl %ecx, %eax
cmovgl %eax, %ecx
movq %r12, 0x8(%rsp)
movl 0x10(%r12), %eax
cmpl %eax, %ecx
cmovlel %eax, %ecx
movl %ecx, 0x24(%rsp)
testq %r13, %r13
je 0x203e5b
testq %rsi, %rsi
je 0x203e5b
movq %rsi, %r14
xorl %r15d, %r15d
movq 0x8(%rsp), %r12
movq %r15, 0x40(%r12)
movq %r15, 0x28(%r12)
movzbl %bl, %edi
movl %edi, 0x74(%rsp)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x1e2a2e
movq %rax, %rbx
movq %r13, 0x58(%rsp)
cmpq %r13, %rax
setge %bpl
movq %r14, 0x50(%rsp)
cmpq %r14, %rax
setge %r14b
movq 0x18(%r12), %rax
cmpq %r15, 0x20(%r12)
jne 0x203684
movq 0x8(%rsp), %r15
movq $0x20, 0x20(%r15)
leaq 0x1b9730(%rip), %rdx    # 0x3bcd9e
movl $0x200, %esi            # imm = 0x200
movq %rax, %rdi
movl $0xda, %ecx
callq 0x104461
movq %rax, 0x18(%r15)
movq 0x18(%rsp), %r15
movq %rbx, (%rax)
movb $0x0, 0x8(%rax)
movq 0x8(%rsp), %rax
movq $0x1, 0x28(%rax)
movq (%rax), %rax
movslq (%rax), %rcx
imulq %rbx, %rcx
addq %rcx, %rcx
sarq %rcx
movq 0xa0(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq %rcx, 0x10(%rax)
testq %rbx, %rbx
js 0x203e60
movq %rbx, 0x8(%rax)
movq %rbx, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rax)
movq 0x8(%rsp), %rcx
movq 0x38(%rcx), %rax
cmpq %rax, 0x40(%rcx)
jae 0x2036ef
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
jmp 0x20371d
leaq 0xa(%rax), %rcx
movq 0x8(%rsp), %rbx
movq %rcx, 0x38(%rbx)
movq 0x30(%rbx), %rdi
leaq 0x50(,%rax,8), %rsi
leaq 0x1b968f(%rip), %rdx    # 0x3bcd9e
movl $0x114, %ecx            # imm = 0x114
callq 0x104461
movq %rax, 0x30(%rbx)
testq %rax, %rax
je 0x203e65
orb %r14b, %bpl
movzbl %bpl, %ecx
movq %rcx, %rdx
negq %rdx
movq 0x8(%rsp), %r8
movq 0x40(%r8), %rsi
leaq 0x1(%rsi), %rdi
movq %rdi, 0x40(%r8)
movq 0x28(%rsp), %rdi
movq %rdi, (%rax,%rsi,8)
cmpq %rdx, %rcx
jg 0x203e3f
negq %r15
movq %r15, 0x18(%rsp)
decl 0x24(%rsp)
xorl %r10d, %r10d
movl $0x2, %eax
movq %rax, 0x38(%rsp)
movl $0x1, %eax
movq %rax, 0x30(%rsp)
movq $-0x10, 0xb8(%rsp)
movl $0x40, %eax
movq %rax, 0x90(%rsp)
movl $0x10, %eax
movq %rax, 0x80(%rsp)
movl $0x30, %eax
movq %rax, 0x78(%rsp)
movl $0x20, %eax
movq %rax, 0x98(%rsp)
movl $0x20, %esi
xorl %r8d, %r8d
xorl %ebx, %ebx
xorl %r9d, %r9d
movl $0x0, 0x20(%rsp)
movq %rsi, 0xe0(%rsp)
movq %rbx, %rax
incq %rbx
leaq -0x1(%r10), %r15
leaq 0x1(%r8), %r12
movq %rax, %rcx
notq %rcx
movq %rcx, 0x40(%rsp)
cmpq %r12, %r15
movq %r8, 0x68(%rsp)
movq %r10, 0x60(%rsp)
movq %r15, 0x48(%rsp)
movq %rax, 0xc0(%rsp)
jg 0x203b9b
movq %r12, 0xd8(%rsp)
movl %r9d, %r12d
subq 0xd0(%rsp), %rax
movq %rax, 0xc8(%rsp)
movl $0x1, %ebp
subq %r10, %rbp
movq %r10, %r13
shlq $0x4, %r13
movb $0x1, %al
movl %eax, 0x14(%rsp)
movq %rbx, 0xe8(%rsp)
cmpq %r15, %r10
jge 0x2038aa
movq 0x8(%rsp), %rax
movslq 0x10(%rax), %rax
movq %rbx, %rcx
subq %rax, %rcx
movl %r12d, %r9d
js 0x2038b4
movq %rcx, %rdx
negq %rdx
leaq -0x1(%r15), %rsi
cmpq %rdx, %r15
setle %dl
cmpq %rcx, %rsi
setg %cl
orb %dl, %cl
movq 0x18(%rsp), %r14
jne 0x2038b9
movq 0x38(%rsp), %rcx
subq %rax, %rcx
movq 0x30(%rsp), %rdx
subq %rax, %rdx
imulq %rcx, %rdx
shlq $0x4, %rdx
movq 0x8(%rsp), %rax
addq 0x18(%rax), %rdx
movq -0x20(%r13,%rdx), %r14
incq %r14
movb $0x2, %r9b
jmp 0x2038b9
movq 0x18(%rsp), %r14
movl %r12d, %r9d
jmp 0x2038b9
movq 0x18(%rsp), %r14
cmpq %r15, %r10
jg 0x20392d
cmpq %r8, %r15
jg 0x20392d
movq 0x8(%rsp), %rax
movslq 0x8(%rax), %rax
movq %rbx, %rcx
subq %rax, %rcx
cmpq %rcx, %r15
jg 0x20392d
testq %rcx, %rcx
js 0x20392d
negq %rcx
cmpq %rcx, %r15
jl 0x20392d
movq 0x38(%rsp), %rcx
subq %rax, %rcx
movq 0x30(%rsp), %rdx
subq %rax, %rdx
imulq %rcx, %rdx
shlq $0x4, %rdx
movq 0x8(%rsp), %rax
addq 0x18(%rax), %rdx
movq -0x10(%r13,%rdx), %rax
movzbl %r9b, %ecx
shrb %r9b
cmpq %r14, %rax
setl %dl
testb %dl, %r9b
movl $0x1, %edx
cmovel %edx, %ecx
leaq 0x1(%rax), %rax
cmoveq %rax, %r14
movl %ecx, %r9d
cmpq %r8, %r15
jge 0x2039a3
movq 0x8(%rsp), %rax
movslq 0xc(%rax), %rax
movq %rbx, %rcx
subq %rax, %rcx
js 0x2039a3
movq %rcx, %rdx
negq %rdx
leaq 0x1(%r15), %rsi
cmpq %rdx, %rsi
setl %dl
cmpq %rcx, %r15
setge %cl
orb %dl, %cl
jne 0x2039a3
movq 0x38(%rsp), %rcx
subq %rax, %rcx
movq 0x30(%rsp), %rdx
subq %rax, %rdx
imulq %rcx, %rdx
shlq $0x4, %rdx
movq 0x8(%rsp), %rax
addq 0x18(%rax), %rdx
movq (%r13,%rdx), %rax
testb $0x3, %r9b
sete %cl
cmpq %r14, %rax
setg %dl
orb %cl, %dl
movzbl %r9b, %r9d
movl $0x4, %ecx
cmovnel %ecx, %r9d
cmovneq %rax, %r14
testq %r14, %r14
js 0x203a7f
cmpq $0x0, 0xc8(%rsp)
jle 0x203a10
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x203a10
leaq (,%r14,2), %rcx
addq %rbp, %rcx
movq 0x8(%rsp), %rsi
movq (%rsi), %rdx
movslq (%rdx), %rdx
imulq %rcx, %rdx
movq %rdx, %rcx
shrq $0x3f, %rcx
addq %rdx, %rcx
sarq %rcx
movslq 0x14(%rsi), %rdx
imulq %rbx, %rdx
subq %rdx, %rcx
movq 0xc8(%rsp), %rdx
movq (%rax,%rdx,8), %rax
subq 0xf0(%rsp), %rax
cmpq %rax, %rcx
jl 0x203a8f
cmpq 0x40(%rsp), %r15
setle %al
cmpq 0xc0(%rsp), %r15
setg %cl
orb %al, %cl
je 0x203a99
leaq (%r14,%rbp), %r8
cmpq %r14, 0x58(%rsp)
jle 0x203ad7
cmpq %r8, 0x50(%rsp)
jle 0x203ad7
movq %r14, %r12
subq %r15, %r12
movl 0x74(%rsp), %edi
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
movq %r14, %rcx
movl %r9d, %ebx
callq 0x1e2a2e
movl %ebx, %r9d
movq 0xe8(%rsp), %rbx
addq %rax, %r14
addq %rax, %r12
movq %r14, %rcx
movq %r12, %r8
jmp 0x203ada
testb %r9b, %r9b
setne %al
movl 0x14(%rsp), %ecx
andb %al, %cl
movl %ecx, 0x14(%rsp)
movq 0x18(%rsp), %rcx
jmp 0x203b4a
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rax
addq 0xb8(%rsp), %rax
movq (%r13,%rax), %rcx
cmpq %r14, %rcx
jge 0x203b42
movq 0x50(%rsp), %rax
addq %r15, %rax
movq 0x58(%rsp), %rdx
cmpq %rax, %rdx
cmovlq %rdx, %rax
cmpq %rax, %r14
jle 0x203a27
jmp 0x203b42
movq %r14, %rcx
leaq (%r8,%rcx), %rax
movq 0x8(%rsp), %rsi
movq (%rsi), %rdx
movslq (%rdx), %rdx
imulq %rax, %rdx
movq %rdx, %rax
shrq $0x3f, %rax
addq %rdx, %rax
sarq %rax
movslq 0x14(%rsi), %rdx
imulq %rbx, %rdx
subq %rdx, %rax
cmpq 0x28(%rsp), %rax
jle 0x203b42
movq 0xa0(%rsp), %rsi
movq %rax, 0x10(%rsi)
movq %r8, %rdx
orq %rcx, %rdx
js 0x203e51
movq %rcx, (%rsi)
movq %r8, 0x8(%rsi)
movq %rbx, 0x18(%rsi)
movq %r15, 0x20(%rsi)
movl $0x0, 0x14(%rsp)
movq %rax, 0x28(%rsp)
jmp 0x203b4a
movl $0x0, 0x14(%rsp)
movl %r9d, %r12d
movzbl %r9b, %r8d
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x203e6a
leaq 0x1(%r15), %rax
decq %rbp
addq $0x10, %r13
movq 0x68(%rsp), %r8
cmpq %r8, %r15
movq %rax, %r15
movq 0x60(%rsp), %r10
jle 0x203844
xorl %eax, %eax
testb $0x1, 0x14(%rsp)
movl %r12d, %r9d
movq 0xd8(%rsp), %r12
movq 0x48(%rsp), %r15
je 0x203baf
movl 0x20(%rsp), %eax
cmpl 0x24(%rsp), %eax
jge 0x203e3f
movl 0x20(%rsp), %eax
incl %eax
movl %eax, 0x20(%rsp)
movq 0x8(%rsp), %rcx
movq 0x38(%rcx), %rax
cmpq %rax, 0x40(%rcx)
jae 0x203bcd
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
jmp 0x203c0c
leaq 0xa(%rax), %rcx
movq 0x8(%rsp), %r14
movq %rcx, 0x38(%r14)
movq 0x30(%r14), %rdi
leaq 0x50(,%rax,8), %rsi
leaq 0x1b91b1(%rip), %rdx    # 0x3bcd9e
movl $0x17e, %ecx            # imm = 0x17E
movq %rbx, %r15
movl %r9d, %ebx
callq 0x104461
movl %ebx, %r9d
movq %r15, %rbx
movq 0x48(%rsp), %r15
movq %rax, 0x30(%r14)
testq %rax, %rax
je 0x203e56
movq 0x8(%rsp), %rsi
movq 0x40(%rsi), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x40(%rsi)
movq 0x28(%rsp), %rdx
movq %rdx, (%rax,%rcx,8)
movl %r9d, 0x14(%rsp)
movzbl %r9b, %r14d
cmpq 0x40(%rsp), %r15
movq 0x18(%rsp), %rbp
jle 0x203c77
movq 0x60(%rsp), %r13
negq %r13
movq 0x40(%rsp), %r15
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %rbp, %rcx
movl %r14d, %r8d
callq 0x203e6a
leaq (%r15,%r13), %rax
incq %rax
incq %r15
cmpq $-0x1, %rax
jne 0x203c51
movq 0x68(%rsp), %rax
addq $0x2, %rax
cmpq %rbx, %rax
movq %rbp, %r13
jg 0x203ca9
movq %r12, %r15
incq %r15
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r13, %rcx
movl %r14d, %r8d
callq 0x203e6a
cmpq %rbx, %r15
jl 0x203c8b
movq 0x88(%rsp), %rcx
cmpq 0x40(%rsp), %rcx
setl %al
cmpq %rbx, %rcx
setg %cl
orb %al, %cl
movq 0x50(%rsp), %rsi
movq 0x68(%rsp), %r8
movl 0x14(%rsp), %r9d
movq 0x60(%rsp), %rdi
movq 0x48(%rsp), %r10
movq 0x58(%rsp), %r11
jne 0x203d14
movq 0xc0(%rsp), %rcx
addq $0x2, %rcx
imulq %rbx, %rcx
shlq $0x4, %rcx
movq 0x8(%rsp), %rax
addq 0x18(%rax), %rcx
movq 0x88(%rsp), %rax
shlq $0x4, %rax
cmpq %r11, (%rax,%rcx)
je 0x203e3f
cmpq %r12, %r10
jg 0x203d49
movq %rdi, %rcx
shlq $0x4, %rcx
addq 0x80(%rsp), %rcx
movq 0x8(%rsp), %rax
addq 0x18(%rax), %rcx
movq %r10, %rax
cmpq %r13, (%rcx)
jg 0x203d4e
leaq 0x1(%rax), %rdx
addq $0x10, %rcx
cmpq %r8, %rax
movq %rdx, %rax
jle 0x203d34
movq %rdi, %rax
jmp 0x203d52
leaq -0x1(%rax), %r10
cmpq %r10, %r12
jl 0x203d87
movq %r8, %rcx
shlq $0x4, %rcx
addq 0x78(%rsp), %rcx
movq 0x8(%rsp), %rdx
addq 0x18(%rdx), %rcx
cmpq %r13, (%rcx)
jg 0x203d84
leaq -0x1(%r12), %rdx
addq $-0x10, %rcx
cmpq %rax, %r12
movq %rdx, %r12
jge 0x203d6c
jmp 0x203d87
movq %r12, %r8
testq %rax, %rax
movq 0x98(%rsp), %rdi
jg 0x203dbc
movq 0x8(%rsp), %rcx
movq 0x18(%rcx), %rcx
addq %rdi, %rcx
xorl %r10d, %r10d
leaq (%rsi,%r10), %rdx
cmpq (%rcx), %rdx
je 0x203dbf
leaq -0x1(%r10), %rdx
addq $-0x10, %rcx
cmpq %rax, %r10
movq %rdx, %r10
jg 0x203da3
movq %rax, %r10
testq %r8, %r8
movq 0xe0(%rsp), %rsi
js 0x203df4
leaq 0x1(%r8), %rax
movq 0x8(%rsp), %rcx
movq 0x18(%rcx), %rcx
addq %rdi, %rcx
xorl %edx, %edx
cmpq %r11, (%rcx)
je 0x203df1
incq %rdx
addq $0x10, %rcx
cmpq %rdx, %rax
jne 0x203dde
jmp 0x203df4
movq %rdx, %r8
incq 0x38(%rsp)
incq 0x30(%rsp)
addq %rsi, 0xb8(%rsp)
addq $0x20, %rsi
movq 0x90(%rsp), %rax
addq %rax, 0x80(%rsp)
addq %rax, 0x78(%rsp)
addq %rax, %rdi
movq %rdi, 0x98(%rsp)
addq $0x20, %rax
movq %rax, 0x90(%rsp)
cmpq %r8, %r10
jle 0x2037cb
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x7fcd4
callq 0x7fd0d
callq 0x7fc62
callq 0x7fc9b
callq 0x7fd46