LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa-splititv.c
// Function: gt_findmaximalprefixinESA
GtUword gt_findmaximalprefixinESA(const GtEncseq *encseq,
                                  GtReadmode readmode,
                                  GtUword totallength,
                                  const ESASuffixptr *suftab,
                                  const GtUchar *query,
                                  GtUword querylen)
{
  Simplelcpinterval current_itv;
  GtUword idx;

  current_itv.left = 0;
  current_itv.right = totallength;

  for (idx = 0; idx < querylen; idx++)
  {
    if (GT_ISSPECIAL(query[idx]))
    {
      gt_assert(query[idx] != GT_SEPARATOR);
      break;
    }
    if (!gt_lcpintervalfindcharchildintv(encseq,
                                         readmode,
                                         totallength,
                                         suftab,
                                         &current_itv,
                                         query[idx],
                                         idx,
                                         current_itv.left,
                                         current_itv.right))
    {
      break;
    }
  }
  return idx;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %rbx
movq %r8, %r15
movq %rcx, 0x20(%rsp)
movq %rdx, %r13
leaq 0x28(%rsp), %rax
andq $0x0, (%rax)
movl %esi, %ebp
movq %rdi, %r12
movq %rdx, 0x8(%rax)
xorl %r14d, %r14d
cmpq %r14, %rbx
je 0x153b0e
movb (%r15,%r14), %al
cmpb $-0x2, %al
jae 0x153b13
movups 0x28(%rsp), %xmm0
movups %xmm0, 0x8(%rsp)
movq %r14, (%rsp)
movzbl %al, %r9d
movq %r12, %rdi
movl %ebp, %esi
movq %r13, %rdx
movq 0x20(%rsp), %rcx
leaq 0x28(%rsp), %r8
callq 0x15392c
testb %al, %al
je 0x153b17
incq %r14
jmp 0x153acf
movq %rbx, %r14
jmp 0x153b17
cmpb $-0x1, %al
je 0x153b29
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2e4438(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1914d9(%rip), %rsi    # 0x2e5013
leaq 0x1f1b91(%rip), %rdx    # 0x3456d2
leaq 0x1f1ba5(%rip), %rcx    # 0x3456ed
leaq 0x1f1bb8(%rip), %r8     # 0x345707
pushq $0x7a
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa-splititv.c
// Function: gt_lcpintervalextendlcp
GtUchar gt_lcpintervalextendlcp(const GtEncseq *encseq,
                                GtReadmode readmode,
                                const ESASuffixptr *suftab,
                                GtUword totallength,
                                GtUchar alphasize,
                                GtUword parentoffset,
                                GtUword parentleft,
                                GtUword parentright)
{
  GtUchar ccl, ccr;

  ccl = SEQUENCE(encseq,ESASUFFIXPTRGET(suftab,parentleft) + parentoffset);
  ccr = SEQUENCE(encseq,ESASUFFIXPTRGET(suftab,parentright) + parentoffset);
  if (ccl != ccr || GT_ISSPECIAL(ccl))
  {
    return alphasize;
  }
  gt_assert(ccl < alphasize);
  return ccl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movl %r8d, 0x4(%rsp)
movq %rcx, %r13
movq %rdx, %rbx
movl %esi, %r15d
movq %rdi, %r12
movq 0x48(%rsp), %rcx
movq 0x40(%rsp), %rax
movq (%rdx,%rax,8), %rsi
addq %r9, %rsi
movb $-0x1, %bpl
cmpq %r13, %rsi
je 0x153d43
movq %r12, %rdi
movl %r15d, %edx
movq %rcx, %rbp
callq 0x705e4
movq %rbp, %rcx
movl %eax, %ebp
addq (%rbx,%rcx,8), %r14
movl $0xff, %eax
cmpq %r13, %r14
je 0x153d62
movq %r12, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x705e4
movzbl %al, %eax
cmpb $-0x3, %bpl
ja 0x153daf
movzbl %bpl, %ecx
cmpl %ecx, %eax
jne 0x153daf
cmpb 0x4(%rsp), %bpl
jb 0x153db5
movq 0x2e41ea(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x19128b(%rip), %rsi    # 0x2e5013
leaq 0x1f19f0(%rip), %rdx    # 0x34577f
leaq 0x1f19f9(%rip), %rcx    # 0x34578f
leaq 0x1f196a(%rip), %r8     # 0x345707
movl $0xd5, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movl 0x4(%rsp), %eax
movl %eax, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa-spmitvs.c
// Function: gt_process_spmitv
int gt_process_spmitv(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 *ev;
    GtUword nonspecials;

    nonspecials = gt_Sequentialsuffixarrayreader_nonspecials(ssar);
    ev = gt_esa_spmitvs_visitor_new(
                              gt_encseqSequentialsuffixarrayreader(ssar),
                              gt_readmodeSequentialsuffixarrayreader(ssar),
                              gt_Sequentialsuffixarrayreader_prefixlength(ssar),
                              err);

    if (gt_esa_bottomup(ssar, ev, err) != 0)
    {
      haserr = true;
    } else
    {
      gt_esa_spmitvs_visitor_print_results((GtESASpmitvsVisitor*) ev,
                                           nonspecials);
    }
    gt_esa_visitor_delete(ev);
  }
  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 0x153df2
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x153e97
pushq $0x7
popq %rsi
pushq $0x1
popq %rdx
movq %r15, %rdi
movq %r14, %rcx
movq %rbx, %r8
callq 0x1516ac
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x153e64
movq %rax, %r15
movq %rax, %rdi
callq 0x151d3d
movq %rax, %r14
movq %r15, %rdi
callq 0x151c21
movq %rax, %r12
movq %r15, %rdi
callq 0x151c64
movl %eax, %ebp
movq %r15, %rdi
callq 0x151e1c
movq %r12, %rdi
movl %ebp, %esi
movl %eax, %edx
movq %rbx, %rcx
callq 0x154d93
movq %rax, %r12
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x2aef6e
testl %eax, %eax
je 0x153e69
pushq $-0x1
popq %rbx
jmp 0x153e76
pushq $-0x1
popq %rbx
jmp 0x153e88
movq %r12, %rdi
movq %r14, %rsi
callq 0x154e3b
xorl %ebx, %ebx
movq %r12, %rdi
callq 0x155413
leaq 0x8(%rsp), %rdi
callq 0x1517e5
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x2e40ca(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x19116b(%rip), %rsi    # 0x2e5013
leaq 0x191310(%rip), %rdx    # 0x2e51bf
leaq 0x1f18f1(%rip), %rcx    # 0x3457a7
leaq 0x1f18fc(%rip), %r8     # 0x3457b9
pushq $0x1e
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa-spmsk.c
// Function: gt_spmsk_inl_new
GtBUstate_spmsk *gt_spmsk_inl_new(const GtEncseq *encseq,
                            GtReadmode readmode,
                            GtUword minmatchlength,
                            bool countspms,
                            bool outputspms,
                            GT_UNUSED const char *indexname)
{
  GtBUstate_spmsk *state = gt_malloc(sizeof (*state));

  state->encseq = encseq;
  state->readmode = readmode;
  state->totallength = gt_encseq_total_length(encseq);
  state->minmatchlength = minmatchlength;
  state->countspms = countspms;
  state->outputspms = outputspms;
  state->spmcounter = 0;
  state->stack = (void *) gt_GtArrayGtBUItvinfo_new();
  GT_INITARRAY(&state->Wset,GtUword);
  GT_INITARRAY(&state->Lset,GtUword);
  return state;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebx
movl %ecx, %ebp
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %r12
leaq 0x1f18b1(%rip), %rsi    # 0x3457f2
pushq $0x70
popq %rdi
movl $0x87, %edx
callq 0x93160
movq %rax, %r13
movq %r12, (%rax)
movl %r15d, 0x8(%rax)
movq %r12, %rdi
callq 0x7055e
movq %rax, 0x10(%r13)
movq %r14, 0x18(%r13)
movb %bpl, 0x30(%r13)
movb %bl, 0x31(%r13)
andq $0x0, 0x20(%r13)
callq 0x2aeef0
movq %rax, 0x68(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%r13)
movups %xmm0, 0x48(%r13)
movups %xmm0, 0x58(%r13)
movq %r13, %rax
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-spmsk.c
// Function: gt_spmsk_inl_delete
GtUword gt_spmsk_inl_delete(GtBUstate_spmsk *state)
{
  if (state != NULL)
  {
    GtUword tmpcount;

    GT_FREEARRAY(&state->Wset,GtUword);
    GT_FREEARRAY(&state->Lset,GtUword);
    gt_GtArrayGtBUItvinfo_delete_spmsk(
                 (GtArrayGtBUItvinfo_spmsk *) state->stack,state);
    tmpcount = state->spmcounter;
    gt_free(state);
    return tmpcount;
  }
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x154025
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
testq %rdi, %rdi
je 0x153fd8
leaq 0x38(%rbx), %r14
leaq 0x1f1830(%rip), %rsi    # 0x3457f2
movl $0x9c, %edx
callq 0x936f9
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
andq $0x0, 0x10(%r14)
movq 0x50(%rbx), %rdi
testq %rdi, %rdi
je 0x154002
leaq 0x50(%rbx), %r14
leaq 0x1f1806(%rip), %rsi    # 0x3457f2
movl $0x9d, %edx
callq 0x936f9
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
andq $0x0, 0x10(%r14)
movq 0x68(%rbx), %rdi
callq 0x153ef0
movq 0x20(%rbx), %r14
leaq 0x1f17dc(%rip), %rsi    # 0x3457f2
movq %rbx, %rdi
movl $0xa1, %edx
callq 0x936f9
jmp 0x154028
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa-spmsk.c
// Function: processleafedge_spmsk
static int processleafedge_spmsk(bool firstedge,
                                 GtUword fd,
                                 GtBUinfo_spmsk *finfo,
                                 GtUword seqnum,
                                 GtUword relpos,
                                 GtBUstate_spmsk *state,
                                 GT_UNUSED GtError *err)

{
  if (fd >= state->minmatchlength)
  {
    if (firstedge)
    {
      gt_assert(finfo != NULL);
      ((GtBUinfo_spmsk *) finfo)->firstinW = state->Wset.nextfreeGtUword;
    }
    if (relpos == 0)
    {
      GT_STOREINARRAY(&state->Wset,GtUword,128,seqnum);
    }
    if (relpos + fd == gt_encseq_seqlength(state->encseq,seqnum))
    {
      GT_STOREINARRAY(&state->Lset,GtUword,128,seqnum);
    }
  }
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
cmpq %rsi, 0x18(%r9)
ja 0x154781
movq %r9, %rbx
movq %r8, %r15
movq %rcx, %r14
movq %rsi, %r12
testb %dil, %dil
je 0x1546c7
testq %rdx, %rdx
je 0x15478d
movq 0x48(%rbx), %rax
movq %rax, (%rdx)
testq %r15, %r15
jne 0x15471f
movq 0x40(%rbx), %rax
cmpq %rax, 0x48(%rbx)
jae 0x1546dc
movq 0x38(%rbx), %rax
jmp 0x154706
leaq 0x80(%rax), %rcx
movq %rcx, 0x40(%rbx)
movq 0x38(%rbx), %rdi
leaq 0x400(,%rax,8), %rsi
leaq 0x1f10f8(%rip), %rdx    # 0x3457f2
pushq $0x4d
popq %rcx
callq 0x93472
movq %rax, 0x38(%rbx)
testq %rax, %rax
je 0x1547e1
movq 0x48(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x48(%rbx)
movq %r14, (%rax,%rcx,8)
addq %r12, %r15
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x75173
cmpq %rax, %r15
jne 0x154781
movq 0x58(%rbx), %rax
cmpq %rax, 0x60(%rbx)
jae 0x154742
movq 0x50(%rbx), %rax
jmp 0x15476c
leaq 0x80(%rax), %rcx
movq %rcx, 0x58(%rbx)
movq 0x50(%rbx), %rdi
leaq 0x400(,%rax,8), %rsi
leaq 0x1f1092(%rip), %rdx    # 0x3457f2
pushq $0x51
popq %rcx
callq 0x93472
movq %rax, 0x50(%rbx)
testq %rax, %rax
je 0x1547b7
movq 0x60(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x60(%rbx)
movq %r14, (%rax,%rcx,8)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x2e37d4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x190875(%rip), %rsi    # 0x2e5013
leaq 0x1f10cb(%rip), %rdx    # 0x345870
leaq 0x1f10d2(%rip), %rcx    # 0x34587e
leaq 0x1f103f(%rip), %r8     # 0x3457f2
pushq $0x48
jmp 0x154809
movq 0x2e37aa(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x19084b(%rip), %rsi    # 0x2e5013
leaq 0x1f10ea(%rip), %rdx    # 0x3458b9
leaq 0x1f10a8(%rip), %rcx    # 0x34587e
leaq 0x1f1015(%rip), %r8     # 0x3457f2
pushq $0x51
jmp 0x154809
movq 0x2e3780(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x190821(%rip), %rsi    # 0x2e5013
leaq 0x1f109b(%rip), %rdx    # 0x345894
leaq 0x1f107e(%rip), %rcx    # 0x34587e
leaq 0x1f0feb(%rip), %r8     # 0x3457f2
pushq $0x4d
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa-spmsk.c
// Function: processlcpinterval_spmsk
static int processlcpinterval_spmsk(GtUword lcp,
                                    GtBUinfo_spmsk *info,
                                    GtBUstate_spmsk *state,
                                    GT_UNUSED GtError *err)
{
  if (lcp >= state->minmatchlength)
  {
    GtUword lidx, widx, firstpos;

    gt_assert(info != NULL);
    firstpos = ((GtBUinfo_spmsk *) info)->firstinW;
    for (lidx = 0; lidx < state->Lset.nextfreeGtUword; lidx++)
    {
      if (state->outputspms)
      {
        GtUword lpos = state->Lset.spaceGtUword[lidx];

        for (widx = firstpos; widx < state->Wset.nextfreeGtUword; widx++)
        {
          printf(GT_WU " " GT_WU " " GT_WU "\n",lpos,
                 state->Wset.spaceGtUword[widx],lcp);
        }
      } else
      {
        gt_assert(state->countspms);
        if (firstpos < state->Wset.nextfreeGtUword)
        {
          state->spmcounter += state->Wset.nextfreeGtUword - firstpos;
        }
      }
    }
    state->Lset.nextfreeGtUword = 0;
  } else
  {
    state->Wset.nextfreeGtUword = 0;
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
cmpq %rdi, 0x18(%rdx)
jbe 0x154848
addq $0x48, %rbx
movq %rbx, %rax
andq $0x0, (%rax)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %rsi, %rsi
je 0x1548fe
movq %rdi, %r14
movq (%rsi), %rax
movq %rax, 0x8(%rsp)
leaq 0x60(%rbx), %rax
leaq 0x1f010f(%rip), %r15    # 0x344976
xorl %ebp, %ebp
movq %rax, 0x10(%rsp)
cmpq (%rax), %rbp
jae 0x154835
cmpb $0x1, 0x31(%rbx)
jne 0x1548a9
movq 0x50(%rbx), %rax
movq (%rax,%rbp,8), %r12
movq 0x8(%rsp), %r13
cmpq 0x48(%rbx), %r13
jae 0x1548be
movq 0x38(%rbx), %rax
movq (%rax,%r13,8), %rdx
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rcx
xorl %eax, %eax
callq 0x17070
incq %r13
jmp 0x154886
cmpb $0x0, 0x30(%rbx)
je 0x1548c8
movq 0x48(%rbx), %rax
subq 0x8(%rsp), %rax
jbe 0x1548be
addq %rax, 0x20(%rbx)
incq %rbp
movq 0x10(%rsp), %rax
jmp 0x15486e
movq 0x2e3699(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x19073a(%rip), %rsi    # 0x2e5013
leaq 0x1f1017(%rip), %rdx    # 0x3458f7
leaq 0x1f0ff7(%rip), %rcx    # 0x3458de
leaq 0x1f0f04(%rip), %r8     # 0x3457f2
pushq $0x6f
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x2e3663(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x190704(%rip), %rsi    # 0x2e5013
leaq 0x1eca66(%rip), %rdx    # 0x34137c
leaq 0x1f0fc1(%rip), %rcx    # 0x3458de
leaq 0x1f0ece(%rip), %r8     # 0x3457f2
pushq $0x60
jmp 0x1548f0
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_spmitvs_visitor.c
// Function: gt_esa_spmitvs_visitor_delete
void gt_esa_spmitvs_visitor_delete(GtESAVisitor *ev)
{
  GtESASpmitvsVisitor *esv;
  gt_assert(ev);
  esv = gt_esa_spmitvs_visitor_cast(ev);
  gt_free(esv->wholeleafcount);
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x1549db
movq %rdi, %rbx
callq 0x154a13
movq %rax, %rdi
movq %rbx, %rsi
callq 0x155095
movq 0x40(%rax), %rdi
leaq 0x1f0f56(%rip), %rsi    # 0x345926
movl $0x9f, %edx
popq %rbx
jmp 0x936f9
movq 0x2e3586(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x190627(%rip), %rsi    # 0x2e5013
leaq 0x1b8bfe(%rip), %rdx    # 0x30d5f1
leaq 0x1f0f0e(%rip), %rcx    # 0x345908
leaq 0x1f0f25(%rip), %r8     # 0x345926
movl $0x9d, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_spmitvs_visitor.c
// Function: gt_esa_spmitvs_visitor_class
const GtESAVisitorClass* gt_esa_spmitvs_visitor_class()
{
  static const GtESAVisitorClass *esc = NULL;
  gt_class_alloc_lock_enter();
  if (!esc) {
    esc = gt_esa_visitor_class_new(sizeof (GtESASpmitvsVisitor),
                                   gt_esa_spmitvs_visitor_delete,
                                   gt_esa_spmitvs_visitor_processleafedge,
                                   gt_esa_spmitvs_visitor_processbranchingedge,
                                   gt_esa_spmitvs_visitor_processlcpinterval,
                                   NULL,
                                   NULL);
  }
  gt_class_alloc_lock_leave();
  return esc;
}

// Assembly:
pushq %rax
callq 0x69e97
cmpq $0x0, 0x2e8ea7(%rip)    # 0x43d8c8
jne 0x154a56
andq $0x0, (%rsp)
leaq -0x83(%rip), %rsi       # 0x1549ac
leaq 0x2e(%rip), %rdx        # 0x154a64
leaq 0x102(%rip), %rcx       # 0x154b3f
leaq 0x233(%rip), %r8        # 0x154c77
pushq $0x58
popq %rdi
xorl %r9d, %r9d
callq 0x154fa8
movq %rax, 0x2e8e72(%rip)    # 0x43d8c8
callq 0x69ede
movq 0x2e8e66(%rip), %rax    # 0x43d8c8
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_spmitvs_visitor.c
// Function: gt_esa_spmitvs_visitor_processleafedge
static int gt_esa_spmitvs_visitor_processleafedge(GtESAVisitor *ev,
                                                  GT_UNUSED bool firstsucc,
                                                  GtUword fd,
                                                  GT_UNUSED GtUword flb,
                                                  GT_UNUSED
                                                         GtESAVisitorInfo *info,
                                                  GtUword leafnumber,
                                                  GT_UNUSED GtError *err)

{
  GtESASpmitvsVisitor *esv;
  gt_assert(ev);
  esv = gt_esa_spmitvs_visitor_cast(ev);

  if (gt_esa_spmitvs_visitor_iswholeleaf(esv->encseq,esv->readmode,leafnumber))
  {
    gt_assert(esv->currentleafindex != esv->totallength);
    esv->lastwholeleaf = esv->currentleafindex;
  } else
  {
    if (leafnumber + fd < esv->totallength &&
        !gt_encseq_position_is_separator(esv->encseq,
                                         leafnumber + fd,
                                         esv->readmode))
    {
      esv->unnecessaryleaves++;
    }
  }
  esv->currentleafindex++;
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x154adf
movq %r9, %r14
movq %rdx, %r15
movq %rdi, %rbx
callq 0x154a13
movq %rax, %rdi
movq %rbx, %rsi
callq 0x155095
movq %rax, %rbx
testq %r14, %r14
je 0x154aa3
movl 0x50(%rbx), %edx
movq 0x48(%rbx), %rdi
leaq -0x1(%r14), %rsi
callq 0x70e8f
testb %al, %al
je 0x154abd
movq 0x20(%rbx), %rax
cmpq 0x18(%rbx), %rax
je 0x154b09
movq %rax, 0x28(%rbx)
incq 0x20(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
addq %r15, %r14
cmpq 0x18(%rbx), %r14
jae 0x154ab1
movq 0x48(%rbx), %rdi
movl 0x50(%rbx), %edx
movq %r14, %rsi
callq 0x70e8f
testb %al, %al
jne 0x154ab1
incq 0x10(%rbx)
jmp 0x154ab1
movq 0x2e3482(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x190523(%rip), %rsi    # 0x2e5013
leaq 0x1b8afa(%rip), %rdx    # 0x30d5f1
leaq 0x1f0e98(%rip), %rcx    # 0x345996
leaq 0x1f0e21(%rip), %r8     # 0x345926
pushq $0x46
jmp 0x154b31
movq 0x2e3458(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1904f9(%rip), %rsi    # 0x2e5013
leaq 0x1f0e9c(%rip), %rdx    # 0x3459bd
leaq 0x1f0e6e(%rip), %rcx    # 0x345996
leaq 0x1f0df7(%rip), %r8     # 0x345926
pushq $0x4b
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_spmitvs_visitor.c
// Function: gt_esa_spmitvs_visitor_processlcpinterval
static int gt_esa_spmitvs_visitor_processlcpinterval(GtESAVisitor *ev,
                                                     GtUword lcp,
                                                     GtUword lb,
                                                     GtUword rb,
                                                     GT_UNUSED
                                                         GtESAVisitorInfo *info,
                                                     GT_UNUSED GtError *err)
{
  GtESASpmitvsVisitor *esv;
  gt_assert(ev);
  esv = gt_esa_spmitvs_visitor_cast(ev);

  if (esv->lastwholeleaf != esv->totallength &&
      esv->lastwholeleaf >= lb)
  {
    gt_assert(lcp <= (GtUword) esv->maxlen);
    gt_assert(esv->lastwholeleaf <= rb);
    esv->wholeleafcount[lcp].wholeleaf++;
    esv->wholeleafcount[lcp].wholeleafwidth += (rb - lb + 1);
  } else
  {
    esv->wholeleafcount[lcp].nowholeleaf++;
    esv->wholeleafcount[lcp].nowholeleafwidth += (rb - lb + 1);
  }
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x154cff
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq 0x154a13
movq %rax, %rdi
movq %r12, %rsi
callq 0x155095
movq 0x28(%rax), %rcx
cmpq %r14, %rcx
jb 0x154ccf
cmpq 0x18(%rax), %rcx
je 0x154ccf
cmpq %r15, 0x30(%rax)
jb 0x154d2d
cmpq %rbx, %rcx
ja 0x154d5b
movq 0x40(%rax), %rax
shlq $0x5, %r15
addq %r15, %rax
addq $0x8, %rax
jmp 0x154cde
movq 0x40(%rax), %rax
shlq $0x5, %r15
addq %r15, %rax
addq $0x18, %rax
incq -0x8(%rax)
movq (%rax), %rcx
subq %r14, %rbx
addq %rbx, %rcx
incq %rcx
movq %rcx, (%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x2e3262(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x190303(%rip), %rsi    # 0x2e5013
leaq 0x1b88da(%rip), %rdx    # 0x30d5f1
leaq 0x1f0d22(%rip), %rcx    # 0x345a40
leaq 0x1f0c01(%rip), %r8     # 0x345926
movl $0x88, %r9d
jmp 0x154d87
movq 0x2e3234(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1902d5(%rip), %rsi    # 0x2e5013
leaq 0x1f0d25(%rip), %rdx    # 0x345a6a
leaq 0x1f0cf4(%rip), %rcx    # 0x345a40
leaq 0x1f0bd3(%rip), %r8     # 0x345926
movl $0x8e, %r9d
jmp 0x154d87
movq 0x2e3206(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1902a7(%rip), %rsi    # 0x2e5013
leaq 0x1f0d14(%rip), %rdx    # 0x345a87
leaq 0x1f0cc6(%rip), %rcx    # 0x345a40
leaq 0x1f0ba5(%rip), %r8     # 0x345926
movl $0x8f, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_spmitvs_visitor.c
// Function: gt_esa_spmitvs_visitor_new
GtESAVisitor* gt_esa_spmitvs_visitor_new(const GtEncseq *encseq,
                                         GtReadmode readmode,
                                         unsigned int prefixlength,
                                         GT_UNUSED GtError *err)
{
  GtESAVisitor *ev = gt_esa_visitor_create(gt_esa_spmitvs_visitor_class());
  GtESASpmitvsVisitor *esv = gt_esa_spmitvs_visitor_cast(ev);

  esv->encseq = encseq;
  esv->readmode = readmode;
  esv->maxlen = gt_encseq_max_seq_length(encseq);
  esv->unnecessaryleaves = 0;
  esv->totallength = gt_encseq_total_length(encseq);
  esv->currentleafindex = 0;
  esv->lastwholeleaf = esv->totallength; /* undefined */
  esv->prefixlength = prefixlength;
  esv->wholeleafcount = gt_malloc(sizeof (*esv->wholeleafcount) *
                                 (esv->maxlen+1));
  memset(esv->wholeleafcount, 0,
         sizeof (*esv->wholeleafcount) * (esv->maxlen+1));

  return ev;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %r12
callq 0x154a13
movq %rax, %rdi
callq 0x155037
movq %rax, %rbx
callq 0x154a13
movq %rax, %rdi
movq %rbx, %rsi
callq 0x155095
movq %rax, %r14
movq %r12, 0x48(%rax)
movl %r15d, 0x50(%rax)
movq %r12, %rdi
callq 0x755c5
movq %rax, 0x30(%r14)
andq $0x0, 0x10(%r14)
movq %r12, %rdi
callq 0x7055e
movq %rax, 0x18(%r14)
andq $0x0, 0x20(%r14)
movq %rax, 0x28(%r14)
movl %ebp, 0x38(%r14)
movq 0x30(%r14), %rdi
shlq $0x5, %rdi
addq $0x20, %rdi
leaq 0x1f0b1b(%rip), %rsi    # 0x345926
movl $0xc4, %edx
callq 0x93160
movq %rax, 0x40(%r14)
movq 0x30(%r14), %rdx
shlq $0x5, %rdx
addq $0x20, %rdx
movq %rax, %rdi
xorl %esi, %esi
callq 0x17380
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_visitor.c
// Function: gt_esa_visitor_class_new
const GtESAVisitorClass*
gt_esa_visitor_class_new(size_t size,
                         GtESAVisitorFreeFunc free,
                         GtESAVisitorLeafEdgeFunc leafedge_func,
                         GtESAVisitorBranchingEdgeFunc branchingedge_func,
                         GtESAVisitorLCPIntervalFunc lcpinterval_func,
                         GtESAVisitorInfoCreatorFunc create_info_func,
                         GtESAVisitorInfoDestructorFunc delete_info_func)
{
  GtESAVisitorClass *c_class;
  gt_assert(size);
  c_class = gt_class_alloc(sizeof *c_class);
  c_class->size = size;
  c_class->free = free;
  c_class->leafedge_func = leafedge_func;
  c_class->branchingedge_func = branchingedge_func;
  c_class->lcpinterval_func = lcpinterval_func;
  c_class->create_info_func = create_info_func;
  c_class->delete_info_func = delete_info_func;
  return c_class;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x155001
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
pushq $0x38
popq %rdi
callq 0x292a70
movq %rbp, (%rax)
movq %r13, 0x8(%rax)
movq %r12, 0x10(%rax)
movq %r15, 0x18(%rax)
movq %r14, 0x20(%rax)
movq %rbx, 0x28(%rax)
movq 0x40(%rsp), %rcx
movq %rcx, 0x30(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2e2f60(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x190001(%rip), %rsi    # 0x2e5013
leaq 0x1ae7d4(%rip), %rdx    # 0x3037ed
leaq 0x1f0a80(%rip), %rcx    # 0x345aa0
leaq 0x1f0a92(%rip), %r8     # 0x345ab9
pushq $0x2f
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_visitor.c
// Function: gt_esa_visitor_create
GtESAVisitor* gt_esa_visitor_create(const GtESAVisitorClass *evc)
{
  GtESAVisitor *ev;
  gt_assert(evc && evc->size);
  ev = gt_calloc((size_t) 1, evc->size);
  ev->c_class = evc;
  return ev;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x15505f
movq %rdi, %rbx
movq (%rdi), %rsi
testq %rsi, %rsi
je 0x15505f
leaq 0x1f0a6a(%rip), %rdx    # 0x345ab9
pushq $0x1
popq %rdi
pushq $0x3f
popq %rcx
callq 0x9334a
movq %rbx, (%rax)
popq %rbx
retq
movq 0x2e2f02(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18ffa3(%rip), %rsi    # 0x2e5013
leaq 0x1f0a5a(%rip), %rdx    # 0x345ad1
leaq 0x1f0a64(%rip), %rcx    # 0x345ae2
leaq 0x1f0a34(%rip), %r8     # 0x345ab9
pushq $0x3e
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_visitor.c
// Function: gt_esa_visitor_info_new
GtESAVisitorInfo* gt_esa_visitor_info_new(GtESAVisitor *ev)
{
  gt_assert(ev && ev->c_class);
  if (ev->c_class->create_info_func != NULL)
    return ev->c_class->create_info_func(ev);
  return NULL;
}

// Assembly:
testq %rdi, %rdi
je 0x1550fa
movq (%rdi), %rax
testq %rax, %rax
je 0x1550fa
movq 0x28(%rax), %rax
testq %rax, %rax
je 0x1550f7
jmpq *%rax
xorl %eax, %eax
retq
pushq %rax
movq 0x2e2e66(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18ff07(%rip), %rsi    # 0x2e5013
leaq 0x1f0a19(%rip), %rdx    # 0x345b2c
leaq 0x1f0a24(%rip), %rcx    # 0x345b3e
leaq 0x1f0998(%rip), %r8     # 0x345ab9
pushq $0x4d
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_visitor.c
// Function: gt_esa_visitor_visit_leaf_edge
int gt_esa_visitor_visit_leaf_edge(GtESAVisitor *ev,
                                   bool firstsucc,
                                   GtUword fd,
                                   GtUword flb,
                                   GtESAVisitorInfo *info,
                                   GtUword leafnumber,
                                   GtError *err)
{
  gt_error_check(err);
  gt_assert(ev && ev->c_class);
  if (ev->c_class->leafedge_func != NULL)
    return ev->c_class->leafedge_func(ev, firstsucc, fd, flb, info, leafnumber,
                                      err);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %r13
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x1551b0
callq 0x89eb7
testb %al, %al
jne 0x155225
testq %r13, %r13
je 0x1551fb
movq (%r13), %rax
testq %rax, %rax
je 0x1551fb
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x1551ea
movzbl %bpl, %esi
movq %r13, %rdi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2e2d66(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18fe07(%rip), %rsi    # 0x2e5013
leaq 0x1f0919(%rip), %rdx    # 0x345b2c
leaq 0x1f0957(%rip), %rcx    # 0x345b71
leaq 0x1f0898(%rip), %r8     # 0x345ab9
pushq $0x63
jmp 0x15524d
movq 0x2e2d3c(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18fddd(%rip), %rsi    # 0x2e5013
leaq 0x18ff82(%rip), %rdx    # 0x2e51bf
leaq 0x1f092d(%rip), %rcx    # 0x345b71
leaq 0x1f086e(%rip), %r8     # 0x345ab9
pushq $0x62
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_visitor.c
// Function: gt_esa_visitor_visit_branching_edge
int gt_esa_visitor_visit_branching_edge(GtESAVisitor *ev,
                                        bool firstsucc,
                                        GtUword fd,
                                        GtUword flb,
                                        GtESAVisitorInfo *finfo,
                                        GtUword sd,
                                        GtUword slb,
                                        GtUword srb,
                                        GtESAVisitorInfo *sinfo,
                                        GtError *err)
{
  gt_error_check(err);
  gt_assert(ev && ev->c_class);
  if (ev->c_class->branchingedge_func != NULL)
    return ev->c_class->branchingedge_func(ev, firstsucc, fd, flb, finfo, sd,
                                           slb, srb, sinfo, err);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %r13
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x15528a
callq 0x89eb7
testb %al, %al
jne 0x1552ff
testq %r13, %r13
je 0x1552d5
movq (%r13), %rax
testq %rax, %rax
je 0x1552d5
movq 0x18(%rax), %rax
testq %rax, %rax
je 0x1552c4
movzbl %bpl, %esi
movq %r13, %rdi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2e2c8c(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18fd2d(%rip), %rsi    # 0x2e5013
leaq 0x1f083f(%rip), %rdx    # 0x345b2c
leaq 0x1f089c(%rip), %rcx    # 0x345b90
leaq 0x1f07be(%rip), %r8     # 0x345ab9
pushq $0x76
jmp 0x155327
movq 0x2e2c62(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18fd03(%rip), %rsi    # 0x2e5013
leaq 0x18fea8(%rip), %rdx    # 0x2e51bf
leaq 0x1f0872(%rip), %rcx    # 0x345b90
leaq 0x1f0794(%rip), %r8     # 0x345ab9
pushq $0x75
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_visitor.c
// Function: gt_esa_visitor_visit_lcp_interval
int gt_esa_visitor_visit_lcp_interval(GtESAVisitor *ev,
                                      GtUword lcp,
                                      GtUword lb,
                                      GtUword rb,
                                      GtESAVisitorInfo *info,
                                      GtError *err)
{
  gt_error_check(err);
  gt_assert(ev && ev->c_class);
  if (ev->c_class->lcpinterval_func != NULL)
    return ev->c_class->lcpinterval_func(ev, lcp, lb, rb, info, err);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
testq %r9, %r9
je 0x155363
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x1553db
testq %rbp, %rbp
je 0x1553ad
movq (%rbp), %rax
testq %rax, %rax
je 0x1553ad
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x15539c
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2e2bb4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18fc55(%rip), %rsi    # 0x2e5013
leaq 0x1f0767(%rip), %rdx    # 0x345b2c
leaq 0x1f07e8(%rip), %rcx    # 0x345bb4
leaq 0x1f06e6(%rip), %r8     # 0x345ab9
movl $0x85, %r9d
jmp 0x155407
movq 0x2e2b86(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18fc27(%rip), %rsi    # 0x2e5013
leaq 0x18fdcc(%rip), %rdx    # 0x2e51bf
leaq 0x1f07ba(%rip), %rcx    # 0x345bb4
leaq 0x1f06b8(%rip), %r8     # 0x345ab9
movl $0x84, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/esa_visitor.c
// Function: gt_esa_visitor_delete
void gt_esa_visitor_delete(GtESAVisitor *ev)
{
  if (!ev) return;
  gt_assert(ev->c_class);
  if (ev->c_class->free != NULL)
    ev->c_class->free(ev);
  gt_free(ev);
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x155447
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x155449
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x155432
movq %rbx, %rdi
callq *%rax
leaq 0x1f0680(%rip), %rsi    # 0x345ab9
movq %rbx, %rdi
movl $0x91, %edx
popq %rbx
jmp 0x936f9
popq %rbx
retq
movq 0x2e2b18(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18fbb9(%rip), %rsi    # 0x2e5013
leaq 0x1f06d1(%rip), %rdx    # 0x345b32
leaq 0x1f076e(%rip), %rcx    # 0x345bd6
leaq 0x1f064a(%rip), %r8     # 0x345ab9
movl $0x8e, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/firstcodes-scan.c
// Function: gt_firstcodes_kmerscan_eqlen
GtUword gt_firstcodes_kmerscan_eqlen(const GtBitsequence *twobitencoding,
                                           bool withcheck,
                                           GtUword equallength,
                                           GtUword totallength,
                                           GtUword numofsequences,
                                           GtUword maxunitindex,
                                           unsigned int kmersize,
                                           unsigned int minmatchlength,
                                           GtProcesskmercode processcode,
                                           void *data)
{
  GtUword startpos, encodingsum = 0, fseqnum;

  if (equallength >= (GtUword) minmatchlength)
  {
    for (startpos = 0, fseqnum = 0; startpos < totallength;
         startpos += equallength+1, fseqnum++)
    {
      encodingsum += (GtUword) gt_firstcodes_kmerscan_range(
                                                  twobitencoding,
                                                  withcheck,
                                                  kmersize,
                                                  minmatchlength,
                                                  startpos,
                                                  startpos + equallength,
                                                  fseqnum,
                                                  numofsequences - 1 - fseqnum,
                                                  maxunitindex,
                                                  processcode,
                                                  data);
    }
  }
  return encodingsum;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movq %rdi, (%rsp)
movl 0x58(%rsp), %eax
cmpq %rdx, %rax
jbe 0x1554bd
xorl %ebp, %ebp
movq %rbp, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r8, %r14
movq %rdx, %r12
leaq 0x1(%rdx), %r15
decq %r14
xorl %ebx, %ebx
xorl %ebp, %ebp
xorl %r13d, %r13d
cmpq 0x10(%rsp), %rbx
jae 0x1554ab
leaq (%r12,%rbx), %r8
movq (%rsp), %rdi
movl 0x50(%rsp), %esi
movl 0x58(%rsp), %edx
movq %rbx, %rcx
movq %r13, %r9
pushq 0x68(%rsp)
pushq 0x68(%rsp)
pushq 0x18(%rsp)
pushq %r14
callq 0x155513
addq $0x20, %rsp
addq %rax, %rbp
incq %r13
addq %r15, %rbx
decq %r14
jmp 0x1554d1
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/firstcodes.c
// Function: gt_firstcodes_idx2code
static GtUword gt_firstcodes_idx2code(const GtFirstcodesinfo *fci,
                                            GtUword idx)
{
  gt_assert(idx <= fci->differentcodes);
  if (idx == fci->differentcodes)
  {
    return fci->allfirstcodes[idx-1];
  }
  return fci->allfirstcodes[idx];
}

// Assembly:
cmpq %rsi, 0x38(%rdi)
jb 0x159d31
setne %al
shlq $0x3, %rsi
addq 0x98(%rdi), %rsi
movzbl %al, %eax
movq -0x8(%rsi,%rax,8), %rax
retq
pushq %rax
movq 0x2de22f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18b2d0(%rip), %rsi    # 0x2e5013
leaq 0x1ec635(%rip), %rdx    # 0x34637f
leaq 0x1ec649(%rip), %rcx    # 0x34639a
leaq 0x1ec05c(%rip), %r8     # 0x345db4
movl $0x282, %r9d            # imm = 0x282
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/firstcodes.c
// Function: gt_firstcode_delete_before_end
static void gt_firstcode_delete_before_end(GtFirstcodesinfo *fci)
{
  gt_firstcodes_binsearchcache_delete(fci->binsearchcache,fci->fcsl);
  if (fci->radixsort_codepos != NULL)
  {
    gt_radixsort_delete(fci->radixsort_codepos);
    GT_FCI_SUBTRACTWORKSPACE(fci->fcsl,"radixsort_codepos");
    fci->radixsort_codepos = NULL;
  }
  if (fci->mappedmarkprefix != NULL)
  {
    gt_Sfxmappedrange_delete(fci->mappedmarkprefix);
    gt_marksubstring_delete(fci->buf.markprefix,true);
  } else
  {
    gt_marksubstring_delete(fci->buf.markprefix,true);
    if (fci->buf.markprefix != NULL)
    {
      GT_FCI_SUBTRACTSPLITSPACE(fci->fcsl,"markprefix");
    }
  }
  fci->buf.markprefix = NULL;
  gt_marksubstring_delete(fci->buf.marksuffix,true);
  if (fci->buf.marksuffix != NULL)
  {
    GT_FCI_SUBTRACTWORKSPACE(fci->fcsl,"marksuffix");
  }
  fci->buf.marksuffix = NULL;
  if (fci->mappedallfirstcodes == NULL && fci->allfirstcodes != NULL)
  {
    gt_free(fci->allfirstcodes);
    fci->allfirstcodes = NULL;
    GT_FCI_SUBTRACTSPLITSPACE(fci->fcsl,"allfirstcodes");
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x48(%rdi), %rdi
movq 0xa8(%rbx), %rsi
callq 0x2b370a
movq 0x70(%rbx), %rdi
testq %rdi, %rdi
je 0x15a0c7
callq 0xa0545
movq 0xa8(%rbx), %rdi
andq $0x0, (%rsp)
leaq 0x1ebd09(%rip), %rdx    # 0x345db4
leaq 0x1ebe30(%rip), %r8     # 0x345ee2
pushq $0x1
popq %r9
movl $0x261, %esi            # imm = 0x261
xorl %ecx, %ecx
callq 0x2b613a
andq $0x0, 0x70(%rbx)
movq 0x90(%rbx), %rdi
testq %rdi, %rdi
je 0x15a0e9
callq 0x1a04c6
movq 0xd0(%rbx), %rdi
pushq $0x1
popq %rsi
callq 0x166831
jmp 0x15a12b
movq 0xd0(%rbx), %rdi
pushq $0x1
popq %rsi
callq 0x166831
cmpq $0x0, 0xd0(%rbx)
je 0x15a12b
movq 0xa8(%rbx), %rdi
andq $0x0, (%rsp)
leaq 0x1ebc9f(%rip), %rdx    # 0x345db4
leaq 0x1ebfa5(%rip), %r8     # 0x3460c1
movl $0x26d, %esi            # imm = 0x26D
xorl %ecx, %ecx
xorl %r9d, %r9d
callq 0x2b613a
andq $0x0, 0xd0(%rbx)
movq 0xd8(%rbx), %rdi
pushq $0x1
popq %rsi
callq 0x166831
cmpq $0x0, 0xd8(%rbx)
je 0x15a176
movq 0xa8(%rbx), %rdi
andq $0x0, (%rsp)
leaq 0x1ebc55(%rip), %rdx    # 0x345db4
leaq 0x1ebf66(%rip), %r8     # 0x3460cc
pushq $0x1
popq %r9
movl $0x274, %esi            # imm = 0x274
xorl %ecx, %ecx
callq 0x2b613a
andq $0x0, 0xd8(%rbx)
cmpq $0x0, 0x88(%rbx)
jne 0x15a1d5
movq 0x98(%rbx), %rdi
testq %rdi, %rdi
je 0x15a1d5
leaq 0x1ebc19(%rip), %r14    # 0x345db4
movq %r14, %rsi
movl $0x279, %edx            # imm = 0x279
callq 0x936f9
andq $0x0, 0x98(%rbx)
movq 0xa8(%rbx), %rdi
andq $0x0, (%rsp)
leaq 0x19068a(%rip), %r8     # 0x2ea84d
movl $0x27b, %esi            # imm = 0x27B
movq %r14, %rdx
xorl %ecx, %ecx
xorl %r9d, %r9d
callq 0x2b613a
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/firstcodes.c
// Function: gt_firstcodes_accumulatecounts_flush
static void gt_firstcodes_accumulatecounts_flush(void *data)
{
  GtFirstcodesinfo *fci = (GtFirstcodesinfo *) data;

  if (fci->buf.nextfree > 0)
  {
    GtUword foundindex, foundcode;

    gt_assert(fci->allfirstcodes != NULL);
    fci->codebuffer_total += fci->buf.nextfree;
    gt_radixsort_inplace_sort(fci->radixsort_code,fci->buf.nextfree);
    foundindex = gt_firstcodes_find_accu(&foundcode,
                                         fci->allfirstcodes,
                                         fci->allfirstcodes0_save,
                                         fci->differentcodes,
                                         fci->tab.differencemask,
                                         fci->binsearchcache,
                                         fci->buf.spaceGtUword[0]);
    if (foundindex != ULONG_MAX)
    {
      fci->firstcodehits
        += gt_firstcodes_accumulatecounts_merge(&fci->tab,
                                                fci->allfirstcodes,
                                                fci->differentcodes,
                                                fci->buf.spaceGtUword,
                                                fci->buf.spaceGtUword
                                                + fci->buf.nextfree - 1,
                                                foundindex,
                                                foundcode);
    }
    fci->flushcount++;
    fci->buf.nextfree = 0;
  }
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq 0xc0(%rdi), %rsi
testq %rsi, %rsi
je 0x15a2f3
movq %rdi, %rbx
cmpq $0x0, 0x98(%rdi)
je 0x15a2f9
addq %rsi, 0x20(%rbx)
movq 0x68(%rbx), %rdi
callq 0xa0ea4
movq 0x98(%rbx), %rsi
movq 0xa0(%rbx), %rdx
movq 0x168(%rbx), %r8
movq 0x38(%rbx), %rcx
movq 0x48(%rbx), %r9
movq 0xf0(%rbx), %rax
movq (%rax), %rax
movq %rax, (%rsp)
leaq 0x8(%rsp), %rdi
callq 0x2b3781
cmpq $-0x1, %rax
je 0x15a2e8
leaq 0x110(%rbx), %rdi
movq 0x38(%rbx), %rdx
movq 0x98(%rbx), %rsi
movq 0xf0(%rbx), %rcx
movq 0xc0(%rbx), %r8
leaq -0x8(%rcx,%r8,8), %r8
movq 0x8(%rsp), %r9
movq %r9, (%rsp)
movq %rax, %r9
callq 0x2b6b22
addq %rax, (%rbx)
incl 0x50(%rbx)
andq $0x0, 0xc0(%rbx)
addq $0x10, %rsp
popq %rbx
retq
movq 0x2ddc68(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18ad09(%rip), %rsi    # 0x2e5013
leaq 0x1ebdc6(%rip), %rdx    # 0x3460d7
leaq 0x1ebfca(%rip), %rcx    # 0x3462e2
leaq 0x1eba95(%rip), %r8     # 0x345db4
movl $0x89, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/firstcodes.c
// Function: gt_kmercode2prefix_index
static GtUword gt_kmercode2prefix_index(GtUword idx,
                                              const void *data)
{
  const GtFirstcodesinfo *fci = (const GtFirstcodesinfo *) data;

  gt_assert(fci != NULL && idx < fci->differentcodes);
  return (GtUword) fci->allfirstcodes[idx]
            >> (GtUword) fci->shiftright2index;
}

// Assembly:
testq %rsi, %rsi
je 0x15a37e
cmpq %rdi, 0x38(%rsi)
jbe 0x15a37e
movq 0x98(%rsi), %rax
movq (%rax,%rdi,8), %rax
movb 0x54(%rsi), %cl
shrq %cl, %rax
retq
pushq %rax
movq 0x2ddbe2(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18ac83(%rip), %rsi    # 0x2e5013
leaq 0x1ebf70(%rip), %rdx    # 0x346307
leaq 0x1ebf92(%rip), %rcx    # 0x346330
leaq 0x1eba0f(%rip), %r8     # 0x345db4
pushq $0x5a
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/firstcodes.c
// Function: gt_firstcodes_thread_caller_sortremaining
static void *gt_firstcodes_thread_caller_sortremaining(void *data)
{
  GtSortRemainingThreadinfo *threadinfo = (GtSortRemainingThreadinfo *) data;

  if (gt_firstcodes_sortremaining(threadinfo->srsw,
                                  threadinfo->encseq,
                                  threadinfo->readmode,
                                  threadinfo->spmsuftab,
                                  threadinfo->snrp,
                                  threadinfo->fct,
                                  threadinfo->minindex,
                                  threadinfo->maxindex,
                                  threadinfo->sumofwidth,
                                  threadinfo->spaceforbucketprocessing,
                                  threadinfo->depth,
                                  threadinfo->itvprocess,
                                  threadinfo->itvprocess_end,
                                  threadinfo->itvprocessdata,
                                  threadinfo->withsuftabcheck,
                                  threadinfo->err) != 0)
  {
    gt_assert(false);
  }
  return NULL;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq (%rdi), %rax
movq 0x8(%rdi), %rsi
movl 0x10(%rdi), %edx
movq 0x18(%rdi), %rcx
movq 0x20(%rdi), %r8
movq 0x28(%rdi), %r9
movups 0x38(%rdi), %xmm0
movups 0x48(%rdi), %xmm1
movq 0x30(%rdi), %r10
movq 0x60(%rdi), %r11
movq 0x68(%rdi), %rbx
movq 0x70(%rdi), %r14
movzbl 0x58(%rdi), %ebp
movq 0x78(%rdi), %rdi
movq %rdi, 0x48(%rsp)
movl %ebp, 0x40(%rsp)
movq %r14, 0x38(%rsp)
movq %rbx, 0x30(%rsp)
movq %r11, 0x28(%rsp)
movq %r10, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %rax, %rdi
callq 0x15a3b5
testl %eax, %eax
jne 0x15a8be
xorl %eax, %eax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq 0x2dd6a3(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x18a744(%rip), %rsi    # 0x2e5013
leaq 0x1cc116(%rip), %rdx    # 0x3269ec
leaq 0x1ebe89(%rip), %rcx    # 0x346766
leaq 0x1eb4d0(%rip), %r8     # 0x345db4
movl $0x1f5, %r9d            # imm = 0x1F5
xorl %eax, %eax
callq 0x17a50
callq 0x17390
nop