// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/diagonalbandalign_affinegapcost.c
// Function: diagonalband_linear_affine
static GtWord diagonalband_linear_affine(const GtUchar *useq,
                                          GtUword ustart,
                                          GtUword ulen,
                                          const GtUchar *vseq,
                                          GtUword vstart,
                                          GtUword vlen,
                                          GtWord left_dist,
                                          GtWord right_dist,
                                          const GtScoreHandler *scorehandler)
{
  GtUword colindex, rowindex, low_row, high_row, width,
          gap_opening, gap_extension;
  GtWord distance, rcost, r_dist, d_dist, i_dist, minvalue;
  GtAffinealignDPentry *Atabcolumn, northwestAffinealignDPentry,
                       westAffinealignDPentry;
  bool last_row = false;
  distance = GT_WORD_MAX;

  if ((left_dist > GT_MIN(0, (GtWord)vlen-(GtWord)ulen))||
      (right_dist < GT_MAX(0, (GtWord)vlen-(GtWord)ulen)))
  {
    gt_assert(false);
  }
  gt_assert(scorehandler);
  gap_opening = gt_scorehandler_get_gap_opening(scorehandler);
  gap_extension = gt_scorehandler_get_gapscore(scorehandler);

  width = right_dist - left_dist + 1;
  Atabcolumn = gt_malloc(sizeof(*Atabcolumn) * width);

  low_row = 0;
  high_row = -left_dist;
  Atabcolumn[low_row].Rvalue = 0;
  Atabcolumn[low_row].Dvalue = gap_opening;
  Atabcolumn[low_row].Ivalue = gap_opening;

  for (rowindex = low_row+1; rowindex <= high_row; rowindex ++)
  {
    Atabcolumn[rowindex-low_row].Rvalue = GT_WORD_MAX;
    Atabcolumn[rowindex-low_row].Dvalue = add_safe_max(
                                          Atabcolumn[rowindex-low_row-1].Dvalue,
                                          gap_extension);
    Atabcolumn[rowindex-low_row].Ivalue = GT_WORD_MAX;
  }
  if (high_row == ulen)
    last_row = true;
  for (colindex = 1; colindex <= vlen; colindex++)
  {
    northwestAffinealignDPentry = Atabcolumn[0];
    if (colindex > right_dist)
    {
      if (low_row != high_row)
        westAffinealignDPentry = Atabcolumn[1];
      low_row++;
    }
    else
      westAffinealignDPentry = Atabcolumn[0];

    if (high_row < ulen)
      high_row ++;
    if (!last_row && rowindex == high_row)
      {
        westAffinealignDPentry.Rvalue = GT_WORD_MAX;
        westAffinealignDPentry.Dvalue = GT_WORD_MAX;
        westAffinealignDPentry.Ivalue = GT_WORD_MAX;
      }

    r_dist = add_safe_max(westAffinealignDPentry.Rvalue,
                          gap_extension+gap_opening);
    d_dist = add_safe_max(westAffinealignDPentry.Dvalue,
                          gap_extension+gap_opening);
    i_dist = add_safe_max(westAffinealignDPentry.Ivalue,gap_extension);
    minvalue = GT_MIN3(r_dist, d_dist, i_dist);
    Atabcolumn[0].Ivalue = minvalue;
    Atabcolumn[0].Rvalue = GT_WORD_MAX;
    Atabcolumn[0].Dvalue = GT_WORD_MAX;

    if (low_row > 0 )
    {
      rcost = gt_scorehandler_get_replacement(scorehandler,
                              useq[ustart+rowindex-1],vseq[vstart+colindex-1]);

      r_dist = add_safe_max(northwestAffinealignDPentry.Rvalue, rcost);
      d_dist = add_safe_max(northwestAffinealignDPentry.Dvalue, rcost);
      i_dist = add_safe_max(northwestAffinealignDPentry.Ivalue, rcost);
      minvalue = GT_MIN3(r_dist, d_dist, i_dist);
      Atabcolumn[0].Rvalue = minvalue;
    }
    for (rowindex = low_row + 1; rowindex <= high_row; rowindex++)
    {
      northwestAffinealignDPentry = westAffinealignDPentry;
      if (!last_row && rowindex == high_row)
      {
        westAffinealignDPentry.Rvalue = GT_WORD_MAX;
        westAffinealignDPentry.Dvalue = GT_WORD_MAX;
        westAffinealignDPentry.Ivalue = GT_WORD_MAX;
      }
      else if (low_row > 0)
        westAffinealignDPentry = Atabcolumn[rowindex-low_row+1];
      else
        westAffinealignDPentry = Atabcolumn[rowindex-low_row];

      if (rowindex == ulen)
        last_row = true;

      r_dist = add_safe_max(westAffinealignDPentry.Rvalue,
                            gap_extension+gap_opening);
      d_dist = add_safe_max(westAffinealignDPentry.Dvalue,
                            gap_extension+gap_opening);
      i_dist = add_safe_max(westAffinealignDPentry.Ivalue,gap_extension);

      minvalue = GT_MIN3(r_dist, d_dist, i_dist);
      Atabcolumn[rowindex-low_row].Ivalue = minvalue;

      rcost = gt_scorehandler_get_replacement(scorehandler,
                              useq[ustart+rowindex-1], vseq[vstart+colindex-1]);

      r_dist = add_safe_max(northwestAffinealignDPentry.Rvalue, rcost);
      d_dist = add_safe_max(northwestAffinealignDPentry.Dvalue, rcost);
      i_dist = add_safe_max(northwestAffinealignDPentry.Ivalue, rcost);

      minvalue = GT_MIN3(r_dist, d_dist, i_dist);
      Atabcolumn[rowindex-low_row].Rvalue = minvalue;

      r_dist = add_safe_max(Atabcolumn[rowindex-low_row-1].Rvalue,
                            gap_extension+gap_opening);
      d_dist = add_safe_max(Atabcolumn[rowindex-low_row-1].Dvalue,
                           gap_extension);
      i_dist = add_safe_max(Atabcolumn[rowindex-low_row-1].Ivalue,
                           gap_extension+gap_opening);

      minvalue = GT_MIN3(r_dist, d_dist, i_dist);
      Atabcolumn[rowindex-low_row].Dvalue = minvalue;
    }
  }

  distance = GT_MIN3(Atabcolumn[high_row-low_row].Rvalue,
                  Atabcolumn[high_row-low_row].Dvalue,
                  Atabcolumn[high_row-low_row].Ivalue);
  gt_free(Atabcolumn);

  return distance;
}

