// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-sfx-partssuf.c
// Function: gt_suftabparts_rc_showallrecords
void gt_suftabparts_rc_showallrecords(const GtSuftabparts_rc *suftabparts_rc,
                                   bool withminmaxindex)
{
  unsigned int part;
  GtUword totalwidth;

  gt_assert(suftabparts_rc != NULL);
  gt_assert(suftabparts_rc->numofparts >= 1U);
  totalwidth =
    suftabparts_rc->components[suftabparts_rc->numofparts - 1].sumofwidth;
  for (part = 0; part < suftabparts_rc->numofparts; part++)
  {
    if (withminmaxindex)
    {
      gt_log_log("part %u: width=" GT_WU " (%.2f%%) offset=" GT_WU " nextidx="
                 GT_WU " minindex=" GT_WU " maxindex=" GT_WU " ",
                 part,
                 suftabparts_rc->components[part].widthofpart,
                 100.00 * (double) suftabparts_rc->components[part].widthofpart/
                   totalwidth,
                 suftabparts_rc->components[part].suftaboffset,
                 suftabparts_rc->components[part].nextidx,
                 gt_suftabparts_rc_minindex(part,suftabparts_rc),
                 gt_suftabparts_rc_maxindex(part,suftabparts_rc));
    } else
    {
      gt_log_log("part %u: width=" GT_WU " (%.2f%%) offset=" GT_WU " nextidx="
                 GT_WU,
                 part,
                 suftabparts_rc->components[part].widthofpart,
                 100.00 * (double) suftabparts_rc->components[part].widthofpart/
                   totalwidth,
                 suftabparts_rc->components[part].nextidx,
                 suftabparts_rc->components[part].suftaboffset);
    }
  }
  gt_log_log("variance %.0f",gt_suftabparts_rc_variance(suftabparts_rc));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0x2c4c4a
movq %rdi, %rbx
movl 0xc(%rdi), %eax
testl %eax, %eax
je 0x2c4c74
movl %esi, %ebp
movq (%rbx), %rcx
leal -0x1(%rax), %edx
imulq $0x30, %rdx, %rdx
movsd 0x18(%rcx,%rdx), %xmm0
unpcklps 0x22d7a(%rip), %xmm0    # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x22d82(%rip), %xmm0    # 0x2e78f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movapd %xmm1, 0x10(%rsp)
xorl %r13d, %r13d
leaq 0xc0160(%rip), %r14     # 0x384cea
leaq 0xc01a7(%rip), %r15     # 0x384d38
xorl %r12d, %r12d
movl %eax, %eax
cmpq %rax, %r12
jae 0x2c4c26
movq (%rbx), %rax
movq 0x8(%rax,%r13), %rdx
movq %rdx, %xmm1
punpckldq 0x22d2c(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x22d34(%rip), %xmm1    # 0x2e78f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x24c10(%rip), %xmm0    # 0x2e97e0
divsd 0x10(%rsp), %xmm0
testb %bpl, %bpl
je 0x2c4c01
movq (%rax,%r13), %r8
movq 0x10(%rax,%r13), %rcx
movq 0x20(%rax,%r13), %r9
movq 0x28(%rax,%r13), %rax
movq %rax, (%rsp)
movq %r14, %rdi
movl %r12d, %esi
movb $0x1, %al
callq 0x92a82
jmp 0x2c4c17
movq (%rax,%r13), %rcx
movq 0x10(%rax,%r13), %r8
movq %r15, %rdi
movl %r12d, %esi
movb $0x1, %al
callq 0x92a82
incq %r12
movl 0xc(%rbx), %eax
addq $0x30, %r13
jmp 0x2c4b94
movq %rbx, %rdi
callq 0x2c4cc8
leaq 0x940fb(%rip), %rdi     # 0x358d30
movb $0x1, %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x92a82
movq 0x173317(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x203b8(%rip), %rsi     # 0x2e5013
leaq 0x877e5(%rip), %rdx     # 0x34c447
leaq 0xc001a(%rip), %rcx     # 0x384c83
leaq 0xc0034(%rip), %r8      # 0x384ca4
pushq $0x37
jmp 0x2c4c9c
movq 0x1732ed(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2038e(%rip), %rsi     # 0x2e5013
leaq 0xc003d(%rip), %rdx     # 0x384cc9
leaq 0xbfff0(%rip), %rcx     # 0x384c83
leaq 0xc000a(%rip), %r8      # 0x384ca4
pushq $0x38
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390