LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_bwtrangesplitallwithspecial
GtUword gt_bwtrangesplitallwithspecial(Mbtab *mbtab,
                                             GtUword *rangeOccs,
                                             const FMindex *voidBwtSeq,
                                             GtUword lbound,
                                             GtUword ubound)
{
  GtUword char_idx, range_idx, rangebase;
  const BWTSeq *bwtseq = (const BWTSeq *) voidBwtSeq;
  const MRAEnc *alphabet = BWTSeqGetAlphabet(bwtseq);
  AlphabetRangeID numofranges = MRAEncGetNumRanges(alphabet);
  AlphabetRangeSize rangesize = 0, totalrange = 0;

  for (range_idx = 0; range_idx < (GtUword) numofranges; range_idx++)
  {
    GtUword rangeOcc_idx = 0;
    rangesize = MRAEncGetRangeSize(alphabet, range_idx);
    totalrange += rangesize;
    BWTSeqPosPairRangeOcc(bwtseq, range_idx, lbound, ubound,rangeOccs);
    rangebase = (GtUword) MRAEncGetRangeBase(alphabet, range_idx);
    for (char_idx = rangebase;
         char_idx < rangebase + rangesize; char_idx++)
    {
      if (rangeOccs[rangeOcc_idx] < rangeOccs[rangesize+rangeOcc_idx])
      {
        mbtab[char_idx].lowerbound = bwtseq->count[char_idx] +
                                     rangeOccs[rangeOcc_idx];
        mbtab[char_idx].upperbound = bwtseq->count[char_idx] +
                                     rangeOccs[rangesize+rangeOcc_idx];
      } else
      {
        mbtab[char_idx].lowerbound = mbtab[char_idx].upperbound = 0;
      }
      rangeOcc_idx++;
    }
  }
  return totalrange;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdi, 0x8(%rsp)
movq 0x8(%rdx), %r13
movl 0x4(%r13), %eax
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0x1a8c81
testq %r13, %r13
je 0x1a8c9c
movq %rdx, %r15
movq %rsi, %r12
xorl %r14d, %r14d
xorl %ebp, %ebp
cmpl %ebp, 0x4(%r13)
jbe 0x1a8c97
movq 0x10(%r13), %rax
movzwl (%rax,%rbp,2), %ebx
movq %r15, %rdi
movl %ebp, %esi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rcx
movq %r12, %r8
callq 0x1a8932
cmpl %ebp, 0x4(%r13)
jbe 0x1a8c92
testq %rbp, %rbp
je 0x1a8c10
movq 0x8(%r13), %rax
leal -0x1(%rbp), %ecx
movzbl (%rax,%rcx,2), %eax
jmp 0x1a8c12
xorl %eax, %eax
xorps %xmm0, %xmm0
testq %rbx, %rbx
je 0x1a8c6a
leaq (%rax,%rbx), %rcx
leaq (%r12,%rbx,8), %rdx
movl %eax, %esi
shll $0x4, %esi
addq 0x8(%rsp), %rsi
movl $0x4, %edi
movq -0x4(%r12,%rdi), %r8
cmpq -0x4(%rdx,%rdi), %r8
jae 0x1a8c59
movq 0x38(%r15), %r9
addq (%r9,%rax,8), %r8
movq %r8, -0x8(%rsi,%rdi,2)
movq -0x4(%rdx,%rdi), %r8
addq (%r9,%rax,8), %r8
movq %r8, (%rsi,%rdi,2)
jmp 0x1a8c5e
movups %xmm0, -0x8(%rsi,%rdi,2)
incq %rax
addq $0x8, %rdi
cmpq %rcx, %rax
jb 0x1a8c31
addl %ebx, %r14d
incq %rbp
cmpq 0x10(%rsp), %rbp
jne 0x1a8bcb
movzwl %r14w, %eax
jmp 0x1a8c83
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x62916
callq 0x628df
callq 0x6294d
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_voidpackedfindfirstmatchconvert
GtUword gt_voidpackedfindfirstmatchconvert(const FMindex *fmindex,
                                                 GtUword witnessbound,
                                                 GtUword matchlength)
{
  const BWTSeq *bwtseq = (const BWTSeq *) fmindex;
  GtUword startpos;

  startpos = gt_bwtseqfirstmatch(fmindex,witnessbound);
  gt_assert((bwtseq->seqIdx->seqLen-1) >= (startpos + matchlength));
  return (bwtseq->seqIdx->seqLen - 1) - (startpos + matchlength);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
callq 0x1a804c
movq %rax, %rcx
movq (%r14), %rax
movq 0x10(%rax), %rax
decq %rax
addq %rbx, %rcx
subq %rcx, %rax
jb 0x1a8cda
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x62984
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_voidpackedindexmstatsforward
GtUword gt_voidpackedindexmstatsforward(const void *fmindex,
                                              GT_UNUSED GtUword offset,
                                              GT_UNUSED GtUword left,
                                              GT_UNUSED GtUword right,
                                              GtUword *witnessposition,
                                              const GtUchar *qstart,
                                              const GtUchar *qend)
{
  const BWTSeq *bwtseq = (const BWTSeq *) fmindex;
  GtUword matchlength;

  matchlength = gt_packedindexmstatsforward(bwtseq,witnessposition,qstart,qend);
  if (matchlength > 0 && witnessposition != NULL)
  {
    *witnessposition = gt_voidpackedfindfirstmatchconvert(fmindex,
                                                          *witnessposition,
                                                          matchlength);
  }
  return matchlength;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %r9, %rdx
movq %r8, %rbx
movq %rdi, %r14
movq 0x20(%rsp), %rcx
movq %r8, %rsi
callq 0x1a4489
movq %rax, %r15
testq %rax, %rax
sete %al
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne 0x1a8d1e
movq (%rbx), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x1a8cae
movq %rax, (%rbx)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_pck_exactpatternmatching
bool gt_pck_exactpatternmatching(const FMindex *fmindex,
                                 const GtUchar *pattern,
                                 GtUword patternlength,
                                 GtUword totallength,
                                 const GtUchar *dbsubstring,
                                 ProcessIdxMatch processmatch,
                                 void *processmatchinfo)
{
  BWTSeqExactMatchesIterator *bsemi;
  GtUword dbstartpos, numofmatches;
  GtIdxMatch match;

  bsemi = gt_newEMIterator((const BWTSeq *) fmindex,
                           pattern,(size_t) patternlength, true);
  gt_assert(bsemi != NULL);
  numofmatches = gt_EMINumMatchesTotal(bsemi);
  match.dbabsolute = true;
  match.dblen = patternlength;
  match.dbsubstring = dbsubstring;
  match.querystartpos = 0;
  match.querylen = patternlength;
  match.distance = 0;
  match.alignment = NULL;
  while (EMIGetNextMatch(bsemi,&dbstartpos,(const BWTSeq *) fmindex))
  {
    gt_assert(totallength >= (dbstartpos + patternlength));
    match.dbstartpos = totallength - (dbstartpos + patternlength);
    processmatch(processmatchinfo,&match);
  }
  if (bsemi != NULL)
  {
    gt_deleteEMIterator(bsemi);
    bsemi = NULL;
  }
  return numofmatches > 0 ? true : false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r9, 0x18(%rsp)
movq %r8, %r12
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, 0x10(%rsp)
movl $0x1, %ecx
callq 0x1a483b
testq %rax, %rax
je 0x1a8e0c
movq %rax, %r13
movq %rax, %rdi
callq 0x1a492a
movq %rax, (%rsp)
leaq 0x20(%rsp), %rax
movb $0x1, (%rax)
movq %r15, 0x18(%rax)
movq %r12, 0x20(%rax)
movq $0x0, 0x28(%rax)
movq %r15, 0x30(%rax)
movq %r13, %rcx
addq $0x18, %rcx
movq %rcx, 0x8(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%rax)
movq 0x8(%r13), %rbx
movq 0x10(%r13), %rbp
cmpq %rbx, %rbp
jae 0x1a8dbf
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
movq 0x8(%rsp), %rdx
callq 0x1a3411
movq %rax, %r12
incq 0x10(%r13)
cmpq %rbx, %rbp
jae 0x1a8de8
leaq (%r12,%r15), %rcx
movq %r14, %rax
subq %rcx, %rax
jb 0x1a8e07
movq %rax, 0x30(%rsp)
movq 0xa0(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq *0x18(%rsp)
jmp 0x1a8d99
movq %r13, %rdi
callq 0x1a4919
cmpq $0x0, (%rsp)
setne %al
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x629bd
callq 0x629f6
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_pck_getShuStringLength
GtUword gt_pck_getShuStringLength(const FMindex *bwtSubject,
                                       const GtUchar *suffix,
                                       GtUword suffixLength)
{
  GtUwordPair occPair;
  Symbol curChar;
  const GtUchar *qptr, *qend;
  const MRAEnc *alphabet;
  GtUword start, end;

  gt_assert(bwtSubject && suffix);
  alphabet = BWTSeqGetAlphabet((const BWTSeq *) bwtSubject);

  qptr = suffix;
  qend = suffix + suffixLength;

  curChar = MRAEncMapSymbol(alphabet, *qptr);

  qptr++;
  start = ((const BWTSeq *) bwtSubject)->count[curChar];
  end = ((const BWTSeq *) bwtSubject)->count[curChar + 1];
  for (/* Nothing */; start < end && qptr < qend; qptr++)
  {
    curChar = MRAEncMapSymbol(alphabet, *qptr);
    occPair = BWTSeqTransformedPosPairOcc((const BWTSeq *) bwtSubject,
                                          curChar,
                                          start,
                                          end);
    start = ((const BWTSeq *) bwtSubject)->count[curChar] + occPair.a;
    end = ((const BWTSeq *) bwtSubject)->count[curChar] + occPair.b;
  }
  if (qptr == qend && start < end)
    return suffixLength + 1;
  else
    return qptr - suffix;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1a8f5a
testq %rsi, %rsi
je 0x1a8f5a
movq %rdi, %r15
movq 0x8(%rdi), %r14
cmpl $0x1, (%r14)
jne 0x1a8f50
movq %rdx, %rbx
leaq (%rsi,%rdx), %r13
movzbl (%rsi), %eax
movzbl 0x18(%r14,%rax), %ecx
movq 0x38(%r15), %rdx
movq (%rdx,%rcx,8), %rax
movq 0x8(%rdx,%rcx,8), %rcx
movq %rsi, (%rsp)
leaq 0x1(%rsi), %rbp
cmpq %rcx, %rax
setb %dl
setae %sil
cmpq $0x2, %rbx
setl %dil
orb %sil, %dil
jne 0x1a8f27
cmpl $0x1, (%r14)
jne 0x1a8f50
movzbl (%rbp), %edx
movzbl 0x18(%r14,%rdx), %r12d
movb 0x24(%r15), %dl
cmpb %r12b, %dl
ja 0x1a8ec8
cmpb %r12b, %dl
jae 0x1a8ec3
movq 0x10(%r15), %rsi
decq %rsi
cmpq %r12, %rsi
jne 0x1a8ec8
cmpb %r12b, %dl
jne 0x1a8efd
movq (%r15), %rdi
movq 0x18(%r15), %r8
movl %r12d, %esi
movq %rax, %rdx
callq 0x1a9180
movq %rdx, %rcx
movq 0x38(%r15), %rdx
movq (%rdx,%r12,8), %rdx
addq %rdx, %rax
addq %rdx, %rcx
incq %rbp
cmpq %rcx, %rax
setb %dl
jae 0x1a8f27
cmpq %r13, %rbp
jb 0x1a8e95
jmp 0x1a8f27
movq 0x10(%r15), %rdx
decq %rdx
cmpq %r12, %rdx
jne 0x1a8f55
movq 0x30(%r15), %rdx
xorl %esi, %esi
cmpq %rax, %rdx
setb %sil
xorl %edi, %edi
cmpq %rcx, %rdx
setb %dil
movq %rsi, %rax
movq %rdi, %rcx
jmp 0x1a8edd
incq %rbx
movq %rbp, %rax
subq (%rsp), %rax
testb %dl, %dl
cmoveq %rax, %rbx
cmpq %r13, %rbp
cmovneq %rax, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x173b0
callq 0x62aa1
callq 0x62a68
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_pck_getGCcontent
double gt_pck_getGCcontent(const FMindex *bwtSubject,
                           const GtAlphabet *alphabet)
{
  GtUword  c, length;
  double gc;
  const MRAEnc *FM_alphabet;
  GtUchar c_sym;

  FM_alphabet = BWTSeqGetAlphabet((const BWTSeq *) bwtSubject);

  c_sym = MRAEncMapSymbol(FM_alphabet,
                          gt_alphabet_encode(alphabet, 'c'));
  length = ((const BWTSeq *) bwtSubject)->seqIdx->seqLen;

  c = ((const BWTSeq *) bwtSubject)->count[c_sym+1] -
    ((const BWTSeq *) bwtSubject)->count[c_sym];

  gc = c * 2 / (double) (length - 2);
  return gc;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %r14
movq %rsi, %rdi
movl $0x63, %esi
callq 0xd3d89
cmpl $0x1, (%r14)
jne 0x1a8fef
movzbl %al, %eax
movzbl 0x18(%r14,%rax), %eax
movq (%rbx), %rcx
movq 0x38(%rbx), %rdx
movq 0x10(%rcx), %rcx
movq 0x8(%rdx,%rax,8), %rsi
subq (%rdx,%rax,8), %rsi
addq %rsi, %rsi
movq %rsi, %xmm1
movq 0x1a7936(%rip), %xmm2   # 0x3508e0
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x1a793a(%rip), %xmm3   # 0x3508f0
subpd %xmm3, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
addq $-0x2, %rcx
movq %rcx, %xmm1
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x173b0
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_pck_get_nonspecial_count
GtUword gt_pck_get_nonspecial_count(const FMindex *index)
{
  const BWTSeq *bwtseq = (const BWTSeq *) index;

  return BWTSeqAggTransformedCount(bwtseq,
                                   MRAEncGetRangeSize(BWTSeqGetAlphabet(bwtseq),
                                     0));
}

// Assembly:
pushq %rax
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x1a9020
cmpl $0x0, 0x4(%rax)
je 0x1a9025
testq %rdi, %rdi
je 0x1a902a
movq 0x10(%rax), %rax
movzbl (%rax), %eax
cmpq %rax, 0x10(%rdi)
jb 0x1a902f
movq 0x38(%rdi), %rcx
movq (%rcx,%rax,8), %rax
popq %rcx
retq
callq 0x62b81
callq 0x62b4a
callq 0x62b11
callq 0x62ad8
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_pck_special_occ_in_nonspecial_intervals
GtUword gt_pck_special_occ_in_nonspecial_intervals(const FMindex *index)
{
  const BWTSeq *bwtseq = (const BWTSeq *) index;
  GtUword count = 0,
                *rangeOccs, first_special_row;
  unsigned short idx, rangesize;

  rangesize = (unsigned short) MRAEncGetRangeSize(BWTSeqGetAlphabet(bwtseq), 1);
  rangeOccs = gt_calloc(rangesize, sizeof (GtUword));
  first_special_row = gt_pck_get_nonspecial_count(index);
  BWTSeqRangeOcc(bwtseq, 1, first_special_row, rangeOccs);
  for (idx = 0; idx < rangesize; idx++)
    count += rangeOccs[idx];
  gt_free(rangeOccs);
  return count;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x1a9158
cmpl $0x1, 0x4(%rax)
jbe 0x1a915d
movq %rdi, %r15
movq 0x10(%rax), %rax
movzwl 0x2(%rax), %ebx
leaq 0x2042e4(%rip), %rdx    # 0x3ad349
movl $0x8, %esi
movq %rbx, %rdi
movl $0x245, %ecx            # imm = 0x245
callq 0x1093ef
movq %rax, %r14
movq %r15, %rdi
callq 0x1a8ff4
testq %r15, %r15
je 0x1a9162
testq %r14, %r14
je 0x1a9162
movq %rax, %r12
movq 0x8(%r15), %rax
cmpl $0x1, 0x4(%rax)
jbe 0x1a9167
movq (%r15), %rdi
movq 0x18(%r15), %r8
movq (%rdi), %rax
movl $0x1, %esi
movq %r12, %rdx
movq %r14, %rcx
callq *0x18(%rax)
cmpl $0x1, 0x28(%r15)
jne 0x1a911a
movq 0x8(%r15), %rcx
cmpl $0x1, (%rcx)
jne 0x1a916c
cmpl $0x1, 0x4(%rcx)
jbe 0x1a9171
movzbl 0x114(%rcx), %eax
movq 0x8(%rcx), %rcx
movzbl (%rcx), %ecx
subl %ecx, %eax
cmpq %r12, 0x30(%r15)
jae 0x1a910f
movzbl 0x24(%r15), %edx
movzwl %ax, %eax
movq $0x1, (%r14,%rax,8)
movzwl %cx, %eax
subl %eax, %edx
movzwl %dx, %eax
decq (%r14,%rax,8)
jmp 0x1a911a
movzwl %ax, %eax
movq $0x0, (%r14,%rax,8)
testq %rbx, %rbx
je 0x1a9132
xorl %eax, %eax
xorl %r15d, %r15d
addq (%r14,%rax,8), %r15
incq %rax
cmpq %rax, %rbx
jne 0x1a9124
jmp 0x1a9135
xorl %r15d, %r15d
leaq 0x20420d(%rip), %rsi    # 0x3ad349
movq %r14, %rdi
movl $0x24a, %edx            # imm = 0x24A
callq 0x109670
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x62c94
callq 0x62bb8
callq 0x62bef
callq 0x62c26
callq 0x173b0
callq 0x62c5d
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/enum-patt.c
// Function: gt_newenumpatterniterator
Enumpatterniterator *gt_newenumpatterniterator(GtUword minpatternlen,
                                               GtUword maxpatternlen,
                                               const GtEncseq *encseq,
                                               GtError *err)
{
  Enumpatterniterator *epi = NULL;
  GtUword i;

  if (maxpatternlen < minpatternlen)
  {
    gt_error_set(err,"maxpatternlen="GT_WU" < "GT_WU"",
                    maxpatternlen,
                    minpatternlen);
    return NULL;
  }
  epi = gt_malloc(sizeof *epi);
  epi->totallength = gt_encseq_total_length(encseq);
  if (epi->totallength <= (GtUword) maxpatternlen)
  {
    gt_error_set(err,"totallength="GT_WU" <= maxpatternlen = "GT_WU"",
                    epi->totallength,
                    maxpatternlen);
    gt_free(epi);
    return NULL;
  }
  epi->patternspace = gt_malloc(sizeof *epi->patternspace * maxpatternlen);
  epi->patternstat = gt_malloc(sizeof *epi->patternstat * (maxpatternlen+1));
  for (i=0; i<=maxpatternlen; i++)
  {
    epi->patternstat[i] = 0;
  }
  epi->minpatternlen = minpatternlen;
  epi->maxpatternlen = maxpatternlen;
  epi->sampleencseq = encseq;
  epi->samplecount = 0;
  epi->alphasize = gt_alphabet_num_of_chars(
                                           gt_encseq_alphabet(encseq));
  epi->esr = NULL;
  return epi;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %r15
cmpq %rdi, %rsi
jae 0x1a9225
leaq 0x2043b4(%rip), %rsi    # 0x3ad5c2
xorl %ebx, %ebx
movq %r13, %rdi
movq %r14, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x1019cf
jmp 0x1a92fb
movq %rdx, %r12
leaq 0x2043ab(%rip), %rsi    # 0x3ad5da
movl $0x48, %edi
movl $0x35, %edx
callq 0x1092b2
movq %rax, %rbx
movq %r12, %rdi
callq 0xec1d8
movq %rax, 0x38(%rbx)
cmpq %r14, %rax
jbe 0x1a92ce
leaq 0x204381(%rip), %r13    # 0x3ad5da
movq %r14, %rdi
movq %r13, %rsi
movl $0x3f, %edx
callq 0x1092b2
movq %rax, 0x20(%rbx)
leaq 0x8(,%r14,8), %rdi
movq %r13, %rsi
movl $0x40, %edx
callq 0x1092b2
movq %rax, 0x18(%rbx)
leaq 0x1(%r14), %rcx
cmpq $0x1, %rcx
movq %r14, %rdx
adcq $0x1, %rdx
shlq $0x3, %rdx
xorl %r13d, %r13d
movq %rax, %rdi
xorl %esi, %esi
callq 0x173a0
movq %r15, (%rbx)
movq %r14, 0x8(%rbx)
movq %r12, 0x28(%rbx)
movq %r13, 0x10(%rbx)
movq %r12, %rdi
callq 0xf02da
movq %rax, %rdi
callq 0xd3713
movl %eax, 0x30(%rbx)
movq %r13, 0x40(%rbx)
jmp 0x1a92fb
leaq 0x20431b(%rip), %rsi    # 0x3ad5f0
movq %r13, %rdi
movq %rax, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x1019cf
leaq 0x2042ee(%rip), %rsi    # 0x3ad5da
movq %rbx, %rdi
movl $0x3c, %edx
callq 0x109670
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/enum-patt.c
// Function: gt_nextEnumpatterniterator
const GtUchar *gt_nextEnumpatterniterator(GtUword *patternlen,
                                       Enumpatterniterator *epi)
{
  GtUword start;
  GtUword j;
  GtUchar cc;

  if (epi->minpatternlen == epi->maxpatternlen)
  {
    *patternlen = epi->minpatternlen;
  } else
  {
    *patternlen = (GtUword) (epi->minpatternlen +
                                   (random() %
                                      (epi->maxpatternlen -
                                       epi->minpatternlen+1)));
  }
  start =
        (GtUword) (random() % (epi->totallength - *patternlen));
  gt_assert(start < (GtUword) (epi->totallength - *patternlen));
  if (epi->esr == NULL) {
    epi->esr = gt_encseq_create_reader_with_readmode(epi->sampleencseq,
                                          GT_READMODE_FORWARD,
                                          start);
  } else {
    gt_encseq_reader_reinit_with_readmode(epi->esr, epi->sampleencseq,
                                          GT_READMODE_FORWARD,
                                          start);
  }

  for (j=0; j<*patternlen; j++)
  {
    cc = gt_encseq_reader_next_encoded_char(epi->esr);
    if (GT_ISSPECIAL(cc))
    {
      cc = (GtUchar) (random() % epi->alphasize);
    }
    epi->patternspace[j] = cc;
  }
  if (epi->samplecount & 1)
  {
    reversesequenceinplace(epi->patternspace,*patternlen);
  }
  epi->samplecount++;
  epi->patternstat[*patternlen]++;
  return epi->patternspace;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %r15
cmpq 0x8(%rsi), %r15
je 0x1a9338
callq 0x125bcc
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq 0x8(%rbx), %rcx
subq (%rbx), %rcx
incq %rcx
xorl %edx, %edx
divq %rcx
addq %rdx, %r15
movq %r15, (%r14)
callq 0x125bcc
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq 0x28(%rbx), %rsi
movq 0x38(%rbx), %rcx
subq (%r14), %rcx
xorl %edx, %edx
divq %rcx
movq %rdx, %rcx
movq 0x40(%rbx), %rdi
testq %rdi, %rdi
je 0x1a936a
xorl %edx, %edx
callq 0xed48e
jmp 0x1a937b
movq %rsi, %rdi
xorl %esi, %esi
movq %rcx, %rdx
callq 0xed76d
movq %rax, 0x40(%rbx)
movq (%r14), %rcx
testq %rcx, %rcx
je 0x1a93b7
xorl %r15d, %r15d
movq 0x40(%rbx), %rdi
callq 0xec7be
cmpb $-0x2, %al
jb 0x1a93a4
callq 0x125bcc
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %edx, %edx
divl 0x30(%rbx)
movl %edx, %eax
movq 0x20(%rbx), %rcx
movb %al, (%rcx,%r15)
incq %r15
movq (%r14), %rcx
cmpq %rcx, %r15
jb 0x1a9386
testb $0x1, 0x10(%rbx)
je 0x1a93ea
movq 0x20(%rbx), %rax
addq %rax, %rcx
decq %rcx
cmpq %rax, %rcx
jbe 0x1a93ea
incq %rax
movb -0x1(%rax), %dl
movb (%rcx), %sil
movb %sil, -0x1(%rax)
movb %dl, (%rcx)
decq %rcx
leaq 0x1(%rax), %rdx
cmpq %rcx, %rax
movq %rdx, %rax
jb 0x1a93cf
incq 0x10(%rbx)
movq 0x18(%rbx), %rax
movq (%r14), %rcx
incq (%rax,%rcx,8)
movq 0x20(%rbx), %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/enum-patt.c
// Function: gt_showPatterndistribution
void gt_showPatterndistribution(const Enumpatterniterator *epi)
{
  GtUword i;
  double addprob, probsum = 0.0;

  printf("# "GT_WU" pattern with the following length distribution:\n",
         epi->samplecount);
  for (i=epi->minpatternlen; i<=epi->maxpatternlen; i++)
  {
    if (epi->patternstat[i] > 0)
    {
      addprob = (double) epi->patternstat[i] / epi->samplecount;
      probsum += addprob;
      printf("# "GT_WU": "GT_WU" (prob=%.4f,cumulative=%.4f)\n",
             i,
             epi->patternstat[i],
             addprob,
             probsum);
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rsi
leaq 0x2041fd(%rip), %rdi    # 0x3ad617
xorl %eax, %eax
callq 0x17070
movq (%rbx), %r14
cmpq 0x8(%rbx), %r14
ja 0x1a94b2
xorpd %xmm1, %xmm1
leaq 0x204215(%rip), %r15    # 0x3ad64e
movq 0x18(%rbx), %rax
movq (%rax,%r14,8), %rdx
testq %rdx, %rdx
je 0x1a94a9
movq %rdx, %xmm2
movq 0x1a748d(%rip), %xmm4   # 0x3508e0
punpckldq %xmm4, %xmm2    # xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
movapd 0x1a7491(%rip), %xmm5   # 0x3508f0
subpd %xmm5, %xmm2
movapd %xmm2, %xmm0
unpckhpd %xmm2, %xmm0            # xmm0 = xmm0[1],xmm2[1]
addsd %xmm2, %xmm0
movq 0x10(%rbx), %xmm3
punpckldq %xmm4, %xmm3    # xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
subpd %xmm5, %xmm3
movapd %xmm3, %xmm2
unpckhpd %xmm3, %xmm2            # xmm2 = xmm2[1],xmm3[1]
addsd %xmm3, %xmm2
divsd %xmm2, %xmm0
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movb $0x2, %al
callq 0x17070
movsd 0x8(%rsp), %xmm1
incq %r14
cmpq 0x8(%rbx), %r14
jbe 0x1a9439
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/enum-patt.c
// Function: gt_freeEnumpatterniterator
void gt_freeEnumpatterniterator(Enumpatterniterator *epi)
{
  if (!epi) return;
  gt_free(epi->patternspace);
  gt_free(epi->patternstat);
  gt_encseq_reader_delete(epi->esr);
  gt_free(epi);
}

// Assembly:
testq %rdi, %rdi
je 0x1a9511
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %rdi
leaq 0x204107(%rip), %r14    # 0x3ad5da
movq %r14, %rsi
movl $0xa4, %edx
callq 0x109670
movq 0x18(%rbx), %rdi
movq %r14, %rsi
movl $0xa5, %edx
callq 0x109670
movq 0x40(%rbx), %rdi
callq 0xed7bf
movq %rbx, %rdi
movq %r14, %rsi
movl $0xa7, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x109670
retq
nop
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-lcpintervals.c
// Function: gt_processlcpintervals
int gt_processlcpintervals(Sequentialsuffixarrayreader *ssar,
                           int (*processfunction)(void *,const Lcpinterval *),
                           void *processinfo,
                           GtLogger *logger,
                           GtError *err)
{
  Elcpstate *state;
  bool haserr = false;

  state = gt_malloc(sizeof (*state));
  state->processlcpinterval = processfunction;
  state->processinfo = processinfo;
  if (gt_depthfirstesa(ssar,
                       allocateDfsinfo_elcp,
                       freeDfsinfo_elcp,
                       state->processlcpinterval == NULL
                         ? processleafedge_elcp : NULL,
                       state->processlcpinterval == NULL
                         ? processbranchedge_elcp : NULL,
                       processcompletenode_elcp,
                       assignleftmostleaf_elcp,
                       assignrightmostleaf_elcp,
                       (Dfsstate *) state,
                       logger,
                       err) != 0)
  {
    haserr = true;
  }
  if (!haserr && state->processlcpinterval != NULL)
  {
    state->lastcompletenode.offset = 0;
    state->lastcompletenode.left = 0;
    state->lastcompletenode.right
      = gt_Sequentialsuffixarrayreader_totallength(ssar);
    if (state->processlcpinterval(state->processinfo,
                                  &state->lastcompletenode) != 0)
    {
      haserr = true;
    }
  }
  gt_free(state);
  return haserr ? -1 : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %r14
leaq 0x204141(%rip), %rsi    # 0x3ad676
movl $0x28, %edi
movl $0x8d, %edx
callq 0x1092b2
movq %rax, %rbx
movq %rbp, 0x18(%rax)
xorl %eax, %eax
testq %rbp, %rbp
leaq 0xda(%rip), %rcx        # 0x1a9631
cmovneq %rax, %rcx
movq %r13, 0x20(%rbx)
leaq 0xee(%rip), %r8         # 0x1a9654
cmovneq %rax, %r8
subq $0x8, %rsp
leaq 0x15c(%rip), %rax       # 0x1a96d1
leaq 0x150(%rip), %r10       # 0x1a96cc
leaq 0x87(%rip), %rsi        # 0x1a960a
leaq 0x96(%rip), %rdx        # 0x1a9620
leaq 0xf7(%rip), %r9         # 0x1a9688
movq %r14, %rdi
pushq %r12
pushq %r15
pushq %rbx
pushq %rax
pushq %r10
callq 0x31b004
addq $0x30, %rsp
xorl %r15d, %r15d
testl %eax, %eax
setne %bpl
jne 0x1a95e1
cmpq $0x0, 0x18(%rbx)
je 0x1a95e1
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %r14, %rdi
callq 0x1ae5a9
movq %rax, 0x10(%rbx)
movq 0x20(%rbx), %rdi
movq %rbx, %rsi
callq *0x18(%rbx)
testl %eax, %eax
movb %bpl, %r15b
movl $0x1, %ebp
cmovel %r15d, %ebp
leaq 0x20408e(%rip), %rsi    # 0x3ad676
movq %rbx, %rdi
movl $0xac, %edx
callq 0x109670
movzbl %bpl, %eax
negl %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-lcpintervals.c
// Function: processleafedge_elcp
static int processleafedge_elcp(bool firstsucc,
                                GtUword fatherdepth,
                                Dfsinfo *afather,
                                GtUword leafnumber,
                                GT_UNUSED Dfsstate *astate,
                                GT_UNUSED GtError *err)
{
  Lcpinterval *father = (Lcpinterval *) afather;

  printf("L %c "GT_WU" "GT_WU" "GT_WU"\n",firstsucc ? '1' : '0',
                              fatherdepth,father->left,leafnumber);
  return 0;
}

// Assembly:
pushq %rax
movq %rcx, %r8
movq %rsi, %rax
leal 0x30(%rdi), %esi
movq 0x8(%rdx), %rcx
leaq 0x204094(%rip), %rdi    # 0x3ad6da
movq %rax, %rdx
xorl %eax, %eax
callq 0x17070
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-lcpintervals.c
// Function: processcompletenode_elcp
static int processcompletenode_elcp(
                          GtUword nodeptrdepth,
                          Dfsinfo *anodeptr,
                          GT_UNUSED GtUword nodeptrminusonedepth,
                          Dfsstate *astate,
                          GT_UNUSED GtError *err)
{
  Lcpinterval *nodeptr = (Lcpinterval *) anodeptr;
  Elcpstate *state = (Elcpstate *) astate;

  gt_assert(state != NULL);
  gt_assert(nodeptr != NULL);
  nodeptr->offset = state->lastcompletenode.offset = nodeptrdepth;
  state->lastcompletenode.left = nodeptr->left;
  state->lastcompletenode.right = nodeptr->right;
  if (state->processlcpinterval != NULL)
  {
    if (state->processlcpinterval(state->processinfo,
                                  &state->lastcompletenode) != 0)
    {
      return -1;
    }
  }
  return 0;
}

// Assembly:
pushq %rax
testq %rcx, %rcx
je 0x1a96c2
testq %rsi, %rsi
je 0x1a96c7
movq %rdi, (%rcx)
movq %rdi, (%rsi)
movups 0x8(%rsi), %xmm0
movups %xmm0, 0x8(%rcx)
movq 0x18(%rcx), %rax
testq %rax, %rax
je 0x1a96be
movq 0x20(%rcx), %rdi
movq %rcx, %rsi
callq *%rax
movl %eax, %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testl %ecx, %ecx
jne 0x1a96c0
xorl %eax, %eax
popq %rcx
retq
callq 0x62db1
callq 0x62d7a
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-lcpintervals.c
// Function: gt_runenumlcpvalues_bottomup
int gt_runenumlcpvalues_bottomup(const char *inputindex,
                                 GtLogger *logger,
                                 GtError *err)
{
  bool haserr = false;
  Sequentialsuffixarrayreader *ssar;

  gt_error_check(err);
  ssar = gt_newSequentialsuffixarrayreaderfromfile(inputindex,
                                                   SARR_LCPTAB |
                                                   SARR_SUFTAB |
                                                   SARR_ESQTAB,
                                                   true,
                                                   logger,
                                                   err);
  if (ssar == NULL)
  {
    haserr = true;
  }
  if (!haserr)
  {
    GtESAVisitor *elv = gt_esa_lcpitvs_visitor_new();
    if (gt_esa_bottomup(ssar, elv, err) != 0)
    {
      haserr = true;
    }
    gt_esa_visitor_delete(elv);
  }
  if (ssar != NULL)
  {
    gt_freeSequentialsuffixarrayreader(&ssar);
  }
  return haserr ? -1 : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je 0x1a96fc
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x1a977b
movl $0x1, %ebp
movq %r15, %rdi
movl $0x7, %esi
movl $0x1, %edx
movq %r14, %rcx
movq %rbx, %r8
callq 0x1ae094
movq %rax, 0x8(%rsp)
xorl %r12d, %r12d
testq %rax, %rax
sete %r15b
je 0x1a9756
callq 0x1b0bbc
movq %rax, %r14
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x31a073
testl %eax, %eax
movb %r15b, %r12b
cmovel %r12d, %ebp
movq %r14, %rdi
callq 0x1b1324
movl %ebp, %r15d
cmpq $0x0, 0x8(%rsp)
je 0x1a9768
leaq 0x8(%rsp), %rdi
callq 0x1ae1ac
movzbl %r15b, %eax
negl %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x62de8
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-lcpintervals.c
// Function: gt_runenumlcpvalues_process
int gt_runenumlcpvalues_process(const char *inputindex,
                             int (*processfunction)(void *,const Lcpinterval *),
                             void *processdata,
                             GtLogger *logger,
                             GtError *err)
{
  bool haserr = false;
  Sequentialsuffixarrayreader *ssar;

  gt_error_check(err);
  ssar = gt_newSequentialsuffixarrayreaderfromfile(inputindex,
                                                   SARR_LCPTAB |
                                                   SARR_SUFTAB |
                                                   SARR_ESQTAB,
                                                   true,
                                                   logger,
                                                   err);
  if (ssar == NULL)
  {
    haserr = true;
  }
  if (!haserr)
  {
    if (gt_processlcpintervals(ssar, processfunction, processdata,
                               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 $0x18, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, 0x10(%rsp)
movq %rsi, %r12
movq %rdi, %r13
testq %r8, %r8
je 0x1a97b0
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x1a9827
movl $0x1, %ebp
movq %r13, %rdi
movl $0x7, %esi
movl $0x1, %edx
movq %r14, %rcx
movq %rbx, %r8
callq 0x1ae094
movq %rax, 0x8(%rsp)
xorl %r15d, %r15d
testq %rax, %rax
sete %r13b
je 0x1a9800
movq %rax, %rdi
movq %r12, %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rcx
movq %rbx, %r8
callq 0x1a9514
testl %eax, %eax
movb %r13b, %r15b
cmovel %r15d, %ebp
movl %ebp, %r13d
cmpq $0x0, 0x8(%rsp)
je 0x1a9812
leaq 0x8(%rsp), %rdi
callq 0x1ae1ac
movzbl %r13b, %eax
negl %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x62e21
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-map.c
// Function: gt_freesuffixarray
void gt_freesuffixarray(Suffixarray *suffixarray)
{
  gt_fa_xmunmap((void *) suffixarray->suftab);
  suffixarray->suftab = NULL;
  gt_fa_xmunmap((void *) suffixarray->lcptab);
  suffixarray->lcptab = NULL;
  gt_fa_xmunmap((void *) suffixarray->llvtab);
  suffixarray->llvtab = NULL;
  gt_fa_xmunmap((void *) suffixarray->bwttab);
  suffixarray->bwttab = NULL;
  gt_fa_xfclose(suffixarray->suftabstream_GtUword.fp);
  suffixarray->suftabstream_GtUword.fp = NULL;
  gt_free(suffixarray->suftabstream_GtUword.bufferedfilespace);
#if defined (_LP64) || defined (_WIN64)
  gt_fa_xfclose(suffixarray->suftabstream_uint32_t.fp);
  suffixarray->suftabstream_uint32_t.fp = NULL;
  gt_free(suffixarray->suftabstream_uint32_t.bufferedfilespace);
#endif
  gt_fa_xfclose(suffixarray->lcptabstream.fp);
  suffixarray->lcptabstream.fp = NULL;
  gt_free(suffixarray->lcptabstream.bufferedfilespace);
  gt_fa_xfclose(suffixarray->llvtabstream.fp);
  suffixarray->llvtabstream.fp = NULL;
  gt_free(suffixarray->llvtabstream.bufferedfilespace);
  gt_fa_xfclose(suffixarray->bwttabstream.fp);
  suffixarray->bwttabstream.fp = NULL;
  gt_free(suffixarray->bwttabstream.bufferedfilespace);
  gt_encseq_delete(suffixarray->encseq);
  suffixarray->encseq = NULL;
  if (suffixarray->bcktab != NULL)
  {
    gt_bcktab_delete(suffixarray->bcktab);
    suffixarray->bcktab = NULL;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x58(%rdi), %rdi
callq 0x102b12
xorl %r15d, %r15d
movq %r15, 0x58(%rbx)
movq 0x60(%rbx), %rdi
callq 0x102b12
movq %r15, 0x60(%rbx)
movq 0x68(%rbx), %rdi
callq 0x102b12
movq %r15, 0x68(%rbx)
movq 0x70(%rbx), %rdi
callq 0x102b12
movq %r15, 0x70(%rbx)
movq 0xb0(%rbx), %rdi
callq 0x101f02
movq %r15, 0xb0(%rbx)
movq 0xa8(%rbx), %rdi
leaq 0x2038f7(%rip), %r14    # 0x3ad773
movq %r14, %rsi
movl $0x10f, %edx            # imm = 0x10F
callq 0x109670
movq 0x98(%rbx), %rdi
callq 0x101f02
movq %r15, 0x98(%rbx)
movq 0x90(%rbx), %rdi
movq %r14, %rsi
movl $0x113, %edx            # imm = 0x113
callq 0x109670
movq 0xe0(%rbx), %rdi
callq 0x101f02
movq %r15, 0xe0(%rbx)
movq 0xd8(%rbx), %rdi
movq %r14, %rsi
movl $0x117, %edx            # imm = 0x117
callq 0x109670
movq 0xf8(%rbx), %rdi
callq 0x101f02
movq %r15, 0xf8(%rbx)
movq 0xf0(%rbx), %rdi
movq %r14, %rsi
movl $0x11a, %edx            # imm = 0x11A
callq 0x109670
movq 0xc8(%rbx), %rdi
callq 0x101f02
movq %r15, 0xc8(%rbx)
movq 0xc0(%rbx), %rdi
movq %r14, %rsi
movl $0x11d, %edx            # imm = 0x11D
callq 0x109670
movq (%rbx), %rdi
callq 0xee90c
movq %r15, (%rbx)
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x1a9f4c
callq 0x193ba9
movq $0x0, 0x80(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-maxpairs.c
// Function: showcollectedintervals
void showcollectedintervals(const Lcpinterval *itvtab,GtUword num)
{
  const Lcpinterval *lcpitv;

  for (lcpitv = itvtab; lcpitv < itvtab + num; lcpitv++)
  {
    printf("# " GT_WU " " GT_WU " " GT_WU "\n",lcpitv->offset,lcpitv->left,
                                               lcpitv->right);
  }
}

// Assembly:
testq %rsi, %rsi
jle 0x1ab8e2
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq (%rsi,%rsi,2), %rax
leaq (%rdi,%rax,8), %r15
leaq 0x2022d7(%rip), %r14    # 0x3adb96
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x10(%rbx), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq 0x17070
addq $0x18, %rbx
cmpq %r15, %rbx
jb 0x1ab8bf
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-maxpairs.c
// Function: collectmaxfreqintervals
static int collectmaxfreqintervals(void *data,const Lcpinterval *lcpitv)
{
  GtMaxfreqcollect *maxfreqcollect = (GtMaxfreqcollect *) data;

  if (lcpitv->offset >= (GtUword) maxfreqcollect->userdefinedleastlength)
  {
    gt_assert(lcpitv->left <= lcpitv->right);
    if (lcpitv->right - lcpitv->left - 1 >= maxfreqcollect->maxfreq)
    {
      Lcpinterval *lcpitvptr;

      GT_GETNEXTFREEINARRAY(lcpitvptr,&maxfreqcollect->arr,Lcpinterval,
                            maxfreqcollect->arr.allocatedLcpinterval * 0.2 +
                            1024UL);
      *lcpitvptr = *lcpitv;
    }
  }
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl (%rdi), %eax
cmpq %rax, (%rsi)
jb 0x1abb66
movq %rsi, %rbx
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rcx
cmpq %rcx, %rax
ja 0x1abb70
movq %rdi, %r14
notq %rax
addq %rax, %rcx
cmpq 0x8(%rdi), %rcx
jb 0x1abb66
movq 0x18(%r14), %rax
cmpq %rax, 0x20(%r14)
jb 0x1abb3d
movq %rax, %xmm0
punpckldq 0x1a4e0e(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x1a4e16(%rip), %xmm0   # 0x3508f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
mulsd 0x1fd51a(%rip), %xmm1   # 0x3a9008
addsd 0x1cdea2(%rip), %xmm1   # 0x379998
cvttsd2si %xmm1, %rcx
movq %rcx, %rdx
subsd 0x1a521a(%rip), %xmm1   # 0x350d20
cvttsd2si %xmm1, %rsi
sarq $0x3f, %rdx
andq %rdx, %rsi
orq %rcx, %rsi
addq %rax, %rsi
movq %rsi, 0x18(%r14)
movq 0x10(%r14), %rdi
shlq $0x3, %rsi
leaq (%rsi,%rsi,2), %rsi
leaq 0x201feb(%rip), %rdx    # 0x3adb1a
movl $0x248, %ecx            # imm = 0x248
callq 0x1094e6
movq %rax, 0x10(%r14)
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x1abb75
movq 0x20(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x20(%r14)
leaq (%rcx,%rcx,2), %rcx
movq 0x10(%rbx), %rdx
movq %rdx, 0x10(%rax,%rcx,8)
movups (%rbx), %xmm0
movups %xmm0, (%rax,%rcx,8)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x63450
callq 0x63417
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-maxpairs.c
// Function: add2poslist_maxpairs
static void add2poslist_maxpairs(GtBUstate_maxpairs *state,
                                 GtBUinfo_maxpairs *ninfo,
                                 unsigned int base,GtUword leafnumber)
{
  GtArrayGtUword *ptr;

  if (base >= state->alphabetsize)
  {
    ninfo->uniquecharposlength++;
    GT_STOREINARRAY(&state->uniquechar,GtUword,4,leafnumber);
  } else
  {
    ptr = &state->poslist[base];
    GT_STOREINARRAY(ptr,GtUword,4,leafnumber);
    NODEPOSLISTLENGTH(ninfo,base)++;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
cmpl %edx, 0x8(%rdi)
jbe 0x1ac3d5
movq 0x28(%r15), %rax
movl %edx, %r15d
leaq (%r15,%r15,2), %rcx
leaq (%rax,%rcx,8), %r12
movq 0x8(%r12), %rax
cmpq %rax, 0x10(%r12)
jb 0x1ac3ab
leaq 0x4(%rax), %rcx
movq %rcx, 0x8(%r12)
movq (%r12), %rdi
leaq 0x20(,%rax,8), %rsi
leaq 0x20177d(%rip), %rdx    # 0x3adb1a
movl $0x6e, %ecx
callq 0x1094e6
movq %rax, (%r12)
movq (%r12), %rax
testq %rax, %rax
je 0x1ac431
movq 0x10(%r12), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%r12)
movq %rbx, (%rax,%rcx,8)
movq 0x18(%r14), %rax
shlq $0x4, %r15
incq 0x8(%rax,%r15)
jmp 0x1ac425
incq 0x10(%r14)
movq 0x18(%r15), %rax
cmpq %rax, 0x20(%r15)
jb 0x1ac40c
leaq 0x4(%rax), %rcx
movq %rcx, 0x18(%r15)
movq 0x10(%r15), %rdi
leaq 0x20(,%rax,8), %rsi
leaq 0x20171c(%rip), %rdx    # 0x3adb1a
movl $0x6a, %ecx
callq 0x1094e6
movq %rax, 0x10(%r15)
movq 0x10(%r15), %rax
testq %rax, %rax
je 0x1ac436
movq 0x20(%r15), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x20(%r15)
movq %rbx, (%rax,%rcx,8)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x63569
callq 0x63532
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-maxpairs.c
// Function: cartproduct1_maxpairs
static int cartproduct1_maxpairs(GtBUstate_maxpairs *state,
                                 GtUword fatherdepth,
                                 const GtBUinfo_maxpairs *ninfo,
                                 unsigned int base,
                                 GtUword leafnumber,GtError *err)
{
  Listtype *pl;
  GtUword *spptr, *start;

  pl = &NODEPOSLISTENTRY(ninfo,base);
  start = state->poslist[base].spaceGtUword + pl->start;
  for (spptr = start; spptr < start + pl->length; spptr++)
  {
    if (state->processmaxpairs(state->processmaxpairsinfo,&state->genericencseq,
                               fatherdepth,GT_MIN(leafnumber,*spptr),
                                           GT_MAX(leafnumber,*spptr),err) != 0)
    {
      return -1;
    }
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, %r12
movq 0x18(%rdx), %rdi
movl %ecx, %ecx
movq %rcx, %rdx
shlq $0x4, %rdx
xorl %eax, %eax
cmpq $0x0, 0x8(%rdi,%rdx)
jle 0x1ac4d7
movq %r8, %r14
leaq (%rdi,%rdx), %rbp
movq 0x28(%r12), %rsi
leaq (%rcx,%rcx,2), %rcx
movq (%rdi,%rdx), %r15
shlq $0x3, %r15
addq (%rsi,%rcx,8), %r15
leaq 0x30(%r12), %r13
movq %r15, %rbx
movq (%rbx), %r8
cmpq %r14, %r8
movq %r14, %rcx
cmovbq %r8, %rcx
movq 0x68(%r12), %rdi
cmovbeq %r14, %r8
movq %r13, %rsi
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %r9
callq *0x50(%r12)
testl %eax, %eax
jne 0x1ac4d2
addq $0x8, %rbx
movq 0x8(%rbp), %rax
leaq (%r15,%rax,8), %rax
cmpq %rax, %rbx
jb 0x1ac491
xorl %eax, %eax
jmp 0x1ac4d7
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-minunique.c
// Function: gt_suffixarrayuniqueforward
GtUword gt_suffixarrayuniqueforward (const void *genericindex,
                                       GtUword offset,
                                       GtUword left,
                                       GtUword right,
                                       GT_UNUSED GtUword
                                          *witnessposition,
                                       const GtUchar *qstart,
                                       const GtUchar *qend)
{
  Simplelcpinterval itv;
  const GtUchar *qptr;
  const Suffixarray *suffixarray = (const Suffixarray *) genericindex;
  GtUword totallength;

  itv.left = left;
  itv.right = right;
  totallength = gt_encseq_total_length(suffixarray->encseq);
  for (qptr = qstart; /* Nothing */; qptr++, offset++)
  {
    if (itv.left < itv.right)
    {
      if (qptr >= qend || GT_ISSPECIAL(*qptr) ||
          !gt_lcpintervalfindcharchildintv(suffixarray->encseq,
                                           suffixarray->readmode,
                                           totallength,
                                           suffixarray->suftab,
                                           &itv,
                                           *qptr,
                                           offset,
                                           itv.left,
                                           itv.right))
      {
        break;
      }
    } else
    {
      return offset;
    }
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq %rdx, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movq (%rdi), %rdi
callq 0xec1d8
movq %rax, %r12
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %r10
cmpq %r10, %rax
jae 0x1ac5a9
movq 0x50(%rsp), %rbp
leaq 0x8(%rsp), %r13
cmpq %rbp, %r14
jae 0x1ac5a7
movb (%r14), %dl
cmpb $-0x3, %dl
ja 0x1ac5a7
movq (%r15), %rdi
movl 0x48(%r15), %esi
movq 0x58(%r15), %rcx
subq $0x8, %rsp
movzbl %dl, %r9d
movq %r12, %rdx
movq %r13, %r8
pushq %r10
pushq %rax
pushq %rbx
callq 0x1afe94
addq $0x20, %rsp
testb %al, %al
je 0x1ac5a7
incq %r14
incq %rbx
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %r10
cmpq %r10, %rax
jb 0x1ac559
jmp 0x1ac5a9
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-minunique.c
// Function: gt_suffixarraymstats
GtUword gt_suffixarraymstats (const void *genericindex,
                                    GtUword offset,
                                    GtUword left,
                                    GtUword right,
                                    GtUword *witnessposition,
                                    const GtUchar *qstart,
                                    const GtUchar *qend)
{
  Simplelcpinterval itv;
  const GtUchar *qptr;
  const Suffixarray *suffixarray = (const Suffixarray *) genericindex;
  GtUword totallength;

  itv.left = left;
  itv.right = right;
  totallength = gt_encseq_total_length(suffixarray->encseq);
  for (qptr = qstart; /* Nothing */; qptr++, offset++)
  {
    gt_assert(itv.left <= itv.right);
    if (qptr >= qend || GT_ISSPECIAL(*qptr) ||
        !gt_lcpintervalfindcharchildintv(suffixarray->encseq,
                                      suffixarray->readmode,
                                      totallength,
                                      suffixarray->suftab,
                                      &itv,
                                      *qptr,
                                      (GtUword) offset,
                                      itv.left,itv.right))
    {
      if (witnessposition != NULL)
      {
        *witnessposition = ESASUFFIXPTRGET(suffixarray->suftab,itv.left);
      }
      break;
    }
  }
  return offset;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r12
movq %r8, 0x10(%rsp)
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, (%rsp)
movq %rcx, 0x8(%rsp)
movq (%rdi), %rdi
callq 0xec1d8
movq %rax, %r13
movq (%rsp), %rax
movq 0x8(%rsp), %r10
cmpq %r10, %rax
ja 0x1ac64e
movq 0x50(%rsp), %rbx
movq %rsp, %rbp
cmpq %rbx, %r12
jae 0x1ac653
movb (%r12), %dl
cmpb $-0x3, %dl
ja 0x1ac653
movq (%r15), %rdi
movl 0x48(%r15), %esi
movq 0x58(%r15), %rcx
subq $0x8, %rsp
movzbl %dl, %r9d
movq %r13, %rdx
movq %rbp, %r8
pushq %r10
pushq %rax
pushq %r14
callq 0x1afe94
addq $0x20, %rsp
testb %al, %al
je 0x1ac653
incq %r12
incq %r14
movq (%rsp), %rax
movq 0x8(%rsp), %r10
cmpq %r10, %rax
jbe 0x1ac601
callq 0x635d9
movq 0x10(%rsp), %rdx
testq %rdx, %rdx
je 0x1ac66c
movq 0x58(%r15), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, (%rdx)
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq