// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x118, %rsp            # imm = 0x118
movb %dil, %al
andb $0x1, %al
movb %al, 0x117(%rsp)
movq %rsi, 0x108(%rsp)
movq %rdx, 0x100(%rsp)
movq %rcx, 0xf8(%rsp)
movq %r8, 0xf0(%rsp)
movq %r9, 0xe8(%rsp)
movq 0xf8(%rsp), %rdi
callq 0x2b0cd0
movq %rax, 0xe0(%rsp)
movq 0xf0(%rsp), %rdi
callq 0x2b0cd0
movq %rax, 0xd8(%rsp)
movq 0xe0(%rsp), %rax
subq 0xd8(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq 0xe0(%rsp), %rax
cmpq 0xd8(%rsp), %rax
jle 0x2f872e
movq 0xe0(%rsp), %rax
movq %rax, 0x28(%rsp)
jmp 0x2f873b
movq 0xd8(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0xc8(%rsp)
xorl %eax, %eax
subq 0xc8(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x100(%rsp), %rax
movq (%rax), %rax
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq 0x20(%rsp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq 0x100(%rsp), %rcx
movslq 0x14(%rcx), %rcx
cqto
idivq %rcx
addq $0x1, %rax
movq %rax, 0xb8(%rsp)
movq $0x0, 0x98(%rsp)
movq 0x100(%rsp), %rax
movl 0x8(%rax), %eax
movq 0x100(%rsp), %rcx
cmpl 0xc(%rcx), %eax
jle 0x2f87db
movq 0x100(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x1c(%rsp)
jmp 0x2f87ea
movq 0x100(%rsp), %rax
movl 0xc(%rax), %eax
movl %eax, 0x1c(%rsp)
movl 0x1c(%rsp), %eax
movq 0x100(%rsp), %rcx
cmpl 0x10(%rcx), %eax
jle 0x2f883d
movq 0x100(%rsp), %rax
movl 0x8(%rax), %eax
movq 0x100(%rsp), %rcx
cmpl 0xc(%rcx), %eax
jle 0x2f8824
movq 0x100(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x18(%rsp)
jmp 0x2f8833
movq 0x100(%rsp), %rax
movl 0xc(%rax), %eax
movl %eax, 0x18(%rsp)
movl 0x18(%rsp), %eax
movl %eax, 0x14(%rsp)
jmp 0x2f884c
movq 0x100(%rsp), %rax
movl 0x10(%rax), %eax
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x8c(%rsp)
movl $0x0, 0x88(%rsp)
movb $0x1, 0x6f(%rsp)
cmpq $0x0, 0xe0(%rsp)
je 0x2f8880
cmpq $0x0, 0xd8(%rsp)
jne 0x2f88b8
movq 0x343719(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x21d782(%rip), %rsi    # 0x516013
leaq 0x29767c(%rip), %rdx    # 0x58ff14
leaq 0x29768c(%rip), %rcx    # 0x58ff2b
leaq 0x29765c(%rip), %r8     # 0x58ff02
movl $0xfe, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f88ba
movq 0x100(%rsp), %rax
movq $0x0, 0x40(%rax)
movq 0x100(%rsp), %rax
movq $0x0, 0x28(%rax)
movb 0x117(%rsp), %al
movq 0xf8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
xorl %ecx, %ecx
movl %ecx, %r8d
andb $0x1, %al
movzbl %al, %edi
movq %r8, %rcx
callq 0x2b0d50
movq %rax, 0xb0(%rsp)
movq 0xb0(%rsp), %rax
cmpq 0xe0(%rsp), %rax
jge 0x2f892f
movq 0xb0(%rsp), %rax
cmpq 0xd8(%rsp), %rax
jl 0x2f8949
movq $0x1, 0xa8(%rsp)
movq $-0x1, 0xa0(%rsp)
jmp 0x2f8961
movq $0x0, 0xa8(%rsp)
movq $0x0, 0xa0(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x78(%rsp)
movb $0x0, 0x80(%rsp)
movq 0x100(%rsp), %rdi
movq 0x78(%rsp), %rcx
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
movzbl 0x80(%rsp), %r8d
callq 0x2f97c0
movq 0xb0(%rsp), %rax
addq 0xb0(%rsp), %rax
movq 0x100(%rsp), %rcx
movq (%rcx), %rcx
movslq (%rcx), %rcx
imulq %rcx, %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x100(%rsp), %rax
imull $0x0, 0x14(%rax), %eax
cltq
subq %rax, %rcx
movq %rcx, 0x70(%rsp)
movq 0x108(%rsp), %rax
movq %rcx, 0x10(%rax)
cmpq $0x0, 0xb0(%rsp)
jge 0x2f8a2c
movq 0x3435a5(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x21d60e(%rip), %rsi    # 0x516013
leaq 0x29753d(%rip), %rdx    # 0x58ff49
leaq 0x297518(%rip), %rcx    # 0x58ff2b
leaq 0x2974e8(%rip), %r8     # 0x58ff02
movl $0x110, %r9d            # imm = 0x110
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f8a2e
movq 0xb0(%rsp), %rcx
movq 0x108(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x108(%rsp), %rax
movq %rcx, (%rax)
movq 0x98(%rsp), %rcx
movq 0x108(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x108(%rsp), %rax
movq $0x0, 0x20(%rax)
jmp 0x2f8a73
movq 0x100(%rsp), %rax
movq 0x40(%rax), %rax
addq $0x0, %rax
movq 0x100(%rsp), %rcx
cmpq 0x38(%rcx), %rax
jb 0x2f8b32
movq $0xa, 0x60(%rsp)
xorl %eax, %eax
cmpq 0x60(%rsp), %rax
jbe 0x2f8adf
movq 0x3434f2(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x21d55b(%rip), %rsi    # 0x516013
leaq 0x2206e8(%rip), %rdx    # 0x5191a7
leaq 0x297465(%rip), %rcx    # 0x58ff2b
leaq 0x297435(%rip), %r8     # 0x58ff02
movl $0x114, %r9d            # imm = 0x114
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f8ae1
movq 0x60(%rsp), %rcx
movq 0x100(%rsp), %rax
addq 0x38(%rax), %rcx
movq %rcx, 0x38(%rax)
movq 0x100(%rsp), %rax
movq 0x30(%rax), %rdi
movq 0x100(%rsp), %rax
movq 0x38(%rax), %rsi
shlq $0x3, %rsi
leaq 0x2973e9(%rip), %rdx    # 0x58ff02
movl $0x114, %ecx            # imm = 0x114
callq 0xe8540
movq %rax, %rcx
movq 0x100(%rsp), %rax
movq %rcx, 0x30(%rax)
jmp 0x2f8b34
movq 0x100(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0x2f8b7b
movq 0x343456(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x21d4bf(%rip), %rsi    # 0x516013
leaq 0x2973f7(%rip), %rdx    # 0x58ff52
leaq 0x2973c9(%rip), %rcx    # 0x58ff2b
leaq 0x297399(%rip), %r8     # 0x58ff02
movl $0x114, %r9d            # imm = 0x114
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f8b7d
jmp 0x2f8b7f
movq 0x70(%rsp), %rdx
movq 0x100(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x100(%rsp), %rsi
movq 0x40(%rsi), %rcx
movq %rcx, %rdi
addq $0x1, %rdi
movq %rdi, 0x40(%rsi)
movq %rdx, (%rax,%rcx,8)
jmp 0x2f8bad
movq 0xa8(%rsp), %rax
cmpq 0xa0(%rsp), %rax
jg 0x2f97ae
movq 0x98(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x98(%rsp)
movq 0xa8(%rsp), %rax
subq $0x1, %rax
movq %rax, 0x90(%rsp)
movq 0x90(%rsp), %rax
movq 0xa0(%rsp), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
jg 0x2f930a
movq 0xc0(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0xa8(%rsp), %rax
cmpq 0x90(%rsp), %rax
jge 0x2f8ce2
movq 0x98(%rsp), %rax
movq 0x100(%rsp), %rcx
movslq 0x10(%rcx), %rcx
subq %rcx, %rax
cmpq $0x0, %rax
jl 0x2f8ce2
movq 0x98(%rsp), %rcx
movq 0x100(%rsp), %rax
movslq 0x10(%rax), %rax
subq %rax, %rcx
xorl %eax, %eax
subq %rcx, %rax
movq 0x90(%rsp), %rcx
subq $0x1, %rcx
cmpq %rcx, %rax
jg 0x2f8ce2
movq 0x90(%rsp), %rax
subq $0x1, %rax
movq 0x98(%rsp), %rcx
movq 0x100(%rsp), %rdx
movslq 0x10(%rdx), %rdx
subq %rdx, %rcx
cmpq %rcx, %rax
jg 0x2f8ce2
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x100(%rsp), %rax
movslq 0x10(%rax), %rax
subq %rax, %rsi
movq 0x90(%rsp), %rdx
subq $0x1, %rdx
callq 0x2f9890
addq $0x1, %rax
movq %rax, 0x58(%rsp)
movb $0x2, 0x80(%rsp)
movq 0xa8(%rsp), %rax
cmpq 0x90(%rsp), %rax
jg 0x2f8de2
movq 0x90(%rsp), %rax
cmpq 0xa0(%rsp), %rax
jg 0x2f8de2
movq 0x98(%rsp), %rax
movq 0x100(%rsp), %rcx
movslq 0x8(%rcx), %rcx
subq %rcx, %rax
cmpq $0x0, %rax
jl 0x2f8de2
movq 0x98(%rsp), %rcx
movq 0x100(%rsp), %rax
movslq 0x8(%rax), %rax
subq %rax, %rcx
xorl %eax, %eax
subq %rcx, %rax
cmpq 0x90(%rsp), %rax
jg 0x2f8de2
movq 0x90(%rsp), %rax
movq 0x98(%rsp), %rcx
movq 0x100(%rsp), %rdx
movslq 0x8(%rdx), %rdx
subq %rdx, %rcx
cmpq %rcx, %rax
jg 0x2f8de2
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x100(%rsp), %rax
movslq 0x8(%rax), %rax
subq %rax, %rsi
movq 0x90(%rsp), %rdx
callq 0x2f9890
addq $0x1, %rax
movq %rax, 0x50(%rsp)
movzbl 0x80(%rsp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x2f8dce
movq 0x50(%rsp), %rax
cmpq 0x58(%rsp), %rax
jle 0x2f8de0
movq 0x50(%rsp), %rax
movq %rax, 0x58(%rsp)
movb $0x1, 0x80(%rsp)
jmp 0x2f8de2
movq 0x90(%rsp), %rax
cmpq 0xa0(%rsp), %rax
jge 0x2f8ed7
movq 0x98(%rsp), %rax
movq 0x100(%rsp), %rcx
movslq 0xc(%rcx), %rcx
subq %rcx, %rax
cmpq $0x0, %rax
jl 0x2f8ed7
movq 0x98(%rsp), %rcx
movq 0x100(%rsp), %rax
movslq 0xc(%rax), %rax
subq %rax, %rcx
xorl %eax, %eax
subq %rcx, %rax
movq 0x90(%rsp), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
jg 0x2f8ed7
movq 0x90(%rsp), %rax
addq $0x1, %rax
movq 0x98(%rsp), %rcx
movq 0x100(%rsp), %rdx
movslq 0xc(%rdx), %rdx
subq %rdx, %rcx
cmpq %rcx, %rax
jg 0x2f8ed7
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x100(%rsp), %rax
movslq 0xc(%rax), %rax
subq %rax, %rsi
movq 0x90(%rsp), %rdx
addq $0x1, %rdx
callq 0x2f9890
movq %rax, 0x50(%rsp)
movzbl 0x80(%rsp), %eax
andl $0x3, %eax
cmpl $0x0, %eax
je 0x2f8ec3
movq 0x50(%rsp), %rax
cmpq 0x58(%rsp), %rax
jle 0x2f8ed5
movq 0x50(%rsp), %rax
movq %rax, 0x58(%rsp)
movb $0x4, 0x80(%rsp)
jmp 0x2f8ed7
cmpq $0x0, 0x58(%rsp)
jge 0x2f8f03
movzbl 0x80(%rsp), %eax
cmpl $0x0, %eax
jne 0x2f8ef1
movb $0x0, 0x6f(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x78(%rsp)
jmp 0x2f92c6
movq 0x58(%rsp), %rax
subq 0x90(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x98(%rsp), %rax
subq 0xb8(%rsp), %rax
movq %rax, 0x40(%rsp)
cmpq $0x0, 0x40(%rsp)
jle 0x2f8fba
movq 0x100(%rsp), %rax
cmpq $0x0, 0x30(%rax)
je 0x2f8fba
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
movq 0x100(%rsp), %rcx
movq (%rcx), %rcx
movslq (%rcx), %rcx
imulq %rcx, %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq 0x98(%rsp), %rcx
movq 0x100(%rsp), %rdx
movslq 0x14(%rdx), %rdx
imulq %rdx, %rcx
subq %rcx, %rax
movq 0x100(%rsp), %rcx
movq 0x30(%rcx), %rcx
movq 0x40(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
subq 0xe8(%rsp), %rcx
cmpq %rcx, %rax
jge 0x2f8fba
movq 0xc0(%rsp), %rax
movq %rax, 0x78(%rsp)
jmp 0x2f92c4
movq 0x90(%rsp), %rax
xorl %ecx, %ecx
subq 0x98(%rsp), %rcx
cmpq %rcx, %rax
jle 0x2f9072
movq 0x90(%rsp), %rax
cmpq 0x98(%rsp), %rax
jge 0x2f9072
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
subq $0x1, %rsi
movq 0x90(%rsp), %rdx
callq 0x2f9890
cmpq 0x58(%rsp), %rax
jge 0x2f9297
movq 0x58(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0xe0(%rsp), %rax
movq 0xd8(%rsp), %rcx
addq 0x90(%rsp), %rcx
cmpq %rcx, %rax
jge 0x2f904c
movq 0xe0(%rsp), %rax
movq %rax, (%rsp)
jmp 0x2f9060
movq 0xd8(%rsp), %rax
addq 0x90(%rsp), %rax
movq %rax, (%rsp)
movq 0x8(%rsp), %rax
movq (%rsp), %rcx
cmpq %rcx, %rax
jg 0x2f9297
movq 0xe0(%rsp), %rax
cmpq 0x58(%rsp), %rax
jle 0x2f9152
movq 0xd8(%rsp), %rax
cmpq 0x48(%rsp), %rax
jle 0x2f9152
jmp 0x2f909a
testb $0x1, 0x117(%rsp)
jne 0x2f9102
movq 0xe0(%rsp), %rax
subq $0x1, %rax
cmpq 0x58(%rsp), %rax
jl 0x2f90ca
movq 0xd8(%rsp), %rax
subq $0x1, %rax
cmpq 0x48(%rsp), %rax
jge 0x2f9102
movq 0x342ecf(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x21cf38(%rip), %rsi    # 0x516013
leaq 0x296e99(%rip), %rdx    # 0x58ff7b
leaq 0x296e42(%rip), %rcx    # 0x58ff2b
leaq 0x296e12(%rip), %r8     # 0x58ff02
movl $0x159, %r9d            # imm = 0x159
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f9104
movb 0x117(%rsp), %al
movq 0xf8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
movq 0x58(%rsp), %rcx
movq 0x48(%rsp), %r8
andb $0x1, %al
movzbl %al, %edi
callq 0x2b0d50
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
addq 0x58(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x38(%rsp), %rax
addq 0x48(%rsp), %rax
movq %rax, 0x48(%rsp)
movb $0x0, 0x6f(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
movq 0x100(%rsp), %rcx
movq (%rcx), %rcx
movslq (%rcx), %rcx
imulq %rcx, %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq 0x98(%rsp), %rcx
movq 0x100(%rsp), %rdx
movslq 0x14(%rdx), %rdx
imulq %rdx, %rcx
subq %rcx, %rax
cmpq 0x70(%rsp), %rax
jle 0x2f9295
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
movq 0x100(%rsp), %rcx
movq (%rcx), %rcx
movslq (%rcx), %rcx
imulq %rcx, %rax
movl $0x2, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x98(%rsp), %rax
movq 0x100(%rsp), %rdx
movslq 0x14(%rdx), %rdx
imulq %rdx, %rax
subq %rax, %rcx
movq %rcx, 0x70(%rsp)
movq 0x108(%rsp), %rax
movq %rcx, 0x10(%rax)
cmpq $0x0, 0x58(%rsp)
jl 0x2f9212
cmpq $0x0, 0x48(%rsp)
jge 0x2f924a
movq 0x342d87(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x21cdf0(%rip), %rsi    # 0x516013
leaq 0x296d8f(%rip), %rdx    # 0x58ffb9
leaq 0x296cfa(%rip), %rcx    # 0x58ff2b
leaq 0x296cca(%rip), %r8     # 0x58ff02
movl $0x162, %r9d            # imm = 0x162
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f924c
movq 0x58(%rsp), %rcx
movq 0x108(%rsp), %rax
movq %rcx, (%rax)
movq 0x48(%rsp), %rcx
movq 0x108(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x98(%rsp), %rcx
movq 0x108(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x90(%rsp), %rcx
movq 0x108(%rsp), %rax
movq %rcx, 0x20(%rax)
jmp 0x2f92c2
movb $0x0, 0x6f(%rsp)
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
subq $0x1, %rsi
movq 0x90(%rsp), %rdx
callq 0x2f9890
movq %rax, 0x78(%rsp)
jmp 0x2f92c4
jmp 0x2f92c6
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x90(%rsp), %rdx
movq 0x78(%rsp), %rcx
movzbl 0x80(%rsp), %r8d
callq 0x2f97c0
movq 0x90(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x90(%rsp)
jmp 0x2f8beb
testb $0x1, 0x6f(%rsp)
je 0x2f9339
movl 0x88(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x88(%rsp)
movl 0x88(%rsp), %eax
cmpl 0x8c(%rsp), %eax
jle 0x2f9337
jmp 0x2f97ae
jmp 0x2f9349
movl $0x0, 0x88(%rsp)
movb $0x1, 0x6f(%rsp)
jmp 0x2f934b
jmp 0x2f934d
movq 0x100(%rsp), %rax
movq 0x40(%rax), %rax
addq $0x0, %rax
movq 0x100(%rsp), %rcx
cmpq 0x38(%rcx), %rax
jb 0x2f940c
movq $0xa, 0x30(%rsp)
xorl %eax, %eax
cmpq 0x30(%rsp), %rax
jbe 0x2f93b9
movq 0x342c18(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x21cc81(%rip), %rsi    # 0x516013
leaq 0x21fe0e(%rip), %rdx    # 0x5191a7
leaq 0x296b8b(%rip), %rcx    # 0x58ff2b
leaq 0x296b5b(%rip), %r8     # 0x58ff02
movl $0x17e, %r9d            # imm = 0x17E
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f93bb
movq 0x30(%rsp), %rcx
movq 0x100(%rsp), %rax
addq 0x38(%rax), %rcx
movq %rcx, 0x38(%rax)
movq 0x100(%rsp), %rax
movq 0x30(%rax), %rdi
movq 0x100(%rsp), %rax
movq 0x38(%rax), %rsi
shlq $0x3, %rsi
leaq 0x296b0f(%rip), %rdx    # 0x58ff02
movl $0x17e, %ecx            # imm = 0x17E
callq 0xe8540
movq %rax, %rcx
movq 0x100(%rsp), %rax
movq %rcx, 0x30(%rax)
jmp 0x2f940e
movq 0x100(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0x2f9455
movq 0x342b7c(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x21cbe5(%rip), %rsi    # 0x516013
leaq 0x296b1d(%rip), %rdx    # 0x58ff52
leaq 0x296aef(%rip), %rcx    # 0x58ff2b
leaq 0x296abf(%rip), %r8     # 0x58ff02
movl $0x17e, %r9d            # imm = 0x17E
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f9457
jmp 0x2f9459
movq 0x70(%rsp), %rdx
movq 0x100(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x100(%rsp), %rsi
movq 0x40(%rsi), %rcx
movq %rcx, %rdi
addq $0x1, %rdi
movq %rdi, 0x40(%rsi)
movq %rdx, (%rax,%rcx,8)
xorl %eax, %eax
subq 0x98(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x90(%rsp), %rax
movq 0xa8(%rsp), %rcx
subq $0x1, %rcx
cmpq %rcx, %rax
jge 0x2f94fe
movq 0xc0(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x90(%rsp), %rdx
movq 0x78(%rsp), %rcx
movzbl 0x80(%rsp), %r8d
callq 0x2f97c0
movq 0x90(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x90(%rsp)
jmp 0x2f9497
movq 0xa0(%rsp), %rax
addq $0x2, %rax
movq %rax, 0x90(%rsp)
movq 0x90(%rsp), %rax
cmpq 0x98(%rsp), %rax
jg 0x2f9572
movq 0xc0(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x90(%rsp), %rdx
movq 0x78(%rsp), %rcx
movzbl 0x80(%rsp), %r8d
callq 0x2f97c0
movq 0x90(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x90(%rsp)
jmp 0x2f9512
xorl %eax, %eax
subq 0x98(%rsp), %rax
cmpq 0xd0(%rsp), %rax
jg 0x2f95c4
movq 0xd0(%rsp), %rax
cmpq 0x98(%rsp), %rax
jg 0x2f95c4
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0xd0(%rsp), %rdx
callq 0x2f9890
cmpq 0xe0(%rsp), %rax
jne 0x2f95c4
jmp 0x2f97ae
movq 0xa8(%rsp), %rax
subq $0x1, %rax
movq %rax, 0x90(%rsp)
movq 0x90(%rsp), %rax
movq 0xa0(%rsp), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
jg 0x2f9642
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x90(%rsp), %rdx
callq 0x2f9890
cmpq 0xc0(%rsp), %rax
jle 0x2f962a
movq 0x90(%rsp), %rax
movq %rax, 0xa8(%rsp)
jmp 0x2f9642
jmp 0x2f962c
movq 0x90(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x90(%rsp)
jmp 0x2f95d8
movq 0xa0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x90(%rsp)
movq 0x90(%rsp), %rax
movq 0xa8(%rsp), %rcx
subq $0x1, %rcx
cmpq %rcx, %rax
jl 0x2f96c0
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x90(%rsp), %rdx
callq 0x2f9890
cmpq 0xc0(%rsp), %rax
jle 0x2f96a8
movq 0x90(%rsp), %rax
movq %rax, 0xa0(%rsp)
jmp 0x2f96c0
jmp 0x2f96aa
movq 0x90(%rsp), %rax
addq $-0x1, %rax
movq %rax, 0x90(%rsp)
jmp 0x2f9656
movq $0x0, 0x90(%rsp)
movq 0x90(%rsp), %rax
cmpq 0xa8(%rsp), %rax
jl 0x2f973a
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x90(%rsp), %rdx
callq 0x2f9890
movq 0xd8(%rsp), %rcx
addq 0x90(%rsp), %rcx
cmpq %rcx, %rax
jne 0x2f9722
movq 0x90(%rsp), %rax
movq %rax, 0xa8(%rsp)
jmp 0x2f973a
jmp 0x2f9724
movq 0x90(%rsp), %rax
addq $-0x1, %rax
movq %rax, 0x90(%rsp)
jmp 0x2f96cc
movq $0x0, 0x90(%rsp)
movq 0x90(%rsp), %rax
cmpq 0xa0(%rsp), %rax
jg 0x2f97a9
movq 0x100(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x90(%rsp), %rdx
callq 0x2f9890
cmpq 0xe0(%rsp), %rax
jne 0x2f9791
movq 0x90(%rsp), %rax
movq %rax, 0xa0(%rsp)
jmp 0x2f97a9
jmp 0x2f9793
movq 0x90(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x90(%rsp)
jmp 0x2f9746
jmp 0x2f8bad
addq $0x118, %rsp            # imm = 0x118
retq
nopw %cs:(%rax,%rax)