// Assembly:
subq $0x238, %rsp            # imm = 0x238
movq 0x250(%rsp), %rax
movq 0x248(%rsp), %rax
movq 0x240(%rsp), %rax
movq %rdi, 0x230(%rsp)
movq %rsi, 0x228(%rsp)
movq %rdx, 0x220(%rsp)
movq %rcx, 0x218(%rsp)
movq %r8, 0x210(%rsp)
movq %r9, 0x208(%rsp)
movb $0x0, 0x137(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x1c8(%rsp)
movq 0x240(%rsp), %rax
movq %rax, 0x128(%rsp)
movq 0x208(%rsp), %rcx
subq 0x220(%rsp), %rcx
xorl %eax, %eax
cmpq %rcx, %rax
jge 0x153d7c
xorl %eax, %eax
movq %rax, 0x120(%rsp)
jmp 0x153d94
movq 0x208(%rsp), %rax
subq 0x220(%rsp), %rax
movq %rax, 0x120(%rsp)
movq 0x128(%rsp), %rax
movq 0x120(%rsp), %rcx
cmpq %rcx, %rax
jg 0x153e09
movq 0x248(%rsp), %rax
movq %rax, 0x118(%rsp)
movq 0x208(%rsp), %rcx
subq 0x220(%rsp), %rcx
xorl %eax, %eax
cmpq %rcx, %rax
jle 0x153ddc
xorl %eax, %eax
movq %rax, 0x110(%rsp)
jmp 0x153df4
movq 0x208(%rsp), %rax
subq 0x220(%rsp), %rax
movq %rax, 0x110(%rsp)
movq 0x118(%rsp), %rax
movq 0x110(%rsp), %rcx
cmpq %rcx, %rax
jge 0x153e43
jmp 0x153e0b
movq 0x4e818e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3c21f7(%rip), %rsi    # 0x516013
leaq 0x404f40(%rip), %rdx    # 0x558d63
leaq 0x3f996e(%rip), %rcx    # 0x54d798
leaq 0x3f956b(%rip), %r8     # 0x54d39c
movl $0x1cf, %r9d            # imm = 0x1CF
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x153e45
cmpq $0x0, 0x250(%rsp)
jne 0x153e88
movq 0x4e8149(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3c21b2(%rip), %rsi    # 0x516013
leaq 0x40e4eb(%rip), %rdx    # 0x562353
leaq 0x3f9929(%rip), %rcx    # 0x54d798
leaq 0x3f9526(%rip), %r8     # 0x54d39c
movl $0x1d1, %r9d            # imm = 0x1D1
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x153e8a
movq 0x250(%rsp), %rdi
callq 0x1d1180
movq %rax, 0x1d8(%rsp)
movq 0x250(%rsp), %rdi
callq 0x1d11d0
movq %rax, 0x1d0(%rsp)
movq 0x248(%rsp), %rax
subq 0x240(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1e0(%rsp)
imulq $0x30, 0x1e0(%rsp), %rdi
leaq 0x3f94bc(%rip), %rsi    # 0x54d39c
movl $0x1d6, %edx            # imm = 0x1D6
callq 0xe80f0
movq %rax, 0x198(%rsp)
movq $0x0, 0x1f0(%rsp)
xorl %eax, %eax
subq 0x240(%rsp), %rax
movq %rax, 0x1e8(%rsp)
movq 0x198(%rsp), %rax
imulq $0x30, 0x1f0(%rsp), %rcx
addq %rcx, %rax
movq $0x0, (%rax)
movq 0x1d8(%rsp), %rcx
movq 0x198(%rsp), %rax
imulq $0x30, 0x1f0(%rsp), %rdx
addq %rdx, %rax
movq %rcx, 0x8(%rax)
movq 0x1d8(%rsp), %rcx
movq 0x198(%rsp), %rax
imulq $0x30, 0x1f0(%rsp), %rdx
addq %rdx, %rax
movq %rcx, 0x10(%rax)
movq 0x1f0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1f8(%rsp)
movq 0x1f8(%rsp), %rax
cmpq 0x1e8(%rsp), %rax
ja 0x1540b2
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
movq %rcx, (%rax)
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
subq $0x1, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rcx, 0x8(%rax)
je 0x15402d
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
subq $0x1, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
addq 0x1d0(%rsp), %rax
movq %rax, 0x108(%rsp)
jmp 0x154041
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x108(%rsp)
jmp 0x154041
movq 0x108(%rsp), %rcx
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rdx
subq 0x1f0(%rsp), %rdx
imulq $0x30, %rdx, %rdx
addq %rdx, %rax
movq %rcx, 0x8(%rax)
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
movq %rcx, 0x10(%rax)
movq 0x1f8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1f8(%rsp)
jmp 0x153f7f
movq 0x1e8(%rsp), %rax
cmpq 0x220(%rsp), %rax
jne 0x1540cc
movb $0x1, 0x137(%rsp)
movq $0x1, 0x200(%rsp)
movq 0x200(%rsp), %rax
cmpq 0x208(%rsp), %rax
ja 0x154d8b
movq 0x198(%rsp), %rsi
leaq 0x168(%rsp), %rdi
movl $0x30, %edx
callq 0x19610
movq 0x200(%rsp), %rax
cmpq 0x248(%rsp), %rax
jbe 0x154160
movq 0x1f0(%rsp), %rax
cmpq 0x1e8(%rsp), %rax
je 0x15414a
movq 0x198(%rsp), %rsi
addq $0x30, %rsi
leaq 0x138(%rsp), %rdi
movl $0x30, %edx
callq 0x19610
movq 0x1f0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1f0(%rsp)
jmp 0x15417a
movq 0x198(%rsp), %rsi
leaq 0x138(%rsp), %rdi
movl $0x30, %edx
callq 0x19610
movq 0x1e8(%rsp), %rax
cmpq 0x220(%rsp), %rax
jae 0x1541a0
movq 0x1e8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1e8(%rsp)
testb $0x1, 0x137(%rsp)
jne 0x1541f2
movq 0x1f8(%rsp), %rax
cmpq 0x1e8(%rsp), %rax
jne 0x1541f2
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x138(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x140(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x148(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x138(%rsp)
je 0x15422b
movq 0x138(%rsp), %rax
movq 0x1d0(%rsp), %rcx
addq 0x1d8(%rsp), %rcx
addq %rcx, %rax
movq %rax, 0x100(%rsp)
jmp 0x15423f
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x100(%rsp)
jmp 0x15423f
movq 0x100(%rsp), %rax
movq %rax, 0x1b8(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x140(%rsp)
je 0x154288
movq 0x140(%rsp), %rax
movq 0x1d0(%rsp), %rcx
addq 0x1d8(%rsp), %rcx
addq %rcx, %rax
movq %rax, 0xf8(%rsp)
jmp 0x15429c
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0xf8(%rsp)
jmp 0x15429c
movq 0xf8(%rsp), %rax
movq %rax, 0x1b0(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x148(%rsp)
je 0x1542da
movq 0x148(%rsp), %rax
addq 0x1d0(%rsp), %rax
movq %rax, 0xf0(%rsp)
jmp 0x1542ee
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0xf0(%rsp)
jmp 0x1542ee
movq 0xf0(%rsp), %rax
movq %rax, 0x1a8(%rsp)
movq 0x1b8(%rsp), %rax
cmpq 0x1b0(%rsp), %rax
jge 0x154356
movq 0x1b8(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x154334
movq 0x1b8(%rsp), %rax
movq %rax, 0xe8(%rsp)
jmp 0x154344
movq 0x1a8(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0xe0(%rsp)
jmp 0x15439a
movq 0x1b0(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x15437a
movq 0x1b0(%rsp), %rax
movq %rax, 0xd8(%rsp)
jmp 0x15438a
movq 0x1a8(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq 0xd8(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, 0x1a0(%rsp)
movq 0x1a0(%rsp), %rcx
movq 0x198(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x198(%rsp), %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
movq %rcx, (%rax)
movq 0x198(%rsp), %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
movq %rcx, 0x8(%rax)
cmpq $0x0, 0x1f0(%rsp)
jbe 0x154604
movq 0x250(%rsp), %rdi
movq 0x230(%rsp), %rax
movq 0x228(%rsp), %rcx
addq 0x1f8(%rsp), %rcx
subq $0x1, %rcx
movb (%rax,%rcx), %dl
movq 0x218(%rsp), %rax
movq 0x210(%rsp), %rcx
addq 0x200(%rsp), %rcx
subq $0x1, %rcx
movzbl %dl, %esi
movzbl (%rax,%rcx), %edx
callq 0x1d12c0
movq %rax, 0x1c0(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x168(%rsp)
je 0x15447d
movq 0x168(%rsp), %rax
addq 0x1c0(%rsp), %rax
movq %rax, 0xd0(%rsp)
jmp 0x154491
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0xd0(%rsp)
jmp 0x154491
movq 0xd0(%rsp), %rax
movq %rax, 0x1b8(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x170(%rsp)
je 0x1544cf
movq 0x170(%rsp), %rax
addq 0x1c0(%rsp), %rax
movq %rax, 0xc8(%rsp)
jmp 0x1544e3
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0xc8(%rsp)
jmp 0x1544e3
movq 0xc8(%rsp), %rax
movq %rax, 0x1b0(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x178(%rsp)
je 0x154521
movq 0x178(%rsp), %rax
addq 0x1c0(%rsp), %rax
movq %rax, 0xc0(%rsp)
jmp 0x154535
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0xc0(%rsp)
jmp 0x154535
movq 0xc0(%rsp), %rax
movq %rax, 0x1a8(%rsp)
movq 0x1b8(%rsp), %rax
cmpq 0x1b0(%rsp), %rax
jge 0x15459d
movq 0x1b8(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x15457b
movq 0x1b8(%rsp), %rax
movq %rax, 0xb8(%rsp)
jmp 0x15458b
movq 0x1a8(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq 0xb8(%rsp), %rax
movq %rax, 0xb0(%rsp)
jmp 0x1545e1
movq 0x1b0(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x1545c1
movq 0x1b0(%rsp), %rax
movq %rax, 0xa8(%rsp)
jmp 0x1545d1
movq 0x1a8(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0xa8(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x1a0(%rsp)
movq 0x1a0(%rsp), %rcx
movq 0x198(%rsp), %rax
movq %rcx, (%rax)
movq 0x1f0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1f8(%rsp)
movq 0x1f8(%rsp), %rax
cmpq 0x1e8(%rsp), %rax
ja 0x154d70
leaq 0x168(%rsp), %rdi
leaq 0x138(%rsp), %rsi
movl $0x30, %edx
callq 0x19610
testb $0x1, 0x137(%rsp)
jne 0x15469c
movq 0x1f8(%rsp), %rax
cmpq 0x1e8(%rsp), %rax
jne 0x15469c
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x138(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x140(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x148(%rsp)
jmp 0x154711
cmpq $0x0, 0x1f0(%rsp)
jbe 0x1546de
movq 0x198(%rsp), %rsi
movq 0x1f8(%rsp), %rax
subq 0x1f0(%rsp), %rax
addq $0x1, %rax
imulq $0x30, %rax, %rax
addq %rax, %rsi
leaq 0x138(%rsp), %rdi
movl $0x30, %edx
callq 0x19610
jmp 0x15470f
movq 0x198(%rsp), %rsi
movq 0x1f8(%rsp), %rax
subq 0x1f0(%rsp), %rax
imulq $0x30, %rax, %rax
addq %rax, %rsi
leaq 0x138(%rsp), %rdi
movl $0x30, %edx
callq 0x19610
jmp 0x154711
movq 0x1f8(%rsp), %rax
cmpq 0x220(%rsp), %rax
jne 0x15472b
movb $0x1, 0x137(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x138(%rsp)
je 0x154764
movq 0x138(%rsp), %rax
movq 0x1d0(%rsp), %rcx
addq 0x1d8(%rsp), %rcx
addq %rcx, %rax
movq %rax, 0xa0(%rsp)
jmp 0x154778
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0xa0(%rsp)
jmp 0x154778
movq 0xa0(%rsp), %rax
movq %rax, 0x1b8(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x140(%rsp)
je 0x1547c1
movq 0x140(%rsp), %rax
movq 0x1d0(%rsp), %rcx
addq 0x1d8(%rsp), %rcx
addq %rcx, %rax
movq %rax, 0x98(%rsp)
jmp 0x1547d5
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x98(%rsp)
jmp 0x1547d5
movq 0x98(%rsp), %rax
movq %rax, 0x1b0(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x148(%rsp)
je 0x154813
movq 0x148(%rsp), %rax
addq 0x1d0(%rsp), %rax
movq %rax, 0x90(%rsp)
jmp 0x154827
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x90(%rsp)
jmp 0x154827
movq 0x90(%rsp), %rax
movq %rax, 0x1a8(%rsp)
movq 0x1b8(%rsp), %rax
cmpq 0x1b0(%rsp), %rax
jge 0x15488f
movq 0x1b8(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x15486d
movq 0x1b8(%rsp), %rax
movq %rax, 0x88(%rsp)
jmp 0x15487d
movq 0x1a8(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x88(%rsp), %rax
movq %rax, 0x80(%rsp)
jmp 0x1548ca
movq 0x1b0(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x1548b0
movq 0x1b0(%rsp), %rax
movq %rax, 0x78(%rsp)
jmp 0x1548bd
movq 0x1a8(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x1a0(%rsp)
movq 0x1a0(%rsp), %rcx
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rdx
subq 0x1f0(%rsp), %rdx
imulq $0x30, %rdx, %rdx
addq %rdx, %rax
movq %rcx, 0x10(%rax)
movq 0x250(%rsp), %rdi
movq 0x230(%rsp), %rax
movq 0x228(%rsp), %rcx
addq 0x1f8(%rsp), %rcx
subq $0x1, %rcx
movb (%rax,%rcx), %dl
movq 0x218(%rsp), %rax
movq 0x210(%rsp), %rcx
addq 0x200(%rsp), %rcx
subq $0x1, %rcx
movzbl %dl, %esi
movzbl (%rax,%rcx), %edx
callq 0x1d12c0
movq %rax, 0x1c0(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x168(%rsp)
je 0x154987
movq 0x168(%rsp), %rax
addq 0x1c0(%rsp), %rax
movq %rax, 0x70(%rsp)
jmp 0x154998
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x70(%rsp)
jmp 0x154998
movq 0x70(%rsp), %rax
movq %rax, 0x1b8(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x170(%rsp)
je 0x1549d0
movq 0x170(%rsp), %rax
addq 0x1c0(%rsp), %rax
movq %rax, 0x68(%rsp)
jmp 0x1549e1
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x68(%rsp)
jmp 0x1549e1
movq 0x68(%rsp), %rax
movq %rax, 0x1b0(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x178(%rsp)
je 0x154a19
movq 0x178(%rsp), %rax
addq 0x1c0(%rsp), %rax
movq %rax, 0x60(%rsp)
jmp 0x154a2a
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x60(%rsp)
jmp 0x154a2a
movq 0x60(%rsp), %rax
movq %rax, 0x1a8(%rsp)
movq 0x1b8(%rsp), %rax
cmpq 0x1b0(%rsp), %rax
jge 0x154a83
movq 0x1b8(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x154a6a
movq 0x1b8(%rsp), %rax
movq %rax, 0x58(%rsp)
jmp 0x154a77
movq 0x1a8(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x50(%rsp)
jmp 0x154abb
movq 0x1b0(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x154aa4
movq 0x1b0(%rsp), %rax
movq %rax, 0x48(%rsp)
jmp 0x154ab1
movq 0x1a8(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x1a0(%rsp)
movq 0x1a0(%rsp), %rcx
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rdx
subq 0x1f0(%rsp), %rdx
imulq $0x30, %rdx, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
subq $0x1, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rcx, (%rax)
je 0x154b64
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
subq $0x1, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq 0x1d0(%rsp), %rcx
addq 0x1d8(%rsp), %rcx
addq %rcx, %rax
movq %rax, 0x40(%rsp)
jmp 0x154b75
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x40(%rsp)
jmp 0x154b75
movq 0x40(%rsp), %rax
movq %rax, 0x1b8(%rsp)
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
subq $0x1, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rcx, 0x8(%rax)
je 0x154beb
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
subq $0x1, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
addq 0x1d0(%rsp), %rax
movq %rax, 0x38(%rsp)
jmp 0x154bfc
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x38(%rsp)
jmp 0x154bfc
movq 0x38(%rsp), %rax
movq %rax, 0x1b0(%rsp)
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
subq $0x1, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rcx, 0x10(%rax)
je 0x154c7d
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
subq $0x1, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rax
movq 0x1d0(%rsp), %rcx
addq 0x1d8(%rsp), %rcx
addq %rcx, %rax
movq %rax, 0x30(%rsp)
jmp 0x154c8e
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, 0x30(%rsp)
jmp 0x154c8e
movq 0x30(%rsp), %rax
movq %rax, 0x1a8(%rsp)
movq 0x1b8(%rsp), %rax
cmpq 0x1b0(%rsp), %rax
jge 0x154ce7
movq 0x1b8(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x154cce
movq 0x1b8(%rsp), %rax
movq %rax, 0x28(%rsp)
jmp 0x154cdb
movq 0x1a8(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
jmp 0x154d1f
movq 0x1b0(%rsp), %rax
cmpq 0x1a8(%rsp), %rax
jge 0x154d08
movq 0x1b0(%rsp), %rax
movq %rax, 0x18(%rsp)
jmp 0x154d15
movq 0x1a8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x1a0(%rsp)
movq 0x1a0(%rsp), %rcx
movq 0x198(%rsp), %rax
movq 0x1f8(%rsp), %rdx
subq 0x1f0(%rsp), %rdx
imulq $0x30, %rdx, %rdx
addq %rdx, %rax
movq %rcx, 0x8(%rax)
movq 0x1f8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1f8(%rsp)
jmp 0x154618
jmp 0x154d72
movq 0x200(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x200(%rsp)
jmp 0x1540d8
movq 0x198(%rsp), %rax
movq 0x1e8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq 0x198(%rsp), %rcx
movq 0x1e8(%rsp), %rdx
subq 0x1f0(%rsp), %rdx
imulq $0x30, %rdx, %rdx
addq %rdx, %rcx
cmpq 0x8(%rcx), %rax
jge 0x154e7d
movq 0x198(%rsp), %rax
movq 0x1e8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq 0x198(%rsp), %rcx
movq 0x1e8(%rsp), %rdx
subq 0x1f0(%rsp), %rdx
imulq $0x30, %rdx, %rdx
addq %rdx, %rcx
cmpq 0x10(%rcx), %rax
jge 0x154e46
movq 0x198(%rsp), %rax
movq 0x1e8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, 0x10(%rsp)
jmp 0x154e6e
movq 0x198(%rsp), %rax
movq 0x1e8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
jmp 0x154f1e
movq 0x198(%rsp), %rax
movq 0x1e8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq 0x198(%rsp), %rcx
movq 0x1e8(%rsp), %rdx
subq 0x1f0(%rsp), %rdx
imulq $0x30, %rdx, %rdx
addq %rdx, %rcx
cmpq 0x10(%rcx), %rax
jge 0x154eee
movq 0x198(%rsp), %rax
movq 0x1e8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, (%rsp)
jmp 0x154f15
movq 0x198(%rsp), %rax
movq 0x1e8(%rsp), %rcx
subq 0x1f0(%rsp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rax
movq %rax, (%rsp)
movq (%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x1c8(%rsp)
movq 0x198(%rsp), %rdi
leaq 0x3f8462(%rip), %rsi    # 0x54d39c
movl $0x245, %edx            # imm = 0x245
callq 0xe88c0
movq 0x1c8(%rsp), %rax
addq $0x238, %rsp            # imm = 0x238
retq
nopw %cs:(%rax,%rax)