LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_sequence_mapoffset
size_t gt_encseq_sequence_mapoffset(const GtEncseq *encseq)
{
  gt_assert(encseq != NULL && encseq->sat != GT_ACCESS_TYPE_UNDEFINED);
  if (gt_encseq_has_twobitencoding(encseq)) {
    return (size_t) ((unsigned char *) encseq->twobitencoding -
                     (unsigned char *) encseq->mappedptr);
  }
  else {
    if (encseq->sat == GT_ACCESS_TYPE_DIRECTACCESS) {
      return (size_t) ((unsigned char *) encseq->plainseq -
                       (unsigned char *) encseq->mappedptr);
    }
    else {
      return (size_t) ((unsigned char *) encseq->bitpackarray -
                       (unsigned char *) encseq->mappedptr);
    }
  }
}

// Assembly:
testq %rdi, %rdi
je 0xc5a4a
movl (%rdi), %eax
cmpl $0x7, %eax
je 0xc5a4a
cmpl $0x1, %eax
ja 0xc5a33
cmpb $0x0, 0x3a9(%rdi)
jne 0xc5a33
movq 0x10(%rdi), %rcx
testl %eax, %eax
je 0xc5a3f
movq 0x2a0(%rdi), %rax
jmp 0xc5a46
movq 0x280(%rdi), %rax
subq 0x10(%rdi), %rax
retq
movq 0x290(%rdi), %rax
subq %rcx, %rax
retq
pushq %rax
callq 0x2c0ea
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_compare_viatwobitencoding
int gt_encseq_compare_viatwobitencoding(GtCommonunits *commonunits,
                                        const GtEncseq *encseq1,
                                        const GtEncseq *encseq2,
                                        GtReadmode readmode,
                                        GtEncseqReader *esr1,
                                        GtEncseqReader *esr2,
                                        GtUword pos1,
                                        GtUword pos2,
                                        GtUword depth,
                                        GtUword maxdepth)
{
  GtViatwobitkeyvalues vtk1, vtk2;

  gt_assert(pos1 != pos2);
  gt_Viatwobitkeyvalues_reinit_without_stoppos(&vtk1, encseq1, readmode, esr1,
                                               pos1, depth, maxdepth);
  gt_Viatwobitkeyvalues_reinit_without_stoppos(&vtk2, encseq2, readmode, esr2,
                                               pos2, depth, maxdepth);
  return gt_encseq_twobitencoding_strcmp(commonunits,
                                         encseq1,
                                         encseq2,
                                         readmode,
                                         depth,
                                         maxdepth,
                                         &vtk1,
                                         &vtk2);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, 0x10(%rsp)
movq 0x90(%rsp), %rax
cmpq 0x98(%rsp), %rax
je 0xc5b25
movq %r9, %rbp
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r15
movq 0xa8(%rsp), %rcx
movq 0xa0(%rsp), %r12
movq %rcx, (%rsp)
movq %rcx, %r13
leaq 0x18(%rsp), %rdi
movl %ebx, %edx
movq %r8, %rcx
movq %rax, %r8
movq %r12, %r9
callq 0xc5727
movq %r13, (%rsp)
leaq 0x38(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
movl %ebx, %edx
movq %rbp, %rcx
movq 0x98(%rsp), %r8
movq %r12, %r9
callq 0xc5727
movq %r13, 0x8(%rsp)
leaq 0x18(%rsp), %rax
movq %rax, (%rsp)
movq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebx, %ecx
movq %r12, %r8
movq 0xa8(%rsp), %r9
callq 0xc5804
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2c15c
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_showatstartpos
void gt_encseq_showatstartpos(FILE *fp,
                              bool fwd,
                              bool complement,
                              const GtEncseq *encseq,
                              GtUword startpos)
{
  GtUword pos, endpos;
  GtUchar buffer[GT_UNITSIN2BITENC];
  gt_assert(fp != NULL);
  /* scan-build was complaining about uninitialized values */
  memset(buffer, GT_UNDEF_UCHAR, GT_UNITSIN2BITENC);

  fprintf(fp, "          0123456789012345");
  if (GT_UNITSIN2BITENC == 32) {
    fprintf(fp, "6789012345678901");
  }
  fprintf(fp, "\nsequence=\"");
  if (fwd) {
    endpos = GT_MIN(startpos + GT_UNITSIN2BITENC - 1, encseq->totallength-1);
    gt_encseq_extract_encoded(encseq, buffer, startpos, endpos);
    for (pos=0; pos < endpos - startpos + 1; pos++) {
      showbufchar(fp, complement, buffer[pos]);
    }
  }
  else {
    if (startpos > (GtUword) (GT_UNITSIN2BITENC-1)) {
      endpos = startpos - (GT_UNITSIN2BITENC-1);
    }
    else {
      endpos = 0;
    }
    gt_encseq_extract_encoded(encseq, buffer, endpos, startpos);
    for (pos=0; pos < startpos - endpos + 1; pos++) {
      showbufchar(fp, complement, buffer[pos]);
    }
  }
  fprintf(fp, "\"\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
testq %rdi, %rdi
je 0xc5c66
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ebp
movl %esi, %r12d
movq %rdi, %rbx
pcmpeqd %xmm0, %xmm0
movdqa %xmm0, 0x10(%rsp)
movdqa %xmm0, (%rsp)
leaq 0x3e132(%rip), %rdi     # 0x103c95
movl $0x1a, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0xbcb0
leaq 0x3e134(%rip), %rdi     # 0x103cb0
movl $0x10, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0xbcb0
leaq 0x3e12c(%rip), %rdi     # 0x103cc1
movl $0xb, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0xbcb0
testb %r12b, %r12b
je 0xc5bfb
leaq 0x1f(%r14), %rax
movq 0x30(%r15), %r12
decq %r12
cmpq %r12, %rax
cmovbq %rax, %r12
movq %rsp, %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %r12, %rcx
callq 0xc14ef
subq %r14, %r12
cmpq $-0x1, %r12
je 0xc5c40
incq %r12
xorl %r14d, %r14d
movzbl %bpl, %ebp
movzbl (%rsp,%r14), %edx
movq %rbx, %rdi
movl %ebp, %esi
callq 0xc5c6b
incq %r14
cmpq %r14, %r12
jne 0xc5be2
jmp 0xc5c40
xorl %r12d, %r12d
movq %r14, %rax
subq $0x1f, %rax
cmovaeq %rax, %r12
movq %rsp, %rsi
movq %r15, %rdi
movq %r12, %rdx
movq %r14, %rcx
callq 0xc14ef
incq %r14
subq %r12, %r14
je 0xc5c40
xorl %r15d, %r15d
movzbl %bpl, %ebp
movzbl (%rsp,%r15), %edx
movq %rbx, %rdi
movl %ebp, %esi
callq 0xc5c6b
incq %r15
cmpq %r15, %r14
jne 0xc5c29
leaq 0x3bcc2(%rip), %rdi     # 0x101909
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0xbcb0
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x2c195
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: showbufchar
static void showbufchar(FILE *fp, bool complement, GtUchar cc)
{
  if (cc == (GtUchar) GT_WILDCARD) {
    fprintf(fp, "$");
  }
  else {
    if (cc == (GtUchar) GT_SEPARATOR) {
      fprintf(fp, "#");
    }
    else {
      if (complement) {
        cc = GT_COMPLEMENTBASE(cc);
      }
      gt_assert(cc < (GtUchar) 4);
      fprintf(fp, "%c", "acgt"[cc]);
    }
  }
}

// Assembly:
movq %rdi, %rax
cmpl $0xfe, %edx
je 0xc5c85
cmpl $0xff, %edx
jne 0xc5c8c
movl $0x23, %edi
jmp 0xc5caf
movl $0x24, %edi
jmp 0xc5caf
movb $0x3, %cl
subb %dl, %cl
movzbl %cl, %edi
movzbl %dl, %ecx
testb %sil, %sil
cmovnel %edi, %ecx
cmpb $0x4, %cl
jae 0xc5cb7
movzbl %cl, %ecx
leaq 0x3b34e(%rip), %rdx     # 0x100ff9
movsbl (%rcx,%rdx), %edi
movq %rax, %rsi
jmp 0xb7d0
pushq %rax
callq 0x2c1ce
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_showatstartposwithdepth
void gt_encseq_showatstartposwithdepth(FILE *fp,
                                       const GtEncseq *encseq,
                                       GtReadmode readmode,
                                       GtUword start,
                                       GtUword depth)
{
  GtUword idx, end, totallength;
  const GtUword maxshow = 30UL;
  GtUchar cc;
  const GtUchar *characters;

  totallength = encseq->logicaltotallength;
  characters = gt_alphabet_characters(gt_encseq_alphabet(encseq));
  if (depth == 0) {
    end = GT_MIN(start + maxshow, totallength);
  }
  else {
    end = GT_MIN(start + maxshow, GT_MIN(totallength, start+depth));
  }
  for (idx = start; idx <= end; idx++) {
    if (idx == totallength) {
      (void) putc('~', fp);
      break;
    }
    cc = gt_encseq_get_encoded_char(encseq, idx, readmode);
    if (GT_ISSPECIAL(cc)) {
      (void) putc('~', fp);
      break;
    }
    (void) putc((int) characters[(int) cc], fp);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbp
movq %rcx, %rbx
movl %edx, 0x4(%rsp)
movq %rsi, %r15
movq %rdi, %r14
movq 0x38(%rsi), %r13
movq 0x220(%rsi), %rdi
callq 0xba7c2
movq %rax, %r12
movq %rbp, %rcx
addq %rbx, %rbp
cmpq %rbp, %r13
cmovbq %r13, %rbp
leaq 0x1e(%rbx), %rax
testq %rcx, %rcx
cmoveq %r13, %rbp
cmpq %rbp, %rax
cmovbq %rax, %rbp
cmpq %rbx, %rbp
jb 0xc5d3f
cmpq %rbx, %r13
je 0xc5d4e
movq %r15, %rdi
movq %rbx, %rsi
movl 0x4(%rsp), %edx
callq 0xbff84
cmpb $-0x3, %al
ja 0xc5d4e
movzbl %al, %eax
movzbl (%r12,%rax), %edi
movq %r14, %rsi
callq 0xbc90
incq %rbx
cmpq %rbp, %rbx
jbe 0xc5d0f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x7e, %edi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xbc90
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_extractprefixcode
GtCodetype gt_encseq_extractprefixcode(unsigned int *unitsnotspecial,
                                       const GtEncseq *encseq,
                                       const GtCodetype *filltable,
                                       GtReadmode readmode,
                                       GtEncseqReader *esr,
                                       const GtCodetype **multimappower,
                                       GtUword frompos,
                                       unsigned int prefixlength)
{
  GtUword pos, twobitencodingstoppos;
  GtCodetype code = 0;
  GtUchar cc;

  gt_assert(prefixlength > 0);
  gt_encseq_reader_reinit_with_readmode(esr, encseq, readmode, frompos);
  if (frompos + prefixlength - 1 < encseq->logicaltotallength)
    twobitencodingstoppos = frompos + prefixlength;
  else
    twobitencodingstoppos = encseq->logicaltotallength;

  *unitsnotspecial = 0;
  for (pos = frompos; pos < twobitencodingstoppos; pos++) {
    cc = gt_encseq_reader_next_encoded_char(esr);
    if (GT_ISNOTSPECIAL(cc)) {
      code += multimappower[*unitsnotspecial][cc];
      (*unitsnotspecial)++;
    }
    else
      break;
  }
  if (*unitsnotspecial < prefixlength)
    code += (GtCodetype) filltable[*unitsnotspecial];
  return code;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, (%rsp)
movl 0x48(%rsp), %ebx
testl %ebx, %ebx
je 0xc5e18
movq %r9, %r14
movq %r8, %r15
movq %rsi, %r13
movq %rdi, %r12
movq 0x40(%rsp), %rbp
movq %r8, %rdi
movl %ecx, %edx
movq %rbp, %rcx
callq 0xc12b5
movl %ebx, %ebx
leaq (%rbx,%rbp), %rax
decq %rax
addq %rbp, %rbx
movq 0x38(%r13), %rcx
cmpq %rcx, %rax
cmovaeq %rcx, %rbx
movl $0x0, (%r12)
subq %rbp, %rbx
jbe 0xc5df1
xorl %r13d, %r13d
movq %r15, %rdi
callq 0xc054e
movl (%r12), %ecx
cmpb $-0x3, %al
ja 0xc5df6
movq (%r14,%rcx,8), %rdx
movzbl %al, %eax
addq (%rdx,%rax,8), %r13
incl %ecx
movl %ecx, (%r12)
decq %rbx
jne 0xc5dc9
jmp 0xc5df6
xorl %ecx, %ecx
xorl %r13d, %r13d
cmpl 0x48(%rsp), %ecx
jae 0xc5e06
movl %ecx, %eax
movq (%rsp), %rcx
addq (%rcx,%rax,8), %r13
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2c207
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_relpos_seqnum_check
void gt_encseq_relpos_seqnum_check(const char *filename, int line,
                                   const GtEncseq *encseq, GtUword relpos,
                                   GtUword seqnum, GtUword position)
{
  if (encseq->sat == GT_ACCESS_TYPE_EQUALLENGTH) {
    GtUword seqnum2, relpos2;

    seqnum2 = gt_encseq_seqnum(encseq, position);
    relpos2 = position - gt_encseq_seqstartpos(encseq, seqnum2);
    if (seqnum != seqnum2) {
      fprintf(stderr,
              "file %s, line %d: pos="GT_WU", seqnum = "GT_WU" != "GT_WU" "
              " = seqnum.correct\n", filename, line, position, seqnum, seqnum2);
      exit(EXIT_FAILURE);
    }
    if (relpos != relpos2) {
      fprintf(stderr,
              "file %s, line %d: pos="GT_WU", relpos="GT_WU" != "GT_WU" "
              " = relpos.correct\n", filename, line, position,
              relpos, relpos2);
      exit(EXIT_FAILURE);
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
cmpl $0x2, (%rdx)
jne 0xc6210
movq %r9, %rbx
movq %r8, %r12
movq %rcx, %r15
movq %rdx, %rbp
movq %rdi, %r14
movl %esi, 0x14(%rsp)
movq %rdx, %rdi
movq %r9, %rsi
callq 0xc3a1d
movq %rax, %r13
movq %rbp, %rdi
movq %rax, %rsi
callq 0xc3ab6
cmpq %r12, %r13
jne 0xc621f
movq %rbx, %rsi
subq %rax, %rsi
cmpq %r15, %rsi
movl 0x14(%rsp), %ecx
jne 0xc6243
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8ad9a(%rip), %rax     # 0x150fc0
movq (%rax), %rdi
movq %r13, (%rsp)
leaq 0x3dbf0(%rip), %rsi     # 0x103e24
movq %r14, %rdx
movl 0x14(%rsp), %ecx
movq %rbx, %r8
movq %r12, %r9
jmp 0xc6261
movq 0x8ad76(%rip), %rax     # 0x150fc0
movq (%rax), %rdi
movq %rsi, (%rsp)
leaq 0x3dc0e(%rip), %rsi     # 0x103e66
movq %r14, %rdx
movq %rbx, %r8
movq %r15, %r9
xorl %eax, %eax
callq 0xb8d0
movl $0x1, %edi
callq 0xb7b0
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_pairbitsum
uint64_t gt_encseq_pairbitsum(const GtEncseq *encseq)
{
  unsigned int idx, numofchars = gt_alphabet_num_of_chars(encseq->alpha);
  uint64_t pairbitsum = 0;

  for (idx = 0; idx < numofchars; idx++) {
    printf("idx=%u, add="GT_WU"\n", idx,
           encseq->headerptr.characterdistribution[idx]);
    pairbitsum += (uint64_t) encseq->headerptr.characterdistribution[idx] *
                  (uint64_t) idx;
  }
  if (encseq->sat == GT_ACCESS_TYPE_BITACCESS) {
    printf("numofseparators="GT_WU"\n", encseq->numofdbsequences - 1);
    pairbitsum += (uint64_t) (encseq->numofdbsequences - 1) *
                  (uint64_t) GT_TWOBITS_FOR_SEPARATOR;
  }
  else {
    printf("specials="GT_WU", leastprob=%u\n",
                gt_encseq_specialcharacters(encseq),
                encseq->leastprobablecharacter);
    pairbitsum += (uint64_t) gt_encseq_specialcharacters(encseq) *
                  (uint64_t) encseq->leastprobablecharacter;
  }
  return pairbitsum;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x220(%rdi), %rdi
callq 0xba7a2
testl %eax, %eax
je 0xc62d2
movl %eax, %r13d
movq 0xf8(%rbx), %rax
leaq 0x3dc07(%rip), %r14     # 0x103ea6
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rax,%r15,8), %rdx
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0xb070
movq 0xf8(%rbx), %rax
movq (%rax,%r15,8), %rcx
imulq %r15, %rcx
addq %rcx, %r12
incq %r15
cmpq %r15, %r13
jne 0xc62a5
jmp 0xc62d5
xorl %r12d, %r12d
cmpl $0x3, (%rbx)
jne 0xc62f8
movq 0x40(%rbx), %rsi
decq %rsi
leaq 0x3dbcf(%rip), %rdi     # 0x103eb7
xorl %eax, %eax
callq 0xb070
movq 0x40(%rbx), %rax
decq %rax
jmp 0xc6347
movq 0x178(%rbx), %rax
cmpb $0x0, 0x3a8(%rbx)
leaq 0x1(%rax,%rax), %rsi
cmoveq %rax, %rsi
movl 0x170(%rbx), %edx
leaq 0x3dbb0(%rip), %rdi     # 0x103ecc
xorl %eax, %eax
callq 0xb070
movq 0x178(%rbx), %rax
leaq 0x1(,%rax,2), %rcx
cmpb $0x0, 0x3a8(%rbx)
cmoveq %rax, %rcx
movl 0x170(%rbx), %eax
imulq %rcx, %rax
addq %r12, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_check_minmax
int gt_encseq_check_minmax(const GtEncseq *encseq, GtError *err)
{
  int had_err = 0;
  GtUword i,
                min,
                max;
  gt_assert(encseq);

  min = gt_encseq_min_seq_length(encseq);
  max = gt_encseq_max_seq_length(encseq);
  for (i = 0UL; !had_err && i < gt_encseq_num_of_sequences(encseq); i++) {
    if (min > gt_encseq_seqlength(encseq, i)) {
      gt_error_set(err, "sequence "GT_WU" has length "GT_WU", but "
                        "indexed minimum is " GT_WU, i,
                        gt_encseq_seqlength(encseq, i), min);
      had_err = -1;
    }
    if (!had_err && max < gt_encseq_seqlength(encseq, i)) {
      gt_error_set(err, "sequence "GT_WU" has length "GT_WU", but "
                        "indexed maximum is " GT_WU, i,
                        gt_encseq_seqlength(encseq, i), max);
      had_err = -1;
    }
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xc6404
movq %rdi, %r13
cmpq $0x0, 0x48(%rdi)
je 0xc63b2
movq %rsi, %rbx
movq 0x3b0(%r13), %r12
movq 0x3b8(%r13), %r15
xorl %r14d, %r14d
movq %r13, %rdi
movq %r14, %rsi
callq 0xc3d9a
movq %rax, %rbp
movq %r13, %rdi
movq %r14, %rsi
callq 0xc3d9a
cmpq %rbp, %r12
ja 0xc63b6
cmpq %rax, %r15
jb 0xc63cb
incq %r14
cmpq 0x48(%r13), %r14
jb 0xc6386
xorl %eax, %eax
jmp 0xc63f5
leaq 0x3db42(%rip), %rsi     # 0x103eff
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
movq %r12, %r8
jmp 0xc63e9
movq %r13, %rdi
movq %r14, %rsi
callq 0xc3d9a
leaq 0x3db5a(%rip), %rsi     # 0x103f37
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x34f1f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2c324
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_loader_new
GtEncseqLoader* gt_encseq_loader_new()
{
  GtEncseqLoader *el = gt_calloc((size_t) 1, sizeof (GtEncseqLoader));
  gt_encseq_loader_drop_multiseq_support(el);
  gt_encseq_loader_drop_lossless_support(el);
  gt_encseq_loader_drop_md5_support(el);
  gt_encseq_loader_drop_description_support(el);
  gt_encseq_loader_enable_autosupport(el);
  gt_encseq_loader_do_not_mirror(el);
  return el;
}

// Assembly:
pushq %rbx
leaq 0x3b47d(%rip), %rdx     # 0x10291a
movl $0x1, %edi
movl $0x10, %esi
movl $0x2181, %ecx           # imm = 0x2181
callq 0x359a6
movq %rax, %rbx
movq %rax, %rdi
callq 0xca7a1
movq %rbx, %rdi
callq 0xca7ff
movq %rbx, %rdi
callq 0xca82e
movq %rbx, %rdi
callq 0xca774
movq %rbx, %rdi
callq 0xca7d0
movq %rbx, %rdi
callq 0xca6b9
movq %rbx, %rdi
callq 0xca6c9
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_check_specialranges
void gt_encseq_check_specialranges(const GtEncseq *encseq)
{
  GtArray *rangesforward, *rangesbackward;
  GtSpecialrangeiterator *sri;
  GtRange range;

  if (!gt_encseq_has_specialranges(encseq))
    return;
  rangesforward = gt_array_new(sizeof (GtRange));
  rangesbackward = gt_array_new(sizeof (GtRange));

  sri = gt_specialrangeiterator_new(encseq, true);
  while (gt_specialrangeiterator_next(sri, &range)) {
    gt_array_add(rangesforward, range);
  }
  gt_specialrangeiterator_delete(sri);
  sri = gt_specialrangeiterator_new(encseq, false);
  while (gt_specialrangeiterator_next(sri, &range)) {
    gt_array_add(rangesbackward, range);
  }
  gt_specialrangeiterator_delete(sri);
  gt_array_reverse(rangesbackward);
  if (!gt_array_equal(rangesforward, rangesbackward, compareGtRange))
    exit(GT_EXIT_PROGRAMMING_ERROR);
  gt_array_delete(rangesforward);
  gt_array_delete(rangesbackward);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r15
cmpb $0x0, 0x3a8(%rdi)
jne 0xc7fe6
testb $0x1, 0x28(%r15)
je 0xc80bd
movl $0x10, %edi
callq 0x6ef7c
movq %rax, %rbx
movl $0x10, %edi
callq 0x6ef7c
movq %rax, %r14
movq %r15, %rdi
movl $0x1, %esi
callq 0xc31f4
movq %rax, %r12
movq %rsp, %rsi
movq %rax, %rdi
callq 0xc3262
testb %al, %al
je 0xc8041
movq %rsp, %r13
movl $0x10, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6f240
movq %r12, %rdi
movq %r13, %rsi
callq 0xc3262
testb %al, %al
jne 0xc8022
movq %r12, %rdi
callq 0xc381d
movq %r15, %rdi
xorl %esi, %esi
callq 0xc31f4
movq %rax, %r15
movq %rsp, %rsi
movq %rax, %rdi
callq 0xc3262
testb %al, %al
je 0xc8087
movq %rsp, %r12
movl $0x10, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x6f240
movq %r15, %rdi
movq %r12, %rsi
callq 0xc3262
testb %al, %al
jne 0xc8068
movq %r15, %rdi
callq 0xc381d
movq %r14, %rdi
callq 0x6f179
leaq 0x37(%rip), %rdx        # 0xc80d5
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6f460
testb %al, %al
je 0xc80cb
movq %rbx, %rdi
callq 0x6f768
movq %r14, %rdi
callq 0x6f768
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movl $0x2, %edi
callq 0xb7b0
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: compareGtRange
static int compareGtRange(const void *a, const void *b)
{
  const GtRange *vala, *valb;

  vala = (GtRange *) a;
  valb = (GtRange *) b;
  if (vala->start < valb->start) {
    makeerrormsg(vala, valb, "<");
    return -1;
  }
  if (vala->start > valb->start) {
    makeerrormsg(vala, valb, ">");
    return 1;
  }
  if (vala->end < valb->end) {
    makeerrormsg(vala, valb, "<");
    return -1;
  }
  if (vala->end > valb->end) {
    makeerrormsg(vala, valb, ">");
    return 1;
  }
  return 0;
}

// Assembly:
pushq %rax
movq (%rdi), %rdx
movq (%rsi), %r9
cmpq %r9, %rdx
jb 0xc8123
movq 0x8(%rdi), %rcx
movq 0x8(%rsi), %rsi
ja 0xc80f9
cmpq %rsi, %rcx
jb 0xc813b
xorl %eax, %eax
cmpq %rsi, %rcx
ja 0xc80f9
popq %rcx
retq
movq 0x88ec0(%rip), %rax     # 0x150fc0
movq (%rax), %rdi
movq %rsi, (%rsp)
leaq 0x3ede1(%rip), %rsi     # 0x106eef
leaq 0x2fc5d(%rip), %r8      # 0xf7d72
xorl %eax, %eax
callq 0xb8d0
movl $0x1, %eax
jmp 0xc80f7
movq 0x8(%rdi), %rcx
movq 0x8(%rsi), %rax
movq 0x88e8e(%rip), %rsi     # 0x150fc0
movq (%rsi), %rdi
movq %rax, (%rsp)
jmp 0xc8149
movq 0x88e7e(%rip), %rax     # 0x150fc0
movq (%rax), %rdi
movq %rsi, (%rsp)
leaq 0x3ed9f(%rip), %rsi     # 0x106eef
leaq 0x3ed96(%rip), %r8      # 0x106eed
xorl %eax, %eax
callq 0xb8d0
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0xc80f7
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_encoder_new
GtEncseqEncoder* gt_encseq_encoder_new()
{
  GtEncseqEncoder *ee = gt_calloc((size_t) 1, sizeof (GtEncseqEncoder));
  gt_encseq_encoder_enable_multiseq_support(ee);
  gt_encseq_encoder_enable_description_support(ee);
  gt_encseq_encoder_enable_md5_support(ee);
  gt_encseq_encoder_disable_lossless_support(ee);
  ee->esq_no_header = false;
  ee->isdna = ee->isprotein = ee->isplain = false;
  ee->sat = gt_str_new();
  ee->smapfile = gt_str_new();
  return ee;
}

// Assembly:
pushq %rbx
leaq 0x3a7ad(%rip), %rdx     # 0x10291a
movl $0x1, %edi
movl $0x48, %esi
movl $0x1ffa, %ecx           # imm = 0x1FFA
callq 0x359a6
movq %rax, %rbx
movq %rax, %rdi
callq 0xc81c2
movq %rbx, %rdi
callq 0xc81d2
movq %rbx, %rdi
callq 0xc81e5
movq %rbx, %rdi
callq 0xc81f5
movl $0x0, 0x5(%rbx)
callq 0x3b728
movq %rax, 0x28(%rbx)
callq 0x3b728
movq %rax, 0x30(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_encoder_set_input_dna
void gt_encseq_encoder_set_input_dna(GtEncseqEncoder *ee)
{
  gt_assert(ee);
  ee->isdna = true;
  ee->isprotein = false;
  ee->isplain = false;
}

// Assembly:
testq %rdi, %rdi
je 0xc843b
movw $0x1, 0x5(%rdi)
movb $0x0, 0x7(%rdi)
retq
pushq %rax
callq 0x2cb64
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_encoder_set_input_protein
void gt_encseq_encoder_set_input_protein(GtEncseqEncoder *ee)
{
  gt_assert(ee);
  ee->isdna = false;
  ee->isprotein = true;
  ee->isplain = false;
}

// Assembly:
testq %rdi, %rdi
je 0xc8451
movw $0x100, 0x5(%rdi)       # imm = 0x100
movb $0x0, 0x7(%rdi)
retq
pushq %rax
callq 0x2cb9d
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_encoder_set_input_preencoded
void gt_encseq_encoder_set_input_preencoded(GtEncseqEncoder *ee)
{
  gt_assert(ee);
  ee->isdna = false;
  ee->isprotein = false;
  ee->isplain = true;
}

// Assembly:
testq %rdi, %rdi
je 0xc8467
movw $0x0, 0x5(%rdi)
movb $0x1, 0x7(%rdi)
retq
pushq %rax
callq 0x2cbd6
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_encoder_enable_dust
void gt_encseq_encoder_enable_dust(GtEncseqEncoder *ee, bool echo, GtUword ws,
                                   double thresh, GtUword linker)
{
  gt_assert(ee);
  ee->dust = true;
  ee->dust_echo = echo;
  ee->dust_windowsize = ws;
  ee->dust_threshold = thresh;
  ee->dust_linker = linker;
}

// Assembly:
testq %rdi, %rdi
je 0xc84a8
movb $0x1, 0xa(%rdi)
movb %sil, 0xb(%rdi)
movq %rdx, 0x10(%rdi)
movsd %xmm0, 0x20(%rdi)
movq %rcx, 0x18(%rdi)
retq
pushq %rax
callq 0x2cc81
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_encoder_use_symbolmap_file
int gt_encseq_encoder_use_symbolmap_file(GtEncseqEncoder *ee, const char *smap,
                                         GT_UNUSED GtError *err)
{
  gt_assert(ee && smap);
  if (ee->smapfile != NULL)
    gt_str_delete(ee->smapfile);
  ee->smapfile = gt_str_new_cstr(smap);
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xc84e6
movq %rsi, %r14
testq %rsi, %rsi
je 0xc84e6
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
testq %rdi, %rdi
je 0xc84d0
callq 0x3c87b
movq %r14, %rdi
callq 0x3b785
movq %rax, 0x30(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x2ccba
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_encoder_use_representation
int gt_encseq_encoder_use_representation(GtEncseqEncoder *ee, const char *sat,
                                         GtError *err)
{
  gt_assert(ee && sat);
  if (sat && strlen(sat) > 0
        && gt_encseq_access_type_get(sat) == GT_ACCESS_TYPE_UNDEFINED) {
    gt_error_set(err, "undefined access type: '%s'", sat);
    return -1;
  }
  if (ee->sat != NULL)
    gt_str_delete(ee->sat);
  ee->sat = gt_str_new_cstr(sat);
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0xc8552
movq %rsi, %rbx
testq %rsi, %rsi
je 0xc8552
movq %rdi, %r14
cmpb $0x0, (%rbx)
je 0xc8530
movq %rdx, %r15
movq %rbx, %rdi
callq 0xd3922
cmpl $0x7, %eax
jne 0xc8530
leaq 0x3c091(%rip), %rsi     # 0x1045ad
movq %r15, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x34f1f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0xc854c
movq 0x28(%r14), %rdi
testq %rdi, %rdi
je 0xc853e
callq 0x3c87b
movq %rbx, %rdi
callq 0x3b785
movq %rax, 0x28(%r14)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
callq 0x2ccf3
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_encoder_delete
void gt_encseq_encoder_delete(GtEncseqEncoder *ee)
{
  if (!ee) return;
  gt_str_delete(ee->sat);
  gt_str_delete(ee->smapfile);
  gt_free(ee);
}

// Assembly:
testq %rdi, %rdi
je 0xc8587
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
callq 0x3c87b
movq 0x30(%rbx), %rdi
callq 0x3c87b
leaq 0x3a3a1(%rip), %rsi     # 0x10291a
movq %rbx, %rdi
movl $0x2171, %edx           # imm = 0x2171
popq %rbx
jmp 0x35c27
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_loader_new_from_options
GtEncseqLoader* gt_encseq_loader_new_from_options(GtEncseqOptions *opts,
                                                  GT_UNUSED GtError *err)
{
  GtEncseqLoader *el = NULL;
  gt_assert(opts);

  el = gt_encseq_loader_new();
  /* set options according to option object */
  if (gt_encseq_options_lossless_value(opts))
    gt_encseq_loader_require_lossless_support(el);
  if (gt_encseq_options_md5_value(opts))
    gt_encseq_loader_require_md5_support(el);
  if (gt_encseq_options_mirrored_value(opts))
    gt_encseq_loader_mirror(el);
  return el;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xca734
movq %rdi, %r14
callq 0xc7495
movq %rax, %rbx
movq %r14, %rdi
callq 0xd5b76
testb %al, %al
je 0xca701
movq %rbx, %rdi
callq 0xca7ef
movq %r14, %rdi
callq 0xd5b98
testb %al, %al
je 0xca715
movq %rbx, %rdi
callq 0xca81e
movq %r14, %rdi
callq 0xd5bbd
testb %al, %al
je 0xca729
movq %rbx, %rdi
callq 0xca743
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x2d6bf
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_mirror
int gt_encseq_mirror(GtEncseq *encseq, GtError *err)
{
  int had_err = 0;
  gt_assert(encseq && !encseq->hasmirror);
  gt_error_check(err);
  if (!gt_alphabet_is_dna(encseq->alpha)) {
    gt_error_set(err, "mirroring can only be enabled for DNA sequences, "
                      "this encoded sequence has alphabet: %.*s",
                      gt_alphabet_num_of_chars(encseq->alpha),
                      gt_alphabet_characters(encseq->alpha));
    had_err = -1;
  }
  if (!had_err) {
    encseq->hasmirror = true;
    encseq->logicalnumofdbsequences = gt_safe_mult_ulong_check(2,
                                                     encseq->numofdbsequences,
                                                     gt_encseq_overflow_abort,
                                                     &encseq->numofdbsequences);
    encseq->logicaltotallength = gt_safe_mult_ulong_check(2,
                                                       encseq->totallength,
                                                       gt_encseq_overflow_abort,
                                                       &encseq->totallength)
                                  + 1;
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xca95a
movq %rdi, %rbx
cmpb $0x1, 0x3a8(%rdi)
je 0xca95a
movq %rsi, %r14
testq %rsi, %rsi
je 0xca8ac
movq %r14, %rdi
callq 0x34fea
testb %al, %al
jne 0xca95f
movq 0x220(%rbx), %rdi
callq 0xbad2d
testb %al, %al
je 0xca91a
movb $0x1, 0x3a8(%rbx)
leaq 0x40(%rbx), %r9
movq 0x40(%rbx), %rsi
leaq 0x38048(%rip), %r14     # 0x10291a
leaq 0x3fff(%rip), %r15      # 0xce8d8
movl $0x2, %edi
movq %r14, %rdx
movl $0x2595, %ecx           # imm = 0x2595
movq %r15, %r8
callq 0x7f153
movq %rax, 0x48(%rbx)
leaq 0x30(%rbx), %r9
movq 0x30(%rbx), %rsi
movl $0x2, %edi
movq %r14, %rdx
movl $0x2599, %ecx           # imm = 0x2599
movq %r15, %r8
callq 0x7f153
incq %rax
movq %rax, 0x38(%rbx)
xorl %eax, %eax
jmp 0xca94f
movq 0x220(%rbx), %rdi
callq 0xba7a2
movl %eax, %ebp
movq 0x220(%rbx), %rdi
callq 0xba7c2
leaq 0x3b202(%rip), %rsi     # 0x105b3d
movq %r14, %rdi
movl %ebp, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0x34f1f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x2db33
callq 0x2dafa
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_builder_new
GtEncseqBuilder* gt_encseq_builder_new(GtAlphabet *alpha)
{
  GtEncseqBuilder *eb;
  gt_assert(alpha);
  eb = gt_calloc((size_t) 1, sizeof (GtEncseqBuilder));
  eb->own = false;
  eb->alpha = gt_alphabet_ref(alpha);
  GT_INITARRAY(&eb->ssptab, GtUword);
  GT_INITARRAY(&eb->sdstab, GtUword);
  eb->destab = gt_str_new();
  eb->firstdesc = true;
  eb->firstseq = true;
  eb->minseqlen = eb->maxseqlen = GT_UNDEF_UWORD;
  return eb;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xca9d9
movq %rdi, %rbx
leaq 0x37fa3(%rip), %rdx     # 0x10291a
movl $0x1, %edi
movl $0x80, %esi
movl $0x2295, %ecx           # imm = 0x2295
callq 0x359a6
movq %rax, %r14
movb $0x0, 0x68(%rax)
movq %rbx, %rdi
callq 0xba023
movq %rax, 0x70(%r14)
pxor %xmm0, %xmm0
movdqu %xmm0, 0x28(%r14)
movdqu %xmm0, 0x38(%r14)
movdqu %xmm0, 0x48(%r14)
callq 0x3b728
movq %rax, 0x58(%r14)
movw $0x101, 0x6d(%r14)      # imm = 0x101
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x18(%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x2db6c
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_builder_add_multiple_encoded
void gt_encseq_builder_add_multiple_encoded(GtEncseqBuilder *eb,
                                            const GtUchar *str,
                                            GtUword strlen)
{
  GtUword idx, laststart = 0;

  for (idx = 0; idx < strlen; idx++)
  {
    if (str[idx] == GT_SEPARATOR)
    {
      gt_assert(laststart < idx);
      gt_encseq_builder_add_encoded(eb, str + laststart, idx - laststart, NULL);
      laststart = idx + 1;
    }
  }
  gt_assert(laststart < idx);
  gt_encseq_builder_add_encoded(eb, str + laststart, idx - laststart, NULL);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdx, %rdx
je 0xcb155
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %esi, %esi
xorl %r12d, %r12d
cmpb $-0x1, (%r14,%r12)
je 0xcb10d
incq %r12
jmp 0xcb128
movq %r12, %rdx
subq %rsi, %rdx
jbe 0xcb150
addq %r14, %rsi
movq %r15, %rdi
xorl %ecx, %ecx
callq 0xcad1c
incq %r12
movq %r12, %rsi
cmpq %rbx, %r12
jne 0xcb101
subq %rsi, %rbx
jbe 0xcb155
addq %rsi, %r14
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xcad1c
callq 0x2e0fd
callq 0x2e136
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_builder_reset
void gt_encseq_builder_reset(GtEncseqBuilder *eb)
{
  gt_assert(eb);
  /* if ownership was not transferred to new encoded sequence, clean up
     intermediate buffer */
  if (!eb->created_encseq && eb->own) {
    gt_free(eb->plainseq);
  }
  if (!eb->created_encseq) {
    GT_FREEARRAY(&eb->sdstab, GtUword);
  }
  GT_INITARRAY(&eb->sdstab, GtUword);
  GT_INITARRAY(&eb->ssptab, GtUword);
  gt_str_reset(eb->destab);
  eb->own = false;
  eb->nof_seqs = 0;
  eb->minseqlen = eb->maxseqlen = GT_UNDEF_UWORD;
  eb->seqlen = 0;
  eb->allocated = 0;
  eb->firstdesc = true;
  eb->firstseq = true;
  eb->created_encseq = false;
  eb->plainseq = NULL;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0xcb1fe
movq %rdi, %rbx
movb 0x69(%rdi), %al
testb %al, %al
jne 0xcb19b
cmpb $0x1, 0x68(%rbx)
jne 0xcb19b
movq (%rbx), %rdi
leaq 0x3778c(%rip), %rsi     # 0x10291a
movl $0x239f, %edx           # imm = 0x239F
callq 0x35c27
movb 0x69(%rbx), %al
testb $0x1, %al
jne 0xcb1b9
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0xcb1b9
leaq 0x3776b(%rip), %rsi     # 0x10291a
movl $0x23a2, %edx           # imm = 0x23A2
callq 0x35c27
pxor %xmm0, %xmm0
movdqu %xmm0, 0x48(%rbx)
movdqu %xmm0, 0x38(%rbx)
movdqu %xmm0, 0x28(%rbx)
movq 0x58(%rbx), %rdi
callq 0x3bbee
movw $0x0, 0x68(%rbx)
xorl %eax, %eax
movq %rax, 0x10(%rbx)
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x18(%rbx)
movq %rax, 0x60(%rbx)
movw $0x101, 0x6d(%rbx)      # imm = 0x101
pxor %xmm0, %xmm0
movdqu %xmm0, (%rbx)
popq %rbx
retq
callq 0x2e1a8
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: initcharacterdistribution
static GtUword *initcharacterdistribution(const GtAlphabet *alpha)
{
  GtUword *characterdistribution;
  unsigned int numofchars, idx;

  numofchars = gt_alphabet_num_of_chars(alpha);
  characterdistribution = gt_malloc(sizeof (*characterdistribution) *
                                    numofchars);
  for (idx=0; idx<numofchars; idx++)
    characterdistribution[idx] = 0;
  return characterdistribution;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
callq 0xba7a2
movl %eax, %ebp
movl %eax, %ebx
shlq $0x3, %rbx
leaq 0x36e7d(%rip), %rsi     # 0x10291a
movq %rbx, %rdi
movl $0x1d53, %edx           # imm = 0x1D53
callq 0x35862
testl %ebp, %ebp
je 0xcbac1
movq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xb2f0
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_builder_delete
void gt_encseq_builder_delete(GtEncseqBuilder *eb)
{
  if (!eb) return;
  gt_encseq_builder_reset(eb);
  gt_alphabet_delete(eb->alpha);
  gt_str_delete(eb->destab);
  gt_free(eb);
}

// Assembly:
testq %rdi, %rdi
je 0xce7c2
pushq %rbx
movq %rdi, %rbx
callq 0xcb16a
movq 0x70(%rbx), %rdi
callq 0xba400
movq 0x58(%rbx), %rdi
callq 0x3c87b
leaq 0x34166(%rip), %rsi     # 0x10291a
movq %rbx, %rdi
movl $0x252a, %edx           # imm = 0x252A
popq %rbx
jmp 0x35c27
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_effective_filelength
GtUint64 gt_encseq_effective_filelength(const GtEncseq *encseq,
                                        GtUword filenum)
{
  if (encseq->numofdbfiles == 1UL)
    return (GtUint64) encseq->totallength;
  gt_assert(encseq != NULL && encseq->headerptr.filelengthtab != NULL);
  gt_assert(filenum < encseq->numofdbfiles);
  return (GtUint64) encseq->headerptr.filelengthtab[filenum].effectivelength;
}

// Assembly:
pushq %rax
movq 0x50(%rdi), %rcx
cmpq $0x1, %rcx
jne 0xce7d4
addq $0x30, %rdi
jmp 0xce7f1
movq 0xf0(%rdi), %rax
testq %rax, %rax
je 0xce7f6
cmpq %rsi, %rcx
jbe 0xce7fb
shlq $0x4, %rsi
leaq (%rax,%rsi), %rdi
addq $0x8, %rdi
movq (%rdi), %rax
popq %rcx
retq
callq 0x2e2c5
callq 0x2e28c
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_filenum
GtUword gt_encseq_filenum(const GtEncseq *encseq,
                                GtUword position)
{
  gt_assert(encseq->numofdbfiles == 1UL || encseq->fsptab != NULL);

  /* handle virtual coordinates */
  if (encseq->hasmirror) {
    if (position > encseq->totallength) {
      /* invert coordinates */
      position = GT_REVERSEPOS(encseq->totallength,
                               position - encseq->totallength - 1);
    }
  }
  gt_assert(position < encseq->totallength);
  return gt_encseq_sep2seqnum(encseq->fsptab,
                              encseq->numofdbfiles,
                              encseq->totallength,
                              position);
}

// Assembly:
pushq %rax
movq %rsi, %rax
movq 0x50(%rdi), %rsi
cmpq $0x1, %rsi
je 0xce818
cmpq $0x0, 0x278(%rdi)
je 0xce84c
movq 0x30(%rdi), %rdx
leaq (%rdx,%rdx), %rcx
subq %rax, %rcx
cmpb $0x0, 0x3a8(%rdi)
cmoveq %rax, %rcx
cmpq %rax, %rdx
cmovaeq %rax, %rcx
cmpq %rdx, %rcx
jae 0xce847
movq 0x278(%rdi), %rdi
popq %rax
jmp 0xc3845
callq 0x2e337
callq 0x2e2fe
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_filestartpos
GtUword gt_encseq_filestartpos(const GtEncseq *encseq,
                                     GtUword filenum)
{
  gt_assert(encseq->numofdbfiles == 1UL || encseq->fsptab != NULL);
  if (filenum > 0)
    return encseq->fsptab[filenum-1] + 1;
  return 0;
}

// Assembly:
cmpq $0x1, 0x50(%rdi)
je 0xce862
cmpq $0x0, 0x278(%rdi)
je 0xce87a
testq %rsi, %rsi
je 0xce877
movq 0x278(%rdi), %rax
movq -0x8(%rax,%rsi,8), %rax
incq %rax
retq
xorl %eax, %eax
retq
pushq %rax
callq 0x2e370
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_filenum_first_seqnum
GtUword gt_encseq_filenum_first_seqnum(const GtEncseq *encseq,
                                             GtUword filenum)
{
  gt_assert(encseq->numofdbfiles == 1UL || encseq->fsptab != NULL);
  if (filenum > 0)
    return gt_encseq_seqnum(encseq, encseq->fsptab[filenum-1] + 1);
  return 0;
}

// Assembly:
cmpq $0x1, 0x50(%rdi)
je 0xce891
cmpq $0x0, 0x278(%rdi)
je 0xce8ad
testq %rsi, %rsi
je 0xce8aa
movq 0x278(%rdi), %rax
movq -0x8(%rax,%rsi,8), %rsi
incq %rsi
jmp 0xc3a1d
xorl %eax, %eax
retq
pushq %rax
callq 0x2e3a9
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_unmirror
void gt_encseq_unmirror(GtEncseq *encseq)
{
  gt_assert(encseq && encseq->hasmirror);
  encseq->hasmirror = false;
  encseq->logicalnumofdbsequences = encseq->numofdbsequences;
  encseq->logicaltotallength = encseq->totallength;
}

// Assembly:
testq %rdi, %rdi
je 0xce929
cmpb $0x0, 0x3a8(%rdi)
je 0xce929
movb $0x0, 0x3a8(%rdi)
movq 0x30(%rdi), %rax
movq 0x40(%rdi), %rcx
movq %rcx, 0x48(%rdi)
movq %rax, 0x38(%rdi)
retq
pushq %rax
callq 0x2e41b
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: gt_viautables_specialrangeiterator_next_withkind
static bool gt_viautables_specialrangeiterator_next_withkind(
                                                    GtRange *range,
                                                    GtEncseqReader *esr,
                                                    KindofSWtable kindsw)
{
  GtEncseqReaderViatablesinfo *swstate = assignSWstate(esr, kindsw);

  gt_assert(esr->encseq->accesstype_via_utables);
  if (swstate->exhausted)
    return false;
  gt_assert(swstate->hasprevious);
  *range = swstate->previousrange;
  if (swstate->hasmore)
    advancerangeGtEncseqReader(esr, kindsw);
  else
    swstate->exhausted = true;
  return true;
}

// Assembly:
pushq %rbx
xorl %eax, %eax
testl %edx, %edx
setne %cl
movq (%rsi), %r8
cmpb $0x0, 0x3a9(%r8)
je 0xcf336
movb %cl, %al
movq 0x28(%rsi,%rax,8), %rax
movb 0x3c(%rax), %bl
testb %bl, %bl
jne 0xcf32f
cmpb $0x0, 0x3a(%rax)
je 0xcf33b
movups 0x18(%rax), %xmm0
movups %xmm0, (%rdi)
cmpb $0x1, 0x39(%rax)
jne 0xcf32b
movq %rsi, %rdi
movl %edx, %esi
callq 0xc0ec5
jmp 0xcf32f
movb $0x1, 0x3c(%rax)
xorb $0x1, %bl
movl %ebx, %eax
popq %rbx
retq
callq 0x2e723
callq 0x2e75c
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: fwdgetnexttwobitencodingstopposSW
static GtUword fwdgetnexttwobitencodingstopposSW(GtEncseqReader *esr,
                                      KindofSWtable kindsw)
{
  if (gt_encseq_has_specialranges(esr->encseq)) {
    GtEncseqAccessType sat = (kindsw == SWtable_ssptab)
                                ? esr->encseq->satsep
                                : esr->encseq->sat;
    switch (sat) {
      case GT_ACCESS_TYPE_UCHARTABLES:
        return fwdgetnexttwobitencodingstopposSW_uchar(esr, kindsw);
      case GT_ACCESS_TYPE_USHORTTABLES:
        return fwdgetnexttwobitencodingstopposSW_uint16(esr, kindsw);
      case GT_ACCESS_TYPE_UINT32TABLES:
        return fwdgetnexttwobitencodingstopposSW_uint32(esr, kindsw);
      default:
       fprintf(stderr, "%s(%d) undefined\n", __func__, (int) sat);
       exit(GT_EXIT_PROGRAMMING_ERROR);
    }
  }
  else
   return esr->encseq->totallength;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq (%rdi), %rax
cmpb $0x0, 0x3a8(%rax)
jne 0xcf4e5
testb $0x1, 0x28(%rax)
jne 0xcf4e5
movq 0x30(%rax), %rax
popq %rbx
popq %r14
popq %rbp
retq
xorl %ecx, %ecx
cmpl $0x1, %ebp
sete %cl
movl (%rax,%rcx,4), %edi
cmpl $0x6, %edi
je 0xcf5c2
cmpl $0x5, %edi
je 0xcf562
cmpl $0x4, %edi
jne 0xcf633
xorl %ecx, %ecx
testl %ebp, %ebp
setne %dl
movl 0x8(%rbx), %esi
orl $0x2, %esi
cmpl $0x3, %esi
je 0xcf62e
movb %dl, %cl
movq 0x28(%rbx,%rcx,8), %r14
cmpb $0x1, 0x3a(%r14)
jne 0xcf4dc
movq 0x10(%rbx), %rcx
movq 0x18(%r14), %rax
cmpq %rax, %rcx
jb 0xcf4e0
movq %rcx, %rax
cmpq 0x20(%r14), %rcx
jb 0xcf4e0
cmpb $0x1, 0x39(%r14)
jne 0xcf61c
movq %rbx, %rdi
movl %ebp, %esi
callq 0xcec43
cmpb $0x0, 0x3a(%r14)
jne 0xcf52b
jmp 0xcf61c
xorl %ecx, %ecx
testl %ebp, %ebp
setne %dl
movl 0x8(%rbx), %esi
orl $0x2, %esi
cmpl $0x3, %esi
je 0xcf624
movb %dl, %cl
movq 0x28(%rbx,%rcx,8), %r14
cmpb $0x1, 0x3a(%r14)
jne 0xcf4dc
movq 0x10(%rbx), %rcx
movq 0x18(%r14), %rax
cmpq %rax, %rcx
jb 0xcf4e0
movq %rcx, %rax
cmpq 0x20(%r14), %rcx
jb 0xcf4e0
cmpb $0x1, 0x39(%r14)
jne 0xcf61c
movq %rbx, %rdi
movl %ebp, %esi
callq 0xcede8
cmpb $0x0, 0x3a(%r14)
jne 0xcf58a
jmp 0xcf61c
xorl %ecx, %ecx
testl %ebp, %ebp
setne %dl
movl 0x8(%rbx), %esi
orl $0x2, %esi
cmpl $0x3, %esi
je 0xcf629
movb %dl, %cl
movq 0x28(%rbx,%rcx,8), %r14
cmpb $0x1, 0x3a(%r14)
jne 0xcf4dc
movq 0x10(%rbx), %rcx
movq 0x18(%r14), %rax
cmpq %rax, %rcx
jb 0xcf4e0
movq %rcx, %rax
cmpq 0x20(%r14), %rcx
jb 0xcf4e0
cmpb $0x1, 0x39(%r14)
jne 0xcf61c
movq %rbx, %rdi
movl %ebp, %esi
callq 0xcef8d
cmpb $0x0, 0x3a(%r14)
jne 0xcf5e6
movq (%rbx), %rax
jmp 0xcf4dc
callq 0x2e90b
callq 0x2e8d2
callq 0x2e944
callq 0x2e97d
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: revgetnexttwobitencodingstopposSW
static GtUword revgetnexttwobitencodingstopposSW(GtEncseqReader *esr,
                                      KindofSWtable kindsw)
{
  if (gt_encseq_has_specialranges(esr->encseq)) {
    GtEncseqAccessType sat = (kindsw == SWtable_ssptab)
                                ? esr->encseq->satsep
                                : esr->encseq->sat;
    switch (sat) {
      case GT_ACCESS_TYPE_UCHARTABLES:
        return revgetnexttwobitencodingstopposSW_uchar(esr, kindsw);
      case GT_ACCESS_TYPE_USHORTTABLES:
        return revgetnexttwobitencodingstopposSW_uint16(esr, kindsw);
      case GT_ACCESS_TYPE_UINT32TABLES:
        return revgetnexttwobitencodingstopposSW_uint32(esr, kindsw);
      default:
       fprintf(stderr, "%s(%d) undefined\n", __func__, (int) sat);
       exit(GT_EXIT_PROGRAMMING_ERROR);
    }
  }
  else {
    return 0;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
movq (%rdi), %rax
cmpb $0x0, 0x3a8(%rax)
jne 0xcf65c
testb $0x1, 0x28(%rax)
jne 0xcf65c
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
xorl %ecx, %ecx
cmpl $0x1, %ebx
sete %cl
movl (%rax,%rcx,4), %edi
cmpl $0x6, %edi
je 0xcf746
cmpl $0x5, %edi
je 0xcf6dc
cmpl $0x4, %edi
jne 0xcf7b3
xorl %eax, %eax
testl %ebx, %ebx
setne %cl
movl 0x8(%r14), %edx
orl $0x2, %edx
cmpl $0x3, %edx
jne 0xcf7b8
movb %cl, %al
movq 0x28(%r14,%rax,8), %r15
cmpb $0x1, 0x3a(%r15)
jne 0xcf654
movq 0x10(%r14), %rcx
movq 0x20(%r15), %rax
cmpq %rax, %rcx
jae 0xcf656
cmpq 0x18(%r15), %rcx
jae 0xcf7a8
cmpb $0x1, 0x39(%r15)
jne 0xcf654
movq %r14, %rdi
movl %ebx, %esi
callq 0xcec43
cmpb $0x0, 0x3a(%r15)
movl $0x0, %eax
jne 0xcf6a3
jmp 0xcf656
xorl %eax, %eax
testl %ebx, %ebx
setne %cl
movl 0x8(%r14), %edx
orl $0x2, %edx
cmpl $0x3, %edx
jne 0xcf7bd
movb %cl, %al
movq 0x28(%r14,%rax,8), %r15
cmpb $0x1, 0x3a(%r15)
jne 0xcf654
movq 0x10(%r14), %rcx
movq 0x20(%r15), %rax
cmpq %rax, %rcx
jae 0xcf656
cmpq 0x18(%r15), %rcx
jae 0xcf7a8
cmpb $0x1, 0x39(%r15)
jne 0xcf654
movq %r14, %rdi
movl %ebx, %esi
callq 0xcede8
cmpb $0x0, 0x3a(%r15)
movl $0x0, %eax
jne 0xcf705
jmp 0xcf656
xorl %eax, %eax
testl %ebx, %ebx
setne %cl
movl 0x8(%r14), %edx
orl $0x2, %edx
cmpl $0x3, %edx
jne 0xcf7c2
movb %cl, %al
movq 0x28(%r14,%rax,8), %r15
cmpb $0x1, 0x3a(%r15)
jne 0xcf654
movq 0x10(%r14), %rcx
movq 0x20(%r15), %rax
cmpq %rax, %rcx
jae 0xcf656
cmpq 0x18(%r15), %rcx
jae 0xcf7a8
cmpb $0x1, 0x39(%r15)
jne 0xcf654
movq %r14, %rdi
movl %ebx, %esi
callq 0xcef8d
cmpb $0x0, 0x3a(%r15)
movl $0x0, %eax
jne 0xcf76b
jmp 0xcf656
incq %rcx
movq %rcx, %rax
jmp 0xcf656
callq 0x2ea52
callq 0x2ea19
callq 0x2e9e0
callq 0x2e9a7