// File: /workspace/github_c_makefile_star2_O3/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r9d, %r15d
movq %r8, 0x28(%rsp)
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq 0x98(%rsp), %rbp
testq %rbp, %rbp
je 0x201d33
movq %rbp, %rdi
callq 0xfcc32
testb %al, %al
jne 0x20246a
movq 0x90(%rsp), %rcx
movb 0x88(%rsp), %al
notb %al
andb 0x80(%rsp), %al
movzbl %al, %edx
movq %r12, 0x18(%rsp)
movq %r12, %rdi
movl $0x7, %esi
movq %rbp, %r8
callq 0x1a5580
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0x201e92
movq %rbp, %rdi
movq %rax, %rbp
movq %r14, 0x20(%rsp)
testq %rdi, %rdi
je 0x201d8e
callq 0xfcc32
testb %al, %al
jne 0x20246f
leaq 0x1bac62(%rip), %rsi    # 0x3bc9f7
movl $0xb0, %edi
movl $0x212, %edx            # imm = 0x212
callq 0x104226
movq %rax, %r14
xorpd %xmm0, %xmm0
movupd %xmm0, 0x38(%rax)
movq $0x0, 0x48(%rax)
movq %rbp, %rdi
callq 0x1a59f6
movq %rbp, 0x8(%rsp)
movq %rax, %rbp
movq 0x8(%rsp), %rdi
callq 0x1a5a06
movq %rbp, %rdi
movq 0x8(%rsp), %rbp
movl %eax, %esi
xorl %edx, %edx
callq 0xe91b2
movq %rax, 0x60(%r14)
movq 0x20(%rsp), %r12
movq %r12, (%r14)
movq %rbp, %rdi
callq 0x1a59f6
movq %rax, 0x20(%r14)
movq %rax, %rdi
callq 0xebcd9
movq %rax, %rdi
callq 0xd11be
movl %eax, 0x14(%rsp)
movq %rbp, %rdi
callq 0x1a5a06
movl %eax, 0x28(%r14)
movb %r15b, 0x69(%r14)
movq %rbx, 0x10(%r14)
movq %r13, 0x18(%r14)
movq 0x20(%r14), %rdi
callq 0xe7b9c
movq %rax, 0x8(%r14)
movb 0x88(%rsp), %r15b
movb %r15b, 0x68(%r14)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x50(%r14)
movupd %xmm0, 0x80(%r14)
movupd %xmm0, 0x90(%r14)
movq 0x28(%rsp), %rbx
cmpb $0x0, (%rbx)
je 0x201e9a
movq %r12, %rdi
shrq $0x2, %rdi
movl %r12d, %eax
andl $0x3, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdi
movq %rdi, 0x78(%r14)
leaq 0x1bab71(%rip), %rsi    # 0x3bc9f7
movl $0x22d, %edx            # imm = 0x22D
callq 0x104226
jmp 0x201ea4
movb $0x1, %r15b
jmp 0x202455
movq $0x0, 0x78(%r14)
xorl %eax, %eax
movq %rax, 0x70(%r14)
testb %r15b, %r15b
je 0x201ed2
movq (%r14), %rdi
leaq 0x1bab40(%rip), %rsi    # 0x3bc9f7
movl $0x232, %edx            # imm = 0x232
callq 0x104226
movq %rax, 0xa8(%r14)
movq %rbp, %rdi
callq 0x1a5a15
jmp 0x201edf
movq $0x0, 0xa8(%r14)
xorl %eax, %eax
leaq 0x38(%r14), %r13
movq %rax, 0xa0(%r14)
movq (%r14), %rdx
movq 0x8(%r14), %rcx
cmpq %rcx, %rdx
jbe 0x201f14
leaq 0x1bab28(%rip), %rsi    # 0x3bca25
movq 0x98(%rsp), %rdi
xorl %eax, %eax
callq 0xfcb67
movb $0x1, %r15b
jmp 0x20237d
leaq 0x50(%r14), %r15
cmpb $0x0, (%rbx)
je 0x201f9b
leaq 0x1bab2d(%rip), %rsi    # 0x3bca51
leaq 0x153bb6(%rip), %rdx    # 0x355ae1
leaq 0x1baac5(%rip), %rcx    # 0x3bc9f7
movq %rbx, %rdi
movl $0x247, %r8d            # imm = 0x247
movq 0x98(%rsp), %r9
callq 0xfcf97
movq %rax, (%r15)
testq %rax, %rax
je 0x201fa4
cmpb $0x1, 0x69(%r14)
jne 0x201fb4
leaq 0x1baaf8(%rip), %rsi    # 0x3bca56
leaq 0x153b7c(%rip), %rdx    # 0x355ae1
leaq 0x1baa8b(%rip), %rcx    # 0x3bc9f7
movq %rbx, %rdi
movl $0x250, %r8d            # imm = 0x250
movq 0x98(%rsp), %r9
callq 0xfcf97
movq %rax, 0x58(%r14)
leaq 0x662(%rip), %rcx       # 0x2025ef
movq %rcx, 0x30(%r14)
testq %rax, %rax
jne 0x201fbf
jmp 0x201f0c
leaq 0x4dd(%rip), %rax       # 0x20247f
jmp 0x201fbb
leaq 0x644(%rip), %rax       # 0x2025ef
movq %rax, 0x30(%r14)
jmp 0x201f0c
leaq 0x634(%rip), %rax       # 0x2025ef
movq %rax, 0x30(%r14)
movq %r15, 0x30(%rsp)
subq $0x8, %rsp
leaq 0x88c(%rip), %rax       # 0x20285b
leaq 0x881(%rip), %r10       # 0x202857
leaq 0x75b(%rip), %rsi       # 0x202738
leaq 0x76a(%rip), %rdx       # 0x20274e
leaq 0x774(%rip), %rcx       # 0x20275f
leaq 0x7ef(%rip), %r9        # 0x2027e1
movq %rbp, %rdi
xorl %r8d, %r8d
pushq 0xa0(%rsp)
pushq 0xa0(%rsp)
pushq %r14
pushq %rax
pushq %r10
callq 0x310db0
addq $0x30, %rsp
movl %eax, 0x10(%rsp)
cmpb $0x0, (%rbx)
jne 0x202261
movq 0x48(%r14), %rax
testq %rax, %rax
je 0x20204f
movq (%r13), %rcx
xorl %ebx, %ebx
xorl %edx, %edx
movq 0x18(%rsp), %rbp
movq (%rcx), %rsi
imulq %rdx, %rsi
addq %rsi, %rbx
incq %rdx
addq $0x10, %rcx
cmpq %rdx, %rax
jne 0x202037
jmp 0x202056
xorl %ebx, %ebx
movq 0x18(%rsp), %rbp
cmpb $0x1, 0x68(%r14)
jne 0x20209d
movq (%r14), %r8
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x20(%r14), %rdi
movl 0x28(%r14), %esi
movq 0x60(%r14), %rdx
movq %r12, %rcx
callq 0xe8e42
xorb $0x1, %al
movzbl %al, %eax
addq %rax, %r15
incq %r12
movq (%r14), %r8
movq 0x8(%r14), %rax
subq %r8, %rax
cmpq %rax, %r12
jbe 0x202066
cmpq %rbx, %r15
jne 0x202474
leaq 0x1baab4(%rip), %rsi    # 0x3bcb58
movq 0x90(%rsp), %r15
movq %r15, %rdi
xorl %eax, %eax
callq 0x103fe1
leaq 0x1baad3(%rip), %rsi    # 0x3bcb90
movq %r15, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x103fe1
movq (%r14), %rdx
leaq 0x1baada(%rip), %rsi    # 0x3bcbae
movq %r15, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x103fe1
movq (%r14), %rdx
leaq 0x1bab06(%rip), %rsi    # 0x3bcbf1
movq %r15, %rdi
xorl %eax, %eax
callq 0x103fe1
leaq 0x1bab34(%rip), %rsi    # 0x3bcc30
movq %r15, %rdi
xorl %eax, %eax
callq 0x103fe1
movq (%r14), %rdx
leaq 0x1bab58(%rip), %rsi    # 0x3bcc68
movq %r15, %rdi
xorl %eax, %eax
callq 0x103fe1
cmpq $0x0, 0x48(%r14)
je 0x202261
leaq 0x17fcc1(%rip), %rbx    # 0x381ded
movq 0x2b6da5(%rip), %rcx    # 0x4b8ed8
xorl %r15d, %r15d
movq %r13, 0x38(%rsp)
movq %r14, (%rsp)
movq (%r13), %rax
movq %r15, %rbp
shlq $0x4, %rbp
movq (%rax,%rbp), %rdx
testq %rdx, %rdx
je 0x202250
movq %rcx, %r14
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x17070
movq (%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x18(%rax), %rax
testq %rcx, %rcx
je 0x202185
testq %rax, %rax
je 0x20219d
cmpq %r15, %rcx
seta %cl
jmp 0x20218b
testq %rax, %rax
sete %cl
cmpq %r15, %rax
setb %al
orb %cl, %al
movq %r14, %rcx
je 0x2021a9
jmp 0x202250
cmpq %r15, %rcx
movq %r14, %rcx
ja 0x202250
movq (%rsp), %rax
movq 0x38(%rax), %rax
movq 0x8(%rax,%rbp), %r12
testq %r12, %r12
je 0x202250
movq (%rsp), %rax
movq (%rax), %rbx
movq 0x20(%rax), %r13
movq (%rcx), %rdi
movq (%r12), %rdx
movq %r13, %rsi
movq %rbx, %rcx
callq 0x198bf2
movl $0xa, %edi
callq 0x17a20
movq %r14, %rcx
movq 0x8(%r12), %r12
testq %r12, %r12
jne 0x2021ca
movq 0x38(%rsp), %r13
movq (%r13), %rax
movq 0x8(%rax,%rbp), %rdi
testq %rdi, %rdi
leaq 0x17fbe2(%rip), %rbx    # 0x381ded
je 0x202250
movq 0x8(%rdi), %rbx
testq %rbx, %rbx
leaq 0x1ba7dc(%rip), %r12    # 0x3bc9f7
je 0x202239
movq %r12, %rsi
movl $0xb1, %edx
callq 0x1045eb
movq %rbx, %rdi
movq 0x8(%rbx), %rax
movq %rax, %rbx
testq %rax, %rax
jne 0x20221d
movq %r12, %rsi
movl $0xad, %edx
callq 0x1045eb
leaq 0x17fba0(%rip), %rbx    # 0x381ded
movq %r14, %rcx
incq %r15
movq (%rsp), %r14
cmpq 0x48(%r14), %r15
jb 0x20213f
movb $0x1, %r15b
cmpl $0x0, 0x10(%rsp)
jne 0x20237d
cmpq $0x0, 0x58(%r14)
movq 0x90(%rsp), %rbx
je 0x2022c3
movq 0x90(%r14), %rdx
leaq 0x1ba7cf(%rip), %rsi    # 0x3bca5b
leaq 0x1ba7c3(%rip), %r9     # 0x3bca56
movl $0xff, %ecx
movq %rbx, %rdi
movq 0x28(%rsp), %r8
xorl %eax, %eax
callq 0x103fe1
movq 0x58(%r14), %rcx
movq 0x80(%r14), %rdi
movq 0x90(%r14), %rdx
movl $0x10, %esi
callq 0x11f89c
movq 0x98(%r14), %rcx
leaq 0x1ba7b3(%rip), %rsi    # 0x3bca84
xorl %r15d, %r15d
movq %rbx, %rdi
movq 0x20(%rsp), %rdx
xorl %eax, %eax
callq 0x103fe1
movq 0x78(%r14), %rax
imulq 0x98(%r14), %rax
addq $0x10, %rax
movq %rax, %xmm1
punpckldq 0x1455e0(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x1455e8(%rip), %xmm1   # 0x3478f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x1455e4(%rip), %xmm0   # 0x347900
leaq 0x1ba782(%rip), %rsi    # 0x3bcaa5
movq %rbx, %rdi
movb $0x1, %al
callq 0x103fe1
movq 0x50(%r14), %rbx
testq %rbx, %rbx
je 0x20237d
movq (%r14), %r15
movl $0x8, %r12d
movzbl %r15b, %edi
movq %rbx, %rsi
callq 0x17f80
shrq $0x8, %r15
decq %r12
jne 0x20233f
movq 0x30(%rsp), %rax
movq (%rax), %rbx
movl $0x8, %r15d
movl 0x14(%rsp), %ebp
movzbl %bpl, %edi
movq %rbx, %rsi
callq 0x17f80
shrl $0x8, %ebp
decq %r15
jne 0x202366
xorl %r15d, %r15d
movq 0x50(%r14), %rdi
callq 0xfd09a
movq 0x58(%r14), %rdi
callq 0xfd09a
movq 0x38(%r14), %rdi
testq %rdi, %rdi
je 0x2023bb
leaq 0x1ba658(%rip), %rsi    # 0x3bc9f7
movl $0x290, %edx            # imm = 0x290
callq 0x1045eb
xorpd %xmm0, %xmm0
movupd %xmm0, (%r13)
movq $0x0, 0x10(%r13)
movq 0xa8(%r14), %rdi
leaq 0x1ba62e(%rip), %rbx    # 0x3bc9f7
movq %rbx, %rsi
movl $0x291, %edx            # imm = 0x291
callq 0x1045eb
movq 0x70(%r14), %rdi
movq %rbx, %rsi
movl $0x292, %edx            # imm = 0x292
callq 0x1045eb
movq 0x80(%r14), %rdi
testq %rdi, %rdi
movq 0x8(%rsp), %r12
je 0x202420
movq %r14, %rbx
subq $-0x80, %rbx
leaq 0x1ba5f1(%rip), %rsi    # 0x3bc9f7
movl $0x293, %edx            # imm = 0x293
callq 0x1045eb
xorpd %xmm0, %xmm0
movupd %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
testq %r12, %r12
sete %bl
movq 0x60(%r14), %rdi
callq 0xe9204
leaq 0x1ba5c1(%rip), %rsi    # 0x3bc9f7
movq %r14, %rdi
movl $0x295, %edx            # imm = 0x295
callq 0x1045eb
orb %bl, %r15b
testq %r12, %r12
je 0x202455
leaq 0x40(%rsp), %rdi
callq 0x1a5698
movzbl %r15b, %eax
negl %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x7f96a
callq 0x7f9a3
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7f9dc