LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/squarealign.c
// Function: gt_squarealign_calculate
GtUword gt_squarealign_calculate(GtLinspaceManagement *spacemanager,
                                 GtAlignment *align,
                                 const GtUchar *useq,
                                 GtUword ustart,
                                 GtUword ulen,
                                 const GtUchar *vseq,
                                 GtUword vstart,
                                 GtUword vlen,
                                 GtUword matchcost,
                                 GtUword mismatchcost,
                                 GtUword gapcost)
{
  GtUword distance;
  GtScoreHandler *scorehandler;

  gt_assert(align);
  scorehandler = gt_scorehandler_new(matchcost, mismatchcost, 0, gapcost);
  distance = gt_squarealign_calculate_generic (spacemanager, align,
                                               useq, ustart,  ulen,
                                               vseq,  vstart, vlen,
                                               scorehandler);
  gt_scorehandler_delete(scorehandler);
  return distance;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, (%rsp)
testq %rsi, %rsi
je 0x11eefc
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
movq 0x60(%rsp), %rcx
movq 0x58(%rsp), %rsi
movq 0x50(%rsp), %rdi
xorl %edx, %edx
callq 0x1148f4
movq %rax, %rbx
subq $0x8, %rsp
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq 0x8(%rsp), %r9
pushq %rax
pushq 0x58(%rsp)
pushq 0x58(%rsp)
callq 0x11eaa4
addq $0x20, %rsp
movq %rax, %r14
movq %rbx, %rdi
callq 0x114a03
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x319065(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c6106(%rip), %rsi    # 0x2e5013
leaq 0x1fc0e3(%rip), %rdx    # 0x31aff7
leaq 0x215aba(%rip), %rcx    # 0x3349d5
leaq 0x215a74(%rip), %r8     # 0x334996
movl $0x8f, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/squarealign.c
// Function: gt_squarealign_print_edit_alignment
void gt_squarealign_print_edit_alignment(const GtUchar *useq, GtUword ustart,
                                         GtUword ulen, const GtUchar *vseq,
                                         GtUword vstart, GtUword vlen)
{
  GtAlignment *align;
  align = gt_alignment_new_with_seqs(useq+ustart, ulen, vseq+vstart, vlen);

  gt_squarealign_calculate(NULL, align, useq, ustart, ulen,
                           vseq, vstart, vlen, 0, 1, 1);
  gt_alignment_show(align, true, stdout, 80);
  gt_alignment_delete(align);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, 0x30(%rsp)
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %r14
addq %rsi, %rdi
leaq (%rcx,%r8), %rdx
movq %r13, %rsi
movq %r9, %rcx
callq 0xb4ea1
movq %rax, %rbx
pushq $0x1
popq %rax
movq %rax, 0x20(%rsp)
movq %rax, 0x18(%rsp)
andq $0x0, 0x10(%rsp)
movq %r15, 0x8(%rsp)
movq %r12, (%rsp)
xorl %edi, %edi
movq %rbx, %rsi
movq %r14, %rdx
movq %rbp, %rcx
movq %r13, %r8
movq 0x30(%rsp), %r9
callq 0x11ee79
movq 0x318f0a(%rip), %rax    # 0x437eb0
movq (%rax), %rdx
pushq $0x1
popq %rsi
pushq $0x50
popq %rcx
movq %rbx, %rdi
callq 0xb61aa
movq %rbx, %rdi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xb647f
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/squarealign.c
// Function: gt_squarealign_calculate_local
GtWord gt_squarealign_calculate_local(GtLinspaceManagement *spacemanager,
                                      GtAlignment *align,
                                      const GtUchar *useq,
                                      GtUword ustart,
                                      GtUword ulen,
                                      const GtUchar *vseq,
                                      GtUword vstart,
                                      GtUword vlen,
                                      GtWord matchscore,
                                      GtWord mismatchscore,
                                      GtWord gapscore)
{
  GtWord score;
  gt_assert(align);
  GtScoreHandler *scorehandler = gt_scorehandler_new(matchscore,
                                                     mismatchscore, 0,
                                                     gapscore);
  score = gt_squarealign_calculate_local_generic(spacemanager, align,
                                                 useq, ustart, ulen,
                                                 vseq, vstart, vlen,
                                                 scorehandler);
  gt_scorehandler_delete(scorehandler);
  return score;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, (%rsp)
testq %rsi, %rsi
je 0x11f5cf
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
movq 0x60(%rsp), %rcx
movq 0x58(%rsp), %rsi
movq 0x50(%rsp), %rdi
xorl %edx, %edx
callq 0x1148f4
movq %rax, %rbx
subq $0x8, %rsp
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq 0x8(%rsp), %r9
pushq %rax
pushq 0x58(%rsp)
pushq 0x58(%rsp)
callq 0x11f220
addq $0x20, %rsp
movq %rax, %r14
movq %rbx, %rdi
callq 0x114a03
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x318992(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c5a33(%rip), %rsi    # 0x2e5013
leaq 0x1fba10(%rip), %rdx    # 0x31aff7
leaq 0x215460(%rip), %rcx    # 0x334a4e
leaq 0x2153a1(%rip), %r8     # 0x334996
movl $0x174, %r9d            # imm = 0x174
xorl %eax, %eax
callq 0x17a50
callq 0x17390
nop
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/sspliced_alignment.c
// Function: gt_sspliced_alignment_new
GtSSplicedAlignment* gt_sspliced_alignment_new(const char *id, bool forward)
{
  GtSSplicedAlignment *sa;
  gt_assert(id);
  sa = gt_malloc(sizeof *sa);
  sa->id = gt_cstr_dup(id);
  sa->forward = forward;
  sa->exons = gt_array_new(sizeof (GtRange));
  return sa;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x11f650
movl %esi, %ebx
movq %rdi, %r14
leaq 0x21548b(%rip), %rsi    # 0x334aa9
pushq $0x18
popq %rdi
pushq $0x20
popq %rdx
callq 0x93160
movq %rax, %r15
movq %r14, %rdi
callq 0x6c2be
movq %rax, (%r15)
movb %bl, 0x8(%r15)
pushq $0x10
popq %rdi
callq 0x5809c
movq %rax, 0x10(%r15)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
movq 0x318911(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c59b2(%rip), %rsi    # 0x2e5013
leaq 0x25ff9d(%rip), %rdx    # 0x37f605
leaq 0x215420(%rip), %rcx    # 0x334a8f
leaq 0x215433(%rip), %r8     # 0x334aa9
pushq $0x1f
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/sspliced_alignment.c
// Function: gt_sspliced_alignment_delete
void gt_sspliced_alignment_delete(GtSSplicedAlignment *sa)
{
  if (!sa) return;
  gt_array_delete(sa->exons);
  gt_free(sa->id);
  gt_free(sa);
}

// Assembly:
testq %rdi, %rdi
je 0x11f6c5
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0x58eb9
movq (%rbx), %rdi
leaq 0x215404(%rip), %r14    # 0x334aa9
pushq $0x2b
popq %rdx
movq %r14, %rsi
callq 0x936f9
pushq $0x2c
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x936f9
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/sspliced_alignment.c
// Function: gt_sspliced_alignment_genomic_range
GtRange gt_sspliced_alignment_genomic_range(const GtSSplicedAlignment *sa)
{
  GtRange range;
  gt_assert(sa);
  gt_assert(gt_array_size(sa->exons));
  range.start = ((GtRange*) gt_array_get_first(sa->exons))->start;
  range.end   = ((GtRange*) gt_array_get_last(sa->exons))->end;
  return range;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x11f839
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0x586a4
testq %rax, %rax
je 0x11f863
movq 0x10(%rbx), %rdi
callq 0x581f8
movq (%rax), %r14
movq 0x10(%rbx), %rdi
callq 0x581ff
movq 0x8(%rax), %rdx
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x318728(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c57c9(%rip), %rsi    # 0x2e5013
leaq 0x206f8f(%rip), %rdx    # 0x3267e0
leaq 0x2152f5(%rip), %rcx    # 0x334b4d
leaq 0x21524a(%rip), %r8     # 0x334aa9
pushq $0x4b
jmp 0x11f88b
movq 0x3186fe(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c579f(%rip), %rsi    # 0x2e5013
leaq 0x2152f6(%rip), %rdx    # 0x334b71
leaq 0x2152cb(%rip), %rcx    # 0x334b4d
leaq 0x215220(%rip), %r8     # 0x334aa9
pushq $0x4c
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/sspliced_alignment.c
// Function: gt_sspliced_alignment_compare_ptr
int gt_sspliced_alignment_compare_ptr(const GtSSplicedAlignment **sa_a,
                                   const GtSSplicedAlignment **sa_b)
{
  GtRange range_a, range_b;
  range_a = gt_sspliced_alignment_genomic_range(*sa_a);
  range_b = gt_sspliced_alignment_genomic_range(*sa_b);
  return range_compare_long_first(range_a, range_b);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq (%rdi), %rdi
callq 0x11f7fb
movq %rax, %r14
movq %rdx, %rbx
movq (%r15), %rdi
callq 0x11f7fb
cmpq %rbx, %r14
ja 0x11f8f7
cmpq %rdx, %rax
ja 0x11f8f7
movq %r14, %rsi
xorq %rax, %rsi
movq %rbx, %rdi
xorq %rdx, %rdi
xorl %ecx, %ecx
orq %rsi, %rdi
je 0x11f8ef
cmpq %rax, %r14
sete %al
setb %cl
cmpq %rdx, %rbx
seta %dl
andb %al, %dl
orb %cl, %dl
movzbl %dl, %ecx
negl %ecx
orl $0x1, %ecx
movl %ecx, %eax
popq %rbx
popq %r14
popq %r15
retq
movq 0x31866a(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c570b(%rip), %rsi    # 0x2e5013
leaq 0x21527b(%rip), %rdx    # 0x334b8a
leaq 0x2152b1(%rip), %rcx    # 0x334bc7
leaq 0x21518c(%rip), %r8     # 0x334aa9
pushq $0x54
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stat_stream.c
// Function: gt_stat_stream_class
const GtNodeStreamClass* gt_stat_stream_class(void)
{
  static const GtNodeStreamClass *nsc = NULL;
  gt_class_alloc_lock_enter();
  if (!nsc) {
    nsc = gt_node_stream_class_new(sizeof (GtStatStream),
                                   stat_stream_free,
                                   stat_stream_next);
  }
  gt_class_alloc_lock_leave();
  return nsc;
}

// Assembly:
pushq %rax
callq 0x69e97
cmpq $0x0, 0x31dbe6(%rip)    # 0x43d870
jne 0x11fca9
leaq 0x24(%rip), %rsi        # 0x11fcb7
leaq 0x47(%rip), %rdx        # 0x11fce1
pushq $0x28
popq %rdi
callq 0x102838
movq %rax, 0x31dbc7(%rip)    # 0x43d870
callq 0x69ede
movq 0x31dbbb(%rip), %rax    # 0x43d870
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stat_stream.c
// Function: stat_stream_next
static int stat_stream_next(GtNodeStream *ns, GtGenomeNode **gn, GtError *err)
{
  GtStatStream *stat_stream;
  int had_err;
  gt_error_check(err);
  stat_stream = stat_stream_cast(ns);
  had_err = gt_node_stream_next(stat_stream->in_stream, gn, err);
  if (!had_err) {
    gt_assert(stat_stream->stat_visitor);
    if (*gn) {
      if (!gt_eof_node_try_cast(*gn)) /* do not count EOF nodes */
        stat_stream->number_of_DAGs++;
      had_err = gt_genome_node_accept(*gn, stat_stream->stat_visitor, err);
      gt_assert(!had_err); /* the status visitor is sane */
    }
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je 0x11fd02
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x11fd67
callq 0x11fc7c
movq %rax, %rdi
movq %r15, %rsi
callq 0x102c81
movq %rax, %r15
movq 0x10(%rax), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x102a22
movl %eax, %ebp
testl %eax, %eax
jne 0x11fd5a
cmpq $0x0, 0x18(%r15)
je 0x11fd91
movq (%r14), %rdi
testq %rdi, %rdi
je 0x11fd5a
callq 0x29a8bb
testq %rax, %rax
jne 0x11fd47
incq 0x20(%r15)
movq (%r14), %rdi
movq 0x18(%r15), %rsi
movq %rbx, %rdx
callq 0xdd39c
testl %eax, %eax
jne 0x11fdbb
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x3181fa(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c529b(%rip), %rsi    # 0x2e5013
leaq 0x1c5440(%rip), %rdx    # 0x2e51bf
leaq 0x214f65(%rip), %rcx    # 0x334ceb
leaq 0x214f6f(%rip), %r8     # 0x334cfc
pushq $0x2a
jmp 0x11fde3
movq 0x3181d0(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c5271(%rip), %rsi    # 0x2e5013
leaq 0x214f6e(%rip), %rdx    # 0x334d17
leaq 0x214f3b(%rip), %rcx    # 0x334ceb
leaq 0x214f45(%rip), %r8     # 0x334cfc
pushq $0x2e
jmp 0x11fde3
movq 0x3181a6(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c5247(%rip), %rsi    # 0x2e5013
leaq 0x1c58ac(%rip), %rdx    # 0x2e567f
leaq 0x214f11(%rip), %rcx    # 0x334ceb
leaq 0x214f1b(%rip), %r8     # 0x334cfc
pushq $0x33
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stat_stream.c
// Function: gt_stat_stream_new
GtNodeStream* gt_stat_stream_new(GtNodeStream *in_stream,
                                 bool gene_length_distri,
                                 bool gene_score_distri,
                                 bool exon_length_distri,
                                 bool exon_number_distri,
                                 bool intron_length_distri,
                                 bool cds_length_distri,
                                 bool used_sources)
{
  GtNodeStream *ns = gt_node_stream_create(gt_stat_stream_class(), false);
  GtStatStream *ss = stat_stream_cast(ns);
  ss->in_stream = gt_node_stream_ref(in_stream);
  ss->stat_visitor = gt_stat_visitor_new(gene_length_distri, gene_score_distri,
                                         exon_length_distri, exon_number_distri,
                                         intron_length_distri,
                                         cds_length_distri, used_sources);
  return ns;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, 0x14(%rsp)
movl %r8d, 0x10(%rsp)
movl %ecx, %r14d
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %rbx
callq 0x11fc7c
movq %rax, %rdi
xorl %esi, %esi
callq 0x10289f
movq %rax, %r13
callq 0x11fc7c
movq %rax, %rdi
movq %r13, %rsi
callq 0x102c81
movq %rax, %rbp
movq %rbx, %rdi
callq 0x102934
movq %rax, 0x10(%rbp)
movzbl 0x58(%rsp), %eax
movl %eax, (%rsp)
movzbl 0x50(%rsp), %r9d
movl %r12d, %edi
movl %r15d, %esi
movl %r14d, %edx
movl 0x10(%rsp), %ecx
movl 0x14(%rsp), %r8d
callq 0x12008b
movq %rax, 0x18(%rbp)
movq %r13, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stat_visitor.c
// Function: gt_stat_visitor_class
const GtNodeVisitorClass* gt_stat_visitor_class()
{
  static const GtNodeVisitorClass *nvc = NULL;
  gt_class_alloc_lock_enter();
  if (!nvc) {
    nvc = gt_node_visitor_class_new(sizeof (GtStatVisitor),
                                    stat_visitor_free,
                                    NULL,
                                    stat_visitor_feature_node,
                                    stat_visitor_region_node,
                                    NULL,
                                    NULL);
  }
  gt_class_alloc_lock_leave();
  return nvc;
}

// Assembly:
pushq %rax
callq 0x69e97
cmpq $0x0, 0x31d9b6(%rip)    # 0x43d878
jne 0x11fef4
andq $0x0, (%rsp)
leaq 0x32(%rip), %rsi        # 0x11ff02
leaq 0x9d(%rip), %rcx        # 0x11ff74
leaq 0x119(%rip), %r8        # 0x11fff7
movl $0xb0, %edi
xorl %edx, %edx
xorl %r9d, %r9d
callq 0x102cd0
movq %rax, 0x31d984(%rip)    # 0x43d878
callq 0x69ede
movq 0x31d978(%rip), %rax    # 0x43d878
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stat_visitor.c
// Function: stat_visitor_free
static void stat_visitor_free(GtNodeVisitor *nv)
{
  GtStatVisitor *sv = stat_visitor_cast(nv);
  gt_cstr_table_delete(sv->used_sources);
  gt_disc_distri_delete(sv->cds_length_distribution);
  gt_disc_distri_delete(sv->intron_length_distribution);
  gt_disc_distri_delete(sv->exon_number_distribution);
  gt_disc_distri_delete(sv->exon_length_distribution);
  gt_disc_distri_delete(sv->gene_score_distribution);
  gt_disc_distri_delete(sv->gene_length_distribution);
  gt_string_distri_delete(sv->type_counts);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x11feb4
movq %rax, %rdi
movq %rbx, %rsi
callq 0x102dfe
movq %rax, %rbx
movq 0xa0(%rax), %rdi
callq 0x6cf6b
movq 0x98(%rbx), %rdi
callq 0x6e064
movq 0x90(%rbx), %rdi
callq 0x6e064
movq 0x88(%rbx), %rdi
callq 0x6e064
movq 0x80(%rbx), %rdi
callq 0x6e064
movq 0x78(%rbx), %rdi
callq 0x6e064
movq 0x70(%rbx), %rdi
callq 0x6e064
movq 0xa8(%rbx), %rdi
popq %rbx
jmp 0xaeccb
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stat_visitor.c
// Function: stat_visitor_feature_node
static int stat_visitor_feature_node(GtNodeVisitor *nv, GtFeatureNode *fn,
                                     GtError *err)
{
  GtStatVisitor *sv;
  gt_error_check(err);
  sv = stat_visitor_cast(nv);
  return gt_feature_node_traverse_children(fn, sv, compute_statistics, false,
                                           err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je 0x11ff93
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x11ffbf
callq 0x11feb4
movq %rax, %rdi
movq %r15, %rsi
callq 0x102dfe
leaq 0x469(%rip), %rdx       # 0x120413
movq %r14, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
movq %rbx, %r8
popq %rbx
popq %r14
popq %r15
jmp 0xdac92
movq 0x317fa2(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c5043(%rip), %rsi    # 0x2e5013
leaq 0x1c51e8(%rip), %rdx    # 0x2e51bf
leaq 0x214eb1(%rip), %rcx    # 0x334e8f
leaq 0x214ec4(%rip), %r8     # 0x334ea9
movl $0xb3, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stat_visitor.c
// Function: stat_visitor_region_node
static int stat_visitor_region_node(GtNodeVisitor *nv, GtRegionNode *rn,
                                    GT_UNUSED GtError *err)
{
  GtStatVisitor *sv;
  GtRange range;
  gt_error_check(err);
  sv = stat_visitor_cast(nv);
  sv->number_of_sequence_regions++;
  range = gt_genome_node_get_range((GtGenomeNode*) rn);
  sv->total_length_of_sequence_regions += gt_range_length(&range);
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0x120015
movq %rdx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x120053
callq 0x11feb4
movq %rax, %rdi
movq %r14, %rsi
callq 0x102dfe
movq %rax, %r14
incq 0x10(%rax)
movq %rbx, %rdi
callq 0xdd1f4
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
callq 0xa31ee
addq %rax, 0x68(%r14)
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq 0x317f0e(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c4faf(%rip), %rsi    # 0x2e5013
leaq 0x1c5154(%rip), %rdx    # 0x2e51bf
leaq 0x214ee8(%rip), %rcx    # 0x334f5a
leaq 0x214e30(%rip), %r8     # 0x334ea9
movl $0xbe, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stat_visitor.c
// Function: gt_stat_visitor_new
GtNodeVisitor* gt_stat_visitor_new(bool gene_length_distri,
                                   bool gene_score_distri,
                                   bool exon_length_distri,
                                   bool exon_number_distri,
                                   bool intron_length_distri,
                                   bool cds_length_distri,
                                   bool used_sources)
{
  GtNodeVisitor *nv = gt_node_visitor_create(gt_stat_visitor_class());
  GtStatVisitor *sv = stat_visitor_cast(nv);
  if (gene_length_distri)
    sv->gene_length_distribution = gt_disc_distri_new();
  if (gene_score_distri)
    sv->gene_score_distribution = gt_disc_distri_new();
  if (exon_length_distri)
    sv->exon_length_distribution = gt_disc_distri_new();
  if (exon_number_distri)
    sv->exon_number_distribution = gt_disc_distri_new();
  if (intron_length_distri)
    sv->intron_length_distribution = gt_disc_distri_new();
  if (cds_length_distri)
    sv->cds_length_distribution = gt_disc_distri_new();
  sv->type_counts = gt_string_distri_new();
  if (used_sources)
    sv->used_sources = gt_cstr_table_new();
  return nv;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, 0x4(%rsp)
movl %r8d, (%rsp)
movl %ecx, %r12d
movl %edx, %r13d
movl %esi, %ebp
movl %edi, %r15d
callq 0x11feb4
movq %rax, %rdi
callq 0x102da0
movq %rax, %rbx
callq 0x11feb4
movq %rax, %rdi
movq %rbx, %rsi
callq 0x102dfe
movq %rax, %r14
testl %r15d, %r15d
je 0x1200db
callq 0x6d958
movq %rax, 0x70(%r14)
testb %bpl, %bpl
je 0x1200e9
callq 0x6d958
movq %rax, 0x78(%r14)
testb %r13b, %r13b
je 0x1200fa
callq 0x6d958
movq %rax, 0x80(%r14)
testb %r12b, %r12b
je 0x12010b
callq 0x6d958
movq %rax, 0x88(%r14)
cmpb $0x0, (%rsp)
je 0x12011d
callq 0x6d958
movq %rax, 0x90(%r14)
movb 0x40(%rsp), %bpl
cmpb $0x0, 0x4(%rsp)
je 0x120135
callq 0x6d958
movq %rax, 0x98(%r14)
callq 0xae898
movq %rax, 0xa8(%r14)
testb %bpl, %bpl
je 0x120152
callq 0x6ca6c
movq %rax, 0xa0(%r14)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/stat_visitor.c
// Function: add_exon_or_cds_number
static int add_exon_or_cds_number(GtFeatureNode *fn, void *data,
                                  GT_UNUSED GtError *err)
{
  GtStatVisitor *sv = (GtStatVisitor*) data;
  gt_error_check(err);
  gt_assert(sv && fn);
  if (gt_feature_node_has_type(fn, gt_ft_exon))
    sv->exon_number_for_distri++;
  else if (gt_feature_node_has_type(fn, gt_ft_CDS)) {
    GtRange range = gt_genome_node_get_range((GtGenomeNode*) fn);
    sv->cds_length_for_distri += gt_range_length(&range);
  }
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0x120813
movq %rdx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x12089a
testq %r14, %r14
je 0x120870
testq %rbx, %rbx
je 0x120870
leaq 0x2142e2(%rip), %rsi    # 0x334b06
movq %r14, %rdi
callq 0xda68b
testb %al, %al
je 0x120836
incq 0x58(%rbx)
jmp 0x120866
leaq 0x201fe8(%rip), %rsi    # 0x322825
movq %r14, %rdi
callq 0xda68b
testb %al, %al
je 0x120866
movq %r14, %rdi
callq 0xdd1f4
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
callq 0xa31ee
addq %rax, 0x60(%rbx)
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq 0x3176f1(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c4792(%rip), %rsi    # 0x2e5013
leaq 0x2146c9(%rip), %rdx    # 0x334f51
leaq 0x2146ab(%rip), %rcx    # 0x334f3a
leaq 0x214613(%rip), %r8     # 0x334ea9
pushq $0x4a
jmp 0x1208c2
movq 0x3176c7(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c4768(%rip), %rsi    # 0x2e5013
leaq 0x1c490d(%rip), %rdx    # 0x2e51bf
leaq 0x214681(%rip), %rcx    # 0x334f3a
leaq 0x2145e9(%rip), %r8     # 0x334ea9
pushq $0x49
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/string_matching.c
// Function: gt_string_matching_bmh
void gt_string_matching_bmh(const char *s, GtUword n,
                            const char *p, GtUword m,
                            GtProcessMatch process_match, void *data)
{
  GtUword i, j, pos, d[UCHAR_MAX];
  gt_assert(s && p);
  if (m > n || !m || !n) /* no match possible */
    return;
  /* preprocessing */
  for (i = 0; i < UCHAR_MAX; i++)
    d[i] = m;
  for (j = 0; j < m-1; j++)
    d[(unsigned) p[j]] = m-(j+1);
  /* searching */
  pos = 0;
  while (pos <= n-m) {
    j = m;
    while (j > 0 && s[pos+j-1] == p[j-1])
      j--;
    if (j == 0 && process_match) {
      if (process_match(pos, data))
        return;
    }
    pos += d[(unsigned) s[pos+m-1]];
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x808, %rsp            # imm = 0x808
movq %r9, 0x8(%rsp)
testq %rdi, %rdi
je 0x124239
movq %rdx, %r12
testq %rdx, %rdx
je 0x124239
movq %rcx, %r14
movq %rsi, %rbp
leaq -0x1(%rcx), %rax
cmpq %rsi, %rax
jae 0x124227
movq %r8, %r13
xorl %edx, %edx
cmpq $0xff, %rdx
je 0x1241aa
movq %r14, 0x10(%rsp,%rdx,8)
incq %rdx
jmp 0x124197
movq %r12, %r10
movq %rax, %rdx
subq $0x1, %rdx
jb 0x1241c9
movsbq (%r10), %rsi
movl %esi, %esi
movq %rax, 0x10(%rsp,%rsi,8)
incq %r10
movq %rdx, %rax
jmp 0x1241b0
subq %r14, %rbp
leaq (%rdi,%r14), %r15
decq %r15
decq %rdi
xorl %ebx, %ebx
movq %rdi, (%rsp)
cmpq %rbp, %rbx
ja 0x124227
leaq (%rdi,%rbx), %rax
movq %r14, %rdx
movq %r14, %r11
subq $0x1, %r11
jb 0x124201
movb (%rax,%rdx), %sil
cmpb -0x1(%r12,%rdx), %sil
movq %r11, %rdx
je 0x1241eb
jmp 0x124219
testq %r13, %r13
je 0x124219
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq *%r13
movq (%rsp), %rdi
testb %al, %al
jne 0x124227
movsbq (%r15,%rbx), %rax
movl %eax, %eax
addq 0x10(%rsp,%rax,8), %rbx
jmp 0x1241dc
addq $0x808, %rsp            # imm = 0x808
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x313d28(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c0dc9(%rip), %rsi    # 0x2e5013
leaq 0x2118d8(%rip), %rdx    # 0x335b29
leaq 0x2118d8(%rip), %rcx    # 0x335b30
leaq 0x2118e8(%rip), %r8     # 0x335b47
pushq $0x25
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/string_matching.c
// Function: gt_string_matching_shift_and
void gt_string_matching_shift_and(const char *s, GtUword n,
                                  const char *p, GtUword m,
                                  GtProcessMatch process_match, void *data)
{
  GtBittab *D, *B[UCHAR_MAX] = { NULL };
  GtUword i, j;
  gt_assert(s && p);
  if (m > n || !m || !n) /* no match possible */
    return;
  /* preprocessing */
  for (j = 0; j < m; j++) {
    if (!B[(unsigned) p[j]])
      B[(unsigned) p[j]] = gt_bittab_new(m);
    gt_bittab_set_bit(B[(unsigned) p[j]], j);
  }
  /* searching */
  D = gt_bittab_new(m);
  for (i = 0; i < n; i++) {
    gt_bittab_shift_left_equal(D);
    gt_bittab_set_bit(D, 0);
    if (B[(unsigned) s[i]])
      gt_bittab_and_equal(D, B[(unsigned) s[i]]);
    else
      gt_bittab_unset(D);
    if (gt_bittab_bit_is_set(D, m - 1) && process_match) {
      if (process_match(i - m + 1, data))
        break;
    }
  }
  /* free */
  for (i = 0; i < UCHAR_MAX; i++)
    gt_bittab_delete(B[i]);
  gt_bittab_delete(D);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x808, %rsp            # imm = 0x808
movq %r9, (%rsp)
movq %r8, %r14
movq %rcx, %rbx
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %r12
leaq 0x10(%rsp), %rdi
movl $0x7f8, %edx            # imm = 0x7F8
xorl %esi, %esi
callq 0x17380
movq %r12, 0x8(%rsp)
testq %r12, %r12
je 0x124551
testq %rbp, %rbp
je 0x124551
leaq -0x1(%rbx), %r13
cmpq %r15, %r13
jae 0x124494
xorl %r12d, %r12d
cmpq %r12, %rbx
je 0x1244a6
movsbq (%rbp,%r12), %rax
movl %eax, %eax
movq 0x10(%rsp,%rax,8), %rdi
testq %rdi, %rdi
jne 0x124487
movq %rbx, %rdi
callq 0x5e0b0
movq %rax, %rdi
movsbq (%rbp,%r12), %rax
movl %eax, %eax
movq %rdi, 0x10(%rsp,%rax,8)
movq %r12, %rsi
callq 0x5e143
incq %r12
jmp 0x124458
addq $0x808, %rsp            # imm = 0x808
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
callq 0x5e0b0
movq %rax, %rbp
pushq $0x1
popq %r12
subq %rbx, %r12
xorl %ebx, %ebx
cmpq %rbx, %r15
je 0x12451e
movq %rbp, %rdi
callq 0x5e684
movq %rbp, %rdi
xorl %esi, %esi
callq 0x5e143
movq 0x8(%rsp), %rax
movsbq (%rax,%rbx), %rax
movl %eax, %eax
movq 0x10(%rsp,%rax,8), %rsi
movq %rbp, %rdi
testq %rsi, %rsi
je 0x1244f1
callq 0x5e554
jmp 0x1244f6
callq 0x5e752
movq %rbp, %rdi
movq %r13, %rsi
callq 0x5e839
testq %r14, %r14
je 0x124519
testb %al, %al
je 0x124519
leaq (%r12,%rbx), %rdi
movq (%rsp), %rsi
callq *%r14
testb %al, %al
jne 0x12451e
incq %rbx
jmp 0x1244ba
xorl %ebx, %ebx
cmpq $0xff, %rbx
je 0x124538
movq 0x10(%rsp,%rbx,8), %rdi
callq 0x5ecf6
incq %rbx
jmp 0x124520
movq %rbp, %rdi
addq $0x808, %rsp            # imm = 0x808
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5ecf6
movq 0x313a10(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c0ab1(%rip), %rsi    # 0x2e5013
leaq 0x2115c0(%rip), %rdx    # 0x335b29
leaq 0x21160d(%rip), %rcx    # 0x335b7d
leaq 0x2115d0(%rip), %r8     # 0x335b47
movl $0x82, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/string_matching.c
// Function: gt_string_matching_brute_force
void gt_string_matching_brute_force(const char *s, GtUword n,
                                    const char *p, GtUword m,
                                    GtProcessMatch process_match, void *data)
{
  GtUword i;
  gt_assert(s && p);
  if (m > n || !m || !n) /* no match possible */
    return;
  for (i = 0; i <= n - m; i++) {
    GtUword j = 0;
    while (j < m && s[i+j] == p[j])
      j++;
    if (j == m && process_match) {
      if (process_match(i, data))
        break;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, (%rsp)
testq %rdi, %rdi
je 0x124612
movq %rdx, %r12
testq %rdx, %rdx
je 0x124612
movq %rcx, %r15
movq %rsi, %r13
leaq -0x1(%rcx), %rax
cmpq %rsi, %rax
jae 0x124603
movq %r8, %r14
movq %rdi, %rbp
subq %r15, %r13
xorl %ebx, %ebx
cmpq %r13, %rbx
ja 0x124603
xorl %eax, %eax
cmpq %rax, %r15
je 0x1245da
movb (%rbp,%rax), %cl
cmpb (%r12,%rax), %cl
jne 0x1245dd
incq %rax
jmp 0x1245c6
movq %r15, %rax
testq %r14, %r14
sete %cl
cmpq %r15, %rax
setne %al
orb %cl, %al
jne 0x1245fb
movq %rbx, %rdi
movq (%rsp), %rsi
callq *%r14
testb %al, %al
jne 0x124603
incq %rbx
incq %rbp
jmp 0x1245bf
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x31394f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c09f0(%rip), %rsi    # 0x2e5013
leaq 0x2114ff(%rip), %rdx    # 0x335b29
leaq 0x211569(%rip), %rcx    # 0x335b9a
leaq 0x21150f(%rip), %r8     # 0x335b47
movl $0xa4, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/string_matching.c
// Function: store_match
static bool store_match(GtUword pos, void *data)
{
  GtArray *positions = data;
  gt_assert(positions);
  gt_array_add(positions, pos);
  return false;
}

// Assembly:
pushq %rax
movq %rdi, (%rsp)
testq %rsi, %rsi
je 0x124d49
movq %rsp, %rax
pushq $0x8
popq %rdx
movq %rsi, %rdi
movq %rax, %rsi
callq 0x5851d
xorl %eax, %eax
popq %rcx
retq
movq 0x313218(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c02b9(%rip), %rsi    # 0x2e5013
leaq 0x1d49aa(%rip), %rdx    # 0x2f970b
leaq 0x2110ae(%rip), %rcx    # 0x335e16
leaq 0x210dd8(%rip), %r8     # 0x335b47
movl $0xbd, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/string_matching.c
// Function: store_first_match
static bool store_first_match(GtUword pos, void *data)
{
  GtUword *match = data;
  gt_assert(match);
  *match = pos;
  return true;
}

// Assembly:
testq %rsi, %rsi
je 0x124d8c
movq %rdi, (%rsi)
movb $0x1, %al
retq
pushq %rax
movq 0x3131d4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1c0275(%rip), %rsi    # 0x2e5013
leaq 0x202253(%rip), %rdx    # 0x326ff8
leaq 0x211076(%rip), %rcx    # 0x335e22
leaq 0x210d94(%rip), %r8     # 0x335b47
movl $0xb5, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/targetbest_select_stream.c
// Function: gt_targetbest_select_stream_class
const GtNodeStreamClass* gt_targetbest_select_stream_class(void)
{
  static const GtNodeStreamClass *nsc = NULL;
  gt_class_alloc_lock_enter();
  if (!nsc) {
    nsc = gt_node_stream_class_new(sizeof (GtTargetbestSelectStream),
                                   targetbest_select_stream_free,
                                   targetbest_select_stream_next);
  }
  gt_class_alloc_lock_leave();
  return nsc;
}

// Assembly:
pushq %rax
callq 0x69e97
cmpq $0x0, 0x31686a(%rip)    # 0x43d880
jne 0x127035
leaq 0x24(%rip), %rsi        # 0x127043
leaq 0x78(%rip), %rdx        # 0x12709e
pushq $0x38
popq %rdi
callq 0x102838
movq %rax, 0x31684b(%rip)    # 0x43d880
callq 0x69ede
movq 0x31683f(%rip), %rax    # 0x43d880
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/targetbest_select_stream.c
// Function: targetbest_select_stream_free
static void targetbest_select_stream_free(GtNodeStream *ns)
{
  GtTargetbestSelectStream *tfs = targetbest_select_stream_cast(ns);
  for (; tfs->next != NULL; tfs->next = gt_dlistelem_next(tfs->next))
    gt_genome_node_delete(gt_dlistelem_get_data(tfs->next));
  gt_dlist_delete(tfs->trees);
  gt_hashmap_delete(tfs->target_to_elem);
  gt_node_stream_delete(tfs->in_stream);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x127008
movq %rax, %rdi
movq %rbx, %rsi
callq 0x102c81
movq %rax, %rbx
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x127082
movq %rax, %rdi
callq 0x6e2bb
movq %rax, %rdi
callq 0xde013
movq 0x20(%rbx), %rdi
callq 0x6e2fe
movq %rax, 0x20(%rbx)
jmp 0x12705e
movq 0x18(%rbx), %rdi
callq 0x6e7d8
movq 0x28(%rbx), %rdi
callq 0x8f933
movq 0x10(%rbx), %rdi
popq %rbx
jmp 0x10297b
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/targetbest_select_stream.c
// Function: gt_targetbest_select_stream_new
GtNodeStream* gt_targetbest_select_stream_new(GtNodeStream *in_stream)
{
  GtTargetbestSelectStream *tfs;
  GtNodeStream *ns;
  gt_assert(in_stream);
  ns = gt_node_stream_create(gt_targetbest_select_stream_class(),
                             gt_node_stream_is_sorted(in_stream));
  tfs = targetbest_select_stream_cast(ns);
  tfs->in_stream = gt_node_stream_ref(in_stream);
  tfs->in_stream_processed = false;
  tfs->trees = gt_dlist_new(NULL);
  tfs->target_to_elem = gt_hashmap_new(GT_HASH_STRING, gt_free_func, NULL);
  return ns;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x1274c0
movq %rdi, %r14
callq 0x127008
movq %rax, %rbx
movq %r14, %rdi
callq 0x102c3d
movzbl %al, %esi
movq %rbx, %rdi
callq 0x10289f
movq %rax, %rbx
callq 0x127008
movq %rax, %rdi
movq %rbx, %rsi
callq 0x102c81
movq %rax, %r15
movq %r14, %rdi
callq 0x102934
movq %rax, 0x10(%r15)
movb $0x0, 0x30(%r15)
xorl %edi, %edi
callq 0x6e154
movq %rax, 0x18(%r15)
leaq -0x93c6a(%rip), %rsi    # 0x9383f
pushq $0x1
popq %rdi
xorl %edx, %edx
callq 0x8f330
movq %rax, 0x28(%r15)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq 0x310aa1(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bdb42(%rip), %rsi    # 0x2e5013
leaq 0x1c7ebb(%rip), %rdx    # 0x2ef393
leaq 0x20f433(%rip), %rcx    # 0x336912
leaq 0x20f44c(%rip), %r8     # 0x336932
movl $0xbb, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/tir_stream.c
// Function: gt_tir_stream_class
const GtNodeStreamClass* gt_tir_stream_class(void)
{
  static const GtNodeStreamClass *nsc = NULL;
  if (!nsc) {
    nsc = gt_node_stream_class_new(sizeof (GtTIRStream),
                                   gt_tir_stream_free,
                                   gt_tir_stream_next);
  }
  return nsc;
}

// Assembly:
movq 0x315bf1(%rip), %rax    # 0x43d898
testq %rax, %rax
je 0x127cad
retq
pushq %rax
leaq 0x1d(%rip), %rsi        # 0x127cd2
leaq 0xa2(%rip), %rdx        # 0x127d5e
movl $0x120, %edi            # imm = 0x120
callq 0x102838
movq %rax, 0x315bcb(%rip)    # 0x43d898
addq $0x8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/tir_stream.c
// Function: gt_tir_stream_free
static void gt_tir_stream_free(GtNodeStream *ns)
{
  GtTIRStream *tir_stream = gt_node_stream_cast(gt_tir_stream_class(), ns);
  GT_FREEARRAY(&tir_stream->first_pairs, TIRPair);
  gt_str_delete(tir_stream->str_indexname);
  if (tir_stream->ssar != NULL)
    gt_freeSequentialsuffixarrayreader(&tir_stream->ssar);
  if (tir_stream->tir_pairs != NULL)
    gt_free(tir_stream->tir_pairs);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x127ca0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x102c81
movq %rax, %rbx
movq 0x78(%rax), %rdi
testq %rdi, %rdi
je 0x127d16
leaq 0x78(%rbx), %r14
leaq 0x20eee3(%rip), %rsi    # 0x336be3
movl $0x3be, %edx            # imm = 0x3BE
callq 0x936f9
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
andq $0x0, 0x10(%r14)
movq 0xb0(%rbx), %rdi
callq 0xae103
cmpq $0x0, 0x18(%rbx)
je 0x127d35
movq %rbx, %rdi
addq $0x18, %rdi
callq 0x1517e5
movq 0x70(%rbx), %rdi
testq %rdi, %rdi
je 0x127d56
leaq 0x20ee9e(%rip), %rsi    # 0x336be3
movl $0x3c3, %edx            # imm = 0x3C3
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x936f9
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/tir_stream.c
// Function: gt_tir_compare_TIRs
static int gt_tir_compare_TIRs(const void *a, const void *b)
{
  const TIRPair *pair1 = (const TIRPair*) a;
  const TIRPair *pair2 = (const TIRPair*) b;
  if (pair1->contignumber < pair2->contignumber) {
    return -1;
  } else if (pair1->contignumber == pair2->contignumber) {
    if (pair1->left_tir_start < pair2->left_tir_start) {
      return -1;
    } else if (pair1->left_tir_start == pair2-> left_tir_start) {
      if (pair1->right_transformed_start < pair2->right_transformed_start) {
        return -1;
      } else if (pair1->right_transformed_start
                                            == pair2->right_transformed_start) {
        return 0;
      }
    }
  }
  return 1;
}

// Assembly:
movq (%rsi), %rcx
pushq $-0x1
popq %rax
cmpq %rcx, (%rdi)
jb 0x1296b8
jne 0x1296b5
movq 0x8(%rsi), %rcx
cmpq %rcx, 0x8(%rdi)
jb 0x1296b8
jne 0x1296b5
movq 0x40(%rdi), %rcx
movq 0x40(%rsi), %rdx
cmpq %rdx, %rcx
jb 0x1296b8
xorl %eax, %eax
cmpq %rdx, %rcx
je 0x1296b8
pushq $0x1
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/tir_stream.c
// Function: gt_tir_store_TSDs
static void gt_tir_store_TSDs(void *info, const GtQuerymatch *querymatch)
{
  Seed *nextfree;
  TSDinfo *TSDs = (TSDinfo *) info;

  /* store the TSD  */
  GT_GETNEXTFREEINARRAY(nextfree, &TSDs->TSDs, Seed, 100);
  nextfree->pos1 = TSDs->left_start_pos + gt_querymatch_dbstart(querymatch);
  nextfree->offset = TSDs->right_start_pos
                       + gt_querymatch_querystart(querymatch)
                       - (nextfree->pos1);
  nextfree->len = gt_querymatch_querylen(querymatch);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rax
cmpq %rax, 0x20(%rdi)
jae 0x1296d8
movq 0x10(%r14), %r15
jmp 0x129700
addq $0x64, %rax
movq %rax, 0x18(%r14)
movq 0x10(%r14), %rdi
imulq $0x28, %rax, %rsi
leaq 0x20d4f4(%rip), %rdx    # 0x336be3
movl $0xba, %ecx
callq 0x93472
movq %rax, %r15
movq %rax, 0x10(%r14)
testq %r15, %r15
je 0x129756
movq (%r14), %r12
movq 0x20(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x20(%r14)
imulq $0x28, %rax, %r13
movq %rbx, %rdi
callq 0x16a061
addq %r12, %rax
movq %rax, (%r15,%r13)
movq 0x8(%r14), %r14
movq %rbx, %rdi
callq 0x16a074
addq %r14, %rax
subq (%r15,%r13), %rax
movq %rax, 0x10(%r15,%r13)
movq %rbx, %rdi
callq 0x16a05c
movq %rax, 0x18(%r15,%r13)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x30e80b(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bb8ac(%rip), %rsi    # 0x2e5013
leaq 0x20d72a(%rip), %rdx    # 0x336e98
leaq 0x20d711(%rip), %rcx    # 0x336e86
leaq 0x20d467(%rip), %r8     # 0x336be3
movl $0xba, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
nop
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/typecheck_info.c
// Function: gt_typecheck_info_delete
void gt_typecheck_info_delete(GtTypecheckInfo *tci)
{
  if (!tci) return;
  gt_option_delete(tci->typecheck_option);
  gt_str_delete(tci->typecheck);
  gt_free(tci);
}

// Assembly:
testq %rdi, %rdi
je 0x12ab07
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x9a8ea
movq (%rbx), %rdi
callq 0xae103
leaq 0x20cd9a(%rip), %rsi    # 0x337895
pushq $0x2c
popq %rdx
movq %rbx, %rdi
popq %rbx
jmp 0x936f9
retq
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/typecheck_info.c
// Function: gt_typecheck_info_register_options_with_default
void gt_typecheck_info_register_options_with_default(GtTypecheckInfo *tci,
                                                     GtOptionParser *op,
                                                     const char *default_v)
{
  GtOption *typecheck_option, *built_in_option;
  gt_assert(tci && op);
  gt_assert(!tci->typecheck_option); /* can only called once */

  /* -typecheck */
  typecheck_option =
    gt_option_new_string("typecheck", "use an ontology given in an OBO file "
                         "to validate parent-child relationships.\n"
                         "If no argument is given, "
                         "the sofa.obo file from the gtdata/obo_files "
                         "directory is used.\nIf an argument is given, it is "
                         "used as an OBO filename.\nIn the case that such a "
                         "file does not exist '.obo' is added to the argument "
                         "and loading the resulting filename from the "
                         "gtdata/obo_files directory is attempted.",
                         tci->typecheck, default_v);
  gt_option_argument_is_optional(typecheck_option);
  gt_option_parser_add_option(op, typecheck_option);
  tci->typecheck_option = gt_option_ref(typecheck_option);

  /* -typecheck-built-in */
  built_in_option = gt_option_new_bool("typecheck-built-in",
                                       "use built-in type checker",
                                       &tci->typecheck_built_in, false);
  gt_option_is_development_option(built_in_option);
  gt_option_parser_add_option(op, built_in_option);
  gt_option_exclude(typecheck_option, built_in_option);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x12abad
movq %rsi, %rbx
testq %rsi, %rsi
je 0x12abad
movq %rdi, %r14
cmpq $0x0, 0x8(%rdi)
jne 0x12abd7
movq %rdx, %rcx
movq (%r14), %rdx
leaq 0x20cdc7(%rip), %rdi    # 0x337904
leaq 0x20cdca(%rip), %rsi    # 0x33790e
callq 0x9ad12
movq %rax, %r15
movq %rax, %rdi
callq 0x9b488
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
movq %r15, %rdi
callq 0x97db0
movq %rax, 0x8(%r14)
addq $0x10, %r14
leaq 0x20cf16(%rip), %rdi    # 0x337a8c
leaq 0x20cf22(%rip), %rsi    # 0x337a9f
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r14
movq %rax, %rdi
callq 0x9b10a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x97f31
movq %r15, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x9b38d
movq 0x30d3b4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1ba455(%rip), %rsi    # 0x2e5013
leaq 0x20ccee(%rip), %rdx    # 0x3378b3
leaq 0x20ccf1(%rip), %rcx    # 0x3378bd
leaq 0x20ccc2(%rip), %r8     # 0x337895
pushq $0x34
jmp 0x12abff
movq 0x30d38a(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1ba42b(%rip), %rsi    # 0x2e5013
leaq 0x20ccfe(%rip), %rdx    # 0x3378ed
leaq 0x20ccc7(%rip), %rcx    # 0x3378bd
leaq 0x20cc98(%rip), %r8     # 0x337895
pushq $0x35
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/typecheck_info.c
// Function: gt_typecheck_info_option_used
bool gt_typecheck_info_option_used(const GtTypecheckInfo *tci)
{
  gt_assert(tci && tci->typecheck_option);
  if (gt_option_is_set(tci->typecheck_option) || tci->typecheck_built_in)
    return true;
  return false;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x12ac38
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x12ac38
callq 0x9b4cb
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x12ac36
movb 0x10(%rbx), %al
popq %rbx
retq
movq 0x30d329(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1ba3ca(%rip), %rsi    # 0x2e5013
leaq 0x20ce69(%rip), %rdx    # 0x337ab9
leaq 0x20ce7f(%rip), %rcx    # 0x337ad6
leaq 0x20cc37(%rip), %r8     # 0x337895
pushq $0x58
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/typecheck_info.c
// Function: gt_typecheck_info_create_type_checker
GtTypeChecker* gt_typecheck_info_create_type_checker(const GtTypecheckInfo *tci,
                                                     GtError *err)
{
  GtTypeChecker *type_checker = NULL;
  int had_err = 0;
  gt_error_check(err);
  gt_assert(tci);
  if (tci->typecheck_built_in)
    type_checker = gt_type_checker_builtin_new();
  else {
    GtStr *obo_file;
    gt_assert(gt_option_is_set(tci->typecheck_option));
    if (!gt_str_length(tci->typecheck)) {
      /* a. */
      if (!(obo_file = get_obo_path(err)))
        had_err = -1;
      if (!had_err)
        gt_str_append_cstr(obo_file, "sofa.obo");
    }
    else if (gt_file_exists(gt_str_get(tci->typecheck))) {
      /* b. */
      obo_file = gt_str_new_cstr(gt_str_get(tci->typecheck));
    }
    else {
      /* c. */
      if (!(obo_file = get_obo_path(err)))
        had_err = -1;
      if (!had_err) {
        gt_str_append_str(obo_file, tci->typecheck);
        gt_str_append_cstr(obo_file, ".obo");
      }
    }

    if (!had_err)
      type_checker = gt_type_checker_obo_new(gt_str_get(obo_file), err);

    gt_str_delete(obo_file);
  }
  return type_checker;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0x12ac8e
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x12ad8c
testq %r14, %r14
je 0x12ad62
cmpb $0x1, 0x10(%r14)
jne 0x12acaa
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x12aa85
movq 0x8(%r14), %rdi
callq 0x9b4cb
testb %al, %al
je 0x12adb6
movq (%r14), %rdi
callq 0xad289
testq %rax, %rax
je 0x12acf1
movq (%r14), %rdi
callq 0xad1fa
movq %rax, %rdi
callq 0x8da98
testb %al, %al
je 0x12ad0a
movq (%r14), %rdi
callq 0xad1fa
movq %rax, %rdi
callq 0xacbd1
movq %rax, %r15
jmp 0x12ad34
movq %rbx, %rdi
callq 0x12adec
testq %rax, %rax
je 0x12ad4c
movq %rax, %r15
leaq 0x20ce3e(%rip), %rsi    # 0x337b46
jmp 0x12ad2c
movq %rbx, %rdi
callq 0x12adec
testq %rax, %rax
je 0x12ad4c
movq %rax, %r15
movq (%r14), %rsi
movq %rax, %rdi
callq 0xacd13
leaq 0x20ce1e(%rip), %rsi    # 0x337b4a
movq %r15, %rdi
callq 0xacbfb
movq %r15, %rdi
callq 0xad1fa
movq %rax, %rdi
movq %rbx, %rsi
callq 0x29fcab
movq %rax, %rbx
jmp 0x12ad51
xorl %r15d, %r15d
xorl %ebx, %ebx
movq %r15, %rdi
callq 0xae103
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq 0x30d1ff(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1ba2a0(%rip), %rsi    # 0x2e5013
leaq 0x20cda0(%rip), %rdx    # 0x337b1a
leaq 0x20cd73(%rip), %rcx    # 0x337af4
leaq 0x20cb0d(%rip), %r8     # 0x337895
pushq $0x75
jmp 0x12adde
movq 0x30d1d5(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1ba276(%rip), %rsi    # 0x2e5013
leaq 0x1ba41b(%rip), %rdx    # 0x2e51bf
leaq 0x20cd49(%rip), %rcx    # 0x337af4
leaq 0x20cae3(%rip), %r8     # 0x337895
pushq $0x74
jmp 0x12adde
movq 0x30d1ab(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1ba24c(%rip), %rsi    # 0x2e5013
leaq 0x20cd50(%rip), %rdx    # 0x337b1e
leaq 0x20cd1f(%rip), %rcx    # 0x337af4
leaq 0x20cab9(%rip), %r8     # 0x337895
pushq $0x7a
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390