LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/mssufpat.c
// Function: pms_nextLimdfsstate
static void pms_nextLimdfsstate(const Limdfsconstinfo *mt,
                                DECLAREPTRDFSSTATE(aliasoutcol),
                                GtUword currentdepth,
                                GtUchar currentchar,
                                const DECLAREPTRDFSSTATE(aliasincol))
{
#ifdef SKDEBUG
  char buffer1[GT_INTWORDSIZE+1], buffer2[GT_INTWORDSIZE+1];
#endif
  GtMssufpatLimdfsstate *outcol = (GtMssufpatLimdfsstate *) aliasoutcol;
  GtMssufpatLimdfsconstinfo *mti = (GtMssufpatLimdfsconstinfo*) mt;
  const GtMssufpatLimdfsstate *incol =
                                     (const GtMssufpatLimdfsstate *) aliasincol;

  gt_assert(GT_ISNOTSPECIAL(currentchar));
  gt_assert(currentdepth > 0);

  if (currentdepth > 1UL)
  {
    outcol->prefixofsuffixbits
      = incol->prefixofsuffixbits &
        (mti->eqsvector[currentchar] >> (currentdepth-1));
  } else
  {
    outcol->prefixofsuffixbits = mti->eqsvector[currentchar];
  }
#ifdef SKDEBUG
  bitsequence2string(buffer1,(Bitsequence) incol->prefixofsuffixbits);
  bitsequence2string(buffer2,(Bitsequence) outcol->prefixofsuffixbits);
  printf("next(%s,%u,depth="GT_WU")->%s\n",buffer1,(unsigned int) currentchar,
                                       currentdepth,buffer2);
#endif
}

