// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/eis-seqranges.c
// Function: gt_SRLPrintRangesInfo
int
gt_SRLPrintRangesInfo(struct seqRangeList *rangeList,
                   FILE *fp,
                   GtUword start,
                   GtUword len,
                   seqRangeListSearchHint *hint)
{
  struct seqRange *nextRange;
  GtUword end = start + len;
  unsigned symBits = rangeList->symBits;
  int result = 0;
  gt_assert(rangeList);
  nextRange = gt_SRLFindPositionNext(rangeList, start, hint);
  while (nextRange->startPos < end)
  {
    if (rangeList->partialSymSums)
    {
      size_t numSyms = gt_MRAEncGetSize(rangeList->alphabet);
      size_t pOff = nextRange - rangeList->ranges;
      Symbol sym;
      fputs("# range partial sums:", fp);
      for (sym = 0; sym < numSyms; ++sym)
        fprintf(fp, " sum[%u]="GT_WU"",
                MRAEncRevMapSymbol(rangeList->alphabet, sym),
                rangeList->partialSymSums[pOff * numSyms + sym]);
      fputs("\n", fp);
    }
    if (result +=
        fprintf(fp, "# range overlap: symbol %u, start="GT_WU", length="
                GT_WU"\n", MRAEncRevMapSymbol(rangeList->alphabet,
                                              seqRangeSym(nextRange, symBits)),
                nextRange->startPos, seqRangeLen(nextRange, symBits)) < 0)
    {
      result = -1;
      break;
    }
    ++nextRange;
  }
  return result;
}

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq %r8, 0x60(%rsp)
movq 0x70(%rsp), %rax
addq 0x68(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x80(%rsp), %rax
movl 0x28(%rax), %eax
movl %eax, 0x4c(%rsp)
movl $0x0, 0x48(%rsp)
cmpq $0x0, 0x80(%rsp)
jne 0x4b267c
movq 0x189955(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x639be(%rip), %rsi     # 0x516013
leaq 0x104b6a(%rip), %rdx    # 0x5b71c6
leaq 0x104ccd(%rip), %rcx    # 0x5b7330
leaq 0x104b42(%rip), %r8     # 0x5b71ac
movl $0x2e1, %r9d            # imm = 0x2E1
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4b267e
movq 0x80(%rsp), %rdi
movq 0x70(%rsp), %rsi
movq 0x60(%rsp), %rdx
callq 0x4b0c80
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rax
movq (%rax), %rax
cmpq 0x50(%rsp), %rax
jae 0x4b283a
movq 0x80(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x4b278e
movq 0x80(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x22aeb0
movzwl %ax, %eax
movq %rax, 0x40(%rsp)
movq 0x58(%rsp), %rax
movq 0x80(%rsp), %rcx
movq 0x10(%rcx), %rcx
subq %rcx, %rax
sarq $0x4, %rax
movq %rax, 0x38(%rsp)
movq 0x78(%rsp), %rsi
leaq 0x104c44(%rip), %rdi    # 0x5b7346
callq 0x19810
movb $0x0, 0x37(%rsp)
movzbl 0x37(%rsp), %eax
cmpq 0x40(%rsp), %rax
jae 0x4b277d
movq 0x78(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x80(%rsp), %rax
movq 0x20(%rax), %rdi
movzbl 0x37(%rsp), %esi
callq 0x4b0b90
movq 0x28(%rsp), %rdi
movzbl %al, %edx
movq 0x80(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x38(%rsp), %rcx
imulq 0x40(%rsp), %rcx
movzbl 0x37(%rsp), %esi
addq %rsi, %rcx
movq (%rax,%rcx,8), %rcx
leaq 0x104bf2(%rip), %rsi    # 0x5b735c
movb $0x0, %al
callq 0x199f0
movb 0x37(%rsp), %al
addb $0x1, %al
movb %al, 0x37(%rsp)
jmp 0x4b270c
movq 0x78(%rsp), %rsi
leaq 0xe0aea(%rip), %rdi     # 0x593273
callq 0x19810
movq 0x78(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x80(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x58(%rsp), %rdi
movl 0x4c(%rsp), %esi
callq 0x4b06d0
movq 0x8(%rsp), %rdi
movzbl %al, %esi
callq 0x4b0b90
movzbl %al, %eax
movl %eax, 0x1c(%rsp)
movq 0x58(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x58(%rsp), %rdi
movl 0x4c(%rsp), %esi
callq 0x4b06a0
movq 0x10(%rsp), %rdi
movl 0x1c(%rsp), %edx
movq 0x20(%rsp), %rcx
movq %rax, %r8
leaq 0x104b6b(%rip), %rsi    # 0x5b7369
movb $0x0, %al
callq 0x199f0
cmpl $0x0, %eax
setl %al
andb $0x1, %al
movzbl %al, %eax
addl 0x48(%rsp), %eax
movl %eax, 0x48(%rsp)
cmpl $0x0, %eax
je 0x4b2827
movl $0xffffffff, 0x48(%rsp) # imm = 0xFFFFFFFF
jmp 0x4b283a
movq 0x58(%rsp), %rax
addq $0x10, %rax
movq %rax, 0x58(%rsp)
jmp 0x4b269a
movl 0x48(%rsp), %eax
addq $0x88, %rsp
retq
nopw %cs:(%rax,%rax)