LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-bltrie.c
// Function: blindtrie_extractleafnode
static GtBlindtriesnodeptr blindtrie_extractleafnode(GtBlindtrie *blindtrie,
                                                     GtBlindtriesnodeptr head)
{
  gt_assert(!blindtrie_isleaf(blindtrie,head));
  do
  {
    head = blindtrie_firstchild_get(blindtrie,head);
  } while (!blindtrie_isleaf(blindtrie,head));
  return head;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
callq 0x1e6d66
testb %al, %al
jne 0x1e7706
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1e7428
movl %eax, %ebp
movq %rbx, %rdi
movl %eax, %esi
callq 0x1e6d66
testb %al, %al
je 0x1e76e3
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x76b08
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-copysort.c
// Function: comparesuperbucketsizes
static int comparesuperbucketsizes(const void *a,const void *b,void *data)
{
  const GtBucketspec2 *bucketspec2 = (const GtBucketspec2 *) data;
  GtUword size1 = superbucketsize(bucketspec2, *(const unsigned int *) a);
  GtUword size2 = superbucketsize(bucketspec2, *(const unsigned int *) b);
  if (size1 < size2)
  {
    return -1;
  }
  if (size1 > size2)
  {
    return 1;
  }
  return 0;
}

// Assembly:
movl (%rdi), %edi
movq 0x38(%rdx), %rax
testq %rdi, %rdi
je 0x1e7d3a
movq %rdi, %rcx
shlq $0x4, %rcx
movq 0x8(%rax,%rcx), %rcx
leal -0x1(%rdi), %edx
shlq $0x4, %rdx
subq 0x8(%rax,%rdx), %rcx
jmp 0x1e7d3e
movq 0x8(%rax), %rcx
movl (%rsi), %esi
testq %rsi, %rsi
je 0x1e7d5e
movq %rsi, %rdx
shlq $0x4, %rdx
movq 0x8(%rax,%rdx), %rdx
decl %esi
shlq $0x4, %rsi
subq 0x8(%rax,%rsi), %rdx
jmp 0x1e7d62
movq 0x8(%rax), %rdx
xorl %esi, %esi
cmpq %rdx, %rcx
seta %sil
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovael %esi, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-copysort.c
// Function: resetsorted
static void resetsorted(GtBucketspec2 *bucketspec2)
{
  unsigned int idx, idx2;

  for (idx = 0; idx<bucketspec2->numofchars; idx++)
  {
    bucketspec2->superbuckettab[idx].sorted = false;
    for (idx2 = 0; idx2<bucketspec2->numofchars; idx2++)
    {
      GtUword startidx = getstartidx(bucketspec2,idx,idx2),
             endidx = getendidx(bucketspec2,idx,idx2);
      bucketspec2->subbuckettab[idx][idx2].sorted =
        (startidx < endidx) ? false : true;
    }
  }
}

// Assembly:
cmpl $0x0, 0x14(%rdi)
je 0x1e7e05
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl $0x1, %eax
xorl %r14d, %r14d
movq 0x38(%rbx), %rcx
movq %r14, %rdx
shlq $0x4, %rdx
movb $0x0, 0x1(%rcx,%rdx)
testl %eax, %eax
movl $0x0, %eax
je 0x1e7df2
movl $0x1, %r13d
xorl %r15d, %r15d
movq %rbx, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq 0x1e835d
movq %rax, %r12
movq %rbx, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq 0x1e8318
cmpq %rax, %r12
movq 0x40(%rbx), %rax
movq (%rax,%r14,8), %rax
setae (%rax,%r13)
incq %r15
movl 0x14(%rbx), %eax
addq $0x10, %r13
cmpq %rax, %r15
jb 0x1e7db4
incq %r14
movl %eax, %ecx
cmpq %rcx, %r14
jb 0x1e7d92
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-copysort.c
// Function: getendidx
static GtUword getendidx(const GtBucketspec2 *bucketspec2,
                        unsigned int first,
                        unsigned int second)
{
  gt_assert(first < bucketspec2->numofchars);
  gt_assert(second <= bucketspec2->numofchars);
  if (second < bucketspec2->numofchars)
  {
    return bucketspec2->subbuckettab[first][second].bucketend;
  }
  return bucketspec2->superbuckettab[first].bucketend;
}

// Assembly:
pushq %rax
movl 0x14(%rdi), %eax
cmpl %esi, %eax
jbe 0x1e8353
cmpl %edx, %eax
jb 0x1e8358
movl %esi, %eax
jbe 0x1e833f
movq 0x40(%rdi), %rcx
movq (%rcx,%rax,8), %rax
movl %edx, %ecx
shlq $0x4, %rcx
addq %rcx, %rax
addq $0x8, %rax
jmp 0x1e834e
movq 0x38(%rdi), %rcx
shlq $0x4, %rax
addq %rcx, %rax
addq $0x8, %rax
movq (%rax), %rax
popq %rcx
retq
callq 0x76ed1
callq 0x76f08
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-copysort.c
// Function: getstartidx
static GtUword getstartidx(const GtBucketspec2 *bucketspec2,
                                 unsigned int first,
                                 unsigned int second)
{
  gt_assert(first < bucketspec2->numofchars);
  gt_assert(second <= bucketspec2->numofchars);
  if (second > 0)
  {
    return bucketspec2->subbuckettab[first][second-1].bucketend;
  }
  if (first > 0)
  {
    return bucketspec2->superbuckettab[first-1].bucketend;
  }
  return 0;
}

// Assembly:
pushq %rax
movl 0x14(%rdi), %eax
cmpl %esi, %eax
jbe 0x1e839a
cmpl %edx, %eax
jb 0x1e839f
testl %edx, %edx
je 0x1e8379
movl %esi, %eax
shlq $0x3, %rax
addq 0x40(%rdi), %rax
jmp 0x1e8386
testl %esi, %esi
je 0x1e8396
addq $0x38, %rdi
movq %rdi, %rax
movl %esi, %edx
movq (%rax), %rax
decl %edx
shlq $0x4, %rdx
movq 0x8(%rax,%rdx), %rax
popq %rcx
retq
xorl %eax, %eax
jmp 0x1e8394
callq 0x76f3f
callq 0x76f76
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-copysort.c
// Function: gt_copysort_delete
void gt_copysort_delete(GtBucketspec2 *bucketspec2)
{
  gt_assert(bucketspec2 != NULL);
  gt_array2dim_delete(bucketspec2->subbuckettab);
  gt_free(bucketspec2->superbuckettab);
  gt_free(bucketspec2->order);
  gt_free(bucketspec2);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1e8415
movq %rdi, %rbx
movq 0x40(%rdi), %rax
movq (%rax), %rdi
leaq 0x1ce1f3(%rip), %r14    # 0x3b65b1
movq %r14, %rsi
movl $0x217, %edx            # imm = 0x217
callq 0x1045eb
movq 0x40(%rbx), %rdi
movq %r14, %rsi
movl $0x217, %edx            # imm = 0x217
callq 0x1045eb
movq 0x38(%rbx), %rdi
movq %r14, %rsi
movl $0x218, %edx            # imm = 0x218
callq 0x1045eb
movq 0x20(%rbx), %rdi
movq %r14, %rsi
movl $0x219, %edx            # imm = 0x219
callq 0x1045eb
movq %rbx, %rdi
movq %r14, %rsi
movl $0x21a, %edx            # imm = 0x21A
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1045eb
callq 0x76fad
nop
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: gt_differencecover_delete
void gt_differencecover_delete(GtDifferencecover *dcov)
{
  if (dcov != NULL)
  {
    gt_assert(dcov->bcktab == NULL);
    gt_assert(dcov->sortedsample == NULL);
    gt_assert(dcov->filltable == NULL);
    gt_assert(dcov->multimappower == NULL);
    gt_free(dcov->coverrank_evaluated);
    dcov->coverrank_evaluated = NULL;
    gt_free(dcov->coverrank_bits);
    dcov->coverrank_bits = NULL;
    gt_free(dcov->diff2pos);
    dcov->diff2pos = NULL;
    gt_free(dcov->inversesuftab);
    dcov->inversesuftab = NULL;
    gt_rmq_delete(dcov->rmq);
    dcov->rmq = NULL;
    gt_free(dcov);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x1e87bf
movq %rdi, %rbx
cmpq $0x0, 0x58(%rdi)
jne 0x1e87c5
cmpq $0x0, 0x148(%rbx)
jne 0x1e87ca
cmpq $0x0, 0x90(%rbx)
jne 0x1e87cf
cmpq $0x0, 0x88(%rbx)
jne 0x1e87d4
movq 0x20(%rbx), %rdi
leaq 0x1ce1f2(%rip), %r14    # 0x3b6930
movq %r14, %rsi
movl $0x213, %edx            # imm = 0x213
callq 0x1045eb
xorl %r15d, %r15d
movq %r15, 0x20(%rbx)
movq 0x28(%rbx), %rdi
movq %r14, %rsi
movl $0x215, %edx            # imm = 0x215
callq 0x1045eb
movq %r15, 0x28(%rbx)
movq 0x38(%rbx), %rdi
movq %r14, %rsi
movl $0x217, %edx            # imm = 0x217
callq 0x1045eb
movq %r15, 0x38(%rbx)
movq 0x98(%rbx), %rdi
movq %r14, %rsi
movl $0x219, %edx            # imm = 0x219
callq 0x1045eb
movq %r15, 0x98(%rbx)
movq 0x150(%rbx), %rdi
callq 0x16fabb
movq %r15, 0x150(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x21d, %edx            # imm = 0x21D
popq %rbx
popq %r14
popq %r15
jmp 0x1045eb
popq %rbx
popq %r14
popq %r15
retq
callq 0x77091
callq 0x770ca
callq 0x77103
callq 0x7713c
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: gt_inl_dc_queue_new
static GtInlDCQueue *gt_inl_dc_queue_new(GtUword queuesize)
{
  GtInlDCQueue *q;

  q = gt_malloc(sizeof (*q));
  gt_assert(queuesize > 0);
  q->queuespace = gt_malloc(sizeof (*q->queuespace) * queuesize);
  q->noofelements = 0;
  q->queuesize = queuesize;
  q->dequeueindex = q->enqueueindex = queuesize - 1;
  return q;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x1cb9df(%rip), %r14    # 0x3b6930
movl $0x28, %edi
movq %r14, %rsi
movl $0x83, %edx
callq 0x104226
movq %rax, %r15
movq %rbx, %rdi
shlq $0x4, %rdi
movq %r14, %rsi
movl $0x85, %edx
callq 0x104226
movq %rax, (%r15)
movq $0x0, 0x20(%r15)
movq %rbx, 0x18(%r15)
decq %rbx
movq %rbx, 0x8(%r15)
movq %rbx, 0x10(%r15)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: dc_addunsortedrange
static void dc_addunsortedrange(void *voiddcov,
                                GT_UNUSED GtSuffixsortspace *sssp,
                                GtUword blisbl,
                                GtUword width,
                                GT_UNUSED GtUword depth)
{
  GtDifferencecover *dcov = (GtDifferencecover *) voiddcov;
  GtDcPairsuffixptr *ptr;

  gt_assert(depth >= (GtUword) dcov->vparam);
  dc_updatewidth (dcov,width,dcov->vparam);
  GT_GETNEXTFREEINARRAY(ptr,&dcov->firstgeneration,GtDcPairsuffixptr,1024);
  ptr->blisbl = blisbl;
  ptr->width = width;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movl (%rdi), %edx
cmpq %r8, %rdx
ja 0x1eb451
movq %rcx, %rbx
movq %rdi, %r15
movq %rcx, %rsi
callq 0x1eb7e7
movq 0x118(%r15), %rsi
cmpq %rsi, 0x120(%r15)
jae 0x1eb3f6
movq 0x110(%r15), %rax
jmp 0x1eb427
addq $0x400, %rsi            # imm = 0x400
movq %rsi, 0x118(%r15)
movq 0x110(%r15), %rdi
shlq $0x4, %rsi
leaq 0x1cb51a(%rip), %rdx    # 0x3b6930
movl $0x45e, %ecx            # imm = 0x45E
callq 0x104461
movq %rax, 0x110(%r15)
testq %rax, %rax
je 0x1eb456
movq 0x120(%r15), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x120(%r15)
shlq $0x4, %rcx
movq %r14, (%rax,%rcx)
movq %rbx, 0x8(%rax,%rcx)
popq %rbx
popq %r14
popq %r15
retq
callq 0x78220
callq 0x781e7
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: dc_filldiff2pos
static void dc_filldiff2pos(GtDifferencecover *dcov)
{
  Diffvalue *iptr, *jptr;

  gt_assert(dcov->diff2pos == NULL);
  dcov->diff2pos = gt_malloc(sizeof (*dcov->diff2pos) * dcov->vparam);
  dcov->requiredspace += sizeof (*dcov->diff2pos) * dcov->vparam;
  for (iptr=dcov->diffvalues + dcov->size - 1; iptr>=dcov->diffvalues; iptr--)
  {
    for (jptr=dcov->diffvalues; jptr<dcov->diffvalues + dcov->size; jptr++)
    {
      dcov->diff2pos[GT_MODV(*jptr - *iptr)] = *iptr;
    }
  }
}

// Assembly:
pushq %rbx
cmpq $0x0, 0x38(%rdi)
jne 0x1eb783
movq %rdi, %rbx
movl (%rdi), %edi
addq %rdi, %rdi
leaq 0x1cb20d(%rip), %rsi    # 0x3b6930
movl $0x169, %edx            # imm = 0x169
callq 0x104226
movq %rax, 0x38(%rbx)
movl (%rbx), %ecx
movl 0x8(%rbx), %esi
addq %rcx, %rcx
addq %rcx, 0x40(%rbx)
movq 0x30(%rbx), %rcx
leaq (%rcx,%rsi,2), %rdx
addq $-0x2, %rdx
cmpq %rcx, %rdx
jb 0x1eb781
leaq (%rcx,%rsi,2), %rsi
movl 0xc(%rbx), %edi
movzwl (%rdx), %r8d
movzwl %r8w, %r8d
movq %rcx, %r9
movzwl (%r9), %r10d
subl %r8d, %r10d
andl %edi, %r10d
movw %r8w, (%rax,%r10,2)
addq $0x2, %r9
cmpq %rsi, %r9
jb 0x1eb760
addq $-0x2, %rdx
cmpq %rcx, %rdx
jae 0x1eb755
popq %rbx
retq
callq 0x78304
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: dc_updatewidth
static void dc_updatewidth (GtDifferencecover *dcov,GtUword width,
                            unsigned int depth)
{
  if (width > 1UL)
  {
    gt_assert(dcov != NULL);
    dcov->firstgenerationtotalwidth += width;
    dcov->firstgenerationcount++;
    if (dcov->allocateditvinfo < width)
    {
      dcov->allocateditvinfo = width;
    }
    if (dcov->currentdepth == 0)
    {
      dcov->currentdepth = (GtUword) depth;
    } else
    {
      gt_assert(dcov->currentdepth == (GtUword) depth);
    }
  }
}

// Assembly:
pushq %rax
cmpq $0x2, %rsi
jb 0x1eb844
testq %rdi, %rdi
je 0x1eb846
movdqu 0x130(%rdi), %xmm0
movq %rsi, %xmm1
shufpd $0x2, 0x16d217(%rip), %xmm1 # xmm1 = xmm1[0],mem[1]
paddq %xmm0, %xmm1
movdqu %xmm1, 0x130(%rdi)
cmpq %rsi, 0xa0(%rdi)
jae 0x1eb825
movq %rsi, 0xa0(%rdi)
movq 0xb8(%rdi), %rax
movl %edx, %ecx
testq %rax, %rax
je 0x1eb83d
cmpq %rcx, %rax
je 0x1eb844
callq 0x783af
movq %rcx, 0xb8(%rdi)
popq %rax
retq
callq 0x783e8
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: dc_qsortcmparr
static int QSORTNAME(qsortcmparr) (GtUword a,
                                   GtUword b,
                                   const GtDifferencecover *dcov,
                                   GtLcptrace *lcptrace,
                                   GtUword subbucketleft,
                                   const QSORTNAME(Datatype) sssp)
{
  GtUword suffixpos1, suffixpos2;

  gt_assert(sssp != NULL);
  suffixpos1 = dc_ARRAY_GET(sssp,a);
  suffixpos2 = dc_ARRAY_GET(sssp,b);
  return gt_differencecover_compare (dcov, lcptrace, suffixpos1, suffixpos2);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r15
movq %r8, %r13
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %rbp
movq %rdi, %rdx
movq %r9, %rdi
movq %r8, %rsi
callq 0x1fc965
movq %rax, %r12
movq %r15, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x1fc965
movq %rax, %r15
movq 0x48(%r14), %rax
cmpq %r12, %rax
jbe 0x1ec025
cmpq %r15, %rax
jbe 0x1ec025
movq 0x38(%r14), %rax
movl %r15d, %ecx
subl %r12d, %ecx
movl 0xc(%r14), %edx
andl %edx, %ecx
movzwl (%rax,%rcx,2), %esi
subl %r12d, %esi
andl %edx, %esi
movl %esi, (%rbx)
addq %r12, %rsi
movq 0x98(%r14), %r12
movq %r14, %rdi
callq 0x1eb7b2
movl (%r12,%rax,4), %eax
movq %rax, 0x8(%rbx)
movl (%rbx), %esi
addq %r15, %rsi
movq 0x98(%r14), %r15
movq %r14, %rdi
callq 0x1eb7b2
movl (%r15,%rax,4), %ecx
movq %rcx, 0x10(%rbx)
movq 0x8(%rbx), %rdx
cmpq %rcx, %rdx
je 0x1ec02a
xorl %eax, %eax
cmpq %rcx, %rdx
sbbl %eax, %eax
orl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x7868c
callq 0x786c5
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: gt_differencecover_eval_lcp
static GtUword gt_differencecover_eval_lcp(const GtLcptrace *lcptrace,
                                           const GtDifferencecover *dcov)
{
  if (lcptrace->idx1 < dcov->effectivesamplesize &&
      lcptrace->idx2 < dcov->effectivesamplesize)
  {
    gt_assert(dcov->rmq != NULL);
    return (GtUword)
            gt_rmq_find_min_value(dcov->rmq,
                                  GT_MIN(lcptrace->idx1,lcptrace->idx2)+1,
                                  GT_MAX(lcptrace->idx1,lcptrace->idx2))
             + lcptrace->offset;
  }
  return (GtUword) lcptrace->offset;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x78(%rsi), %rcx
cmpq %rcx, %rax
jae 0x1ec074
movq 0x10(%rbx), %rdx
cmpq %rcx, %rdx
jae 0x1ec074
movq 0x150(%rsi), %rdi
testq %rdi, %rdi
je 0x1ec078
cmpq %rdx, %rax
movq %rdx, %rsi
cmovbq %rax, %rsi
cmovaq %rax, %rdx
incq %rsi
callq 0x16f440
movl %eax, %ecx
movl (%rbx), %eax
addq %rcx, %rax
jmp 0x1ec076
movl (%rbx), %eax
popq %rbx
retq
callq 0x786fe
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-enumcodes.c
// Function: gt_Enumcodeatposition_new
Enumcodeatposition *gt_Enumcodeatposition_new(const GtEncseq *encseq,
                                              GtReadmode readmode,
                                              unsigned int prefixlength,
                                              unsigned int numofchars)
{
  Enumcodeatposition *ecp;

  ecp = gt_malloc(sizeof *ecp);
  ecp->encseq = encseq;
  ecp->readmode = readmode;
  ecp->multimappower = gt_initmultimappower(numofchars,prefixlength);
  ecp->filltable = gt_initfilltable(numofchars,prefixlength);
  ecp->prefixlength = prefixlength;
  ecp->moveforward = GT_ISDIRREVERSE(readmode) ? true : false;
  ecp->totallength = gt_encseq_total_length(encseq);
  if (ecp->moveforward)
  {
    ecp->previousrange.start = ecp->previousrange.end = 0;
  } else
  {
    ecp->previousrange.start = ecp->previousrange.end = ecp->totallength;
  }
  ecp->exhausted = false;
  if (gt_encseq_has_specialranges(encseq))
  {
    ecp->sri = gt_specialrangeiterator_new(encseq,ecp->moveforward);
  } else
  {
    ecp->sri = NULL;
  }
  return ecp;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %r14
leaq 0x1cb728(%rip), %rsi    # 0x3b77c2
movl $0x50, %edi
movl $0x2e, %edx
callq 0x104226
movq %rax, %rbx
movq %r14, 0x30(%rax)
movl %r12d, 0x38(%rax)
movl %ebp, %edi
movl %r15d, %esi
callq 0x1b6403
movq %rax, 0x40(%rbx)
movl %ebp, %edi
movl %r15d, %esi
callq 0x1b6394
movq %rax, 0x48(%rbx)
movl %r15d, 0x3c(%rbx)
andl $-0x3, %r12d
cmpl $0x1, %r12d
sete 0x18(%rbx)
movq %r14, %rdi
callq 0xe7b9c
movq %rax, 0x20(%rbx)
xorl %r15d, %r15d
cmpb $0x0, 0x18(%rbx)
cmovneq %r15, %rax
movq %rax, 0x8(%rbx)
movq %rax, (%rbx)
movb $0x0, 0x28(%rbx)
movq %r14, %rdi
callq 0xeacd6
testb %al, %al
je 0x1ec11d
movzbl 0x18(%rbx), %esi
movq %r14, %rdi
callq 0xeae2c
movq %rax, %r15
movq %r15, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-enumcodes.c
// Function: gt_Enumcodeatposition_next
bool gt_Enumcodeatposition_next(Specialcontext *specialcontext,
                                Enumcodeatposition *ecp)
{
  GtRange currentrange;
  bool done;

  if (ecp->exhausted)
  {
    return false;
  }
  while (ecp->sri != NULL)
  {
    if (!gt_specialrangeiterator_next(ecp->sri,&currentrange))
    {
      gt_specialrangeiterator_delete(ecp->sri);
      ecp->sri = NULL;
      break;
    }
    if (ecp->moveforward)
    {
      if (newcodelistelem(specialcontext,
                          ecp->previousrange.end,
                          currentrange.start,
                          ecp))
      {
        ecp->previousrange = currentrange;
        return true;
      }
    } else
    {
      if (newcodelistelem(specialcontext,
                          currentrange.end,
                          ecp->previousrange.start,
                          ecp))
      {
        ecp->previousrange = currentrange;
        return true;
      }
    }
    ecp->previousrange = currentrange;
  }
  ecp->exhausted = true;
  if (ecp->moveforward)
  {
    done = newcodelistelem(specialcontext,
                           ecp->previousrange.end,
                           ecp->totallength,
                           ecp);
  } else
  {
    done = newcodelistelem(specialcontext,
                           0,
                           ecp->previousrange.start,
                           ecp);
  }
  return done;
}

// Assembly:
cmpb $0x0, 0x28(%rsi)
je 0x1ec136
xorl %eax, %eax
retq
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%rsi), %rdi
testq %rdi, %rdi
je 0x1ec1a7
movq %rsp, %r15
movq %r15, %rsi
callq 0xeae9a
testb %al, %al
je 0x1ec196
cmpb $0x1, 0x18(%rbx)
jne 0x1ec16d
movq 0x8(%rbx), %rsi
movq (%rsp), %rdx
jmp 0x1ec175
movq 0x8(%rsp), %rsi
movq (%rbx), %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1ec1e3
testb %al, %al
jne 0x1ec1d0
movups (%rsp), %xmm0
movups %xmm0, (%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
jne 0x1ec151
jmp 0x1ec1a7
movq 0x10(%rbx), %rdi
callq 0xeb455
movq $0x0, 0x10(%rbx)
movb $0x1, 0x28(%rbx)
cmpb $0x1, 0x18(%rbx)
jne 0x1ec1be
movq 0x8(%rbx), %rsi
movq 0x20(%rbx), %rdx
movq %r14, %rdi
jmp 0x1ec1c6
movq (%rbx), %rdx
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rcx
callq 0x1ec1e3
jmp 0x1ec1d9
movups (%rsp), %xmm0
movups %xmm0, (%rbx)
movb $0x1, %al
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-enumcodes.c
// Function: gt_Enumcodeatposition_delete
void gt_Enumcodeatposition_delete(Enumcodeatposition *ecp)
{
  if (ecp != NULL)
  {
    gt_free(ecp->filltable);
    gt_multimappower_delete(ecp->multimappower);
    gt_free(ecp);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x1ec263
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x48(%rdi), %rdi
leaq 0x1cb58c(%rip), %r14    # 0x3b77c2
movq %r14, %rsi
movl $0xa2, %edx
callq 0x1045eb
movq 0x40(%rbx), %rdi
callq 0x1b64ea
movq %rbx, %rdi
movq %r14, %rsi
movl $0xa4, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1045eb
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-enumcodes.c
// Function: gt_Enumcodeatposition_filledqgramcode
GtCodetype gt_Enumcodeatposition_filledqgramcode(const Enumcodeatposition *ecp,
                                                 unsigned int prefixindex,
                                                 GtUword pos)
{
  GtCodetype code;
  unsigned int idx;
  GtUchar cc;

  gt_assert(prefixindex > 0 && prefixindex < ecp->prefixlength);
  code = ecp->filltable[prefixindex];
  for (idx=0; idx<prefixindex; idx++)
  {
    gt_assert((GtUword) (pos + idx) < ecp->totallength);
    cc = gt_encseq_get_encoded_char_nospecial(ecp->encseq,
                                              pos + idx,
                                              ecp->readmode);
    gt_assert(GT_ISNOTSPECIAL(cc));
    code += ecp->multimappower[idx][cc];
  }
  return code;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testl %esi, %esi
je 0x1ec2d3
movq %rdi, %r14
cmpl %esi, 0x3c(%rdi)
jbe 0x1ec2d3
movq %rdx, %rbx
movq 0x48(%r14), %rax
movl %esi, %r12d
movq (%rax,%r12,8), %r15
xorl %r13d, %r13d
leaq (%rbx,%r13), %rsi
cmpq 0x20(%r14), %rsi
jae 0x1ec2ce
movq 0x30(%r14), %rdi
movl 0x38(%r14), %edx
callq 0xe7fcb
cmpb $-0x2, %al
jae 0x1ec2c9
movq 0x40(%r14), %rcx
movq (%rcx,%r13,8), %rcx
movzbl %al, %eax
addq (%rcx,%rax,8), %r15
incq %r13
cmpq %r13, %r12
jne 0x1ec28a
movq %r15, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x787a7
callq 0x7876e
callq 0x787e0
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-enumcodes.c
// Function: gt_Enumcodeatposition_filledqgramcodestopatmax
bool gt_Enumcodeatposition_filledqgramcodestopatmax(
                                        GtCodetype *code,
                                        const Enumcodeatposition *ecp,
                                        unsigned int prefixindex,
                                        GtUword pos,
                                        GtCodetype stopcode)
{
  GtCodetype tmpcode;
  unsigned int idx;
  GtUchar cc;

  gt_assert(prefixindex > 0 && prefixindex < ecp->prefixlength);
  tmpcode = ecp->filltable[prefixindex];
  if (tmpcode > stopcode)
  {
    return false;
  }
  for (idx=0; idx<prefixindex; idx++)
  {
    gt_assert((GtUword) (pos + idx) < ecp->totallength);
    cc = gt_encseq_get_encoded_char_nospecial(ecp->encseq,
                                              pos + idx,
                                              ecp->readmode);
    gt_assert(GT_ISNOTSPECIAL(cc));
    tmpcode += ecp->multimappower[idx][cc];
    if (tmpcode > stopcode)
    {
      return false;
    }
  }
  *code = tmpcode;
  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %edx, %edx
je 0x1ec372
movq %rsi, %r12
cmpl %edx, 0x3c(%rsi)
jbe 0x1ec372
movq %r8, %rbx
movq 0x48(%r12), %rax
movl %edx, %r13d
movq (%rax,%r13,8), %rbp
cmpq %r8, %rbp
jbe 0x1ec30b
xorl %eax, %eax
jmp 0x1ec359
movq %rcx, %r14
movq %rdi, (%rsp)
xorl %r15d, %r15d
leaq (%r14,%r15), %rsi
cmpq 0x20(%r12), %rsi
jae 0x1ec36d
movq 0x30(%r12), %rdi
movl 0x38(%r12), %edx
callq 0xe7fcb
cmpb $-0x2, %al
jae 0x1ec368
movq 0x40(%r12), %rcx
movq (%rcx,%r15,8), %rcx
movzbl %al, %eax
addq (%rcx,%rax,8), %rbp
cmpq %rbx, %rbp
ja 0x1ec307
incq %r15
cmpq %r15, %r13
jne 0x1ec315
movq (%rsp), %rax
movq %rbp, (%rax)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x78852
callq 0x78819
callq 0x7888b
nop
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-lcpvalues.c
// Function: gt_Outlcpinfo_reinit
void gt_Outlcpinfo_reinit(GtOutlcpinfo *outlcpinfo,
                          unsigned int numofchars,
                          unsigned int prefixlength,
                          GtUword numoflcpvalues)
{
  if (outlcpinfo != NULL)
  {
    if (prefixlength > 0)
    {
      outlcpinfo->turnwheel = gt_turningwheel_new(prefixlength,numofchars);
      outlcpinfo->sizeofinfo += gt_turningwheel_size();
    } else
    {
      outlcpinfo->turnwheel = NULL;
    }
    outlcpinfo->sizeofinfo
      += gt_tableoflcpvalues_realloc(&outlcpinfo->lcpsubtab.tableoflcpvalues,
                                     numoflcpvalues);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x1ec5d0
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
testl %edx, %edx
je 0x1ec5b2
movl %edx, %edi
callq 0x200fa8
movq %rax, (%rbx)
callq 0x201014
addq %rax, 0x18(%rbx)
jmp 0x1ec5b9
movq $0x0, (%rbx)
leaq 0x40(%rbx), %rdi
movq %r14, %rsi
callq 0x1ec5d1
addq %rax, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-lcpvalues.c
// Function: gt_Outlcpinfo_prebucket
void gt_Outlcpinfo_prebucket(GtOutlcpinfo *outlcpinfo,
                             GtCodetype code,
                             GtUword lcptaboffset)
{
  if (outlcpinfo != NULL)
  {
    if (outlcpinfo->lcpsubtab.lcp2file != NULL ||
        outlcpinfo->lcpsubtab.lcpprocess != NULL)
    {
      outlcpinfo->lcpsubtab.tableoflcpvalues.numoflargelcpvalues = 0;
    } else
    {
      outlcpinfo->lcpsubtab.tableoflcpvalues.lcptaboffset = lcptaboffset;
    }
    if (code > 0)
    {
      (void) gt_turningwheel_next(outlcpinfo->turnwheel);
      if (outlcpinfo->previousbucketwasempty)
      {
        outlcpinfo->minchanged
          = GT_MIN(outlcpinfo->minchanged,
                gt_turningwheel_minchanged(outlcpinfo->turnwheel));
      } else
      {
        outlcpinfo->minchanged
          = gt_turningwheel_minchanged(outlcpinfo->turnwheel);
      }
    }
  }
}

// Assembly:
testq %rdi, %rdi
je 0x1eca9a
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x68(%rdi)
je 0x1eca46
movl $0x58, %ecx
xorl %eax, %eax
jmp 0x1eca5e
xorl %eax, %eax
xorl %ecx, %ecx
cmpq $0x0, 0x70(%rbx)
sete %cl
leaq 0x58(,%rcx,8), %rcx
cmoveq %rdx, %rax
movq %rax, (%rbx,%rcx)
testq %rsi, %rsi
je 0x1eca94
movq (%rbx), %rdi
callq 0x20101a
cmpb $0x1, 0x38(%rbx)
jne 0x1eca89
movl 0x10(%rbx), %ebp
movq (%rbx), %rdi
callq 0x201066
cmpl %eax, %ebp
jae 0x1eca89
movl 0x10(%rbx), %eax
jmp 0x1eca91
movq (%rbx), %rdi
callq 0x201066
movl %eax, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-lcpvalues.c
// Function: outsmalllcpvalues
static void outsmalllcpvalues(Lcpoutput2file *lcp2file,
                              GtUword numoflcps)
{
  gt_assert (lcp2file != NULL);
  lcp2file->countoutputlcpvalues += numoflcps;
  gt_assert(lcp2file->outfplcptab != NULL);
  gt_xfwrite(lcp2file->smalllcpvalues,
             sizeof (*lcp2file->smalllcpvalues),
             (size_t) numoflcps,
             lcp2file->outfplcptab);
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x1ecf7d
movq %rsi, %rdx
addq %rsi, 0x38(%rdi)
movq (%rdi), %rcx
testq %rcx, %rcx
je 0x1ecf82
movq 0x50(%rdi), %rdi
movl $0x1, %esi
popq %rax
jmp 0x11f89c
callq 0x78b9f
callq 0x78b68
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-lcpvalues.c
// Function: gt_Outlcpinfo_resizereservoir
GtLcpvalues *gt_Outlcpinfo_resizereservoir(GtOutlcpinfo *outlcpinfo,
                                           const GtBcktab *bcktab)
{
  Lcpsubtab *lcpsubtab;

  gt_assert(outlcpinfo != NULL);
  lcpsubtab = &outlcpinfo->lcpsubtab;
  if (lcpsubtab->lcp2file != NULL)
  {
    size_t sizeforlcpvalues; /* in bytes */

    gt_assert(bcktab != NULL);
    sizeforlcpvalues = gt_bcktab_sizeforlcpvalues(bcktab);
    if (lcpsubtab->lcp2file->sizereservoir < sizeforlcpvalues)
    {
      lcpsubtab->lcp2file->sizereservoir = sizeforlcpvalues;
      lcpsubtab->lcp2file->reservoir
        = gt_realloc(lcpsubtab->lcp2file->reservoir,
                     lcpsubtab->lcp2file->sizereservoir);
          /* point to the same area, since this is not used simultaneously */
          /* be careful for the parallel version */
      lcpsubtab->lcp2file->smalllcpvalues
        = (uint8_t *) lcpsubtab->lcp2file->reservoir;
#ifndef NDEBUG
      lcpsubtab->tableoflcpvalues.isset = NULL;
#endif
      lcpsubtab->tableoflcpvalues.bucketoflcpvalues
        = (GtLcpvaluetype *) lcpsubtab->lcp2file->reservoir;
      lcpsubtab->tableoflcpvalues.lcptaboffset = 0;
      lcpsubtab->tableoflcpvalues.numofentries
        = (GtUword) lcpsubtab->lcp2file->sizereservoir/
          sizeof (*lcpsubtab->tableoflcpvalues.bucketoflcpvalues);
    }
  } else
  {
    if (lcpsubtab->lcpprocess != NULL)
    {
      outlcpinfo->sizeofinfo
        += gt_tableoflcpvalues_realloc(&lcpsubtab->tableoflcpvalues,
                                       gt_bcktab_maxbucketsize(bcktab));
    }
  }
  return &lcpsubtab->tableoflcpvalues;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1ed02a
movq %rdi, %rbx
leaq 0x40(%rdi), %r14
cmpq $0x0, 0x68(%rdi)
je 0x1ed001
testq %rsi, %rsi
je 0x1ed02f
movq %rsi, %rdi
callq 0x18c3a4
movq 0x68(%rbx), %rcx
cmpq %rax, 0x48(%rcx)
jae 0x1ed01f
movq %rax, 0x48(%rcx)
movq 0x40(%rcx), %rdi
leaq 0x1ca916(%rip), %rdx    # 0x3b78e2
movq %rax, %rsi
movl $0x32f, %ecx            # imm = 0x32F
callq 0x104461
movq 0x68(%rbx), %rcx
movq %rax, 0x40(%rcx)
movq %rax, 0x50(%rcx)
xorl %edx, %edx
movq %rdx, 0x40(%rbx)
movq %rax, 0x48(%rbx)
movq %rdx, 0x60(%rbx)
movq 0x48(%rcx), %rax
shrq $0x2, %rax
movq %rax, 0x50(%rbx)
jmp 0x1ed01f
cmpq $0x0, 0x70(%rbx)
je 0x1ed01f
movq %rsi, %rdi
callq 0x18c3be
movq %r14, %rdi
movq %rax, %rsi
callq 0x1ec5d1
addq %rax, 0x18(%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x78c0f
callq 0x78bd6
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-linlcp.c
// Function: gt_ENCSEQ_lcp13_kasai
GtUword *gt_ENCSEQ_lcp13_kasai(const GtEncseq *encseq,
                               GtReadmode readmode,
                               GtUword partwidth,
                               GtUword totallength,
                               const ESASuffixptr *suftab,
                               GtCompactUlongStore *inversesuftab)
{
  GtUword pos, lcpvalue = 0, *lcptab;

  lcptab = gt_malloc(sizeof (*lcptab) * partwidth);
  lcptab[0] = 0;
  for (pos=0; pos <= totallength; pos++)
  {
    GtUword fillpos = gt_compact_ulong_store_get(inversesuftab, pos);
    if (fillpos > 0 && fillpos < partwidth)
    {
      GtUword previousstart = ESASUFFIXPTRGET(suftab, fillpos-1);
      while (pos+lcpvalue < totallength &&
             previousstart+lcpvalue < totallength)
      {
        GtUchar cc1, cc2;

        cc1 = gt_encseq_get_encoded_char(encseq, pos+lcpvalue, readmode);
        cc2 = gt_encseq_get_encoded_char(encseq, previousstart+lcpvalue,
                                                readmode);
        if (cc1 == cc2 && GT_ISNOTSPECIAL(cc1))
        {
          lcpvalue++;
        } else
        {
          break;
        }
      }
      lcptab[fillpos] = lcpvalue;
    }
    if (lcpvalue > 0)
    {
      lcpvalue--;
    }
  }
  return lcptab;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, %rbx
movq %r8, 0x18(%rsp)
movq %rcx, %r15
movq %rdx, %r13
movl %esi, 0x4(%rsp)
movq %rdi, 0x30(%rsp)
leaq (,%rdx,8), %rdi
leaq 0x1cab8d(%rip), %rsi    # 0x3b7c11
movl $0x28, %edx
callq 0x104226
movq %rax, 0x8(%rsp)
movq $0x0, (%rax)
xorl %r14d, %r14d
xorl %r12d, %r12d
movq %rbx, 0x20(%rsp)
movq %r13, 0x10(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe3c2c
movq %rax, %rdx
testq %rax, %rax
sete %al
cmpq %r13, %rdx
setae %cl
orb %al, %cl
jne 0x1ed156
movq 0x18(%rsp), %rax
movq %rdx, 0x28(%rsp)
movq -0x8(%rax,%rdx,8), %rax
movq %rax, 0x40(%rsp)
movq %r14, 0x38(%rsp)
movq %r12, %rbp
leaq (%r14,%r12), %rsi
cmpq %r15, %rsi
jae 0x1ed13c
movq 0x40(%rsp), %rax
leaq (%rax,%rbp), %r12
cmpq %r15, %r12
jae 0x1ed13c
movq %r15, %r14
movq 0x30(%rsp), %r15
movq %r15, %rdi
movl 0x4(%rsp), %r13d
movl %r13d, %edx
callq 0xe7bbc
movl %eax, %ebx
movq %r15, %rdi
movq %r14, %r15
movq 0x38(%rsp), %r14
movq %r12, %rsi
movl %r13d, %edx
callq 0xe7bbc
cmpb $-0x3, %bl
ja 0x1ed13c
leaq 0x1(%rbp), %r12
cmpb %al, %bl
je 0x1ed0e5
movq 0x8(%rsp), %rax
movq 0x28(%rsp), %rcx
movq %rbp, (%rax,%rcx,8)
movq 0x20(%rsp), %rbx
movq 0x10(%rsp), %r13
jmp 0x1ed159
movq %r12, %rbp
subq $0x1, %rbp
movl $0x0, %r12d
cmovaeq %rbp, %r12
incq %r14
cmpq %r15, %r14
jbe 0x1ed0aa
movq 0x8(%rsp), %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-mappedstr.c
// Function: gt_kmerstream_delete
static void gt_kmerstream_delete(GtKmerstream *spwp)
{
  if (spwp != NULL) {
    gt_free(spwp->filltable);
    gt_multimappower_delete(spwp->multimappower);
    special_queue_delete(&spwp->specialqueue);
    gt_free(spwp);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x1ee4d0
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x60(%rdi), %rdi
leaq 0x1c9d00(%rip), %r14    # 0x3b8193
movq %r14, %rsi
movl $0x1a4, %edx            # imm = 0x1A4
callq 0x1045eb
movq 0x68(%rbx), %rdi
callq 0x1b64ea
movq (%rbx), %rdi
movq %r14, %rsi
movl $0x11e, %edx            # imm = 0x11E
callq 0x1045eb
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1a7, %edx            # imm = 0x1A7
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1045eb
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-mappedstr.c
// Function: gt_kmerstream_new
static GtKmerstream *gt_kmerstream_new(unsigned int numofchars,
                                       unsigned int kmersize)
{
  GtKmerstream *spwp;

  gt_assert(kmersize <= 32);
  spwp = gt_malloc(sizeof (*spwp));
  spwp->multimappower = gt_initmultimappower(numofchars,kmersize);
  gt_kmerstream_init(spwp, numofchars, kmersize);
  special_queue_init(&spwp->specialqueue,kmersize);
  spwp->filltable = gt_filllargestchartable(numofchars,kmersize);
  return spwp;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpl $0x21, %esi
jae 0x1ee7de
movl %esi, %ebx
movl %edi, %ebp
leaq 0x1c9a3b(%rip), %r15    # 0x3b8193
movl $0x80, %edi
movq %r15, %rsi
movl $0x133, %edx            # imm = 0x133
callq 0x104226
movq %rax, %r14
movl %ebp, %edi
movl %ebx, %esi
callq 0x1b6403
movq %rax, 0x68(%r14)
xorl %r12d, %r12d
movl %r12d, 0x50(%r14)
movq %r12, 0x58(%r14)
movl %ebx, 0x44(%r14)
movl %ebp, 0x40(%r14)
movq %r12, 0x48(%r14)
movl %ebx, 0x18(%r14)
movl %ebx, %edi
shll $0x4, %edi
movq %r15, %rsi
movl $0xef, %edx
callq 0x104226
movq %rax, (%r14)
movl %r12d, 0x1c(%r14)
movl 0x18(%r14), %ecx
shlq $0x4, %rcx
addq %rcx, %rax
addq $-0x10, %rax
movq %rax, 0x8(%r14)
movq %rax, 0x10(%r14)
movl %ebp, %edi
movl %ebx, %esi
callq 0x1b6331
movq %rax, 0x60(%r14)
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x79325
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-mappedstr.c
// Function: gt_kmercodeiterator_encseq_next
const GtKmercode *gt_kmercodeiterator_encseq_next(
                             GtKmercodeiterator *kmercodeiterator)
{
  if (!kmercodeiterator->hasprocessedfirst)
  {
    gt_assert(kmercodeiterator->currentposition
              == kmercodeiterator->startpos + kmercodeiterator->spwp->kmersize);
    gt_kmerstream_newcode(&kmercodeiterator->kmercode, kmercodeiterator->spwp);
    kmercodeiterator->hasprocessedfirst = true;
    return &kmercodeiterator->kmercode;
  }
  if (kmercodeiterator->currentposition < kmercodeiterator->totallength)
  {
    GtUchar charcode
      = gt_encseq_reader_next_encoded_char(kmercodeiterator->esr);
    gt_kmerstream_shiftrightwithchar(kmercodeiterator->spwp,charcode);
    gt_kmerstream_newcode(&kmercodeiterator->kmercode, kmercodeiterator->spwp);
    kmercodeiterator->currentposition++;
    return &kmercodeiterator->kmercode;
  }
  if (kmercodeiterator->currentposition < kmercodeiterator->totallength +
                                          kmercodeiterator->spwp->kmersize)
  {
    gt_kmerstream_shiftrightwithchar(kmercodeiterator->spwp,
                                     (GtUchar) GT_WILDCARD);
    gt_kmerstream_newcode(&kmercodeiterator->kmercode, kmercodeiterator->spwp);
    kmercodeiterator->currentposition++;
    return &kmercodeiterator->kmercode;
  }
  return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpb $0x0, 0x18(%rdi)
je 0x1ee80e
movq (%rbx), %rcx
cmpq %rcx, %rax
jae 0x1ee830
movq 0x28(%rbx), %rdi
callq 0xe8186
movq 0x38(%rbx), %rdi
movzbl %al, %esi
jmp 0x1ee844
movq 0x38(%rbx), %rsi
movl 0x44(%rsi), %ecx
addq 0x8(%rbx), %rcx
cmpq %rcx, %rax
jne 0x1ee86d
leaq 0x40(%rbx), %r14
movq %r14, %rdi
callq 0x1ee872
movb $0x1, 0x18(%rbx)
jmp 0x1ee862
movq 0x38(%rbx), %rdi
movl 0x44(%rdi), %edx
addq %rdx, %rcx
cmpq %rcx, %rax
jae 0x1ee85f
movl $0xfe, %esi
callq 0x1ee8b3
leaq 0x40(%rbx), %r14
movq 0x38(%rbx), %rsi
movq %r14, %rdi
callq 0x1ee872
incq 0x10(%rbx)
jmp 0x1ee862
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x7935e
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-mappedstr.c
// Function: gt_kmerstream_newcode
static void gt_kmerstream_newcode(GtKmercode *kmercode,
                                  const GtKmerstream *spwp)
{
  {
    if (special_queue_is_empty(&spwp->specialqueue))
    {
      kmercode->definedspecialposition = false;
      kmercode->specialposition = 0;
      kmercode->code = spwp->codewithoutspecial;
    } else
    {
      GtSpecialcontext *head = special_queue_head_get(&spwp->specialqueue);
      gt_assert(head->lengthofleftcontext < spwp->kmersize);
      kmercode->code = head->codeofleftcontext +
                       spwp->filltable[head->lengthofleftcontext];
      kmercode->definedspecialposition = true;
      kmercode->specialposition = head->lengthofleftcontext;
    }
  }
}

// Assembly:
cmpl $0x0, 0x1c(%rsi)
je 0x1ee89a
movq 0x10(%rsi), %rcx
movl (%rcx), %eax
cmpl 0x44(%rsi), %eax
jae 0x1ee8ad
movq 0x60(%rsi), %rdx
movq (%rdx,%rax,8), %rdx
addq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movb $0x1, (%rdi)
movl %eax, 0x4(%rdi)
retq
movb $0x0, (%rdi)
movl $0x0, 0x4(%rdi)
movq 0x58(%rsi), %rax
movq %rax, 0x8(%rdi)
retq
pushq %rax
callq 0x79397
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-mappedstr.c
// Function: gt_kmerstream_shiftrightwithchar
static void gt_kmerstream_shiftrightwithchar(GtKmerstream *spwp,
                                             GtUchar charcode)
{
  gt_assert(spwp->windowwidth == spwp->kmersize);
  gt_kmerstream_updatespecialpositions(spwp,charcode,true,
                                       spwp->cyclicwindow[spwp->firstindex]);
  spwp->cyclicwindow[spwp->firstindex] = charcode;
  if (spwp->firstindex < spwp->kmersize-1)
  {
    spwp->firstindex++;
  } else
  {
    spwp->firstindex = 0;
  }
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl 0x48(%rdi), %eax
cmpl 0x44(%rdi), %eax
jne 0x1ee8fd
movq %rdi, %rbx
movl 0x4c(%rdi), %eax
movzbl 0x20(%rdi,%rax), %ecx
movzbl %sil, %ebp
movl %ebp, %esi
movl $0x1, %edx
callq 0x1ee4d1
movl 0x4c(%rbx), %eax
movb %bpl, 0x20(%rbx,%rax)
movl 0x44(%rbx), %eax
movl 0x4c(%rbx), %ecx
decl %eax
leal 0x1(%rcx), %edx
xorl %esi, %esi
cmpl %eax, %ecx
cmovbl %edx, %esi
movl %esi, 0x4c(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x793d0
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-mappedstr.c
// Function: gt_kmercodeiterator_encseq_nonspecial_next
const GtKmercode *gt_kmercodeiterator_encseq_nonspecial_next(
                             GtKmercodeiterator *kmercodeiterator)
{
  while (true) {
    if (!kmercodeiterator->hasprocessedfirst) {
      gt_assert(kmercodeiterator->currentposition
                == kmercodeiterator->startpos +
                   kmercodeiterator->spwp->kmersize);
      gt_kmerstream_newcode(&kmercodeiterator->kmercode,
                            kmercodeiterator->spwp);
      kmercodeiterator->hasprocessedfirst = true;
      if (!kmercodeiterator->kmercode.definedspecialposition)
        return &kmercodeiterator->kmercode;
    }
    else {
      if (kmercodeiterator->currentposition < kmercodeiterator->totallength) {
        GtUchar charcode
          = gt_encseq_reader_next_encoded_char(kmercodeiterator->esr);
        gt_kmerstream_shiftrightwithchar(kmercodeiterator->spwp,charcode);
        gt_kmerstream_newcode(&kmercodeiterator->kmercode,
                              kmercodeiterator->spwp);
        kmercodeiterator->currentposition++;
        if (!kmercodeiterator->kmercode.definedspecialposition)
          return &kmercodeiterator->kmercode;
      }
      else
        break;
    }
  }
  return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x40(%rdi), %rbx
movq 0x10(%r14), %rax
cmpb $0x0, 0x18(%r14)
je 0x1ee944
cmpq (%r14), %rax
jae 0x1ee96a
movq 0x28(%r14), %rdi
callq 0xe8186
movq 0x38(%r14), %rdi
movzbl %al, %esi
callq 0x1ee8b3
movq 0x38(%r14), %rsi
movq %rbx, %rdi
callq 0x1ee872
incq 0x10(%r14)
jmp 0x1ee961
movq 0x38(%r14), %rsi
movl 0x44(%rsi), %ecx
addq 0x8(%r14), %rcx
cmpq %rcx, %rax
jne 0x1ee977
movq %rbx, %rdi
callq 0x1ee872
movb $0x1, 0x18(%r14)
cmpb $0x0, 0x40(%r14)
jne 0x1ee90d
jmp 0x1ee96c
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x79409
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-mappedstr.c
// Function: gt_kmercodeiterator_delete
void gt_kmercodeiterator_delete(GtKmercodeiterator *kmercodeiterator)
{
  if (kmercodeiterator != NULL)
  {
    gt_encseq_reader_delete(kmercodeiterator->esr);
    gt_kmerstream_delete(kmercodeiterator->spwp);
    gt_sequence_buffer_delete(kmercodeiterator->fb);
    gt_free(kmercodeiterator);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x1eeae2
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
callq 0xe9204
movq 0x38(%rbx), %rdi
callq 0x1ee47c
movq 0x50(%rbx), %rdi
callq 0x1153e9
leaq 0x1c96bf(%rip), %rsi    # 0x3b8193
movq %rbx, %rdi
movl $0x2d4, %edx            # imm = 0x2D4
popq %rbx
jmp 0x1045eb
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-mappedstr.c
// Function: gt_kmercodeiterator_filetab_next
int gt_kmercodeiterator_filetab_next(const GtKmercode **kmercodeptr,
                                     GtKmercodeiterator *kmercodeiterator,
                                     GtError *err)
{
  if (!kmercodeiterator->inputexhausted)
  {
    if (kmercodeiterator->hasprocessedfirst)
    {
      GtUchar charcode;
      int retval;

      retval = gt_sequence_buffer_next(kmercodeiterator->fb,&charcode,err);
      if (retval < 0)
      {
        *kmercodeptr = NULL;
        return -1;
      }
      if (retval != 0)
      {
        gt_kmerstream_shiftrightwithchar(kmercodeiterator->spwp,charcode);
        gt_kmerstream_newcode(&kmercodeiterator->kmercode,
                              kmercodeiterator->spwp);
        kmercodeiterator->currentposition++,
        *kmercodeptr = &kmercodeiterator->kmercode;
        return 0;
      }
      kmercodeiterator->inputexhausted = true;
      kmercodeiterator->totallength = kmercodeiterator->currentposition;
    } else
    {
      gt_kmerstream_newcode(&kmercodeiterator->kmercode,
                            kmercodeiterator->spwp);
      kmercodeiterator->hasprocessedfirst = true;
      *kmercodeptr = &kmercodeiterator->kmercode;
      return 0;
    }
  }
  if (kmercodeiterator->currentposition < kmercodeiterator->totallength +
                                          kmercodeiterator->spwp->kmersize)
  {
    gt_kmerstream_shiftrightwithchar(kmercodeiterator->spwp,
                                     (GtUchar) GT_WILDCARD);
    gt_kmerstream_newcode(&kmercodeiterator->kmercode, kmercodeiterator->spwp);
    kmercodeiterator->currentposition++,
    *kmercodeptr = &kmercodeiterator->kmercode;
  } else
  {
    *kmercodeptr = NULL;
  }
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x1, 0x19(%rsi)
jne 0x1eeb34
movq (%r14), %rax
movq 0x10(%r14), %rcx
movq 0x38(%r14), %rdi
movl 0x44(%rdi), %edx
addq %rax, %rdx
xorl %r15d, %r15d
cmpq %rdx, %rcx
jae 0x1eeb99
movl $0xfe, %esi
callq 0x1ee8b3
leaq 0x40(%r14), %r12
movq 0x38(%r14), %rsi
movq %r12, %rdi
callq 0x1ee872
incq 0x10(%r14)
jmp 0x1eeb9c
cmpb $0x1, 0x18(%r14)
jne 0x1eeb76
movq 0x50(%r14), %rdi
leaq 0x7(%rsp), %rsi
callq 0x1156aa
testl %eax, %eax
js 0x1eeb93
je 0x1eebae
movq 0x38(%r14), %rdi
movzbl 0x7(%rsp), %esi
callq 0x1ee8b3
leaq 0x40(%r14), %r12
movq 0x38(%r14), %rsi
movq %r12, %rdi
callq 0x1ee872
incq 0x10(%r14)
xorl %r15d, %r15d
jmp 0x1eeb9c
leaq 0x40(%r14), %r15
movq 0x38(%r14), %rsi
movq %r15, %rdi
callq 0x1ee872
movb $0x1, 0x18(%r14)
movq %r15, (%rbx)
xorl %r15d, %r15d
jmp 0x1eeb9f
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
xorl %r12d, %r12d
movq %r12, (%rbx)
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movb $0x1, 0x19(%r14)
movq 0x10(%r14), %rax
movq %rax, (%r14)
movq %rax, %rcx
jmp 0x1eeafe
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-maprange.c
// Function: gt_Sfxmappedrange_map_entire
void *gt_Sfxmappedrange_map_entire(GtSfxmappedrange *sfxmappedrange,
                                   GtError *err)
{
  size_t mappedsize;

  gt_assert(sfxmappedrange != NULL);
  sfxmappedrange->entire = gt_fa_mmap_read(gt_str_get(sfxmappedrange->filename),
                                           &mappedsize,err);
  if (sfxmappedrange->entire == NULL)
  {
    return NULL;
  }
  if (mappedsize != gt_Sfxmappedrange_size_entire(sfxmappedrange))
  {
    gt_error_set(err,
                 "map file %s: mapped size = "GT_WU" != "
                 GT_WU" = expected size",
                 gt_str_get(sfxmappedrange->filename), (GtUword) mappedsize,
                 (GtUword) gt_Sfxmappedrange_size_entire(sfxmappedrange));
    gt_fa_xmunmap(sfxmappedrange->entire);
    sfxmappedrange->entire = NULL;
    return NULL;
  }
  gt_log_log("map %s completely ("GT_WU" units of size %u)",
              gt_str_get(sfxmappedrange->tablename),
              (GtUword) sfxmappedrange->numofunits,
              (unsigned int) sfxmappedrange->sizeofunit);
  return sfxmappedrange->entire;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0x1eee43
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
callq 0x11b0a1
leaq 0x1c967e(%rip), %rdx    # 0x3b841b
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
movl $0x58, %ecx
movq %r14, %r8
callq 0xfd6db
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x1eedf2
movq 0x30(%rbx), %rax
imulq 0x38(%rbx), %rax
cmpq %rax, 0x8(%rsp)
jne 0x1eedf7
movq 0x20(%rbx), %rdi
callq 0x11b0a1
movq 0x30(%rbx), %rdx
movl 0x38(%rbx), %ecx
leaq 0x1c96a5(%rip), %rdi    # 0x3b8487
movq %rax, %rsi
xorl %eax, %eax
callq 0x103d72
movq 0x8(%rbx), %r15
jmp 0x1eee36
xorl %r15d, %r15d
jmp 0x1eee36
movq 0x18(%rbx), %rdi
callq 0x11b0a1
movq 0x8(%rsp), %rcx
movq 0x30(%rbx), %r8
imulq 0x38(%rbx), %r8
leaq 0x1c963c(%rip), %rsi    # 0x3b8451
xorl %r15d, %r15d
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfcb67
movq 0x8(%rbx), %rdi
callq 0xfdc54
movq $0x0, 0x8(%rbx)
movq %r15, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
callq 0x794b2