// File: /workspace/github_c_makefile_star2_O1/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 0x32dc66
movq %rdi, %rbx
movl 0xc(%rdi), %eax
testl %eax, %eax
je 0x32dc6b
cmpl $0x0, 0xc(%rbx)
je 0x32dc42
movl %esi, %ebp
movq (%rbx), %rcx
decl %eax
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
movsd 0x18(%rcx,%rax), %xmm0
unpcklps 0x22d5d(%rip), %xmm0    # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x22d65(%rip), %xmm0    # 0x3508f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movapd %xmm1, 0x10(%rsp)
xorl %r13d, %r13d
leaq 0xc0527(%rip), %r14     # 0x3ee0ce
leaq 0xc056e(%rip), %r15     # 0x3ee11c
xorl %r12d, %r12d
movq (%rbx), %rax
movq 0x8(%rax,%r13), %rdx
movq %rdx, %xmm1
punpckldq 0x22d1a(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x22d22(%rip), %xmm1    # 0x3508f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x24c0e(%rip), %xmm0    # 0x3527f0
testb %bpl, %bpl
je 0x32dc13
divsd 0x10(%rsp), %xmm0
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 0x108e02
jmp 0x32dc2f
divsd 0x10(%rsp), %xmm0
movq (%rax,%r13), %rcx
movq 0x10(%rax,%r13), %r8
movq %r15, %rdi
movl %r12d, %esi
movb $0x1, %al
callq 0x108e02
incq %r12
movl 0xc(%rbx), %eax
addq $0x30, %r13
cmpq %rax, %r12
jb 0x32dbb1
movq %rbx, %rdi
callq 0x32dc96
leaq 0x942f1(%rip), %rdi     # 0x3c1f42
movb $0x1, %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x108e02
callq 0x96785
callq 0x9674e