// Assembly:
pushq %rax
cmpb $-0x2, %cl
jae 0x2c14dd
cmpq $0x1, %rdx
je 0x2c14ca
testq %rdx, %rdx
je 0x2c150b
movq 0x208(%rdi), %rax
movzbl %cl, %ecx
movq (%rax,%rcx,8), %rax
decb %dl
movl %edx, %ecx
shrq %cl, %rax
andq (%r8), %rax
jmp 0x2c14d8
movq 0x208(%rdi), %rax
movzbl %cl, %ecx
movq (%rax,%rcx,8), %rax
movq %rax, (%rsi)
popq %rax
retq
movq 0x176a84(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x23b25(%rip), %rsi     # 0x2e5013
leaq 0x80b19(%rip), %rdx     # 0x34200e
leaq 0xc339d(%rip), %rcx     # 0x384899
leaq 0xc32fe(%rip), %r8      # 0x384801
movl $0xf5, %r9d
jmp 0x2c1537
movq 0x176a56(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x23af7(%rip), %rsi     # 0x2e5013
leaq 0x9ac70(%rip), %rdx     # 0x35c193
leaq 0xc336f(%rip), %rcx     # 0x384899
leaq 0xc32d0(%rip), %r8      # 0x384801
movl $0xf6, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/myersapm.c
// Function: gt_newMyersonlineresources
Myersonlineresources *gt_newMyersonlineresources(unsigned int numofchars,
                                                 bool nowildcards,
                                                 const GtEncseq *encseq,
                                                 ProcessIdxMatch processmatch,
                                                 void *processmatchinfo)
{
  Myersonlineresources *mor;

  mor = gt_malloc(sizeof *mor);
  mor->eqsvectorrev = gt_malloc(sizeof *mor->eqsvectorrev * numofchars);
  mor->eqsvector = gt_malloc(sizeof *mor->eqsvector * numofchars);
  mor->encseq = encseq;
  mor->esr = gt_encseq_create_reader_with_readmode(encseq, GT_READMODE_REVERSE,
                                                   0);
  gt_assert(numofchars <= GT_MAXALPHABETCHARACTER);
  mor->alphasize = numofchars;
  mor->totallength = gt_encseq_total_length(encseq);
  mor->nowildcards = nowildcards;
  mor->processmatch = processmatch;
  mor->processmatchinfo = processmatchinfo;
  return mor;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %rdx, %r15
movl %esi, %ebp
movl %edi, %r12d
leaq 0xc3305(%rip), %rbx     # 0x3848c8
pushq $0x40
popq %rdi
pushq $0x31
popq %rdx
movq %rbx, %rsi
callq 0x93160
movq %rax, %r13
movl %r12d, %r14d
shlq $0x3, %r14
pushq $0x32
popq %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x93160
movq %rax, 0x18(%r13)
pushq $0x33
popq %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x93160
movq %rax, 0x20(%r13)
movq %r15, 0x8(%r13)
pushq $0x1
popq %rsi
movq %r15, %rdi
xorl %edx, %edx
callq 0x72260
movq %rax, (%r13)
cmpl $0x100, %r12d           # imm = 0x100
jae 0x2c1655
movl %r12d, 0x28(%r13)
movq %r15, %rdi
callq 0x7055e
movq %rax, 0x10(%r13)
movb %bpl, 0x2c(%r13)
movq 0x8(%rsp), %rax
movq %rax, 0x30(%r13)
movq 0x10(%rsp), %rax
movq %rax, 0x38(%r13)
movq %r13, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x17690c(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x239ad(%rip), %rsi     # 0x2e5013
leaq 0x8656b(%rip), %rdx     # 0x347bd8
leaq 0xc3269(%rip), %rcx     # 0x3848dd
leaq 0xc324d(%rip), %r8      # 0x3848c8
pushq $0x37
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/myersapm.c
// Function: gt_freeMyersonlineresources
void gt_freeMyersonlineresources(Myersonlineresources *ptrmyersonlineresources)
{
  if (ptrmyersonlineresources != NULL)
  {
    gt_free(ptrmyersonlineresources->eqsvectorrev);
    gt_free(ptrmyersonlineresources->eqsvector);
    gt_encseq_reader_delete(ptrmyersonlineresources->esr);
    gt_free(ptrmyersonlineresources);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x2c16d9
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
leaq 0xc3226(%rip), %r14     # 0x3848c8
pushq $0x44
popq %rdx
movq %r14, %rsi
callq 0x936f9
movq 0x20(%rbx), %rdi
pushq $0x45
popq %rdx
movq %r14, %rsi
callq 0x936f9
movq (%rbx), %rdi
callq 0x722ae
pushq $0x47
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x936f9
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/radixsort_str.c
// Function: gt_radixsort_str_new
GtRadixsortstringinfo *gt_radixsort_str_new(const GtTwobitencoding
                                             *twobitencoding,
                                            GtUword realtotallength,
                                            GtUword equallengthplus1,
                                            GtUword maxwidth)
{
  GtRadixsortstringinfo *rsi = gt_malloc(sizeof(*rsi));

  rsi->twobitencoding = twobitencoding;
  rsi->equallengthplus1 = equallengthplus1;
  rsi->realtotallength = realtotallength;
  rsi->maxwidth = maxwidth/2;
  rsi->bytesinsizesofbuckets = sizeof (*rsi->sizesofbuckets) *
                               GT_RADIXSORT_STR_NOFBUCKETS;
  rsi->sizesofbuckets = gt_malloc(rsi->bytesinsizesofbuckets);
  rsi->sorted = gt_malloc(sizeof (*rsi->sorted) * rsi->maxwidth);
  rsi->oracle = gt_malloc(sizeof (*rsi->oracle) * rsi->maxwidth);
  rsi->xorvalue2lcp = gt_radixsort_str_init_xorvalue2lcp();
  GT_STACK_INIT(&rsi->stack, 1024UL);
  return rsi;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
leaq 0xc3004(%rip), %r14     # 0x38493a
movl $0x8080, %edi           # imm = 0x8080
movq %r14, %rsi
movl $0x88, %edx
callq 0x93160
movq %rax, %rbx
movq %rbp, (%rax)
movq %r12, 0x10(%rax)
movq %r13, 0x18(%rax)
shrq %r15
movq %r15, 0x20(%rax)
movq $0x2008, 0x8(%rax)      # imm = 0x2008
movl $0x2008, %edi           # imm = 0x2008
movq %r14, %rsi
movl $0x90, %edx
callq 0x93160
movq %rax, 0x28(%rbx)
movq 0x20(%rbx), %rdi
shlq $0x3, %rdi
movq %r14, %rsi
movl $0x91, %edx
callq 0x93160
movq %rax, 0x30(%rbx)
movq 0x20(%rbx), %rdi
addq %rdi, %rdi
movq %r14, %rsi
movl $0x92, %edx
callq 0x93160
movq %rax, 0x38(%rbx)
pushq $0x6d
popq %rdx
movl $0x100, %edi            # imm = 0x100
movq %r14, %rsi
callq 0x93160
pushq $0x1
popq %rsi
movb $0x4, %dil
xorl %r8d, %r8d
xorl %edx, %edx
movq %rsi, %r9
testq %r8, %r8
je 0x2c19f0
cmpq $0x4, %r8
je 0x2c1a01
testb %dil, %dil
je 0x2c1a4e
leal (%r8,%r8), %ecx
movq %rsi, %r9
shlq %cl, %r9
decb %dil
jmp 0x2c19f0
movb %dil, (%rax,%rdx)
incq %rdx
cmpq %r9, %rdx
jb 0x2c19e9
incq %r8
jmp 0x2c19ca
movb $0x0, (%rax,%rdx)
incq %rdx
cmpq $0xff, %rdx
jbe 0x2c19fa
movq %rax, 0x40(%rbx)
movl $0x400, %eax            # imm = 0x400
movq %rax, 0x60(%rbx)
movq %rax, 0x68(%rbx)
movq %rax, 0x48(%rbx)
movq %rbx, %rax
addq $0x70, %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rbx)
movq %rax, 0x8070(%rbx)
andq $0x0, 0x8078(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x176513(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x235b4(%rip), %rsi     # 0x2e5013
leaq 0x94ed8(%rip), %rdx     # 0x35693e
leaq 0xc2ff8(%rip), %rcx     # 0x384a65
leaq 0xc2ec6(%rip), %r8      # 0x38493a
pushq $0x73
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/radixsort_str.c
// Function: gt_radixsort_str_delete
void gt_radixsort_str_delete(GtRadixsortstringinfo *rsi)
{
  if (rsi != NULL)
  {
    gt_free(rsi->sizesofbuckets);
    gt_free(rsi->sorted);
    gt_free(rsi->oracle);
    gt_free(rsi->xorvalue2lcp);
    GT_STACK_DELETE(&rsi->stack);
    gt_free(rsi);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x2c1b24
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
leaq 0xc2e9b(%rip), %r14     # 0x38493a
movq %r14, %rsi
movl $0x9c, %edx
callq 0x936f9
movq 0x30(%rbx), %rdi
movq %r14, %rsi
movl $0x9d, %edx
callq 0x936f9
movq 0x38(%rbx), %rdi
movq %r14, %rsi
movl $0x9e, %edx
callq 0x936f9
movq 0x40(%rbx), %rdi
movq %r14, %rsi
movl $0x9f, %edx
callq 0x936f9
movq 0x48(%rbx), %rax
cmpq 0x60(%rbx), %rax
jbe 0x2c1b09
movq 0x8070(%rbx), %rdi
leaq 0xc2e43(%rip), %rsi     # 0x38493a
movl $0xa0, %edx
callq 0x936f9
andq $0x0, 0x8070(%rbx)
leaq 0xc2e2a(%rip), %rsi     # 0x38493a
movq %rbx, %rdi
movl $0xa1, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x936f9
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/radixsort_str.c
// Function: gt_radixsort_str_codeslcp
static inline gt_radixsort_str_bucketnum_t
        gt_radixsort_str_codeslcp(GtRadixsortstringinfo *rsi,
            gt_radixsort_str_bucketnum_t a, gt_radixsort_str_bucketnum_t b)
{
  if (a != GT_RADIXSORT_STR_SPECIAL_BUCKET &&
      b != GT_RADIXSORT_STR_SPECIAL_BUCKET)
  {
    gt_radixsort_str_bucketnum_t codeslcp, maxcodeslcp, ova, ovb;

    codeslcp = rsi->xorvalue2lcp[GT_DIV4(a ^ b)];
    /* now take the overflow into account */
    ova = GT_RADIXSORT_STR_OVERFLOW_NONSPECIAL(a);
    ovb = GT_RADIXSORT_STR_OVERFLOW_NONSPECIAL(b);
    maxcodeslcp = GT_RADIXSORT_STR_KMERSIZE - GT_MAX(ova, ovb);
    return GT_MIN(codeslcp, maxcodeslcp);
  }
  return 0;
}

// Assembly:
movl $0x400, %eax            # imm = 0x400
cmpl %eax, %esi
sete %cl
cmpl %eax, %edx
sete %al
orb %cl, %al
jne 0x2c25d4
movq 0x40(%rdi), %rax
movl %edx, %ecx
xorl %esi, %ecx
movzwl %cx, %ecx
shrl $0x2, %ecx
movzbl (%rax,%rcx), %ecx
andl $0x3, %esi
andl $0x3, %edx
cmpw %dx, %si
cmoval %esi, %edx
pushq $0x4
popq %rax
subl %edx, %eax
cmpl %eax, %ecx
cmovbl %ecx, %eax
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-sfx-partssuf.c
// Function: gt_suftabparts_rc_variance
double gt_suftabparts_rc_variance(const GtSuftabparts_rc *suftabparts_rc)
{

  gt_assert(suftabparts_rc->numofparts > 0);
  if (suftabparts_rc->numofparts == 1U)
  {
    return 0.0;
  } else
  {
    double meanwidth, difference, sum = 0.0;
    unsigned int part;

    meanwidth = (double)
      suftabparts_rc->components[suftabparts_rc->numofparts-1].sumofwidth/
      suftabparts_rc->numofparts;
    for (part = 0; part < suftabparts_rc->numofparts; part++)
    {
      difference = (double) suftabparts_rc->components[part].widthofpart
                   - meanwidth;
      sum += difference * difference;
    }
    return sum/(double) (suftabparts_rc->numofparts-1);
  }
}

// Assembly:
pushq %rax
movl 0xc(%rdi), %edx
xorpd %xmm0, %xmm0
cmpq $0x1, %rdx
je 0x2c4d6b
testl %edx, %edx
je 0x2c4d6d
movq (%rdi), %rax
leal -0x1(%rdx), %ecx
imulq $0x30, %rcx, %rsi
movsd 0x18(%rax,%rsi), %xmm0
unpcklps 0x22be7(%rip), %xmm0    # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x22bef(%rip), %xmm0    # 0x2e78f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
cvtsi2sd %rdx, %xmm0
divsd %xmm0, %xmm1
imulq $0x30, %rdx, %rdx
xorpd %xmm0, %xmm0
xorl %esi, %esi
movsd 0x22bb8(%rip), %xmm2    # 0x2e78e0
movapd 0x22bc0(%rip), %xmm3    # 0x2e78f0
cmpq %rsi, %rdx
je 0x2c4d60
movsd 0x8(%rax,%rsi), %xmm4
unpcklps %xmm2, %xmm4            # xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
subpd %xmm3, %xmm4
movapd %xmm4, %xmm5
unpckhpd %xmm4, %xmm5            # xmm5 = xmm5[1],xmm4[1]
addsd %xmm4, %xmm5
subsd %xmm1, %xmm5
mulsd %xmm5, %xmm5
addsd %xmm5, %xmm0
addq $0x30, %rsi
jmp 0x2c4d30
movl %ecx, %eax
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
popq %rax
retq
movq 0x1731f4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x20295(%rip), %rsi     # 0x2e5013
leaq 0xc003a(%rip), %rdx     # 0x384dbf
leaq 0xc0052(%rip), %rcx     # 0x384dde
leaq 0xbff11(%rip), %r8      # 0x384ca4
movl $0x135, %r9d            # imm = 0x135
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-tab.c
// Function: gt_randomcodes_countocc_new
void gt_randomcodes_countocc_new(GtFirstcodesspacelog *fcsl,
                                       GtRandomcodestab *rct,
                                       GtUword numofsequences)
{
  rct->countocc_small = gt_calloc((size_t) (numofsequences+1),
                                  sizeof (*rct->countocc_small));
  GT_FCI_ADDWORKSPACE(fcsl,"countocc_small",
                      sizeof (*rct->countocc_small) *
                      (numofsequences+1));
  rct->countocc_exceptions = ul_u32_gt_hashmap_new();
  gt_assert(rct->countocc_exceptions != NULL);
  rct->outfilenameleftborder = NULL;
  rct->leftborder_samples = NULL;
#if defined (_LP64) || defined (_WIN64)
  rct->modvaluebits = 32U; /* XXX remove the following later */
  if (rct->modvaluebits == 32U)
  {
    rct->modvaluemask = UINT32_MAX;
  } else
  {
    rct->modvaluemask = (uint32_t) ((1UL << rct->modvaluebits) - 1);
  }
  GT_INITARRAY(&rct->bitchangepoints,GtUword);
#endif
  rct->differentcodes = numofsequences;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x1(%rdx), %r12
leaq 0xbf6e9(%rip), %r13     # 0x384fce
pushq $0x1
popq %rsi
pushq $0x27
popq %rcx
movq %r12, %rdi
movq %r13, %rdx
callq 0x9334a
movq %rax, 0x48(%r14)
movq %r12, (%rsp)
leaq 0xbd4a9(%rip), %r8      # 0x382dae
pushq $0x2a
popq %rsi
pushq $0x1
popq %rcx
movq %r15, %rdi
movq %r13, %rdx
movl %ecx, %r9d
callq 0x2b613a
movups 0x176ec0(%rip), %xmm0   # 0x43c7e0
movups %xmm0, 0x20(%rsp)
movups 0x176ea4(%rip), %xmm0   # 0x43c7d0
movups %xmm0, 0x10(%rsp)
movups 0x176e88(%rip), %xmm0   # 0x43c7c0
movups %xmm0, (%rsp)
callq 0x8fac7
movq %rax, 0x50(%r14)
testq %rax, %rax
je 0x2c5981
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%r14)
movabsq $0x20ffffffff, %rax     # imm = 0x20FFFFFFFF
movq %rax, 0x78(%r14)
movups %xmm0, 0x80(%r14)
andq $0x0, 0x90(%r14)
movq %rbx, (%r14)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x1725e0(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1f681(%rip), %rsi     # 0x2e5013
leaq 0xbf651(%rip), %rdx     # 0x384fea
leaq 0xbf66b(%rip), %rcx     # 0x38500b
leaq 0xbf627(%rip), %r8      # 0x384fce
pushq $0x2c
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-tab.c
// Function: gt_randomcodes_remdups
GtUword gt_randomcodes_remdups(GtUword *allrandomcodes,
    unsigned int codesize, GtUword numofcodes, GtLogger *logger)
{
  GtUword numofdifferentcodes = 0,
                shift = (GtUword)GT_MULT2(GT_UNITSIN2BITENC - codesize);
  if (numofcodes != 0)
  {
    GtUword *storeptr, *readptr;

    for (storeptr = allrandomcodes, readptr = allrandomcodes+1;
         readptr < allrandomcodes + numofcodes;
         readptr++)
    {
      if ((*storeptr ^ *readptr) << shift)
      {
        storeptr++;
        *storeptr = *readptr;
      }
    }
    numofdifferentcodes = (GtUword) (storeptr - allrandomcodes + 1);
    if (numofdifferentcodes < numofcodes)
    {
#ifdef SKDEBUG
      checkcodesorder(allrandomcodes,numofdifferentcodes,false);
#endif
    }
  }
  gt_logger_log(logger,"number of different bucket codes="GT_WU" (%.2f%%) "
                       "of "GT_WU" sampled codes",
                numofdifferentcodes,
                100.00 * (double) numofdifferentcodes/numofcodes,
                numofcodes);
  return numofdifferentcodes;
}

// Assembly:
pushq %rbx
movq %rcx, %r8
movq %rdx, %rax
testq %rdx, %rdx
je 0x2c5a68
addl %esi, %esi
pushq $0x40
popq %rcx
subl %esi, %ecx
leaq (%rdi,%rax,8), %rdx
movq %rdi, %rbx
movq %rdi, %rsi
addq $0x8, %rsi
cmpq %rdx, %rsi
jae 0x2c5a5c
movq (%rsi), %r9
movq (%rbx), %r10
xorq %r9, %r10
shlq %cl, %r10
addq $0x8, %rsi
testq %r10, %r10
je 0x2c5a34
movq %r9, 0x8(%rbx)
addq $0x8, %rbx
addq $-0x8, %rsi
jmp 0x2c5a30
subq %rdi, %rbx
sarq $0x3, %rbx
incq %rbx
jmp 0x2c5a6a
xorl %ebx, %ebx
movq %rbx, %xmm1
movq 0x21e69(%rip), %xmm2    # 0x2e78e0
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x21e6d(%rip), %xmm3    # 0x2e78f0
subpd %xmm3, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x23d45(%rip), %xmm0    # 0x2e97e0
movq %rax, %xmm1
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0xbf568(%rip), %rsi     # 0x385027
movq %r8, %rdi
movq %rbx, %rdx
movq %rax, %rcx
movb $0x1, %al
callq 0x92e71
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-tab.c
// Function: gt_randomcodes_countocc_get
static uint32_t gt_randomcodes_countocc_get(const GtRandomcodestab *rct,
                                           GtUword idx)
{
  if (rct->countocc_small[idx] != GT_RANDOMCODES_COUNTOCC_OVERFLOW)
  {
    return (uint32_t) rct->countocc_small[idx];
  } else
  {
    uint32_t *valueptr = ul_u32_gt_hashmap_get(rct->countocc_exceptions,idx);

    gt_assert(valueptr != NULL);
    return *valueptr + (uint32_t) GT_RANDOMCODES_MAXSMALL;
  }
}

// Assembly:
pushq %rax
movq 0x48(%rdi), %rax
movzbl (%rax,%rsi), %eax
cmpl $0xff, %eax
jne 0x2c6210
movq 0x50(%rdi), %rdi
movq %rsp, %rax
movq %rsi, (%rax)
movq %rax, %rsi
callq 0x8fb4d
testq %rax, %rax
je 0x2c6212
movq %rax, %rcx
movl $0xfe, %eax
addl 0x8(%rcx), %eax
popq %rcx
retq
movq 0x171d4f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1edf0(%rip), %rsi     # 0x2e5013
leaq 0xbcd35(%rip), %rdx     # 0x382f5f
leaq 0xbf08f(%rip), %rcx     # 0x3852c0
leaq 0xbed96(%rip), %r8      # 0x384fce
movl $0xc4, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-tab.c
// Function: gt_randomcodes_get_leftborder
GtUword gt_randomcodes_get_leftborder(const GtRandomcodestab *rct,
                                           GtUword idx)
{
#if defined (_LP64) || defined (_WIN64)
  GT_CHANGEPOINT_GET_RCT(changepoint);

  return (GtUword) rct->leftborder[idx]
                         + (changepoint << rct->modvaluebits);
#else
  return (GtUword) rct->leftborder[idx];
#endif
}

// Assembly:
movq 0x90(%rdi), %rax
xorl %ecx, %ecx
cmpq %rcx, %rax
je 0x2c62bc
movq 0x80(%rdi), %rdx
cmpq %rsi, (%rdx,%rcx,8)
jae 0x2c62b9
incq %rcx
jmp 0x2c62a2
movq %rcx, %rax
movb 0x7c(%rdi), %cl
shlq %cl, %rax
movq 0x40(%rdi), %rcx
movl (%rcx,%rsi,4), %ecx
addq %rcx, %rax
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-tab.c
// Function: gt_randomcodes_findfirstsamplelarger
GtUword gt_randomcodes_findfirstsamplelarger(const GtRandomcodestab *rct,
                                                  GtUword suftaboffset)
{
  GtUword left = 0, right, mid, midval, found;

  right = found = rct->numofsamples;
  while (left+1 < right)
  {
    mid = GT_DIV2(left+right);
    midval = gt_randomcodes_get_sample(rct,mid);
    if (suftaboffset == midval)
    {
      return mid;
    }
    if (suftaboffset < midval)
    {
      found = mid;
      right = mid - 1;
    } else
    {
      left = mid + 1;
    }
  }
  gt_assert(suftaboffset <= gt_randomcodes_get_sample(rct,found));
  return found;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
movq 0x8(%rdi), %r13
xorl %ebp, %ebp
movq %r13, %r14
leaq 0x1(%rbp), %rax
cmpq %r13, %rax
jae 0x2c6322
movq %rbp, %r12
addq %r13, %r12
shrq %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x2c6251
cmpq %rbx, %rax
je 0x2c636a
ja 0x2c6318
incq %r12
movq %r12, %rbp
jmp 0x2c62ec
leaq -0x1(%r12), %r13
movq %r12, %r14
jmp 0x2c62ec
movq %r15, %rdi
movq %r14, %rsi
callq 0x2c6251
cmpq %rbx, %rax
jae 0x2c636d
movq 0x171c2f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1ecd0(%rip), %rsi     # 0x2e5013
leaq 0xbef01(%rip), %rdx     # 0x38524b
leaq 0xbef2f(%rip), %rcx     # 0x385280
leaq 0xbec76(%rip), %r8      # 0x384fce
movl $0x1a2, %r9d            # imm = 0x1A2
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq %r12, %r14
movq %r14, %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/randomcodes-tab.c
// Function: gt_randomcodes_sample2full
GtUword gt_randomcodes_sample2full(const GtRandomcodestab *rct,
                                        GtUword idx)
{
  gt_assert(idx <= rct->numofsamples);
  if (idx < rct->numofsamples)
  {
    return (GtUword) idx << (GtUword) rct->sampleshift;
  }
  return rct->differentcodes - 1;
}

// Assembly:
cmpq %rsi, 0x8(%rdi)
jb 0x2c6399
jbe 0x2c638f
movb 0x38(%rdi), %cl
shlq %cl, %rsi
jmp 0x2c6395
movq (%rdi), %rsi
decq %rsi
movq %rsi, %rax
retq
pushq %rax
movq 0x171bc7(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1ec68(%rip), %rsi     # 0x2e5013
leaq 0xbee66(%rip), %rdx     # 0x385218
leaq 0xbeeec(%rip), %rcx     # 0x3852a5
leaq 0xbec0e(%rip), %r8      # 0x384fce
movl $0x1a9, %r9d            # imm = 0x1A9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-tab.c
// Function: gt_randomcodes_samples_delete
void gt_randomcodes_samples_delete(GtFirstcodesspacelog *fcsl,
                                  GtRandomcodestab *rct)
{
  if (rct->leftborder_samples != NULL)
  {
    gt_free(rct->leftborder_samples);
    GT_FCI_SUBTRACTWORKSPACE(fcsl,"leftborder_samples");
    rct->leftborder_samples = NULL;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
movq 0x58(%rsi), %rdi
testq %rdi, %rdi
je 0x2c6425
movq %rsi, %rbx
leaq 0xbebdd(%rip), %r15     # 0x384fce
movq %r15, %rsi
movl $0x1b6, %edx            # imm = 0x1B6
callq 0x936f9
andq $0x0, (%rsp)
leaq 0xbc89e(%rip), %r8      # 0x382ca8
pushq $0x1
popq %r9
movq %r14, %rdi
movl $0x1b7, %esi            # imm = 0x1B7
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x2b613a
andq $0x0, 0x58(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-tab.c
// Function: gt_randomcodes_countocc_delete
void gt_randomcodes_countocc_delete(GtFirstcodesspacelog *fcsl,
                                   GtRandomcodestab *rct)
{
  if (rct->countocc_small != NULL)
  {
    GT_FCI_SUBTRACTWORKSPACE(fcsl,"countocc_small");
    gt_free(rct->countocc_small);
    rct->countocc_small = NULL;
  }
  gt_hashtable_delete(rct->countocc_exceptions);
  rct->countocc_exceptions = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
cmpq $0x0, 0x48(%rsi)
je 0x2c6479
andq $0x0, (%rsp)
leaq 0xbeb85(%rip), %r14     # 0x384fce
leaq 0xbc95e(%rip), %r8      # 0x382dae
pushq $0x1
popq %r9
movl $0x1c1, %esi            # imm = 0x1C1
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x2b613a
movq 0x48(%rbx), %rdi
movq %r14, %rsi
movl $0x1c2, %edx            # imm = 0x1C2
callq 0x936f9
andq $0x0, 0x48(%rbx)
movq 0x50(%rbx), %rdi
callq 0x9082d
andq $0x0, 0x50(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/randomcodes-tab.c
// Function: gt_randomcodes_tab_delete
void gt_randomcodes_tab_delete(GtFirstcodesspacelog *fcsl,GtRandomcodestab *rct)
{
  gt_randomcodes_samples_delete(fcsl,rct);
  gt_str_delete(rct->outfilenameleftborder);
  rct->outfilenameleftborder = NULL;
#if defined (_LP64) || defined (_WIN64)
  GT_FREEARRAY(&rct->bitchangepoints,GtUword);
#endif
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
callq 0x2c63d2
movq 0x60(%rbx), %rdi
callq 0xae103
andq $0x0, 0x60(%rbx)
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x2c64d2
subq $-0x80, %rbx
leaq 0xbeb11(%rip), %rsi     # 0x384fce
movl $0x1cf, %edx            # imm = 0x1CF
callq 0x936f9
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-ovlfind-bf.c
// Function: contfind_bf
static inline bool contfind_bf(const char *a, GtUword alen,
    const char *b, GtUword blen)
{
  GtUword offset;
  gt_assert(alen < blen);
  for (offset = 0; offset <= blen-alen; offset++)
    if (memcmp(a, b+offset, (size_t)alen) == 0) return true;
  return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %rbx
subq %rsi, %rbx
jbe 0x2c679b
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
xorl %ecx, %ecx
movq %rcx, %r13
cmpq %rbx, %rcx
ja 0x2c678b
leaq (%r14,%r13), %rsi
movq %r12, %rdi
movq %r15, %rdx
callq 0x177e0
leaq 0x1(%r13), %rcx
testl %eax, %eax
jne 0x2c676c
cmpq %rbx, %r13
setbe %al
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x1717c6(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1e867(%rip), %rsi     # 0x2e5013
leaq 0xbedb1(%rip), %rdx     # 0x385564
leaq 0xbedb6(%rip), %rcx     # 0x385570
leaq 0xbeb33(%rip), %r8      # 0x3852f4
pushq $0x1f
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-ovlfind-bf.c
// Function: spmfind_bf
static inline void spmfind_bf(const char *a, GtUword alen,
    const char *b, GtUword blen, GtUword minlen,
    bool find_nonmaximal, bool self_comparison,
    void(*proc)(GtUword, bool, void*), bool direction,
    void* procdata)
{
  GtUword len, from;
  from = GT_MIN(alen, blen);
  if (self_comparison)
    from -= 1;
  for (len = from; len >= minlen; len--)
    if (memcmp(a+alen-len, b, (size_t)len) == 0)
    {
      proc(len, direction, procdata);
      if (!find_nonmaximal) break;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
cmpq %rcx, %rsi
cmovbq %rsi, %r15
movzbl 0x40(%rsp), %eax
subq %rax, %r15
subq %r15, %r13
addq %rdi, %r13
movzbl 0x50(%rsp), %ebp
cmpq %r14, %r15
jb 0x2c6836
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x177e0
testl %eax, %eax
jne 0x2c682e
movq %r15, %rdi
movl %ebp, %esi
movq 0x58(%rsp), %rdx
callq *0x48(%rsp)
testb %bl, %bl
je 0x2c6836
decq %r15
incq %r13
jmp 0x2c6805
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/rdj-ovlfind-dp.c
// Function: u_smpfind_dp
static inline void u_smpfind_dp(GtUword min_length,
    GtUword max_edist, bool find_submaximal,
    GtUword m, GtUword n, GtOvlfindDpCell **lastrow,
    void (*proc)(GtUword, GtUword, GtUword, bool,
    void*), void* procdata)
{
  GtUword j, suffix_length;

  gt_assert(m > 0);
  gt_assert(n > 0);
  gt_assert(lastrow != NULL);
  for (j = n; j >= min_length; j--)
  {
    if ((*lastrow)[j].edist <= max_edist &&
        (*lastrow)[j].start_j == 0)
    {
      suffix_length = m - (*lastrow)[j].start_i;
      if (suffix_length >= min_length)
        proc(suffix_length, j /* prefix length */,
             (*lastrow)[j].edist, true, procdata);
      if (!find_submaximal) break;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %r8, %r8
je 0x2c7f49
movq %r9, %rbx
testq %r9, %r9
je 0x2c7f73
movq %r8, %r14
movl %edx, %ebp
movq %rsi, %r12
movq %rdi, %r13
imulq $0x18, %r8, %r15
addq $0x10, %r15
movq %rcx, (%rsp)
cmpq %r13, %r14
jb 0x2c7f3a
movq (%rbx), %rax
movq -0x10(%rax,%r15), %rdx
cmpq %r12, %rdx
ja 0x2c7f31
cmpq $0x0, (%rax,%r15)
jne 0x2c7f31
movq %rcx, %rdi
subq -0x8(%rax,%r15), %rdi
cmpq %r13, %rdi
jb 0x2c7f2c
movq %r14, %rsi
pushq $0x1
popq %rcx
movq 0x48(%rsp), %r8
callq *0x40(%rsp)
movq (%rsp), %rcx
testb %bpl, %bpl
je 0x2c7f3a
decq %r14
addq $-0x18, %r15
jmp 0x2c7ef3
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x170018(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1d0b9(%rip), %rsi     # 0x2e5013
leaq 0x4f64d(%rip), %rdx     # 0x3175ae
leaq 0xbd77f(%rip), %rcx     # 0x3856e7
leaq 0xbd61b(%rip), %r8      # 0x38558a
pushq $0x4e
jmp 0x2c7f9b
movq 0x16ffee(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1d08f(%rip), %rsi     # 0x2e5013
leaq 0xbd769(%rip), %rdx     # 0x3856f4
leaq 0xbd755(%rip), %rcx     # 0x3856e7
leaq 0xbd5f1(%rip), %r8      # 0x38558a
pushq $0x4f
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-ovlfind-kmp.c
// Function: gt_kmp_preproc
gt_kmp_t* gt_kmp_preproc(const char *seq, GtUword seqlen)
{
  gt_kmp_t* pi;
  gt_kmp_t k;
  GtUword q;

  pi = gt_malloc(sizeof (gt_kmp_t) * seqlen);
  pi[0] = 0;
  k = 0;
  for (q = 1UL; q < seqlen; q++)
  {
    while ((k > 0) && (seq[k] != seq[q])) k = pi[k-1];
    if (seq[k] == seq[q]) k++;
    gt_assert(k < GT_KMP_MAX);
    pi[q] = k;
  }
  return pi;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq (%rsi,%rsi), %rdi
leaq 0xbc208(%rip), %rsi     # 0x385711
pushq $0x21
popq %rdx
callq 0x93160
andw $0x0, (%rax)
pushq $0x1
popq %rcx
xorl %edx, %edx
cmpq %rbx, %rcx
jae 0x2c9559
movb (%r14,%rcx), %sil
movzwl %dx, %edi
movb (%r14,%rdi), %r8b
testw %di, %di
je 0x2c9540
cmpb %sil, %r8b
je 0x2c953d
leal -0x1(%rdi), %edx
movzwl (%rax,%rdx,2), %edx
jmp 0x2c9523
movl %r8d, %esi
xorl %edx, %edx
cmpb %sil, %r8b
sete %dl
addl %edi, %edx
cmpw $-0x1, %dx
je 0x2c9561
movw %dx, (%rax,%rcx,2)
incq %rcx
jmp 0x2c951a
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x16ea00(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1baa1(%rip), %rsi     # 0x2e5013
leaq 0xbc1b4(%rip), %rdx     # 0x38572d
leaq 0xbc1bc(%rip), %rcx     # 0x38573c
leaq 0xbc18a(%rip), %r8      # 0x385711
pushq $0x28
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-ovlfind-kmp.c
// Function: contfind_kmp
static inline bool contfind_kmp(const char *a, GtUword alen,
    const gt_kmp_t *pi, const char *b, GtUword blen)
{
  gt_kmp_t q;
  GtUword i;
  q = 0;
  gt_assert(alen < blen);
  for (i = 0; i < blen; i++)
  {
    while ((q > 0) && (a[q] != b[i]))
      q = pi[q - 1];
    if (a[q] == b[i])
      q++;
    if ((GtUword)q == alen)
      return true;
  }
  return false;
}

// Assembly:
pushq %rbx
cmpq %r8, %rsi
jae 0x2c98cf
xorl %r9d, %r9d
xorl %r10d, %r10d
movq %r10, %rax
cmpq %r8, %r10
je 0x2c98c7
movb (%rcx,%rax), %r10b
movzwl %r9w, %r11d
movb (%rdi,%r11), %bl
testw %r11w, %r11w
je 0x2c98ad
cmpb %r10b, %bl
je 0x2c98aa
leal -0x1(%r11), %r9d
movzwl (%rdx,%r9,2), %r9d
jmp 0x2c988c
movl %ebx, %r10d
xorl %r9d, %r9d
cmpb %r10b, %bl
sete %r9b
addl %r11d, %r9d
movzwl %r9w, %r11d
leaq 0x1(%rax), %r10
cmpq %rsi, %r11
jne 0x2c9880
cmpq %r8, %rax
setb %al
popq %rbx
retq
movq 0x16e692(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1b733(%rip), %rsi     # 0x2e5013
leaq 0xbbc7d(%rip), %rdx     # 0x385564
leaq 0xbbeee(%rip), %rcx     # 0x3857dc
leaq 0xbbe1c(%rip), %r8      # 0x385711
pushq $0x5b
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-ovlfind-kmp.c
// Function: spmfind_kmp
static inline void spmfind_kmp(const char *a, GtUword alen,
    const char *b, GtUword blen, const gt_kmp_t *pi,
    GtUword min_length, bool find_submaximal, bool self_comparison,
    void(*proc)(GtUword, bool, void*), bool direction,
    void* procdata)
{
  gt_kmp_t q;
  GtUword max_matchlen;
  max_matchlen = GT_MIN(alen, blen);
  if (self_comparison)
    max_matchlen -= 1;
  q = findnextmatch(a, b, alen - max_matchlen, alen - 1, pi);
  if ((GtUword)q >= min_length)
    proc((GtUword)q, direction, procdata);
  if (find_submaximal)
    while (q > 0)
    {
      q = findnextmatch(a, b, alen - q + 1, alen - 1, pi);
      if ((GtUword)q >= min_length)
        proc((GtUword)q, direction, procdata);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r15
movq %rdx, %r9
movb 0x50(%rsp), %r14b
movzbl 0x58(%rsp), %eax
xorl %edx, %edx
movq %rsi, %r10
subq %rcx, %r10
cmovaeq %r10, %rdx
addq %rax, %rdx
movq %rsi, %r12
leaq -0x1(%rsi), %rbp
movq %rdi, 0x8(%rsp)
movq %r9, 0x10(%rsp)
movq %r9, %rsi
movq %rbp, %rcx
movq %r8, %r13
callq 0x2cb139
movl %eax, %ebx
movzwl %ax, %edi
movzbl 0x68(%rsp), %eax
movl %eax, 0x4(%rsp)
cmpq %r15, %rdi
jb 0x2c9971
movl 0x4(%rsp), %esi
movq 0x70(%rsp), %rdx
callq *0x60(%rsp)
testw %bx, %bx
sete %al
xorb $0x1, %r14b
orb %al, %r14b
jne 0x2c99c1
incq %r12
movzwl %bx, %eax
movq %r12, %rdx
subq %rax, %rdx
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %rbp, %rcx
movq %r13, %r8
callq 0x2cb139
movl %eax, %ebx
movzwl %ax, %r14d
cmpq %r15, %r14
jb 0x2c99bc
movq %r14, %rdi
movl 0x4(%rsp), %esi
movq 0x70(%rsp), %rdx
callq *0x60(%rsp)
testq %r14, %r14
jne 0x2c9983
addq $0x18, %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/rdj-ovlfind-kmp.c
// Function: gt_kmp_preproc_unit_test
int gt_kmp_preproc_unit_test(GtError *err)
{
  int had_err = 0;
  int i;
  gt_kmp_t *pi, expected_pi[10] = {(gt_kmp_t)0, (gt_kmp_t)0, (gt_kmp_t)1,
    (gt_kmp_t)2, (gt_kmp_t)3, (gt_kmp_t)4, (gt_kmp_t)5, (gt_kmp_t)6,
    (gt_kmp_t)0, (gt_kmp_t)1};
  pi = gt_kmp_preproc("ababababca", 10UL);
  for (i = 0; i < 10; i++)
    gt_ensure(pi[i] == expected_pi[i]);
  gt_free(pi);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xbbda2(%rip), %rdi     # 0x385787
pushq $0xa
popq %rsi
callq 0x2c94f4
movq %rax, %r14
pushq $-0x1
popq %r12
leaq 0xbbdf5(%rip), %r13     # 0x3857f0
xorl %ebp, %ebp
xorl %r15d, %r15d
cmpq $0x14, %rbp
je 0x2c9a53
testl %r15d, %r15d
movl %r12d, %r15d
jne 0x2c9a4d
movzwl (%r14,%rbp), %eax
xorl %r15d, %r15d
cmpw (%rbp,%r13), %ax
je 0x2c9a4d
movq %rbx, %rdi
leaq 0x349ca(%rip), %rsi     # 0x2fe3f2
leaq 0xbbd63(%rip), %rdx     # 0x385792
leaq 0xbbd74(%rip), %rcx     # 0x3857aa
leaq 0xbbcd4(%rip), %r8      # 0x385711
movl $0xa7, %r9d
xorl %eax, %eax
callq 0x89dbb
movl %r12d, %r15d
addq $0x2, %rbp
jmp 0x2c9a00
leaq 0xbbcb7(%rip), %rsi     # 0x385711
movq %r14, %rdi
movl $0xa8, %edx
callq 0x936f9
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-ovlfind-kmp.c
// Function: findnextmatch
static inline gt_kmp_t findnextmatch(const char *a, const char *b,
    GtUword from, GtUword to, const gt_kmp_t *pi)
{
  gt_kmp_t q;
  GtUword i;
  q = 0;
  for (i = from; i <= to; i++)
  {
    while ((q > 0) && (a[i] != b[q]))
      q = pi[q - 1];
    if (a[i] == b[q])
      q++;
  }
  return q;
}

// Assembly:
xorl %eax, %eax
cmpq %rcx, %rdx
ja 0x2cb175
movb (%rdi,%rdx), %r9b
movzwl %ax, %r10d
movb (%rsi,%r10), %r11b
testw %r10w, %r10w
je 0x2cb165
cmpb %r11b, %r9b
je 0x2cb162
leal -0x1(%r10), %eax
movzwl (%r8,%rax,2), %eax
jmp 0x2cb144
movl %r9d, %r11d
xorl %eax, %eax
cmpb %r11b, %r9b
sete %al
addl %r10d, %eax
incq %rdx
jmp 0x2cb13b
retq
nop
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/sfx-opt.c
// Function: gt_sfxoptions_delete
void gt_sfxoptions_delete(Suffixeratoroptions *so)
{
  /* no checking if error occurs, since errors have been output before */
  gt_index_options_delete(so->idxopts);
  gt_encseq_options_delete(so->encopts);
  gt_encseq_options_delete(so->loadopts);
  gt_str_delete(so->indexname);
  gt_str_delete(so->inputindex);
  gt_str_array_delete(so->db);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
callq 0x164081
movq 0x8(%rbx), %rdi
callq 0x89b38
movq 0x10(%rbx), %rdi
callq 0x89b38
movq 0x20(%rbx), %rdi
callq 0xae103
movq 0x28(%rbx), %rdi
callq 0xae103
movq 0x30(%rbx), %rdi
popq %rbx
jmp 0xae662
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/shu-divergence.c
// Function: gt_get_ln_n_fac
double *gt_get_ln_n_fac(GtUword n)
{
  GtUword i;
  double *ln_n_fac;

  ln_n_fac = gt_calloc((size_t) n + 1, sizeof (double));

  ln_n_fac[0] = log(1.0);
  for (i = 1UL; i <= n; i++) {
    ln_n_fac[i] = log((double) i) + ln_n_fac[i-1];
  }
  return ln_n_fac;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
incq %rdi
leaq 0xb8e33(%rip), %rdx     # 0x385ec0
pushq $0x8
popq %rsi
movl $0xb2, %ecx
callq 0x9334a
movq %rax, %r14
andq $0x0, (%rax)
pushq $0x1
popq %r15
cmpq %rbx, %r15
ja 0x2cd0e2
movq %r15, %xmm1
punpckldq 0x1a829(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x1a831(%rip), %xmm1    # 0x2e78f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
callq 0x175e0
addsd -0x8(%r14,%r15,8), %xmm0
movsd %xmm0, (%r14,%r15,8)
incq %r15
jmp 0x2cd0a5
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/squarededist.c
// Function: gt_squarededistunit2
static GtUword gt_squarededistunit2 (const GtUchar *u, GtUword m,
                                        const GtUchar *v, GtUword n)
{
  GtUword val, we, nw, *ecol, *ecolptr;
  const GtUchar *uptr, *vptr;

  ecol = gt_malloc(sizeof *ecol * (m+1));
  for (*ecol = 0, ecolptr = ecol+1, uptr = u; uptr < u + m; ecolptr++, uptr++)
  {
    *ecolptr = *(ecolptr-1) + 1;
  }
  for (vptr = v; vptr < v + n; vptr++)
  {
    nw = *ecol;
    *ecol = nw + 1;
    for (ecolptr = ecol+1, uptr = u; uptr < u + m; ecolptr++, uptr++)
    {
      we = *ecolptr;
      *ecolptr = *(ecolptr-1) + 1;
      if (*uptr == *vptr)
      {
        val = nw;
      } else
      {
        val = nw + 1;
      }
      if (val < *ecolptr)
      {
        *ecolptr = val;
      }
      if ((val = we + 1) < *ecolptr)
      {
        *ecolptr = val;
      }
      nw = we;
    }
  }
  val = *(ecolptr-1);
  gt_free(ecol);
  return val;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq 0x8(,%rsi,8), %rdi
leaq 0xb8e3b(%rip), %rsi     # 0x385f8b
pushq $0x1c
popq %rdx
callq 0x93160
andq $0x0, (%rax)
movq %rax, %rcx
addq $0x8, %rcx
addq %r12, %r15
movq %rcx, %rdx
movq %r12, %rsi
cmpq %r15, %rsi
jae 0x2cd184
movq -0x8(%rdx), %rdi
incq %rdi
movq %rdi, (%rdx)
addq $0x8, %rdx
incq %rsi
jmp 0x2cd16c
addq %r14, %rbx
cmpq %rbx, %r14
jae 0x2cd1e4
movq (%rax), %rsi
leaq 0x1(%rsi), %rdx
movq %rdx, (%rax)
movq %rcx, %rdx
movq %r12, %rdi
cmpq %r15, %rdi
jae 0x2cd1df
movq -0x8(%rdx), %r8
movq (%rdx), %r9
incq %r8
movq %r8, (%rdx)
movb (%rdi), %r10b
xorl %r11d, %r11d
cmpb (%r14), %r10b
setne %r11b
addq %r11, %rsi
cmpq %r8, %rsi
cmovaeq %r8, %rsi
leaq 0x1(%r9), %r8
cmpq %rsi, %r8
cmovbq %r8, %rsi
movq %rsi, (%rdx)
addq $0x8, %rdx
incq %rdi
movq %r9, %rsi
jmp 0x2cd19c
incq %r14
jmp 0x2cd187
movq -0x8(%rdx), %rbx
leaq 0xb8d9c(%rip), %rsi     # 0x385f8b
pushq $0x3c
popq %rdx
movq %rax, %rdi
callq 0x936f9
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/tyr-map.c
// Function: gt_decodesingleinteger
GtUword gt_decodesingleinteger(const GtUchar *start)
{
  GtUword idx, value;

  value = (GtUword) start[0];
  for (idx=1UL; idx < (GtUword) sizeof (GtUword); idx++)
  {
    value |= (((GtUword) start[idx]) << GT_MULT8(idx));
  }
  return value;
}

// Assembly:
movzbl (%rdi), %eax
incq %rdi
pushq $0x8
popq %rcx
cmpq $0x40, %rcx
je 0x2cd22d
movzbl (%rdi), %edx
shlq %cl, %rdx
orq %rdx, %rax
addq $0x8, %rcx
incq %rdi
jmp 0x2cd215
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/tyr-map.c
// Function: gt_tyrindex_show
void gt_tyrindex_show(const Tyrindex *tyrindex)
{
  printf("# indexfilename = %s\n",tyrindex->indexfilename);
  printf("# alphasize = %u\n",tyrindex->alphasize);
  printf("# mersize = "GT_WU"\n",tyrindex->mersize);
  printf("# numofmers = "GT_WU"\n",(GtUword) tyrindex->numofmers);
  printf("# merbytes = "GT_WU"\n",tyrindex->merbytes);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rsi
leaq 0xb8c6a(%rip), %rdi     # 0x386022
xorl %eax, %eax
callq 0x17070
movl 0x10(%rbx), %esi
leaq 0xb8c6f(%rip), %rdi     # 0x386038
xorl %eax, %eax
callq 0x17070
movq 0x20(%rbx), %rsi
leaq 0xb8c6f(%rip), %rdi     # 0x38604a
xorl %eax, %eax
callq 0x17070
movq 0x18(%rbx), %rsi
leaq 0xb8c6e(%rip), %rdi     # 0x38605b
xorl %eax, %eax
callq 0x17070
movq 0x28(%rbx), %rsi
leaq 0xb8c6f(%rip), %rdi     # 0x38606e
xorl %eax, %eax
popq %rbx
jmp 0x17070
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/tyr-map.c
// Function: gt_tyrindex_delete
void gt_tyrindex_delete(Tyrindex **tyrindexptr)
{
  Tyrindex *tyrindex = *tyrindexptr;

  gt_fa_xmunmap(tyrindex->mappedfileptr);
  tyrindex->mappedfileptr = NULL;
  gt_free(tyrindex);
  *tyrindexptr = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r14
movq (%r14), %rdi
callq 0x8b9fa
andq $0x0, (%r14)
leaq 0xb8b61(%rip), %rsi     # 0x385fb4
movq %r14, %rdi
movl $0xb6, %edx
callq 0x936f9
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/tyr-map.c
// Function: gt_tyrcountinfo_get
GtUword gt_tyrcountinfo_get(const Tyrcountinfo *tyrcountinfo,
                               GtUword mernumber)
{
  if (tyrcountinfo->smallcounts[mernumber] == 0)
  {
    const Largecount *lc
      = binsearchLargecount(mernumber,
                            tyrcountinfo->largecounts,
                            tyrcountinfo->largecounts +
                            tyrcountinfo->numoflargecounts-1);
#ifndef NDEBUG
    if (lc == NULL)
    {
      fprintf(stderr,"cannot find count for mer number "GT_WU"",mernumber);
      exit(GT_EXIT_PROGRAMMING_ERROR);
    }
#endif
    gt_assert (lc != NULL);
    return lc->value;
  }
  return (GtUword) tyrcountinfo->smallcounts[mernumber];
}

// Assembly:
pushq %rax
movq 0x10(%rdi), %rax
movzbl (%rax,%rsi), %eax
testq %rax, %rax
jne 0x2cd60b
movq %rsi, %rdx
movq 0x18(%rdi), %rax
movq 0x20(%rdi), %rcx
shlq $0x4, %rcx
addq %rax, %rcx
addq $-0x10, %rcx
cmpq %rcx, %rax
ja 0x2cd60d
movq %rcx, %rdi
subq %rax, %rdi
sarq %rdi
andq $-0x10, %rdi
leaq (%rax,%rdi), %rsi
cmpq %rdx, (%rax,%rdi)
jbe 0x2cd5fc
addq $-0x10, %rsi
movq %rsi, %rcx
jmp 0x2cd5d7
jae 0x2cd607
addq $0x10, %rsi
movq %rsi, %rax
jmp 0x2cd5d7
movq 0x8(%rsi), %rax
popq %rcx
retq
movq 0x16a954(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0xb8ae5(%rip), %rsi     # 0x386103
xorl %eax, %eax
callq 0x17a50
pushq $0x2
popq %rdi
callq 0x178f0
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/tyr-map.c
// Function: gt_tyrcountinfo_delete
void gt_tyrcountinfo_delete(Tyrcountinfo **tyrcountinfoptr)
{
  Tyrcountinfo *tyrcountinfo = *tyrcountinfoptr;

  gt_fa_xmunmap(tyrcountinfo->mappedmctfileptr);
  tyrcountinfo->mappedmctfileptr = NULL;
  gt_free(tyrcountinfo);
  *tyrcountinfoptr = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r14
movq (%r14), %rdi
callq 0x8b9fa
andq $0x0, (%r14)
leaq 0xb896a(%rip), %rsi     # 0x385fb4
movq %r14, %rdi
movl $0x12d, %edx            # imm = 0x12D
callq 0x936f9
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/tyr-map.c
// Function: gt_tyrindex_check
void gt_tyrindex_check(GT_UNUSED const Tyrindex *tyrindex)
{
#ifndef NDEBUG
  GtUchar *mercodeptr;
  const GtUchar *result;
  GtUword position;
  GT_UNUSED GtUword previousposition = 0;

  gt_assert(tyrindex->merbytes > 0);
  for (mercodeptr = tyrindex->mertable;
       mercodeptr <= tyrindex->lastmer;
       mercodeptr += tyrindex->merbytes)
  {
    result = gt_tyrindex_binmersearch(tyrindex,0,mercodeptr,
                                   tyrindex->mertable,
                                   tyrindex->lastmer);
    gt_assert(result != NULL);
    if ((result - tyrindex->mertable) % tyrindex->merbytes != 0)
    {
      fprintf(stderr,"result is not multiple of "GT_WU"\n",tyrindex->merbytes);
      exit(GT_EXIT_PROGRAMMING_ERROR);
    }
    position = (GtUword) (result-tyrindex->mertable)/
                               tyrindex->merbytes;
    if (position > 0 && previousposition + 1 != position)
    {
      fprintf(stderr,"position "GT_WU" is not increasing\n",position);
      exit(GT_EXIT_PROGRAMMING_ERROR);
    }
    previousposition = position;
  }
#endif
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x28(%rdi), %rbx
testq %rbx, %rbx
je 0x2cd7c2
movq %rdi, %r14
movq 0x30(%rdi), %r15
movq 0x38(%rdi), %r12
xorl %ebp, %ebp
movq %r15, %r13
cmpq %r12, %r13
ja 0x2cd742
movq %r14, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %r15, %rcx
movq %r12, %r8
callq 0x2cd663
testq %rax, %rax
je 0x2cd751
movq %rax, %rcx
subq %r15, %rcx
movq %rcx, %rax
xorl %edx, %edx
divq %rbx
testq %rdx, %rdx
jne 0x2cd79f
cmpq %rcx, %rbx
seta %cl
incq %rbp
cmpq %rax, %rbp
sete %dl
orb %cl, %dl
je 0x2cd789
addq %rbx, %r13
movq %rax, %rbp
jmp 0x2cd6f7
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x16a810(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x178b1(%rip), %rsi     # 0x2e5013
leaq 0xb89e8(%rip), %rdx     # 0x386151
leaq 0xb89cf(%rip), %rcx     # 0x38613f
leaq 0xb883d(%rip), %r8      # 0x385fb4
movl $0x182, %r9d            # imm = 0x182
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x16a7d8(%rip), %rcx    # 0x437f68
movq (%rcx), %rdi
leaq 0xb89e5(%rip), %rsi     # 0x38617f
movq %rax, %rdx
jmp 0x2cd7b3
movq 0x16a7c2(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0xb89b0(%rip), %rsi     # 0x386160
movq %rbx, %rdx
xorl %eax, %eax
callq 0x17a50
pushq $0x2
popq %rdi
callq 0x178f0
movq 0x16a79f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x17840(%rip), %rsi     # 0x2e5013
leaq 0xb894e(%rip), %rdx     # 0x386128
leaq 0xb895e(%rip), %rcx     # 0x38613f
leaq 0xb87cc(%rip), %r8      # 0x385fb4
movl $0x17a, %r9d            # imm = 0x17A
jmp 0x2cd77d