LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/splicedseq.c
// Function: gt_splicedseq_add
void gt_splicedseq_add(Splicedseq *ss, GtUword start, GtUword end,
                       const char *original_sequence)
{
  GtUword i;
  gt_assert(ss && start <= end && original_sequence);
  gt_str_append_cstr_nt(ss->splicedseq, original_sequence,
                        end - start + 1);
  /* make sure elements are added in ascending order */
  gt_assert(!gt_array_size(ss->positionmapping) ||
            start > *(GtUword*) gt_array_get_last(ss->positionmapping));
  for (i = start; i <= end; i++)
    gt_array_add(ss->positionmapping, i);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0xdb7c0
movq %rdx, %rbx
movq %rsi, %r15
subq %rsi, %rdx
jb 0xdb7c0
testq %rcx, %rcx
je 0xdb7c0
movq %rdi, %r14
movq (%rdi), %rdi
incq %rdx
movq %rcx, %rsi
callq 0x3c185
movq 0x8(%r14), %rdi
callq 0x6ecda
testq %rax, %rax
je 0xdb784
movq 0x8(%r14), %rdi
callq 0x6ea1e
cmpq %r15, (%rax)
jae 0xdb7c5
movq %r15, 0x8(%rsp)
cmpq %r15, %rbx
jb 0xdb7b6
leaq 0x8(%rsp), %r15
movq 0x8(%r14), %rdi
movl $0x8, %edx
movq %r15, %rsi
callq 0x6ec0e
movq 0x8(%rsp), %rax
incq %rax
movq %rax, 0x8(%rsp)
cmpq %rbx, %rax
jbe 0xdb793
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
callq 0x33fef
callq 0x33fb8
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/splicedseq.c
// Function: gt_splicedseq_pos_is_border
bool gt_splicedseq_pos_is_border(const Splicedseq *ss, GtUword pos)
{
  gt_assert(ss &&
         gt_str_length(ss->splicedseq) == gt_array_size(ss->positionmapping));
  gt_assert(pos < gt_str_length(ss->splicedseq)); /* legal position */
  if (ss->forward && pos + 1 < gt_array_size(ss->positionmapping) &&
      *(GtUword*) gt_array_get(ss->positionmapping, pos) + 1 !=
      *(GtUword*) gt_array_get(ss->positionmapping, pos+1)) {
    return true;
  }
  if (!ss->forward && pos &&
      *(GtUword*) gt_array_get(ss->positionmapping, pos-1) - 1 !=
      *(GtUword*) gt_array_get(ss->positionmapping, pos)) {
    return true;
  }
  return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xdb89b
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
callq 0x3c434
movq %rax, %r15
movq 0x8(%r14), %rdi
callq 0x6ecda
cmpq %rax, %r15
jne 0xdb89b
movq (%r14), %rdi
callq 0x3c434
cmpq %rbx, %rax
jbe 0xdb8a0
cmpb $0x1, 0x10(%r14)
jne 0xdb858
leaq 0x1(%rbx), %r15
movq 0x8(%r14), %rdi
callq 0x6ecda
cmpq %rax, %r15
jae 0xdb858
movq 0x8(%r14), %rdi
movq %rbx, %rsi
callq 0x6e9fa
movq (%rax), %r12
incq %r12
movq 0x8(%r14), %rdi
movq %r15, %rsi
callq 0x6e9fa
movq %rax, %rcx
movb $0x1, %al
cmpq (%rcx), %r12
jne 0xdb88f
testq %rbx, %rbx
je 0xdb88d
cmpb $0x0, 0x10(%r14)
jne 0xdb88d
movq 0x8(%r14), %rdi
leaq -0x1(%rbx), %rsi
callq 0x6e9fa
movq (%rax), %r15
decq %r15
movq 0x8(%r14), %rdi
movq %rbx, %rsi
callq 0x6e9fa
movq %rax, %rcx
movb $0x1, %al
cmpq (%rcx), %r15
jne 0xdb88f
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x3405d
callq 0x34026
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/splicedseq.c
// Function: gt_splicedseq_map
GtUword gt_splicedseq_map(const Splicedseq *ss, GtUword pos)
{
  gt_assert(ss &&
         gt_str_length(ss->splicedseq) == gt_array_size(ss->positionmapping));
  gt_assert(pos < gt_str_length(ss->splicedseq)); /* legal position */
  return *(GtUword*) gt_array_get(ss->positionmapping, pos);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0xdb8f0
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
callq 0x3c434
movq %rax, %r15
movq 0x8(%r14), %rdi
callq 0x6ecda
cmpq %rax, %r15
jne 0xdb8f0
movq (%r14), %rdi
callq 0x3c434
cmpq %rbx, %rax
jbe 0xdb8f5
movq 0x8(%r14), %rdi
movq %rbx, %rsi
callq 0x6e9fa
movq (%rax), %rax
popq %rbx
popq %r14
popq %r15
retq
callq 0x340cb
callq 0x34094
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/splicedseq.c
// Function: gt_splicedseq_reverse
int gt_splicedseq_reverse(Splicedseq *ss, GtError *err)
{
  int had_err;
  gt_error_check(err);
  gt_assert(ss);
  had_err = gt_reverse_complement(gt_str_get(ss->splicedseq),
                               gt_str_length(ss->splicedseq), err);
  if (!had_err) {
    gt_array_reverse(ss->positionmapping);
    ss->forward = !ss->forward;
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
je 0xdb92b
movq %r14, %rdi
callq 0x3566a
testb %al, %al
jne 0xdb976
testq %rbx, %rbx
je 0xdb971
movq (%rbx), %rdi
callq 0x3c40b
movq %rax, %r15
movq (%rbx), %rdi
callq 0x3c434
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0xa99bc
movl %eax, %ebp
testl %eax, %eax
jne 0xdb964
movq 0x8(%rbx), %rdi
callq 0x6eb46
xorb $0x1, 0x10(%rbx)
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x34170
callq 0x34139
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/splicedseq.c
// Function: gt_splicedseq_reset
void gt_splicedseq_reset(Splicedseq *ss)
{
  gt_assert(ss);
  gt_str_reset(ss->splicedseq);
  gt_array_reset(ss->positionmapping);
  ss->forward = true;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0xdb99b
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x3c49c
movq 0x8(%rbx), %rdi
callq 0x6ed13
movb $0x1, 0x10(%rbx)
popq %rbx
retq
callq 0x341a7
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/splicedseq.c
// Function: gt_splicedseq_unit_test
int gt_splicedseq_unit_test(GtError *err)
{
  Splicedseq *ss;
  int had_err = 0;
  gt_error_check(err);
  ss = gt_splicedseq_new();
  had_err = check_splicedseq(ss, err);
  if (!had_err) {
    gt_splicedseq_reset(ss);
    had_err = check_splicedseq(ss, err);
  }
  gt_splicedseq_delete(ss);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
je 0xdb9b8
movq %rbx, %rdi
callq 0x3566a
testb %al, %al
jne 0xdb9f5
callq 0xdb700
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0xdb9fa
movl %eax, %ebp
testl %eax, %eax
jne 0xdb9e6
movq %r14, %rdi
callq 0xdb97b
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdb9fa
movl %eax, %ebp
movq %r14, %rdi
callq 0xdbbc3
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
callq 0x341de
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/splicedseq.c
// Function: check_splicedseq
static int check_splicedseq(Splicedseq *ss, GtError *err)
{                       /*0123456789*/
  static char *origseq = "aaccaagtga", *splicedseq = "ccgtg";
  int had_err = 0;
  gt_error_check(err);
  gt_splicedseq_add(ss, 2, 3, origseq + 2);
  gt_splicedseq_add(ss, 6, 8, origseq + 6);
  gt_ensure(strcmp(gt_splicedseq_get(ss), splicedseq) == 0);
  gt_ensure(!gt_splicedseq_pos_is_border(ss, 0));
  gt_ensure(gt_splicedseq_pos_is_border(ss, 1));
  gt_ensure(!gt_splicedseq_pos_is_border(ss, 2));
  gt_ensure(!gt_splicedseq_pos_is_border(ss, 3));
  gt_ensure(!gt_splicedseq_pos_is_border(ss, 4));
  return had_err;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0xdba19
movq %rbx, %rdi
callq 0x3566a
testb %al, %al
jne 0xdbbbe
leaq 0x30517(%rip), %rcx     # 0x10bf37
movl $0x2, %esi
movl $0x3, %edx
movq %r14, %rdi
callq 0xdb739
leaq 0x30502(%rip), %rcx     # 0x10bf3b
movl $0x6, %esi
movl $0x8, %edx
movq %r14, %rdi
callq 0xdb739
movq (%r14), %rdi
callq 0x3c40b
leaq 0x304e6(%rip), %rsi     # 0x10bf40
movq %rax, %rdi
callq 0xb890
testl %eax, %eax
je 0xdba90
leaq 0x770c(%rip), %rsi      # 0xe3179
leaq 0x304e3(%rip), %rdx     # 0x10bf57
leaq 0x304cb(%rip), %rcx     # 0x10bf46
leaq 0x3030a(%rip), %r8      # 0x10bd8c
movq %rbx, %rdi
movl $0x79, %r9d
jmp 0xdbb33
movq %r14, %rdi
xorl %esi, %esi
callq 0xdb7d2
testb %al, %al
je 0xdbac5
leaq 0x76d4(%rip), %rsi      # 0xe3179
leaq 0x304da(%rip), %rdx     # 0x10bf86
leaq 0x30493(%rip), %rcx     # 0x10bf46
leaq 0x302d2(%rip), %r8      # 0x10bd8c
movq %rbx, %rdi
movl $0x7a, %r9d
jmp 0xdbb33
movl $0x1, %esi
movq %r14, %rdi
callq 0xdb7d2
testb %al, %al
je 0xdbb0e
movl $0x2, %esi
movq %r14, %rdi
callq 0xdb7d2
testb %al, %al
je 0xdbb47
leaq 0x768b(%rip), %rsi      # 0xe3179
leaq 0x304d8(%rip), %rdx     # 0x10bfcd
leaq 0x3044a(%rip), %rcx     # 0x10bf46
leaq 0x30289(%rip), %r8      # 0x10bd8c
movq %rbx, %rdi
movl $0x7c, %r9d
jmp 0xdbb33
leaq 0x7664(%rip), %rsi      # 0xe3179
leaq 0x3048e(%rip), %rdx     # 0x10bfaa
leaq 0x30423(%rip), %rcx     # 0x10bf46
leaq 0x30262(%rip), %r8      # 0x10bd8c
movq %rbx, %rdi
movl $0x7b, %r9d
xorl %eax, %eax
callq 0x3559f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x3, %esi
movq %r14, %rdi
callq 0xdb7d2
testb %al, %al
je 0xdbb7f
leaq 0x761a(%rip), %rsi      # 0xe3179
leaq 0x3048b(%rip), %rdx     # 0x10bff1
leaq 0x303d9(%rip), %rcx     # 0x10bf46
leaq 0x30218(%rip), %r8      # 0x10bd8c
movq %rbx, %rdi
movl $0x7d, %r9d
jmp 0xdbb33
movl $0x4, %esi
movq %r14, %rdi
callq 0xdb7d2
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
je 0xdbb3f
leaq 0x75de(%rip), %rsi      # 0xe3179
leaq 0x30473(%rip), %rdx     # 0x10c015
leaq 0x3039d(%rip), %rcx     # 0x10bf46
leaq 0x301dc(%rip), %r8      # 0x10bd8c
movq %rbx, %rdi
movl $0x7e, %r9d
jmp 0xdbb33
callq 0x34217
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/splicedseq.c
// Function: gt_splicedseq_delete
void gt_splicedseq_delete(Splicedseq *ss)
{
  if (!ss) return;
  gt_str_delete(ss->splicedseq);
  gt_array_delete(ss->positionmapping);
  gt_free(ss);
}

// Assembly:
testq %rdi, %rdi
je 0xdbbf2
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x3d1eb
movq 0x8(%rbx), %rdi
callq 0x6f134
leaq 0x301a8(%rip), %rsi     # 0x10bd8c
movq %rbx, %rdi
movl $0x96, %edx
popq %rbx
jmp 0x362a0
retq
nop
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/external/bzip2-1.0.6/huffman.c
// Function: BZ2_hbAssignCodes
void BZ2_hbAssignCodes ( Int32 *code,
                         UChar *length,
                         Int32 minLen,
                         Int32 maxLen,
                         Int32 alphaSize )
{
   Int32 n, vec, i;

   vec = 0;
   for (n = minLen; n <= maxLen; n++) {
      for (i = 0; i < alphaSize; i++)
         if (length[i] == n) { code[i] = vec; vec++; };
      vec <<= 1;
   }
}

// Assembly:
cmpl %ecx, %edx
jg 0xdd976
movl %r8d, %eax
xorl %r9d, %r9d
testl %r8d, %r8d
jle 0xdd968
xorl %r10d, %r10d
movzbl (%rsi,%r10), %r11d
cmpl %r11d, %edx
jne 0xdd960
movl %r9d, (%rdi,%r10,4)
incl %r9d
incq %r10
cmpq %r10, %rax
jne 0xdd94f
addl %r9d, %r9d
leal 0x1(%rdx), %r10d
cmpl %ecx, %edx
movl %r10d, %edx
jne 0xdd947
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/external/bzip2-1.0.6/huffman.c
// Function: BZ2_hbCreateDecodeTables
void BZ2_hbCreateDecodeTables ( Int32 *limit,
                                Int32 *base,
                                Int32 *perm,
                                UChar *length,
                                Int32 minLen,
                                Int32 maxLen,
                                Int32 alphaSize )
{
   Int32 pp, i, j, vec;

   pp = 0;
   for (i = minLen; i <= maxLen; i++)
      for (j = 0; j < alphaSize; j++)
         if (length[j] == i) { perm[pp] = j; pp++; };

   for (i = 0; i < BZ_MAX_CODE_LEN; i++) base[i] = 0;
   for (i = 0; i < alphaSize; i++) base[length[i]+1]++;

   for (i = 1; i < BZ_MAX_CODE_LEN; i++) base[i] += base[i-1];

   for (i = 0; i < BZ_MAX_CODE_LEN; i++) limit[i] = 0;
   vec = 0;

   for (i = minLen; i <= maxLen; i++) {
      vec += (base[i+1] - base[i]);
      limit[i] = vec-1;
      vec <<= 1;
   }
   for (i = minLen + 1; i <= maxLen; i++)
      base[i] = ((limit[i-1] + 1) << 1) - base[i];
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl 0x20(%rsp), %r10d
movl %r10d, %eax
cmpl %r9d, %r8d
jg 0xdd9bb
xorl %r11d, %r11d
movl %r8d, %ebx
testl %r10d, %r10d
jle 0xdd9b1
xorl %r14d, %r14d
movzbl (%rcx,%r14), %ebp
cmpl %ebp, %ebx
jne 0xdd9a9
movslq %r11d, %r11
movl %r14d, (%rdx,%r11,4)
incl %r11d
incq %r14
cmpq %r14, %rax
jne 0xdd996
leal 0x1(%rbx), %ebp
cmpl %r9d, %ebx
movl %ebp, %ebx
jne 0xdd98e
xorps %xmm0, %xmm0
movups %xmm0, 0x4c(%rsi)
movups %xmm0, 0x40(%rsi)
movups %xmm0, 0x30(%rsi)
movups %xmm0, 0x20(%rsi)
movups %xmm0, 0x10(%rsi)
movups %xmm0, (%rsi)
testl %r10d, %r10d
jle 0xdd9ee
xorl %edx, %edx
movzbl (%rcx,%rdx), %r10d
incl 0x4(%rsi,%r10,4)
incq %rdx
cmpq %rdx, %rax
jne 0xdd9dc
movl (%rsi), %eax
movl $0x1, %ecx
addl (%rsi,%rcx,4), %eax
movl %eax, (%rsi,%rcx,4)
incq %rcx
cmpq $0x17, %rcx
jne 0xdd9f5
xorps %xmm0, %xmm0
movups %xmm0, 0x4c(%rdi)
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
cmpl %r9d, %r8d
jg 0xdda61
movslq %r8d, %rcx
leaq (%rsi,%rcx,4), %rax
addq $0x4, %rax
leaq (%rdi,%rcx,4), %rcx
movl %r9d, %edx
subl %r8d, %edx
incl %edx
xorl %r10d, %r10d
xorl %r11d, %r11d
movl (%rax,%r10,4), %ebx
subl -0x4(%rax,%r10,4), %ebx
leal (%rbx,%r11), %ebp
decl %ebp
addl %ebx, %r11d
movl %ebp, (%rcx,%r10,4)
addl %r11d, %r11d
incq %r10
cmpl %r10d, %edx
jne 0xdda40
cmpl %r9d, %r8d
jge 0xdda88
movslq %r8d, %rcx
movslq %r9d, %rax
movl (%rdi,%rcx,4), %edx
addl %edx, %edx
subl 0x4(%rsi,%rcx,4), %edx
addl $0x2, %edx
movl %edx, 0x4(%rsi,%rcx,4)
leaq 0x1(%rcx), %rdx
movq %rdx, %rcx
cmpq %rdx, %rax
jne 0xdda6c
popq %rbx
popq %r14
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/bitpackstringop32.c
// Function: gt_bsGetUInt32
uint32_t
gt_bsGetUInt32(constBitString str, BitOffset offset, unsigned numBits)
{
  GtUword accum = 0;
  unsigned bitsLeft = numBits, bitTop = offset%bitElemBits;
  size_t elemStart = offset/bitElemBits;
  const BitElem *p = str + elemStart;
  gt_assert(str);
#ifndef NDEBUG
  if (numBits > sizeof (accum)*CHAR_BIT)
    fprintf(stderr, "numBits = %u\n", numBits);
#endif
  gt_assert(numBits <= sizeof (accum)*CHAR_BIT);
  if (bitTop)
  {
    GtUword mask;
    unsigned bits2Read = GT_MIN(bitElemBits - bitTop, bitsLeft);
    unsigned unreadRightBits = (bitElemBits - bitTop - bits2Read);
    mask = (~((~(GtUword)0) << bits2Read)) << unreadRightBits;
    accum = ((*p++) & mask) >> unreadRightBits;
    bitsLeft -= bits2Read;
  }
  /* get bits from intervening elems */
  while (bitsLeft >= bitElemBits)
  {
    accum = accum << bitElemBits | (*p++);
    bitsLeft -= bitElemBits;
  }
  /* get bits from last elem */
  if (bitsLeft)
  {
    accum = accum << bitsLeft |
      (((*p) & ((~(GtUword)0)<<(bitElemBits - bitsLeft)))
       >>(bitElemBits - bitsLeft));
  }
  return accum;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0xddb6d
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
cmpl $0x41, %edx
jae 0xddb4e
cmpl $0x41, %ebx
jae 0xddb72
movq %r15, %rax
shrq $0x3, %rax
andl $0x7, %r15d
addq %rax, %r14
testl %r15d, %r15d
je 0xddafe
movl $0x8, %edx
subl %r15d, %edx
cmpl %ebx, %edx
movl %ebx, %esi
cmovbl %edx, %esi
subl %esi, %edx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %esi, %ecx
shll %cl, %eax
notl %eax
movl %edx, %ecx
shlq %cl, %rax
movzbl (%r14), %ecx
incq %r14
andl %ecx, %eax
movl %edx, %ecx
shrq %cl, %rax
subl %esi, %ebx
jmp 0xddb00
xorl %eax, %eax
cmpl $0x8, %ebx
jb 0xddb2b
leal -0x8(%rbx), %ecx
shrl $0x3, %ecx
incl %ecx
movq %r14, %rdx
movq %rax, %rsi
shlq $0x8, %rsi
movzbl (%rdx), %eax
incq %rdx
orq %rsi, %rax
addl $-0x8, %ebx
cmpl $0x7, %ebx
ja 0xddb10
addq %rcx, %r14
testl %ebx, %ebx
je 0xddb48
movl %ebx, %ecx
shlq %cl, %rax
movzbl (%r14), %edx
movb $0x8, %cl
subb %bl, %cl
shrq %cl, %rdx
shlq %cl, %rdx
shrq %cl, %rdx
orq %rdx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq 0x7346b(%rip), %rax     # 0x150fc0
movq (%rax), %rdi
leaq 0x2e6b5(%rip), %rsi     # 0x10c214
movl %ebx, %edx
xorl %eax, %eax
callq 0xb8d0
jmp 0xddaaf
callq 0x3433f
callq 0x34308
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/bitpackstringop32.c
// Function: gt_bsStoreUInt32
void
gt_bsStoreUInt32(BitString str, BitOffset offset,
                 unsigned numBits, uint32_t val)
{
  unsigned bitsLeft = numBits,
    bitTop = offset%bitElemBits;
  size_t elemStart = offset/bitElemBits;
  BitElem *p = str + elemStart;
  gt_assert(str);
  gt_assert(numBits <= sizeof (val)*CHAR_BIT);
  /* set bits of first element, accounting for bits to be preserved */
  if (bitTop)
  {
    GtUword mask = ~(GtUword)0;
    if (bitElemBits < (sizeof (GtUword)*CHAR_BIT))
    {
      mask <<= bitElemBits;
    }
    else
    {
      mask = 0;
    }
    mask = (~mask) >> bitTop;
    if (numBits < bitElemBits - bitTop)
    {
      unsigned backShift = bitElemBits - numBits - bitTop;
      mask &= ~(GtUword)0 << backShift;
      *p = (*p & ~mask) | ((val << backShift) & mask);
      /* TODO: try wether  r = a ^ ((a ^ b) & mask) is faster, see below */
      return;
    }
    else
    {
      bitsLeft -= bitElemBits - bitTop;
      *p = (*p & ~mask) | ((val >> bitsLeft) & mask);
      ++p;
    }
  }
  /* set bits for intervening elems */
  while (bitsLeft >= bitElemBits)
  {
    bitsLeft -= bitElemBits;
    *p++ = val >> bitsLeft;
  }
  /* set bits for last elem */
  if (bitsLeft)
  {
    GtUword mask =
      ((~(GtUword)0)<<(bitElemBits - bitsLeft));
    if (bitElemBits < (sizeof (GtUword)*CHAR_BIT))
      mask &= (~(~(GtUword)0<<bitElemBits));
    *p = (*p & ~mask) | ((val << (bitElemBits - bitsLeft)) & mask);
  }
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0xddc56
cmpl $0x21, %edx
jae 0xddc5b
movl %ecx, %eax
movl %esi, %r11d
andl $0x7, %r11d
movq %rsi, %rcx
shrq $0x3, %rcx
addq %rcx, %rdi
testl %r11d, %r11d
je 0xddc1d
andl $0x7, %esi
movl $0xff, %r10d
movl %esi, %ecx
shrq %cl, %r10
movl $0x8, %r9d
subl %r11d, %r9d
movl %edx, %r8d
subl %r9d, %r8d
jae 0xddbf0
addl %edx, %r11d
movb $0x8, %cl
subb %r11b, %cl
movq $-0x1, %rsi
shlq %cl, %rsi
andl %esi, %r10d
movzbl (%rdi), %esi
movl %eax, %r8d
shll %cl, %r8d
xorl %esi, %r8d
andl %r10d, %r8d
xorl %esi, %r8d
movb %r8b, (%rdi)
movl %edx, %r8d
jmp 0xddc15
movq $-0x100, %r11
movl %esi, %ecx
sarq %cl, %r11
movzbl (%rdi), %ecx
andl %ecx, %r11d
movl %eax, %esi
movl %r8d, %ecx
shrl %cl, %esi
andl %esi, %r10d
orl %r11d, %r10d
movb %r10b, (%rdi)
incq %rdi
cmpl %r9d, %edx
movl %r8d, %edx
jb 0xddc54
cmpl $0x8, %edx
jb 0xddc36
addl $-0x8, %edx
movl %eax, %esi
movl %edx, %ecx
shrl %cl, %esi
movb %sil, (%rdi)
incq %rdi
cmpl $0x7, %edx
ja 0xddc22
testl %edx, %edx
je 0xddc54
movb $0x8, %cl
subb %dl, %cl
movl $0xfe, %edx
shrl %cl, %edx
shll %cl, %edx
movzbl (%rdi), %esi
shll %cl, %eax
xorl %esi, %eax
andl %edx, %eax
xorl %esi, %eax
movb %al, (%rdi)
popq %rax
retq
callq 0x343ad
callq 0x34376
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/md5_fingerprint.c
// Function: gt_md5_fingerprint
char* gt_md5_fingerprint(const char *sequence, GtUword seqlen)
{
  unsigned char output[16];
  char buf[64];
  char *fingerprint;
  GtMD5Encoder *enc;
  GtUword i, pos = 0;

  enc = gt_md5_encoder_new();
  for (i = 0; i < seqlen; i++) {
    if (pos == 64) {
      gt_md5_encoder_add_block(enc, buf, 64);
      pos = 0;
    }
    buf[pos++] = toupper(sequence[i]);
  }
  gt_md5_encoder_add_block(enc, buf, pos);
  fingerprint = gt_calloc(33, sizeof (char));
  gt_md5_encoder_finish(enc, output, fingerprint);

  gt_md5_encoder_delete(enc);
  return fingerprint;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %r15
callq 0xd6b60
movq %rax, %rbx
testq %r14, %r14
je 0xdec9e
xorl %ebp, %ebp
leaq 0x10(%rsp), %r12
xorl %r13d, %r13d
cmpq $0x40, %r13
jne 0xdec7c
movl $0x40, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0xd6bcf
xorl %r13d, %r13d
callq 0xb0b0
movq (%rax), %rax
movsbq (%r15,%rbp), %rcx
movb (%rax,%rcx,4), %al
movb %al, 0x10(%rsp,%r13)
incq %r13
incq %rbp
cmpq %rbp, %r14
jne 0xdec63
jmp 0xdeca1
xorl %r13d, %r13d
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq %r13, %rdx
callq 0xd6bcf
leaq 0x2d73a(%rip), %rdx     # 0x10c3f2
movl $0x21, %edi
movl $0x1, %esi
movl $0x2b, %ecx
callq 0x3601f
movq %rax, %r14
movq %rsp, %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0xd6fcd
movq %rbx, %rdi
callq 0xd7178
movq %r14, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_gene.c
// Function: gt_csa_gene_new
GtCSAGene* gt_csa_gene_new(GtCSASpliceForm *splice_form)
{
  GtCSAGene *gene;
  gt_assert(splice_form);
  gene = gt_malloc(sizeof *gene);
  gene->splice_forms = gt_array_new(sizeof (GtCSASpliceForm*));
  gt_array_add(gene->splice_forms, splice_form);
  return gene;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, 0x8(%rsp)
testq %rdi, %rdi
je 0xdeebc
leaq 0x2d5e4(%rip), %rsi     # 0x10c466
movl $0x8, %edi
movl $0x1d, %edx
callq 0x35ee2
movq %rax, %rbx
movl $0x8, %edi
callq 0x6e93c
movq %rax, (%rbx)
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
movq %rax, %rdi
callq 0x6ec0e
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
callq 0x34901
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_gene.c
// Function: gt_csa_gene_delete
void gt_csa_gene_delete(GtCSAGene *gene)
{
  GtUword i;
  if (!gene) return;
  for (i = 0; i < gt_array_size(gene->splice_forms); i++) {
    gt_csa_splice_form_delete(*(GtCSASpliceForm**)
                              gt_array_get(gene->splice_forms, i));
  }
  gt_array_delete(gene->splice_forms);
  gt_free(gene);
}

// Assembly:
testq %rdi, %rdi
je 0xdef23
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x6ecda
testq %rax, %rax
je 0xdef00
xorl %r14d, %r14d
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x6e9fa
movq (%rax), %rdi
callq 0xdf0c4
incq %r14
movq (%rbx), %rdi
callq 0x6ecda
cmpq %rax, %r14
jb 0xdeedd
movq (%rbx), %rdi
callq 0x6f134
leaq 0x2d557(%rip), %rsi     # 0x10c466
movq %rbx, %rdi
movl $0x2c, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x362a0
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_gene.c
// Function: gt_csa_gene_add_splice_form
void gt_csa_gene_add_splice_form(GtCSAGene *gene, GtCSASpliceForm *splice_form)
{
  gt_assert(gene && splice_form);
  gt_assert(gt_csa_splice_form_strand(*(GtCSASpliceForm**)
                                gt_array_get(gene->splice_forms, 0)) ==
         gt_csa_splice_form_strand(splice_form));
  gt_array_add(gene->splice_forms, splice_form);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, (%rsp)
testq %rdi, %rdi
je 0xdef70
testq %rsi, %rsi
je 0xdef70
movq %rdi, %rbx
movq (%rdi), %rdi
xorl %esi, %esi
callq 0x6e9fa
movq (%rax), %rdi
callq 0xdf170
movl %eax, %ebp
movq (%rsp), %rdi
callq 0xdf170
cmpl %eax, %ebp
jne 0xdef75
movq (%rbx), %rdi
movq %rsp, %rsi
movl $0x8, %edx
callq 0x6ec0e
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x34938
callq 0x3496f
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_gene.c
// Function: gt_csa_gene_genomic_range
GtRange gt_csa_gene_genomic_range(const GtCSAGene *gene)
{
  GtRange gene_range, tmp_range;
  GtUword i;
  gt_assert(gene);
  gene_range.start = ~0UL;
  gene_range.end = 0UL;
  for (i = 0; i < gt_array_size(gene->splice_forms); i++) {
    tmp_range = gt_csa_splice_form_genomic_range(*(GtCSASpliceForm**)
                                              gt_array_get(gene->splice_forms,
                                                           i));
    if (tmp_range.start < gene_range.start)
      gene_range.start = tmp_range.start;
    if (tmp_range.end > gene_range.end)
      gene_range.end = tmp_range.end;
  }
  return gene_range;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xdf012
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x6ecda
movq $-0x1, %r14
xorl %r15d, %r15d
testq %rax, %rax
je 0xdf000
xorl %r12d, %r12d
movq (%rbx), %rdi
movq %r12, %rsi
callq 0x6e9fa
movq (%rax), %rdi
callq 0xdf1c0
cmpq %r14, %rax
cmovbq %rax, %r14
cmpq %r15, %rdx
cmovaq %rdx, %r15
incq %r12
movq (%rbx), %rdi
callq 0x6ecda
cmpq %rax, %r12
jb 0xdefcf
movq %r14, %rax
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x34a14
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_gene.c
// Function: gt_csa_gene_get_representative
void* gt_csa_gene_get_representative(const GtCSAGene *gene)
{
  gt_assert(gene);
  return gt_csa_splice_form_get_representative(*(GtCSASpliceForm**)
                                            gt_array_get(gene->splice_forms,
                                                         0));
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0xdf04e
movq (%rdi), %rdi
xorl %esi, %esi
callq 0x6e9fa
movq (%rax), %rdi
popq %rax
jmp 0xdf233
callq 0x34a82
nop
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_splice_form.c
// Function: gt_csa_splice_form_new
GtCSASpliceForm* gt_csa_splice_form_new(void *spliced_alignment,
                                   GtGetGenomicRangeFunc get_genomic_range,
                                   GtGetStrandFunc get_strand)
{
  GtCSASpliceForm *splice_form;
  gt_assert(spliced_alignment && get_strand);
  splice_form = gt_malloc(sizeof (*splice_form));
  splice_form->spliced_alignments = gt_array_new(sizeof (void*));
  gt_array_add(splice_form->spliced_alignments, spliced_alignment);
  splice_form->get_genomic_range = get_genomic_range;
  splice_form->get_strand = get_strand;
  return splice_form;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, 0x8(%rsp)
testq %rdi, %rdi
je 0xdf0bf
movq %rdx, %rbx
testq %rdx, %rdx
je 0xdf0bf
movq %rsi, %r14
leaq 0x2d572(%rip), %rsi     # 0x10c5eb
movl $0x18, %edi
movl $0x22, %edx
callq 0x35ee2
movq %rax, %r15
movl $0x8, %edi
callq 0x6e93c
movq %rax, (%r15)
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
movq %rax, %rdi
callq 0x6ec0e
movq %r14, 0x8(%r15)
movq %rbx, 0x10(%r15)
movq %r15, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
callq 0x34ab9
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_splice_form.c
// Function: gt_csa_splice_form_add_sa
void gt_csa_splice_form_add_sa(GtCSASpliceForm *splice_form,
                               void *spliced_alignment)
{
  gt_assert(splice_form);
  gt_assert(csa_splice_form_start(splice_form) <=
         splice_form->get_genomic_range(spliced_alignment).start);
  gt_assert(gt_csa_splice_form_strand(splice_form) ==
         splice_form->get_strand(spliced_alignment));
  gt_array_add(splice_form->spliced_alignments, spliced_alignment);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, 0x8(%rsp)
testq %rdi, %rdi
je 0xdf161
movq %rdi, %rbx
movq (%rdi), %rdi
movq 0x8(%rbx), %r14
xorl %esi, %esi
callq 0x6e9fa
movq (%rax), %rdi
callq *%r14
movq %rax, %r14
movq 0x8(%rsp), %rdi
callq *0x8(%rbx)
cmpq %rax, %r14
ja 0xdf166
movq (%rbx), %rdi
movq 0x10(%rbx), %r14
xorl %esi, %esi
callq 0x6e9fa
movq (%rax), %rdi
callq *%r14
movl %eax, %ebp
movq 0x8(%rsp), %rdi
callq *0x10(%rbx)
cmpl %eax, %ebp
jne 0xdf16b
movq (%rbx), %rdi
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
callq 0x6ec0e
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
callq 0x34b5e
callq 0x34b27
callq 0x34af0
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_splice_form.c
// Function: gt_csa_splice_form_strand
GtStrand gt_csa_splice_form_strand(const GtCSASpliceForm *splice_form)
{
  gt_assert(splice_form);
  return splice_form->get_strand(*(void**)
                                 gt_array_get(splice_form->spliced_alignments,
                                              0));
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0xdf190
movq (%rdi), %rax
movq 0x10(%rdi), %rbx
movq %rax, %rdi
xorl %esi, %esi
callq 0x6e9fa
movq (%rax), %rdi
movq %rbx, %rax
popq %rbx
jmpq *%rax
callq 0x34b95
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_splice_form.c
// Function: gt_csa_splice_form_genomic_range
GtRange gt_csa_splice_form_genomic_range(const GtCSASpliceForm *splice_form)
{
  GtRange splice_form_range, tmp_range;
  GtUword i;
  gt_assert(splice_form);
  splice_form_range.start = ~0UL;
  splice_form_range.end = 0UL;
  for (i = 0; i < gt_array_size(splice_form->spliced_alignments); i++) {
    tmp_range = splice_form->get_genomic_range(*(void**)
                                               gt_array_get(splice_form
                                                         ->spliced_alignments,
                                                         i));
    if (tmp_range.start < splice_form_range.start)
      splice_form_range.start = tmp_range.start;
    if (tmp_range.end > splice_form_range.end)
      splice_form_range.end = tmp_range.end;
  }
  return splice_form_range;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0xdf22e
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x6ecda
movq $-0x1, %r14
xorl %r15d, %r15d
testq %rax, %rax
je 0xdf21e
xorl %r12d, %r12d
movq (%rbx), %rdi
movq 0x8(%rbx), %r13
movq %r12, %rsi
callq 0x6e9fa
movq (%rax), %rdi
callq *%r13
cmpq %r14, %rax
cmovbq %rax, %r14
cmpq %r15, %rdx
cmovaq %rdx, %r15
incq %r12
movq (%rbx), %rdi
callq 0x6ecda
cmpq %rax, %r12
jb 0xdf1eb
movq %r14, %rax
movq %r15, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x34c3a
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/csa_variable_strands.c
// Function: store_splice_form
static void store_splice_form(GtArray *spliced_alignments_in_form,
                              const void *set_of_sas,
                              GT_UNUSED GtUword number_of_sas,
                              size_t size_of_sa, void *data)
{
  StoreSpliceFormInfo *info = data;
  GtCSASpliceForm *splice_form;
  GtUword i, sa;
  gt_assert(info);
  gt_assert(spliced_alignments_in_form &&
         gt_array_size(spliced_alignments_in_form));
  sa = *(GtUword*) gt_array_get(spliced_alignments_in_form, 0);
  splice_form = gt_csa_splice_form_new((char*) set_of_sas + sa * size_of_sa,
                                    info->get_genomic_range, info->get_strand);
  for (i = 1; i < gt_array_size(spliced_alignments_in_form); i++) {
    sa = *(GtUword*) gt_array_get(spliced_alignments_in_form, i);
    gt_csa_splice_form_add_sa(splice_form,
                              (char*) set_of_sas + sa * size_of_sa);
  }
  gt_array_add(info->splice_forms, splice_form);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
testq %r8, %r8
je 0xdf534
movq %rdi, %r12
testq %rdi, %rdi
je 0xdf52f
movq %r8, %rbx
movq %rcx, %r14
movq %rsi, %r15
movq %r12, %rdi
callq 0x6ecda
testq %rax, %rax
je 0xdf52f
movq %r12, %rdi
xorl %esi, %esi
callq 0x6e9fa
movq (%rax), %rdi
imulq %r14, %rdi
addq %r15, %rdi
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
callq 0xdf054
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0x6ecda
cmpq $0x2, %rax
jb 0xdf50f
movl $0x1, %r13d
movq %r12, %rdi
movq %r13, %rsi
callq 0x6e9fa
movq 0x8(%rsp), %rdi
movq (%rax), %rsi
imulq %r14, %rsi
addq %r15, %rsi
callq 0xdf0eb
incq %r13
movq %r12, %rdi
callq 0x6ecda
cmpq %rax, %r13
jb 0xdf4e0
movq (%rbx), %rdi
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
callq 0x6ec0e
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x34dbb
callq 0x34df2
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/consensus_sa.c
// Function: extract_strand
static GtStrand extract_strand(const ConsensusSA *csa, GtUword sa)
{
  GtStrand strand;
  gt_assert(csa && csa->set_of_sas && sa < csa->number_of_sas);
  strand = csa->get_strand((char*) csa->set_of_sas + csa->size_of_sa * sa);
  /* XXX */
  gt_assert(strand == GT_STRAND_FORWARD || strand == GT_STRAND_REVERSE);
  return strand;
}

// Assembly:
pushq %rax
movq %rdi, %rax
movq (%rdi), %rdi
testq %rdi, %rdi
je 0xe01be
cmpq %rsi, 0x8(%rax)
jbe 0xe01be
imulq 0x10(%rax), %rsi
addq %rsi, %rdi
callq *0x20(%rax)
cmpl $0x2, %eax
jae 0xe01c3
popq %rcx
retq
callq 0x35098
callq 0x35061
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/consensus_sa.c
// Function: extract_exons
static void extract_exons(const ConsensusSA *csa, GtArray *exon_ranges,
                          GtUword sa)
{
  gt_assert(csa && exon_ranges && csa->set_of_sas && sa < csa->number_of_sas);
  csa->get_exons(exon_ranges, (char*) csa->set_of_sas + csa->size_of_sa * sa);
  gt_assert(gt_array_size(exon_ranges));
  gt_assert(gt_ranges_are_sorted_and_do_not_overlap(exon_ranges));
}

// Assembly:
pushq %rbx
testq %rsi, %rsi
je 0xe020b
movq %rsi, %rbx
movq %rdi, %rax
movq (%rdi), %rsi
testq %rsi, %rsi
je 0xe020b
cmpq %rdx, 0x8(%rax)
jbe 0xe020b
imulq 0x10(%rax), %rdx
addq %rdx, %rsi
movq %rbx, %rdi
callq *0x28(%rax)
movq %rbx, %rdi
callq 0x6ecda
testq %rax, %rax
je 0xe0210
movq %rbx, %rdi
callq 0x7eb00
testb %al, %al
je 0xe0215
popq %rbx
retq
callq 0x3513d
callq 0x35106
callq 0x350cf
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/consensus_sa.c
// Function: compute_left_or_right
static void compute_left_or_right(GtBittab **left_or_right,
                                  const ConsensusSA *csa,
                                  bool (*cmp_func) (const ConsensusSA *csa,
                                                    GtUword sa_1,
                                                    GtUword sa_2))
{
  GtUword sa, sa_1;
  gt_assert(csa && left_or_right && *left_or_right);
  for (sa = 0; sa < csa->number_of_sas; sa++) {
    for (sa_1 = 0; sa_1 < csa->number_of_sas; sa_1++) {
      if (cmp_func(csa, sa, sa_1) && compatible(csa, sa, sa_1))
        gt_bittab_set_bit(left_or_right[sa], sa_1);
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0xe02e1
movq %rdi, %r15
cmpq $0x0, (%rdi)
je 0xe02e1
movq %rsi, %r14
cmpq $0x0, 0x8(%rsi)
je 0xe02d7
movq %rdx, %rbx
xorl %r12d, %r12d
cmpq $0x0, 0x8(%r14)
je 0xe02ce
xorl %r13d, %r13d
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq *%rbx
testb %al, %al
je 0xe02c5
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0xdfe30
testb %al, %al
je 0xe02c5
movq (%r15,%r12,8), %rdi
movq %r13, %rsi
callq 0x70790
incq %r13
cmpq 0x8(%r14), %r13
jb 0xe0298
incq %r12
cmpq 0x8(%r14), %r12
jb 0xe028e
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x351e2
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/consensus_sa.c
// Function: is_right_of
static bool is_right_of(const ConsensusSA *csa,
                        GtUword sa_1, GtUword sa_2)
{
  GtRange range_sa_1, range_sa_2;
  gt_assert(csa);
  range_sa_1 = extract_genomic_range(csa, sa_1);
  range_sa_2 = extract_genomic_range(csa, sa_2);
  if (range_sa_1.start  > range_sa_2.start && range_sa_1.end > range_sa_2.end)
    return true;
  return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xe0329
movq %rdx, %rbx
movq %rdi, %r14
callq 0xdfe0e
movq %rax, %r15
movq %rdx, %r12
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdfe0e
cmpq %rax, %r15
seta %cl
cmpq %rdx, %r12
seta %al
andb %cl, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x3521b
// File: /workspace/github_c_makefile_star2_O1/samtools[P]htslib/test/test-regidx.c
// Function: main.cold.1
static void usage(void)
{
    fprintf(stderr, "Usage: test-regidx [OPTIONS]\n");
    fprintf(stderr, "Options:\n");
    fprintf(stderr, "   -h, --help          this help message\n");
    fprintf(stderr, "   -s, --seed <int>    random seed\n");
    fprintf(stderr, "   -v, --verbose       increase verbosity by giving multiple times\n");

    exit(1);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0xb05ed(%rip), %r14     # 0xb4fd8
movq (%r14), %rcx
leaq 0x8fc81(%rip), %rdi     # 0x94676
pushq $0x1d
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
callq 0x49b0
movq (%r14), %rcx
leaq 0x8fc87(%rip), %rdi     # 0x94694
pushq $0x9
popq %rsi
movq %rbx, %rdx
callq 0x49b0
movq (%r14), %rcx
leaq 0x8fc7c(%rip), %rdi     # 0x9469e
pushq $0x29
popq %rsi
movq %rbx, %rdx
callq 0x49b0
movq (%r14), %rcx
leaq 0x8fc91(%rip), %rdi     # 0x946c8
pushq $0x23
popq %rsi
movq %rbx, %rdx
callq 0x49b0
movq (%r14), %rcx
leaq 0x8fca0(%rip), %rdi     # 0x946ec
pushq $0x43
popq %rsi
movq %rbx, %rdx
callq 0x49b0
pushq $0x1
popq %rdi
callq 0x45f0
// File: /workspace/github_c_makefile_star2_O1/samtools[P]htslib/test/test-regidx.c
// Function: custom_parse
int custom_parse(const char *line, char **chr_beg, char **chr_end, hts_pos_t *beg, hts_pos_t *end, void *payload, void *usr)
{
    // Use the standard parser for CHROM,FROM,TO
    int i, ret = regidx_parse_tab(line,chr_beg,chr_end,beg,end,NULL,NULL);
    if ( ret!=0 ) return ret;

    // Skip the fields that were parsed above
    char *ss = (char*) line;
    while ( *ss && isspace_c(*ss) ) ss++;
    for (i=0; i<3; i++)
    {
        while ( *ss && !isspace_c(*ss) ) ss++;
        if ( !*ss ) return -2;  // wrong number of fields
        while ( *ss && isspace_c(*ss) ) ss++;
    }
    if ( !*ss ) return -2;

    // Parse the payload
    char *se = ss;
    while ( *se && !isspace_c(*se) ) se++;
    char **dat = (char**) payload;
    *dat = (char*) malloc(se-ss+1);
    memcpy(*dat,ss,se-ss+1);
    (*dat)[se-ss] = 0;
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %rdi, %r14
movq $0x0, (%rsp)
xorl %r9d, %r9d
callq 0x8fd1
movl %eax, %ebp
testl %eax, %eax
je 0x5e94
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb (%r14), %bpl
testb %bpl, %bpl
je 0x5ebb
callq 0x4520
movq (%rax), %rax
movzbl %bpl, %ecx
testb $0x20, 0x1(%rax,%rcx,2)
je 0x5ebb
movb 0x1(%r14), %bpl
incq %r14
testb %bpl, %bpl
jne 0x5ea4
xorl %r15d, %r15d
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movzbl (%r14), %r13d
testq %r13, %r13
sete %r12b
je 0x5e83
callq 0x4520
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r13,2)
jne 0x5ef8
movzbl 0x1(%r14), %ecx
testq %rcx, %rcx
sete %r12b
je 0x5e83
incq %r14
testb $0x20, 0x1(%rax,%rcx,2)
je 0x5ee0
testb %r12b, %r12b
jne 0x5e83
movb (%r14), %r12b
testb %r12b, %r12b
je 0x5f24
callq 0x4520
movq (%rax), %rax
movzbl %r12b, %ecx
testb $0x20, 0x1(%rax,%rcx,2)
je 0x5f24
movb 0x1(%r14), %r12b
incq %r14
testb %r12b, %r12b
jne 0x5f0d
incl %r15d
cmpl $0x3, %r15d
jne 0x5ec3
cmpb $0x0, (%r14)
je 0x5e83
movb (%r14), %bpl
movq %r14, %r13
testb %bpl, %bpl
je 0x5f64
callq 0x4520
movq (%rax), %rax
movq %r14, %r13
movzbl %bpl, %ecx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x5f64
movb 0x1(%r13), %bpl
incq %r13
testb %bpl, %bpl
jne 0x5f4d
subq %r14, %r13
leaq 0x1(%r13), %r15
movq %r15, %rdi
callq 0x4690
movq %rax, %r12
movq %rax, (%rbx)
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x43c0
movb $0x0, (%r12,%r13)
xorl %ebp, %ebp
jmp 0x5e83
// File: /workspace/github_c_makefile_star2_O1/pahihu[P]mixal/main.c
// Function: warn
void warn(const char *message, ...)
{
    va_list args;

    if (current_file)
        fprintf(stderr, "WARNING (%s, line %u): ", current_file, line_number);
    else
        fprintf(stderr, "WARNING: ");
    va_start(args, message);
    vfprintf(stderr, message, args);
    va_end(args);
    fprintf(stderr, "\n");
}

// Assembly:
pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
movq %rsi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x48(%rsp)
testb %al, %al
je 0x337e
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq 0xd963(%rip), %rdx      # 0x10ce8
movq 0xbc6c(%rip), %r14      # 0xeff8
movq (%r14), %rcx
testq %rdx, %rdx
jne 0x33a8
leaq 0x64a6(%rip), %rdi      # 0x9841
pushq $0x9
popq %rsi
pushq $0x1
popq %rdx
callq 0x32a0
jmp 0x33c1
movl 0xd942(%rip), %eax      # 0x10cf0
leaq 0x6474(%rip), %rsi      # 0x9829
movq %rcx, %rdi
movl %eax, %ecx
xorl %eax, %eax
callq 0x31c0
leaq 0x20(%rsp), %rax
movq %rsp, %rdx
movq %rax, 0x10(%rdx)
leaq 0xf0(%rsp), %rax
movq %rax, 0x8(%rdx)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%rdx)
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x3260
movq (%r14), %rsi
pushq $0xa
popq %rdi
callq 0x3170
addq $0xd8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/pahihu[P]mixal/main.c
// Function: assembler_error
static void assembler_error(const char *message, va_list args)
{
    if (current_file)
        fprintf(stderr, "ERROR (%s, line %u): ", current_file, line_number);
    else
        fprintf(stderr, "ERROR: ");
    vfprintf(stderr, message, args);
    fprintf(stderr, "\n");
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0xd8cf(%rip), %rdx      # 0x10ce8
movq 0xbbd8(%rip), %r15      # 0xeff8
movq (%r15), %rcx
testq %rdx, %rdx
jne 0x343c
leaq 0x6eda(%rip), %rdi      # 0xa309
pushq $0x7
popq %rsi
pushq $0x1
popq %rdx
callq 0x32a0
jmp 0x3455
movl 0xd8ae(%rip), %eax      # 0x10cf0
leaq 0x63a1(%rip), %rsi      # 0x97ea
movq %rcx, %rdi
movl %eax, %ecx
xorl %eax, %eax
callq 0x31c0
movq (%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x3260
movq (%r15), %rsi
pushq $0xa
popq %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x3170
// File: /workspace/github_c_makefile_star2_O1/pahihu[P]mixal/asm.c
// Function: asm_store_field
void asm_store_field(Address address, unsigned L, unsigned R, Cell cell)
{
    // assert(address < memory_size);
    if (VERBOSE) {
        char temp[16];
        unparse_cell(temp, cell, false);
        printf("%s(%u,%u): %s\n", address_to_string(address), L, R, temp);
    }
    memory_store(address, set_field(cell, make_field_spec(L, R), memory_fetch(address)));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r14
movl %edx, %ebp
movl %esi, %r15d
movl %edi, %ebx
leaq 0xd686(%rip), %rax      # 0x10ce0
cmpl $0x0, (%rax)
je 0x368f
movq %rsp, %r12
movq %r12, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x3a7d
movl %ebx, %edi
callq 0x3fca
leaq 0x59dd(%rip), %rdi      # 0x905a
movq %rax, %rsi
movl %r15d, %edx
movl %ebp, %ecx
movq %r12, %r8
xorl %eax, %eax
callq 0x3120
movl %r15d, %edi
movl %ebp, %esi
callq 0x384a
movl %eax, %ebp
movl %ebx, %edi
callq 0x6c73
movq %r14, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x38d6
movl %ebx, %edi
movq %rax, %rsi
callq 0x6ceb
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/pahihu[P]mixal/asm.c
// Function: assemble
void assemble(Cell cell)
{
    if (VERBOSE) {
        char temp[16];
        unparse_cell(temp, cell, true);
        printf("%s: %s  %s\n", address_to_string(here), temp, current_line);
    }
    // if (here < memory_size)
    //	memory[here] = cell;
    // else
	//  error("Address out of range");
	memory_store(here, cell);
    ++here;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0xd609(%rip), %rax      # 0x10ce0
cmpl $0x0, (%rax)
je 0x3715
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x3a7d
movl 0xc03f(%rip), %edi      # 0xf734
callq 0x3fca
leaq 0x5968(%rip), %rdi      # 0x9069
leaq 0xc468(%rip), %rcx      # 0xfb70
movq %rax, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x3120
movl 0xc019(%rip), %edi      # 0xf734
movq %rbx, %rsi
callq 0x6ceb
incl 0xc00b(%rip)            # 0xf734
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/pahihu[P]mixal/cell.c
// Function: field
Cell field(Byte F, Cell cell)
{
    if (bad_field[F])
        error("Bad field spec: %02o", F);
    if (F < 8)      /* if F is of the form (0:R), retain the sign of -cell- */
        return ((cell & mask[F]) >> shift[F]) | sign_bit(cell);
    else
        return (cell & mask[F]) >> shift[F];
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movl %edi, %ebp
movl %edi, %r14d
leaq 0xbf40(%rip), %rax      # 0xf740
cmpl $0x0, (%rax,%r14,4)
je 0x3817
leaq 0x5910(%rip), %rdi      # 0x911e
movl %ebp, %esi
xorl %eax, %eax
callq 0x5bbc
leaq 0xc022(%rip), %rax      # 0xf840
movq (%rax,%r14,8), %rdx
andq %rbx, %rdx
leaq 0xc214(%rip), %rax      # 0xfa40
movb (%rax,%r14,4), %cl
sarq %cl, %rdx
andl $0x40000000, %ebx       # imm = 0x40000000
xorl %eax, %eax
cmpl $0x8, %ebp
cmovbq %rbx, %rax
orq %rdx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/pahihu[P]mixal/cell.c
// Function: set_field
Cell set_field(Cell value, Byte F, Cell into)
{
    long m = mask[F];
    if (bad_field[F])
        error("Bad field spec: %02o", F);
    if (F < 8)      /* if F is of the form (0:R), use the sign of -value- */
        return (into & ~m & ~the_sign_bit) | ((value << shift[F]) & m) | sign_bit(value);
    else
        return (into & ~m) | ((value << shift[F]) & m);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %r12d
leaq 0xbf50(%rip), %rax      # 0xf840
movq (%rax,%r12,8), %r15
leaq 0xbe45(%rip), %rax      # 0xf740
cmpl $0x0, (%rax,%r12,4)
je 0x3912
leaq 0x5815(%rip), %rdi      # 0x911e
movl %ebp, %esi
xorl %eax, %eax
callq 0x5bbc
movq %r15, %rax
notq %rax
cmpl $0x7, %ebp
ja 0x3946
andq %rax, %r14
andq $-0x40000001, %r14      # imm = 0xBFFFFFFF
leaq 0xc112(%rip), %rax      # 0xfa40
movb (%rax,%r12,4), %cl
movq %rbx, %rax
shlq %cl, %rax
andq %r15, %rax
andl $0x40000000, %ebx       # imm = 0x40000000
orq %r14, %rbx
jmp 0x395a
leaq 0xc0f3(%rip), %rcx      # 0xfa40
movb (%rcx,%r12,4), %cl
shlq %cl, %rbx
andq %r14, %rax
andq %r15, %rbx
orq %rax, %rbx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/pahihu[P]mixal/cell.c
// Function: precompute_field_data
void precompute_field_data(void)
{
    unsigned L, R;
    for (L = 0; L < 8; ++L)
        for (R = 0; R < 8; ++R) {
            unsigned F = 8 * L + R;
            bad_field[F] = R < L || 5 < R;
            if (bad_field[F])
                shift[F] = 0, mask[F] = 0;
            else {
                unsigned width = R - (L == 0 ? 1 : L) + 1;
                shift[F] = 6 * (5 - R);
                mask[F] = ((1L << (6 * width)) - 1) << shift[F];
            } 
        }
}

// Assembly:
leaq 0xbed0(%rip), %rsi      # 0xf840
leaq 0xbdc9(%rip), %rdi      # 0xf740
leaq 0xc0c2(%rip), %r8       # 0xfa40
xorl %r9d, %r9d
cmpq $0x1, %r9
movq %r9, %rax
adcq $0x0, %rax
addq %rax, %rax
leaq (%rax,%rax,2), %rcx
movl $0x6, %eax
subq %rcx, %rax
movl $0x1e, %edx
xorl %r10d, %r10d
cmpq %r9, %r10
setb %cl
cmpq $0x6, %r10
setae %r11b
orb %cl, %r11b
movzbl %r11b, %ecx
movl %ecx, (%rdi,%r10,4)
cmpb $0x1, %cl
jne 0x39ce
movl $0x0, (%r8,%r10,4)
xorl %r11d, %r11d
jmp 0x39e6
movl %edx, (%r8,%r10,4)
movq $-0x1, %r11
movl %eax, %ecx
shlq %cl, %r11
notq %r11
movl %edx, %ecx
shlq %cl, %r11
movq %r11, (%rsi,%r10,8)
incq %r10
addq $-0x6, %rdx
addq $0x6, %rax
cmpq $0x8, %r10
jne 0x39a3
incq %r9
addq $0x40, %rsi
addq $0x20, %rdi
addq $0x20, %r8
cmpq $0x8, %r9
jne 0x3981
retq
// File: /workspace/github_c_makefile_star2_O1/pahihu[P]mixal/cell.c
// Function: assert_valid_field
void assert_valid_field(Cell field_spec)
{
    if (is_negative(field_spec) 
        || 64 <= magnitude(field_spec)
        || bad_field[(unsigned)magnitude(field_spec)])
    {
        char buffer[16];
        unparse_cell(buffer, field_spec, false);
        error("Invalid field specifier: %s", buffer);
    }
}

// Assembly:
movq %rdi, %rcx
btl $0x1e, %ecx
jb 0x3a40
movl %ecx, %eax
andl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
leaq 0x57a0(%rip), %rdx      # 0x91cc
cmpq $0x3f, %rax
ja 0x3a47
leaq 0xbd07(%rip), %rsi      # 0xf740
cmpl $0x0, (%rsi,%rax,4)
jne 0x3a47
retq
leaq 0x590a(%rip), %rdx      # 0x9351
pushq %rbx
subq $0x10, %rsp
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
leaq 0x5775(%rip), %rsi      # 0x91ce
movq %rsp, %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3280
leaq 0x5705(%rip), %rdi      # 0x9172
movq %rbx, %rsi
xorl %eax, %eax
callq 0x5bbc
addq $0x10, %rsp
popq %rbx
retq