LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_Bwtseqpositioniterator_new
Bwtseqpositioniterator *gt_Bwtseqpositioniterator_new(const FMindex *fmindex,
                                                      GtUword lowerbound,
                                                      GtUword upperbound)
{
  Bwtseqpositioniterator *bspi;

  bspi = gt_malloc(sizeof (*bspi));
  initExtBitsRetrieval(&bspi->extBits);
  bspi->bwtseq = (const BWTSeq *) fmindex;
  bspi->currentbound = lowerbound;
  bspi->upperbound = upperbound;
  return bspi;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x1f913d(%rip), %rsi    # 0x34411a
pushq $0x50
popq %rdi
pushq $0x37
popq %rdx
callq 0x93160
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
andq $0x0, 0x30(%rax)
movq %r15, 0x38(%rax)
movq %r14, 0x40(%rax)
movq %rbx, 0x48(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_Bwtseqpositioniterator_next
bool gt_Bwtseqpositioniterator_next(GtUword *pos,
                                    Bwtseqpositioniterator *bspi)
{
  if (bspi->currentbound < bspi->upperbound)
  {
    *pos = gt_BWTSeqLocateMatch(bspi->bwtseq,bspi->currentbound,&bspi->extBits);
    bspi->currentbound++;
    return true;
  }
  return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x40(%rsi), %rbx
movq 0x48(%rsi), %r12
cmpq %r12, %rbx
jae 0x14b03e
movq %rsi, %r14
movq %rdi, %r15
movq 0x38(%rsi), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x1457be
movq %rax, (%r15)
incq 0x40(%r14)
cmpq %r12, %rbx
setb %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_BwtseqpositionwithoutSEPiterator_next
bool gt_BwtseqpositionwithoutSEPiterator_next(GtUword *pos,
                                              Bwtseqpositioniterator *bspi)
{
  while (bspi->currentbound < bspi->upperbound)
  {
    GtUchar cc;

    if (bspi->currentbound != BWTSeqTerminatorPos(bspi->bwtseq))
    {
      cc = BWTSeqGetSym(bspi->bwtseq, bspi->currentbound);
    } else
    {
      cc = GT_SEPARATOR;
    }
    if (cc != GT_SEPARATOR)
    {
      *pos = gt_BWTSeqLocateMatch(bspi->bwtseq,
                                  bspi->currentbound,
                                  &bspi->extBits);
      bspi->currentbound++;
      return true;
    }
    bspi->currentbound++;
  }
  return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
movq 0x40(%rsi), %r14
movq 0x48(%rbx), %r12
cmpq %r12, %r14
jae 0x14b0a4
movq 0x38(%rbx), %rdi
cmpq 0x30(%rdi), %r14
je 0x14b088
movq %r14, %rsi
callq 0x14b0b6
movq 0x40(%rbx), %rsi
cmpb $-0x1, %al
jne 0x14b091
movq %rsi, %r14
incq %r14
movq %r14, 0x40(%rbx)
jmp 0x14b062
movq 0x38(%rbx), %rdi
movq %rbx, %rdx
callq 0x1457be
movq %rax, (%r15)
incq 0x40(%rbx)
cmpq %r12, %r14
setb %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_newBwtSeqpositionextractor
BwtSeqpositionextractor *gt_newBwtSeqpositionextractor(
                                                     const FMindex *voidbwtseq,
                                                     GtUword upperbound)
{
  BwtSeqpositionextractor *bspex;

  bspex = gt_malloc(sizeof (*bspex));
  initExtBitsRetrieval(&bspex->extBits);
  bspex->bwtseq = (const BWTSeq *) voidbwtseq;
  bspex->upperbound = upperbound;
  return bspex;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1f8f8c(%rip), %rsi    # 0x34411a
pushq $0x48
popq %rdi
pushq $0x79
popq %rdx
callq 0x93160
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
andq $0x0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movq %r14, 0x38(%rax)
movq %rbx, 0x40(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_Bwtseqcontextiterator_new
Bwtseqcontextiterator *gt_Bwtseqcontextiterator_new(const FMindex *fmindex,
                                                    GtUword bound)
{
  Bwtseqcontextiterator *bsci;

  bsci = gt_malloc(sizeof (*bsci));
  initExtBitsRetrieval(&bsci->extBits);
  bsci->bwtseq = (const BWTSeq *) fmindex;
  bsci->bound = bound;
  return bsci;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1f8ee4(%rip), %rsi    # 0x34411a
pushq $0x48
popq %rdi
movl $0x9c, %edx
callq 0x93160
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
andq $0x0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movq %r14, 0x38(%rax)
movq %rbx, 0x40(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_deletevoidBWTSeq
void gt_deletevoidBWTSeq(FMindex *fmindex)
{
  BWTSeq *bwtseq = (BWTSeq *) fmindex;

  if (bwtseq->pckbuckettable != NULL)
  {
    gt_pckbuckettable_delete(bwtseq->pckbuckettable);
    bwtseq->pckbuckettable = NULL;
  }
  gt_deleteBWTSeq(bwtseq);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x50(%rdi), %rdi
testq %rdi, %rdi
je 0x14b71a
callq 0x166c70
andq $0x0, 0x50(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x146b99
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_bwtrangesplitwithoutspecial
void gt_bwtrangesplitwithoutspecial(GtArrayBoundswithchar *bwci,
                                    GtUword *rangeOccs,
                                    const FMindex *fmindex,
                                    GtUword lbound,
                                    GtUword ubound)
{
  const BWTSeq *bwtseq = (const BWTSeq *) fmindex;
  AlphabetRangeSize idx, rangesize;

  rangesize = MRAEncGetRangeSize(EISGetAlphabet(bwtseq->seqIdx),0);
  bwci->nextfreeBoundswithchar = 0;
  BWTSeqPosPairRangeOcc(bwtseq, 0, lbound, ubound,rangeOccs);
  for (idx = 0; idx < rangesize; idx++)
  {
    if (rangeOccs[idx] < rangeOccs[rangesize+idx])
    {
      bwci->spaceBoundswithchar[bwci->nextfreeBoundswithchar].inchar = idx;
      bwci->spaceBoundswithchar[bwci->nextfreeBoundswithchar].lbound
        = bwtseq->count[idx] + rangeOccs[idx];
      bwci->spaceBoundswithchar[bwci->nextfreeBoundswithchar++].rbound
        = bwtseq->count[idx] + rangeOccs[rangesize+idx];
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, (%rsp)
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdx), %rdi
callq 0x14b929
xorl %r12d, %r12d
movq %rax, %rdi
xorl %esi, %esi
callq 0x14b8b2
movl %eax, %ebp
andq $0x0, 0x10(%r15)
movq %rbx, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq (%rsp), %rcx
movq %r14, %r8
callq 0x14b96a
movzwl %bp, %eax
leaq (%r14,%rax,8), %rcx
cmpq %r12, %rax
je 0x14b8a3
movq (%r14,%r12,8), %rdx
cmpq (%rcx,%r12,8), %rdx
jae 0x14b89e
movq (%r15), %rsi
movq 0x10(%r15), %rdi
imulq $0x18, %rdi, %r8
movb %r12b, 0x10(%rsi,%r8)
movq 0x38(%rbx), %r9
addq (%r9,%r12,8), %rdx
movq %rdx, (%rsi,%r8)
movq (%rcx,%r12,8), %rdx
addq (%r9,%r12,8), %rdx
incq %rdi
movq %rdi, 0x10(%r15)
movq %rdx, 0x8(%rsi,%r8)
incq %r12
jmp 0x14b85f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_bwtrangesplitallwithoutspecial
GtUword gt_bwtrangesplitallwithoutspecial(Mbtab *mbtab,
                                                GtUword *rangeOccs,
                                                const FMindex *fmindex,
                                                GtUword lbound,
                                                GtUword ubound)
{
  const BWTSeq *bwtseq = (const BWTSeq *) fmindex;
  AlphabetRangeSize idx, rangesize
    = MRAEncGetRangeSize(EISGetAlphabet(bwtseq->seqIdx),0);

  gt_assert(sizeof (AlphabetRangeSize) <= sizeof (GtUword));
  BWTSeqPosPairRangeOcc(bwtseq, 0, lbound, ubound,rangeOccs);
  for (idx = 0; idx < rangesize; idx++)
  {
    if (rangeOccs[idx] < rangeOccs[rangesize+idx])
    {
      mbtab[idx].lowerbound = bwtseq->count[idx] + rangeOccs[idx];
      mbtab[idx].upperbound = bwtseq->count[idx] + rangeOccs[rangesize+idx];
    } else
    {
      mbtab[idx].lowerbound = mbtab[idx].upperbound = 0;
    }
  }
  return (GtUword) rangesize;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, (%rsp)
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdx), %rdi
callq 0x14b929
xorl %r12d, %r12d
movq %rax, %rdi
xorl %esi, %esi
callq 0x14b8b2
movl %eax, %ebp
movq %rbx, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq (%rsp), %rcx
movq %r14, %r8
callq 0x14b96a
movzwl %bp, %eax
movl %eax, %ecx
shll $0x3, %ecx
leaq (%r14,%rcx), %rdx
xorps %xmm0, %xmm0
cmpq %r12, %rcx
je 0x14bbd5
movq (%r14,%r12), %rsi
cmpq (%rdx,%r12), %rsi
jae 0x14bbca
movq 0x38(%rbx), %rdi
addq (%rdi,%r12), %rsi
movq %rsi, (%r15,%r12,2)
movq (%rdx,%r12), %rsi
addq (%rdi,%r12), %rsi
movq %rsi, 0x8(%r15,%r12,2)
jmp 0x14bbcf
movups %xmm0, (%r15,%r12,2)
addq $0x8, %r12
jmp 0x14bba0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, 0x8(%rsp)
movq 0x8(%rdx), %rbp
movl 0x4(%rbp), %eax
movq %rax, 0x20(%rsp)
xorl %ebx, %ebx
xorl %r13d, %r13d
cmpq 0x20(%rsp), %rbx
je 0x14bcb4
movq %rbp, %rdi
movl %ebx, %esi
callq 0x14b8b2
movl %eax, %r14d
movq %r15, %rdi
movl %ebx, %esi
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq %r12, %r8
callq 0x14b96a
movq %rbp, %rdi
movl %ebx, %esi
callq 0x14bcc7
xorps %xmm0, %xmm0
movzbl %al, %eax
movzwl %r14w, %esi
leaq (%rax,%rsi), %rcx
movl %eax, %edx
shll $0x4, %edx
addq 0x8(%rsp), %rdx
leaq (%r12,%rsi,8), %rsi
xorl %edi, %edi
cmpq %rcx, %rax
jae 0x14bca6
movq (%r12,%rdi), %r8
cmpq (%rsi,%rdi), %r8
jae 0x14bc99
movq 0x38(%r15), %r9
addq (%r9,%rax,8), %r8
movq %r8, (%rdx,%rdi,2)
movq (%rsi,%rdi), %r8
addq (%r9,%rax,8), %r8
movq %r8, 0x8(%rdx,%rdi,2)
jmp 0x14bc9d
movups %xmm0, (%rdx,%rdi,2)
incq %rax
addq $0x8, %rdi
jmp 0x14bc6f
addl %r13d, %r14d
incq %rbx
movl %r14d, %r13d
jmp 0x14bc18
movzwl %r13w, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/eis-mrangealphabet-siop.h
// Function: MRAEncGetRangeBase
static inline Symbol
MRAEncGetRangeBase(const MRAEnc *mralpha, AlphabetRangeID range)
{
  gt_assert(mralpha && mralpha->numRanges > range);
  if (range == 0)
    return 0;
  else
    return mralpha->rangeEndIndices[range - 1];
}

// Assembly:
testq %rdi, %rdi
je 0x14bce2
cmpl %esi, 0x4(%rdi)
jbe 0x14bce2
testl %esi, %esi
je 0x14bcdf
movq 0x8(%rdi), %rax
decl %esi
movb (%rax,%rsi,2), %al
retq
xorl %eax, %eax
retq
pushq %rax
movq 0x2ec27e(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x19931f(%rip), %rsi    # 0x2e5013
leaq 0x1f6b76(%rip), %rdx    # 0x342871
leaq 0x1f6b95(%rip), %rcx    # 0x342897
leaq 0x1f6a7c(%rip), %r8     # 0x342785
pushq $0x30
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/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 0x14af44
movq %rax, %rcx
movq (%r14), %rax
movq 0x10(%rax), %rax
decq %rax
addq %rbx, %rcx
subq %rcx, %rax
jb 0x14bd52
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x2ec20f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1992b0(%rip), %rsi    # 0x2e5013
leaq 0x1f8469(%rip), %rdx    # 0x3441d3
leaq 0x1f8499(%rip), %rcx    # 0x34420a
leaq 0x1f83a2(%rip), %r8     # 0x34411a
movl $0x1b4, %r9d            # imm = 0x1B4
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/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 0x146d92
movq %rax, %r15
testq %rax, %rax
sete %al
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne 0x14bdc9
movq (%rbx), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x14bd26
movq %rax, (%rbx)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 $0x58, %rsp
movq %r9, %rbx
movq %r8, %rbp
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
pushq $0x1
popq %rcx
callq 0x147281
testq %rax, %rax
je 0x14bec9
movq %rax, %r13
movq %rax, %rdi
callq 0x1473a9
movq %rax, 0x8(%rsp)
leaq 0x10(%rsp), %rax
movb $0x1, (%rax)
movq %r15, 0x18(%rax)
movq %rbp, 0x20(%rax)
andq $0x0, 0x28(%rax)
movq %r15, 0x30(%rax)
movq %r13, %rbp
addq $0x18, %rbp
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%rax)
movq 0x10(%r13), %rsi
cmpq 0x8(%r13), %rsi
jae 0x14be71
movq %r12, %rdi
movq %rbp, %rdx
callq 0x1457be
incq 0x10(%r13)
addq %r15, %rax
movq %r14, %rcx
subq %rax, %rcx
jb 0x14be91
movq %rcx, 0x20(%rsp)
movq 0x90(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq *%rbx
jmp 0x14be37
movq %r13, %rdi
callq 0x147398
cmpq $0x0, 0x8(%rsp)
setne %al
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2ec0d0(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x199171(%rip), %rsi    # 0x2e5013
leaq 0x1f83ae(%rip), %rdx    # 0x344257
leaq 0x1f838b(%rip), %rcx    # 0x34423b
leaq 0x1f8263(%rip), %r8     # 0x34411a
movl $0x1e6, %r9d            # imm = 0x1E6
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x2ec098(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x199139(%rip), %rsi    # 0x2e5013
leaq 0x1f834c(%rip), %rdx    # 0x34422d
leaq 0x1f8353(%rip), %rcx    # 0x34423b
leaq 0x1f822b(%rip), %r8     # 0x34411a
movl $0x1db, %r9d            # imm = 0x1DB
jmp 0x14bebd
// File: /workspace/github_c_makefile_star2_O2/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 %rsi, %rax
movq %rdi, %rbx
movq 0x8(%rdi), %r14
pushq $0x63
popq %rsi
movq %rax, %rdi
callq 0x57552
movzbl %al, %esi
movq %r14, %rdi
callq 0x14c0b2
movq (%rbx), %rcx
movq 0x38(%rbx), %rdx
movq 0x10(%rcx), %rcx
movzbl %al, %eax
movq 0x8(%rdx,%rax,8), %rsi
subq (%rdx,%rax,8), %rsi
addq %rsi, %rsi
movq %rsi, %xmm1
movq 0x19b7bd(%rip), %xmm2   # 0x2e78e0
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x19b7c1(%rip), %xmm3   # 0x2e78f0
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
// File: /workspace/github_c_makefile_star2_O2/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 %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
xorl %esi, %esi
callq 0x14b8b2
movzbl %al, %eax
cmpq %rax, 0x10(%rbx)
jb 0x14c18a
movq 0x38(%rbx), %rcx
movq (%rcx,%rax,8), %rax
popq %rbx
retq
movq 0x2ebdd7(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x198e78(%rip), %rsi    # 0x2e5013
leaq 0x1f81c5(%rip), %rdx    # 0x344367
leaq 0x1f81a4(%rip), %rcx    # 0x34434d
leaq 0x1f64b7(%rip), %r8     # 0x342667
movl $0xe8, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
movq 0x8(%rdi), %rdi
pushq $0x1
popq %rsi
callq 0x14b8b2
movzwl %ax, %ebx
leaq 0x1f7f34(%rip), %rdx    # 0x34411a
pushq $0x8
popq %rsi
movq %rbx, %rdi
movl $0x245, %ecx            # imm = 0x245
callq 0x9334a
movq %rax, %r14
movq %r15, %rdi
callq 0x14c168
testq %r15, %r15
je 0x14c2dd
testq %r14, %r14
je 0x14c2dd
movq %rax, %r12
movq 0x8(%r15), %rax
cmpl $0x1, 0x4(%rax)
jbe 0x14c307
movq (%r15), %rdi
movq 0x18(%r15), %r8
movq (%rdi), %rax
pushq $0x1
popq %rsi
movq %r12, %rdx
movq %r14, %rcx
callq *0x18(%rax)
cmpl $0x1, 0x28(%r15)
jne 0x14c2a4
movq 0x8(%r15), %r13
movq %r13, %rdi
movl $0xfc, %esi
callq 0x14c0b2
movzbl %al, %ebp
pushq $0x1
popq %rsi
movq %r13, %rdi
callq 0x14bcc7
movzbl %al, %eax
subl %eax, %ebp
movzbl 0x24(%r15), %eax
movq %rax, (%rsp)
movq %r13, %rdi
pushq $0x1
popq %rsi
callq 0x14bcc7
cmpq %r12, 0x30(%r15)
jae 0x14c29c
movzbl %al, %eax
movq (%rsp), %rcx
subl %eax, %ecx
movzwl %bp, %eax
movq $0x1, (%r14,%rax,8)
movzwl %cx, %eax
decq (%r14,%rax,8)
jmp 0x14c2a4
movzwl %bp, %eax
andq $0x0, (%r14,%rax,8)
xorl %eax, %eax
xorl %r15d, %r15d
cmpq %rax, %rbx
je 0x14c2b7
addq (%r14,%rax,8), %r15
incq %rax
jmp 0x14c2a9
leaq 0x1f7e5c(%rip), %rsi    # 0x34411a
movq %r14, %rdi
movl $0x24a, %edx            # imm = 0x24A
callq 0x936f9
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2ebc84(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x198d25(%rip), %rsi    # 0x2e5013
leaq 0x1f7feb(%rip), %rdx    # 0x3442e0
leaq 0x1f8088(%rip), %rcx    # 0x344384
leaq 0x1f6364(%rip), %r8     # 0x342667
pushq $0x79
jmp 0x14c32f
movq 0x2ebc5a(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x198cfb(%rip), %rsi    # 0x2e5013
leaq 0x1f7ff8(%rip), %rdx    # 0x344317
leaq 0x1f805e(%rip), %rcx    # 0x344384
leaq 0x1f633a(%rip), %r8     # 0x342667
pushq $0x7a
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/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 0x14c50d
leaq 0x1f7e9d(%rip), %rsi    # 0x344393
xorl %ebx, %ebx
movq %r13, %rdi
movq %r14, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x89dbb
jmp 0x14c5ce
movq %rdx, %r12
leaq 0x1f7e94(%rip), %rsi    # 0x3443ab
pushq $0x48
popq %rdi
pushq $0x35
popq %rdx
callq 0x93160
movq %rax, %rbx
movq %r12, %rdi
callq 0x7055e
movq %rax, 0x38(%rbx)
cmpq %r14, %rax
jbe 0x14c579
leaq 0x1f7e6e(%rip), %r13    # 0x3443ab
pushq $0x3f
popq %rdx
movq %r14, %rdi
movq %r13, %rsi
callq 0x93160
movq %rax, 0x20(%rbx)
leaq 0x8(,%r14,8), %rdi
pushq $0x40
popq %rdx
movq %r13, %rsi
callq 0x93160
movq %rax, 0x18(%rbx)
pushq $-0x1
popq %rcx
cmpq %rcx, %r14
je 0x14c5a6
andq $0x0, 0x8(%rax,%rcx,8)
incq %rcx
jmp 0x14c569
leaq 0x1f7e41(%rip), %rsi    # 0x3443c1
movq %r13, %rdi
movq %rax, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x89dbb
leaq 0x1f7e14(%rip), %rsi    # 0x3443ab
pushq $0x3c
popq %rdx
movq %rbx, %rdi
callq 0x936f9
xorl %ebx, %ebx
jmp 0x14c5ce
movq %r15, (%rbx)
movq %r14, 0x8(%rbx)
movq %r12, 0x28(%rbx)
andq $0x0, 0x10(%rbx)
movq %r12, %rdi
callq 0x754dd
movq %rax, %rdi
callq 0x56c8e
movl %eax, 0x30(%rbx)
andq $0x0, 0x40(%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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, %r14
movq %rdi, %rbx
movq (%rsi), %r15
cmpq 0x8(%rsi), %r15
je 0x14c60b
callq 0xb3a58
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq 0x8(%r14), %rcx
subq (%r14), %rcx
incq %rcx
xorl %edx, %edx
divq %rcx
addq %rdx, %r15
movq %r15, (%rbx)
callq 0xb3a58
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq 0x28(%r14), %rsi
movq 0x38(%r14), %rcx
subq (%rbx), %rcx
xorl %edx, %edx
divq %rcx
movq %rdx, %rcx
movq 0x40(%r14), %rdi
testq %rdi, %rdi
je 0x14c63d
xorl %edx, %edx
callq 0x71f38
jmp 0x14c64e
movq %rsi, %rdi
xorl %esi, %esi
movq %rcx, %rdx
callq 0x72260
movq %rax, 0x40(%r14)
xorl %r15d, %r15d
movq (%rbx), %rdx
cmpq %rdx, %r15
jae 0x14c685
movq 0x40(%r14), %rdi
callq 0x70f55
cmpb $-0x2, %al
jb 0x14c678
callq 0xb3a58
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %edx, %edx
divl 0x30(%r14)
movl %edx, %eax
movq 0x20(%r14), %rcx
movb %al, (%rcx,%r15)
incq %r15
jmp 0x14c651
movq 0x10(%r14), %rcx
movq 0x20(%r14), %rax
testb $0x1, %cl
je 0x14c6b8
leaq (%rax,%rdx), %rcx
decq %rcx
cmpq %rcx, %rax
jae 0x14c6b0
movb (%rax), %dl
movb (%rcx), %sil
movb %sil, (%rax)
movb %dl, (%rcx)
incq %rax
decq %rcx
jmp 0x14c699
movq 0x10(%r14), %rcx
movq 0x20(%r14), %rax
incq %rcx
movq %rcx, 0x10(%r14)
movq 0x18(%r14), %rcx
movq (%rbx), %rdx
incq (%rcx,%rdx,8)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x1f7d01(%rip), %rdi    # 0x3443e8
xorl %eax, %eax
callq 0x17070
movq (%rbx), %r14
xorpd %xmm1, %xmm1
leaq 0x1f7d23(%rip), %r15    # 0x34441f
cmpq 0x8(%rbx), %r14
ja 0x14c777
movq 0x18(%rbx), %rax
movq (%rax,%r14,8), %rdx
testq %rdx, %rdx
je 0x14c772
movq %rdx, %xmm2
movq 0x19b1c4(%rip), %xmm4   # 0x2e78e0
punpckldq %xmm4, %xmm2    # xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
movapd 0x19b1c8(%rip), %xmm5   # 0x2e78f0
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
jmp 0x14c6fc
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x14c7d6
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %rdi
leaq 0x1f7c13(%rip), %r14    # 0x3443ab
movq %r14, %rsi
movl $0xa4, %edx
callq 0x936f9
movq 0x18(%rbx), %rdi
movq %r14, %rsi
movl $0xa5, %edx
callq 0x936f9
movq 0x40(%rbx), %rdi
callq 0x722ae
movq %rbx, %rdi
movq %r14, %rsi
movl $0xa7, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x936f9
retq
nop
// File: /workspace/github_c_makefile_star2_O2/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, %r13
movq %rcx, (%rsp)
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %r12
leaq 0x1f7c4d(%rip), %rsi    # 0x344447
pushq $0x28
popq %rdi
movl $0x8d, %edx
callq 0x93160
movq %rax, %rbx
movq %r15, 0x18(%rax)
xorl %r14d, %r14d
testq %r15, %r15
leaq 0xcc(%rip), %rcx        # 0x14c8e7
cmovneq %r14, %rcx
movq %rbp, 0x20(%rax)
leaq 0xe0(%rip), %r8         # 0x14c90a
cmovneq %r14, %r8
subq $0x8, %rsp
leaq 0x18a(%rip), %rax       # 0x14c9c3
leaq 0x17e(%rip), %r10       # 0x14c9be
leaq 0x7f(%rip), %rsi        # 0x14c8c6
leaq 0x8a(%rip), %rdx        # 0x14c8d8
leaq 0xd1(%rip), %r9         # 0x14c926
movq %r12, %rdi
pushq %r13
pushq 0x10(%rsp)
pushq %rbx
pushq %rax
pushq %r10
callq 0x2b00bc
addq $0x30, %rsp
testl %eax, %eax
je 0x14c875
pushq $-0x1
popq %r14
jmp 0x14c8a0
cmpq $0x0, 0x18(%rbx)
je 0x14c8a0
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %r12, %rdi
callq 0x151d80
movq %rax, 0x10(%rbx)
movq 0x20(%rbx), %rdi
movq %rbx, %rsi
callq *0x18(%rbx)
xorl %r14d, %r14d
negl %eax
sbbl %r14d, %r14d
leaq 0x1f7ba0(%rip), %rsi    # 0x344447
movq %rbx, %rdi
movl $0xac, %edx
callq 0x936f9
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x1f7baf(%rip), %rdi    # 0x3444ab
movq %rax, %rdx
xorl %eax, %eax
callq 0x17070
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x14c95e
testq %rsi, %rsi
je 0x14c988
movq %rdi, (%rcx)
movq %rdi, (%rsi)
movups 0x8(%rsi), %xmm0
movups %xmm0, 0x8(%rcx)
movq 0x18(%rcx), %rax
testq %rax, %rax
je 0x14c95a
movq 0x20(%rcx), %rdi
movq %rcx, %rsi
callq *%rax
testl %eax, %eax
je 0x14c95a
pushq $-0x1
popq %rax
jmp 0x14c95c
xorl %eax, %eax
popq %rcx
retq
movq 0x2eb603(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1986a4(%rip), %rsi    # 0x2e5013
leaq 0x1f4ce2(%rip), %rdx    # 0x341658
leaq 0x1f7b56(%rip), %rcx    # 0x3444d3
leaq 0x1f7ac3(%rip), %r8     # 0x344447
pushq $0x64
jmp 0x14c9b0
movq 0x2eb5d9(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x19867a(%rip), %rsi    # 0x2e5013
leaq 0x2099a2(%rip), %rdx    # 0x356342
leaq 0x1f7b2c(%rip), %rcx    # 0x3444d3
leaq 0x1f7a99(%rip), %r8     # 0x344447
pushq $0x65
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/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 %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je 0x14c9e9
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x14ca50
pushq $0x7
popq %rsi
pushq $0x1
popq %rdx
movq %r15, %rdi
movq %r14, %rcx
movq %rbx, %r8
callq 0x1516ac
movq %rax, (%rsp)
testq %rax, %rax
je 0x14ca42
movq %rax, %r14
sete %bpl
callq 0x154928
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x2aef6e
testl %eax, %eax
setne %bl
orb %bpl, %bl
movq %r15, %rdi
callq 0x155413
movq %rsp, %rdi
callq 0x1517e5
movzbl %bl, %eax
negl %eax
jmp 0x14ca45
pushq $-0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x2eb511(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1985b2(%rip), %rsi    # 0x2e5013
leaq 0x198757(%rip), %rdx    # 0x2e51bf
leaq 0x1f79f5(%rip), %rcx    # 0x344464
leaq 0x1f79d1(%rip), %r8     # 0x344447
movl $0xb7, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/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
pushq %rax
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
testq %r8, %r8
je 0x14cab3
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x14cb11
pushq $0x7
popq %rsi
pushq $0x1
popq %rdx
movq %r13, %rdi
movq %r14, %rcx
movq %rbx, %r8
callq 0x1516ac
movq %rax, (%rsp)
testq %rax, %rax
je 0x14caff
sete %bpl
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movq %rbx, %r8
callq 0x14c7d8
testl %eax, %eax
setne %bl
orb %bpl, %bl
movq %rsp, %rdi
callq 0x1517e5
movzbl %bl, %eax
negl %eax
jmp 0x14cb02
pushq $-0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2eb450(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1984f1(%rip), %rsi    # 0x2e5013
leaq 0x198696(%rip), %rdx    # 0x2e51bf
leaq 0x1f7951(%rip), %rcx    # 0x344481
leaq 0x1f7910(%rip), %r8     # 0x344447
movl $0xdc, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x58(%rdi), %rdi
callq 0x8b9fa
andq $0x0, 0x58(%rbx)
movq 0x60(%rbx), %rdi
callq 0x8b9fa
andq $0x0, 0x60(%rbx)
movq 0x68(%rbx), %rdi
callq 0x8b9fa
andq $0x0, 0x68(%rbx)
movq 0x70(%rbx), %rdi
callq 0x8b9fa
andq $0x0, 0x70(%rbx)
movq 0xb0(%rbx), %rdi
callq 0x8a5e5
andq $0x0, 0xb0(%rbx)
movq 0xa8(%rbx), %rdi
leaq 0x1f739b(%rip), %r14    # 0x344544
movq %r14, %rsi
movl $0x10f, %edx            # imm = 0x10F
callq 0x936f9
movq 0x98(%rbx), %rdi
callq 0x8a5e5
andq $0x0, 0x98(%rbx)
movq 0x90(%rbx), %rdi
movq %r14, %rsi
movl $0x113, %edx            # imm = 0x113
callq 0x936f9
movq 0xe0(%rbx), %rdi
callq 0x8a5e5
andq $0x0, 0xe0(%rbx)
movq 0xd8(%rbx), %rdi
movq %r14, %rsi
movl $0x117, %edx            # imm = 0x117
callq 0x936f9
movq 0xf8(%rbx), %rdi
callq 0x8a5e5
andq $0x0, 0xf8(%rbx)
movq 0xf0(%rbx), %rdi
movq %r14, %rsi
movl $0x11a, %edx            # imm = 0x11A
callq 0x936f9
movq 0xc8(%rbx), %rdi
callq 0x8a5e5
andq $0x0, 0xc8(%rbx)
movq 0xc0(%rbx), %rdi
movq %r14, %rsi
movl $0x11d, %edx            # imm = 0x11D
callq 0x936f9
movq (%rbx), %rdi
callq 0x735fd
andq $0x0, (%rbx)
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x14d27b
callq 0x13484d
andq $0x0, 0x80(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
imulq $0x18, %rsi, %r15
addq %rdi, %r15
leaq 0x1f5d89(%rip), %r14    # 0x344974
cmpq %r15, %rbx
jae 0x14ec0b
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x10(%rbx), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq 0x17070
addq $0x18, %rbx
jmp 0x14ebeb
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x14eed6
movq %rsi, %rbx
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rcx
cmpq %rcx, %rax
ja 0x14eee0
movq %rdi, %r14
notq %rax
addq %rax, %rcx
cmpq 0x8(%rdi), %rcx
jb 0x14eed6
movq 0x18(%r14), %rax
cmpq %rax, 0x20(%r14)
jae 0x14ee3d
movq 0x10(%r14), %rax
jmp 0x14eeb1
movq %rax, %xmm0
punpckldq 0x198a96(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x198a9e(%rip), %xmm0   # 0x2e78f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
mulsd 0x1f0fb2(%rip), %xmm1   # 0x33fe18
addsd 0x1c1bca(%rip), %xmm1   # 0x310a38
cvttsd2si %xmm1, %rcx
movq %rcx, %rdx
sarq $0x3f, %rdx
subsd 0x198e9e(%rip), %xmm1   # 0x2e7d20
cvttsd2si %xmm1, %rsi
andq %rdx, %rsi
orq %rcx, %rsi
addq %rax, %rsi
movq %rsi, 0x18(%r14)
movq 0x10(%r14), %rdi
imulq $0x18, %rsi, %rsi
leaq 0x1f5a48(%rip), %rdx    # 0x3448eb
movl $0x248, %ecx            # imm = 0x248
callq 0x93472
movq %rax, 0x10(%r14)
testq %rax, %rax
je 0x14ef0e
movq 0x20(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x20(%r14)
imulq $0x18, %rcx, %rcx
movq 0x10(%rbx), %rdx
movq %rdx, 0x10(%rax,%rcx)
movups (%rbx), %xmm0
movups %xmm0, (%rax,%rcx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x2e9081(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x196122(%rip), %rsi    # 0x2e5013
leaq 0x1f5c12(%rip), %rdx    # 0x344b0a
leaq 0x1f5c29(%rip), %rcx    # 0x344b28
leaq 0x1f59e5(%rip), %r8     # 0x3448eb
movl $0x241, %r9d            # imm = 0x241
jmp 0x14ef3a
movq 0x2e9053(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1960f4(%rip), %rsi    # 0x2e5013
leaq 0x1f5c1a(%rip), %rdx    # 0x344b40
leaq 0x1f5bfb(%rip), %rcx    # 0x344b28
leaq 0x1f59b7(%rip), %r8     # 0x3448eb
movl $0x248, %r9d            # imm = 0x248
xorl %eax, %eax
callq 0x17a50
callq 0x17390