LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/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 0xa9290
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 0xa8d6a
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 0xa8d6a
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 0xa8e7a
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x84d21(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x20dc5(%rip), %rsi     # 0xca066
leaq 0x43c18(%rip), %rdx     # 0xecec0
leaq 0x43c1e(%rip), %rcx     # 0xececd
leaq 0x428e4(%rip), %r8      # 0xebb9a
movl $0x1a56, %r9d           # imm = 0x1A56
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0xa93f3
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 0x43c12(%rip), %rdi     # 0xecf15
pushq $0x1a
popq %rsi
pushq $0x1
popq %r13
movq %r13, %rdx
movq %rbx, %rcx
callq 0xbca0
leaq 0x43c14(%rip), %rdi     # 0xecf30
pushq $0x10
popq %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0xbca0
leaq 0x43c10(%rip), %rdi     # 0xecf41
pushq $0xb
popq %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0xbca0
testb %r12b, %r12b
je 0xa938d
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 0xa3bb6
subq %r14, %r12
incq %r12
xorl %r14d, %r14d
movzbl %bpl, %ebp
cmpq %r14, %r12
je 0xa93cf
movzbl (%rsp,%r14), %edx
movq %rbx, %rdi
movl %ebp, %esi
callq 0xa942b
incq %r14
jmp 0xa9374
xorl %r13d, %r13d
movq %r14, %r12
subq $0x1f, %r12
cmovbq %r13, %r12
movq %rsp, %rsi
movq %r15, %rdi
movq %r12, %rdx
movq %r14, %rcx
callq 0xa3bb6
subq %r12, %r14
incq %r14
movzbl %bpl, %ebp
cmpq %r13, %r14
je 0xa93cf
movzbl (%rsp,%r13), %edx
movq %rbx, %rdi
movl %ebp, %esi
callq 0xa942b
incq %r13
jmp 0xa93b6
leaq 0x417af(%rip), %rdi     # 0xeab85
pushq $0x2
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0xbca0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x84bbe(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x20c62(%rip), %rsi     # 0xca066
leaq 0x43ae6(%rip), %rdx     # 0xecef1
leaq 0x43aea(%rip), %rcx     # 0xecefc
leaq 0x42781(%rip), %r8      # 0xebb9a
movl $0x1ada, %r9d           # imm = 0x1ADA
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xa9442
cmpl $0xff, %edx
jne 0xa9447
pushq $0x23
jmp 0xa9444
pushq $0x24
popq %rdi
jmp 0xa946a
movb $0x3, %cl
subb %dl, %cl
movzbl %cl, %edi
movzbl %dl, %ecx
testb %sil, %sil
cmovnel %edi, %ecx
cmpb $0x4, %cl
jae 0xa9472
movzbl %cl, %ecx
leaq 0x40e0f(%rip), %rdx     # 0xea275
movsbl (%rcx,%rdx), %edi
movq %rax, %rsi
jmp 0xb7d0
pushq %rax
movq 0x84b3e(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x20be2(%rip), %rsi     # 0xca066
leaq 0x46856(%rip), %rdx     # 0xefce1
leaq 0x46860(%rip), %rcx     # 0xefcf2
leaq 0x42701(%rip), %r8      # 0xebb9a
movl $0x1acc, %r9d           # imm = 0x1ACC
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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, %r12
movq %rcx, %r14
movl %edx, 0x4(%rsp)
movq %rsi, %r15
movq %rdi, %rbx
movq 0x38(%rsi), %r13
movq 0x220(%rsi), %rdi
callq 0x9b620
movq %r12, %rcx
leaq (%r12,%r14), %rbp
cmpq %rbp, %r13
cmovbq %r13, %rbp
movq %rax, %r12
testq %rcx, %rcx
cmoveq %r13, %rbp
leaq 0x1e(%r14), %rax
cmpq %rbp, %rax
cmovbq %rax, %rbp
cmpq %rbp, %r14
ja 0xa9544
cmpq %r14, %r13
je 0xa952b
movq %r15, %rdi
movq %r14, %rsi
movl 0x4(%rsp), %edx
callq 0xa1fd0
cmpb $-0x3, %al
ja 0xa952b
movzbl %al, %eax
movzbl (%r12,%rax), %edi
movq %rbx, %rsi
callq 0xbc80
incq %r14
jmp 0xa94f9
pushq $0x7e
popq %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xbc80
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/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 0xa95f9
movq %r9, %r14
movq %r8, %r15
movq %rsi, %rbp
movq %rdi, %r12
movq 0x40(%rsp), %r13
movq %r8, %rdi
movl %ecx, %edx
movq %r13, %rcx
callq 0xa3924
movl %ebx, %ebx
leaq (%rbx,%r13), %rax
decq %rax
addq %r13, %rbx
movq 0x38(%rbp), %rcx
cmpq %rcx, %rax
cmovaeq %rcx, %rbx
andl $0x0, (%r12)
xorl %ecx, %ecx
xorl %ebp, %ebp
cmpq %rbx, %r13
jae 0xa95d7
movq %r15, %rdi
callq 0xa2941
movl (%r12), %ecx
cmpb $-0x3, %al
ja 0xa95d7
movq (%r14,%rcx,8), %rdx
movzbl %al, %eax
addq (%rdx,%rax,8), %rbp
incl %ecx
movl %ecx, (%r12)
incq %r13
jmp 0xa95ac
cmpl 0x48(%rsp), %ecx
jae 0xa95e7
movl %ecx, %eax
movq (%rsp), %rcx
addq (%rcx,%rax,8), %rbp
movq %rbp, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x849b8(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x20a5c(%rip), %rsi     # 0xca066
leaq 0x4393c(%rip), %rdx     # 0xecf4d
leaq 0x43946(%rip), %rcx     # 0xecf5e
leaq 0x4257b(%rip), %r8      # 0xebb9a
movl $0x1c8d, %r9d           # imm = 0x1C8D
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xa9ab9
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 0xa6689
movq %rax, %r13
movq %rbp, %rdi
movq %rax, %rsi
callq 0xa6788
cmpq %r12, %r13
jne 0xa9ac8
movq %rbx, %rsi
subq %rax, %rsi
cmpq %r15, %rsi
movl 0x14(%rsp), %ecx
jne 0xa9aec
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x844e9(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
movq %r13, (%rsp)
leaq 0x435c7(%rip), %rsi     # 0xed0a4
movq %r14, %rdx
movl 0x14(%rsp), %ecx
movq %rbx, %r8
movq %r12, %r9
jmp 0xa9b0a
movq 0x844c5(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
movq %rsi, (%rsp)
leaq 0x435e5(%rip), %rsi     # 0xed0e6
movq %r14, %rdx
movq %rbx, %r8
movq %r15, %r9
xorl %eax, %eax
callq 0xb8c0
pushq $0x1
popq %rdi
callq 0xb7b0
// File: /workspace/github_c_makefile_star2_O2/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 0x9b59a
movl %eax, %r13d
leaq 0x435eb(%rip), %r14     # 0xed126
xorl %r15d, %r15d
xorl %r12d, %r12d
cmpq %r15, %r13
je 0xa9b75
movq 0xf8(%rbx), %rax
movq (%rax,%r15,8), %rdx
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0xb070
movq 0xf8(%rbx), %rax
movq (%rax,%r15,8), %rax
imulq %r15, %rax
addq %rax, %r12
incq %r15
jmp 0xa9b41
cmpl $0x3, (%rbx)
jne 0xa9b98
movq 0x40(%rbx), %rsi
decq %rsi
leaq 0x435af(%rip), %rdi     # 0xed137
xorl %eax, %eax
callq 0xb070
movq 0x40(%rbx), %rax
decq %rax
jmp 0xa9be7
movq 0x178(%rbx), %rax
cmpb $0x0, 0x3a8(%rbx)
leaq 0x1(%rax,%rax), %rsi
cmoveq %rax, %rsi
movl 0x170(%rbx), %edx
leaq 0x43590(%rip), %rdi     # 0xed14c
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_O2/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
movq %rsi, (%rsp)
testq %rdi, %rdi
je 0xa9caa
movq %rdi, %r14
movq 0x3b0(%rdi), %r15
movq 0x3b8(%rdi), %r12
pushq $-0x1
popq %rbp
xorl %r13d, %r13d
xorl %ecx, %ecx
testl %ecx, %ecx
jne 0xa9c99
cmpq 0x48(%r14), %r13
jae 0xa9c97
movq %r14, %rdi
movq %r13, %rsi
callq 0xa6b5f
movq %rax, %rbx
movq %r14, %rdi
movq %r13, %rsi
callq 0xa6b5f
cmpq %rbx, %r15
jbe 0xa9c63
movq (%rsp), %rdi
leaq 0x43527(%rip), %rsi     # 0xed17f
movq %r13, %rdx
movq %rax, %rcx
movq %r15, %r8
jmp 0xa9c89
xorl %ecx, %ecx
cmpq %rax, %r12
jae 0xa9c92
movq %r14, %rdi
movq %r13, %rsi
callq 0xa6b5f
movq (%rsp), %rdi
leaq 0x43537(%rip), %rsi     # 0xed1b7
movq %r13, %rdx
movq %rax, %rcx
movq %r12, %r8
xorl %eax, %eax
callq 0xc007
movl %ebp, %ecx
incq %r13
jmp 0xa9c25
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x84307(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x203ab(%rip), %rsi     # 0xca066
leaq 0x3ce54(%rip), %rdx     # 0xe6b16
leaq 0x4349f(%rip), %rcx     # 0xed168
leaq 0x41eca(%rip), %r8      # 0xebb9a
movl $0x1f0f, %r9d           # imm = 0x1F0F
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0x40fd9(%rip), %rdx     # 0xebb9a
pushq $0x1
popq %rdi
pushq $0x10
popq %rsi
movl $0x2181, %ecx           # imm = 0x2181
callq 0xce9a
movq %rax, %rbx
movq %rax, %rdi
callq 0xaeb7f
movq %rbx, %rdi
callq 0xaed0f
movq %rbx, %rdi
callq 0xaedd7
movq %rbx, %rdi
callq 0xae8ba
movq %rbx, %rdi
callq 0xae8cc
movq %rbx, %rdi
callq 0xae90f
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r15
cmpb $0x0, 0x3a8(%rdi)
jne 0xab929
testb $0x1, 0x28(%r15)
je 0xab9e8
pushq $0x10
popq %r12
movq %r12, %rdi
callq 0x4b380
movq %rax, %rbx
movq %r12, %rdi
callq 0x4b380
movq %rax, %r14
pushq $0x1
popq %rsi
movq %r15, %rdi
callq 0xa5bdc
movq %rax, %r13
leaq 0x8(%rsp), %rbp
movq %r13, %rdi
movq %rbp, %rsi
callq 0xa5c77
testb %al, %al
je 0xab975
movq %rbx, %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq 0x4b801
jmp 0xab956
movq %r13, %rdi
callq 0xa63f5
movq %r15, %rdi
xorl %esi, %esi
callq 0xa5bdc
movq %rax, %r15
leaq 0x8(%rsp), %r12
pushq $0x10
popq %r13
movq %r15, %rdi
movq %r12, %rsi
callq 0xa5c77
testb %al, %al
je 0xab9b2
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x4b801
jmp 0xab993
movq %r15, %rdi
callq 0xa63f5
movq %r14, %rdi
callq 0x4b6dd
leaq 0x36(%rip), %rdx        # 0xab9ff
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4bcbf
testb %al, %al
je 0xab9f7
movq %rbx, %rdi
callq 0x4c19d
movq %r14, %rdi
callq 0x4c19d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x2
popq %rdi
callq 0xb7b0
// File: /workspace/github_c_makefile_star2_O2/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 %rbx
movq (%rsi), %rax
pushq $-0x1
popq %rbx
leaq 0x4478f(%rip), %rdx     # 0xf019c
cmpq %rax, (%rdi)
jb 0xaba3e
pushq $0x1
popq %rcx
leaq 0x356ce(%rip), %r8      # 0xe10ea
jbe 0xaba25
movq %r8, %rdx
movl %ecx, %ebx
jmp 0xaba3e
movq 0x8(%rdi), %r9
movq 0x8(%rsi), %r10
cmpq %r10, %r9
jb 0xaba3e
xorl %eax, %eax
movq %r8, %rdx
movl %ecx, %ebx
cmpq %r10, %r9
jbe 0xaba45
callq 0xb53ec
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x4014b(%rip), %rdx     # 0xebb9a
pushq $0x1
popq %rdi
pushq $0x48
popq %rsi
movl $0x1ffa, %ecx           # imm = 0x1FFA
callq 0xce9a
movq %rax, %rbx
movq %rax, %rdi
callq 0xaba9d
movq %rbx, %rdi
callq 0xabae0
movq %rbx, %rdi
callq 0xabb26
movq %rbx, %rdi
callq 0xabb69
andl $0x0, 0x5(%rbx)
callq 0x13d5c
movq %rax, 0x28(%rbx)
callq 0x13d5c
movq %rax, 0x30(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xabf47
movw $0x1, 0x5(%rdi)
movb $0x0, 0x7(%rdi)
retq
pushq %rax
movq 0x82069(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1e10d(%rip), %rsi     # 0xca066
leaq 0x20382(%rip), %rdx     # 0xcc2e2
leaq 0x41766(%rip), %rcx     # 0xed6cd
leaq 0x3fc2c(%rip), %r8      # 0xebb9a
movl $0x20e1, %r9d           # imm = 0x20E1
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xabf90
movw $0x100, 0x5(%rdi)       # imm = 0x100
movb $0x0, 0x7(%rdi)
retq
pushq %rax
movq 0x82020(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1e0c4(%rip), %rsi     # 0xca066
leaq 0x20339(%rip), %rdx     # 0xcc2e2
leaq 0x4175c(%rip), %rcx     # 0xed70c
leaq 0x3fbe3(%rip), %r8      # 0xebb9a
movl $0x20ef, %r9d           # imm = 0x20EF
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xabfd8
andw $0x0, 0x5(%rdi)
movb $0x1, 0x7(%rdi)
retq
pushq %rax
movq 0x81fd8(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1e07c(%rip), %rsi     # 0xca066
leaq 0x202f1(%rip), %rdx     # 0xcc2e2
leaq 0x4175b(%rip), %rcx     # 0xed753
leaq 0x3fb9b(%rip), %r8      # 0xebb9a
movl $0x20fd, %r9d           # imm = 0x20FD
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xac0b2
movb $0x1, 0xa(%rdi)
movb %sil, 0xb(%rdi)
movq %rdx, 0x10(%rdi)
movsd %xmm0, 0x20(%rdi)
movq %rcx, 0x18(%rdi)
retq
pushq %rax
movq 0x81efe(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1dfa2(%rip), %rsi     # 0xca066
leaq 0x20217(%rip), %rdx     # 0xcc2e2
leaq 0x416e8(%rip), %rcx     # 0xed7ba
leaq 0x3fac1(%rip), %r8      # 0xebb9a
movl $0x2112, %r9d           # imm = 0x2112
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xac123
movq %rsi, %r14
testq %rsi, %rsi
je 0xac123
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
testq %rdi, %rdi
je 0xac10d
callq 0x152db
movq %r14, %rdi
callq 0x13da9
movq %rax, 0x30(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x81e8e(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1df32(%rip), %rsi     # 0xca066
leaq 0x4172f(%rip), %rdx     # 0xed86a
leaq 0x41733(%rip), %rcx     # 0xed875
leaq 0x3fa51(%rip), %r8      # 0xebb9a
movl $0x2138, %r9d           # imm = 0x2138
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xac1c0
movq %rsi, %rbx
testq %rsi, %rsi
je 0xac1c0
movq %rdi, %r14
cmpb $0x0, (%rbx)
je 0xac19e
movq %rdx, %r15
movq %rbx, %rdi
callq 0xb94db
cmpl $0x7, %eax
jne 0xac19e
leaq 0x416a1(%rip), %rsi     # 0xed82d
movq %r15, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xc007
pushq $-0x1
popq %rax
jmp 0xac1ba
movq 0x28(%r14), %rdi
testq %rdi, %rdi
je 0xac1ac
callq 0x152db
movq %rbx, %rdi
callq 0x13da9
movq %rax, 0x28(%r14)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
movq 0x81df1(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1de95(%rip), %rsi     # 0xca066
leaq 0x41626(%rip), %rdx     # 0xed7fe
leaq 0x41629(%rip), %rcx     # 0xed808
leaq 0x3f9b4(%rip), %r8      # 0xebb9a
movl $0x2123, %r9d           # imm = 0x2123
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xac228
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
callq 0x152db
movq 0x30(%rbx), %rdi
callq 0x152db
leaq 0x3f980(%rip), %rsi     # 0xebb9a
movq %rbx, %rdi
movl $0x2171, %edx           # imm = 0x2171
popq %rbx
jmp 0xd249
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xae9ad
movq %rdi, %r14
callq 0xaabb9
movq %rax, %rbx
movq %r14, %rdi
callq 0xbc3c9
testb %al, %al
je 0xae97a
movq %rbx, %rdi
callq 0xaeccc
movq %r14, %rdi
callq 0xbc451
testb %al, %al
je 0xae98e
movq %rbx, %rdi
callq 0xaed94
movq %r14, %rdi
callq 0xbc4dc
testb %al, %al
je 0xae9a2
movq %rbx, %rdi
callq 0xae9ef
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x7f604(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1b6a8(%rip), %rsi     # 0xca066
leaq 0x3e936(%rip), %rdx     # 0xed2fb
leaq 0x3ef41(%rip), %rcx     # 0xed90d
leaq 0x3d1c7(%rip), %r8      # 0xebb9a
movl $0x218f, %r9d           # imm = 0x218F
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 %r12
pushq %rbx
testq %rdi, %rdi
je 0xaef99
movq %rdi, %rbx
cmpb $0x1, 0x3a8(%rdi)
je 0xaef99
movq %rsi, %r14
testq %rsi, %rsi
je 0xaeeef
movq %r14, %rdi
callq 0xc103
testb %al, %al
jne 0xaefc7
movq 0x220(%rbx), %rdi
callq 0x9bd27
testb %al, %al
je 0xaef5d
movb $0x1, 0x3a8(%rbx)
leaq 0x40(%rbx), %r9
movq 0x40(%rbx), %rsi
leaq 0x3cc85(%rip), %r14     # 0xebb9a
leaq 0x4834(%rip), %r15      # 0xb3750
pushq $0x2
popq %r12
movq %r12, %rdi
movq %r14, %rdx
movl $0x2595, %ecx           # imm = 0x2595
movq %r15, %r8
callq 0x5e521
movq %rax, 0x48(%rbx)
leaq 0x30(%rbx), %r9
movq 0x30(%rbx), %rsi
movq %r12, %rdi
movq %r14, %rdx
movl $0x2599, %ecx           # imm = 0x2599
movq %r15, %r8
callq 0x5e521
incq %rax
movq %rax, 0x38(%rbx)
xorl %eax, %eax
jmp 0xaef90
movq 0x220(%rbx), %rdi
callq 0x9b59a
movl %eax, %ebp
movq 0x220(%rbx), %rdi
callq 0x9b620
leaq 0x3fe3f(%rip), %rsi     # 0xeedbd
movq %r14, %rdi
movl %ebp, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc007
pushq $-0x1
popq %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x7f018(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1b0bc(%rip), %rsi     # 0xca066
leaq 0x3fdde(%rip), %rdx     # 0xeed8f
leaq 0x3fdf4(%rip), %rcx     # 0xeedac
leaq 0x3cbdb(%rip), %r8      # 0xebb9a
movl $0x2587, %r9d           # imm = 0x2587
jmp 0xaeff3
movq 0x7efea(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1b08e(%rip), %rsi     # 0xca066
leaq 0x1b67a(%rip), %rdx     # 0xca659
leaq 0x3fdc6(%rip), %rcx     # 0xeedac
leaq 0x3cbad(%rip), %r8      # 0xebb9a
movl $0x2588, %r9d           # imm = 0x2588
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xaf072
movq %rdi, %rbx
leaq 0x3cb88(%rip), %rdx     # 0xebb9a
pushq $0x1
popq %rdi
movl $0x80, %esi
movl $0x2295, %ecx           # imm = 0x2295
callq 0xce9a
movq %rax, %r14
movb $0x0, 0x68(%rax)
movq %rbx, %rdi
callq 0x9ad5a
movq %rax, 0x70(%r14)
pxor %xmm0, %xmm0
movdqu %xmm0, 0x28(%r14)
movdqu %xmm0, 0x38(%r14)
movdqu %xmm0, 0x48(%r14)
callq 0x13d5c
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
movq 0x7ef3f(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1afe3(%rip), %rsi     # 0xca066
leaq 0x374a2(%rip), %rdx     # 0xe652c
leaq 0x3ebc4(%rip), %rcx     # 0xedc55
leaq 0x3cb02(%rip), %r8      # 0xebb9a
movl $0x2294, %r9d           # imm = 0x2294
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %r12
negq %r12
xorl %esi, %esi
leaq (%r12,%rsi), %rax
movq %r14, %rcx
xorl %edx, %edx
cmpq %rdx, %rax
je 0xafc7e
cmpb $-0x1, (%rcx,%rsi)
je 0xafc5b
decq %rdx
incq %rcx
jmp 0xafc48
movq %rsi, %r13
subq %rdx, %r13
cmpq %r13, %rsi
jae 0xafccd
addq %r14, %rsi
negq %rdx
movq %r15, %rdi
xorl %ecx, %ecx
callq 0xaf6f1
incq %r13
movq %r13, %rsi
jmp 0xafc3f
subq %rsi, %rbx
jbe 0xafc9f
addq %rsi, %r14
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xaf6f1
movq 0x7e312(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1a3b6(%rip), %rsi     # 0xca066
leaq 0x3e26b(%rip), %rdx     # 0xedf22
leaq 0x3e274(%rip), %rcx     # 0xedf32
leaq 0x3bed5(%rip), %r8      # 0xebb9a
movl $0x238f, %r9d           # imm = 0x238F
jmp 0xafcf9
movq 0x7e2e4(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1a388(%rip), %rsi     # 0xca066
leaq 0x3e23d(%rip), %rdx     # 0xedf22
leaq 0x3e246(%rip), %rcx     # 0xedf32
leaq 0x3bea7(%rip), %r8      # 0xebb9a
movl $0x238a, %r9d           # imm = 0x238A
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xafddb
movq %rdi, %rbx
movb 0x69(%rdi), %al
testb %al, %al
jne 0xafd79
cmpb $0x1, 0x68(%rbx)
jne 0xafd79
movq (%rbx), %rdi
leaq 0x3be2e(%rip), %rsi     # 0xebb9a
movl $0x239f, %edx           # imm = 0x239F
callq 0xd249
movb 0x69(%rbx), %al
testb $0x1, %al
jne 0xafd97
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0xafd97
leaq 0x3be0d(%rip), %rsi     # 0xebb9a
movl $0x23a2, %edx           # imm = 0x23A2
callq 0xd249
pxor %xmm0, %xmm0
movdqu %xmm0, 0x48(%rbx)
movdqu %xmm0, 0x38(%rbx)
movdqu %xmm0, 0x28(%rbx)
movq 0x58(%rbx), %rdi
callq 0x1452f
andw $0x0, 0x68(%rbx)
andq $0x0, 0x10(%rbx)
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x18(%rbx)
andq $0x0, 0x60(%rbx)
movw $0x101, 0x6d(%rbx)      # imm = 0x101
pxor %xmm0, %xmm0
movdqu %xmm0, (%rbx)
popq %rbx
retq
movq 0x7e1d6(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1a27a(%rip), %rsi     # 0xca066
leaq 0x3de78(%rip), %rdx     # 0xedc6b
leaq 0x3e17c(%rip), %rcx     # 0xedf76
leaq 0x3bd99(%rip), %r8      # 0xebb9a
movl $0x239b, %r9d           # imm = 0x239B
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 %rbx
callq 0x9b59a
movl %eax, %ebx
leaq (,%rbx,8), %rdi
leaq 0x3b593(%rip), %rsi     # 0xebb9a
movl $0x1d53, %edx           # imm = 0x1D53
callq 0xccb0
xorl %ecx, %ecx
cmpq %rcx, %rbx
je 0xb0622
andq $0x0, (%rax,%rcx,8)
incq %rcx
jmp 0xb0613
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xb34e9
pushq %rbx
movq %rdi, %rbx
callq 0xafd48
movq 0x70(%rbx), %rdi
callq 0x9b1c1
movq 0x58(%rbx), %rdi
callq 0x152db
leaq 0x386bf(%rip), %rsi     # 0xebb9a
movq %rbx, %rdi
movl $0x252a, %edx           # imm = 0x252A
popq %rbx
jmp 0xd249
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xb34fb
addq $0x30, %rdi
jmp 0xb3518
movq 0xf0(%rdi), %rax
testq %rax, %rax
je 0xb351d
cmpq %rsi, %rcx
jbe 0xb354b
shlq $0x4, %rsi
leaq (%rax,%rsi), %rdi
addq $0x8, %rdi
movq (%rdi), %rax
popq %rcx
retq
movq 0x7aa94(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x16b38(%rip), %rsi     # 0xca066
leaq 0x3b74e(%rip), %rdx     # 0xeec83
leaq 0x3b781(%rip), %rcx     # 0xeecbd
leaq 0x38657(%rip), %r8      # 0xebb9a
movl $0x2538, %r9d           # imm = 0x2538
jmp 0xb3577
movq 0x7aa66(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x16b0a(%rip), %rsi     # 0xca066
leaq 0x3b779(%rip), %rdx     # 0xeecdc
leaq 0x3b753(%rip), %rcx     # 0xeecbd
leaq 0x38629(%rip), %r8      # 0xebb9a
movl $0x2539, %r9d           # imm = 0x2539
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xb359b
cmpq $0x0, 0x278(%rdi)
je 0xb35f8
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 0xb35ca
movq 0x278(%rdi), %rdi
popq %rax
jmp 0xa641d
movq 0x7a9e7(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x16a8b(%rip), %rsi     # 0xca066
leaq 0x3d670(%rip), %rdx     # 0xf0c52
leaq 0x3b748(%rip), %rcx     # 0xeed31
leaq 0x385aa(%rip), %r8      # 0xebb9a
movl $0x254a, %r9d           # imm = 0x254A
jmp 0xb3624
movq 0x7a9b9(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x16a5d(%rip), %rsi     # 0xca066
leaq 0x3b6eb(%rip), %rdx     # 0xeecfb
leaq 0x3b71a(%rip), %rcx     # 0xeed31
leaq 0x3857c(%rip), %r8      # 0xebb9a
movl $0x2540, %r9d           # imm = 0x2540
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xb3641
cmpq $0x0, 0x278(%rdi)
je 0xb3659
testq %rsi, %rsi
je 0xb3656
movq 0x278(%rdi), %rax
movq -0x8(%rax,%rsi,8), %rax
incq %rax
retq
xorl %eax, %eax
retq
pushq %rax
movq 0x7a957(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x169fb(%rip), %rsi     # 0xca066
leaq 0x3b689(%rip), %rdx     # 0xeecfb
leaq 0x3b6ca(%rip), %rcx     # 0xeed43
leaq 0x3851a(%rip), %r8      # 0xebb9a
movl $0x2554, %r9d           # imm = 0x2554
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xb36a3
cmpq $0x0, 0x278(%rdi)
je 0xb36bf
testq %rsi, %rsi
je 0xb36bc
movq 0x278(%rdi), %rax
movq -0x8(%rax,%rsi,8), %rsi
incq %rsi
jmp 0xa6689
xorl %eax, %eax
retq
pushq %rax
movq 0x7a8f1(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x16995(%rip), %rsi     # 0xca066
leaq 0x3b623(%rip), %rdx     # 0xeecfb
leaq 0x3b67b(%rip), %rcx     # 0xeed5a
leaq 0x384b4(%rip), %r8      # 0xebb9a
movl $0x255d, %r9d           # imm = 0x255D
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/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 0xb379d
cmpb $0x0, 0x3a8(%rdi)
je 0xb379d
movb $0x0, 0x3a8(%rdi)
movq 0x30(%rdi), %rax
movq 0x40(%rdi), %rcx
movq %rcx, 0x48(%rdi)
movq %rax, 0x38(%rdi)
retq
pushq %rax
movq 0x7a813(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x168b7(%rip), %rsi     # 0xca066
leaq 0x3b661(%rip), %rdx     # 0xeee17
leaq 0x3b676(%rip), %rcx     # 0xeee33
leaq 0x383d6(%rip), %r8      # 0xebb9a
movl $0x25a1, %r9d           # imm = 0x25A1
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/core/bitpackarray.h
// Function: bitpackarray_new
static inline BitPackArray *
bitpackarray_new(unsigned bits, BitOffset numValues, bool withstorealloc)
{
  BitPackArray *newBPA = gt_malloc(sizeof (*newBPA));
  if (newBPA) {
    if (withstorealloc) {
      if (!(newBPA->store = gt_calloc(bitElemsAllocSize(bits*numValues),
                                      sizeof (BitElem)))) {
        gt_free(newBPA);
        return NULL;
      }
    } else {
      newBPA->store = NULL;
    }
    newBPA->bitsPerElem = bits;
    newBPA->numElems = numValues;
  }
  return newBPA;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %r15d
movq %rsi, %r14
movl %edi, %ebp
leaq 0x3b4df(%rip), %rsi     # 0xeeef8
pushq $0x18
popq %rdi
pushq $0x48
popq %rdx
callq 0xccb0
testq %rax, %rax
je 0xb3a75
movq %rax, %rbx
testb %r15b, %r15b
je 0xb3a79
movl %ebp, %eax
imulq %r14, %rax
movq %rax, %rdi
shrq $0x3, %rdi
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdi
leaq 0x3b4a8(%rip), %rdx     # 0xeeef8
pushq $0x1
popq %rsi
pushq $0x4c
popq %rcx
callq 0xce9a
movq %rax, (%rbx)
testq %rax, %rax
jne 0xb3a7d
leaq 0x3b48e(%rip), %rsi     # 0xeeef8
pushq $0x4d
popq %rdx
movq %rbx, %rdi
callq 0xd249
xorl %ebx, %ebx
jmp 0xb3a84
andq $0x0, (%rbx)
movl %ebp, 0x10(%rbx)
movq %r14, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xb442c
movb %cl, %al
movq 0x28(%rsi,%rax,8), %rax
movb 0x3c(%rax), %bl
testb %bl, %bl
jne 0xb4425
cmpb $0x0, 0x3a(%rax)
je 0xb445a
movups 0x18(%rax), %xmm0
movups %xmm0, (%rdi)
cmpb $0x1, 0x39(%rax)
jne 0xb4421
movq %rsi, %rdi
movl %edx, %esi
callq 0xa32f8
jmp 0xb4425
movb $0x1, 0x3c(%rax)
xorb $0x1, %bl
movl %ebx, %eax
popq %rbx
retq
movq 0x79b85(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x15c29(%rip), %rsi     # 0xca066
leaq 0x3b1cf(%rip), %rdx     # 0xef613
leaq 0x3b1ec(%rip), %rcx     # 0xef637
leaq 0x37748(%rip), %r8      # 0xebb9a
movl $0xdf8, %r9d            # imm = 0xDF8
jmp 0xb4486
movq 0x79b57(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x15bfb(%rip), %rsi     # 0xca066
leaq 0x3b1f6(%rip), %rdx     # 0xef668
leaq 0x3b1be(%rip), %rcx     # 0xef637
leaq 0x3771a(%rip), %r8      # 0xebb9a
movl $0xdfb, %r9d            # imm = 0xDFB
xorl %eax, %eax
callq 0xb8c0
callq 0xb300