LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_leftborder_assign
void gt_bcktab_leftborder_assign(GtLeftborder *lb,GtCodetype code,
                                 GtUword value)
{
  gt_assert(lb != NULL);
  if (lb->ulongbounds != NULL)
  {
    lb->ulongbounds[code] = value;
  } else
  {
    gt_assert(value <= (GtUword) UINT_MAX);
    gt_assert(lb->uintbounds != NULL);
    lb->uintbounds[code] = (uint32_t) value;
  }
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x193473
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x19345d
movq %rdx, (%rax,%rsi,8)
jmp 0x193471
movq %rdx, %rax
shrq $0x20, %rax
jne 0x193478
movq (%rdi), %rax
testq %rax, %rax
je 0x19347d
movl %edx, (%rax,%rsi,4)
popq %rax
retq
callq 0x5ccd2
callq 0x5cc64
callq 0x5cc9b
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_get_leftborder
GtUword gt_bcktab_get_leftborder(const GtBcktab *bcktab,GtCodetype code)
{
  gt_assert(bcktab != NULL);
  if (bcktab->leftborder.ulongbounds != NULL)
  {
    return bcktab->leftborder.ulongbounds[code];
  }
  gt_assert(bcktab->leftborder.uintbounds != NULL);
  return (GtUword) bcktab->leftborder.uintbounds[code];
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x1934a4
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x193497
movq (%rax,%rsi,8), %rax
jmp 0x1934a2
movq (%rdi), %rax
testq %rax, %rax
je 0x1934a9
movl (%rax,%rsi,4), %eax
popq %rcx
retq
callq 0x5cd40
callq 0x5cd09
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_storetmp
void gt_bcktab_storetmp(GtBcktab *bcktab)
{
  if (bcktab->useulong) {
    gt_Sfxmappedrange_storetmp_ulong(bcktab->mappedleftborder,
                                     &bcktab->leftborder.ulongbounds,
                                     true);
    if (bcktab->withspecialsuffixes)
    {
      gt_Sfxmappedrange_storetmp_ulong(bcktab->mappedcountspecialcodes,
                                       &bcktab->ulongcountspecialcodes,
                                       true);
    }
  } else {
    gt_Sfxmappedrange_storetmp_uint32(bcktab->mappedleftborder,
                                      &bcktab->leftborder.uintbounds,
                                      true);
    if (bcktab->withspecialsuffixes)
    {
      gt_Sfxmappedrange_storetmp_uint32(bcktab->mappedcountspecialcodes,
                                        &bcktab->uintcountspecialcodes,
                                        true);
    }
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0xb0(%rdi), %rdi
cmpb $0x1, 0xa2(%rbx)
jne 0x1934f2
leaq 0x8(%rbx), %rsi
movl $0x1, %edx
callq 0x1f86eb
cmpb $0x1, 0xa1(%rbx)
jne 0x193521
movq 0xb8(%rbx), %rdi
addq $0x20, %rbx
movq %rbx, %rsi
movl $0x1, %edx
popq %rbx
jmp 0x1f86eb
movq %rbx, %rsi
movl $0x1, %edx
callq 0x1f87e4
cmpb $0x1, 0xa1(%rbx)
jne 0x193521
movq 0xb8(%rbx), %rdi
addq $0x10, %rbx
movq %rbx, %rsi
movl $0x1, %edx
popq %rbx
jmp 0x1f87e4
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_maprange_lb_cs
void gt_bcktab_maprange_lb_cs(GtSfxmappedrangelist *sfxmrlist,GtBcktab *bcktab)
{
  bcktab->mappedleftborder
    = gt_Sfxmappedrange_new("leftborder",
                            bcktab->numofallcodes+1,
                            bcktab->useulong
                              ? GtSfxunsignedlong
                              : GtSfxuint32_t,
                            NULL,
                            NULL);
  gt_Sfxmappedrangelist_add(sfxmrlist,bcktab->mappedleftborder);
  if (bcktab->withspecialsuffixes)
  {
    bcktab->mappedcountspecialcodes
      = gt_Sfxmappedrange_new("countspecialcodes",
                              bcktab->numofspecialcodes,
                              bcktab->useulong
                                ? GtSfxunsignedlong
                                : GtSfxuint32_t,
                              gt_bcktab_transform_minmax_code,
                              &bcktab->numofchars);
    gt_Sfxmappedrangelist_add(sfxmrlist,bcktab->mappedcountspecialcodes);
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x58(%rsi), %rsi
incq %rsi
movzbl 0xa2(%r14), %eax
movl $0x2, %ebp
movl $0x2, %edx
subl %eax, %edx
leaq 0x1e4cdb(%rip), %rdi    # 0x37822a
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x1f8614
movq %rax, 0xb0(%r14)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1f8c58
cmpb $0x1, 0xa1(%r14)
jne 0x1935b2
movq 0x60(%r14), %rsi
movzbl 0xa2(%r14), %eax
subl %eax, %ebp
leaq 0x4c(%r14), %r8
leaq 0x2147e8(%rip), %rdi    # 0x3a7d76
leaq 0x22(%rip), %rcx        # 0x1935b7
movl %ebp, %edx
callq 0x1f8614
movq %rax, 0xb8(%r14)
movq %rbx, %rdi
movq %rax, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x1f8c58
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_sizeoftable
uint64_t gt_bcktab_sizeoftable(unsigned int numofchars,
                               unsigned int prefixlength,
                               GtUword maxvalue,
                               bool withspecialsuffixes)
{
  GtUword numofallcodes, numofspecialcodes;
  uint64_t sizeofbuckettable;
  GtCodetype *basepower;

  if (withspecialsuffixes)
  {
    if (prefixlength >= 2U)
    {
      basepower = gt_initbasepower(numofchars,prefixlength-2);
    } else
    {
      basepower = NULL;
    }
    numofspecialcodes = gt_power_for_small_exponents(numofchars,prefixlength-1);
  } else
  {
    basepower = NULL;
    numofspecialcodes = 0;
  }
  numofallcodes = gt_power_for_small_exponents(numofchars,prefixlength);
  sizeofbuckettable
    = gt_bcktab_sizeoftable_generic(prefixlength,
                                    numofallcodes,
                                    numofspecialcodes,
                                    gt_bcktab_useulong(maxvalue),
                                    basepower,
                                    true,
                                    withspecialsuffixes);
  gt_free(basepower);
  return sizeofbuckettable;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %rbx
movl %esi, %r12d
movl %edi, %r15d
xorl %r13d, %r13d
movl $0x0, %r14d
testl %ecx, %ecx
je 0x1936ae
cmpl $0x2, %r12d
jb 0x19369b
leal -0x2(%r12), %esi
movl %r15d, %edi
callq 0x1bed47
movq %rax, %r14
jmp 0x19369e
xorl %r14d, %r14d
leal -0x1(%r12), %esi
movl %r15d, %edi
callq 0x10af8d
movq %rax, %r13
movl %r15d, %edi
movl %r12d, %esi
callq 0x10af8d
movq %rax, %r15
incq %r15
testb %bpl, %bpl
je 0x1936f3
addq %r13, %r15
cmpl $0x3, %r12d
jb 0x1936ee
decl %r12d
cmpl $0x2, %r12d
jb 0x1936ee
movl %r12d, %ecx
movl $0x1, %edx
xorl %eax, %eax
addq (%r14,%rdx,8), %rax
incq %rdx
cmpq %rdx, %rcx
jne 0x1936e0
jmp 0x1936f0
xorl %eax, %eax
addq %rax, %r15
shrq $0x20, %rbx
setne %cl
orb $0x2, %cl
shlq %cl, %r15
leaq 0x214117(%rip), %rsi    # 0x3a781e
movq %r14, %rdi
movl $0x142, %edx            # imm = 0x142
callq 0x109670
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: assignbcktabmapspecification
static void assignbcktabmapspecification(GtMapspec *mapspec,
                                         void *data,
                                         bool writemode)
{
  GtBcktab *bcktab = (GtBcktab *) data;

  if (bcktab->useulong)
  {
    gt_mapspec_add_ulong(mapspec, bcktab->leftborder.ulongbounds,
                         (GtUword) (bcktab->numofallcodes+1));
  } else
  {
    gt_mapspec_add_uint32(mapspec, bcktab->leftborder.uintbounds,
                          (GtUword) (bcktab->numofallcodes+1));
  }
  if (bcktab->withspecialsuffixes)
  {
    if (bcktab->useulong)
    {
      gt_mapspec_add_ulong(mapspec, bcktab->ulongcountspecialcodes,
                           (GtUword) bcktab->numofspecialcodes);
    } else
    {
      gt_mapspec_add_uint32(mapspec, bcktab->uintcountspecialcodes,
                            (GtUword) bcktab->numofspecialcodes);
    }
    if (bcktab->numofdistpfxidxcounters > 0)
    {
      if (!writemode)
      {
        if (bcktab->useulong)
        {
          bcktab->ulongdistpfxidx = gt_malloc(sizeof (void *) *
                                              (bcktab->prefixlength-1));
        } else
        {
          bcktab->uintdistpfxidx = gt_malloc(sizeof (void *) *
                                             (bcktab->prefixlength-1));
        }
      }
      if (bcktab->useulong)
      {
        gt_mapspec_add_ulong(mapspec, bcktab->ulongdistpfxidx[0],
                             bcktab->numofdistpfxidxcounters);
      } else
      {
        gt_mapspec_add_uint32(mapspec, bcktab->uintdistpfxidx[0],
                              bcktab->numofdistpfxidxcounters);
      }
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x1, 0xa2(%rsi)
jne 0x193ded
leaq 0x8(%r14), %rsi
movq 0x58(%r14), %rdx
incq %rdx
movq %rbx, %rdi
callq 0x10a4c9
jmp 0x193dff
movq 0x58(%r14), %rdx
incq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10a607
cmpb $0x1, 0xa1(%r14)
jne 0x193e9b
movq 0x60(%r14), %rdx
cmpb $0x1, 0xa2(%r14)
jne 0x193e29
leaq 0x20(%r14), %rsi
movq %rbx, %rdi
callq 0x10a4c9
jmp 0x193e35
leaq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0x10a607
cmpq $0x0, 0x40(%r14)
je 0x193e9b
testb %bpl, %bpl
jne 0x193e77
movzbl 0xa2(%r14), %r15d
movl 0x48(%r14), %edi
decl %edi
shlq $0x3, %rdi
movl %r15d, %eax
xorb $0x1, %al
movzbl %al, %eax
leal 0x228(,%rax,4), %edx
shll $0x4, %r15d
leaq 0x2139b1(%rip), %rsi    # 0x3a781e
callq 0x1092b2
movq %rax, 0x18(%r15,%r14)
movq 0x40(%r14), %rdx
cmpb $0x1, 0xa2(%r14)
jne 0x193ea6
movq 0x28(%r14), %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x10a4c9
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%r14), %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x10a607
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_checkcountspecialcodes
void gt_bcktab_checkcountspecialcodes(const GtBcktab *bcktab)
{
  GtCodetype code;
  GtUword *count;

  if (bcktab->prefixlength >= 2U)
  {
    count = gt_malloc(sizeof (*count) * bcktab->prefixlength);
    for (code=0; code<bcktab->numofallcodes; code++)
    {
      pfxidxpartialsums(count, code, bcktab);
    }
    gt_free(count);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x48(%rdi), %edi
cmpq $0x2, %rdi
jb 0x194018
shlq $0x3, %rdi
leaq 0x21393c(%rip), %rsi    # 0x3a781e
movl $0x2a9, %edx            # imm = 0x2A9
callq 0x1092b2
movq %rax, %r15
cmpq $0x0, 0x58(%rbx)
je 0x193ff6
xorl %r14d, %r14d
movl 0x48(%rbx), %edx
shlq $0x3, %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x173a0
movl 0x48(%rbx), %r13d
cmpl $0x2, %r13d
je 0x193f5d
addl $-0x3, %r13d
xorl %r12d, %r12d
leal 0x1(%r13), %ebp
movq 0x78(%rbx), %rax
movq (%rax,%rbp,8), %rcx
movq %r14, %rax
subq %rcx, %rax
jb 0x193f60
incq %rcx
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
jne 0x193f55
movq %rbx, %rdi
movl %r13d, %esi
movq %rax, %rdx
callq 0x194225
movq %rax, (%r15,%rbp,8)
addq %rax, %r12
addl $-0x1, %r13d
jb 0x193f1f
jmp 0x193f60
xorl %r12d, %r12d
movq 0x78(%rbx), %rax
movl 0x48(%rbx), %ecx
leal -0x1(%rcx), %esi
movq (%rax,%rsi,8), %rdi
movq %r14, %rax
subq %rdi, %rax
jb 0x193fa7
incq %rdi
xorl %edx, %edx
divq %rdi
testq %rdx, %rdx
jne 0x193fa2
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x193f92
movq (%rdi,%rax,8), %rdi
jmp 0x193fa2
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x194054
movl (%rdi,%rax,4), %edi
testq %rdx, %rdx
je 0x193fa9
xorl %edi, %edi
movq %rdi, %rax
subq %r12, %rax
jb 0x194027
movq %rax, (%r15,%rsi,8)
cmpl $0x3, %ecx
jb 0x193fe9
addl $-0x2, %ecx
je 0x193fe0
movl %ecx, %eax
movq 0x8(%r15,%rax,8), %rcx
decq %rax
movq %rax, %rdx
addq 0x8(%r15,%rax,8), %rcx
movq %rcx, 0x8(%r15,%rax,8)
decq %rdx
testl %eax, %eax
movq %rdx, %rax
jne 0x193fcc
movq 0x8(%r15), %r8
cmpq %r8, %rdi
jne 0x19402c
incq %r14
cmpq 0x58(%rbx), %r14
jb 0x193efd
leaq 0x213821(%rip), %rsi    # 0x3a781e
movq %r15, %rdi
movl $0x2ae, %edx            # imm = 0x2AE
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x109670
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x5cecd
movq 0x32ff4d(%rip), %rax    # 0x4c3f80
movq (%rax), %rdi
leaq 0x213d09(%rip), %rsi    # 0x3a7d46
movq %r14, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x17ab0
movl $0x2, %edi
callq 0x17940
callq 0x5ce94
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_map
GtBcktab *gt_bcktab_map(const char *indexname,
                        unsigned int numofchars,
                        unsigned int prefixlength,
                        GtUword maxvalue,
                        bool withspecialsuffixes,
                        GtError *err)
{
  GtBcktab *bcktab;

  bcktab = gt_bcktab_new_withinit(numofchars,prefixlength,maxvalue,
                                  withspecialsuffixes);
  bcktab->allocated = false;
  if (fillbcktabmapspecstartptr(bcktab, indexname, err) != 0)
  {
    gt_bcktab_delete(bcktab);
    return NULL;
  }
  if (withspecialsuffixes)
  {
    if (bcktab->ulongdistpfxidx != NULL)
    {
      ulong_setdistpfxidxptrs(bcktab->ulongdistpfxidx,
                              bcktab->ulongdistpfxidx[0],
                              bcktab->basepower,bcktab->prefixlength);
    } else
    {
      if (bcktab->uintdistpfxidx != NULL)
      {
        uint_setdistpfxidxptrs(bcktab->uintdistpfxidx,
                               bcktab->uintdistpfxidx[0],
                               bcktab->basepower,bcktab->prefixlength);
      }
    }
#ifdef CHECKCOUNTSPECIALCODES
    gt_bcktab_checkcountspecialcodes(bcktab);
#endif
  }
  return bcktab;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %r9, %r14
movl %r8d, %ebp
movq %rdi, %r15
movl %esi, %edi
movl %edx, %esi
movq %rcx, %rdx
movl %r8d, %ecx
callq 0x193a3c
movq %rax, %rbx
movb $0x0, 0xa0(%rax)
testq %r14, %r14
je 0x194097
movq %r14, %rdi
callq 0x101a9a
testb %al, %al
jne 0x19417f
movq %r15, %rdi
callq 0x120955
movq %rax, %r15
leaq 0x213cf9(%rip), %rsi    # 0x3a7da2
movq %rax, %rdi
callq 0x12097f
movq %r15, %rdi
callq 0x120d23
movq 0x30(%rbx), %rcx
movq %rbx, %r8
addq $0xa8, %r8
leaq -0x30e(%rip), %rdi      # 0x193dc0
movq %rbx, %rsi
movq %rax, %rdx
movq %r14, %r9
callq 0x109e7f
movl %eax, %r14d
movq %r15, %rdi
callq 0x121b03
testl %r14d, %r14d
je 0x1940f8
movq %rbx, %rdi
callq 0x193ba9
xorl %ebx, %ebx
jmp 0x194171
testb %bpl, %bpl
je 0x194171
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x194134
movl 0x48(%rbx), %edx
decl %edx
cmpl $0x2, %edx
jb 0x194169
movq 0x70(%rbx), %rcx
movl %edx, %edx
movq (%rax), %rsi
movl $0x1, %edi
movq (%rcx,%rdi,8), %r8
leaq (%rsi,%r8,8), %rsi
movq %rsi, (%rax,%rdi,8)
incq %rdi
cmpq %rdi, %rdx
jne 0x19411e
jmp 0x194169
movq 0x18(%rbx), %rax
testq %rax, %rax
je 0x194169
movl 0x48(%rbx), %edx
decl %edx
cmpl $0x2, %edx
jb 0x194169
movq 0x70(%rbx), %rcx
movl %edx, %edx
movq (%rax), %rsi
movl $0x1, %edi
movq (%rcx,%rdi,8), %r8
leaq (%rsi,%r8,4), %rsi
movq %rsi, (%rax,%rdi,8)
incq %rdi
cmpq %rdi, %rdx
jne 0x194155
movq %rbx, %rdi
callq 0x193ebc
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x5cf06
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_show
void gt_bcktab_show(const GtBcktab *bcktab)
{
  unsigned int prefixindex;

  for (prefixindex=1U; prefixindex < bcktab->prefixlength-1; prefixindex++)
  {
    GtCodetype code;
    GtUword sum = 0, value;
    for (code = 0; code < bcktab->basepower[prefixindex]; code++)
    {
      value = gt_bcktab_distpfxidx_get(bcktab,prefixindex-1,code);
      sum += value;
      printf("distpfxidx[%u]["GT_WU"]="GT_WU"\n",prefixindex,code,value);
    }
    printf("sum "GT_WU"\n",sum);
  }
}

// Assembly:
movl 0x48(%rdi), %eax
addl $-0x3, %eax
cmpl $-0x3, %eax
ja 0x194224
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %r14d
leaq 0x2137ae(%rip), %r12    # 0x3a795c
movq 0x70(%rbx), %rax
cmpq $0x0, (%rax,%r14,8)
je 0x1941f5
leal -0x1(%r14), %ebp
xorl %r13d, %r13d
xorl %r15d, %r15d
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x194225
addq %rax, %r13
movq %r12, %rdi
movl %r14d, %esi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x17070
incq %r15
movq 0x70(%rbx), %rax
cmpq (%rax,%r14,8), %r15
jb 0x1941c3
jmp 0x1941f8
xorl %r13d, %r13d
leaq 0x213776(%rip), %rdi    # 0x3a7975
movq %r13, %rsi
xorl %eax, %eax
callq 0x17070
incq %r14
movl 0x48(%rbx), %eax
decl %eax
cmpq %rax, %r14
jb 0x1941ae
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_distpfxidx_get
static GtUword gt_bcktab_distpfxidx_get(const GtBcktab *bcktab,
                                              unsigned int prefixindex,
                                              GtCodetype ordercode)
{
  if (bcktab->ulongdistpfxidx != NULL)
  {
    return bcktab->ulongdistpfxidx[prefixindex][ordercode];
  }
  gt_assert(bcktab->uintdistpfxidx != NULL);
  return (GtUword) bcktab->uintdistpfxidx[prefixindex][ordercode];
}

// Assembly:
movq 0x28(%rdi), %rax
testq %rax, %rax
je 0x194239
movl %esi, %ecx
movq (%rax,%rcx,8), %rax
movq (%rax,%rdx,8), %rax
retq
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x19424c
movl %esi, %ecx
movq (%rax,%rcx,8), %rax
movl (%rax,%rdx,4), %eax
retq
pushq %rax
callq 0x5cf3f
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_leftborder_show
void gt_bcktab_leftborder_show(const GtBcktab *bcktab)
{
  GtCodetype idx;

  for (idx=0; idx<bcktab->numofallcodes; idx++)
  {
    printf("leftborder[" FormatGtCodetype "]="GT_WU,idx,
                                    gt_bcktab_get_leftborder(bcktab,idx));
    if (idx > 0)
    {
      printf(" size " GT_WU,gt_bcktab_get_leftborder(bcktab,idx) -
                            gt_bcktab_get_leftborder(bcktab,idx-1));
    }
    printf("\n");
  }
}

// Assembly:
cmpq $0x0, 0x58(%rdi)
je 0x1942e1
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
leaq 0x21370e(%rip), %r14    # 0x3a797e
leaq 0x1fa12a(%rip), %r15    # 0x38e3a1
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r12, %rsi
callq 0x193482
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x17070
testq %r12, %r12
je 0x1942c5
movq %rbx, %rdi
movq %r12, %rsi
callq 0x193482
movq %rax, %r13
leaq -0x1(%r12), %rsi
movq %rbx, %rdi
callq 0x193482
subq %rax, %r13
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x17070
movl $0xa, %edi
callq 0x17a20
incq %r12
cmpq 0x58(%rbx), %r12
jb 0x19427a
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_updatespecials
void gt_bcktab_updatespecials(GtBcktab *bcktab,
                              GtCodetype code,
                              unsigned int prefixindex)
{
  GtCodetype specialcode;

  gt_assert(prefixindex > 0);
  gt_assert(prefixindex <= bcktab->prefixlength);
  gt_assert(code < bcktab->numofallcodes);
  if (prefixindex < bcktab->prefixlength-1)
  {
    GtCodetype ordercode = (code - bcktab->filltable[prefixindex])/
                           (bcktab->filltable[prefixindex]+1);
    gt_bcktab_distpfxidx_increment(bcktab,prefixindex-1,ordercode);
  }
  gt_assert(code >= (GtCodetype) (bcktab->numofchars-1));
  specialcode = GT_FROMCODE2SPECIALCODE(code,bcktab->numofchars);
  if (bcktab->ulongcountspecialcodes != NULL)
  {
    bcktab->ulongcountspecialcodes[specialcode]++;
  } else
  {
    gt_assert(bcktab->uintcountspecialcodes != NULL);
    bcktab->uintcountspecialcodes[specialcode]++;
  }
}

// Assembly:
pushq %rax
testl %edx, %edx
je 0x194414
movl %edx, %ecx
movl 0x48(%rdi), %eax
cmpl %edx, %eax
jb 0x194419
cmpq %rsi, 0x58(%rdi)
jbe 0x19441e
decl %eax
cmpl %ecx, %eax
jbe 0x1943d6
movq 0x28(%rdi), %r8
movq 0x78(%rdi), %rax
movl %ecx, %edx
movq (%rax,%rdx,8), %r9
movq %rsi, %rax
subq %r9, %rax
incq %r9
xorl %edx, %edx
divq %r9
decl %ecx
testq %r8, %r8
je 0x1943c4
movl %ecx, %ecx
movq (%r8,%rcx,8), %rcx
incq (%rcx,%rax,8)
jmp 0x1943d6
movq 0x18(%rdi), %rdx
testq %rdx, %rdx
je 0x19442d
movl %ecx, %ecx
movq (%rdx,%rcx,8), %rcx
incl (%rcx,%rax,4)
movl 0x4c(%rdi), %ecx
leal -0x1(%rcx), %edx
movq %rsi, %rax
subq %rdx, %rax
jb 0x194423
cmpl $0x4, %ecx
jne 0x1943ef
shrq $0x2, %rsi
jmp 0x1943f7
xorl %edx, %edx
divq %rcx
movq %rax, %rsi
movq 0x20(%rdi), %rax
testq %rax, %rax
je 0x194406
incq (%rax,%rsi,8)
jmp 0x194412
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0x194428
incl (%rax,%rsi,4)
popq %rax
retq
callq 0x5d093
callq 0x5d05a
callq 0x5cf76
callq 0x5cfe8
callq 0x5cfaf
callq 0x5d021
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_addfinalspecials
void gt_bcktab_addfinalspecials(GtBcktab *bcktab,
                                GtUword specialcharacters)
{
  if (bcktab->withspecialsuffixes)
  {
    GtCodetype specialcode;

    gt_assert(bcktab->filltable[0] >= (GtCodetype) (bcktab->numofchars-1));
    specialcode = GT_FROMCODE2SPECIALCODE(bcktab->filltable[0],
                                          bcktab->numofchars);
    if (bcktab->ulongcountspecialcodes != NULL)
    {
      bcktab->ulongcountspecialcodes[specialcode]
        += (GtUword) (specialcharacters + 1);
    } else
    {
      gt_assert(bcktab->uintcountspecialcodes != NULL);
      bcktab->uintcountspecialcodes[specialcode]
        += (uint32_t) (specialcharacters + 1);
    }
  }
}

// Assembly:
pushq %rax
cmpb $0x1, 0xa1(%rdi)
jne 0x194493
movq 0x78(%rdi), %rax
movq (%rax), %rax
movl 0x4c(%rdi), %r8d
leal -0x1(%r8), %edx
movq %rax, %rcx
subq %rdx, %rcx
jb 0x194495
cmpl $0x4, %r8d
jne 0x19445f
shrq $0x2, %rax
jmp 0x194467
movq %rcx, %rax
xorl %edx, %edx
divq %r8
movq 0x20(%rdi), %rcx
testq %rcx, %rcx
je 0x194480
movq (%rcx,%rax,8), %rdx
addq %rsi, %rdx
incq %rdx
movq %rdx, (%rcx,%rax,8)
jmp 0x194493
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0x19449a
movl (%rcx,%rax,4), %edx
addl %esi, %edx
incl %edx
movl %edx, (%rcx,%rax,4)
popq %rax
retq
callq 0x5d105
callq 0x5d0cc
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_calcboundsparts
unsigned int gt_bcktab_calcboundsparts(GtBucketspecification *bucketspec,
                                       const GtBcktab *bcktab,
                                       GtCodetype code,
                                       GtCodetype maxcode,
                                       GtUword totalwidth,
                                       unsigned int rightchar)
{
  bucketspec->left = gt_bcktab_get_leftborder(bcktab,code);
  if (code < maxcode)
  {
    GtUword nextleftborder = gt_bcktab_get_leftborder(bcktab,code+1);

    if (nextleftborder > 0)
    {
      bucketspec->nonspecialsinbucket = nextleftborder - bucketspec->left;
    } else
    {
      bucketspec->nonspecialsinbucket = 0;
    }
  } else
  {
    gt_assert(totalwidth >= bucketspec->left);
    bucketspec->nonspecialsinbucket
      = (GtUword) (totalwidth - bucketspec->left);
  }
  if (bcktab->withspecialsuffixes && rightchar == bcktab->numofchars - 1)
  {
    GtCodetype specialcode;

    gt_assert(code >= (GtCodetype) (bcktab->numofchars-1));
    specialcode = GT_FROMCODE2SPECIALCODE(code,bcktab->numofchars);
    if (bcktab->ulongcountspecialcodes != NULL)
    {
      bucketspec->specialsinbucket
        = bcktab->ulongcountspecialcodes[specialcode];
    } else
    {
      gt_assert(bcktab->uintcountspecialcodes != NULL);
      bucketspec->specialsinbucket
        = (GtUword) bcktab->uintcountspecialcodes[specialcode];
    }
    if (bucketspec->nonspecialsinbucket >= bucketspec->specialsinbucket)
    {
      bucketspec->nonspecialsinbucket -= bucketspec->specialsinbucket;
    } else
    {
      bucketspec->nonspecialsinbucket = 0;
    }
  } else
  {
    bucketspec->specialsinbucket = 0;
  }
  return (rightchar < bcktab->numofchars - 1) ? (rightchar + 1) : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebx
movq %r8, %r13
movq %rcx, %rbp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x193482
movq %rax, (%r15)
cmpq %rbp, %r12
jae 0x1944e9
leaq 0x1(%r12), %rsi
movq %r14, %rdi
callq 0x193482
testq %rax, %rax
je 0x1944f3
movq %rax, %r13
subq (%r15), %r13
jmp 0x1944f6
subq %rax, %r13
jae 0x1944f6
callq 0x5d13e
xorl %r13d, %r13d
movq %r13, 0x8(%r15)
cmpb $0x1, 0xa1(%r14)
jne 0x194524
movl 0x4c(%r14), %ecx
leal -0x1(%rcx), %eax
cmpl %ebx, %eax
jne 0x194524
movl %eax, %edx
movq %r12, %rax
subq %rdx, %rax
jb 0x194586
cmpl $0x4, %ecx
jne 0x19452e
shrq $0x2, %r12
jmp 0x194536
movq $0x0, 0x10(%r15)
jmp 0x194567
xorl %edx, %edx
divq %rcx
movq %rax, %r12
movq 0x20(%r14), %rax
testq %rax, %rax
je 0x194545
movq (%rax,%r12,8), %rax
jmp 0x194552
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x19458b
movl (%rax,%r12,4), %eax
movq %rax, 0x10(%r15)
movq 0x8(%r15), %rcx
xorl %edx, %edx
subq %rax, %rcx
cmovaeq %rcx, %rdx
movq %rdx, 0x8(%r15)
movl 0x4c(%r14), %ecx
decl %ecx
leal 0x1(%rbx), %edx
xorl %eax, %eax
cmpl %ebx, %ecx
cmoval %edx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x5d1b0
callq 0x5d177
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_calcboundaries
void gt_bcktab_calcboundaries(GtBucketspecification *bucketspec,
                              const GtBcktab *bcktab,
                              GtCodetype code)
{
  gt_assert(code != bcktab->numofallcodes);
  (void) gt_bcktab_calcboundsparts(bucketspec,
                                   bcktab,
                                   code,
                                   bcktab->numofallcodes, /*code<numofallcodes*/
                                   0,  /* not necessary */
                                   bcktab->withspecialsuffixes
                                    ? (unsigned int) (code % bcktab->numofchars)
                                    : 0);
}

// Assembly:
movq 0x58(%rsi), %rcx
cmpq %rdx, %rcx
je 0x1945c2
movq %rdx, %r8
xorl %r9d, %r9d
cmpb $0x1, 0xa1(%rsi)
jne 0x1945b7
movl 0x4c(%rsi), %r9d
movq %r8, %rax
xorl %edx, %edx
divq %r9
movq %rdx, %r9
movq %r8, %rdx
xorl %r8d, %r8d
jmp 0x19449f
pushq %rax
callq 0x5d1e9
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_codedownscale
GtCodetype gt_bcktab_codedownscale(const GtBcktab *bcktab,
                                   GtCodetype code,
                                   unsigned int prefixindex,
                                   unsigned int maxprefixlen)
{
  unsigned int remain;

  code -= bcktab->filltable[maxprefixlen];
  remain = maxprefixlen-prefixindex;
  code %= (bcktab->filltable[remain]+1);
  code *= bcktab->basepower[remain];
  code += bcktab->filltable[prefixindex];
  return code;
}

// Assembly:
movl %edx, %r8d
movq %rsi, %rax
movq 0x70(%rdi), %rsi
movq 0x78(%rdi), %rdi
movl %ecx, %edx
subq (%rdi,%rdx,8), %rax
subl %r8d, %ecx
movq (%rdi,%rcx,8), %r9
incq %r9
xorl %edx, %edx
divq %r9
movq %rdx, %rax
imulq (%rsi,%rcx,8), %rax
movl %r8d, %ecx
addq (%rdi,%rcx,8), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_determinemaxsize
void gt_bcktab_determinemaxsize(GtBcktab *bcktab,
                                GtCodetype mincode,
                                GtCodetype maxcode,
                                GtUword partwidth)
{
  unsigned int rightchar = (unsigned int) (mincode % bcktab->numofchars);
  GtBucketspecification bucketspec;
  GtCodetype code;

#ifdef SKDEBUG
  printf("mincode="GT_WU",maxcode="GT_WU",partwidth="GT_WU",totallength="
         GT_WU"\n", (GtUword) mincode,(GtUword) maxcode, partwidth,totallength);
#endif
  bcktab->maxbucketinfo.specialsmaxbucketsize = 1UL;
  bcktab->maxbucketinfo.nonspecialsmaxbucketsize = 1UL;
  bcktab->maxbucketinfo.maxbucketsize = 1UL;
  for (code = mincode; code <= maxcode; code++)
  {
    rightchar = gt_bcktab_calcboundsparts(&bucketspec,
                                          bcktab,
                                          code,
                                          maxcode,
                                          partwidth,
                                          rightchar);
    if (bucketspec.nonspecialsinbucket >
        bcktab->maxbucketinfo.nonspecialsmaxbucketsize)
    {
      bcktab->maxbucketinfo.nonspecialsmaxbucketsize
        = bucketspec.nonspecialsinbucket;
    }
    if (bucketspec.specialsinbucket >
        bcktab->maxbucketinfo.specialsmaxbucketsize)
    {
      bcktab->maxbucketinfo.specialsmaxbucketsize = bucketspec.specialsinbucket;
    }
    if (bucketspec.nonspecialsinbucket + bucketspec.specialsinbucket
        > bcktab->maxbucketinfo.maxbucketsize)
    {
      bcktab->maxbucketinfo.maxbucketsize = bucketspec.nonspecialsinbucket +
                                            bucketspec.specialsinbucket;
    }
  }
  /*
  gt_logger_log(logger,"maxbucket (specials)="GT_WU"",
              bcktab->maxbucketinfo.specialsmaxbucketsize);
  gt_logger_log(logger,"maxbucket (nonspecials)="GT_WU"",
              bcktab->maxbucketinfo.nonspecialsmaxbucketsize);
  gt_logger_log(logger,"maxbucket (all)="GT_WU"",
              bcktab->maxbucketinfo.maxbucketsize);
  */
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %rbx
movl 0x4c(%rdi), %ecx
movl $0x1, %eax
movq %rax, 0x90(%rdi)
movq %rax, 0x88(%rdi)
movq %rax, 0x98(%rdi)
cmpq %rdx, %rsi
ja 0x1946b9
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq %rsi, %rax
xorl %edx, %edx
divq %rcx
movq %rdx, %rax
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movq %rbx, %r8
movl %eax, %r9d
callq 0x19449f
movq 0x10(%rsp), %rcx
cmpq 0x88(%r12), %rcx
jbe 0x194685
movq %rcx, 0x88(%r12)
movq 0x18(%rsp), %rdx
cmpq 0x90(%r12), %rdx
jbe 0x19469c
movq %rdx, 0x90(%r12)
addq %rcx, %rdx
cmpq 0x98(%r12), %rdx
jbe 0x1946b1
movq %rdx, 0x98(%r12)
incq %r15
cmpq %r14, %r15
jbe 0x194657
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_singletonmaxprefixindex
unsigned int gt_bcktab_singletonmaxprefixindex(const GtBcktab *bcktab,
                                               GtCodetype code)
{
  if (bcktab->prefixlength > 2U)
  {
    GtCodetype ordercode, divisor;
    unsigned int prefixindex;

    for (prefixindex=bcktab->prefixlength-2; prefixindex>=1U; prefixindex--)
    {
      if (code >= bcktab->filltable[prefixindex])
      {
        ordercode = code - bcktab->filltable[prefixindex];
        divisor = bcktab->filltable[prefixindex] + 1;
        if (ordercode % divisor == 0)
        {
          ordercode /= divisor;
          if (gt_bcktab_distpfxidx_get(bcktab,prefixindex-1,ordercode) > 0)
          {
            return prefixindex;
          }
        }
      } else
      {
        break;
      }
    }
  }
  return bcktab->prefixlength-1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x48(%rdi), %r15d
cmpl $0x3, %r15d
jb 0x19472f
cmpl $0x2, %r15d
je 0x19472f
movq %rsi, %r14
addl $-0x3, %r15d
leal 0x1(%r15), %r12d
movq 0x78(%rbx), %rax
movq (%rax,%r12,8), %rcx
movq %r14, %rax
subq %rcx, %rax
jb 0x19472f
incq %rcx
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
jne 0x194729
movq %rbx, %rdi
movl %r15d, %esi
movq %rax, %rdx
callq 0x194225
testq %rax, %rax
jne 0x194736
addl $-0x1, %r15d
jb 0x1946f5
movl 0x48(%rbx), %r12d
decl %r12d
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_distpfxidxpartialsums
GtUword gt_bcktab_distpfxidxpartialsums(const GtBcktab *bcktab,
                                              GtCodetype code,
                                              unsigned int lowerbound)
{
  GtCodetype ordercode, divisor;
  GtUword sum = 0;
  unsigned int prefixindex;

  for (prefixindex=bcktab->prefixlength-2; prefixindex>lowerbound;
       prefixindex--)
  {
    if (code >= bcktab->filltable[prefixindex])
    {
      ordercode = code - bcktab->filltable[prefixindex];
      divisor = bcktab->filltable[prefixindex] + 1;
      if (ordercode % divisor == 0)
      {
        ordercode /= divisor;
        sum += gt_bcktab_distpfxidx_get(bcktab,prefixindex-1,ordercode);
      }
    } else
    {
      break;
    }
  }
  return sum;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl 0x48(%rdi), %r13d
leal -0x2(%r13), %eax
cmpl %edx, %eax
jbe 0x1947aa
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r12
addl $-0x3, %r13d
xorl %r15d, %r15d
leal 0x1(%r13), %eax
movq 0x78(%r12), %rcx
movq (%rcx,%rax,8), %rcx
movq %r14, %rax
subq %rcx, %rax
jb 0x1947ad
incq %rcx
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
jne 0x19479c
movq %r12, %rdi
movl %r13d, %esi
movq %rax, %rdx
callq 0x194225
addq %rax, %r15
leal -0x1(%r13), %eax
cmpl %ebx, %r13d
movl %eax, %r13d
ja 0x194769
jmp 0x1947ad
xorl %r15d, %r15d
movq %r15, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_pfxidx2lcpvalues_uint8
unsigned int gt_bcktab_pfxidx2lcpvalues_uint8(unsigned int *minprefixindex,
                                              uint8_t *smalllcpvalues,
                                              GtUword specialsinbucket,
                                              const GtBcktab *bcktab,
                                              GtCodetype code)
{
  unsigned int prefixindex, maxprefixindex = 0;
  GtUword idx, value, insertpos;
  GtCodetype ordercode, divisor;

  gt_assert(smalllcpvalues != NULL);
  *minprefixindex = bcktab->prefixlength;
  insertpos = specialsinbucket;
  for (prefixindex=1U; prefixindex<bcktab->prefixlength-1; prefixindex++)
  {
    if (code >= bcktab->filltable[prefixindex])
    {
      ordercode = code - bcktab->filltable[prefixindex];
      divisor = bcktab->filltable[prefixindex] + 1;
      if (ordercode % divisor == 0)
      {
        ordercode /= divisor;
        value = gt_bcktab_distpfxidx_get(bcktab,prefixindex-1,ordercode);
        if (value > 0)
        {
          maxprefixindex = prefixindex;
          if (*minprefixindex > prefixindex)
          {
            *minprefixindex = prefixindex;
          }
          for (idx=0; idx < value; idx++)
          {
            gt_assert(insertpos > 0);
            smalllcpvalues[--insertpos] = (uint8_t) prefixindex;
          }
        }
      }
    }
  }
  if (insertpos > 0)
  {
    maxprefixindex = bcktab->prefixlength-1;
    if (*minprefixindex == bcktab->prefixlength)
    {
      *minprefixindex = bcktab->prefixlength-1;
    }
    while (insertpos > 0)
    {
      smalllcpvalues[--insertpos] = (uint8_t) (bcktab->prefixlength-1);
    }
  }
  return maxprefixindex;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x1948ae
movq %rcx, %rbx
movq %rdx, %r13
movq %rsi, %r14
movl 0x48(%rcx), %eax
movq %rdi, (%rsp)
movl %eax, (%rdi)
movl 0x48(%rcx), %edx
leal -0x1(%rdx), %eax
xorl %r15d, %r15d
cmpl $0x2, %eax
jb 0x194873
movq %r8, %r12
xorl %r15d, %r15d
movl $0x1, %ebp
movq 0x78(%rbx), %rax
movq (%rax,%rbp,8), %rcx
movq %r12, %rax
subq %rcx, %rax
jb 0x19481a
incq %rcx
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
je 0x194830
movq %r13, %rcx
incq %rbp
movl 0x48(%rbx), %edx
leal -0x1(%rdx), %eax
movq %rcx, %r13
cmpq %rax, %rbp
jb 0x1947fd
jmp 0x194876
leal -0x1(%rbp), %esi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x194225
testq %rax, %rax
je 0x19481a
movq (%rsp), %rdx
movl (%rdx), %ecx
cmpq %rcx, %rbp
jae 0x194850
movl %ebp, (%rdx)
cmpq $0x1, %rax
adcq $0x0, %rax
movq %r13, %rcx
subq $0x1, %rcx
jb 0x1948a9
movb %bpl, -0x1(%r14,%r13)
movq %rcx, %r13
decq %rax
jne 0x19485b
movl %ebp, %r15d
jmp 0x19481d
movq %r13, %rcx
testq %rcx, %rcx
je 0x194897
movq (%rsp), %rsi
cmpl %edx, (%rsi)
jne 0x194885
movl %eax, (%rsi)
movb 0x48(%rbx), %dl
decb %dl
movb %dl, -0x1(%r14,%rcx)
decq %rcx
jne 0x194885
movl %eax, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x5d222
callq 0x5d25b
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_pfxidx2lcpvalues_Lcpvaluetype
unsigned int gt_bcktab_pfxidx2lcpvalues_Lcpvaluetype(
                                              unsigned int *minprefixindex,
                                              GtLcpvaluetype *bucketoflcpvalues,
                                              GtUword specialsinbucket,
                                              const GtBcktab *bcktab,
                                              GtCodetype code)
{
  unsigned int prefixindex, maxprefixindex = 0;
  GtUword idx, value, insertpos;
  GtCodetype ordercode, divisor;

  gt_assert(bucketoflcpvalues != NULL);
  *minprefixindex = bcktab->prefixlength;
  insertpos = specialsinbucket;
  for (prefixindex=1U; prefixindex<bcktab->prefixlength-1; prefixindex++)
  {
    if (code >= bcktab->filltable[prefixindex])
    {
      ordercode = code - bcktab->filltable[prefixindex];
      divisor = bcktab->filltable[prefixindex] + 1;
      if (ordercode % divisor == 0)
      {
        ordercode /= divisor;
        value = gt_bcktab_distpfxidx_get(bcktab,prefixindex-1,ordercode);
        if (value > 0)
        {
          maxprefixindex = prefixindex;
          if (*minprefixindex > prefixindex)
          {
            *minprefixindex = prefixindex;
          }
          for (idx=0; idx < value; idx++)
          {
            gt_assert(insertpos > 0);
            bucketoflcpvalues[--insertpos] = (GtLcpvaluetype) prefixindex;
          }
        }
      }
    }
  }
  if (insertpos > 0)
  {
    maxprefixindex = bcktab->prefixlength-1;
    if (*minprefixindex == bcktab->prefixlength)
    {
      *minprefixindex = bcktab->prefixlength-1;
    }
    while (insertpos > 0)
    {
      bucketoflcpvalues[--insertpos]
        = (GtLcpvaluetype) (bcktab->prefixlength-1);
    }
  }
  return maxprefixindex;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x19498f
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movl 0x48(%rcx), %eax
movq %rdi, (%rsp)
movl %eax, (%rdi)
movl 0x48(%rcx), %ecx
leal -0x1(%rcx), %eax
xorl %r12d, %r12d
cmpl $0x2, %eax
jb 0x194957
movq %r8, %r13
xorl %r12d, %r12d
movl $0x1, %ebp
movq 0x78(%rbx), %rax
movq (%rax,%rbp,8), %rcx
movq %r13, %rax
subq %rcx, %rax
jb 0x194949
incq %rcx
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
jne 0x194949
leal -0x1(%rbp), %esi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x194225
testq %rax, %rax
je 0x194949
movq (%rsp), %rdx
movl (%rdx), %ecx
cmpq %rcx, %rbp
jae 0x19492f
movl %ebp, (%rdx)
cmpq $0x1, %rax
adcq $0x0, %rax
subq $0x1, %r14
jb 0x19498a
movl %ebp, (%r15,%r14,4)
decq %rax
jne 0x194937
movl %ebp, %r12d
incq %rbp
movl 0x48(%rbx), %ecx
leal -0x1(%rcx), %eax
cmpq %rax, %rbp
jb 0x1948f2
testq %r14, %r14
je 0x194978
movq (%rsp), %rdx
cmpl %ecx, (%rdx)
jne 0x194966
movl %eax, (%rdx)
movl 0x48(%rbx), %ecx
decl %ecx
movl %ecx, -0x4(%r15,%r14,4)
decq %r14
jne 0x194966
movl %eax, %r12d
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x5d294
callq 0x5d2cd
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_leftborderpartialsums
GtUword gt_bcktab_leftborderpartialsums(
                             GtUword *saved_bucketswithoutwholeleaf,
                             GtUword *numofsuffixestosort,
                             GtBcktab *bcktab)
{
  GtUword code, largestbucketsize, sumbuckets, saved = 0, currentsize;

  gt_assert(bcktab->numofallcodes > 0);
  largestbucketsize = sumbuckets = gt_bcktab_get_leftborder(bcktab,0);
  for (code = 1UL; code < bcktab->numofallcodes; code++)
  {
    currentsize = gt_bcktab_get_leftborder(bcktab,code);
    sumbuckets += currentsize;
    if (largestbucketsize < currentsize)
    {
      largestbucketsize = currentsize;
    }
    gt_bcktab_leftborder_assign(&bcktab->leftborder,code,sumbuckets);
  }
  gt_bcktab_leftborder_assign(&bcktab->leftborder,bcktab->numofallcodes,
                              sumbuckets);
  if (saved_bucketswithoutwholeleaf != NULL)
  {
    *saved_bucketswithoutwholeleaf = saved;
  }
  if (numofsuffixestosort != NULL)
  {
    *numofsuffixestosort = sumbuckets;
  }
  return largestbucketsize;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x0, 0x58(%rdx)
je 0x194a52
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
xorl %esi, %esi
callq 0x193482
movq %rax, %r15
movq 0x58(%r12), %rsi
cmpq $0x2, %rsi
jb 0x194a1e
movl $0x1, %ebp
movq %r15, %r13
movq %r12, %rdi
movq %rbp, %rsi
callq 0x193482
addq %rax, %r13
cmpq %rax, %r15
cmovbeq %rax, %r15
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x193448
incq %rbp
movq 0x58(%r12), %rsi
cmpq %rsi, %rbp
jb 0x1949ec
jmp 0x194a21
movq %r15, %r13
movq %r12, %rdi
movq %r13, %rdx
callq 0x193448
testq %r14, %r14
je 0x194a38
movq $0x0, (%r14)
testq %rbx, %rbx
je 0x194a40
movq %r13, (%rbx)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x5d306
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/bcktab.c
// Function: gt_bcktab_findfirstlarger
GtCodetype gt_bcktab_findfirstlarger(const GtBcktab *bcktab,
                                     GtCodetype mincode,
                                     GtCodetype maxcode,
                                     GtUword suftaboffset)
{
  GtCodetype left, right, found, offset;
  GT_UNUSED bool found_defined = false;

  if (mincode <= maxcode)
  {
    if (mincode == maxcode)
    {
      return mincode;
    }
    gt_assert(mincode < maxcode);
    left = mincode;
    right = maxcode;
    if (mincode > 0)
    {
      offset = gt_bcktab_get_leftborder(bcktab,mincode - 1);
    } else
    {
      offset = 0;
    }
  } else
  {
    left = 0;
    right = bcktab->numofallcodes - 1;
    offset = 0;
  }
  found = right + 1; /* undefined */
  while (left <= right)
  {
    GtCodetype midval, mid = GT_DIV2(left+right);

    gt_assert(mincode > maxcode || left <= mid);
    midval = gt_bcktab_get_leftborder(bcktab,mid) - offset;
    if (suftaboffset <= midval)
    {
      found = mid;
      found_defined = true;
      if (suftaboffset < midval)
      {
        if (mid == 0)
        {
          break;
        }
        right = mid - 1;
      } else
      {
        break;
      }
    } else
    {
      left = mid + 1;
    }
  }
  gt_assert(found_defined);
  return found;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, 0x20(%rsp)
movq %rsi, %r12
movq %rdx, 0x18(%rsp)
cmpq %rdx, %rsi
movq %rdi, 0x8(%rsp)
jbe 0x194ab2
movq 0x58(%rdi), %r15
decq %r15
movq $0x0, 0x10(%rsp)
xorl %ebx, %ebx
jmp 0x194ae8
je 0x194b7c
jae 0x194bab
testq %r12, %r12
je 0x194b8e
leaq -0x1(%r12), %rsi
movq 0x8(%rsp), %rdi
callq 0x193482
movq 0x8(%rsp), %rdi
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %r15
movq %r12, %rbx
leaq 0x1(%r15), %r14
movl $0x0, 0x4(%rsp)
cmpq %r15, %rbx
ja 0x194b6f
leaq (%rbx,%r15), %r13
movq %r13, %rbp
shrq %rbp
cmpq 0x18(%rsp), %r12
ja 0x194b13
cmpq %rbp, %rbx
ja 0x194ba1
movq %rbp, %rsi
callq 0x193482
subq 0x10(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x194b39
movq %rbp, %rbx
incq %rbx
movb $0x1, %al
movq %r14, %rbp
movq 0x8(%rsp), %rdi
jmp 0x194b66
movq 0x8(%rsp), %rdi
jbe 0x194b50
cmpq $0x2, %r13
jae 0x194b5a
movb $0x1, %al
movl %eax, 0x4(%rsp)
xorl %ebp, %ebp
jmp 0x194b56
movb $0x1, %al
movl %eax, 0x4(%rsp)
xorl %eax, %eax
jmp 0x194b66
leaq -0x1(%rbp), %r15
movb $0x1, %al
movl %eax, 0x4(%rsp)
movb $0x1, %al
movq %rbp, %r14
testb %al, %al
jne 0x194af4
jmp 0x194b72
movq %r14, %rbp
movq %rbp, %r12
testb $0x1, 0x4(%rsp)
je 0x194ba6
movq %r12, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %r15
jmp 0x194aae
callq 0x5d378
callq 0x5d3b1
callq 0x5d33f
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/chain2dim.c
// Function: gt_chain_matchtable_new
GtChain2Dimmatchtable *gt_chain_matchtable_new(GtUword numberofmatches)
{
  GtChain2Dimmatchtable *matchtable = gt_malloc(sizeof (*matchtable));
  matchtable->matches = gt_malloc(sizeof (*matchtable->matches) *
                                  numberofmatches);
  matchtable->nextfree = 0;
  matchtable->allocated = numberofmatches;
  matchtable->largestdim0 = matchtable->largestdim1 = 0;
  matchtable->previouscount = NULL;
  matchtable->previousbound = NULL;
  matchtable->previoustab = NULL;
  matchtable->allprevious = 0;
  return matchtable;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x213031(%rip), %r14    # 0x3a7f48
movl $0x48, %edi
movq %r14, %rsi
movl $0x88, %edx
callq 0x1092b2
movq %rax, %r15
movq %rbx, %rax
shlq $0x4, %rax
leaq (%rax,%rax,4), %rdi
movq %r14, %rsi
movl $0x8a, %edx
callq 0x1092b2
movq %rax, (%r15)
movq $0x0, 0x18(%r15)
movq %rbx, 0x20(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
movups %xmm0, 0x28(%r15)
movups %xmm0, 0x38(%r15)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/chain2dim.c
// Function: gt_chain_matchtable_delete
void gt_chain_matchtable_delete(GtChain2Dimmatchtable *matchtable)
{
  if (matchtable != NULL)
  {
    gt_free(matchtable->matches);
    gt_free(matchtable->previouscount);
    gt_free(matchtable->previousbound);
    gt_free(matchtable->previoustab);
    gt_free(matchtable);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x194fdb
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0x212fc4(%rip), %r14    # 0x3a7f48
movq %r14, %rsi
movl $0x99, %edx
callq 0x109670
movq 0x30(%rbx), %rdi
movq %r14, %rsi
movl $0x9a, %edx
callq 0x109670
movq 0x38(%rbx), %rdi
movq %r14, %rsi
movl $0x9b, %edx
callq 0x109670
movq 0x40(%rbx), %rdi
movq %r14, %rsi
movl $0x9c, %edx
callq 0x109670
movq %rbx, %rdi
movq %r14, %rsi
movl $0x9d, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x109670
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/chain2dim.c
// Function: gt_chain_matchtable_add
void gt_chain_matchtable_add(GtChain2Dimmatchtable *matchtable,
                             const GtChain2Dimmatchvalues *inmatch)
{
  Matchchaininfo *matchchaininfo;

  gt_assert(matchtable->nextfree < matchtable->allocated);
  gt_assert(inmatch->startpos[0] <= inmatch->endpos[0]);
  gt_assert(inmatch->startpos[1] <= inmatch->endpos[1]);
  matchchaininfo = matchtable->matches + matchtable->nextfree++;
  matchchaininfo->startpos[0] = inmatch->startpos[0];
  matchchaininfo->startpos[1] = inmatch->startpos[1];
  matchchaininfo->endpos[0] = inmatch->endpos[0];
  matchchaininfo->endpos[1] = inmatch->endpos[1];
  matchchaininfo->weight = inmatch->weight;
  if (matchtable->largestdim0 < (GtChain2Dimscoretype) inmatch->endpos[0])
  {
    matchtable->largestdim0 = (GtChain2Dimscoretype) inmatch->endpos[0];
  }
  if (matchtable->largestdim1 < (GtChain2Dimscoretype) inmatch->endpos[1])
  {
    matchtable->largestdim1 = (GtChain2Dimscoretype) inmatch->endpos[1];
  }
}

// Assembly:
pushq %rax
movq 0x18(%rdi), %rax
cmpq 0x20(%rdi), %rax
jae 0x195071
movq (%rsi), %rcx
cmpq 0x10(%rsi), %rcx
ja 0x195076
movq 0x8(%rsi), %rcx
cmpq 0x18(%rsi), %rcx
ja 0x19507b
movq (%rdi), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0x18(%rdi)
leaq (%rax,%rax,4), %rax
shlq $0x4, %rax
movq (%rsi), %rdx
movq %rdx, (%rcx,%rax)
movq 0x8(%rsi), %rdx
movq %rdx, 0x8(%rcx,%rax)
movq 0x10(%rsi), %rdx
movq %rdx, 0x10(%rcx,%rax)
movq 0x18(%rsi), %rdx
movq %rdx, 0x18(%rcx,%rax)
movq 0x20(%rsi), %rdx
movq %rdx, 0x30(%rcx,%rax)
movq 0x10(%rsi), %rax
cmpq %rax, 0x8(%rdi)
jge 0x195061
movq %rax, 0x8(%rdi)
movq 0x18(%rsi), %rax
cmpq %rax, 0x10(%rdi)
jge 0x19506f
movq %rax, 0x10(%rdi)
popq %rax
retq
callq 0x5d45a
callq 0x5d4cc
callq 0x5d493