// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/diagonalbandalign.c
// Function: evaluateDBcrosspoints
static void evaluateDBcrosspoints(GtLinspaceManagement *spacemanager,
                                  GtDiagAlignentry *Diagcolumn,
                                  const GtScoreHandler *scorehandler,
                                  LinearAlignEdge edge,
                                  GtUword rowoffset,
                                  GtUword coloffset,
                                  const GtUchar *useq,
                                  GtUword ustart,
                                  GtUword ulen,
                                  const GtUchar *vseq,
                                  GtUword vstart,
                                  GtUword vlen,
                                  GtWord left_dist,
                                  GtWord right_dist)
{
  GtUword idx, prevcpoint, cpoint, ctemp, new_ulen;
  GtWord new_left, new_right, diag = GT_DIV2(left_dist+right_dist);
  GtDiagAlignentry dtemp;

  if (ulen == 0)
  {
    for (idx = 1; idx <=vlen; idx++)
    {
      Diagcolumn[idx].currentrowindex = rowoffset;
      Diagcolumn[idx].last_type = Linear_I;
    }
    Diagcolumn[0].currentrowindex = rowoffset;
    Diagcolumn[0].last_type = edge;
    return;
  }

  if (vlen == 0)
  {
    Diagcolumn[0] = (GtDiagAlignentry) {ulen, edge};
    return;
  }

  if (gt_linspace_management_checksquare(spacemanager,ulen,vlen,
                                         sizeof (GtUword),sizeof(GtUword)))
  {
    dtab_in_square_space(spacemanager, Diagcolumn,
                         useq, ustart, ulen,
                         vseq, vstart, vlen,
                         left_dist, right_dist,
                         rowoffset, edge, scorehandler);
    return;
  }

  cpoint = evaluateallDBtabcolumns (spacemanager, Diagcolumn, scorehandler,edge,
                                    rowoffset, useq, ustart, ulen,
                                    vseq, vstart, vlen,
                                    left_dist, right_dist);

  /* if no crosspoint is found */
  if (cpoint == GT_UWORD_MAX)
  {
    if (diag < 0)
    {
      return evaluateDBcrosspoints(spacemanager,Diagcolumn, scorehandler, edge,
                                   rowoffset, coloffset, useq, ustart, ulen,
                                   vseq, vstart, vlen,
                                   diag+1, right_dist);
    }

    else if (diag > 0)
      return evaluateDBcrosspoints(spacemanager, Diagcolumn, scorehandler, edge,
                                   rowoffset, coloffset, useq, ustart, ulen,
                                   vseq, vstart, vlen,
                                   left_dist, diag-1);
    else
    {
      gt_assert(false); /* there have to be an crosspoint */
    }
  }

  /* exception, if last crosspoint != (m+1)entry, bottom right corner */
  if (cpoint != vlen)
  {
    if (diag + ((GtWord)ulen-(GtWord)vlen) > 0)
    {
      dtemp = Diagcolumn[cpoint];
      new_left = GT_MAX((GtWord)left_dist-diag+1,
                    -((GtWord)ulen-((GtWord)Diagcolumn[cpoint].currentrowindex+1
                    -(GtWord)rowoffset)));
      new_right = 0;
      new_ulen =  ulen - (Diagcolumn[cpoint].currentrowindex+1-rowoffset);
      evaluateDBcrosspoints(spacemanager, Diagcolumn+cpoint, scorehandler,
                            Linear_D, Diagcolumn[cpoint].currentrowindex+1,
                            coloffset+cpoint, useq,
                            Diagcolumn[cpoint].currentrowindex+1, new_ulen,
                            vseq, vstart+cpoint, vlen-cpoint,
                            new_left, new_right);

    Diagcolumn[cpoint] = dtemp;
    }
    else
    {
      new_left = -1;
      new_right =  GT_MIN((GtWord)right_dist-((GtWord)diag)-1,
                      ((GtWord)vlen-(GtWord)cpoint-1));
      new_ulen = ulen - (Diagcolumn[cpoint].currentrowindex-rowoffset);
      evaluateDBcrosspoints(spacemanager,Diagcolumn+cpoint+1,scorehandler,
                            Linear_I, Diagcolumn[cpoint].currentrowindex,
                            coloffset+cpoint+1, useq,
                            Diagcolumn[cpoint].currentrowindex, new_ulen,
                            vseq, vstart+cpoint+1, vlen-cpoint-1,
                            new_left, new_right);
    }
  }

  /* look at all 'normally' crosspoints,
     call segments between pairwise crosspoints*/
  while (Diagcolumn[cpoint].lastcpoint != GT_UWORD_MAX)
  {
    prevcpoint = cpoint;
    if (prevcpoint == 0)
      break;

    cpoint = Diagcolumn[cpoint].lastcpoint;
    ctemp =  Diagcolumn[cpoint].lastcpoint;
    if (Diagcolumn[prevcpoint].last_type == Linear_R ||
       ((Diagcolumn[prevcpoint].last_type == Linear_I) &&
       (prevcpoint-cpoint == 1)))
    {
      continue;
    }
    else if (Diagcolumn[prevcpoint].last_type == Linear_D)
    {
      new_left = -1;
      new_right = GT_MIN(right_dist-((GtWord)diag)-1,
                     (GtWord)prevcpoint-(GtWord)cpoint-1);
      new_ulen = Diagcolumn[prevcpoint].currentrowindex-
                 Diagcolumn[cpoint].currentrowindex-1;

      evaluateDBcrosspoints(spacemanager,Diagcolumn+cpoint+1,scorehandler,
                   Linear_I, Diagcolumn[cpoint].currentrowindex,
                   coloffset+cpoint+1, useq, Diagcolumn[cpoint].currentrowindex,
                   new_ulen, vseq, vstart + cpoint+1, prevcpoint-cpoint-1,
                   new_left, new_right);
    }
    else if (Diagcolumn[prevcpoint].last_type == Linear_I)
    {
      dtemp = Diagcolumn[cpoint];
      new_ulen = Diagcolumn[prevcpoint].currentrowindex-
                 Diagcolumn[cpoint].currentrowindex-1;
      new_left = GT_MAX(left_dist-diag+1,-new_ulen);
      new_right = 0;

      evaluateDBcrosspoints(spacemanager,Diagcolumn+cpoint,scorehandler,
                            Linear_D, Diagcolumn[cpoint].currentrowindex+1,
                            coloffset+cpoint, useq,
                            Diagcolumn[cpoint].currentrowindex+1, new_ulen,
                            vseq, vstart + cpoint, prevcpoint-1-cpoint,
                            new_left, new_right);
      Diagcolumn[cpoint] = dtemp;
    }
    else
    {
      /* if (Diagcolumn[cpoint].last_type == Linear_X), never reach this line */
      gt_assert(false);
    }
    Diagcolumn[cpoint].lastcpoint  = ctemp;
  }

  /* exception, if first crosspoint != 0-entry, upper left corner */
  if (vstart-coloffset != cpoint)
  {
    if (Diagcolumn[cpoint].last_type == Linear_D)
    {
      new_ulen = Diagcolumn[cpoint].currentrowindex-ustart-1;
      new_left =  GT_MAX(diag, -new_ulen);
      new_right = GT_MIN(right_dist, (GtWord)cpoint);

      evaluateDBcrosspoints(spacemanager, Diagcolumn, scorehandler,
                            edge, rowoffset, coloffset,
                            useq, ustart, new_ulen,
                            vseq, vstart, cpoint,
                            new_left, new_right);

    }
    else if (Diagcolumn[cpoint].last_type == Linear_I)
    {
      new_left = GT_MAX(left_dist,
                 -((GtWord)Diagcolumn[cpoint].currentrowindex-(GtWord)ustart));
      new_right = GT_MIN((GtWord)cpoint-1, diag);
      evaluateDBcrosspoints(spacemanager, Diagcolumn, scorehandler,
                            edge, rowoffset, coloffset, useq, ustart,
                            Diagcolumn[cpoint].currentrowindex-ustart,
                            vseq, vstart, cpoint-1,
                            new_left, new_right);
    }
    else if (Diagcolumn[cpoint].last_type == Linear_R ||
             Diagcolumn[cpoint].last_type  == Linear_X)
    {
      gt_assert(false); /* this cant be the first crosspoint or
                           it have to be 0-entry */
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r9, 0x20(%rsp)
movq %r8, %r13
movl %ecx, %ebp
movq %rdi, 0x10(%rsp)
movq 0x148(%rsp), %r12
movq 0x130(%rsp), %rbx
testq %rbx, %rbx
movq %rsi, (%rsp)
je 0xca37d
testq %r12, %r12
je 0xca3ac
movq %rdx, %r14
movq 0x158(%rsp), %r15
pushq $0x8
popq %rcx
movq 0x10(%rsp), %rdi
movq %rbx, %rsi
movq %r12, %rdx
movq %rcx, %r8
callq 0xf9879
testb %al, %al
movq %r13, 0x28(%rsp)
movl %ebp, 0xc(%rsp)
movq %r14, 0x18(%rsp)
je 0xca3c2
cmpq $0x0, (%rsp)
je 0xcad5c
subq 0x130(%rsp), %r12
movq %r12, %rdx
sarq $0x3f, %rdx
andq %r12, %rdx
xorl %eax, %eax
testq %r12, %r12
cmovgq %r12, %rax
cmpq 0x150(%rsp), %rdx
jl 0xcadbb
cmpq %r15, %rax
jg 0xcadbb
movq 0x10(%rsp), %rdi
movq 0x130(%rsp), %rsi
movq 0x148(%rsp), %r12
movq %r12, %rdx
callq 0xf99eb
movq %rax, %rbx
movq %rax, %rdi
movq 0x120(%rsp), %rsi
movq 0x128(%rsp), %rdx
movq 0x130(%rsp), %rcx
movq %r15, %rax
movq 0x138(%rsp), %r8
movq 0x140(%rsp), %r15
movq %r15, %r9
pushq %r14
pushq %rax
pushq 0x160(%rsp)
pushq %r12
callq 0xc93b6
addq $0x20, %rsp
testq %rbx, %rbx
je 0xcade9
movq %r14, %rdi
callq 0x114a6a
movq %rax, %rsi
movq 0x120(%rsp), %rax
movq 0x128(%rsp), %rcx
addq %rcx, %rax
decq %rax
movq %rax, 0x38(%rsp)
movq 0x138(%rsp), %rax
addq %r15, %rax
decq %rax
movq %rax, 0x50(%rsp)
imulq $0x18, %r12, %rax
movq (%rsp), %rcx
addq %rcx, %rax
addq $0x8, %rax
movq %rax, 0x48(%rsp)
movq %r12, %rbp
movq 0x130(%rsp), %rdx
imulq $0x18, %rbp, %rax
movq %rax, 0x58(%rsp)
leaq (%rcx,%rax), %r15
movq %rbp, %rax
orq %rdx, %rax
je 0xca448
testq %rdx, %rdx
sete %al
testq %rbp, %rbp
sete %cl
orb %al, %cl
jne 0xca2b2
movq -0x8(%rbx,%rdx,8), %rax
movq (%rbx,%rdx,8), %rcx
movq %rdx, %r12
movq (%rcx,%rbp,8), %rcx
movq %rcx, 0x40(%rsp)
movq -0x8(%rax,%rbp,8), %r13
movq %rbx, %r14
movq %rsi, %rbx
movq 0x38(%rsp), %rax
movzbl (%rax,%rdx), %esi
movq 0x50(%rsp), %rax
movzbl (%rax,%rbp), %edx
movq 0x18(%rsp), %rdi
callq 0x114b2c
movq %rbx, %rsi
movq %r14, %rbx
addq %r13, %rax
movq 0x28(%rsp), %r13
cmpq %rax, 0x40(%rsp)
movq %r12, %rdx
movq 0x148(%rsp), %r12
jne 0xca2b7
jmp 0xca347
testq %rdx, %rdx
je 0xca2f9
movq -0x8(%rbx,%rdx,8), %rax
movq (%rbx,%rdx,8), %rcx
movq (%rax,%rbp,8), %rax
addq %rsi, %rax
cmpq %rax, (%rcx,%rbp,8)
jne 0xca2f9
cmpq %r12, %rbp
jne 0xca2de
leaq (%rdx,%r13), %rax
movq 0x48(%rsp), %rcx
movq %rax, (%rcx)
movl $0x1, 0x10(%r15)
leaq (%rdx,%r13), %rax
decq %rax
decq %rdx
movq %rax, 0x8(%r15)
jmp 0xca235
testq %rbp, %rbp
je 0xcad2b
movq (%rbx,%rdx,8), %rax
movq -0x8(%rax,%rbp,8), %rcx
addq %rsi, %rcx
cmpq %rcx, (%rax,%rbp,8)
jne 0xcad2b
leaq (%rdx,%r13), %rax
cmpq %r12, %rbp
jne 0xca329
movq 0x48(%rsp), %rcx
movq %rax, (%rcx)
movq (%rsp), %rcx
movq 0x58(%rsp), %rdi
movl $0x2, 0x10(%rcx,%rdi)
decq %rbp
movq %rax, -0x10(%rcx,%rdi)
jmp 0xca228
cmpq %r12, %rbp
jne 0xca358
leaq (%rdx,%r13), %rax
movq 0x48(%rsp), %rcx
movq %rax, (%rcx)
movq (%rsp), %rcx
movq 0x58(%rsp), %rdi
andl $0x0, 0x10(%rcx,%rdi)
decq %rbp
leaq (%rdx,%r13), %rax
decq %rax
decq %rdx
movq %rax, -0x10(%rcx,%rdi)
jmp 0xca228
leaq 0x28(%rsi), %rax
pushq $0x1
popq %rcx
cmpq %r12, %rcx
ja 0xca39c
movq %r13, -0x8(%rax)
movl $0x2, (%rax)
incq %rcx
addq $0x18, %rax
jmp 0xca384
movq (%rsp), %rax
movq %r13, 0x8(%rax)
movl %ebp, 0x10(%rax)
jmp 0xcac79
movl %ebp, %eax
movq (%rsp), %rcx
movq %rbx, (%rcx)
movq %rax, 0x8(%rcx)
andl $0x0, 0x10(%rcx)
jmp 0xcac79
subq %rbx, %r12
movq %r12, %rdx
sarq $0x3f, %rdx
andq %r12, %rdx
xorl %eax, %eax
testq %r12, %r12
cmovgq %r12, %rax
cmpq 0x150(%rsp), %rdx
jl 0xcad8d
cmpq %r15, %rax
jg 0xcad8d
movq 0x150(%rsp), %rax
leaq (%r15,%rax), %rbp
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0xf9975
movq %rax, %r12
movq %rbx, %rdi
callq 0xf9981
movq %rax, 0x60(%rsp)
movq %r14, %rdi
callq 0x114a6a
movq %r12, %r8
movq %rax, %r10
andq $0x0, (%r12)
cmpq $0x1, %rbp
ja 0xca458
movq (%rsp), %rax
movl 0xc(%rsp), %ebx
movl %ebx, 0x10(%rax)
orq $-0x1, (%rax)
movq %r13, 0x8(%rax)
xorl %ecx, %ecx
jmp 0xca45b
movl 0xc(%rsp), %eax
movq (%rsp), %rcx
movl %eax, 0x10(%rcx)
jmp 0xcac79
pushq $-0x1
popq %rcx
movq %rbp, %rsi
sarq %rsi
pushq $0x1
popq %rax
movq 0x150(%rsp), %rdx
negq %rdx
movq %rdx, %rdi
movq 0x60(%rsp), %r9
movq %rcx, (%r9)
movq (%rsp), %rdx
cmpq %rdi, %rax
ja 0xca4bc
movq -0x8(%r8,%rax,8), %rcx
addq %r10, %rcx
movq %rcx, (%r8,%rax,8)
movq %rsi, %rcx
addq %rax, %rcx
je 0xca49e
movq -0x8(%r9,%rax,8), %rcx
jmp 0xca4b3
movl $0x1, 0x10(%rdx)
orq $-0x1, (%rdx)
leaq (%rax,%r13), %rcx
movq %rcx, 0x8(%rdx)
xorl %ecx, %ecx
movq %rcx, (%r9,%rax,8)
incq %rax
jmp 0xca47e
movq %rbp, 0xb0(%rsp)
movq 0x130(%rsp), %rdx
movq %rdi, %rbx
cmpq %rdx, %rdi
sete %r14b
movq 0x128(%rsp), %rcx
movq 0x120(%rsp), %rdi
leaq (%rdi,%rcx), %rax
movq %rax, 0xc8(%rsp)
leaq -0x1(%rdi,%rcx), %rax
movq %rax, 0xb8(%rsp)
movq 0x138(%rsp), %rax
movq 0x140(%rsp), %rcx
leaq -0x1(%rax,%rcx), %rax
movq %rax, 0x70(%rsp)
pushq $0x1
popq %r11
movq %r11, %rax
subq %rdx, %rax
movq %rax, 0xc0(%rsp)
pushq $-0x1
popq %r13
xorl %edi, %edi
movq %rsi, 0x30(%rsp)
movq %rsi, 0x68(%rsp)
movq %rbx, %rsi
movq %r13, %r12
movq %r8, 0x80(%rsp)
movq %r10, 0x78(%rsp)
cmpq 0x148(%rsp), %r11
ja 0xca824
movq (%r8), %rbp
movq (%r9), %rbx
cmpq %r15, %r11
jbe 0xca579
cmpq %rdi, %rsi
je 0xca574
movq 0x8(%r8), %r12
movq 0x8(%r9), %r13
incq %rdi
jmp 0xca57f
movq %rbp, %r12
movq %rbx, %r13
xorl %r15d, %r15d
cmpq 0x130(%rsp), %rsi
setb %r15b
leaq (%rsi,%r15), %rax
movq %rax, 0x40(%rsp)
cmpq %rax, %rdi
setne %al
orb %r14b, %al
testb $0x1, %al
pushq $-0x1
popq %rax
cmoveq %rax, %r12
cmoveq %rax, %r13
leaq (%r12,%r10), %rcx
cmpq $-0x1, %r12
cmoveq %r12, %rcx
movq %rcx, (%r8)
testq %rdi, %rdi
movq %r11, 0x88(%rsp)
movq %rdi, 0x38(%rsp)
je 0xca628
cmpq $-0x1, %rbp
je 0xca623
movq 0xb8(%rsp), %rax
movq %rsi, 0x50(%rsp)
movzbl (%rax,%rdi), %esi
movq 0x70(%rsp), %rax
movzbl (%rax,%r11), %edx
movq 0x18(%rsp), %rdi
callq 0x114b2c
movq 0x50(%rsp), %rsi
movq 0x38(%rsp), %rdi
movq 0x88(%rsp), %r11
movq 0x78(%rsp), %r10
movq 0x60(%rsp), %r9
movq 0x80(%rsp), %r8
addq %rbp, %rax
movq (%r8), %rcx
cmpq %rcx, %rax
jbe 0xca636
movq %r11, %rcx
subq %rdi, %rcx
pushq $0x2
popq %rax
movq %r13, %rbx
jmp 0xca641
movq %rax, (%r8)
movq %r11, %rcx
subq %rdi, %rcx
xorl %eax, %eax
cmpq 0x30(%rsp), %rcx
movq (%rsp), %rdx
jne 0xca668
imulq $0x18, %r11, %rcx
movl %eax, 0x10(%rdx,%rcx)
movq %rbx, (%rdx,%rcx)
movq 0x28(%rsp), %rax
addq %rdi, %rax
movq %rax, 0x8(%rdx,%rcx)
movq %r11, %rbx
movq %rbx, (%r9)
imulq $0x18, %r11, %rax
addq %rdx, %rax
movq %rax, 0xd8(%rsp)
movq 0xc8(%rsp), %rax
addq %rdi, %rax
movq %rax, 0xe0(%rsp)
movq 0x28(%rsp), %rax
addq %rdi, %rax
movq %rax, 0xd0(%rsp)
movq 0x68(%rsp), %rax
addq %rdi, %rax
movq %rax, 0x50(%rsp)
movq %rdi, %rcx
subq %rsi, %rcx
movq 0xc0(%rsp), %rax
addq %rdi, %rax
movq %rax, 0x48(%rsp)
subq %r15, %rcx
incq %rcx
movq %rcx, 0x58(%rsp)
pushq $0x2
popq %rbp
leaq (%rdi,%rbp), %rax
decq %rax
cmpq 0x40(%rsp), %rax
ja 0xca80a
testb $0x1, %r14b
jne 0xca6fb
movq 0x58(%rsp), %rcx
addq %rbp, %rcx
pushq $-0x1
popq %r15
movq %r15, %rbx
cmpq $0x2, %rcx
je 0xca70a
testq %rdi, %rdi
cmovneq %rbp, %rax
movq (%r8,%rax,8), %rbx
movq (%r9,%rax,8), %r15
movq 0x48(%rsp), %rax
addq %rbp, %rax
cmpq $0x2, %rax
movzbl %r14b, %r14d
pushq $0x1
popq %rax
cmovel %eax, %r14d
leaq (%rbx,%r10), %rcx
cmpq $-0x1, %rbx
cmoveq %rbx, %rcx
movq %rcx, -0x8(%r8,%rbp,8)
pushq $-0x1
popq %rax
cmpq $-0x1, %r12
je 0xca77e
movq 0xe0(%rsp), %rax
movzbl -0x2(%rax,%rbp), %esi
movq 0x70(%rsp), %rax
movzbl (%rax,%r11), %edx
movq 0x18(%rsp), %rdi
callq 0x114b2c
movq 0x88(%rsp), %r11
movq 0x78(%rsp), %r10
movq 0x60(%rsp), %r9
movq 0x80(%rsp), %r8
addq %r12, %rax
movq -0x8(%r8,%rbp,8), %rcx
movq %rcx, %rdx
cmpq %rcx, %rax
ja 0xca78e
movq %rax, -0x8(%r8,%rbp,8)
movq %rax, %rdx
movq -0x10(%r8,%rbp,8), %rdi
leaq (%rdi,%r10), %rsi
cmpq $-0x1, %rdi
cmoveq %rdi, %rsi
cmpq %rdx, %rsi
jae 0xca7b3
movq %rsi, -0x8(%r8,%rbp,8)
movq -0x10(%r9,%rbp,8), %r13
pushq $0x1
popq %rdx
jmp 0xca7c1
xorl %edx, %edx
cmpq %rcx, %rax
seta %dl
cmovaq %r15, %r13
addl %edx, %edx
movq 0x50(%rsp), %rax
addq %rbp, %rax
cmpq $0x2, %rax
movq 0x38(%rsp), %rdi
jne 0xca7f7
movq 0xd8(%rsp), %rcx
movl %edx, 0x10(%rcx)
movq %r13, (%rcx)
movq 0xd0(%rsp), %rax
addq %rbp, %rax
decq %rax
movq %rax, 0x8(%rcx)
movq %r11, %r13
movq %r13, -0x8(%r9,%rbp,8)
incq %rbp
movq %rbx, %r12
movq %r15, %r13
jmp 0xca6ce
incq %r11
decq 0x68(%rsp)
movq 0x40(%rsp), %rsi
movq 0x158(%rsp), %r15
jmp 0xca54e
subq %rdi, %rsi
movq (%r9,%rsi,8), %r14
cmpq $-0x1, %r14
je 0xca948
movq 0x148(%rsp), %rsi
movq %rsi, %rax
movq 0x30(%rsp), %rdi
movq %rdi, %r15
notq %r15
subq %r14, %rax
movq (%rsp), %rbp
movq 0x140(%rsp), %rcx
movq 0x150(%rsp), %r12
je 0xcaa77
movq 0x130(%rsp), %r13
movq %r13, %rcx
subq %rsi, %rcx
addq %rdi, %rcx
movq 0x28(%rsp), %rdx
jle 0xca9f0
imulq $0x18, %r14, %rbx
leaq (%rbx,%rbp), %rsi
movq 0x10(%rbp,%rbx), %rcx
movq %rcx, 0xa0(%rsp)
movups (%rbp,%rbx), %xmm0
movaps %xmm0, 0x90(%rsp)
movq %r12, %rcx
subq %rdi, %rcx
movq 0x8(%rbp,%rbx), %r10
leaq 0x1(%r10), %r8
addq %rdx, %r13
movq %r8, %rdx
subq %r13, %rdx
leaq 0x1(%rcx), %r11
cmpq %rdx, %rcx
cmovlq %rdx, %r11
notq %r10
addq %r13, %r10
movq 0x20(%rsp), %rcx
leaq (%r14,%rcx), %r9
movq 0x140(%rsp), %rcx
leaq (%r14,%rcx), %r12
pushq $0x1
popq %rcx
movq %rdi, %r13
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rdx
pushq $0x0
pushq %r11
pushq %rax
pushq %r12
movq 0x170(%rsp), %r12
pushq 0x158(%rsp)
pushq %r10
pushq %r8
pushq 0x158(%rsp)
callq 0xca0a7
movq 0x180(%rsp), %rcx
movq %r13, %rdi
addq $0x40, %rsp
movq 0xa0(%rsp), %rax
movq %rax, 0x10(%rbp,%rbx)
movaps 0x90(%rsp), %xmm0
movups %xmm0, (%rbp,%rbx)
jmp 0xcaa77
movq 0x30(%rsp), %r12
testq %r12, %r12
movq 0x28(%rsp), %r8
movq (%rsp), %rsi
movq 0x120(%rsp), %rax
movq 0x128(%rsp), %r10
movq 0x140(%rsp), %rbx
movq 0x150(%rsp), %r14
js 0xca9b8
cmpq $0x2, 0xb0(%rsp)
movl 0xc(%rsp), %ecx
movq 0x18(%rsp), %rdx
movq 0x138(%rsp), %r11
jb 0xcae21
decq %r12
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %r9
pushq %r12
pushq %r14
pushq 0x158(%rsp)
pushq %rbx
pushq %r11
jmp 0xca9e1
incq %r12
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rdx
movl 0xc(%rsp), %ecx
movq 0x20(%rsp), %r9
pushq %r15
pushq %r12
pushq 0x158(%rsp)
pushq %rbx
pushq 0x158(%rsp)
pushq 0x158(%rsp)
pushq %r10
pushq %rax
jmp 0xcacec
movq 0x158(%rsp), %rax
addq %r15, %rax
movq %r14, %r10
notq %r10
addq %rsi, %r10
cmpq %r10, %rax
cmovgeq %r10, %rax
imulq $0x18, %r14, %rcx
leaq (%rcx,%rbp), %rsi
addq $0x18, %rsi
movq -0x10(%rsi), %r8
addq %rdx, %r13
subq %r8, %r13
movq 0x20(%rsp), %rcx
leaq (%rcx,%r14), %r9
incq %r9
movq 0x140(%rsp), %rcx
leaq 0x1(%rcx,%r14), %r11
pushq $0x2
popq %rcx
movq %rdi, %rbx
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rdx
pushq %rax
pushq $-0x1
pushq %r10
pushq %r11
pushq 0x158(%rsp)
pushq %r13
pushq %r8
pushq 0x158(%rsp)
callq 0xca0a7
movq 0x180(%rsp), %rcx
movq %rbx, %rdi
addq $0x40, %rsp
addq 0x158(%rsp), %r15
movq 0x20(%rsp), %rax
incq %rax
movq %rax, 0x40(%rsp)
leaq 0x1(%rcx), %rax
movq %rax, 0x38(%rsp)
movq %r12, %rbx
subq %rdi, %rbx
incq %rbx
imulq $0x18, %r14, %rax
movq (%rbp,%rax), %r13
movq %r14, %rax
imulq $0x18, %r14, %rcx
addq %rbp, %rcx
testq %r14, %r14
je 0xcac0e
movq %r13, %r14
cmpq $-0x1, %r13
je 0xcac0e
imulq $0x18, %r14, %r12
movq (%rbp,%r12), %r13
movl 0x10(%rcx), %esi
testl %esi, %esi
je 0xcaaa7
addq %rbp, %r12
movq %r14, %rdx
notq %rdx
cmpl $0x1, %esi
je 0xcaba0
cmpl $0x2, %esi
jne 0xcacfa
movq %rax, %rsi
subq %r14, %rsi
cmpq $0x1, %rsi
je 0xcaaa7
movq 0x10(%r12), %rsi
movq %rsi, 0xa0(%rsp)
movups (%r12), %xmm0
movaps %xmm0, 0x90(%rsp)
movq 0x8(%r12), %r8
movq %r8, %r10
notq %r10
addq 0x8(%rcx), %r10
movq %r10, %rcx
negq %rcx
movq %rbx, %r11
cmpq %rcx, %rbx
ja 0xcab38
movq %rcx, %r11
incq %r8
movq 0x20(%rsp), %rcx
leaq (%r14,%rcx), %r9
movq 0x140(%rsp), %rcx
leaq (%r14,%rcx), %rbp
addq %rdx, %rax
movq 0x10(%rsp), %rdi
movq %r12, %rsi
movq 0x18(%rsp), %rdx
pushq $0x1
popq %rcx
pushq $0x0
pushq %r11
pushq %rax
pushq %rbp
pushq 0x158(%rsp)
pushq %r10
pushq %r8
pushq 0x158(%rsp)
callq 0xca0a7
addq $0x40, %rsp
movq 0xa0(%rsp), %rax
movq %rax, 0x10(%r12)
movaps 0x90(%rsp), %xmm0
movups %xmm0, (%r12)
jmp 0xcac01
addq %rdx, %rax
cmpq %rax, %r15
movq %rax, %r10
cmovlq %r15, %r10
movq 0x8(%r12), %r8
movq %r8, %r11
notq %r11
addq 0x8(%rcx), %r11
leaq 0x18(%r12), %rsi
movq 0x40(%rsp), %rcx
leaq (%rcx,%r14), %r9
movq 0x38(%rsp), %rcx
leaq (%rcx,%r14), %rbp
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rdx
pushq $0x2
popq %rcx
pushq %r10
pushq $-0x1
pushq %rax
pushq %rbp
pushq 0x158(%rsp)
pushq %r11
pushq %r8
pushq 0x158(%rsp)
callq 0xca0a7
addq $0x40, %rsp
movq %r13, (%r12)
movq (%rsp), %rbp
jmp 0xcaaa7
movq 0x140(%rsp), %r15
movq %r15, %rdx
subq 0x20(%rsp), %rdx
cmpq %rax, %rdx
movq 0x120(%rsp), %rbx
je 0xcac79
movl 0x10(%rcx), %edx
cmpq $0x3, %rdx
ja 0xcac79
leaq 0x2502d9(%rip), %rsi    # 0x31af14
movslq (%rsi,%rdx,4), %rdx
addq %rsi, %rdx
jmpq *%rdx
movq 0x128(%rsp), %r14
movq %r14, %r10
notq %r10
addq 0x8(%rcx), %r10
movq %r10, %r11
negq %r11
movq 0x30(%rsp), %rcx
cmpq %r11, %rcx
cmovaq %rcx, %r11
movq 0x158(%rsp), %r12
cmpq %r12, %rax
cmovlq %rax, %r12
jmp 0xcacbe
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rcx), %r10
movq 0x128(%rsp), %r14
movq %r14, %r11
subq %r10, %r11
movq 0x150(%rsp), %rcx
cmpq %rcx, %r11
cmovleq %rcx, %r11
decq %rax
movq 0x30(%rsp), %r12
cmpq %r12, %rax
cmovlq %rax, %r12
subq %r14, %r10
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
movq 0x18(%rsp), %rdx
movl 0xc(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x20(%rsp), %r9
pushq %r12
pushq %r11
pushq %rax
pushq %r15
pushq 0x158(%rsp)
pushq %r10
pushq %r14
pushq %rbx
callq 0xca0a7
addq $0x128, %rsp            # imm = 0x128
jmp 0xcac80
movq 0x36d267(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x21a308(%rip), %rsi    # 0x2e5013
leaq 0x25bcda(%rip), %rdx    # 0x3269ec
leaq 0x250453(%rip), %rcx    # 0x31b16c
leaq 0x25024b(%rip), %r8     # 0x31af6b
movl $0x330, %r9d            # imm = 0x330
jmp 0xcae15
movq 0x36d236(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x21a2d7(%rip), %rsi    # 0x2e5013
leaq 0x25bca9(%rip), %rdx    # 0x3269ec
leaq 0x250472(%rip), %rcx    # 0x31b1bc
leaq 0x25021a(%rip), %r8     # 0x31af6b
movl $0x119, %r9d            # imm = 0x119
jmp 0xcae15
movq 0x36d205(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x21a2a6(%rip), %rsi    # 0x2e5013
leaq 0x25040e(%rip), %rdx    # 0x31b182
leaq 0x25042c(%rip), %rcx    # 0x31b1a7
leaq 0x2501e9(%rip), %r8     # 0x31af6b
movl $0x12e, %r9d            # imm = 0x12E
jmp 0xcae15
movq 0x36d1d4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x21a275(%rip), %rsi    # 0x2e5013
leaq 0x25bc47(%rip), %rdx    # 0x3269ec
leaq 0x250434(%rip), %rcx    # 0x31b1e0
leaq 0x2501b8(%rip), %r8     # 0x31af6b
movl $0x203, %r9d            # imm = 0x203
jmp 0xcae15
movq 0x36d1a6(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x21a247(%rip), %rsi    # 0x2e5013
leaq 0x25bc19(%rip), %rdx    # 0x3269ec
leaq 0x2503cd(%rip), %rcx    # 0x31b1a7
leaq 0x25018a(%rip), %r8     # 0x31af6b
movl $0x133, %r9d            # imm = 0x133
jmp 0xcae15
movq 0x36d178(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x21a219(%rip), %rsi    # 0x2e5013
leaq 0x2ab43f(%rip), %rdx    # 0x376240
leaq 0x2503b4(%rip), %rcx    # 0x31b1bc
leaq 0x25015c(%rip), %r8     # 0x31af6b
movl $0xf2, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x36d140(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x21a1e1(%rip), %rsi    # 0x2e5013
leaq 0x25bbb3(%rip), %rdx    # 0x3269ec
leaq 0x25032c(%rip), %rcx    # 0x31b16c
leaq 0x250124(%rip), %r8     # 0x31af6b
movl $0x2d8, %r9d            # imm = 0x2D8
jmp 0xcae15
movq 0x36d112(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x21a1b3(%rip), %rsi    # 0x2e5013
leaq 0x25bb85(%rip), %rdx    # 0x3269ec
leaq 0x2502fe(%rip), %rcx    # 0x31b16c
leaq 0x2500f6(%rip), %r8     # 0x31af6b
movl $0x353, %r9d            # imm = 0x353
jmp 0xcae15
nopl (%rax)