// File: /workspace/github_c_makefile_star2_O2/thegenemyers[P]DASCRUBBER/align.c
// Function: Gap_Improver
void Gap_Improver(Alignment *aln, Work_Data *ework)
{ _Work_Data *work = (_Work_Data *) ework;
  int        *F, *H;
  int        *f, *h;

  char  *A, *B;
  int    x;
  int    p, q;
  int    d, m;
  int   *t, T;
  int    Fpos, Lpos, Fdag, Hamm, Gaps, Diag;
  int    passes;
 
  A = aln->aseq-1;
  B = aln->bseq-1;
  t = (int *) aln->path->trace;
  T = aln->path->tlen;
  F = (int *) work->vector;

  d = aln->path->abpos - aln->path->bbpos;
  q = t[0];
  x = 0;
  while (x < T)
    { p = q;
      m = x;
      Fdag = d;
      Fpos = p;
      Hamm = 0;
      Gaps = 1;
      while (1)
        { x += 1;
          q = 0;
          if (x >= T || (q = t[x]) != p)
            { m = x-m;
              if (p < 0)
                { d -= m;
                  if (q >= 0)
                    break;
                  if (p-q >= LONG_SNAKE)
                    break;
                  Hamm += hamming(A-p,B-(d+p),p-q);
                }
              else
                { d += m;
                  if (q <= 0)
                    break;
                  if (q-p >= LONG_SNAKE)
                    break;
                  Hamm += hamming(A+(p+d),B+p,q-p);
                }
              Gaps += 1;
              p = q;
              m = x;
            }
        }
      if (Gaps == 1)
        continue;
      Lpos = p;
      Diag = abs(Fdag-d)+1;

      // Process box

      p = Diag*(Gaps+Hamm+1)*sizeof(int);
      if (p > work->vecmax)
        { if (enlarge_vector(work,p))
            EXIT (1);
          F = (int *) work->vector;
        }
      H = F + Diag;

#ifdef BOX_STATS
      { int hgt  = Gaps+Hamm+1;
        int area = Diag*hgt;
        if (area > MaxBxArea)
          MaxBxArea = area;
        if (Diag > MaxBxWidth)
          MaxBxWidth = Diag;
        if (hgt > MaxBxHeight)
          MaxBxHeight = hgt;
        NumBx += 1;
        SumBx += area;
        if (area >= 10000)
          BxHist[100] += 1;
        else
          BxHist[area/100] += 1;
      }
#endif
#ifdef DEBUG_BOX
      printf("Box:  %5d :: %4d x %3d (%2d+%2d)  :: %5d .. %5d  %6d .. %6d\n",
             (Gaps+Hamm+1)*Diag,abs(Fpos-Lpos),Diag,Hamm,Gaps,Fpos,Lpos,Fdag,d);
      fflush(stdout);
#endif

      if (Fpos < 0)
        { Fpos = -Fpos;
          Lpos = -Lpos;

          while (A[Fpos-1] != B[(Fpos-Fdag)-1] && A[Fpos-1] != 4 && B[(Fpos-Fdag)-1] != 4)
            { Fpos -= 1;
#ifdef BOX_STATS
              BxExtend += 1;
#endif
            }
          while (A[Lpos] != B[Lpos-d] && A[Lpos] != 4 && B[Lpos-d] != 4)
            { Lpos += 1;
#ifdef BOX_STATS
              BxExtend += 1;
#endif
            }

          f = F;
          *f++ = p = Fpos + snake(A+Fpos,B+(Fpos-Fdag));
          for (m = Fdag-1; m >= d; m--)
            *f++ = Fpos-1;
          passes = 0;

#ifdef DEBUG_DP
          printf(" %2d:",passes);
          for (m = Fdag; m >= d; m--)
            printf(" %d",F[Fdag-m]);
          printf("\n");
          fflush(stdout);
#endif

          h = H;
          p = Fpos;
          while (p < Lpos)
            { int b, c;

              b = Fpos;
              c = 0;
              f = F;
              for (m = Fdag; m >= d; m--)
                { p = b;
                  if (*f >= b)
                    { b = *f;
                      c = 0;
                      p = b+1;
                    }
                  else
                    c += 1;
                  *h++ = c;
                  *f++ = p += snake(A+p,B+(p-m));
                }
              passes += 1;

#ifdef DEBUG_DP
              printf(" %2d:",passes);
              for (m = Fdag; m >= d; m--)
                printf(" %d(%2d)",F[Fdag-m],h[(d-m)-1]);
              printf("\n");
              fflush(stdout);
#endif
            }

          if (passes < Gaps+Hamm)
            { int y, k;

              p = Lpos;
              m = d;
              y = x;
#ifdef DEBUG_BACK
              printf("Short cut %d\n",(Gaps+Hamm)-passes);
              printf("Path (%d,%d)",p,m);
#endif
#ifdef BOX_STATS
              BxGaps += (Gaps+Hamm)-passes;
#endif
              while (h > H)
                { p -= rsnake(A+p,B+(p-m));
                  if (p < Fpos)
                    p = Fpos;
                  h -= Diag;
                  k = h[Fdag-m];
                  if (k == 0)
                    p -= 1;
                  else
                    { m += k;
                      for (; k > 0; k--)
                        t[--y] = -p;
                    }
#ifdef DEBUG_BACK
                  printf(" (%d,%d)",p,m);
#endif
                }
#ifdef DEBUG_BACK
              printf("\n");
#endif
            }
        }
      else
        { while (B[Fpos-1] != A[(Fpos+Fdag)-1] && B[Fpos-1] != 4 && A[(Fpos+Fdag)-1] != 4)
            { Fpos -= 1;
#ifdef BOX_STATS
              BxExtend += 1;
#endif
            }
          while (B[Lpos] != A[Lpos+d] && B[Lpos] != 4 && A[Lpos+d] != 4)
            { Lpos += 1;
#ifdef BOX_STATS
              BxExtend += 1;
#endif
            }

          f = F;
          *f++ = p = Fpos + snake(A+(Fpos+Fdag),B+Fpos);
          for (m = Fdag+1; m <= d; m++)
            *f++ = Fpos-1;
          passes = 0;

#ifdef DEBUG_DP
          printf(" %2d:",passes);
          for (m = Fdag; m <= d; m++) 
            printf(" %d",F[m-Fdag]);
          printf("\n");
          fflush(stdout);
#endif

          h = H;
          p = Fpos;
          while (p < Lpos)
            { int b, c;

              b = Fpos;
              c = 0;
              f = F;
              for (m = Fdag; m <= d; m++) 
                { p = b;
                  if (*f >= b)
                    { b = *f;
                      c = 0;
                      p = b+1;
                    }
                  else
                    c += 1;
                  *h++ = c; 
                  *f++ = p += snake(A+(m+p),B+p);
                }
              passes += 1;

#ifdef DEBUG_DP
              printf(" %2d:",passes);
              for (m = Fdag; m <= d; m++) 
                printf(" %d(%2d)",F[m-Fdag],h[(m-d)-1]);
              printf("\n");
              fflush(stdout);
#endif
            }

          if (passes < Gaps+Hamm)
            { int y, k;

              p = Lpos;
              m = d;
              y = x;
#ifdef DEBUG_BACK
              printf("Short cut %d\n",(Gaps+Hamm)-passes);
              printf("Path (%d,%d)",p,m);
#endif
#ifdef BOX_STATS
              BxGaps += (Gaps+Hamm)-passes;
#endif
              while (h > H)
                { p -= rsnake(A+(p+m),B+p);
                  if (p < Fpos)
                    p = Fpos;
                  h -= Diag;
                  k = h[m-Fdag];
                  if (k == 0)
                    p -= 1;
                  else
                    { m -= k;
                      for (; k > 0; k--)
                        t[--y] = p;
                    }
#ifdef DEBUG_BACK
                  printf(" (%d,%d)",p,m);
#endif
                }
#ifdef DEBUG_BACK
              printf("\n");
#endif
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq (%rdi), %rax
movq 0x10(%rdi), %rcx
leaq -0x1(%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x18(%rdi), %rdx
leaq -0x1(%rdx), %rdi
movq %rdi, 0x50(%rsp)
movq (%rax), %rdi
movslq 0x8(%rax), %r13
movl 0x10(%rax), %r8d
subl 0x14(%rax), %r8d
movq %rsi, 0x98(%rsp)
movq 0x8(%rsi), %rax
movq %rax, 0x60(%rsp)
movl (%rdi), %ebx
movq %rdi, 0x90(%rsp)
leaq 0x4(%rdi), %rax
movq %rax, 0xc0(%rsp)
movq %rdx, 0x80(%rsp)
leaq -0x2(%rdx), %rax
movq %rax, 0xb0(%rsp)
movq %rcx, 0x88(%rsp)
leaq -0x2(%rcx), %rax
movq %rax, 0xa8(%rsp)
xorl %esi, %esi
movq %r13, 0x78(%rsp)
cmpl %r13d, %esi
jge 0x10cf2
movslq %esi, %rbp
xorl %edi, %edi
movl %ebx, 0x20(%rsp)
movl %ebx, %r12d
movl %r8d, 0xc(%rsp)
pushq $0x1
popq %rax
movq %rax, 0x10(%rsp)
movq 0xc0(%rsp), %rax
leaq (%rax,%rbp,4), %rcx
xorl %edx, %edx
movq %rbp, %rax
movq %rdx, %r14
incq %rax
leaq (%rdx,%rbp), %r15
incq %r15
cmpq %r13, %r15
jge 0x105b7
movl (%rcx,%r14,4), %ebx
leaq 0x1(%r14), %rdx
cmpl %r12d, %ebx
je 0x10596
jmp 0x105b9
xorl %ebx, %ebx
subl %esi, %eax
movl %r12d, %ecx
movq %rcx, 0x28(%rsp)
movslq %r12d, %r11
testl %r12d, %r12d
movl %edi, 0x18(%rsp)
js 0x10615
testl %ebx, %ebx
jle 0x10681
movl %ebx, %edx
subl %r12d, %edx
cmpl $0x31, %edx
jg 0x1068f
leal (%r8,%rbp), %r13d
subl %esi, %r13d
incl %r13d
addq %r14, %r13
addl %r8d, %r12d
addl %ebp, %r12d
subl %esi, %r12d
leal (%r12,%r14), %eax
incl %eax
movslq %eax, %rdi
addq 0x58(%rsp), %rdi
movq 0x28(%rsp), %rsi
addq 0x50(%rsp), %rsi
jmp 0x10654
testl %ebx, %ebx
jns 0x10697
leal (%r8,%rsi), %eax
movl %r12d, %edx
subl %ebx, %edx
cmpl $0x32, %edx
jge 0x1069c
movl %ebp, %r13d
notl %r13d
addl %eax, %r13d
subq %r14, %r13
movq 0x58(%rsp), %rdi
subq %r11, %rdi
addl %r8d, %r12d
addl %esi, %r12d
notl %ebp
addl %r12d, %ebp
subl %r14d, %ebp
movslq %ebp, %rax
movq 0x50(%rsp), %rsi
subq %rax, %rsi
callq 0x10d04
movl %r13d, %r8d
movl 0x18(%rsp), %edi
addl %eax, %edi
movq 0x10(%rsp), %rax
incl %eax
movq %rax, 0x10(%rsp)
movq %r15, %rbp
movl %ebx, %r12d
movl %r15d, %esi
movq 0x78(%rsp), %r13
jmp 0x10585
addl %ebp, %r8d
subl %esi, %r8d
addl %r14d, %r8d
incl %r8d
jmp 0x106a8
addl %r8d, %eax
movl %eax, %r8d
jmp 0x106a8
subl %eax, %r8d
jmp 0x106a8
movl %ebp, %r8d
notl %r8d
addl %eax, %r8d
subl %r14d, %r8d
leal (%r14,%rbp), %esi
incl %esi
movq 0x10(%rsp), %rax
cmpl $0x1, %eax
movl 0xc(%rsp), %edx
je 0x10563
movq %rax, %rcx
movl %edx, %eax
subl %r8d, %eax
movl %eax, %r15d
negl %r15d
cmovsl %eax, %r15d
incl %r15d
addl %edi, %ecx
movq %rcx, 0x10(%rsp)
leal 0x4(,%rcx,4), %esi
imull %r15d, %esi
movq 0x98(%rsp), %rax
cmpl (%rax), %esi
movq %r8, 0x30(%rsp)
jle 0x10725
movq 0x98(%rsp), %r13
movq %r13, %rdi
movq %r11, 0x18(%rsp)
callq 0x3017
movq 0x18(%rsp), %r11
movq 0x30(%rsp), %r8
movq 0x8(%r13), %rax
movq %rax, 0x60(%rsp)
movq 0x78(%rsp), %r13
leaq (%r14,%rbp), %rax
incq %rax
movq %rax, 0x48(%rsp)
movl %r15d, %ecx
movq 0x60(%rsp), %rax
movq %rcx, 0x38(%rsp)
leaq (%rax,%rcx,4), %rax
movq %rax, 0x70(%rsp)
movslq %r8d, %rax
movl 0x20(%rsp), %r10d
testl %r10d, %r10d
js 0x10a07
movslq 0xc(%rsp), %rdx
movl %r10d, %r15d
movq %r15, %rsi
shlq $0x20, %rsi
movabsq $0x100000000, %rcx      # imm = 0x100000000
addq %rcx, %rsi
movq 0x88(%rsp), %rcx
movq %rdx, 0x40(%rsp)
leaq (%rcx,%rdx), %rdi
movq 0xb0(%rsp), %rcx
xorl %r14d, %r14d
pushq $0x1
popq %rbp
movabsq $-0x100000000, %r9      # imm = 0xFFFFFFFF00000000
movb -0x2(%rdi,%r15), %dl
addq %r9, %rsi
decq %rbp
decq %rdi
decq %r14
cmpb $0x4, %dl
je 0x107c5
movb (%rcx,%r15), %r8b
cmpb $0x4, %r8b
je 0x107c5
decq %rcx
cmpb %dl, %r8b
jne 0x1079d
leaq (%r15,%rbp), %rcx
movq %rcx, 0x20(%rsp)
addq %r15, %rdi
addq 0x88(%rsp), %rax
addq %r11, %rax
addq 0x80(%rsp), %r11
pushq $-0x1
popq %rdx
movb (%rax,%rdx), %cl
leaq 0x1(%rdx), %r12
cmpb $0x4, %cl
je 0x10805
movb (%r11,%rdx), %r8b
cmpb $0x4, %r8b
je 0x10805
movq %r12, %rdx
cmpb %cl, %r8b
jne 0x107e7
addq %r15, %r14
sarq $0x20, %rsi
addq 0x50(%rsp), %rsi
callq 0x10d32
addl %r15d, %ebp
addl %eax, %ebp
movq 0x60(%rsp), %rax
movl %ebp, (%rax)
addq $0x4, %rax
movq 0x30(%rsp), %r8
movq 0x48(%rsp), %rsi
movl 0xc(%rsp), %ecx
movq 0x28(%rsp), %rdx
cmpl %r8d, %ecx
jge 0x10849
incl %ecx
movl %r14d, (%rax)
addq $0x4, %rax
jmp 0x10839
addq %r12, %rdx
xorl %eax, %eax
movq 0x20(%rsp), %r14
movq 0x70(%rsp), %r9
movq %rdx, 0x28(%rsp)
cmpl %edx, %r14d
jge 0x108fd
movl %eax, 0xc(%rsp)
xorl %r12d, %r12d
movq 0x40(%rsp), %r13
movq 0x60(%rsp), %rcx
movq 0x20(%rsp), %rax
movl %eax, %r15d
cmpl %r8d, %r13d
jg 0x108e8
movl (%rcx), %eax
movq %rcx, 0x18(%rsp)
leal 0x1(%rax), %ecx
incl %r12d
cmpl %r15d, %eax
cmovll %r15d, %ecx
cmovgl %eax, %r15d
movl $0x0, %eax
cmovgel %eax, %r12d
movl %r12d, (%r9)
addq $0x4, %r9
movslq %ecx, %r14
movq 0x58(%rsp), %rax
leaq (%rax,%r13), %rdi
addq %r14, %rdi
movq 0x50(%rsp), %rax
leaq (%rax,%r14), %rsi
movq %r9, %rbp
callq 0x10d32
movq 0x18(%rsp), %rcx
movq %rbp, %r9
movq 0x30(%rsp), %r8
addl %eax, %r14d
movl %r14d, (%rcx)
addq $0x4, %rcx
incq %r13
jmp 0x1087f
movl 0xc(%rsp), %eax
incl %eax
movq 0x48(%rsp), %rsi
movq 0x28(%rsp), %rdx
jmp 0x1085d
cmpl 0x10(%rsp), %eax
movq 0x78(%rsp), %r13
jge 0x10563
movq 0x38(%rsp), %rdi
shlq $0x2, %rdi
negq %rdi
movq 0x40(%rsp), %rdx
shlq $0x2, %rdx
negq %rdx
movl %r8d, %r10d
movq %rsi, 0x10(%rsp)
movq %rdi, 0x38(%rsp)
movq %rdx, 0x40(%rsp)
movq %r9, %r15
addq %rdi, %r9
movslq %r10d, %rcx
leaq (%rdx,%rcx,4), %rcx
movq %rcx, 0x18(%rsp)
cmpq 0x70(%rsp), %r15
jbe 0x10563
movq 0x28(%rsp), %r14
movq %r10, %rbp
leal (%r10,%r14), %eax
movslq %eax, %rdi
addq 0x58(%rsp), %rdi
movslq %r14d, %r14
movq 0x50(%rsp), %rax
leaq (%rax,%r14), %rsi
movq %r9, %r12
callq 0x10d47
movq %r12, %r9
subl %eax, %r14d
movq 0x20(%rsp), %rax
cmpl %eax, %r14d
cmovlel %eax, %r14d
movq 0x18(%rsp), %rax
movl (%r12,%rax), %eax
testl %eax, %eax
jne 0x109bc
decl %r14d
movq %r14, 0x28(%rsp)
movq 0x38(%rsp), %rax
addq %rax, %r9
addq %rax, %r15
movq 0x30(%rsp), %r8
movq 0x48(%rsp), %rsi
movq %rbp, %r10
jmp 0x10948
movq 0x10(%rsp), %r11
movslq %r11d, %r11
movl %eax, %ecx
movq 0x90(%rsp), %rdx
movq 0x30(%rsp), %r8
movq 0x48(%rsp), %rsi
movq 0x38(%rsp), %rdi
movq %rbp, %r10
testl %ecx, %ecx
jle 0x109f0
movl %r14d, -0x4(%rdx,%r11,4)
decq %r11
decl %ecx
jmp 0x109e0
movq %r11, 0x10(%rsp)
movq %r14, 0x28(%rsp)
subl %eax, %r10d
movq 0x40(%rsp), %rdx
jmp 0x10936
negl %r10d
movslq %r10d, %rsi
movslq 0xc(%rsp), %rdx
movq %rsi, %rdi
shlq $0x20, %rdi
movabsq $0x100000000, %rcx      # imm = 0x100000000
addq %rcx, %rdi
movq 0xa8(%rsp), %rcx
addq %rsi, %rcx
movq %rdx, 0x68(%rsp)
subq %rdx, %rsi
addq 0x80(%rsp), %rsi
xorl %edx, %edx
movb -0x2(%rsi,%rdx), %r8b
movabsq $-0x100000000, %r9      # imm = 0xFFFFFFFF00000000
addq %r9, %rdi
leaq -0x1(%rdx), %r15
cmpb $0x4, %r8b
je 0x10a71
movb (%rcx,%rdx), %r9b
cmpb $0x4, %r9b
je 0x10a71
movq %r15, %rdx
cmpb %r8b, %r9b
jne 0x10a43
negl %r12d
movl %r10d, 0x20(%rsp)
movl %r10d, %r14d
leaq (%r14,%r15), %rcx
incq %rcx
movq %rcx, 0x40(%rsp)
movslq %r12d, %rcx
addq %r15, %rsi
movq 0x80(%rsp), %rdx
subq %rax, %rdx
addq %rcx, %rdx
addq 0x88(%rsp), %rcx
pushq $-0x1
popq %r8
movb (%rdx,%r8), %al
leaq 0x1(%r8), %rbp
cmpb $0x4, %al
je 0x10ac6
movb (%rcx,%r8), %r9b
cmpb $0x4, %r9b
je 0x10ac6
movq %rbp, %r8
cmpb %al, %r9b
jne 0x10aa8
addq %r15, %r14
sarq $0x20, %rdi
addq 0x58(%rsp), %rdi
callq 0x10d32
addl 0x20(%rsp), %eax
addl %r15d, %eax
incl %eax
movq 0x60(%rsp), %rcx
movl %eax, (%rcx)
leaq 0x4(%rcx), %rax
movl 0xc(%rsp), %edx
movl %edx, %ecx
movq 0x30(%rsp), %r8
movq 0x48(%rsp), %rsi
movq 0x68(%rsp), %rdi
cmpl %r8d, %ecx
jle 0x10b10
decl %ecx
movl %r14d, (%rax)
addq $0x4, %rax
jmp 0x10b00
movl %r12d, %eax
addq %rbp, %rax
movq %rax, 0xa0(%rsp)
movq 0x50(%rsp), %rax
subq %rdi, %rax
movq %rax, 0xb8(%rsp)
xorl %eax, %eax
movq 0x40(%rsp), %rbp
movq 0x70(%rsp), %r10
cmpl 0xa0(%rsp), %ebp
jge 0x10be7
movl %eax, 0x20(%rsp)
xorl %r14d, %r14d
movq 0xb8(%rsp), %r13
movq 0x60(%rsp), %rcx
movq 0x40(%rsp), %rax
movl %eax, %r15d
cmpl %r8d, %edx
jl 0x10bce
movl (%rcx), %eax
movl %edx, 0x18(%rsp)
movq %rcx, 0x28(%rsp)
leal 0x1(%rax), %ecx
incl %r14d
cmpl %r15d, %eax
cmovll %r15d, %ecx
cmovgl %eax, %r15d
movl $0x0, %eax
cmovgel %eax, %r14d
movl %r14d, (%r10)
addq $0x4, %r10
movslq %ecx, %rbp
movq 0x58(%rsp), %rax
leaq (%rax,%rbp), %rdi
movq %r13, %rsi
addq %rbp, %rsi
movq %r10, %r12
callq 0x10d32
movq 0x28(%rsp), %rcx
movl 0x18(%rsp), %edx
movq %r12, %r10
movq 0x30(%rsp), %r8
addl %eax, %ebp
movl %ebp, (%rcx)
addq $0x4, %rcx
decl %edx
incq %r13
jmp 0x10b63
movl 0x20(%rsp), %eax
incl %eax
movq 0x78(%rsp), %r13
movq 0x48(%rsp), %rsi
movl 0xc(%rsp), %edx
jmp 0x10b3a
cmpl 0x10(%rsp), %eax
movq 0xa0(%rsp), %r12
jge 0x10563
movq 0x38(%rsp), %rdi
shlq $0x2, %rdi
negq %rdi
movq 0x68(%rsp), %r15
shlq $0x2, %r15
movl %r8d, %r11d
movq %rsi, 0x10(%rsp)
movq %r15, 0x68(%rsp)
movq %rdi, 0x38(%rsp)
movq %r10, %r14
addq %rdi, %r10
movslq %r11d, %rcx
shlq $0x2, %rcx
subq %rcx, %r15
movq %r15, 0x18(%rsp)
cmpq 0x70(%rsp), %r14
jbe 0x10563
movslq %r12d, %r12
movq 0x58(%rsp), %rax
leaq (%rax,%r12), %rdi
movl %r12d, %eax
movl %r11d, %ebp
subl %r11d, %eax
movslq %eax, %rsi
addq 0x50(%rsp), %rsi
movq %r10, %r15
callq 0x10d47
movq %r15, %r10
subl %eax, %r12d
movq 0x40(%rsp), %rax
cmpl %eax, %r12d
cmovlel %eax, %r12d
movq 0x18(%rsp), %rax
movl (%r15,%rax), %eax
testl %eax, %eax
jne 0x10ca1
decl %r12d
movq 0x38(%rsp), %rax
addq %rax, %r10
addq %rax, %r14
movq 0x30(%rsp), %r8
movq 0x48(%rsp), %rsi
movl %ebp, %r11d
jmp 0x10c35
movq %r12, %r9
movl %r12d, %ecx
negl %ecx
movq 0x10(%rsp), %r14
movslq %r14d, %r14
movl %eax, %edx
movq 0x90(%rsp), %rsi
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %rdi
movq 0x68(%rsp), %r15
movl %ebp, %r11d
testl %edx, %edx
jle 0x10cdd
movl %ecx, -0x4(%rsi,%r14,4)
decq %r14
decl %edx
jmp 0x10ccd
movq %r14, 0x10(%rsp)
addl %eax, %r11d
movq 0x48(%rsp), %rsi
movq %r9, %r12
jmp 0x10c20
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq