// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/tyr-mkindex.c
// Function: gt_merstatistics
int gt_merstatistics(const char *inputindex,
                  GtUword mersize,
                  GtUword minocc,
                  GtUword maxocc,
                  const char *storeindex,
                  bool storecounts,
                  bool scanfile,
                  bool performtest,
                  GtLogger *logger,
                  GtError *err)
{
  bool haserr = false;
  Sequentialsuffixarrayreader *ssar;

  gt_error_check(err);
  ssar = gt_newSequentialsuffixarrayreaderfromfile(inputindex,
                                                SARR_LCPTAB |
                                                SARR_SUFTAB |
                                                SARR_ESQTAB,
                                                (scanfile && !performtest)
                                                  ? true : false,
                                                logger,
                                                err);
  if (ssar == NULL)
  {
    haserr = true;
  }
  if (!haserr)
  {
    if (enumeratelcpintervals(inputindex,
                              ssar,
                              storeindex,
                              storecounts,
                              mersize,
                              minocc,
                              maxocc,
                              performtest,
                              logger,
                              err) != 0)
    {
      haserr = true;
    }
  }
  if (ssar != NULL)
  {
    gt_freeSequentialsuffixarrayreader(&ssar);
  }
  return haserr ? -1 : 0;
}

// Assembly:
pushq %rbx
subq $0x80, %rsp
movl %r9d, %eax
movq %rcx, 0x38(%rsp)
movq %rdx, 0x40(%rsp)
movq %rsi, %r9
movq 0x38(%rsp), %rsi
movq %rdi, %r10
movq 0x40(%rsp), %rdi
movb %al, %dl
movq 0xa8(%rsp), %rax
movq 0xa0(%rsp), %rax
movb 0x98(%rsp), %al
movb 0x90(%rsp), %cl
movq %r10, 0x78(%rsp)
movq %r9, 0x70(%rsp)
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq %r8, 0x58(%rsp)
andb $0x1, %dl
movb %dl, 0x57(%rsp)
andb $0x1, %cl
movb %cl, 0x56(%rsp)
andb $0x1, %al
movb %al, 0x55(%rsp)
movb $0x0, 0x54(%rsp)
cmpq $0x0, 0xa8(%rsp)
je 0x2f55bd
movq 0xa8(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x2f5585
jmp 0x2f55bd
movq 0x346a14(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x220a7d(%rip), %rsi    # 0x516013
leaq 0x220c22(%rip), %rdx    # 0x5161bf
leaq 0x29a587(%rip), %rcx    # 0x58fb2b
leaq 0x29a591(%rip), %r8     # 0x58fb3c
movl $0x2a7, %r9d            # imm = 0x2A7
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2f55bf
movq 0x78(%rsp), %rax
movq %rax, 0x28(%rsp)
xorl %eax, %eax
testb $0x1, 0x56(%rsp)
movb %al, 0x37(%rsp)
je 0x2f55e0
movb 0x55(%rsp), %al
xorb $-0x1, %al
movb %al, 0x37(%rsp)
movq 0x28(%rsp), %rdi
movb 0x37(%rsp), %dl
xorl %eax, %eax
movl $0x1, %ecx
testb $0x1, %dl
cmovnel %ecx, %eax
cmpl $0x0, %eax
setne %al
movq 0xa0(%rsp), %rcx
movq 0xa8(%rsp), %r8
movzbl %al, %edx
andl $0x1, %edx
movl $0x7, %esi
callq 0x23b3e0
movq %rax, 0x48(%rsp)
cmpq $0x0, 0x48(%rsp)
jne 0x2f562e
movb $0x1, 0x54(%rsp)
testb $0x1, 0x54(%rsp)
jne 0x2f569e
movq 0x78(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x58(%rsp), %rdx
movb 0x57(%rsp), %cl
movq 0x70(%rsp), %r8
movq 0x68(%rsp), %r9
movq 0x60(%rsp), %rbx
movb 0x55(%rsp), %r11b
movq 0xa0(%rsp), %r10
movq 0xa8(%rsp), %rax
andb $0x1, %cl
andb $0x1, %r11b
movzbl %cl, %ecx
movq %rbx, (%rsp)
movzbl %r11b, %r11d
movl %r11d, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x2f56d0
cmpl $0x0, %eax
je 0x2f569c
movb $0x1, 0x54(%rsp)
jmp 0x2f569e
cmpq $0x0, 0x48(%rsp)
je 0x2f56b0
leaq 0x48(%rsp), %rdi
callq 0x23b5e0
movb 0x54(%rsp), %dl
xorl %eax, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
testb $0x1, %dl
cmovnel %ecx, %eax
addq $0x80, %rsp
popq %rbx
retq
nopw (%rax,%rax)