LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/add_ids_visitor.c
// Function: automatic_sequence_region_delete
static void automatic_sequence_region_delete(AutomaticSequenceRegion *auto_sr)
{
  GtUword i;
  if (!auto_sr) return;
  gt_genome_node_delete(auto_sr->sequence_region);
  for (i = 0; i < gt_array_size(auto_sr->feature_nodes); i++) {
    gt_genome_node_delete(*(GtGenomeNode**)
                              gt_array_get(auto_sr->feature_nodes, i));
  }
  gt_array_delete(auto_sr->feature_nodes);
  gt_free(auto_sr);
}

// Assembly:
testq %rdi, %rdi
je 0x840f5
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x42ade
movq 0x8(%rbx), %rdi
callq 0x6ecda
testq %rax, %rax
je 0x840d1
xorl %r14d, %r14d
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x6e9fa
movq (%rax), %rdi
callq 0x42ade
incq %r14
movq 0x8(%rbx), %rdi
callq 0x6ecda
cmpq %rax, %r14
jb 0x840ac
movq 0x8(%rbx), %rdi
callq 0x6f134
leaq 0x6fc6f(%rip), %rsi     # 0xf3d50
movq %rbx, %rdi
movl $0x45, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x362a0
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/add_ids_visitor.c
// Function: gt_add_ids_visitor_finalize
void gt_add_ids_visitor_finalize(GtNodeVisitor *nv)
{
  GT_UNUSED int had_err;
  GtAddIDsVisitor *add_ids_visitor = add_ids_visitor_cast(nv);
  had_err = gt_hashmap_foreach(add_ids_visitor->undefined_sequence_regions,
                               add_auto_sr_to_queue,
                               add_ids_visitor->node_buffer, NULL);
  gt_assert(!had_err); /* add_auto_sr_to_queue() is sane */
  gt_hashmap_reset(add_ids_visitor->undefined_sequence_regions);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x83b00
movq %rax, %rdi
movq %rbx, %rsi
callq 0x49c1d
movq %rax, %rbx
movq 0x10(%rax), %rdx
movq 0x20(%rax), %rdi
leaq 0x1a(%rip), %rsi        # 0x84172
xorl %ecx, %ecx
callq 0x771f5
testl %eax, %eax
jne 0x8416d
movq 0x20(%rbx), %rdi
popq %rbx
jmp 0x77249
callq 0x1ef0f
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/add_ids_visitor.c
// Function: add_auto_sr_to_queue
static int add_auto_sr_to_queue(GT_UNUSED void *key, void *value, void *data,
                                GT_UNUSED GtError *err)
{
  AutomaticSequenceRegion *auto_sr = value;
  GtQueue *genome_nodes = data;
  GtGenomeNode *gf;
  unsigned int i;
  gt_error_check(err);
  gt_assert(key && value && data);
  if (gt_array_size(auto_sr->feature_nodes)) {
    gt_queue_add(genome_nodes, auto_sr->sequence_region);
    auto_sr->sequence_region = NULL;
    for (i = 0; i < gt_array_size(auto_sr->feature_nodes); i++) {
      gf = *(GtGenomeNode**) gt_array_get(auto_sr->feature_nodes, i);
      gt_queue_add(genome_nodes, gf);
    }
    gt_array_reset(auto_sr->feature_nodes);
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
testq %rcx, %rcx
je 0x84197
movq %rcx, %rdi
callq 0x3566a
testb %al, %al
jne 0x84225
testq %r15, %r15
je 0x84220
testq %rbx, %rbx
je 0x84220
testq %r14, %r14
je 0x84220
movq 0x8(%rbx), %rdi
callq 0x6ecda
testq %rax, %rax
je 0x84213
movq (%rbx), %rsi
movq %r14, %rdi
callq 0x7c043
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
callq 0x6ecda
testq %rax, %rax
je 0x8420a
movl $0x1, %ebp
xorl %r15d, %r15d
movq 0x8(%rbx), %rdi
movq %r15, %rsi
callq 0x6e9fa
movq (%rax), %rsi
movq %r14, %rdi
callq 0x7c043
movl %ebp, %r15d
movq 0x8(%rbx), %rdi
callq 0x6ecda
incl %ebp
cmpq %r15, %rax
ja 0x841e0
movq 0x8(%rbx), %rdi
callq 0x6ed13
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x1ef81
callq 0x1ef48
nop
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/cds_check_stream.c
// Function: gt_cds_check_stream_class
const GtNodeStreamClass* gt_cds_check_stream_class(void)
{
  static const GtNodeStreamClass *nsc = NULL;
  gt_class_alloc_lock_enter();
  if (!nsc) {
    nsc = gt_node_stream_class_new(sizeof (GtCDSCheckStream),
                                   cds_check_stream_free,
                                   cds_check_stream_next);
  }
  gt_class_alloc_lock_leave();
  return nsc;
}

// Assembly:
pushq %rax
callq 0x71d9b
cmpq $0x0, 0xce9f6(%rip)     # 0x152c30
jne 0x8425b
leaq 0x26(%rip), %rsi        # 0x84269
leaq 0x49(%rip), %rdx        # 0x84293
movl $0x20, %edi
callq 0x498b0
movq %rax, 0xce9d5(%rip)     # 0x152c30
callq 0x71db1
movq 0xce9c9(%rip), %rax     # 0x152c30
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/cds_check_stream.c
// Function: cds_check_stream_next
static int cds_check_stream_next(GtNodeStream *ns, GtGenomeNode **gn,
                                 GtError *err)
{
  GtCDSCheckStream *cs;
  int had_err;
  gt_error_check(err);
  cs = cds_check_stream_cast(ns);
  gt_assert(cs);
  had_err = gt_node_stream_next(cs->in_stream, gn, err);
  if (!had_err && *gn)
    had_err = gt_genome_node_accept(*gn, cs->cds_check_visitor, err);
  if (had_err) {
    /* we own the node -> delete it */
    gt_genome_node_delete(*gn);
    *gn = NULL;
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
testq %rdx, %rdx
je 0x842b4
movq %r14, %rdi
callq 0x3566a
testb %al, %al
jne 0x84320
callq 0x8422c
movq %rax, %rdi
movq %r15, %rsi
callq 0x49b60
testq %rax, %rax
je 0x8431b
movq %rax, %r15
movq 0x10(%rax), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x499e4
movl %eax, %ebp
testl %eax, %eax
jne 0x842fb
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x842f9
movq 0x18(%r15), %rsi
movq %r14, %rdx
callq 0x42036
movl %eax, %ebp
jmp 0x842fb
xorl %ebp, %ebp
testl %ebp, %ebp
je 0x8430e
movq (%rbx), %rdi
callq 0x42ade
movq $0x0, (%rbx)
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x1eff1
callq 0x1efba
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/cds_check_stream.c
// Function: gt_cds_check_stream_new
GtNodeStream* gt_cds_check_stream_new(GtNodeStream *in_stream)
{
  GtNodeStream *ns = gt_node_stream_create(gt_cds_check_stream_class(), false);
  GtCDSCheckStream *cs = cds_check_stream_cast(ns);
  cs->in_stream = gt_node_stream_ref(in_stream);
  cs->cds_check_visitor = gt_cds_check_visitor_new();
  return ns;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x8422c
movq %rax, %rdi
xorl %esi, %esi
callq 0x498e8
movq %rax, %r14
callq 0x8422c
movq %rax, %rdi
movq %r14, %rsi
callq 0x49b60
movq %rax, %r15
movq %rbx, %rdi
callq 0x49954
movq %rax, 0x10(%r15)
callq 0x8472b
movq %rax, 0x18(%r15)
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/cds_check_visitor.c
// Function: gt_cds_check_visitor_class
const GtNodeVisitorClass* gt_cds_check_visitor_class()
{
  static const GtNodeVisitorClass *nvc = NULL;
  gt_class_alloc_lock_enter();
  if (!nvc) {
    nvc = gt_node_visitor_class_new(sizeof (GtCDSCheckVisitor),
                                    cds_check_visitor_free,
                                    NULL,
                                    cds_check_visitor_feature_node,
                                    NULL,
                                    NULL,
                                    NULL);
  }
  gt_class_alloc_lock_leave();
  return nvc;
}

// Assembly:
pushq %rax
callq 0x71d9b
cmpq $0x0, 0xce8a6(%rip)     # 0x152c38
jne 0x843c3
movq $0x0, (%rsp)
leaq 0x2e(%rip), %rsi        # 0x843d1
leaq 0x51(%rip), %rcx        # 0x843fb
movl $0x28, %edi
xorl %edx, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x49b7c
movq %rax, 0xce875(%rip)     # 0x152c38
callq 0x71db1
movq 0xce869(%rip), %rax     # 0x152c38
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/cds_check_visitor.c
// Function: gt_cds_check_visitor_new
GtNodeVisitor* gt_cds_check_visitor_new(void)
{
  GtNodeVisitor *nv = gt_node_visitor_create(gt_cds_check_visitor_class());
  GtCDSCheckVisitor *v = cds_check_visitor_cast(nv);
  v->cds_features = gt_hashmap_new(GT_HASH_DIRECT, NULL, NULL);
  v->cds_features_to_split = gt_hashmap_new(GT_HASH_DIRECT, NULL, NULL);
  return nv;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
callq 0x84384
movq %rax, %rdi
callq 0x49bec
movq %rax, %rbx
callq 0x84384
movq %rax, %rdi
movq %rbx, %rsi
callq 0x49c1d
movq %rax, %r14
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x76f28
movq %rax, 0x10(%r14)
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x76f28
movq %rax, 0x18(%r14)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/cds_check_visitor.c
// Function: check_cds_phases_hm
static int check_cds_phases_hm(GT_UNUSED void *key, void *value, void *data,
                               GtError *err)
{
  GtArray *cds_features = value;
  gt_error_check(err);
  gt_assert(cds_features && data);
  return check_cds_phases(cds_features, data, true, false, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
testq %rcx, %rcx
je 0x84cd3
movq %rbx, %rdi
callq 0x3566a
testb %al, %al
jne 0x84cfa
testq %r15, %r15
je 0x84cf5
testq %r14, %r14
je 0x84cf5
movq %r15, %rdi
movq %r14, %rsi
movl $0x1, %edx
movq %rbx, %rcx
popq %rbx
popq %r14
popq %r15
jmp 0x8494a
callq 0x1f305
callq 0x1f2cc
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/cds_check_visitor.c
// Function: collect_cds_feature
static int collect_cds_feature(void *key, GT_UNUSED void *value, void *data,
                               GT_UNUSED GtError *err)
{
  GtArray *cds_features = data;
  gt_error_check(err);
  gt_array_add(cds_features, key);
  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rdi, 0x8(%rsp)
testq %rcx, %rcx
je 0x84d1d
movq %rcx, %rdi
callq 0x3566a
testb %al, %al
jne 0x84d37
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0x6ec0e
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
callq 0x1f33e
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/comment_node.c
// Function: gt_comment_node_class
const GtGenomeNodeClass* gt_comment_node_class()
{
  static const GtGenomeNodeClass *gnc = NULL;
  gt_class_alloc_lock_enter();
  if (!gnc) {
    gnc = gt_genome_node_class_new(sizeof (GtCommentNode),
                                   comment_node_free,
                                   NULL,
                                   comment_node_get_idstr,
                                   comment_node_get_range,
                                   NULL,
                                   NULL,
                                   comment_node_accept);
  }
  gt_class_alloc_lock_leave();
  return gnc;
}

// Assembly:
pushq %rax
callq 0x71d9b
cmpq $0x0, 0xcdef6(%rip)     # 0x152c40
jne 0x84d85
leaq 0xae(%rip), %rax        # 0x84e01
leaq 0x39(%rip), %rsi        # 0x84d93
leaq 0x77(%rip), %rcx        # 0x84dd8
leaq 0x94(%rip), %r8         # 0x84dfc
movl $0x40, %edi
xorl %edx, %edx
xorl %r9d, %r9d
pushq %rax
pushq $0x0
callq 0x41cc8
addq $0x10, %rsp
movq %rax, 0xcdebb(%rip)     # 0x152c40
callq 0x71db1
movq 0xcdeaf(%rip), %rax     # 0x152c40
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/comment_node.c
// Function: comment_node_free
static void comment_node_free(GtGenomeNode *gn)
{
  GtCommentNode *c = gt_comment_node_cast(gn);
  gt_assert(c && c->comment);
  gt_free(c->comment);
  gt_str_delete(c->comment_str);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x84d3c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x41edd
testq %rax, %rax
je 0x84dd3
movq %rax, %rbx
movq 0x30(%rax), %rdi
testq %rdi, %rdi
je 0x84dd3
leaq 0x6f4df(%rip), %rsi     # 0xf429e
movl $0x26, %edx
callq 0x362a0
movq 0x38(%rbx), %rdi
popq %rbx
jmp 0x3d1eb
callq 0x1f377
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/comment_node.c
// Function: comment_node_get_idstr
static GtStr* comment_node_get_idstr(GtGenomeNode *gn)
{
  GtCommentNode *c;
  gt_assert(gn);
  c = gt_comment_node_cast(gn);
  return c->comment_str;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x84df7
movq %rdi, %rbx
callq 0x84d3c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x41edd
movq 0x38(%rax), %rax
popq %rbx
retq
callq 0x1f3ae
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/comment_node.c
// Function: comment_node_accept
static int comment_node_accept(GtGenomeNode *gn, GtNodeVisitor *nv,
                               GtError *err)
{
  GtCommentNode *c;
  gt_error_check(err);
  c = gt_comment_node_cast(gn);
  return gt_node_visitor_visit_comment_node(nv, c, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je 0x84e20
movq %rbx, %rdi
callq 0x3566a
testb %al, %al
jne 0x84e43
callq 0x84d3c
movq %rax, %rdi
movq %r15, %rsi
callq 0x41edd
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x49c36
callq 0x1f3e5
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/comment_node.c
// Function: gt_comment_node_new
GtGenomeNode* gt_comment_node_new(const char *comment)
{
  GtGenomeNode *gn = gt_genome_node_create(gt_comment_node_class());
  GtCommentNode *c = gt_comment_node_cast(gn);
  gt_assert(comment);
  c->comment = gt_cstr_dup(comment);
  c->comment_str = gt_str_new_cstr("");
  return gn;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
callq 0x84d3c
movq %rax, %rdi
callq 0x41e44
movq %rax, %rbx
callq 0x84d3c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x41edd
testq %r14, %r14
je 0x84e9d
movq %rax, %r15
movq %r14, %rdi
callq 0x722dc
movq %rax, 0x30(%r15)
leaq 0x69cf4(%rip), %rdi     # 0xeeb7f
callq 0x3c03d
movq %rax, 0x38(%r15)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
callq 0x1f41c
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/eof_node.c
// Function: gt_eof_node_class
const GtGenomeNodeClass* gt_eof_node_class()
{
  static const GtGenomeNodeClass *gnc = NULL;
  gt_class_alloc_lock_enter();
  if (!gnc) {
    gnc = gt_genome_node_class_new(sizeof (GtEOFNode),
                                   eof_node_free,
                                   NULL,
                                   eof_node_get_idstr,
                                   eof_node_get_range,
                                   NULL,
                                   eof_node_change_seqid,
                                   eof_node_accept);
  }
  gt_class_alloc_lock_leave();
  return gnc;
}

// Assembly:
pushq %rax
callq 0x71d9b
cmpq $0x0, 0xcdd56(%rip)     # 0x152c48
jne 0x84f34
leaq 0xb3(%rip), %rax        # 0x84fae
leaq 0xab(%rip), %r10        # 0x84fad
leaq 0x39(%rip), %rsi        # 0x84f42
leaq 0x57(%rip), %rcx        # 0x84f67
leaq 0x91(%rip), %r8         # 0x84fa8
movl $0x38, %edi
xorl %edx, %edx
xorl %r9d, %r9d
pushq %rax
pushq %r10
callq 0x41cc8
addq $0x10, %rsp
movq %rax, 0xcdd14(%rip)     # 0x152c48
callq 0x71db1
movq 0xcdd08(%rip), %rax     # 0x152c48
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/eof_node.c
// Function: eof_node_get_idstr
static GtStr* eof_node_get_idstr(GT_UNUSED GtGenomeNode *gn)
{
  GtEOFNode *eof;
  eof = gt_eof_node_cast(gn);
  if (!eof->idstr) {
    eof->idstr = gt_str_new_cstr(gt_genome_node_get_filename(gn));
  }
  return eof->idstr;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x84ee4
movq %rax, %rdi
movq %r14, %rsi
callq 0x41edd
movq %rax, %rbx
cmpq $0x0, 0x30(%rax)
jne 0x84f9c
movq %r14, %rdi
callq 0x41f10
movq %rax, %rdi
callq 0x3c03d
movq %rax, 0x30(%rbx)
movq 0x30(%rbx), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/eof_node.c
// Function: eof_node_accept
static int eof_node_accept(GtGenomeNode *gn, GtNodeVisitor *nv, GtError *err)
{
  GtEOFNode *eof;
  gt_error_check(err);
  eof = gt_eof_node_cast(gn);
  return gt_node_visitor_visit_eof_node(nv, eof, err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je 0x84fcd
movq %rbx, %rdi
callq 0x3566a
testb %al, %al
jne 0x84ff0
callq 0x84ee4
movq %rax, %rdi
movq %r15, %rsi
callq 0x41edd
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x49e02
callq 0x1f48a
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/eof_node.c
// Function: gt_eof_node_new
GtGenomeNode* gt_eof_node_new(void)
{
  GtEOFNode *eof;
  GtGenomeNode *gn = gt_genome_node_create(gt_eof_node_class());
  eof = gt_eof_node_cast(gn);
  eof->idstr = NULL;
  return gn;
}

// Assembly:
pushq %rbx
callq 0x84ee4
movq %rax, %rdi
callq 0x41e44
movq %rax, %rbx
callq 0x84ee4
movq %rax, %rdi
movq %rbx, %rsi
callq 0x41edd
movq $0x0, 0x30(%rax)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/feature_info.c
// Function: gt_feature_info_new
GtFeatureInfo* gt_feature_info_new(void)
{
  GtFeatureInfo *fi = gt_malloc(sizeof *fi);
  fi->id_to_genome_node = gt_hashmap_new(GT_HASH_STRING, gt_free_func,
                                         (GtFree) gt_genome_node_delete);
  fi->id_to_pseudo_parent = gt_hashmap_new(GT_HASH_STRING, gt_free_func,
                                           (GtFree) gt_genome_node_delete);
  return fi;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
leaq 0x6f307(%rip), %rsi     # 0xf434b
movl $0x10, %edi
movl $0x21, %edx
callq 0x35ee2
movq %rax, %rbx
leaq -0x4ecfe(%rip), %r14    # 0x3635f
leaq -0x42586(%rip), %r15    # 0x42ade
movl $0x1, %edi
movq %r14, %rsi
movq %r15, %rdx
callq 0x76f28
movq %rax, (%rbx)
movl $0x1, %edi
movq %r14, %rsi
movq %r15, %rdx
callq 0x76f28
movq %rax, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/feature_info.c
// Function: gt_feature_info_delete
void gt_feature_info_delete(GtFeatureInfo *fi)
{
  if (!fi) return;
  gt_hashmap_delete(fi->id_to_genome_node);
  gt_hashmap_delete(fi->id_to_pseudo_parent);
  gt_free(fi);
}

// Assembly:
testq %rdi, %rdi
je 0x850c3
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x77675
movq 0x8(%rbx), %rdi
callq 0x77675
leaq 0x6f296(%rip), %rsi     # 0xf434b
movq %rbx, %rdi
movl $0x2e, %edx
popq %rbx
jmp 0x362a0
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/feature_info.c
// Function: gt_feature_info_add
void gt_feature_info_add(GtFeatureInfo *fi, const char *id, GtFeatureNode *fn)
{
  gt_assert(fi && id && fn);
  gt_assert(!gt_feature_node_is_pseudo((GtFeatureNode*) fn));
  gt_hashmap_add(fi->id_to_genome_node, gt_cstr_dup(id),
                 gt_genome_node_ref((GtGenomeNode*) fn));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x8514e
movq %rsi, %r14
testq %rsi, %rsi
je 0x8514e
movq %rdx, %rbx
testq %rdx, %rdx
je 0x8514e
movq %rdi, %r15
movq %rbx, %rdi
callq 0x40459
testb %al, %al
jne 0x85153
movq (%r15), %r15
movq %r14, %rdi
callq 0x722dc
movq %rax, %r14
movq %rbx, %rdi
callq 0x41ca0
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x77144
callq 0x1f52f
callq 0x1f566
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/feature_info.c
// Function: gt_feature_info_add_pseudo_parent
void gt_feature_info_add_pseudo_parent(GtFeatureInfo *fi, const char *id,
                                       GtFeatureNode *pseudo_parent)
{
  gt_assert(fi && id && pseudo_parent);
  gt_assert(gt_feature_node_is_pseudo((GtFeatureNode*) pseudo_parent));
  gt_hashmap_add(fi->id_to_pseudo_parent, gt_cstr_dup(id),
                 gt_genome_node_ref((GtGenomeNode*) pseudo_parent));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x851c4
movq %rsi, %r14
testq %rsi, %rsi
je 0x851c4
movq %rdx, %rbx
testq %rdx, %rdx
je 0x851c4
movq %rdi, %r15
movq %rbx, %rdi
callq 0x40459
testb %al, %al
je 0x851c9
movq 0x8(%r15), %r15
movq %r14, %rdi
callq 0x722dc
movq %rax, %r14
movq %rbx, %rdi
callq 0x41ca0
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x77144
callq 0x1f5d4
callq 0x1f60b
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/feature_info.c
// Function: gt_feature_info_replace_pseudo_parent
void gt_feature_info_replace_pseudo_parent(GtFeatureInfo *fi,
                                           GtFeatureNode *child,
                                           GtFeatureNode *new_pseudo_parent)
{
  const char *id;
  gt_assert(fi && child && new_pseudo_parent);
  gt_assert(gt_feature_node_is_pseudo((GtFeatureNode*) new_pseudo_parent));
  id = gt_feature_node_get_attribute(child, GT_GFF_ID);
  gt_assert(id);
  gt_hashmap_remove(fi->id_to_pseudo_parent, id);
  gt_feature_info_add_pseudo_parent(fi, id, new_pseudo_parent);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x8522d
movq %rsi, %r15
testq %rsi, %rsi
je 0x8522d
movq %rdx, %rbx
testq %rdx, %rdx
je 0x8522d
movq %rdi, %r14
movq %rbx, %rdi
callq 0x40459
testb %al, %al
je 0x85232
leaq 0x62577(%rip), %rsi     # 0xe7775
movq %r15, %rdi
callq 0x3f850
testq %rax, %rax
je 0x85237
movq %rax, %r15
movq 0x8(%r14), %rdi
movq %rax, %rsi
callq 0x77182
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x85171
callq 0x1f642
callq 0x1f679
callq 0x1f6b0
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/feature_info.c
// Function: find_root
static GtFeatureNode* find_root(const GtFeatureInfo *fi, const char *id)
{
  const char *delim, *parents;
  GtFeatureNode *this_feature, *parent_pseudo_feature;
  gt_assert(fi && id);
  /* get feature */
  delim = strchr(id, ';');
  if (delim) {
    char *first_parent = gt_cstr_dup_nt(id, delim - id);
    this_feature = gt_hashmap_get(fi->id_to_genome_node, first_parent);
    parent_pseudo_feature = gt_hashmap_get(fi->id_to_pseudo_parent,
                                           first_parent);
    gt_free(first_parent);
  }
  else {
    this_feature = gt_hashmap_get(fi->id_to_genome_node, id);
    parent_pseudo_feature = gt_hashmap_get(fi->id_to_pseudo_parent, id);
  }
  gt_assert(this_feature);
  /* recursion */
  parents = gt_feature_node_get_attribute(this_feature, GT_GFF_PARENT);
  if (parents)
    return find_root(fi, parents);
  else if (parent_pseudo_feature)
    return parent_pseudo_feature;
  return this_feature;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x624e7(%rip), %r14     # 0xe7778
leaq 0x6f0b3(%rip), %r15     # 0xf434b
movq %r13, %rdi
movl $0x3b, %esi
callq 0xb210
testq %rax, %rax
je 0x852ea
subq %r13, %rax
movq %r13, %rdi
movq %rax, %rsi
callq 0x7231f
movq %rax, %r13
movq (%rbx), %rdi
movq %rax, %rsi
callq 0x77109
movq %rax, %r12
movq 0x8(%rbx), %rdi
movq %r13, %rsi
callq 0x77109
movq %rax, %rbp
movq %r13, %rdi
movq %r15, %rsi
movl $0x6f, %edx
callq 0x362a0
jmp 0x85307
movq (%rbx), %rdi
movq %r13, %rsi
callq 0x77109
movq %rax, %r12
movq 0x8(%rbx), %rdi
movq %r13, %rsi
callq 0x77109
movq %rax, %rbp
testq %r12, %r12
je 0x8533c
movq %r12, %rdi
movq %r14, %rsi
callq 0x3f850
movq %rax, %r13
testq %rax, %rax
jne 0x85298
testq %rbp, %rbp
cmovneq %rbp, %r12
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1f759
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/gff3_escaping.c
// Function: gt_gff3_escape
void gt_gff3_escape(GtStr *escaped_seq, const char *unescaped_seq,
                    GtUword length)
{
  const char *cc;
  gt_assert(escaped_seq && unescaped_seq);
  for (cc = unescaped_seq; cc < unescaped_seq + length; cc++) {
    switch (*cc) {
      case ';':  gt_str_append_cstr(escaped_seq, SEMICOLON); break;
      case '=':  gt_str_append_cstr(escaped_seq, EQUALS); break;
      case '%':  gt_str_append_cstr(escaped_seq, PERCENT); break;
      case '&':  gt_str_append_cstr(escaped_seq, AND); break;
      case ',':  gt_str_append_cstr(escaped_seq, COMMA); break;
      default:
        if ((*cc > 0 && *cc < 0x20) || *cc == 0x7F) {
          gt_gff3_escape_controlchar2hex(escaped_seq, *cc);
        } else gt_str_append_char(escaped_seq, *cc);
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x857e5
movq %rsi, %r14
testq %rsi, %rsi
je 0x857e5
movq %rdx, %rbx
testq %rdx, %rdx
jle 0x857d6
movq %rdi, %r15
addq %r14, %rbx
leaq 0x6f069(%rip), %r12     # 0xf477e
leaq 0x6f056(%rip), %r13     # 0xf4772
movzbl (%r14), %ebp
cmpl $0x2b, %ebp
jle 0x85740
cmpl $0x2c, %ebp
je 0x85756
cmpl $0x3d, %ebp
je 0x8575e
cmpl $0x3b, %ebp
jne 0x8577f
movq %r15, %rdi
leaq 0x6f030(%rip), %rsi     # 0xf476e
jmp 0x85770
cmpl $0x25, %ebp
je 0x85766
cmpl $0x26, %ebp
jne 0x8577f
movq %r15, %rdi
leaq 0x6f026(%rip), %rsi     # 0xf477a
jmp 0x85770
movq %r15, %rdi
movq %r12, %rsi
jmp 0x85770
movq %r15, %rdi
movq %r13, %rsi
jmp 0x85770
movq %r15, %rdi
leaq 0x6f006(%rip), %rsi     # 0xf4776
callq 0x3c067
incq %r14
cmpq %rbx, %r14
jb 0x8571c
jmp 0x857d6
movl %ebp, %eax
decb %al
cmpb $0x1f, %al
setae %al
cmpl $0x7f, %ebp
setne %cl
testb %al, %cl
jne 0x857c8
movq %r15, %rdi
movl $0x25, %esi
callq 0x3c28d
movl %ebp, %eax
shrl $0x4, %eax
leaq 0x6f155(%rip), %rcx     # 0xf4900
movsbl (%rax,%rcx), %esi
movq %r15, %rdi
callq 0x3c28d
andl $0xf, %ebp
leaq 0x6f13f(%rip), %rax     # 0xf4900
movsbl (%rbp,%rax), %esi
jmp 0x857cc
movsbl %bpl, %esi
movq %r15, %rdi
callq 0x3c28d
jmp 0x85775
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1f917
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/gff3_escaping.c
// Function: gt_gff3_unescape
int gt_gff3_unescape(GtStr *unescaped_seq, const char *escaped_seq,
                     GtUword length, GtError *err)
{
  const char *cc;
  int had_err = 0;
  gt_error_check(err);
  gt_assert(unescaped_seq && escaped_seq);
  for (cc = escaped_seq; !had_err && cc < escaped_seq + length; cc++) {
    if (*cc == '%') {
      if (cc + 2 >= escaped_seq + length) {
        gt_error_set(err, "not enough sequence left to unescape after '%%'");
        had_err = -1;
      } else {
        char x = GT_UNDEF_CHAR;
        int ret = gt_gff3_escape_hex2prnchar(cc, &x);
        if (ret == 0 && x != GT_UNDEF_CHAR) {
          gt_str_append_char(unescaped_seq, x);
          cc += 2;
        } else gt_str_append_char(unescaped_seq, *cc);
      }
    } else gt_str_append_char(unescaped_seq, *cc);
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, 0x8(%rsp)
testq %rcx, %rcx
je 0x8581b
movq %r14, %rdi
callq 0x3566a
testb %al, %al
jne 0x85948
cmpq $0x0, 0x8(%rsp)
je 0x85943
testq %r12, %r12
je 0x85943
testq %r15, %r15
jle 0x85930
addq %r12, %r15
leaq 0x6f14d(%rip), %r13     # 0xf4990
xorl %ebx, %ebx
movq %r14, 0x20(%rsp)
movq %r15, 0x10(%rsp)
movb (%r12), %bpl
cmpb $0x25, %bpl
jne 0x858bb
movl %ebx, 0x4(%rsp)
leaq 0x2(%r12), %rbx
cmpq %r15, %rbx
jae 0x858cb
movsbq 0x1(%r12), %r14
movb $0x7f, %r15b
testb $0x2, (%r14,%r13)
je 0x858e3
movsbq (%rbx), %rcx
testb $0x1, (%rcx,%r13)
je 0x858e3
movq %rcx, 0x18(%rsp)
movl $0x3, %edx
movq %r12, %rdi
leaq 0x6efce(%rip), %rsi     # 0xf4864
callq 0xb2a0
testl %eax, %eax
je 0x858e3
leaq 0x6f07a(%rip), %rax     # 0xf4920
movb (%r14,%rax), %r15b
shlb $0x4, %r15b
movq 0x18(%rsp), %rcx
orb (%rcx,%rax), %r15b
movb $0x1, %al
jmp 0x858e5
movsbl %bpl, %esi
movq 0x8(%rsp), %rdi
callq 0x3c28d
jmp 0x8591e
movq %r14, %rdi
leaq 0x6eedb(%rip), %rsi     # 0xf47b0
xorl %eax, %eax
callq 0x3559f
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0x8591e
xorl %eax, %eax
testb %al, %al
movq 0x20(%rsp), %r14
je 0x85907
cmpb $0x7f, %r15b
je 0x85907
movsbl %r15b, %esi
movq 0x8(%rsp), %rdi
callq 0x3c28d
movq %rbx, %r12
jmp 0x85915
movsbl %bpl, %esi
movq 0x8(%rsp), %rdi
callq 0x3c28d
movq 0x10(%rsp), %r15
movl 0x4(%rsp), %ebx
testl %ebx, %ebx
jne 0x85932
incq %r12
cmpq %r15, %r12
jb 0x8584f
jmp 0x85932
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1f985
callq 0x1f94e
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/gff3_escaping.c
// Function: test_single_escaping
static int test_single_escaping(char unescaped_char, const char *escaped_char,
                                bool expect_escape, bool expect_unescape,
                                GtError *err)
{
  GtStr *escaped_seq, *unescaped_seq;
  char unescaped_testseq[8],
       escaped_testseq[10];
  int had_err = 0;
  gt_error_check(err);
  escaped_seq = gt_str_new();
  unescaped_seq = gt_str_new();
  snprintf(unescaped_testseq, sizeof unescaped_testseq, "foo%cbar",
           unescaped_char);
  snprintf(escaped_testseq, sizeof escaped_testseq, "foo%sbar", escaped_char);
  if (expect_escape) {
    gt_gff3_escape(escaped_seq, unescaped_testseq, strlen(unescaped_testseq));
    gt_ensure(!strcmp(gt_str_get(escaped_seq), escaped_testseq));
  } else {
    gt_str_append_cstr(escaped_seq, escaped_testseq);
  }
  if (!had_err && expect_unescape) {
    had_err = gt_gff3_unescape(unescaped_seq, gt_str_get(escaped_seq),
                               gt_str_length(escaped_seq), err);
    gt_ensure(!strcmp(gt_str_get(unescaped_seq), unescaped_testseq));
  }
  gt_str_delete(unescaped_seq);
  gt_str_delete(escaped_seq);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r15
movl %ecx, (%rsp)
movl %edx, %r12d
movq %rsi, %r13
movl %edi, %r14d
testq %r8, %r8
je 0x85c77
movq %r15, %rdi
callq 0x3566a
testb %al, %al
jne 0x85dc9
callq 0x3bfe0
movq %rax, %rbx
callq 0x3bfe0
movq %rax, %rbp
movsbl %r14b, %ecx
leaq 0x6ebeb(%rip), %rdx     # 0xf487d
leaq 0x6(%rsp), %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0xba10
leaq 0x6ebdc(%rip), %rdx     # 0xf4886
leaq 0xe(%rsp), %rdi
movl $0xa, %esi
movq %r13, %rcx
xorl %eax, %eax
callq 0xba10
testb %r12b, %r12b
je 0x85d1e
leaq 0x6(%rsp), %r14
movq %r14, %rdi
callq 0xb260
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x856dc
movq %rbx, %rdi
callq 0x3c40b
leaq 0xe(%rsp), %rsi
movq %rax, %rdi
callq 0xb890
testl %eax, %eax
je 0x85d2b
leaq 0x5d47b(%rip), %rsi     # 0xe3179
leaq 0x6eb8a(%rip), %rdx     # 0xf488f
leaq 0x6eb5c(%rip), %rcx     # 0xf4868
leaq 0x6ea3e(%rip), %r8      # 0xf4751
movq %r15, %rdi
movl $0x93, %r9d
jmp 0x85d9a
leaq 0xe(%rsp), %rsi
movq %rbx, %rdi
callq 0x3c067
xorl %r12d, %r12d
cmpb $0x0, (%rsp)
je 0x85da7
movq %rbx, %rdi
callq 0x3c40b
movq %rax, %r14
movq %rbx, %rdi
callq 0x3c434
movq %rbp, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r15, %rcx
callq 0x857ea
testl %eax, %eax
jne 0x85da1
movq %rbp, %rdi
callq 0x3c40b
leaq 0x6(%rsp), %rsi
movq %rax, %rdi
callq 0xb890
testl %eax, %eax
je 0x85da7
leaq 0x5d3fd(%rip), %rsi     # 0xe3179
leaq 0x6eb3e(%rip), %rdx     # 0xf48c1
leaq 0x6eade(%rip), %rcx     # 0xf4868
leaq 0x6e9c0(%rip), %r8      # 0xf4751
movq %r15, %rdi
movl $0x9a, %r9d
xorl %eax, %eax
callq 0x3559f
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movq %rbp, %rdi
callq 0x3d1eb
movq %rbx, %rdi
callq 0x3d1eb
movl %r12d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1f9f5
nop
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/gff3_output.c
// Function: gt_gff3_output_leading
void gt_gff3_output_leading(GtFeatureNode *fn, GtFile *outfp)
{
  GtGenomeNode *gn;
  gt_assert(fn);
  gn = (GtGenomeNode*) fn;
  gt_file_xprintf(outfp, "%s\t%s\t%s\t"GT_WU"\t"GT_WU"\t",
                     gt_str_get(gt_genome_node_get_seqid(gn)),
                     gt_feature_node_get_source(fn),
                     gt_feature_node_get_type(fn),
                     gt_genome_node_get_start(gn),
                     gt_genome_node_get_end(gn));
  if (gt_feature_node_score_is_defined(fn))
    gt_file_xprintf(outfp, "%.3g", gt_feature_node_get_score(fn));
  else
    gt_file_xfputc('.', outfp);
  gt_file_xprintf(outfp, "\t%c\t%c\t",
                     GT_STRAND_CHARS[gt_feature_node_get_strand(fn)],
                     GT_PHASE_CHARS[gt_feature_node_get_phase(fn)]);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x85ec7
movq %rsi, %rbx
movq %rdi, %r14
callq 0x41f3f
movq %rax, %rdi
callq 0x3c40b
movq %rax, %r15
movq %r14, %rdi
callq 0x403a5
movq %rax, %r12
movq %r14, %rdi
callq 0x40276
movq %rax, %r13
movq %r14, %rdi
callq 0x41f7e
movq %rax, %rbp
movq %r14, %rdi
callq 0x41fa1
movq %rax, (%rsp)
leaq 0x6ec14(%rip), %rsi     # 0xf4a42
movq %rbx, %rdi
movq %r15, %rdx
movq %r12, %rcx
movq %r13, %r8
movq %rbp, %r9
xorl %eax, %eax
callq 0x757a1
movq %r14, %rdi
callq 0x402b9
testb %al, %al
je 0x85e6f
movq %r14, %rdi
callq 0x405b4
cvtss2sd %xmm0, %xmm0
leaq 0x6ebf1(%rip), %rsi     # 0xf4a54
movq %rbx, %rdi
movb $0x1, %al
callq 0x757a1
jmp 0x85e7c
movl $0x2e, %edi
movq %rbx, %rsi
callq 0x759ff
movq %r14, %rdi
callq 0x3fdd2
movl %eax, %eax
leaq 0x5ccb7(%rip), %rcx     # 0xe2b44
movsbl (%rax,%rcx), %ebp
movq %r14, %rdi
callq 0x4062b
movl %eax, %eax
leaq 0x5cd4e(%rip), %rcx     # 0xe2bf0
movsbl (%rax,%rcx), %ecx
leaq 0x6ebac(%rip), %rsi     # 0xf4a59
movq %rbx, %rdi
movl %ebp, %edx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x757a1
callq 0x1fa2e
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/gff3_output.c
// Function: gt_gff3_output_leading_str
void gt_gff3_output_leading_str(GtFeatureNode *fn, GtStr *outstr)
{
  GtGenomeNode *gn;
  gt_assert(fn && outstr);
  gn = (GtGenomeNode*) fn;
  gt_str_append_str(outstr, gt_genome_node_get_seqid(gn));
  gt_str_append_char(outstr, '\t');
  gt_str_append_cstr(outstr, gt_feature_node_get_source(fn));
  gt_str_append_char(outstr, '\t');
  gt_str_append_cstr(outstr, gt_feature_node_get_type(fn));
  gt_str_append_char(outstr, '\t');
  gt_str_append_uword(outstr, gt_genome_node_get_start(gn));
  gt_str_append_char(outstr, '\t');
  gt_str_append_uword(outstr, gt_genome_node_get_end(gn));
  gt_str_append_char(outstr, '\t');
  if (gt_feature_node_score_is_defined(fn)) {
    char buf[BUFSIZ];
    (void) snprintf(buf, BUFSIZ, "%.3g", gt_feature_node_get_score(fn));
    gt_str_append_cstr(outstr, buf);
  } else
    gt_str_append_char(outstr, '.');
  gt_str_append_char(outstr, '\t');
  gt_str_append_char(outstr, GT_STRAND_CHARS[gt_feature_node_get_strand(fn)]);
  gt_str_append_char(outstr, '\t');
  gt_str_append_char(outstr, GT_PHASE_CHARS[gt_feature_node_get_phase(fn)]);
  gt_str_append_char(outstr, '\t');
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x2000, %rsp           # imm = 0x2000
testq %rdi, %rdi
je 0x86046
movq %rsi, %rbx
testq %rsi, %rsi
je 0x86046
movq %rdi, %r14
callq 0x41f3f
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3c12b
movq %rbx, %rdi
movl $0x9, %esi
callq 0x3c28d
movq %r14, %rdi
callq 0x403a5
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3c067
movq %rbx, %rdi
movl $0x9, %esi
callq 0x3c28d
movq %r14, %rdi
callq 0x40276
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3c067
movq %rbx, %rdi
movl $0x9, %esi
callq 0x3c28d
movq %r14, %rdi
callq 0x41f7e
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3c1dc
movq %rbx, %rdi
movl $0x9, %esi
callq 0x3c28d
movq %r14, %rdi
callq 0x41fa1
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3c1dc
movq %rbx, %rdi
movl $0x9, %esi
callq 0x3c28d
movq %r14, %rdi
callq 0x402b9
testb %al, %al
je 0x85fcb
movq %r14, %rdi
callq 0x405b4
cvtss2sd %xmm0, %xmm0
leaq 0x6eaa8(%rip), %rdx     # 0xf4a54
movq %rsp, %r15
movl $0x2000, %esi           # imm = 0x2000
movq %r15, %rdi
movb $0x1, %al
callq 0xba10
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3c067
jmp 0x85fd8
movq %rbx, %rdi
movl $0x2e, %esi
callq 0x3c28d
movq %rbx, %rdi
movl $0x9, %esi
callq 0x3c28d
movq %r14, %rdi
callq 0x3fdd2
movl %eax, %eax
leaq 0x5cb4e(%rip), %rcx     # 0xe2b44
movsbl (%rax,%rcx), %esi
movq %rbx, %rdi
callq 0x3c28d
movq %rbx, %rdi
movl $0x9, %esi
callq 0x3c28d
movq %r14, %rdi
callq 0x4062b
movl %eax, %eax
leaq 0x5cbd0(%rip), %rcx     # 0xe2bf0
movsbl (%rax,%rcx), %esi
movq %rbx, %rdi
callq 0x3c28d
movq %rbx, %rdi
movl $0x9, %esi
callq 0x3c28d
addq $0x2000, %rsp           # imm = 0x2000
popq %rbx
popq %r14
popq %r15
retq
callq 0x1fa65
nop
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/luaserialize.c
// Function: gt_lua_table_to_str
int gt_lua_table_to_str(lua_State *L, GtStr *out, int index, GtError *err)
{
  int had_err;
#ifndef NDEBUG
  int stack_size = lua_gettop(L);
#endif
  gt_error_check(err);
  gt_assert(L && out && lua_istable(L, index));
  had_err = parse_table(L, out, index, 1, err);
  gt_assert(lua_gettop(L) == stack_size); /* make sure the stack doesn't grow */
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
callq 0x578c5
movl %eax, %ebp
testq %r14, %r14
je 0x86078
movq %r14, %rdi
callq 0x3566a
testb %al, %al
jne 0x860cd
testq %rbx, %rbx
je 0x860c3
testq %r12, %r12
je 0x860c3
movq %rbx, %rdi
movl %r15d, %esi
callq 0x57c5c
cmpl $0x5, %eax
jne 0x860c3
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
movl $0x1, %ecx
movq %r14, %r8
callq 0x860d2
movl %eax, %r14d
movq %rbx, %rdi
callq 0x578c5
cmpl %ebp, %eax
jne 0x860c8
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x1fad3
callq 0x1fb0a
callq 0x1fa9c
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/luaserialize.c
// Function: parse_table
static int parse_table(lua_State *L, GtStr *out, int index, int level,
                       GtError *err)
{
  int GT_UNUSED rval, had_err = 0;
  gt_error_check(err);
  gt_assert(lua_istable(L, index));
  lua_pushnil(L);
  if (index < 0)
    index--;
  while (!had_err && (lua_next(L, index) != 0))
  {
    int i;
    for (i=0;i<level;i++)
      gt_str_append_cstr(out, "  ");
    rval = format_scalar(L, out, -2, true, NULL);
    gt_assert(!rval); /* cannot happen */
    gt_str_append_cstr(out, " = ");
    if (lua_istable(L, -1))
    {
      gt_str_append_cstr(out, "{\n");
      had_err = parse_table(L, out, -1, level+1, err);
      for (i=0;i<level;i++)
        gt_str_append_cstr(out, "  ");
      gt_str_append_cstr(out, "},\n");
    }
    else
    {
      had_err = format_scalar(L, out, -1, false, err);
      gt_str_append_cstr(out, ",\n");
    }
    lua_pop(L, 1);
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbp
movl %ecx, %r14d
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r12
testq %r8, %r8
je 0x86103
movq %rbp, %rdi
callq 0x3566a
testb %al, %al
jne 0x8626d
movq %r12, %rdi
movl %ebx, %esi
callq 0x57c5c
cmpl $0x5, %eax
jne 0x86268
movq %r12, %rdi
callq 0x5834e
movl %ebx, %esi
sarl $0x1f, %esi
addl %ebx, %esi
movq %r12, %rdi
movl %esi, 0xc(%rsp)
callq 0x59a33
testl %eax, %eax
je 0x86250
leal 0x1(%r14), %eax
movl %eax, 0x8(%rsp)
leaq 0x78697(%rip), %r13     # 0xfe7df
movq %r14, 0x10(%rsp)
testl %r14d, %r14d
jle 0x86164
movl %r14d, %ebx
movq %r15, %rdi
movq %r13, %rsi
callq 0x3c067
decl %ebx
jne 0x86155
movq %r12, %rdi
movq %r15, %rsi
movl $0xfffffffe, %edx       # imm = 0xFFFFFFFE
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x868b9
testl %eax, %eax
jne 0x86263
movq %r15, %rdi
leaq 0x6eaa4(%rip), %rsi     # 0xf4c32
callq 0x3c067
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x57c5c
cmpl $0x5, %eax
jne 0x861fa
movq %r15, %rdi
leaq 0x66094(%rip), %rsi     # 0xec243
callq 0x3c067
movq %r12, %rdi
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl 0x8(%rsp), %ecx
movq %rbp, %r8
callq 0x860d2
movl %eax, %ebx
testl %r14d, %r14d
jle 0x8621a
movq %r14, %rax
movq %rbp, %r14
movl %eax, %ebp
movq %r15, %rdi
movq %r13, %rsi
callq 0x3c067
decl %ebp
jne 0x861da
leaq 0x6ea46(%rip), %rsi     # 0xf4c36
movq %r14, %rbp
movq 0x10(%rsp), %r14
jmp 0x86221
movq %r12, %rdi
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
movq %rbp, %r8
callq 0x868b9
movl %eax, %ebx
leaq 0x6ea1f(%rip), %rsi     # 0xf4c37
jmp 0x86221
leaq 0x6ea15(%rip), %rsi     # 0xf4c36
movq %r15, %rdi
callq 0x3c067
movq %r12, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x578d2
testl %ebx, %ebx
jne 0x86252
movq %r12, %rdi
movl 0xc(%rsp), %esi
callq 0x59a33
testl %eax, %eax
jne 0x8614d
jmp 0x86252
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1fbaf
callq 0x1fb78
callq 0x1fb41
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/xrf_abbr_entry.c
// Function: gt_xrf_abbr_entry_new
GtXRFAbbrEntry* gt_xrf_abbr_entry_new(GtUword line,
                                      GtStr *filename)
{
  GtXRFAbbrEntry *abbr_entry = gt_malloc(sizeof *abbr_entry);
  abbr_entry->content = gt_hashmap_new(GT_HASH_STRING, gt_free_func,
                                       (GtFree) gt_str_delete);
  abbr_entry->line = line;
  abbr_entry->filename = gt_str_ref(filename);
  return abbr_entry;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x6e479(%rip), %rsi     # 0xf4f07
movl $0x18, %edi
movl $0x21, %edx
callq 0x35ee2
movq %rax, %r15
leaq -0x50748(%rip), %rsi    # 0x3635f
leaq -0x498c3(%rip), %rdx    # 0x3d1eb
movl $0x1, %edi
callq 0x76f28
movq %rax, (%r15)
movq %r14, 0x8(%r15)
movq %rbx, %rdi
callq 0x3c561
movq %rax, 0x10(%r15)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/xrf_abbr_entry.c
// Function: gt_xrf_abbr_entry_delete
void gt_xrf_abbr_entry_delete(GtXRFAbbrEntry *abbr_entry)
{
  if (!abbr_entry) return;
  gt_str_delete(abbr_entry->filename);
  gt_hashmap_delete(abbr_entry->content);
  gt_free(abbr_entry);
}

// Assembly:
testq %rdi, %rdi
je 0x86b03
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0x3d1eb
movq (%rbx), %rdi
callq 0x77675
leaq 0x6e412(%rip), %rsi     # 0xf4f07
movq %rbx, %rdi
movl $0x2e, %edx
popq %rbx
jmp 0x362a0
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/xrf_abbr_entry.c
// Function: gt_xrf_abbr_entry_add
void gt_xrf_abbr_entry_add(GtXRFAbbrEntry *abbr_entry, const char *tag,
                           const char *value)
{
  GtStr *s;
  gt_assert(abbr_entry && tag && value);
  if (!(s = gt_hashmap_get(abbr_entry->content, tag))) {
    s = gt_str_new_cstr(value);
    gt_hashmap_add(abbr_entry->content, gt_cstr_dup(tag), s);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x86b60
movq %rsi, %rbx
testq %rsi, %rsi
je 0x86b60
movq %rdx, %r15
testq %rdx, %rdx
je 0x86b60
movq %rdi, %r14
movq (%rdi), %rdi
movq %rbx, %rsi
callq 0x77109
testq %rax, %rax
je 0x86b37
popq %rbx
popq %r14
popq %r15
retq
movq %r15, %rdi
callq 0x3c03d
movq %rax, %r15
movq (%r14), %r14
movq %rbx, %rdi
callq 0x722dc
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x77144
callq 0x1fc8d
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/xrf_abbr_entry.c
// Function: gt_xrf_abbr_entry_get_value
const char* gt_xrf_abbr_entry_get_value(const GtXRFAbbrEntry *abbr_entry,
                                        const char *entry_key)
{
  GtStr *s;
  gt_assert(abbr_entry);
  if ((s = gt_hashmap_get(abbr_entry->content, entry_key)))
    return gt_str_get(s);
  return NULL;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x86b85
movq (%rdi), %rdi
callq 0x77109
testq %rax, %rax
je 0x86b81
movq %rax, %rdi
popq %rax
jmp 0x3c40b
xorl %eax, %eax
popq %rcx
retq
callq 0x1fcc4
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/xrf_abbr_parse_tree.c
// Function: gt_xrf_abbr_parse_tree_delete
void gt_xrf_abbr_parse_tree_delete(GtXRFAbbrParseTree *xrf_abbr_parse_tree)
{
  GtUword i;
  if (!xrf_abbr_parse_tree) return;
  for (i = 0; i < gt_array_size(xrf_abbr_parse_tree->entries); i++) {
    gt_xrf_abbr_entry_delete(*(GtXRFAbbrEntry**)
                         gt_array_get(xrf_abbr_parse_tree->entries, i));
  }
  gt_array_delete(xrf_abbr_parse_tree->entries);
  gt_free(xrf_abbr_parse_tree);
}

// Assembly:
testq %rdi, %rdi
je 0x8742c
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x6ecda
testq %rax, %rax
je 0x87409
xorl %r14d, %r14d
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x6e9fa
movq (%rax), %rdi
callq 0x86ad4
incq %r14
movq (%rbx), %rdi
callq 0x6ecda
cmpq %rax, %r14
jb 0x873e6
movq (%rbx), %rdi
callq 0x6f134
leaq 0x6dba7(%rip), %rsi     # 0xf4fbf
movq %rbx, %rdi
movl $0x198, %edx            # imm = 0x198
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x362a0
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/xrf_abbr_parse_tree.c
// Function: gt_xrf_abbr_parse_tree_get_entry_value
const char* gt_xrf_abbr_parse_tree_get_entry_value(const GtXRFAbbrParseTree
                                                           *xrf_abbr_parse_tree,
                                                   GtUword entry_num,
                                                   const char *entry_key)
{
  gt_assert(xrf_abbr_parse_tree);
  return gt_xrf_abbr_entry_get_value(*(GtXRFAbbrEntry**)
                                      gt_array_get(xrf_abbr_parse_tree->entries,
                                                   entry_num), entry_key);
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x8744a
movq %rdx, %rbx
movq (%rdi), %rdi
callq 0x6e9fa
movq (%rax), %rdi
movq %rbx, %rsi
popq %rbx
jmp 0x86b65
callq 0x1ffd8
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/xrf_abbr_parse_tree.c
// Function: gt_xrf_abbr_parse_tree_blank_line
static int gt_xrf_abbr_parse_tree_blank_line(GtIO *xrf_abbr_file, GtError *err)
{
  int had_err;
  gt_error_check(err);
  gt_log_log("blank");
  had_err = gt_io_expect(xrf_abbr_file, XRF_BLANK_CHAR, err);
  while (!had_err) {
    char cc = gt_io_peek(xrf_abbr_file);
    if (cc == XRF_COMMENT_CHAR)
      return gt_xrf_abbr_parse_tree_comment_line(xrf_abbr_file, err);
    else if (cc == GT_CARRIAGE_RETURN) {
      gt_io_next(xrf_abbr_file);
      if (gt_io_peek(xrf_abbr_file) == GT_END_OF_LINE)
        gt_io_next(xrf_abbr_file);
      break;
    }
    else if ((cc == GT_END_OF_LINE) || (cc == GT_END_OF_FILE)) {
      gt_io_next(xrf_abbr_file);
      break;
    }
    else
      had_err = gt_io_expect(xrf_abbr_file, XRF_BLANK_CHAR, err);
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0x8749d
movq %rbx, %rdi
callq 0x3566a
testb %al, %al
jne 0x87569
leaq 0x6dc5a(%rip), %rdi     # 0xf50fe
xorl %eax, %eax
callq 0x35a32
movq %r14, %rdi
movl $0x20, %esi
movq %rbx, %rdx
callq 0xa4f6a
movl %eax, %r15d
testl %r15d, %r15d
jne 0x8755b
movq %r14, %rdi
callq 0xa4eca
movzbl %al, %eax
cmpl $0x20, %eax
jg 0x87505
cmpl $0xa, %eax
je 0x87526
cmpl $0xd, %eax
jne 0x87536
movq %r14, %rdi
callq 0xa4f03
movq %r14, %rdi
callq 0xa4eca
movl $0x5, %r12d
cmpb $0xa, %al
jne 0x8754c
movq %r14, %rdi
callq 0xa4f03
jmp 0x8754c
cmpl $0xff, %eax
je 0x87526
cmpl $0x21, %eax
jne 0x87536
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8756e
movl %eax, %ebp
movl $0x1, %r12d
jmp 0x8754c
movq %r14, %rdi
callq 0xa4f03
movl $0x5, %r12d
jmp 0x8754c
movq %r14, %rdi
movl $0x20, %esi
movq %rbx, %rdx
callq 0xa4f6a
movl %eax, %r15d
xorl %r12d, %r12d
testl %r12d, %r12d
je 0x874be
cmpl $0x5, %r12d
jne 0x8755e
movl %r15d, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x20083