// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/xdrop.c
// Function: gt_showfrontvalues
void gt_showfrontvalues(const GtArrayGtXdropfrontvalue *fronts,
                       GtWord distance,
                       const unsigned char *useqptr,
                       const unsigned char *vseqptr,
                       GtWord ulen,
                       GtWord vlen)
{
  GtUword l, max_l;
  GtWord i, j, k, d, filled = 0, integermax = GT_MAX(ulen,vlen),
       integermin = -integermax;

  printf("frontvalues:\n");
  printf("        ");
  printf("%-3c ", vseqptr[0]);
  /* print vseq */
  max_l = GT_MIN(fronts->nextfreeGtXdropfrontvalue,
              (GtUword) GT_XDROP_FRONTIDX(distance, distance));
  for (i = 1L; i < vlen; i++)
    printf("%-3c ", vseqptr[i]);

  for (i = 0; i <= ulen; i++) {
    printf("\n");
    /* print useq */
    if (i != 0)
      printf("%-3c ", useqptr[i - 1]);
    else
      printf("    ");

    for (j = 0; j <= vlen; j++) {
      d = distance + 1;
      k = i - j;
      for (l = 0; l < max_l; l++) {
        if (fronts->spaceGtXdropfrontvalue[l].row == integermin)
          continue;

        if (i == fronts->spaceGtXdropfrontvalue[l].row) {
          for (d = 0; d <= distance; d++) {
            if (k >= -d && k <= d && l == GT_XDROP_FRONTIDX(d, i - j)) {
#ifndef S_SPLINT_S
              printf("%-3" GT_WDS " ", d);
#else
              printf("%-3ld ", d);
#endif
              l = fronts->nextfreeGtXdropfrontvalue;
              filled++;
              break;
            }
          }
        }
      }
      if (d > distance)
        printf(".   ");

    }
  }
  printf("\n%.2f percent of matrix filled\n",
           (double) filled * 100.00 / ((ulen + 1) * (vlen + 1)));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %r12
movq %rcx, %r14
movq %rdx, 0x28(%rsp)
movq %rsi, %rbx
movq %rdi, %r13
cmpq %r9, %r8
movq %r9, %rax
movq %r8, 0x10(%rsp)
cmovgq %r8, %rax
movq %rax, (%rsp)
leaq 0x1b9f7a(%rip), %rdi    # 0x3bd117
callq 0x17bd0
leaq 0x180607(%rip), %rdi    # 0x3837b0
xorl %eax, %eax
callq 0x17070
movzbl (%r14), %esi
leaq 0x1b9bb1(%rip), %rdi    # 0x3bcd6c
xorl %eax, %eax
callq 0x17070
movq 0x10(%r13), %rax
leaq 0x2(%rbx), %rbp
movq %rbx, 0x8(%rsp)
imulq %rbx, %rbp
cmpq %rbp, %rax
cmovbq %rax, %rbp
cmpq $0x2, %r12
jl 0x203203
movl $0x1, %ebx
leaq 0x1b9b80(%rip), %r15    # 0x3bcd6c
movzbl (%r14,%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x17070
incq %rbx
cmpq %rbx, %r12
jne 0x2031ec
movq %r12, 0x18(%rsp)
cmpq $0x0, 0x10(%rsp)
js 0x2033a3
movq (%rsp), %r8
negq %r8
movq 0x8(%rsp), %rax
leaq 0x1(%rax), %r15
xorl %r12d, %r12d
movq $0x0, 0x20(%rsp)
movq 0x18(%rsp), %rbx
movq %r8, (%rsp)
movl $0xa, %edi
callq 0x17a20
testq %r12, %r12
je 0x203263
movq 0x28(%rsp), %rax
movzbl -0x1(%rax,%r12), %esi
leaq 0x1b9b12(%rip), %rdi    # 0x3bcd6c
xorl %eax, %eax
callq 0x17070
jmp 0x203271
leaq 0x18054a(%rip), %rdi    # 0x3837b4
xorl %eax, %eax
callq 0x17070
testq %rbx, %rbx
movq 0x8(%rsp), %rdi
movq (%rsp), %r8
movl $0x0, %r9d
js 0x20337f
xorl %eax, %eax
testq %rbp, %rbp
movq %rax, 0x30(%rsp)
je 0x203346
movq %r12, %rbx
subq %rax, %rbx
xorl %eax, %eax
movq %r15, %r14
testq %rdi, %rdi
sets %cl
movq (%r13), %rdx
movq %rax, %rsi
shlq $0x4, %rsi
movq (%rdx,%rsi), %rdx
cmpq %r8, %rdx
sete %sil
cmpq %rdx, %r12
setne %dl
orb %sil, %dl
orb %dl, %cl
testb %dl, %dl
cmoveq %r9, %r14
testb %cl, %cl
jne 0x203338
xorl %ecx, %ecx
xorl %r14d, %r14d
cmpq %rcx, %rbx
setl %dl
cmpq %r14, %rbx
setg %sil
orb %dl, %sil
leaq 0x1(%r14), %rdx
testb %sil, %sil
jne 0x203302
movq %rdx, %rsi
imulq %r14, %rsi
addq %rbx, %rsi
cmpq %rsi, %rax
je 0x203312
decq %rcx
movq %rdx, %r14
cmpq %rdx, %r15
jne 0x2032da
movq %r15, %r14
jmp 0x203338
leaq 0x1b9a59(%rip), %rdi    # 0x3bcd72
movq %r14, %rsi
xorl %eax, %eax
callq 0x17070
xorl %r9d, %r9d
movq (%rsp), %r8
movq 0x8(%rsp), %rdi
movq 0x10(%r13), %rax
incq 0x20(%rsp)
incq %rax
cmpq %rbp, %rax
jb 0x2032a4
jmp 0x203349
movq %r15, %r14
cmpq %rdi, %r14
jle 0x203368
leaq 0x1b9a24(%rip), %rdi    # 0x3bcd79
xorl %eax, %eax
callq 0x17070
xorl %r9d, %r9d
movq (%rsp), %r8
movq 0x8(%rsp), %rdi
movq 0x30(%rsp), %rcx
leaq 0x1(%rcx), %rax
movq 0x18(%rsp), %rbx
cmpq %rbx, %rcx
jne 0x20328b
leaq 0x1(%r12), %rax
cmpq 0x10(%rsp), %r12
movq %rax, %r12
jne 0x203239
cvtsi2sdq 0x20(%rsp), %xmm0
mulsd 0x14643f(%rip), %xmm0   # 0x3497e0
jmp 0x2033ac
xorpd %xmm0, %xmm0
movq 0x18(%rsp), %rbx
movq 0x10(%rsp), %rax
incq %rax
incq %rbx
imulq %rax, %rbx
cvtsi2sd %rbx, %xmm1
divsd %xmm1, %xmm0
leaq 0x1b99b3(%rip), %rdi    # 0x3bcd7e
movb $0x1, %al
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x17070