LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_get_range_for_seqid
int gt_feature_index_gfflike_get_range_for_seqid(GtFeatureIndex *gfi,
                                                 GtRange *range,
                                                 const char *seqid,
                                                 GtError *err)
{
  GtFeatureIndexGFFlike *fi;
  int had_err = 0, rval;
  GtRDBStmt *stmt;
  gt_assert(gfi && range && seqid);
  gt_error_check(err);
  fi = feature_index_gfflike_cast(gfi);
  gt_mutex_lock(fi->dblock);
  stmt = fi->stmts[GT_PSTMT_GET_SEQREG_RANGE_SELECT];
  gt_rdb_stmt_reset(stmt, err);
  gt_rdb_stmt_bind_string(stmt, 0, seqid, err);
  rval = gt_rdb_stmt_exec(stmt, err);
  switch (rval) {
    case 0:
      gt_rdb_stmt_get_ulong(stmt, 0, &range->start, err);
      gt_rdb_stmt_get_ulong(stmt, 1, &range->end, err);
      gt_assert(gt_rdb_stmt_exec(stmt, err) == 1);
      break;
    case 1:
      gt_error_set(err, "sequence region '%s' does not exist", seqid);
      had_err = -1;
      break;
    default:
      /* error is set */
      had_err = -1;
      break;
  }
  gt_mutex_unlock(fi->dblock);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x123ac6
movq %rsi, %r14
testq %rsi, %rsi
je 0x123ac6
movq %rdx, %r12
testq %rdx, %rdx
je 0x123ac6
movq %rcx, %rbx
movq %rdi, %r15
testq %rcx, %rcx
je 0x1239fa
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x123acb
callq 0x122d18
movq %rax, %rdi
movq %r15, %rsi
callq 0x140d70
movq %rax, %r15
movq 0x170(%rax), %rdi
callq 0x11c907
movq 0x90(%r15), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x16bf19
movq %rbp, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x16bf7c
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x16bfbe
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
cmpl $0x1, %eax
je 0x123a94
testl %eax, %eax
jne 0x123aa8
xorl %r13d, %r13d
movq %rbp, %rdi
xorl %esi, %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x16c01a
addq $0x8, %r14
movl $0x1, %esi
movq %rbp, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x16c01a
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x16bfbe
cmpl $0x1, %eax
je 0x123aa8
callq 0x3a933
leaq 0x251a0d(%rip), %rsi    # 0x3754a8
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0xfcb67
movq 0x170(%r15), %rdi
callq 0x11c922
movl %r13d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3a8c1
callq 0x3a8fa
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_has_seqid
int gt_feature_index_gfflike_has_seqid(const GtFeatureIndex *gfi,
                                       bool *has_seqid,
                                       const char *seqid,
                                       GtError *err)
{
  GtFeatureIndexGFFlike *fi;
  int had_err = 0;
  gt_assert(gfi);
  int rval;
  GtRDBStmt *stmt;
  gt_assert(gfi);
  gt_error_check(err);
  fi = feature_index_gfflike_cast((GtFeatureIndex*) gfi);
  gt_mutex_lock(fi->dblock);
  stmt = fi->stmts[GT_PSTMT_HAS_SEQID_SELECT];
  gt_rdb_stmt_reset(stmt, err);
  gt_rdb_stmt_bind_string(stmt, 0, seqid, err);
  rval = gt_rdb_stmt_exec(stmt, err);
  if (rval < 0) {
    /* error is set */
    had_err = -1;
  }
  if (!had_err) {
    int nof_entries;
    gt_rdb_stmt_get_int(stmt, 0, &nof_entries, err);
    *has_seqid = (nof_entries > 0);
    gt_assert(gt_rdb_stmt_exec(stmt, err) == 1);
  }
  gt_mutex_unlock(fi->dblock);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x123ba5
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
testq %rcx, %rcx
je 0x123b05
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x123baa
callq 0x122d18
movq %rax, %rdi
movq %r15, %rsi
callq 0x140d70
movq %rax, %r15
movq 0x170(%rax), %rdi
callq 0x11c907
movq 0xf8(%r15), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x16bf19
movq %r13, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x16bf7c
movq %r13, %rdi
movq %rbx, %rsi
callq 0x16bfbe
movl %eax, %ebp
testl %eax, %eax
js 0x123b85
leaq 0x4(%rsp), %r12
movq %r13, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x16c040
cmpl $0x0, (%r12)
setg (%r14)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x16bfbe
cmpl $0x1, %eax
jne 0x123baf
sarl $0x1f, %ebp
movq 0x170(%r15), %rdi
callq 0x11c922
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3a9de
callq 0x3a96c
callq 0x3a9a5
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_delete
void gt_feature_index_gfflike_delete(GtFeatureIndex *gfi)
{
  GtFeatureIndexGFFlike *fi;
  GtUword i;
  if (!gfi) return;
  fi = feature_index_gfflike_cast(gfi);
  for (i=0;i<GT_PSTMT_NOF_STATEMENTS;i++) {
    gt_rdb_stmt_delete(fi->stmts[i]);
  }
  if (fi->db)
    gt_rdb_delete(fi->db);
  gt_hashmap_delete(fi->node_to_parent_array);
  unregister_observers(fi, NULL);
  gt_feature_node_observer_delete(fi->obs);
  node_ul_gt_hashmap_delete(fi->cache_node2id);
  ul_node_gt_hashmap_delete(fi->cache_id2node);
  gt_hashmap_delete(fi->ref_nodes);
  gt_hashmap_delete(fi->seqid_cache);
  gt_hashmap_delete(fi->source_cache);
  gt_hashmap_delete(fi->string_caches);
  gt_hashmap_delete(fi->added);
  gt_hashmap_delete(fi->deleted);
  gt_hashmap_delete(fi->changed);
  gt_mutex_delete(fi->dblock);
}

// Assembly:
testq %rdi, %rdi
je 0x123c8b
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x122d18
movq %rax, %rdi
movq %rbx, %rsi
callq 0x140d70
movq %rax, %rbx
xorl %r14d, %r14d
movq 0x60(%rbx,%r14,8), %rdi
callq 0x16bfdf
incq %r14
cmpq $0x20, %r14
jne 0x123bda
movq 0x168(%rbx), %rdi
testq %rdi, %rdi
je 0x123bfe
callq 0x16bda0
movq 0x10(%rbx), %rdi
callq 0x10109b
movq 0x30(%rbx), %rdi
leaq 0x1388(%rip), %rsi      # 0x124f9a
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x100bc9
movq 0x160(%rbx), %rdi
callq 0x1441da
movq 0x50(%rbx), %rdi
callq 0x101d90
movq 0x58(%rbx), %rdi
callq 0x101d90
movq 0x30(%rbx), %rdi
callq 0x10109b
movq 0x18(%rbx), %rdi
callq 0x10109b
movq 0x20(%rbx), %rdi
callq 0x10109b
movq 0x28(%rbx), %rdi
callq 0x10109b
movq 0x38(%rbx), %rdi
callq 0x10109b
movq 0x40(%rbx), %rdi
callq 0x10109b
movq 0x48(%rbx), %rdi
callq 0x10109b
movq 0x170(%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x11c8e5
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: node_score_changed_callback
static void node_score_changed_callback(GtFeatureNode *changed,
                                        GT_UNUSED double score,
                                        void *data)
{
  GtUword *id;
  ObserverCallbackInfo *info = (ObserverCallbackInfo*) data;
  gt_assert(changed);
  if ((id = node_ul_gt_hashmap_get(info->fis->cache_node2id, changed))) {
    gt_hashmap_add(info->fis->changed, changed, (void*) 1);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x124408
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rax
movq 0x50(%rax), %rdi
movq %rsp, %rsi
movq %rbx, (%rsi)
callq 0x1012ee
testq %rax, %rax
je 0x124400
movq 0x8(%r14), %rax
movq 0x48(%rax), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x100b18
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3aa89
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: node_strand_changed_callback
static void node_strand_changed_callback(GtFeatureNode *changed,
                                         GT_UNUSED GtStrand strand,
                                         void *data)
{
  GtUword *id;
  ObserverCallbackInfo *info = (ObserverCallbackInfo*) data;
  if ((id = node_ul_gt_hashmap_get(info->fis->cache_node2id, changed))) {
    gt_hashmap_add(info->fis->changed, changed, (void*) 1);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rdx), %rax
movq 0x50(%rax), %rdi
movq %rsp, %rsi
movq %rbx, (%rsi)
callq 0x1012ee
testq %rax, %rax
je 0x124444
movq 0x8(%r14), %rax
movq 0x48(%rax), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x100b18
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: node_phase_changed_callback
static void node_phase_changed_callback(GtFeatureNode *changed,
                                        GT_UNUSED GtPhase phase,
                                        void *data)
{
  GtUword *id;
  ObserverCallbackInfo *info = (ObserverCallbackInfo*) data;
  if ((id = node_ul_gt_hashmap_get(info->fis->cache_node2id, changed))) {
    gt_hashmap_add(info->fis->changed, changed, (void*) 1);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rdx), %rax
movq 0x50(%rax), %rdi
movq %rsp, %rsi
movq %rbx, (%rsi)
callq 0x1012ee
testq %rax, %rax
je 0x124483
movq 0x8(%r14), %rax
movq 0x48(%rax), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x100b18
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: node_attribute_change_callback
static void node_attribute_change_callback(GtFeatureNode *changed,
                                           GT_UNUSED bool added,
                                           GT_UNUSED const char *key,
                                           GT_UNUSED const char *value,
                                           void *data)
{
  GtUword *id;
  ObserverCallbackInfo *info = (ObserverCallbackInfo*) data;
  gt_assert(changed);
  if ((id = node_ul_gt_hashmap_get(info->fis->cache_node2id, changed))) {
    gt_hashmap_add(info->fis->changed, changed, (void*) 1);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1244cf
movq %r8, %r14
movq %rdi, %rbx
movq 0x8(%r8), %rax
movq 0x50(%rax), %rdi
movq %rsp, %rsi
movq %rbx, (%rsi)
callq 0x1012ee
testq %rax, %rax
je 0x1244c7
movq 0x8(%r14), %rax
movq 0x48(%rax), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x100b18
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3aac2
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: node_attribute_delete_callback
static void node_attribute_delete_callback(GtFeatureNode *changed,
                                           GT_UNUSED const char *key,
                                           GT_UNUSED void *data)
{
  GtUword *id;
  ObserverCallbackInfo *info = (ObserverCallbackInfo*) data;
  gt_assert(changed);
  if ((id = node_ul_gt_hashmap_get(info->fis->cache_node2id, changed))) {
    gt_hashmap_add(info->fis->changed, changed, (void*) 1);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x124518
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rdx), %rax
movq 0x50(%rax), %rdi
movq %rsp, %rsi
movq %rbx, (%rsi)
callq 0x1012ee
testq %rax, %rax
je 0x124510
movq 0x8(%r14), %rax
movq 0x48(%rax), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x100b18
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3aafb
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: node_child_add_callback
static int node_child_add_callback(GtFeatureNode *parent,
                                   GtFeatureNode *child,
                                   void *data)
{
  int had_err = 0;
  GtUword *id, *child_id;
  ObserverCallbackInfo *info = (ObserverCallbackInfo*) data;
  gt_assert(parent && child);

  if ((id = node_ul_gt_hashmap_get(info->fis->cache_node2id, parent))) {
    if (!(child_id = node_ul_gt_hashmap_get(info->fis->cache_node2id, child))) {
      gt_hashmap_add(info->fis->added, child, (void*) 1);
    }
    gt_hashmap_add(info->fis->changed, parent, (void*) 1);
  }
  return had_err;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0x1245a3
movq %rsi, %r15
testq %rsi, %rsi
je 0x1245a3
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rdx), %rax
movq 0x50(%rax), %rdi
leaq 0x8(%rsp), %rsi
movq %rbx, (%rsi)
callq 0x1012ee
testq %rax, %rax
je 0x124597
movq 0x8(%r14), %rax
movq 0x50(%rax), %rdi
leaq 0x8(%rsp), %rsi
movq %r15, (%rsi)
callq 0x1012ee
testq %rax, %rax
jne 0x124582
movq 0x8(%r14), %rax
movq 0x38(%rax), %rdi
movl $0x1, %edx
movq %r15, %rsi
callq 0x100b18
movq 0x8(%r14), %rax
movq 0x48(%rax), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x100b18
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
callq 0x3ab34
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_anno_db_gfflike_new
GtAnnoDBSchema* gt_anno_db_gfflike_new(void)
{
  GtAnnoDBSchema *s = gt_anno_db_schema_create(gt_anno_db_gfflike_class());
  GtAnnoDBGFFlike *adg = anno_db_gfflike_cast(s);
  adg->visitor = gfflike_setup_visitor_new(adg);
  return s;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
callq 0x122c11
movq %rax, %rdi
callq 0x12572d
movq %rax, %rbx
callq 0x122c11
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12580b
movq %rax, %r14
callq 0x1256c3
movq %rax, %rdi
callq 0x16cbab
movq %rax, %r15
callq 0x1256c3
movq %rax, %rdi
movq %r15, %rsi
callq 0x16cbdc
testq %r14, %r14
je 0x124606
movq %r14, 0x10(%rax)
movq %r15, 0x18(%r14)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
callq 0x3ab6d
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: set_parents
static int set_parents(void *key, void *value, void *data,
                       GtError *err)
{
  int had_err = 0;
  GtFeatureNode *fn = (GtFeatureNode*) key,
                *parent = NULL;
  GtArray *parent_array = (GtArray*) value;
  GtFeatureIndexGFFlike *fi = (GtFeatureIndexGFFlike*) data;
  GtUword *num, *parent_id;

  num = node_ul_gt_hashmap_get(fi->cache_node2id, fn);
  gt_assert(num);
  if (parent_array && gt_array_size(parent_array)) {
    GtUword i;
    int rval = 0;
    for (i=0;i<gt_array_size(parent_array);i++) {
      if (rval < 0) {
        had_err = -1;
        break;
      }
      parent = *(GtFeatureNode**) gt_array_get(parent_array, i);
      parent_id = node_ul_gt_hashmap_get(fi->cache_node2id, parent);
      gt_assert(parent_id);
      /* insert parents */
      gt_rdb_stmt_reset(fi->stmts[GT_PSTMT_PARENT_INSERT], err);
      gt_rdb_stmt_bind_int(fi->stmts[GT_PSTMT_PARENT_INSERT], 0, *num, err);
      gt_rdb_stmt_bind_int(fi->stmts[GT_PSTMT_PARENT_INSERT], 1, *parent_id,
                           err);
      rval = gt_rdb_stmt_exec(fi->stmts[GT_PSTMT_PARENT_INSERT], err);
    }
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq 0x50(%rdx), %rax
leaq 0x8(%rsp), %rsi
movq %rdi, (%rsi)
movq %rax, %rdi
callq 0x1012ee
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0x124e28
xorl %r13d, %r13d
testq %r15, %r15
je 0x124e11
movq %r15, %rdi
callq 0xd24e0
testq %rax, %rax
je 0x124e11
movq %r15, %rdi
callq 0xd24e0
testq %rax, %rax
je 0x124e11
xorl %r12d, %r12d
xorl %ebp, %ebp
testl %r12d, %r12d
js 0x124e0b
movq %r15, %rdi
movq %rbp, %rsi
callq 0xd2207
movq (%rax), %rax
movq 0x50(%r14), %rdi
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %rsi
callq 0x1012ee
testq %rax, %rax
je 0x124e23
movq %rax, %r12
movq 0x80(%r14), %rdi
movq %rbx, %rsi
callq 0x16bf19
movq 0x80(%r14), %rdi
movq 0x10(%rsp), %rax
movl 0x8(%rax), %edx
xorl %r13d, %r13d
xorl %esi, %esi
movq %rbx, %rcx
callq 0x16bf3a
movq 0x80(%r14), %rdi
movl 0x8(%r12), %edx
movl $0x1, %esi
movq %rbx, %rcx
callq 0x16bf3a
movq 0x80(%r14), %rdi
movq %rbx, %rsi
callq 0x16bfbe
movl %eax, %r12d
incq %rbp
movq %r15, %rdi
callq 0xd24e0
cmpq %rax, %rbp
jb 0x124d69
jmp 0x124e11
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movl %r13d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3acc3
callq 0x3acfc
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: unregister_observer
static int
unregister_observer(void *key, GT_UNUSED void *val, GT_UNUSED void *data,
                    GT_UNUSED GtError *err)
{
  GtFeatureNode *fn = (void*) key;
  gt_assert(fn);
  gt_feature_node_unset_observer(fn);
  return 0;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x124fa9
callq 0x142092
xorl %eax, %eax
popq %rcx
retq
callq 0x3ada7
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: resave_each_attribute
static void resave_each_attribute(const char *attr_name, const char *attr_value,
                                  void *data)
{
  GFFlikeAttributeInfo *ai = (GFFlikeAttributeInfo*) data;
  gt_rdb_stmt_reset(ai->fis->stmts[GT_PSTMT_ATTRIBUTE_INSERT], ai->err);
  gt_rdb_stmt_bind_int(ai->fis->stmts[GT_PSTMT_ATTRIBUTE_INSERT], 0, ai->id,
                       ai->err);
  gt_rdb_stmt_bind_string(ai->fis->stmts[GT_PSTMT_ATTRIBUTE_INSERT], 1,
                          attr_name, ai->err);
  gt_rdb_stmt_bind_string(ai->fis->stmts[GT_PSTMT_ATTRIBUTE_INSERT], 2,
                          attr_value, ai->err);
  gt_rdb_stmt_exec(ai->fis->stmts[GT_PSTMT_ATTRIBUTE_INSERT], ai->err);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdx), %rax
movq 0x10(%rdx), %rsi
movq 0xb8(%rax), %rdi
callq 0x16bf19
movq (%rbx), %rax
movq 0xb8(%rax), %rdi
movl 0x8(%rbx), %edx
movq 0x10(%rbx), %rcx
xorl %esi, %esi
callq 0x16bf3a
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movq 0xb8(%rax), %rdi
movl $0x1, %esi
movq %r15, %rdx
callq 0x16bf7c
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movq 0xb8(%rax), %rdi
movl $0x2, %esi
movq %r14, %rdx
callq 0x16bf7c
movq (%rbx), %rax
movq 0x10(%rbx), %rsi
movq 0xb8(%rax), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x16bfbe
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gfflike_setup_visitor_class
static const GtRDBVisitorClass* gfflike_setup_visitor_class()
{
  static const GtRDBVisitorClass *svc = NULL;
  gt_class_alloc_lock_enter();
  if (!svc) {
    svc = gt_rdb_visitor_class_new(sizeof (GtAnnoDBGFFlike),
                                   NULL,
                                   anno_db_gfflike_init_sqlite,
                                   anno_db_gfflike_init_mysql);
  }
  gt_class_alloc_lock_leave();
  return svc;
}

// Assembly:
pushq %rax
callq 0xe252f
cmpq $0x0, 0x398fd7(%rip)    # 0x4be6a8
jne 0x1256f4
leaq -0x36d2(%rip), %rdx     # 0x122008
leaq -0x3108(%rip), %rcx     # 0x1225d9
movl $0x20, %edi
xorl %esi, %esi
callq 0x16cb68
movq %rax, 0x398fb4(%rip)    # 0x4be6a8
callq 0xe2545
movq 0x398fa8(%rip), %rax    # 0x4be6a8
popq %rcx
retq
nop
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_schema.c
// Function: gt_anno_db_schema_class_new
const GtAnnoDBSchemaClass* gt_anno_db_schema_class_new(size_t size,
                            GtAnnoDBSchemaFreeFunc free_func,
                            GtAnnoDBSchemaBuildFunc build_func)
{
  GtAnnoDBSchemaClass *c_class = gt_class_alloc(sizeof *c_class);
  c_class->size = size;
  c_class->free_func = free_func;
  c_class->build_func = build_func;
  return c_class;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x18, %edi
callq 0x2f7c10
movq %r15, (%rax)
movq %r14, 0x8(%rax)
movq %rbx, 0x10(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_schema.c
// Function: gt_anno_db_schema_create
GtAnnoDBSchema* gt_anno_db_schema_create(const GtAnnoDBSchemaClass *dbc)
{
  GtAnnoDBSchema *s;
  gt_assert(dbc && dbc->size);
  s = gt_calloc(1, dbc->size);
  s->c_class = dbc;
  s->members = gt_calloc(1, sizeof (GtAnnoDBSchemaMembers));
  return s;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x125785
movq %rdi, %rbx
movq (%rdi), %rsi
testq %rsi, %rsi
je 0x125785
leaq 0x2518bf(%rip), %r14    # 0x377008
movl $0x1, %edi
movq %r14, %rdx
movl $0x2f, %ecx
callq 0x10436a
movq %rax, %r15
movq %rbx, (%rax)
movl $0x1, %edi
movl $0x4, %esi
movq %r14, %rdx
movl $0x31, %ecx
callq 0x10436a
movq %rax, 0x8(%r15)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
callq 0x3ae52
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_schema.c
// Function: gt_anno_db_schema_delete
void gt_anno_db_schema_delete(GtAnnoDBSchema *s)
{
  if (!s) return;
  if (s->members->reference_count) {
    s->members->reference_count--;
    return;
  }
  gt_assert(s->c_class);
  if (s->c_class->free_func) s->c_class->free_func(s);
  gt_free(s->members);
  gt_free(s);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1257b9
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
movl (%rdi), %eax
testl %eax, %eax
je 0x1257c1
decl %eax
movl %eax, (%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%rbx), %rax
testq %rax, %rax
je 0x125806
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x1257db
movq %rbx, %rdi
callq *%rax
movq 0x8(%rbx), %rdi
leaq 0x251826(%rip), %r14    # 0x377008
movq %r14, %rsi
movl $0x45, %edx
callq 0x1045eb
movq %rbx, %rdi
movq %r14, %rsi
movl $0x46, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1045eb
callq 0x3aec0
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_schema.c
// Function: gt_anno_db_schema_get_feature_index
GtFeatureIndex* gt_anno_db_schema_get_feature_index(GtAnnoDBSchema *s,
                                                    GtRDB *rdb, GtError *err)
{
  gt_assert(s && s->c_class);
  if (s->c_class->build_func)
    return s->c_class->build_func(s, rdb, err);
  return NULL;
}

// Assembly:
testq %rdi, %rdi
je 0x12583f
movq (%rdi), %rax
testq %rax, %rax
je 0x12583f
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x12583c
jmpq *%rax
xorl %eax, %eax
retq
pushq %rax
callq 0x3af2e
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/array_in_stream.c
// Function: gt_array_in_stream_class
const GtNodeStreamClass* gt_array_in_stream_class(void)
{
  static const GtNodeStreamClass *gsc = NULL;
  gt_class_alloc_lock_enter();
  if (!gsc) {
    gsc = gt_node_stream_class_new(sizeof (GtArrayInStream),
                                   NULL,
                                   gt_array_in_stream_next);
  }
  gt_class_alloc_lock_leave();
  return gsc;
}

// Assembly:
pushq %rax
callq 0xe252f
cmpq $0x0, 0x398e5a(%rip)    # 0x4be6b0
jne 0x125872
leaq 0x21(%rip), %rdx        # 0x125880
movl $0x28, %edi
xorl %esi, %esi
callq 0x162d34
movq %rax, 0x398e3e(%rip)    # 0x4be6b0
callq 0xe2545
movq 0x398e32(%rip), %rax    # 0x4be6b0
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/array_in_stream.c
// Function: gt_array_in_stream_next
static int gt_array_in_stream_next(GtNodeStream *gs, GtGenomeNode **gn,
                                   GT_UNUSED GtError *err)
{
  GtArrayInStream *ais;
  int had_err = 0;

  gt_error_check(err);
  ais = gt_array_in_stream_cast(gs);
  if (ais->next_index >= gt_array_size(ais->nodes))
    *gn = NULL;
  else {
    *gn = *(GtGenomeNode**) gt_array_get(ais->nodes, ais->next_index);
    ais->next_index++;
    if (ais->progress)
      *ais->progress = *ais->progress + 1;
  }

  return had_err;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0x12589c
movq %rdx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1258f5
callq 0x125848
movq %rax, %rdi
movq %r14, %rsi
callq 0x162ff7
movq %rax, %r14
movq 0x10(%rax), %rdi
movq 0x18(%rax), %r15
callq 0xd24e0
cmpq %rax, %r15
jae 0x1258e6
movq 0x10(%r14), %rdi
movq 0x18(%r14), %rsi
callq 0xd2207
movq (%rax), %rax
movq %rax, (%rbx)
incq 0x18(%r14)
movq 0x20(%r14), %rax
testq %rax, %rax
je 0x1258ed
incq (%rax)
jmp 0x1258ed
movq $0x0, (%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
callq 0x3af65
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/array_in_stream.c
// Function: gt_array_in_stream_new
GtNodeStream* gt_array_in_stream_new(GtArray *nodes,
                                     GtUword *progress,
                                     GT_UNUSED GtError *err)
{
  GtNodeStream *gs;
  GtArrayInStream *ais;
  gt_assert(nodes);
  gs = gt_node_stream_create(gt_array_in_stream_class(), false);
  ais = gt_array_in_stream_cast(gs);
  ais->nodes = nodes;
  ais->progress = progress;
  ais->next_index = 0;

  return gs;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x125945
movq %rsi, %rbx
movq %rdi, %r14
callq 0x125848
movq %rax, %rdi
xorl %esi, %esi
callq 0x162d6c
movq %rax, %r15
callq 0x125848
movq %rax, %rdi
movq %r15, %rsi
callq 0x162ff7
movq %r14, 0x10(%rax)
movq %rbx, 0x20(%rax)
movq $0x0, 0x18(%rax)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
callq 0x3af9c
nop
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/array_out_stream.c
// Function: gt_array_out_stream_class
const GtNodeStreamClass* gt_array_out_stream_class(void)
{
  static const GtNodeStreamClass *gsc = NULL;
  gt_class_alloc_lock_enter();
  if (!gsc) {
    gsc = gt_node_stream_class_new(sizeof (GtArrayOutStream),
                                   gt_array_out_stream_free,
                                   gt_array_out_stream_next);
  }
  gt_class_alloc_lock_leave();
  return gsc;
}

// Assembly:
pushq %rax
callq 0xe252f
cmpq $0x0, 0x398d5e(%rip)    # 0x4be6b8
jne 0x12597b
leaq 0x26(%rip), %rsi        # 0x125989
leaq 0x3d(%rip), %rdx        # 0x1259a7
movl $0x28, %edi
callq 0x162d34
movq %rax, 0x398d3d(%rip)    # 0x4be6b8
callq 0xe2545
movq 0x398d31(%rip), %rax    # 0x4be6b8
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/array_out_stream.c
// Function: gt_array_out_stream_next
static int gt_array_out_stream_next(GtNodeStream *gs, GtGenomeNode **gn,
                                    GtError *err)
{
  GtArrayOutStream *aos;
  GT_UNUSED GtFeatureNode *node;
  GtGenomeNode  *gn_ref;
  int had_err = 0;

  gt_error_check(err);
  aos = gt_array_out_stream_cast(gs);
  had_err = gt_node_stream_next(aos->in_stream, gn, err);

  if (!had_err && *gn) {
    if (aos->store_all || (node = gt_feature_node_try_cast(*gn))) {
      gn_ref = gt_genome_node_ref(*gn);
      gt_array_add(aos->nodes, gn_ref);
    }
  }

  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0x1259c8
movq %r15, %rdi
callq 0xfcc32
testb %al, %al
jne 0x125a32
callq 0x12594c
movq %rax, %rdi
movq %r14, %rsi
callq 0x162ff7
movq %rax, %r14
movq 0x10(%rax), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x162e68
movl %eax, %ebp
testl %eax, %eax
jne 0x125a25
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x125a25
cmpb $0x0, 0x20(%r14)
jne 0x125a0c
callq 0x143cab
testq %rax, %rax
je 0x125a25
movq (%rbx), %rdi
callq 0x1443a0
movq %rsp, %rsi
movq %rax, (%rsi)
movq 0x18(%r14), %rdi
movl $0x8, %edx
callq 0xd2410
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x3afd3
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/array_out_stream.c
// Function: gt_array_out_stream_new_generic
static GtNodeStream* gt_array_out_stream_new_generic(GtNodeStream *in_stream,
                                                     GtArray *nodes,
                                                     bool store_all,
                                                     GT_UNUSED GtError *err)
{
  GtNodeStream *gs;
  GtArrayOutStream *aos;
  gt_assert(in_stream && nodes);
  gs = gt_node_stream_create(gt_array_out_stream_class(), false);
  aos = gt_array_out_stream_cast(gs);
  aos->in_stream = gt_node_stream_ref(in_stream);
  aos->nodes = nodes;
  aos->store_all = store_all;
  return gs;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x125a9c
movq %rsi, %r14
testq %rsi, %rsi
je 0x125a9c
movl %edx, %ebx
movq %rdi, %r15
callq 0x12594c
movq %rax, %rdi
xorl %esi, %esi
callq 0x162d6c
movq %rax, %r12
callq 0x12594c
movq %rax, %rdi
movq %r12, %rsi
callq 0x162ff7
movq %rax, %r13
movq %r15, %rdi
callq 0x162dd8
movq %rax, 0x10(%r13)
movq %r14, 0x18(%r13)
movb %bl, 0x20(%r13)
movq %r12, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x3b00a
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/assembly_stats_calculator.c
// Function: gt_assembly_stats_calculator_new
GtAssemblyStatsCalculator *gt_assembly_stats_calculator_new(void)
{
  GtAssemblyStatsCalculator *asc;

  asc = gt_malloc(sizeof (GtAssemblyStatsCalculator));
  asc->lengths = gt_disc_distri_new();
  asc->numofseq = 0;
  asc->sumlength = 0;
  asc->minlength = 0;
  asc->maxlength = 0;
  asc->genome_length = 0;
  asc->nstats = gt_array_new(sizeof (GtUword));
  return asc;
}

// Assembly:
pushq %rbx
leaq 0x251724(%rip), %rsi    # 0x3771d4
movl $0x38, %edi
movl $0x28, %edx
callq 0x104226
movq %rax, %rbx
callq 0xe54e0
movq %rax, 0x28(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movups %xmm0, 0x10(%rbx)
movq $0x0, 0x20(%rbx)
movl $0x8, %edi
callq 0xd214c
movq %rax, 0x30(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/assembly_stats_calculator.c
// Function: gt_assembly_stats_calculator_delete
void gt_assembly_stats_calculator_delete(GtAssemblyStatsCalculator *asc)
{
  if (asc != NULL)
  {
    gt_disc_distri_delete(asc->lengths);
    gt_array_delete(asc->nstats);
    gt_free(asc);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x125b20
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
callq 0xe5a93
movq 0x30(%rbx), %rdi
callq 0xd2938
leaq 0x2516c2(%rip), %rsi    # 0x3771d4
movq %rbx, %rdi
movl $0x39, %edx
popq %rbx
jmp 0x1045eb
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/assembly_stats_calculator.c
// Function: gt_assembly_stats_calculator_add
void gt_assembly_stats_calculator_add(GtAssemblyStatsCalculator *asc,
    GtUword length)
{
  gt_assert(asc != NULL);
  gt_assert(length != 0);
  gt_disc_distri_add(asc->lengths, length);
  (asc->numofseq)++;
  asc->sumlength += length;
  if (asc->minlength == 0 || length < asc->minlength)
    asc->minlength = length;
  if (length > asc->maxlength)
    asc->maxlength = length;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x125b82
movq %rsi, %rbx
testq %rsi, %rsi
je 0x125b87
movq %rdi, %r14
movq 0x28(%rdi), %rdi
movq %rbx, %rsi
callq 0xe54fb
movdqu (%r14), %xmm0
movq %rbx, %xmm1
movdqa 0x25162d(%rip), %xmm2   # 0x377180
punpcklqdq %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0]
paddq %xmm0, %xmm2
movdqu %xmm2, (%r14)
movq 0x10(%r14), %rax
decq %rax
cmpq %rbx, %rax
jb 0x125b70
movq %rbx, 0x10(%r14)
cmpq %rbx, 0x18(%r14)
jae 0x125b7a
movq %rbx, 0x18(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3b078
callq 0x3b041
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/assembly_stats_calculator.c
// Function: gt_assembly_stats_calculator_nstat
GtUword gt_assembly_stats_calculator_nstat(GtAssemblyStatsCalculator *asc,
    GtUword n)
{
  Nstats nstats;
  gt_assert(n > 0);
  gt_assert(n < (GtUword)100UL);
  nstats.min[0] = (GtUint64) (asc->sumlength * ((float)n / 100U));
  nstats.nvalue[0] = 0;
  nstats.lvalue[0] = 0;
  nstats.done[0] = false;
  nstats.nofstats = 1U;
  nstats.current_len = 0;
  nstats.current_num = 0;
  nstats.half_num = (GtUint64) (asc->numofseq >> 1);
  nstats.fourth_num = nstats.half_num >> 1;
  nstats.three_fourth_num = nstats.fourth_num + nstats.half_num;
  nstats.median = 0;
  nstats.first_quartile = 0;
  nstats.third_quartile = 0;
  gt_disc_distri_foreach_in_reverse_order(asc->lengths, calcNstats, &nstats);
  return nstats.nvalue[0];
}

// Assembly:
pushq %rbx
subq $0x240, %rsp            # imm = 0x240
testq %rsi, %rsi
je 0x125c94
cmpq $0x64, %rsi
jae 0x125c99
movq 0x8(%rdi), %rax
testq %rax, %rax
js 0x125bc7
cvtsi2ss %rax, %xmm0
jmp 0x125bdc
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rsi, %xmm1
divss 0x22e6cf(%rip), %xmm1   # 0x3542b8
mulss %xmm0, %xmm1
cvttss2si %xmm1, %rax
movq %rax, %rcx
subss 0x2515d3(%rip), %xmm1   # 0x3771d0
cvttss2si %xmm1, %rdx
sarq $0x3f, %rcx
andq %rcx, %rdx
orq %rax, %rdx
leaq 0x8(%rsp), %rbx
movq %rdx, 0xe0(%rbx)
xorl %eax, %eax
movq %rax, 0x140(%rbx)
movq %rax, 0x190(%rbx)
movb $0x0, 0x50(%rbx)
movl $0x1, 0x230(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%rbx)
movq (%rdi), %rcx
movq %rcx, %rdx
shrq %rdx
movq %rdx, 0x80(%rbx)
shrq $0x2, %rcx
movq %rcx, 0x78(%rbx)
addq %rdx, %rcx
movq %rcx, 0x138(%rbx)
movq %rax, 0xd8(%rbx)
movq %rax, 0x70(%rbx)
movq %rax, 0x130(%rbx)
movq 0x28(%rdi), %rdi
leaq 0x22(%rip), %rsi        # 0x125c9e
movq %rbx, %rdx
callq 0xe5771
movq 0x140(%rbx), %rax
addq $0x240, %rsp            # imm = 0x240
popq %rbx
retq
callq 0x3b11f
callq 0x3b0e6
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/assembly_stats_calculator.c
// Function: calcNstats
static void calcNstats(GtUword key, GtUint64 value,
                        void *data)
{
  Nstats *nstats = data;
  unsigned int i;
  nstats->current_len += (key * value);
  nstats->current_num += value;
  for (i = 0; i < (unsigned int) NOF_LIMITS; i++)
  {
    if ((GtUint64) key > nstats->limit[i])
      nstats->larger_than_limit[i] = nstats->current_num;
  }
  if (nstats->third_quartile == 0 && nstats->current_num >= nstats->fourth_num)
  {
    nstats->third_quartile = (GtUint64) key;
  }
  if (nstats->median == 0 && nstats->current_num >= nstats->half_num)
  {
    nstats->median = (GtUint64) key;
  }
  if (nstats->first_quartile == 0 && nstats->current_num >=
      nstats->three_fourth_num)
  {
    nstats->first_quartile = (GtUint64) key;
  }
  for (i = 0; i < nstats->nofstats; i++)
  {
    if (!nstats->done[i] && (nstats->current_len >= nstats->min[i]))
    {
      nstats->done[i] = true;
      nstats->nvalue[i] = key;
      nstats->lvalue[i] = (GtUword) nstats->current_num;
    }
  }
}

// Assembly:
movq %rsi, %rax
imulq %rdi, %rax
addq 0x60(%rdx), %rax
movq %rax, 0x60(%rdx)
addq 0x68(%rdx), %rsi
movq %rsi, 0x68(%rdx)
movq $-0x5, %rcx
cmpq %rdi, 0xd8(%rdx,%rcx,8)
jae 0x125cce
movq %rsi, 0xb0(%rdx,%rcx,8)
incq %rcx
jne 0x125cbc
cmpq $0x0, 0x130(%rdx)
jne 0x125cea
cmpq 0x78(%rdx), %rsi
jb 0x125cea
movq %rdi, 0x130(%rdx)
cmpq $0x0, 0xd8(%rdx)
jne 0x125d04
cmpq 0x80(%rdx), %rsi
jb 0x125d04
movq %rdi, 0xd8(%rdx)
cmpq $0x0, 0x70(%rdx)
jne 0x125d18
cmpq 0x138(%rdx), %rsi
jb 0x125d18
movq %rdi, 0x70(%rdx)
movl 0x230(%rdx), %ecx
testq %rcx, %rcx
je 0x125d56
xorl %r8d, %r8d
cmpb $0x0, 0x50(%rdx,%r8)
jne 0x125d4e
cmpq 0xe0(%rdx,%r8,8), %rax
jb 0x125d4e
movb $0x1, 0x50(%rdx,%r8)
movq %rdi, 0x140(%rdx,%r8,8)
movq %rsi, 0x190(%rdx,%r8,8)
incq %r8
cmpq %r8, %rcx
jne 0x125d26
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/assembly_stats_calculator.c
// Function: gt_assembly_stats_calculator_register_nstat
int gt_assembly_stats_calculator_register_nstat(GtAssemblyStatsCalculator *asc,
                                                GtUword n, GtError *err)
{
  GtUword i;
  bool present;
  gt_assert(asc != NULL && n > 0);

  if (n > 100) {
    gt_error_set(err, "invalid N value " GT_WU ", must be <= 100", n);
    return -1;
  }

  if (gt_array_size(asc->nstats) == MAX_NOF_NSTATS) {
    gt_error_set(err, "Limit of N statistics reached (%d)", MAX_NOF_NSTATS);
    return -1;
  }

  present = false;
  for (i = 0; i < gt_array_size(asc->nstats); i++) {
    if ((*(GtUword*) gt_array_get(asc->nstats, i)) == n) {
      present = true;
      break;
    }
  }
  if (!present) {
    gt_array_add(asc->nstats, n);
  }

  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, (%rsp)
testq %rdi, %rdi
je 0x125e20
movq %rsi, %rbx
testq %rsi, %rsi
je 0x125e20
movq %rdx, %r15
cmpq $0x65, %rbx
jb 0x125d97
leaq 0x251548(%rip), %rsi    # 0x3772d0
movq %r15, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xfcb67
jmp 0x125dbf
movq %rdi, %r14
movq 0x30(%rdi), %rdi
callq 0xd24e0
cmpq $0xa, %rax
jne 0x125dd4
leaq 0x251544(%rip), %rsi    # 0x3772f4
movq %r15, %rdi
movl $0xa, %edx
xorl %eax, %eax
callq 0xfcb67
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x30(%r14), %rdi
callq 0xd24e0
testq %rax, %rax
je 0x125e0a
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x30(%r14), %rdi
movq %r12, %rsi
callq 0xd2207
cmpq %rbx, (%rax)
je 0x125dc5
incq %r12
movq 0x30(%r14), %rdi
callq 0xd24e0
cmpq %rax, %r12
jb 0x125de8
movq 0x30(%r14), %rdi
movq %rsp, %rsi
movl $0x8, %edx
callq 0xd2410
xorl %r15d, %r15d
jmp 0x125dc5
callq 0x3b158
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_in_stream.c
// Function: gt_bed_in_stream_class
const GtNodeStreamClass* gt_bed_in_stream_class(void)
{
  static const GtNodeStreamClass *nsc = NULL;
  gt_class_alloc_lock_enter();
  if (!nsc) {
    nsc = gt_node_stream_class_new(sizeof (GtBEDInStream),
                                   bed_in_stream_free,
                                   bed_in_stream_next);
  }
  gt_class_alloc_lock_leave();
  return nsc;
}

// Assembly:
pushq %rax
callq 0xe252f
cmpq $0x0, 0x398116(%rip)    # 0x4be6c0
jne 0x1265cb
leaq 0x26(%rip), %rsi        # 0x1265d9
leaq 0x7f(%rip), %rdx        # 0x126639
movl $0x30, %edi
callq 0x162d34
movq %rax, 0x3980f5(%rip)    # 0x4be6c0
callq 0xe2545
movq 0x3980e9(%rip), %rax    # 0x4be6c0
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_in_stream.c
// Function: bed_in_stream_free
static void bed_in_stream_free(GtNodeStream *ns)
{
  GtBEDInStream *bed_in_stream = bed_in_stream_cast(ns);
  gt_free(bed_in_stream->filename);
  while (gt_queue_size(bed_in_stream->genome_node_buffer))
    gt_genome_node_delete(gt_queue_get(bed_in_stream->genome_node_buffer));
  gt_queue_delete(bed_in_stream->genome_node_buffer);
  gt_bed_parser_delete(bed_in_stream->bed_parser);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x12659c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x162ff7
movq %rax, %rbx
movq 0x20(%rax), %rdi
leaq 0x250feb(%rip), %rsi    # 0x3775e6
movl $0x4b, %edx
callq 0x1045eb
movq 0x18(%rbx), %rdi
callq 0x10d7ac
testq %rax, %rax
je 0x126626
movq 0x18(%rbx), %rdi
callq 0x10d74a
movq %rax, %rdi
callq 0x1451a0
jmp 0x126605
movq 0x18(%rbx), %rdi
callq 0x10dc23
movq 0x10(%rbx), %rdi
popq %rbx
jmp 0x1267f2
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_in_stream.c
// Function: bed_in_stream_next
static int bed_in_stream_next(GtNodeStream *ns, GtGenomeNode **gn,
                              GT_UNUSED GtError *err)
{
  GtBEDInStream *is;
  int had_err = 0;
  gt_error_check(err);
  is = bed_in_stream_cast(ns);
  if (!is->file_processed) {
    had_err = bed_in_stream_process_file(is, err);
    is->file_processed = true;
  }
  if (!had_err && gt_queue_size(is->genome_node_buffer)) {
    /* we still have a node in the buffer -> serve it from there */
    *gn = gt_queue_get(is->genome_node_buffer);
    return 0;
  }
  if (!had_err) {
    /* the buffer is empty */
    gt_assert(!gt_queue_size(is->genome_node_buffer));
    *gn = NULL;
  }
  return had_err;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
testq %rdx, %rdx
je 0x126658
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1266cf
callq 0x12659c
movq %rax, %rdi
movq %r15, %rsi
callq 0x162ff7
movq %rax, %r15
cmpb $0x0, 0x28(%rax)
jne 0x12669f
testq %r14, %r14
je 0x126682
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1266d4
movq 0x10(%r15), %rdi
movq 0x18(%r15), %rsi
movq 0x20(%r15), %rdx
movq %r14, %rcx
callq 0x1268a5
movb $0x1, 0x28(%r15)
testl %eax, %eax
jne 0x1266c9
movq 0x18(%r15), %rdi
callq 0x10d7ac
movq 0x18(%r15), %rdi
testq %rax, %rax
je 0x1266b8
callq 0x10d74a
jmp 0x1266c4
callq 0x10d7ac
testq %rax, %rax
jne 0x1266d9
xorl %eax, %eax
movq %rax, (%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
callq 0x3b1ca
callq 0x3b201
callq 0x3b238
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_in_stream.c
// Function: gt_bed_in_stream_new
GtNodeStream* gt_bed_in_stream_new(const char *filename)
{
  GtBEDInStream *bed_in_stream;
  GtNodeStream *ns = gt_node_stream_create(gt_bed_in_stream_class(), false);
  bed_in_stream = bed_in_stream_cast(ns);
  bed_in_stream->bed_parser = gt_bed_parser_new();
  bed_in_stream->genome_node_buffer = gt_queue_new();
  bed_in_stream->filename = filename ? gt_cstr_dup(filename) : NULL;
  return ns;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
callq 0x12659c
xorl %r14d, %r14d
movq %rax, %rdi
xorl %esi, %esi
callq 0x162d6c
movq %rax, %rbx
callq 0x12659c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x162ff7
movq %rax, %r12
callq 0x126794
movq %rax, 0x10(%r12)
callq 0x10d640
movq %rax, 0x18(%r12)
testq %r15, %r15
je 0x126735
movq %r15, %rdi
callq 0xe4290
movq %rax, %r14
movq %r14, 0x20(%r12)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_parser.c
// Function: gt_bed_parser_new
GtBEDParser* gt_bed_parser_new(void)
{
  GtBEDParser *bed_parser = gt_calloc(1, sizeof *bed_parser);
  bed_parser->region_node_builder = gt_region_node_builder_new();
  bed_parser->feature_nodes = gt_queue_new();
  bed_parser->seqid_to_str_mapping = gt_hashmap_new(GT_HASH_STRING, NULL,
                                                    (GtFree) gt_str_delete);
  bed_parser->word = gt_str_new();
  bed_parser->another_word = gt_str_new();
  return bed_parser;
}

// Assembly:
pushq %rbx
leaq 0x250f04(%rip), %rdx    # 0x3776a0
movl $0x1, %edi
movl $0x48, %esi
movl $0x37, %ecx
callq 0x10436a
movq %rax, %rbx
callq 0x16e948
movq %rax, (%rbx)
callq 0x10d640
movq %rax, 0x8(%rbx)
leaq -0xaa0c(%rip), %rdx     # 0x11bdbf
movl $0x1, %edi
xorl %esi, %esi
callq 0x1008fc
movq %rax, 0x10(%rbx)
callq 0x11ac6c
movq %rax, 0x18(%rbx)
callq 0x11ac6c
movq %rax, 0x20(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_parser.c
// Function: gt_bed_parser_delete
void gt_bed_parser_delete(GtBEDParser *bed_parser)
{
  if (!bed_parser) return;
  gt_free(bed_parser->block_type);
  gt_free(bed_parser->thick_feature_type);
  gt_free(bed_parser->feature_type);
  gt_str_delete(bed_parser->another_word);
  gt_str_delete(bed_parser->word);
  gt_hashmap_delete(bed_parser->seqid_to_str_mapping);
  while (gt_queue_size(bed_parser->feature_nodes))
    gt_genome_node_delete(gt_queue_get(bed_parser->feature_nodes));
  gt_queue_delete(bed_parser->feature_nodes);
  gt_region_node_builder_delete(bed_parser->region_node_builder);
  gt_free(bed_parser);
}

// Assembly:
testq %rdi, %rdi
je 0x1268a4
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
leaq 0x250e93(%rip), %r14    # 0x3776a0
movq %r14, %rsi
movl $0x44, %edx
callq 0x1045eb
movq 0x30(%rbx), %rdi
movq %r14, %rsi
movl $0x45, %edx
callq 0x1045eb
movq 0x28(%rbx), %rdi
movq %r14, %rsi
movl $0x46, %edx
callq 0x1045eb
movq 0x20(%rbx), %rdi
callq 0x11bdbf
movq 0x18(%rbx), %rdi
callq 0x11bdbf
movq 0x10(%rbx), %rdi
callq 0x10109b
movq 0x8(%rbx), %rdi
callq 0x10d7ac
testq %rax, %rax
je 0x126878
movq 0x8(%rbx), %rdi
callq 0x10d74a
movq %rax, %rdi
callq 0x1451a0
jmp 0x126857
movq 0x8(%rbx), %rdi
callq 0x10dc23
movq (%rbx), %rdi
callq 0x16e97e
leaq 0x250e10(%rip), %rsi    # 0x3776a0
movq %rbx, %rdi
movl $0x4e, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1045eb
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_parser.c
// Function: rest_line
static void rest_line(GtIO *bed_file)
{
  for (;;) {
    switch (gt_io_peek(bed_file)) {
      case GT_CARRIAGE_RETURN:
        gt_io_next(bed_file);
        if (gt_io_peek(bed_file) == GT_END_OF_LINE)
          gt_io_next(bed_file);
        return;
      case GT_END_OF_LINE:
        gt_io_next(bed_file);
        /*@fallthrough@*/
      case GT_END_OF_FILE:
        return;
      default:
        gt_io_next(bed_file);
    }
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq %rbx, %rdi
callq 0x103b7b
cmpb $0xa, %al
je 0x1277c5
movzbl %al, %eax
cmpl $0xff, %eax
je 0x1277ce
movq %rbx, %rdi
cmpl $0xd, %eax
je 0x1277b4
callq 0x103bb4
jmp 0x12778f
callq 0x103bb4
movq %rbx, %rdi
callq 0x103b7b
cmpb $0xa, %al
jne 0x1277ce
movq %rbx, %rdi
popq %rbx
jmp 0x103bb4
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_parser.c
// Function: word
static void word(GtStr *word, GtIO *bed_file)
{
  gt_str_reset(word);
  for (;;) {
    switch (gt_io_peek(bed_file)) {
      case BLANK_CHAR:
      case TABULATOR_CHAR:
      case PAIR_SEPARATOR:
      case GT_CARRIAGE_RETURN:
      case GT_END_OF_LINE:
      case GT_END_OF_FILE:
        return;
      default:
        gt_str_append_char(word, gt_io_next(bed_file));
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x11b132
movabsq $0x2000000100002600, %r15 # imm = 0x2000000100002600
movq %rbx, %rdi
callq 0x103b7b
movzbl %al, %eax
cmpb $0x3d, %al
ja 0x1277ff
btq %rax, %r15
jb 0x12781b
cmpl $0xff, %eax
je 0x12781b
movq %rbx, %rdi
callq 0x103bb4
movsbl %al, %esi
movq %r14, %rdi
callq 0x11af23
jmp 0x1277ea
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_parser.c
// Function: skip_blanks
static int skip_blanks(GtIO *bed_file, GtError *err)
{
  gt_error_check(err);
  if (!bed_separator(bed_file)) {
    gt_error_set(err,
                 "file \"%s\": line "GT_WU": expected blank or tabulator, got "
                 "'%c'", gt_io_get_filename(bed_file),
                 gt_io_get_line_number(bed_file), gt_io_peek(bed_file));
    return -1;
  }
  while (bed_separator(bed_file))
    gt_io_next(bed_file);
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
je 0x127840
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1278be
movq %rbx, %rdi
callq 0x103b7b
cmpb $0x20, %al
je 0x12789c
movzbl %al, %eax
cmpl $0x9, %eax
je 0x12789c
movq %rbx, %rdi
callq 0x103bee
movq %rax, %r15
movq %rbx, %rdi
callq 0x103bde
movq %rax, %r12
movq %rbx, %rdi
callq 0x103b7b
movsbl %al, %r8d
leaq 0x24ff7c(%rip), %rsi    # 0x3777f9
movq %r14, %rdi
movq %r15, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0xfcb67
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x1278b2
movq %rbx, %rdi
callq 0x103bb4
movq %rbx, %rdi
callq 0x103b7b
cmpb $0x20, %al
je 0x127894
movzbl %al, %eax
cmpl $0x9, %eax
je 0x127894
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x3b784
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/bed_parser.c
// Function: get_seqid
static GtStr* get_seqid(GtBEDParser *bed_parser)
{
  GtStr *seqid = gt_hashmap_get(bed_parser->seqid_to_str_mapping,
                                gt_str_get(bed_parser->word));
  if (!seqid) {
    seqid = gt_str_new_cstr(gt_str_get(bed_parser->word));
    gt_hashmap_add(bed_parser->seqid_to_str_mapping, gt_str_get(seqid), seqid);
  }
  gt_assert(seqid);
  return seqid;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %r14
movq 0x18(%rdi), %rdi
callq 0x11b0a1
movq %r14, %rdi
movq %rax, %rsi
callq 0x100add
testq %rax, %rax
je 0x1278ec
movq %rax, %r14
jmp 0x12791f
movq 0x18(%rbx), %rdi
callq 0x11b0a1
movq %rax, %rdi
callq 0x11acc9
movq %rax, %r14
movq 0x10(%rbx), %rbx
movq %rax, %rdi
callq 0x11b0a1
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x100b18
testq %r14, %r14
je 0x12792a
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3b7bd