// File: /workspace/github_c_makefile_star2_O3/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 0x32389a
movq %rdi, %rbx
movl 0xc(%rdi), %eax
testl %eax, %eax
je 0x32389f
movl %esi, %ebp
movq (%rbx), %rcx
decl %eax
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
movsd 0x18(%rcx,%rax), %xmm0
unpcklps 0x24123(%rip), %xmm0    # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x2412b(%rip), %xmm0    # 0x3478f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movapd %xmm1, 0x10(%rsp)
xorl %r13d, %r13d
leaq 0xc1129(%rip), %r14     # 0x3e490a
leaq 0xc1170(%rip), %r15     # 0x3e4958
xorl %r12d, %r12d
movq (%rbx), %rax
movq 0x8(%rax,%r13), %rdx
movq %rdx, %xmm1
punpckldq 0x240e0(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x240e8(%rip), %xmm1    # 0x3478f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x25fc4(%rip), %xmm0    # 0x3497e0
divsd 0x10(%rsp), %xmm0
testb %bpl, %bpl
je 0x32384d
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 0x103d72
jmp 0x323863
movq (%rax,%r13), %rcx
movq 0x10(%rax,%r13), %r8
movq %r15, %rdi
movl %r12d, %esi
movb $0x1, %al
callq 0x103d72
incq %r12
movl 0xc(%rbx), %eax
addq $0x30, %r13
cmpq %rax, %r12
jb 0x3237eb
movq %rbx, %rdi
callq 0x3238ca
leaq 0x9504b(%rip), %rdi     # 0x3b88d0
movb $0x1, %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x103d72
callq 0x947c7
callq 0x94790