LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/bed_parser.c
// Function: skip_blanks
static int skip_blanks(GtIO *bed_file, GtError *err)
{
  gt_error_check(err);
  if (!bed_separator(bed_file)) {
    gt_error_set(err,
                 "file \"%s\": line "GT_WU": expected blank or tabulator, got "
                 "'%c'", gt_io_get_filename(bed_file),
                 gt_io_get_line_number(bed_file), gt_io_peek(bed_file));
    return -1;
  }
  while (bed_separator(bed_file))
    gt_io_next(bed_file);
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
je 0x12d796
movq %r14, %rdi
callq 0x101a9a
testb %al, %al
jne 0x12d814
movq %rbx, %rdi
callq 0x108c0e
cmpb $0x20, %al
je 0x12d7f2
movzbl %al, %eax
cmpl $0x9, %eax
je 0x12d7f2
movq %rbx, %rdi
callq 0x108c81
movq %rax, %r15
movq %rbx, %rdi
callq 0x108c71
movq %rax, %r12
movq %rbx, %rdi
callq 0x108c0e
movsbl %al, %r8d
leaq 0x2532c4(%rip), %rsi    # 0x380a97
movq %r14, %rdi
movq %r15, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x1019cf
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x12d808
movq %rbx, %rdi
callq 0x108c47
movq %rbx, %rdi
callq 0x108c0e
cmpb $0x20, %al
je 0x12d7ea
movzbl %al, %eax
cmpl $0x9, %eax
je 0x12d7ea
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x3c202
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/bed_parser.c
// Function: parse_bed_range
static int parse_bed_range(GtRange *range, GtStr *start, GtStr *end,
                           GtWord offset, GtIO *bed_file, bool thick,
                           GtError *err)
{
  int had_err;
  gt_error_check(err);
  had_err = gt_parse_range(range, gt_str_get(start), gt_str_get(end),
                           gt_io_get_line_number(bed_file),
                           gt_io_get_filename(bed_file), err);
  /* BED has a weird numbering scheme: positions are 0-based, but the end
     position is not part of the feature. Transform to 1-based coordinates. */
  range->start++;
  /* Ranges defining a 'thick' region sometimes come with length 0 to
     designate that there are no thick regions. So do not fail here and
     handle that case later. */
  if (!thick) {
    if (!had_err && range->start > range->end) {
      gt_error_set(err, "file \"%s\": line "GT_WU": BED feature has length 0",
                   gt_io_get_filename(bed_file),
                   gt_io_get_line_number(bed_file));
      had_err = -1;
    }
  }
  if (offset)
    *range = gt_range_offset(range, offset);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, 0xc(%rsp)
movq %r8, %r12
movq %rcx, 0x10(%rsp)
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbx
movq 0x50(%rsp), %rbp
testq %rbp, %rbp
je 0x12d857
movq %rbp, %rdi
callq 0x101a9a
testb %al, %al
jne 0x12d913
movq %r15, %rdi
callq 0x120d23
movq %rax, %r15
movq %r13, %rdi
callq 0x120d23
movq %rax, %r13
movq %r12, %rdi
callq 0x108c71
movq %rax, %r14
movq %r12, %rdi
callq 0x108c81
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
movl %r14d, %ecx
movq %rax, %r8
movq %rbp, %r9
callq 0x110550
movl %eax, %r13d
movq (%rbx), %rax
incq %rax
movq %rax, (%rbx)
testl %r13d, %r13d
setne %cl
orb 0xc(%rsp), %cl
jne 0x12d8e8
xorl %r13d, %r13d
cmpq 0x8(%rbx), %rax
jbe 0x12d8e8
movq %r12, %rdi
callq 0x108c81
movq %rax, %r14
movq %r12, %rdi
callq 0x108c71
leaq 0x253275(%rip), %rsi    # 0x380b47
movq %rbp, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1019cf
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x12d901
movq %rbx, %rdi
callq 0x117950
movq %rax, (%rbx)
movq %rdx, 0x8(%rbx)
movl %r13d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3c23b
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_new_all_nucl
GtBlastProcessCall *gt_blast_process_call_new_all_nucl(void)
{
  GtBlastProcessCall *call =
    gt_blast_process_call_new("blastall -p blastn");
  call->nucl = call->all = true;
  call->version_call = "blastall -";
  return call;
}

// Assembly:
pushq %rax
leaq 0x2534d0(%rip), %rdi    # 0x380e44
callq 0x12d98e
movb $0x1, %cl
movb %cl, 0x10(%rax)
movb %cl, 0x15(%rax)
leaq 0x2534cf(%rip), %rcx    # 0x380e57
movq %rcx, 0x8(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_new
static
GtBlastProcessCall *gt_blast_process_call_new(const char *which)
{
  GtBlastProcessCall *call = gt_malloc(sizeof (*call));
  char *env;

  env = getenv("GT_BLAST_PATH");
  if (env != NULL) {
    call->str = gt_str_new_cstr(env);
    gt_str_append_cstr(call->str, "/");
    gt_str_append_cstr(call->str, which);
  }
  else
    call->str = gt_str_new_cstr(which);
  call->all = false;
  call->db = false;
  call->evalue = false;
  call->gapextend = false;
  call->gapopen = false;
  call->nucl = false;
  call->num_threads = false;
  call->outfmt = false;
  call->penalty = false;
  call->query = false;
  call->reward = false;
  call->word_size = false;
  call->xdrop_gap_final = false;
  return call;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x253526(%rip), %rsi    # 0x380ec2
movl $0x20, %edi
movl $0x36, %edx
callq 0x1092b2
movq %rax, %rbx
leaq 0x2538f5(%rip), %rdi    # 0x3812aa
callq 0x17950
testq %rax, %rax
je 0x12d9e6
movq %rax, %rdi
callq 0x120955
movq %rax, (%rbx)
leaq 0x2365da(%rip), %rsi    # 0x363fab
movq %rax, %rdi
callq 0x12097f
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x12097f
jmp 0x12d9f1
movq %r14, %rdi
callq 0x120955
movq %rax, (%rbx)
xorl %eax, %eax
movq %rax, 0x15(%rbx)
movq %rax, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_new_nucl
GtBlastProcessCall *gt_blast_process_call_new_nucl(void)
{
  GtBlastProcessCall *call =
    gt_blast_process_call_new("blastn");
  call->version_call = "blastn -version";
  call->nucl = true;
  call->all = false;
  return call;
}

// Assembly:
pushq %rax
leaq 0x253442(%rip), %rdi    # 0x380e50
callq 0x12d98e
leaq 0x253448(%rip), %rcx    # 0x380e62
movq %rcx, 0x8(%rax)
movb $0x1, 0x15(%rax)
movb $0x0, 0x10(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_new_all_prot
GtBlastProcessCall *gt_blast_process_call_new_all_prot(void)
{
  GtBlastProcessCall *call =
    gt_blast_process_call_new("blastall -p blastp");
  call->version_call = "blastall -";
  call->nucl = false;
  call->all = true;
  return call;
}

// Assembly:
pushq %rax
leaq 0x253442(%rip), %rdi    # 0x380e72
callq 0x12d98e
leaq 0x25341b(%rip), %rcx    # 0x380e57
movq %rcx, 0x8(%rax)
movb $0x0, 0x15(%rax)
movb $0x1, 0x10(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_new_prot
GtBlastProcessCall *gt_blast_process_call_new_prot(void)
{
  GtBlastProcessCall *call =
    gt_blast_process_call_new("blastp");
  call->version_call = "blastp -version";
  call->nucl = call->all = false;
  return call;
}

// Assembly:
pushq %rax
leaq 0x25342c(%rip), %rdi    # 0x380e7e
callq 0x12d98e
leaq 0x253427(%rip), %rcx    # 0x380e85
movq %rcx, 0x8(%rax)
xorl %ecx, %ecx
movb %cl, 0x10(%rax)
movb %cl, 0x15(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_query
void gt_blast_process_call_set_query(GtBlastProcessCall *call,
                                     const char *query)
{
  gt_assert(!call->query);
  call->query = true;
  if (call->all)
    gt_str_append_cstr(call->str, " -i ");
  else
    gt_str_append_cstr(call->str, " -query ");
  gt_str_append_cstr(call->str, query);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x19(%rdi)
je 0x12dab1
movq %rsi, %rbx
movq %rdi, %r14
movb $0x1, 0x19(%rdi)
movq (%rdi), %rdi
leaq 0x25345a(%rip), %rax    # 0x380ee4
leaq 0x253458(%rip), %rsi    # 0x380ee9
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %rsi
callq 0x12097f
movq (%r14), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x12097f
callq 0x3c2ad
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_db
void gt_blast_process_call_set_db(GtBlastProcessCall *call, const char *db)
{
  gt_assert(!call->db);
  call->db = true;
  if (call->all)
    gt_str_append_cstr(call->str, " -d ");
  else
    gt_str_append_cstr(call->str, " -db ");
  gt_str_append_cstr(call->str, db);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x11(%rdi)
je 0x12dafb
movq %rsi, %rbx
movq %rdi, %r14
movb $0x1, 0x11(%rdi)
movq (%rdi), %rdi
leaq 0x253445(%rip), %rax    # 0x380f19
leaq 0x253443(%rip), %rsi    # 0x380f1e
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %rsi
callq 0x12097f
movq (%r14), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x12097f
callq 0x3c2e4
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_evalue
void gt_blast_process_call_set_evalue(GtBlastProcessCall *call, double evalue)
{
  gt_assert(!call->evalue);
  call->evalue = true;
  if (call->all)
    gt_str_append_cstr(call->str, " -e ");
  else
    gt_str_append_cstr(call->str, " -evalue ");
  gt_str_append_sci_double(call->str, evalue, 6);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movsd %xmm0, 0x8(%rsp)
cmpb $0x1, 0x12(%rdi)
je 0x12db4e
movq %rdi, %rbx
movb $0x1, 0x12(%rdi)
movq (%rdi), %rdi
leaq 0x253431(%rip), %rax    # 0x380f53
leaq 0x25342f(%rip), %rsi    # 0x380f58
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %rsi
callq 0x12097f
movq (%rbx), %rdi
movsd 0x8(%rsp), %xmm0
movl $0x6, %esi
addq $0x10, %rsp
popq %rbx
jmp 0x120bef
callq 0x3c31d
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_wordsize
void gt_blast_process_call_set_wordsize(GtBlastProcessCall *call, int word_size)
{
  gt_assert(!call->word_size);
  call->word_size = true;
  if (call->all)
    gt_str_append_cstr(call->str, " -W ");
  else
    gt_str_append_cstr(call->str, " -word_size ");
  gt_str_append_int(call->str, word_size);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x1b(%rdi)
je 0x12db96
movl %esi, %ebx
movq %rdi, %r14
movb $0x1, 0x1b(%rdi)
movq (%rdi), %rdi
leaq 0x253426(%rip), %rax    # 0x380f96
leaq 0x253424(%rip), %rsi    # 0x380f9b
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %rsi
callq 0x12097f
movq (%r14), %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x120c89
callq 0x3c356
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_gapopen
void gt_blast_process_call_set_gapopen(GtBlastProcessCall *call, int gapopen)
{
  gt_assert(!call->gapopen);
  call->gapopen = true;
  if (call->all)
    gt_str_append_cstr(call->str, " -G ");
  else
    gt_str_append_cstr(call->str, " -gapopen ");
  gt_str_append_int(call->str, gapopen);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x14(%rdi)
je 0x12dbde
movl %esi, %ebx
movq %rdi, %r14
movb $0x1, 0x14(%rdi)
movq (%rdi), %rdi
leaq 0x253421(%rip), %rax    # 0x380fd9
leaq 0x25341f(%rip), %rsi    # 0x380fde
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %rsi
callq 0x12097f
movq (%r14), %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x120c89
callq 0x3c38f
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_gapextend
void gt_blast_process_call_set_gapextend(GtBlastProcessCall *call,
                                         int gapextend)
{
  gt_assert(!call->gapextend);
  call->gapextend = true;
  if (call->all)
    gt_str_append_cstr(call->str, " -E ");
  else
    gt_str_append_cstr(call->str, " -gapextend ");
  gt_str_append_int(call->str, gapextend);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x13(%rdi)
je 0x12dc26
movl %esi, %ebx
movq %rdi, %r14
movb $0x1, 0x13(%rdi)
movq (%rdi), %rdi
leaq 0x25341e(%rip), %rax    # 0x38101e
leaq 0x25341c(%rip), %rsi    # 0x381023
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %rsi
callq 0x12097f
movq (%r14), %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x120c89
callq 0x3c3c8
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_penalty
void gt_blast_process_call_set_penalty(GtBlastProcessCall *call, int penalty)
{
  gt_assert(!call->penalty);
  call->penalty = true;
  gt_assert(call->nucl);
  if (call->all)
    gt_str_append_cstr(call->str, " -q ");
  else
    gt_str_append_cstr(call->str, " -penalty ");
  gt_str_append_int(call->str, penalty);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x18(%rdi)
je 0x12dc74
movq %rdi, %r14
movb $0x1, 0x18(%rdi)
cmpb $0x0, 0x15(%rdi)
je 0x12dc79
movl %esi, %ebx
movq (%r14), %rdi
leaq 0x25341e(%rip), %rax    # 0x38106c
leaq 0x25341c(%rip), %rsi    # 0x381071
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %rsi
callq 0x12097f
movq (%r14), %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x120c89
callq 0x3c43a
callq 0x3c401
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_reward
void gt_blast_process_call_set_reward(GtBlastProcessCall *call, int reward)
{
  gt_assert(!call->reward);
  call->reward = true;
  gt_assert(call->nucl);
  if (call->all)
    gt_str_append_cstr(call->str, " -r ");
  else
    gt_str_append_cstr(call->str, " -reward ");
  gt_str_append_int(call->str, reward);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x1a(%rdi)
je 0x12dcc7
movq %rdi, %r14
movb $0x1, 0x1a(%rdi)
cmpb $0x0, 0x15(%rdi)
je 0x12dccc
movl %esi, %ebx
movq (%r14), %rdi
leaq 0x25340a(%rip), %rax    # 0x3810ab
leaq 0x253408(%rip), %rsi    # 0x3810b0
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %rsi
callq 0x12097f
movq (%r14), %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x120c89
callq 0x3c4ac
callq 0x3c473
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_num_threads
void gt_blast_process_call_set_num_threads(GtBlastProcessCall *call,
                                           int num_threads)
{
  gt_assert(!call->num_threads);
  call->num_threads = true;
  if (call->all)
    gt_str_append_cstr(call->str, " -a ");
  else
    gt_str_append_cstr(call->str, " -num_threads ");
  gt_str_append_int(call->str, num_threads);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x16(%rdi)
je 0x12dd14
movl %esi, %ebx
movq %rdi, %r14
movb $0x1, 0x16(%rdi)
movq (%rdi), %rdi
leaq 0x253405(%rip), %rax    # 0x3810f3
leaq 0x253403(%rip), %rsi    # 0x3810f8
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %rsi
callq 0x12097f
movq (%r14), %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x120c89
callq 0x3c4e5
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_xdrop_gap_final
void gt_blast_process_call_set_xdrop_gap_final(GtBlastProcessCall *call,
                                               double xdrop_gap_final)
{
  gt_assert(!call->xdrop_gap_final);
  call->xdrop_gap_final = true;
  gt_assert(call->nucl);
  if (call->all)
    gt_str_append_cstr(call->str, " -Z ");
  else
    gt_str_append_cstr(call->str, " -xdrop_gap_final ");
  gt_str_append_double(call->str, xdrop_gap_final, 2);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
cmpb $0x1, 0x1c(%rdi)
je 0x12dd6d
movq %rdi, %rbx
movsd %xmm0, 0x8(%rsp)
movb $0x1, 0x1c(%rdi)
cmpb $0x0, 0x15(%rdi)
je 0x12dd72
movq (%rbx), %rdi
leaq 0x253407(%rip), %rax    # 0x381148
leaq 0x253405(%rip), %rsi    # 0x38114d
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %rsi
callq 0x12097f
movq (%rbx), %rdi
movsd 0x8(%rsp), %xmm0
movl $0x2, %esi
addq $0x10, %rsp
popq %rbx
jmp 0x120c3c
callq 0x3c557
callq 0x3c51e
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/blast_process_call.c
// Function: gt_blast_process_call_set_outfmt
void gt_blast_process_call_set_outfmt(GtBlastProcessCall *call,
                                      int outfmt)
{
  gt_assert(!call->outfmt);
  call->outfmt = true;
  if (call->all)
    gt_str_append_cstr(call->str, " -m ");
  else
    gt_str_append_cstr(call->str, " -outfmt ");
  gt_str_append_int(call->str, outfmt);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x17(%rdi)
je 0x12ddba
movl %esi, %ebx
movq %rdi, %r14
movb $0x1, 0x17(%rdi)
movq (%rdi), %rdi
leaq 0x2533fb(%rip), %rax    # 0x38118f
leaq 0x2533f9(%rip), %rsi    # 0x381194
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %rsi
callq 0x12097f
movq (%r14), %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x120c89
callq 0x3c590
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/check_boundaries_visitor.c
// Function: gt_check_boundaries_visitor_class
const GtNodeVisitorClass* gt_check_boundaries_visitor_class()
{
  static GtNodeVisitorClass *nvc = NULL;
  gt_class_alloc_lock_enter();
  if (!nvc) {
    nvc = gt_node_visitor_class_new(sizeof (GtCheckBoundariesVisitor),
                                    NULL,
                                    NULL,
                                    check_boundaries_visitor_feature_node,
                                    NULL,
                                    NULL,
                                    NULL);
  }
  gt_class_alloc_lock_leave();
  return nvc;
}

// Assembly:
pushq %rax
callq 0xe6a03
cmpq $0x0, 0x39ac3a(%rip)    # 0x4c96d0
jne 0x12eac2
movq $0x0, (%rsp)
leaq 0x29(%rip), %rcx        # 0x12ead0
movl $0x10, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x16ae80
movq %rax, 0x39ac0e(%rip)    # 0x4c96d0
callq 0xe6a19
movq 0x39ac02(%rip), %rax    # 0x4c96d0
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/check_boundaries_visitor.c
// Function: check_boundaries_visitor_feature_node
static int check_boundaries_visitor_feature_node(GT_UNUSED GtNodeVisitor *nv,
                                                 GtFeatureNode *fn,
                                                 GT_UNUSED GtError *err)
{
  GtFeatureNodeIterator *fni;
  GtFeatureNode *node;
  int had_err = 0;

  fni = gt_feature_node_iterator_new_direct(fn);
  while (!had_err && (node = gt_feature_node_iterator_next(fni))) {
    had_err = check_boundaries_visitor_check_rec(fn, node, err);
  }
  gt_feature_node_iterator_delete(fni);

  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rsi, %rdi
callq 0x14b295
movq %rax, %r14
movq %rax, %rdi
callq 0x14b33e
testq %rax, %rax
je 0x12eaff
movq %rbx, %rdi
movq %rax, %rsi
callq 0x12eb20
movq %r14, %rdi
jmp 0x12eae5
movq %r14, %rdi
callq 0x14b3d0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/check_boundaries_visitor.c
// Function: check_boundaries_visitor_check_rec
static int check_boundaries_visitor_check_rec(GtFeatureNode *parent,
                                              GtFeatureNode *child,
                                              GtError *err)
{
  GtFeatureNodeIterator *fni;
  GtFeatureNode *node;
  GtRange range,
          p_range;
  int had_err = 0;

  range = gt_genome_node_get_range((GtGenomeNode*) child);
  p_range = gt_genome_node_get_range((GtGenomeNode*) parent);

  if (range.start < p_range.start || range.end > p_range.end) {
    gt_warning("%s child range " GT_WU "-" GT_WU " (file %s, line %u) not "
               "contained in %s parent range " GT_WU "-" GT_WU " (file %s, "
               "line %u)",
               gt_feature_node_get_type(child),
               range.start, range.end,
               gt_genome_node_get_filename((GtGenomeNode*) child),
               gt_genome_node_get_line_number((GtGenomeNode*) child),
               gt_feature_node_get_type(parent),
               p_range.start, p_range.end,
               gt_genome_node_get_filename((GtGenomeNode*) parent),
               gt_genome_node_get_line_number((GtGenomeNode*) parent));
  }

  fni = gt_feature_node_iterator_new_direct(child);
  while ((node = gt_feature_node_iterator_next(fni))) {
    had_err = check_boundaries_visitor_check_rec(child, node, err);
  }
  gt_feature_node_iterator_delete(fni);

  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %rbp
movq %rsi, %rdi
callq 0x14b8df
movq %rax, %r12
movq %rdx, %r13
movq %rbp, %rdi
callq 0x14b8df
movq %rax, %r14
cmpq %rax, %r12
setb %al
cmpq %rdx, %r13
seta %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x12ebeb
movq %rdx, %r15
movq %rbx, %rdi
callq 0x149bb2
movq %rax, 0x20(%rsp)
movq %rbx, %rdi
callq 0x14b86c
movq %rax, 0x10(%rsp)
movq %rbx, %rdi
callq 0x14b88c
movl %eax, 0x4(%rsp)
movq %rbp, %rdi
callq 0x149bb2
movq %rax, 0x18(%rsp)
movq %rbp, %rdi
callq 0x14b86c
movq %rax, 0x8(%rsp)
movq %rbp, %rdi
callq 0x14b88c
movl %eax, %r10d
subq $0x8, %rsp
leaq 0x25289e(%rip), %rdi    # 0x38145b
movq 0x28(%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
movq 0x18(%rsp), %r8
movl 0xc(%rsp), %r9d
xorl %eax, %eax
pushq %r10
pushq 0x18(%rsp)
pushq %r15
pushq %r14
pushq 0x40(%rsp)
callq 0x125448
addq $0x30, %rsp
movq %rbx, %rdi
callq 0x14b295
movq %rax, %r14
movq %rax, %rdi
callq 0x14b33e
testq %rax, %rax
je 0x12ec13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x12eb20
movq %r14, %rdi
jmp 0x12ebf9
movq %r14, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x14b3d0
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/chseqids_stream.c
// Function: gt_chseqids_stream_class
const GtNodeStreamClass* gt_chseqids_stream_class(void)
{
  static const GtNodeStreamClass *nsc = NULL;
  gt_class_alloc_lock_enter();
  if (!nsc) {
    nsc = gt_node_stream_class_new(sizeof (GtChseqidsStream),
                                   chseqids_stream_free,
                                   chseqids_stream_next);
  }
  gt_class_alloc_lock_leave();
  return nsc;
}

// Assembly:
pushq %rax
callq 0xe6a03
cmpq $0x0, 0x39aa9e(%rip)    # 0x4c96d8
jne 0x12ec5b
leaq 0x26(%rip), %rsi        # 0x12ec69
leaq 0x8a(%rip), %rdx        # 0x12ecd4
movl $0x38, %edi
callq 0x16abb4
movq %rax, 0x39aa7d(%rip)    # 0x4c96d8
callq 0xe6a19
movq 0x39aa71(%rip), %rax    # 0x4c96d8
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/chseqids_stream.c
// Function: chseqids_stream_free
static void chseqids_stream_free(GtNodeStream *ns)
{
  GtChseqidsStream *cs;
  GtUword i;
  cs = chseqids_stream_cast(ns);
  gt_mapping_delete(cs->chseqids_mapping);
  for (i = cs->buffer_index; i < gt_array_size(cs->node_buffer); i++)
    gt_genome_node_delete(*(GtGenomeNode**) gt_array_get(cs->node_buffer, i));
  gt_array_delete(cs->node_buffer);
  gt_node_stream_delete(cs->in_stream);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x12ec2c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x16ae64
movq %rax, %rbx
movq 0x18(%rax), %rdi
callq 0x165032
movq 0x20(%rbx), %rdi
movq 0x28(%rbx), %r14
callq 0xd4a9a
cmpq %rax, %r14
jae 0x12ecbb
movq 0x20(%rbx), %rdi
movq %r14, %rsi
callq 0xd47ba
movq (%rax), %rdi
callq 0x14c43a
incq %r14
movq 0x20(%rbx), %rdi
jmp 0x12ec94
movq 0x20(%rbx), %rdi
callq 0xd4ef4
movq 0x10(%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x16ac6e
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/chseqids_stream.c
// Function: gt_chseqids_stream_new
GtNodeStream* gt_chseqids_stream_new(GtNodeStream *in_stream,
                                     GtStr *chseqids_file, GtError *err)
{
  GtNodeStream *ns;
  GtChseqidsStream *cs;
  gt_error_check(err);
  gt_assert(in_stream && chseqids_file);
  gt_assert(gt_node_stream_is_sorted(in_stream));
  ns = gt_node_stream_create(gt_chseqids_stream_class(), false);
  cs = chseqids_stream_cast(ns);
  cs->in_stream = gt_node_stream_ref(in_stream);
  cs->chseqids_mapping = gt_mapping_new(chseqids_file, "chseqids",
                                        GT_MAPPINGTYPE_STRING, err);
  if (!cs->chseqids_mapping) {
    gt_node_stream_delete(ns);
    return NULL;
  }
  cs->node_buffer = gt_array_new(sizeof (GtGenomeNode*));
  return ns;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je 0x12f006
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x12f0a4
testq %r15, %r15
je 0x12f09a
testq %r14, %r14
je 0x12f09a
movq %r15, %rdi
callq 0x16ae51
testb %al, %al
je 0x12f09f
callq 0x12ec2c
movq %rax, %rdi
xorl %esi, %esi
callq 0x16abec
movq %rax, %r12
callq 0x12ec2c
movq %rax, %rdi
movq %r12, %rsi
callq 0x16ae64
movq %rax, %r13
movq %r15, %rdi
callq 0x16ac58
movq %rax, 0x10(%r13)
leaq 0x21f66f(%rip), %rsi    # 0x34e6cb
movq %r14, %rdi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x164e20
movq %rax, 0x18(%r13)
testq %rax, %rax
je 0x12f082
movl $0x8, %edi
callq 0xd46fc
movq %rax, 0x20(%r13)
jmp 0x12f08d
movq %r12, %rdi
callq 0x16ac6e
xorl %r12d, %r12d
movq %r12, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x3cad2
callq 0x3cb0b
callq 0x3ca99
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/chseqids_stream.c
// Function: change_sequence_id
static int change_sequence_id(GtFeatureNode *fn, void *data,
                              GT_UNUSED GtError *err)
{
  GtStr *changed_seqid = data;
  gt_error_check(err);
  gt_assert(changed_seqid);
  gt_genome_node_change_seqid((GtGenomeNode*) fn, changed_seqid);
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0x12f0c4
movq %rdx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x12f0e3
testq %rbx, %rbx
je 0x12f0de
movq %r14, %rdi
movq %rbx, %rsi
callq 0x14b96f
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3cb7b
callq 0x3cb44
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/collect_ids_visitor.c
// Function: gt_collect_ids_visitor_class
const GtNodeVisitorClass* gt_collect_ids_visitor_class()
{
  static const GtNodeVisitorClass *nvc = NULL;
  gt_class_alloc_lock_enter();
  if (!nvc) {
    nvc = gt_node_visitor_class_new(sizeof (GtCollectIDsVisitor),
                                    NULL,
                                    NULL,
                                    collect_ids_visitor_feature_node,
                                    collect_ids_visitor_region_node,
                                    NULL,
                                    NULL);
  }
  gt_class_alloc_lock_leave();
  return nvc;
}

// Assembly:
pushq %rax
callq 0xe6a03
cmpq $0x0, 0x39a5ea(%rip)    # 0x4c96e0
jne 0x12f126
movq $0x0, (%rsp)
leaq 0x2d(%rip), %rcx        # 0x12f134
leaq 0x7d(%rip), %r8         # 0x12f18b
movl $0x18, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %r9d, %r9d
callq 0x16ae80
movq %rax, 0x39a5ba(%rip)    # 0x4c96e0
callq 0xe6a19
movq 0x39a5ae(%rip), %rax    # 0x4c96e0
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/collect_ids_visitor.c
// Function: collect_ids_visitor_feature_node
static int collect_ids_visitor_feature_node(GtNodeVisitor *nv,
                                            GtFeatureNode *fn,
                                            GT_UNUSED GtError *err)
{
  GtCollectIDsVisitor *civ;
  const char *seqid;
  civ = collect_ids_visitor_cast(nv);
  seqid = gt_str_get(gt_genome_node_get_seqid((GtGenomeNode*) fn));
  if (!gt_cstr_table_get(civ->seqids, seqid))
    gt_cstr_table_add(civ->seqids, seqid);
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x12f0e8
movq %rax, %rdi
movq %rbx, %rsi
callq 0x16af21
movq %rax, %rbx
movq %r14, %rdi
callq 0x14b89b
movq %rax, %rdi
callq 0x120d23
movq %rax, %r14
movq 0x10(%rbx), %rdi
movq %rax, %rsi
callq 0xe8e61
testq %rax, %rax
jne 0x12f181
movq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0xe8e02
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/collect_ids_visitor.c
// Function: collect_ids_visitor_region_node
static int collect_ids_visitor_region_node(GtNodeVisitor *nv, GtRegionNode *rn,
                                           GT_UNUSED GtError *err)
{
  GtCollectIDsVisitor *civ;
  const char *seqid;
  int had_err = 0;
  gt_error_check(err);
  civ = collect_ids_visitor_cast(nv);
  seqid = gt_str_get(gt_genome_node_get_seqid((GtGenomeNode*) rn));
  if (!gt_cstr_table_get(civ->seqids, seqid))
    gt_cstr_table_add(civ->seqids, seqid);
  return had_err;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0x12f1a6
movq %rdx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x12f1f3
callq 0x12f0e8
movq %rax, %rdi
movq %r14, %rsi
callq 0x16af21
movq %rax, %r14
movq %rbx, %rdi
callq 0x14b89b
movq %rax, %rdi
callq 0x120d23
movq %rax, %rbx
movq 0x10(%r14), %rdi
movq %rax, %rsi
callq 0xe8e61
testq %rax, %rax
jne 0x12f1e9
movq 0x10(%r14), %rdi
movq %rbx, %rsi
callq 0xe8e02
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3cbb2
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/collect_ids_visitor.c
// Function: gt_collect_ids_visitor_new
GtNodeVisitor* gt_collect_ids_visitor_new(GtCstrTable *cst)
{
  GtNodeVisitor *nv = gt_node_visitor_create(gt_collect_ids_visitor_class());
  GtCollectIDsVisitor *collect_ids_visitor = collect_ids_visitor_cast(nv);
  collect_ids_visitor->seqids = cst;
  return nv;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x12f0e8
movq %rax, %rdi
callq 0x16aef0
movq %rax, %r14
callq 0x12f0e8
movq %rax, %rdi
movq %r14, %rsi
callq 0x16af21
movq %rbx, 0x10(%rax)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_access
int gt_compressed_bitsequence_access(GtCompressedBitsequence *cbs,
                                     GtUword position)
{
  int bit;
  unsigned int pos_in_block;
  GtUword block;
  GtCompressedBitsequenceBlockInfo *cbs_bi;

  gt_assert(cbs != NULL);
  gt_assert(position < cbs->num_of_bits);

  pos_in_block = (unsigned int) position % cbs->blocksize;

  gt_compressed_bitsequence_calc_block_info(cbs, position);
  cbs_bi = cbs->cbs_bi;
  if (cbs_bi->class == 0 || cbs_bi->class == cbs->blocksize)
    return cbs_bi->class == 0 ? 0 : 1;

  block = gt_popcount_tab_get(cbs->popcount_tab,
                              cbs_bi->class,
                              cbs_bi->block_offset);

  /* account for shorter blocks at the end */
  block <<= (cbs->blocksize - cbs_bi->block_len);

  bit = (int) ((block >> (cbs->blocksize - pos_in_block - 1)) & 1UL);
  return bit;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x12fbf7
movq %rdi, %rbx
cmpq %rsi, 0xb0(%rdi)
jbe 0x12fbfc
movl %esi, %eax
xorl %edx, %edx
divl 0xd8(%rbx)
movl %edx, %r14d
movq %rbx, %rdi
callq 0x12fc01
movq 0x90(%rbx), %r15
movl 0x18(%r15), %esi
testl %esi, %esi
je 0x12fbbb
cmpl 0xd8(%rbx), %esi
jne 0x12fbc4
xorl %eax, %eax
testl %esi, %esi
setne %al
jmp 0x12fbf1
movq 0x68(%rbx), %rdi
movq (%r15), %rdx
callq 0x16c104
movq %rax, %rdx
movl 0xd8(%rbx), %eax
movl %eax, %ecx
subl 0x1c(%r15), %ecx
shlq %cl, %rdx
notl %r14d
addl %eax, %r14d
xorl %eax, %eax
btq %r14, %rdx
setb %al
popq %rbx
popq %r14
popq %r15
retq
callq 0x3cf79
callq 0x3cf40
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_rank_1
GtUword gt_compressed_bitsequence_rank_1(GtCompressedBitsequence *cbs,
                                         GtUword position)
{
  unsigned int pos_in_block;
  GtCompressedBitsequenceBlockInfo *cbs_bi;

  gt_assert(cbs != NULL);
  gt_assert(position < cbs->num_of_bits);

  pos_in_block = (unsigned int) position % cbs->blocksize;

  gt_compressed_bitsequence_calc_block_info(cbs, position);
  cbs_bi = cbs->cbs_bi;

  pos_in_block += cbs->blocksize - cbs_bi->block_len;
  if (cbs_bi->class == 0)
    return cbs_bi->rank_sum;
  if (cbs_bi->class == cbs->blocksize)
    return cbs_bi->rank_sum + pos_in_block + 1;

  return cbs_bi->rank_sum + gt_popcount_tab_rank_1(cbs->popcount_tab,
                                                   cbs_bi->class,
                                                   cbs_bi->block_offset,
                                                   pos_in_block);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x12fe7c
movq %rdi, %rbx
cmpq %rsi, 0xb0(%rdi)
jbe 0x12fe81
movl %esi, %eax
xorl %edx, %edx
divl 0xd8(%rbx)
movl %edx, %ebp
movq %rbx, %rdi
callq 0x12fc01
movq 0x90(%rbx), %rax
movl 0x18(%rax), %esi
testl %esi, %esi
je 0x12fe5d
movl 0xd8(%rbx), %edx
movl %edx, %ecx
subl 0x1c(%rax), %ecx
addl %ebp, %ecx
movq 0x10(%rax), %r14
cmpl %edx, %esi
jne 0x12fe63
movl %ecx, %eax
addq %rax, %r14
incq %r14
jmp 0x12fe74
movq 0x10(%rax), %r14
jmp 0x12fe74
movq 0x68(%rbx), %rdi
movq (%rax), %rdx
callq 0x16c2bd
movl %eax, %eax
addq %rax, %r14
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
callq 0x3d096
callq 0x3d05d
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_rank_0
GtUword gt_compressed_bitsequence_rank_0(GtCompressedBitsequence *cbs,
                                         GtUword position)
{
  unsigned int pos_in_block;
  GtUword rank_sum0;
  GtCompressedBitsequenceBlockInfo *cbs_bi;

  gt_assert(cbs != NULL);
  gt_assert(position < cbs->num_of_bits);

  pos_in_block = (unsigned int) position % cbs->blocksize;

  gt_compressed_bitsequence_calc_block_info(cbs, position);
  cbs_bi = cbs->cbs_bi;

  pos_in_block += cbs->blocksize - cbs_bi->block_len;
  rank_sum0 = ((cbs_bi->idx) * cbs->blocksize) - cbs_bi->rank_sum;
  rank_sum0 -= cbs->blocksize - cbs_bi->block_len;
  if (cbs_bi->class == 0)
    return rank_sum0 + pos_in_block + 1;
  if (cbs_bi->class == cbs->blocksize)
    return rank_sum0;
  return rank_sum0 + gt_popcount_tab_rank_0(cbs->popcount_tab,
                                            cbs_bi->class,
                                            cbs_bi->block_offset,
                                            pos_in_block);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x12ff02
movq %rdi, %rbx
cmpq %rsi, 0xb0(%rdi)
jbe 0x12ff07
movl %esi, %eax
xorl %edx, %edx
divl 0xd8(%rbx)
movl %edx, %ebp
movq %rbx, %rdi
callq 0x12fc01
movq 0x90(%rbx), %rax
movl 0xd8(%rbx), %ecx
movl %ecx, %edx
subl 0x1c(%rax), %edx
addl %edx, %ebp
movq %rcx, %r14
imulq 0x8(%rax), %r14
addq 0x10(%rax), %rdx
subq %rdx, %r14
movl 0x18(%rax), %esi
testl %esi, %esi
je 0x12fef2
cmpl %ecx, %esi
je 0x12fefa
movq 0x68(%rbx), %rdi
movq (%rax), %rdx
movl %ebp, %ecx
callq 0x16c3cc
movl %eax, %eax
addq %rax, %r14
jmp 0x12fefa
movl %ebp, %eax
addq %rax, %r14
incq %r14
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
callq 0x3d108
callq 0x3d0cf
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_get_class
static inline unsigned int
gt_compressed_bitsequence_get_class(GtCompressedBitsequence *cbs,
                                    GtUword idx)
{
  gt_assert(cbs != NULL);
  gt_assert(cbs->classes != NULL);
  return (unsigned int)
    gt_compressed_bitsequence_get_variable_field(cbs->classes,
                                                 idx * cbs->class_bits,
                                                 cbs->class_bits);
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x1303fe
movq 0x78(%rdi), %r8
testq %r8, %r8
je 0x130403
movl 0xdc(%rdi), %edx
cmpq $0x41, %rdx
jae 0x130408
testq %rdx, %rdx
je 0x1303fa
imulq %rdx, %rsi
movq %rsi, %rdi
shrq $0x6, %rdi
movq (%r8,%rdi,8), %rax
movl %esi, %ecx
shlq %cl, %rax
movl %esi, %ecx
andl $0x3f, %ecx
leal (%rcx,%rdx), %esi
cmpl $0x41, %esi
jb 0x1303f1
movq 0x8(%r8,%rdi,8), %rsi
negb %cl
shrq %cl, %rsi
orq %rsi, %rax
negb %dl
movl %edx, %ecx
shrq %cl, %rax
jmp 0x1303fc
xorl %eax, %eax
popq %rcx
retq
callq 0x3d3b4
callq 0x3d37b
callq 0x3d342
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_file_size
size_t gt_compressed_bitsequence_file_size(const GtCompressedBitsequence *cbs)
{
  size_t size = gt_compressed_bitsequence_header_size(cbs);

  size += sizeof (cbs->c_offsets[0]) * cbs->c_offsets_size;
  size += sizeof (cbs->classes[0]) * cbs->classes_size;
  size += sizeof (cbs->superblockoffsets[0]) * cbs->superblockoffsets_size;
  size += sizeof (cbs->superblockranks[0]) * cbs->superblockranks_size;

  return size;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x13091f
movq 0xa8(%rbx), %rax
addq 0xa0(%rbx), %rax
addq 0xc8(%rbx), %rax
addq 0xd0(%rbx), %rax
leaq 0x50(,%rax,8), %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_size
size_t gt_compressed_bitsequence_size(const GtCompressedBitsequence *cbs)
{
  size_t size =  sizeof (cbs) +
    gt_popcount_tab_calculate_size(cbs->blocksize) +
    sizeof (cbs->cbs_bi) +
    sizeof (cbs->c_offsets[0]) * cbs->c_offsets_size +
    sizeof (cbs->classes[0]) * cbs->classes_size +
    sizeof (cbs->superblockoffsets[0]) * cbs->superblockoffsets_size +
    sizeof (cbs->superblockranks[0]) * cbs->superblockranks_size;

  return size;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl 0xd8(%rdi), %edi
callq 0x16c19d
movq 0xa8(%rbx), %rcx
addq 0xa0(%rbx), %rcx
addq 0xc8(%rbx), %rcx
addq 0xd0(%rbx), %rcx
leaq (%rax,%rcx,8), %rax
addq $0x10, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_write
int gt_compressed_bitsequence_write(GtCompressedBitsequence *cbs,
                                    char *filename,
                                    GtError *err)
{
  int had_err = 0;
  GtUword expectedsize = 0;
  FILE *fp = NULL;

  fp = gt_fa_fopen(filename, "w", err);
  if (fp == NULL)
    had_err = -1;

  if (!had_err) {
    expectedsize = (GtUword) gt_compressed_bitsequence_file_size(cbs);
    had_err = gt_mapspec_write(gt_compressed_bitsequence_data_setup_mapspec,
                               fp, cbs, expectedsize, err);
  }
  if (!had_err) {
    gt_log_log("blocksize: %u\n"
           "class_offsets_size: " GT_WU "\n"
           "class_bits: %u\n"
           "classes_size: " GT_WU "\n"
           "last_block_len: %u\n"
           "num_of_bits: " GT_WU "\n"
           "num_of_blocks: " GT_WU "\n"
           "num_of_superblocks: " GT_WU "\n"
           "superblocksize: %u\n"
           "size: " GT_WU "\n",
           cbs->blocksize,
           cbs->c_offsets_size,
           cbs->class_bits,
           cbs->classes_size,
           cbs->last_block_len,
           cbs->num_of_bits,
           cbs->num_of_blocks,
           cbs->num_of_superblocks,
           cbs->superblocksize,
           expectedsize);
  }
  gt_fa_fclose(fp);

  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdx, %r15
movq %rsi, %rax
movq %rdi, %r14
leaq 0x26c0b5(%rip), %rsi    # 0x39ca31
leaq 0x250e83(%rip), %rdx    # 0x381806
movq %rax, %rdi
movl $0x3b3, %ecx            # imm = 0x3B3
movq %r15, %r8
callq 0x101c23
movq %rax, %rbx
testq %rax, %rax
je 0x1309e3
movq %r14, %rdi
callq 0x13091f
movq 0xa8(%r14), %rax
addq 0xa0(%r14), %rax
addq 0xc8(%r14), %rax
addq 0xd0(%r14), %rax
leaq 0x50(,%rax,8), %r12
leaq 0x91(%rip), %rdi        # 0x130a5f
movq %rbx, %rsi
movq %r14, %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x10a125
movl %eax, %ebp
jmp 0x1309eb
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
xorl %r12d, %r12d
testl %ebp, %ebp
jne 0x130a48
movl 0xd8(%r14), %esi
movl 0xdc(%r14), %ecx
movq 0xa0(%r14), %rdx
movq 0xa8(%r14), %r8
movl 0xe0(%r14), %r9d
movups 0xb0(%r14), %xmm0
movq 0xc0(%r14), %rax
movl 0xec(%r14), %edi
movq %r12, 0x20(%rsp)
movl %edi, 0x18(%rsp)
movq %rax, 0x10(%rsp)
movups %xmm0, (%rsp)
leaq 0x250f3c(%rip), %rdi    # 0x38197d
xorl %eax, %eax
callq 0x108e02
movq %rbx, %rdi
callq 0x101e80
movl %ebp, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_data_setup_mapspec
static void gt_compressed_bitsequence_data_setup_mapspec(GtMapspec *mapspec,
                                                         void *data,
                                                         GT_UNUSED bool write)
{
  GtCompressedBitsequence *cbs = data;

  /* this makes writing easy, and solves the problem of knowing where the data
     starts within the file/mapped area */
  gt_compressed_bitsequence_header_setup_mapspec(mapspec, data, write);

  gt_mapspec_add_bitsequence(mapspec, cbs->c_offsets, cbs->c_offsets_size);
  gt_mapspec_add_bitsequence(mapspec, cbs->classes, cbs->classes_size);
  gt_mapspec_add_bitsequence(mapspec, cbs->superblockoffsets,
                             cbs->superblockoffsets_size);
  gt_mapspec_add_bitsequence(mapspec, cbs->superblockranks,
                             cbs->superblockranks_size);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x130d31
leaq 0x70(%rbx), %rsi
movq 0xa0(%rbx), %rdx
movq %r14, %rdi
callq 0x10a745
leaq 0x78(%rbx), %rsi
movq 0xa8(%rbx), %rdx
movq %r14, %rdi
callq 0x10a745
leaq 0x80(%rbx), %rsi
movq 0xc8(%rbx), %rdx
movq %r14, %rdi
callq 0x10a745
movq 0xd0(%rbx), %rdx
addq $0x88, %rbx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x10a745
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_delete
void gt_compressed_bitsequence_delete(GtCompressedBitsequence *cbs)
{
  if (cbs != NULL) {
    gt_popcount_tab_delete(cbs->popcount_tab);
    if (cbs->from_file) {
      gt_fa_xmunmap(cbs->mmapped);
    }
    else {
      gt_free(cbs->classes);
      gt_free(cbs->c_offsets);
      gt_free(cbs->superblockranks);
      gt_free(cbs->superblockoffsets);
    }
    gt_free(cbs->cbs_bi);
    gt_free(cbs);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x130ee3
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x68(%rdi), %rdi
callq 0x16c0ae
cmpb $0x1, 0xf0(%rbx)
jne 0x130ee4
movq 0x98(%rbx), %rdi
callq 0x102b12
jmp 0x130f35
retq
movq 0x78(%rbx), %rdi
leaq 0x250917(%rip), %r14    # 0x381806
movq %r14, %rsi
movl $0x429, %edx            # imm = 0x429
callq 0x109670
movq 0x70(%rbx), %rdi
movq %r14, %rsi
movl $0x42a, %edx            # imm = 0x42A
callq 0x109670
movq 0x88(%rbx), %rdi
movq %r14, %rsi
movl $0x42b, %edx            # imm = 0x42B
callq 0x109670
movq 0x80(%rbx), %rdi
movq %r14, %rsi
movl $0x42c, %edx            # imm = 0x42C
callq 0x109670
movq 0x90(%rbx), %rdi
leaq 0x2508c3(%rip), %r14    # 0x381806
movq %r14, %rsi
movl $0x42e, %edx            # imm = 0x42E
callq 0x109670
movq %rbx, %rdi
movq %r14, %rsi
movl $0x42f, %edx            # imm = 0x42F
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x109670
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/condenseq.c
// Function: gt_condenseq_seqstartpos
GtUword gt_condenseq_seqstartpos(const GtCondenseq *condenseq, GtUword seqnum)
{
  GtUword ret = 0;
  if (seqnum != 0)
    ret = gt_intset_get(condenseq->ssptab, seqnum - 1) + 1;
  return ret;
}

// Assembly:
testq %rsi, %rsi
je 0x131b94
pushq %rax
movq 0x28(%rdi), %rdi
decq %rsi
callq 0x15e2ef
incq %rax
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/condenseq.c
// Function: gt_condenseq_description
const char *gt_condenseq_description(const GtCondenseq *condenseq,
                                     GtUword *desclen,
                                     GtUword seqnum)
{
  gt_assert(condenseq != NULL);
  gt_assert(condenseq->orig_num_seq != 0);
  gt_assert(seqnum < condenseq->orig_num_seq);
  if (condenseq->id_len == GT_UNDEF_UWORD) {
    GtUword this = gt_intset_get(condenseq->sdstab, seqnum), previous;
    if (seqnum == 0) {
      *desclen = this;
      return condenseq->orig_ids;
    }
    previous = gt_intset_get(condenseq->sdstab, seqnum - 1);
    *desclen =  this - previous;
    return condenseq->orig_ids + previous;
  }
  else {
    const char *id = condenseq->orig_ids + seqnum * condenseq->id_len;
    *desclen = condenseq->id_len;
    while (id[*desclen - 1] == '\0')
      (*desclen)--;
    return condenseq->orig_ids + seqnum * condenseq->id_len;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x131c93
movq %rdi, %rbx
movq 0x80(%rdi), %rax
testq %rax, %rax
je 0x131c98
movq %rdx, %r15
cmpq %rdx, %rax
jbe 0x131c9d
movq %rsi, %r14
movq 0x58(%rbx), %rcx
cmpq $-0x1, %rcx
je 0x131c51
movq 0x48(%rbx), %rax
leaq 0x1(%r15), %rdx
imulq %rcx, %rdx
addq %rax, %rdx
decq %rdx
movq %rcx, (%r14)
decq %rcx
cmpb $0x0, (%rdx)
leaq -0x1(%rdx), %rdx
je 0x131c38
imulq 0x58(%rbx), %r15
addq %r15, %rax
jmp 0x131c87
movq 0x20(%rbx), %rdi
movq %r15, %rsi
callq 0x15e2ef
movq %rax, %r12
testq %r15, %r15
je 0x131c80
movq 0x20(%rbx), %rdi
decq %r15
movq %r15, %rsi
callq 0x15e2ef
subq %rax, %r12
movq %r12, (%r14)
addq 0x48(%rbx), %rax
jmp 0x131c87
movq %r12, (%r14)
movq 0x48(%rbx), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x3d90c
callq 0x3d8d3
callq 0x3d89a
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/condenseq.c
// Function: gt_condenseq_total_link_len
GtUword gt_condenseq_total_link_len(const GtCondenseq *condenseq)
{
  GtUword total = 0,
          i;

  for (i = 0; i < condenseq->lds_nelems; i++) {
    total += condenseq->links[i].len;
  }

  return total;
}

// Assembly:
movq 0x70(%rdi), %rcx
testq %rcx, %rcx
je 0x13211e
movq 0x8(%rdi), %rdx
addq $0x10, %rdx
xorl %eax, %eax
movl (%rdx), %esi
addq %rsi, %rax
addq $0x20, %rdx
decq %rcx
jne 0x13210f
retq
xorl %eax, %eax
retq