LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/toolbox.c
// Function: gt_toolbox_show
int gt_toolbox_show(GT_UNUSED const char *progname, void *toolbox,
                    GT_UNUSED GtError *err)
{
  GtToolbox *tb;
  GT_UNUSED int had_err = 0;
  gt_error_check(err);
  gt_assert(toolbox);
  tb = (GtToolbox*) toolbox;
  printf("\nTools:\n\n");
  had_err = gt_hashmap_foreach_in_key_order(tb->tools, show_tool_name, NULL,
                                            NULL);
  gt_assert(!had_err); /* show_tool_name() is sane */
  return 0;
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
testq %rdx, %rdx
je 0x11ddb3
movq %rdx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x11dde9
testq %rbx, %rbx
je 0x11dddf
leaq 0x254a22(%rip), %rdi    # 0x3727e1
callq 0x17bd0
movq (%rbx), %rdi
leaq 0x20(%rip), %rsi        # 0x11ddee
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x100bf3
testl %eax, %eax
jne 0x11dde4
xorl %eax, %eax
popq %rbx
retq
callq 0x387da
callq 0x387a1
callq 0x38768
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/toolbox.c
// Function: show_tool_name
static int show_tool_name(void *key, void *value, GT_UNUSED void *data,
                          GT_UNUSED GtError *err)
{
  GtToolinfo *toolinfo = value;
  gt_error_check(err);
  gt_assert(key && value);
  if (!toolinfo->hidden) {
    if (gt_createman)
      printf("- *%s*\n", (const char*) key);
    else
      gt_xputs(key);
  }
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
testq %rcx, %rcx
je 0x11de09
movq %rcx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x11de50
testq %rbx, %rbx
je 0x11de4b
testq %r14, %r14
je 0x11de4b
cmpb $0x0, 0x10(%r14)
jne 0x11de41
leaq 0x3a075f(%rip), %rax    # 0x4be580
cmpb $0x1, (%rax)
jne 0x11de39
leaq 0x254977(%rip), %rdi    # 0x3727a4
movq %rbx, %rsi
xorl %eax, %eax
callq 0x17070
jmp 0x11de41
movq %rbx, %rdi
callq 0x11f93e
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3884a
callq 0x38813
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/toolbox.c
// Function: gt_toolbox_iterate
void gt_toolbox_iterate(const GtToolbox *tb, GtToolboxIterator func, void *data)
{
  IterateInfo info;
  GT_UNUSED int had_err = 0;
  gt_assert(tb && func);
  info.func = func;
  info.data = data;
  had_err = gt_hashmap_foreach_in_key_order(tb->tools, toolbox_iterate, &info,
                                            NULL);
  gt_assert(!had_err); /* func() is sane */
}

// Assembly:
subq $0x18, %rsp
testq %rdi, %rdi
je 0x11de8c
testq %rsi, %rsi
je 0x11de8c
leaq 0x8(%rsp), %rax
movq %rsi, (%rax)
movq %rdx, 0x8(%rax)
movq (%rdi), %rdi
leaq 0x1d(%rip), %rsi        # 0x11de96
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x100bf3
testl %eax, %eax
jne 0x11de91
addq $0x18, %rsp
retq
callq 0x38881
callq 0x388ba
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/toolbox.c
// Function: toolbox_iterate
static int toolbox_iterate(void *key, void *value, void *data,
                           GT_UNUSED GtError *err)
{
  const char *name = key;
  GtToolinfo *toolinfo = value;
  IterateInfo *info = data;
  gt_error_check(err);
  gt_assert(key && value && data);
  if (!toolinfo->hidden) {
    if (toolinfo->tool)
      info->func(name, toolinfo->tool, info->data);
    else
      gt_warning("skipping tool '%s' in iterator (not a GtTool object)", name);
  }
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testq %rcx, %rcx
je 0x11deb5
movq %rcx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x11defd
testq %rbx, %rbx
je 0x11def8
testq %r15, %r15
je 0x11def8
testq %r14, %r14
je 0x11def8
cmpb $0x0, 0x10(%r15)
jne 0x11def0
movq (%r15), %rsi
testq %rsi, %rsi
je 0x11dedf
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq *(%r14)
jmp 0x11def0
leaq 0x2548c6(%rip), %rdi    # 0x3727ac
movq %rbx, %rsi
xorl %eax, %eax
callq 0x11f68c
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
callq 0x3892c
callq 0x388f3
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/unit_testing.c
// Function: gt_unit_test_run
int gt_unit_test_run(void *key, void *value, void *data, GtError *err)
{
  int had_err, *had_errp;
  char *testname = key;
  GtUnitTestFunc test = value;
  gt_error_check(err);
  gt_assert(testname && test && data);
  had_errp = (int*) data;
  printf("%s...", testname);
  gt_xfflush(stdout);
  had_err = test(err);
  if (had_err) {
    gt_xputs("error");
    *had_errp = had_err;
    fprintf(stderr, "first error: %s\n", gt_error_get(err));
    gt_error_unset(err);
    gt_xfflush(stderr);
  }
  else
    gt_xputs("ok");
  gt_xfflush(stdout);
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
testq %rcx, %rcx
je 0x11f595
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x11f606
testq %r12, %r12
je 0x11f601
testq %r15, %r15
je 0x11f601
testq %r14, %r14
je 0x11f601
leaq 0x2a6ba1(%rip), %rdi    # 0x3c614c
movq %r12, %rsi
xorl %eax, %eax
callq 0x17070
movq 0x39991c(%rip), %r12    # 0x4b8ed8
movq (%r12), %rdi
callq 0x11f782
movq %rbx, %rdi
callq *%r15
testl %eax, %eax
jne 0x11f5f2
leaq 0x24d2a0(%rip), %rdi    # 0x36c876
callq 0x11f93e
movq (%r12), %rdi
callq 0x11f782
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl %eax, %edi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x38ea7
jmp 0x11f5db
callq 0x38e70
callq 0x38e39
nop
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/aligned_segments_pile.c
// Function: gt_aligned_segments_pile_new
GtAlignedSegmentsPile *gt_aligned_segments_pile_new(GtSamfileIterator *sfi,
    GtSamfileEncseqMapping *sem)
{
  GtAlignedSegmentsPile *asp;
  gt_assert(sfi != NULL);
  gt_assert(sem != NULL);
  asp = gt_malloc(sizeof (GtAlignedSegmentsPile));
  asp->sfi = sfi;
  asp->sem = sem;
  asp->set = gt_dlist_new(gt_aligned_segments_pile_compare_as);
  asp->all_consumed = false;
  asp->next_as = NULL;
  asp->process_complete = NULL;
  asp->process_complete_data = NULL;
  asp->process_unmapped = NULL;
  asp->process_unmapped_data = NULL;
  asp->process_skipped = NULL;
  asp->process_skipped_data = NULL;
  asp->position = GT_UNDEF_UWORD;
  asp->enable_edit_tracking = false;
  asp->delete_processed_segments = true;
  return asp;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x12095c
movq %rsi, %rbx
testq %rsi, %rsi
je 0x120961
movq %rdi, %r14
leaq 0x25408c(%rip), %rsi    # 0x374988
movl $0x68, %edi
movl $0x38, %edx
callq 0x104226
movq %rax, %r15
movq %r14, (%rax)
movq %rbx, 0x8(%rax)
leaq -0x68(%rip), %rdi       # 0x1208b4
callq 0xe5b28
movq %rax, 0x10(%r15)
movb $0x0, 0x20(%r15)
movq $0x0, 0x18(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%r15)
movups %xmm0, 0x38(%r15)
movups %xmm0, 0x48(%r15)
movq $-0x1, 0x58(%r15)
movw $0x100, 0x60(%r15)      # imm = 0x100
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
callq 0x39992
callq 0x3995b
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/aligned_segments_pile.c
// Function: gt_aligned_segments_pile_disable_segment_deletion
void gt_aligned_segments_pile_disable_segment_deletion(
    GtAlignedSegmentsPile *asp)
{
  gt_assert(asp != NULL);
  gt_assert(asp->process_skipped != NULL);
  gt_assert(asp->process_complete != NULL);
  gt_assert(asp->process_unmapped != NULL);
  asp->delete_processed_segments = false;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x1209c3
cmpq $0x0, 0x48(%rdi)
je 0x1209c8
cmpq $0x0, 0x28(%rdi)
je 0x1209cd
cmpq $0x0, 0x38(%rdi)
je 0x1209d2
movb $0x0, 0x61(%rdi)
popq %rax
retq
callq 0x39b19
callq 0x39ae0
callq 0x39aa7
callq 0x39a6e
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/aligned_segments_pile.c
// Function: gt_aligned_segments_pile_move_over_position
void gt_aligned_segments_pile_move_over_position(
    GtAlignedSegmentsPile *asp, GtUword position)
{
  int retvalue;
  if (asp->position != GT_UNDEF_UWORD)
  {
    gt_assert(position > asp->position);
    gt_aligned_segments_pile_delete_finishing_before(asp, position);
  }
  while (true)
  {
    if (asp->next_as == NULL && !asp->all_consumed)
    {
      retvalue = gt_aligned_segments_pile_fetch_sa(asp);
      if (retvalue == -1)
      {
        asp->all_consumed = true;
        gt_assert(asp->next_as == NULL);
      }
    }
    if (asp->next_as != NULL)
    {
      if (gt_aligned_segment_refregion_endpos(asp->next_as) < position)
      {
        if (asp->process_skipped != NULL)
        {
          asp->process_skipped(asp->next_as, asp->process_unmapped_data);
        }
        if (asp->delete_processed_segments)
          gt_aligned_segment_delete(asp->next_as);
        asp->next_as = NULL;
      }
      else
      {
        if (gt_aligned_segment_refregion_startpos(asp->next_as) <= position)
        {
          gt_dlist_add(asp->set, asp->next_as);
          asp->next_as = NULL;
        }
        else
        {
          break;
        }
      }
    }
    else
    {
      break;
    }
  }
  asp->position = position;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x58(%rdi), %rax
cmpq $-0x1, %rax
je 0x120a23
cmpq %rbx, %rax
jae 0x120ab5
movq %r14, %rdi
movq %rbx, %rsi
callq 0x120abf
movq 0x18(%r14), %rdi
testq %rdi, %rdi
jne 0x120a49
cmpb $0x0, 0x20(%r14)
jne 0x120aa9
movq %r14, %rdi
callq 0x120b59
movq 0x18(%r14), %rdi
cmpl $-0x1, %eax
je 0x120a9f
testq %rdi, %rdi
je 0x120aa9
callq 0x2fa7fa
cmpq %rbx, %rax
jae 0x120a78
movq 0x48(%r14), %rax
testq %rax, %rax
je 0x120a66
movq 0x18(%r14), %rdi
movq 0x40(%r14), %rsi
callq *%rax
cmpb $0x1, 0x61(%r14)
jne 0x120a93
movq 0x18(%r14), %rdi
callq 0x2faa54
jmp 0x120a93
movq 0x18(%r14), %rdi
callq 0x2fa7ea
cmpq %rbx, %rax
ja 0x120aa9
movq 0x10(%r14), %rdi
movq 0x18(%r14), %rsi
callq 0xe5c3d
movq $0x0, 0x18(%r14)
xorl %edi, %edi
jmp 0x120a27
movb $0x1, 0x20(%r14)
testq %rdi, %rdi
jne 0x120aba
movq %rbx, 0x58(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x39bc4
callq 0x39bfd
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/aligned_segments_pile.c
// Function: gt_aligned_segments_pile_delete_finishing_before
static void gt_aligned_segments_pile_delete_finishing_before(
    GtAlignedSegmentsPile *asp, GtUword position)
{
  GtDlistelem *dlistelem, *dlistelem_to_remove = NULL;
  for (dlistelem = gt_dlist_first(asp->set); dlistelem != NULL;
       dlistelem = gt_dlistelem_next(dlistelem))
  {
    GtAlignedSegment *as;
    if (dlistelem_to_remove != NULL)
    {
      gt_dlist_remove(asp->set, dlistelem_to_remove);
      dlistelem_to_remove = NULL;
    }
    as = gt_dlistelem_get_data(dlistelem);
    if (gt_aligned_segment_refregion_endpos(as) < position)
    {
      if (asp->process_complete != NULL)
      {
        asp->process_complete(as, asp->process_complete_data);
      }
      if (asp->delete_processed_segments)
        gt_aligned_segment_delete(as);
      /* delay elem removal to avoid disrupting list traversal */
      dlistelem_to_remove = dlistelem;
    }
    else
    {
      break;
    }
  }
  if (dlistelem_to_remove != NULL)
  {
    gt_dlist_remove(asp->set, dlistelem_to_remove);
    dlistelem_to_remove = NULL;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0xe5b94
testq %rax, %rax
je 0x120b4d
xorl %esi, %esi
movq %rax, %r15
testq %rsi, %rsi
je 0x120aee
movq 0x10(%rbx), %rdi
callq 0xe5d89
movq %r15, %rdi
callq 0xe5c10
movq %rax, %r12
movq %rax, %rdi
callq 0x2fa7fa
cmpq %r14, %rax
jae 0x120b4d
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x120b18
movq 0x30(%rbx), %rsi
movq %r12, %rdi
callq *%rax
cmpb $0x1, 0x61(%rbx)
jne 0x120b26
movq %r12, %rdi
callq 0x2faa54
movq %r15, %rdi
callq 0xe5c20
movq %r15, %rsi
testq %rax, %rax
jne 0x120add
movq 0x10(%rbx), %rdi
movq %r15, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xe5d89
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/aligned_segments_pile.c
// Function: gt_aligned_segments_pile_fetch_sa
static int gt_aligned_segments_pile_fetch_sa(GtAlignedSegmentsPile *asp)
{
  int retvalue;
  GtSamAlignment *sa;
  gt_assert(asp != NULL);
  gt_assert(asp->next_as == NULL);
  while (true)
  {
    retvalue = gt_samfile_iterator_next(asp->sfi, &sa);
    if (retvalue == -1 || !gt_sam_alignment_is_unmapped(sa))
      break;
    if (!gt_sam_alignment_is_secondary(sa))
    {
      if (asp->process_unmapped != NULL)
      {
        GtAlignedSegment *as = gt_aligned_segment_new_from_sa(sa, asp->sem);
        if (asp->enable_edit_tracking)
          gt_aligned_segment_enable_edit_tracking(as);
        asp->process_unmapped(as, asp->process_unmapped_data);
        if (asp->delete_processed_segments)
          gt_aligned_segment_delete(as);
      }
    }
  }
  if (retvalue != -1)
  {
    asp->next_as = gt_aligned_segment_new_from_sa(sa, asp->sem);
    if (asp->enable_edit_tracking)
      gt_aligned_segment_enable_edit_tracking(asp->next_as);
  }
  return retvalue;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x120c41
movq %rdi, %rbx
cmpq $0x0, 0x18(%rdi)
jne 0x120c46
movq (%rbx), %rdi
movq %rsp, %rsi
callq 0x170b0e
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $-0x1, %eax
je 0x120c34
movl %eax, %r14d
movq (%rsp), %rdi
callq 0x1704f4
testb %al, %al
je 0x120c12
movq %rsp, %r14
movq (%rsp), %rdi
callq 0x17057c
testb %al, %al
jne 0x120bed
cmpq $0x0, 0x38(%rbx)
je 0x120bed
movq (%rsp), %rdi
movq 0x8(%rbx), %rsi
callq 0x2fa2e8
movq %rax, %r15
cmpb $0x1, 0x60(%rbx)
jne 0x120bd5
movq %r15, %rdi
callq 0x2fa742
movq 0x40(%rbx), %rsi
movq %r15, %rdi
callq *0x38(%rbx)
cmpb $0x1, 0x61(%rbx)
jne 0x120bed
movq %r15, %rdi
callq 0x2faa54
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x170b0e
cmpl $-0x1, %eax
je 0x120c34
movl %eax, %r15d
movq (%rsp), %rdi
callq 0x1704f4
testb %al, %al
jne 0x120ba3
movl %r15d, %ebp
jmp 0x120c15
movl %r14d, %ebp
movq (%rsp), %rdi
movq 0x8(%rbx), %rsi
callq 0x2fa2e8
movq %rax, 0x18(%rbx)
cmpb $0x1, 0x60(%rbx)
jne 0x120c34
movq %rax, %rdi
callq 0x2fa742
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x39c6d
callq 0x39c36
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/aligned_segments_pile.c
// Function: gt_aligned_segments_pile_flush
void gt_aligned_segments_pile_flush(GtAlignedSegmentsPile *asp,
    bool skip_remaining)
{
  gt_assert(asp != NULL);
  gt_aligned_segments_pile_delete_finishing_before(asp, ULONG_MAX);
  if (asp->next_as != NULL)
  {
    if (skip_remaining && asp->process_skipped != NULL)
    {
      asp->process_skipped(asp->next_as, asp->process_skipped_data);
    }
    if (asp->delete_processed_segments)
      gt_aligned_segment_delete(asp->next_as);
    asp->next_as = NULL;
  }
  if (skip_remaining && asp->process_skipped != NULL)
  {
    int retvalue = 0;
    while (retvalue != -1)
    {
      retvalue = gt_aligned_segments_pile_fetch_sa(asp);
      if (asp->next_as != NULL)
      {
        asp->process_skipped(asp->next_as, asp->process_skipped_data);
      }
      if (asp->delete_processed_segments)
        gt_aligned_segment_delete(asp->next_as);
      asp->next_as = NULL;
    }
  }
  gt_assert(asp->next_as == NULL);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x120cf5
movl %esi, %ebp
movq %rdi, %rbx
movq $-0x1, %rsi
callq 0x120abf
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x120cac
testb %bpl, %bpl
je 0x120c95
movq 0x48(%rbx), %rax
testq %rax, %rax
je 0x120c95
movq 0x50(%rbx), %rsi
callq *%rax
cmpb $0x1, 0x61(%rbx)
jne 0x120ca4
movq 0x18(%rbx), %rdi
callq 0x2faa54
movq $0x0, 0x18(%rbx)
testb %bpl, %bpl
je 0x120cee
cmpq $0x0, 0x48(%rbx)
je 0x120cee
movq %rbx, %rdi
callq 0x120b59
movl %eax, %ebp
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x120cd2
movq 0x50(%rbx), %rsi
callq *0x48(%rbx)
cmpb $0x1, 0x61(%rbx)
jne 0x120ce1
movq 0x18(%rbx), %rdi
callq 0x2faa54
movq $0x0, 0x18(%rbx)
cmpl $-0x1, %ebp
jne 0x120cb8
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x39cdd
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/aligned_segments_pile.c
// Function: gt_aligned_segments_pile_delete
void gt_aligned_segments_pile_delete(GtAlignedSegmentsPile *asp)
{
  if (asp != NULL)
  {
    gt_aligned_segments_pile_flush(asp, true);
    gt_dlist_delete(asp->set);
    gt_free(asp);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x120d2b
pushq %rbx
movq %rdi, %rbx
movl $0x1, %esi
callq 0x120c5b
movq 0x10(%rbx), %rdi
callq 0xe5e8d
leaq 0x253c6b(%rip), %rsi    # 0x374988
movq %rbx, %rdi
movl $0x123, %edx            # imm = 0x123
popq %rbx
jmp 0x1045eb
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_new
GtAlignment* gt_alignment_new(void)
{
  GtAlignment *alignment;
  alignment = gt_calloc((size_t) 1, sizeof (GtAlignment));
  alignment->aligned_range_u.start = 0;
  alignment->aligned_range_u.end = 0;
  alignment->aligned_range_v.start = 0;
  alignment->aligned_range_v.end = 0;
  alignment->eops = gt_multieoplist_new();
  alignment->u = alignment->v = NULL;
  alignment->alilen = alignment->ulen = alignment->vlen = 0;
  return alignment;
}

// Assembly:
pushq %rbx
leaq 0x253ecc(%rip), %rdx    # 0x374c00
movl $0x1, %edi
movl $0x50, %esi
movl $0x38, %ecx
callq 0x10436a
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
callq 0x161d3c
movq %rax, 0x30(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x38(%rbx)
movq $0x0, 0x48(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_new_with_seqs
GtAlignment* gt_alignment_new_with_seqs(const GtUchar *u, GtUword ulen,
                                        const GtUchar *v, GtUword vlen)
{
  GtAlignment *alignment;

  gt_assert(u != NULL && v != NULL);
  alignment = gt_alignment_new();
  gt_alignment_set_seqs(alignment, u, ulen, v, vlen);
  return alignment;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x120dfc
movq %rdx, %r14
testq %rdx, %rdx
je 0x120dfc
movq %rcx, %rbx
movq %rsi, %r15
movq %rdi, %r12
leaq 0x253e64(%rip), %rdx    # 0x374c00
movl $0x1, %edi
movl $0x50, %esi
movl $0x38, %ecx
callq 0x10436a
movq %rax, %r13
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
callq 0x161d3c
movq %rax, 0x30(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%r13)
movups %xmm0, 0x38(%r13)
movq $0x0, 0x48(%r13)
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movq %rbx, %r8
callq 0x120e01
movq %r13, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x39d16
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_set_seqs
void gt_alignment_set_seqs(GtAlignment *alignment, const GtUchar *u,
                           GtUword ulen, const GtUchar *v,
                           GtUword vlen)
{
  gt_assert(alignment != NULL && u != NULL && v != NULL);
  alignment->u = u;
  alignment->v = v;
  alignment->ulen = ulen;
  alignment->vlen = vlen;
  alignment->aligned_range_u.start = alignment->aligned_range_v.start = 0;
  alignment->aligned_range_u.end = ulen - 1;
  alignment->aligned_range_v.end = vlen - 1;
}

// Assembly:
testq %rdi, %rdi
je 0x120e38
testq %rsi, %rsi
je 0x120e38
testq %rcx, %rcx
je 0x120e38
movq %rsi, 0x20(%rdi)
movq %rcx, 0x28(%rdi)
movq %rdx, 0x38(%rdi)
movq %r8, 0x40(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movq %rax, (%rdi)
decq %rdx
movq %rdx, 0x8(%rdi)
decq %r8
movq %r8, 0x18(%rdi)
retq
pushq %rax
callq 0x39d4d
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_set_multieop_list
void gt_alignment_set_multieop_list(GtAlignment *alignment,
                                    GtMultieoplist *eoplist)
{
  gt_assert(alignment != NULL && eoplist != NULL);
  gt_multieoplist_delete(alignment->eops);
  alignment->eops = gt_multieoplist_ref(eoplist);
  alignment->alilen = gt_multieoplist_get_num_entries(eoplist);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x120e7b
movq %rsi, %r14
testq %rsi, %rsi
je 0x120e7b
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x161e59
movq %r14, %rdi
callq 0x161e52
movq %rax, 0x30(%rbx)
movq %r14, %rdi
callq 0x162109
movq %rax, 0x48(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x39d84
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_is_valid
static bool gt_alignment_is_valid(const GtAlignment *alignment)
{
  GtUword len;
  /* check ulen */
  len = gt_multieoplist_get_repdel_length(alignment->eops);
  if (len != alignment->ulen) {
    printf("ulen: " GT_WU ", repdel: " GT_WU "\n", alignment->ulen, len);
    return false;
  }
  /* check vlen */
  len = gt_multieoplist_get_repins_length(alignment->eops);
  if (len != alignment->vlen) {
    printf("vlen: " GT_WU ", repins: " GT_WU "\n", alignment->vlen, len);
    return false;
  }
  return true;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x162043
movq 0x38(%rbx), %rsi
cmpq %rsi, %rax
jne 0x121187
movq 0x30(%rbx), %rdi
callq 0x16208b
movq 0x40(%rbx), %rsi
movb $0x1, %bl
cmpq %rsi, %rax
je 0x12119a
leaq 0x253f02(%rip), %rdi    # 0x375087
jmp 0x12118e
leaq 0x253ee1(%rip), %rdi    # 0x37506f
xorl %ebx, %ebx
movq %rax, %rdx
xorl %eax, %eax
callq 0x17070
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_show_advance
static unsigned int gt_alignment_show_advance(unsigned int pos,
                                              unsigned int width,
                                              const GtUchar *topbuf,
                                              FILE *fp)
{
  gt_assert(width > 0);
  if (pos < width - 1)
  {
    return pos + 1;
  }
  gt_assert(pos == width - 1);
  fwrite(topbuf,sizeof *topbuf,3 * (width+1),fp);
  return 0;
}

// Assembly:
pushq %rax
testl %esi, %esi
je 0x121a58
leal -0x1(%rsi), %eax
cmpl %edi, %eax
jbe 0x121a3a
incl %edi
jmp 0x121a54
jne 0x121a5d
leal (%rsi,%rsi,2), %eax
addl $0x3, %eax
movl $0x1, %esi
movq %rdx, %rdi
movq %rax, %rdx
callq 0x17fa0
xorl %edi, %edi
movl %edi, %eax
popq %rcx
retq
callq 0x3a25e
callq 0x3a225
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_exact_show
void gt_alignment_exact_show(GtUchar *buffer,
                             const GtAlignment *alignment,
                             FILE *fp,
                             unsigned int width,
                             const GtUchar *characters)
{
  GtUword idx;
  unsigned int pos = 0;
  GtUchar *topbuf = buffer, *midbuf = NULL, *lowbuf = NULL;

  if ((GtUword) width > alignment->ulen)
  {
    width = (unsigned int) alignment->ulen;
  }
  topbuf[width] = '\n';
  midbuf = topbuf + width + 1;
  for (idx = 0; idx < (GtUword) width; idx++)
  {
    midbuf[idx] = (GtUchar) MATCHSYMBOL;
  }
  midbuf[width] = '\n';
  lowbuf = midbuf + width + 1;
  lowbuf[width] = '\n';
  for (idx = 0; idx < alignment->ulen; idx++)
  {
    if (characters != NULL)
    {
      lowbuf[pos] = topbuf[pos] = characters[alignment->u[idx]];
    } else
    {
      lowbuf[pos] = topbuf[pos] = alignment->u[idx];
    }
    pos = gt_alignment_show_advance(pos,width,topbuf,fp);
  }
  if (pos > 0)
  {
    topbuf[pos] = '\n';
    fwrite(topbuf,sizeof *topbuf,pos+1,fp);
    midbuf[pos] = '\n';
    fwrite(midbuf,sizeof *midbuf,pos+1,fp);
    lowbuf[pos] = '\n';
    fwrite(lowbuf,sizeof *lowbuf,pos+1,fp);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r12
movq %rdx, 0x8(%rsp)
movq %rsi, %rbp
movl %ecx, %eax
movq 0x38(%rsi), %r14
cmpq %rax, %r14
cmovael %ecx, %r14d
movq %rdi, %r15
leaq (%rdi,%r14), %rbx
incq %rbx
movb $0xa, -0x1(%rbx)
testl %r14d, %r14d
je 0x121aab
movq %rbx, %rdi
movl $0x7c, %esi
movq %r14, %rdx
callq 0x173a0
leaq (%rbx,%r14), %rax
movb $0xa, %cl
movb %cl, (%rbx,%r14)
movb %cl, 0x1(%r14,%rax)
cmpq $0x0, 0x38(%rbp)
je 0x121b82
movq %rbx, 0x10(%rsp)
leaq (%rbx,%r14), %rax
incq %rax
movq %rax, (%rsp)
xorl %ebx, %ebx
xorl %r13d, %r13d
movq 0x20(%rbp), %rax
movb (%rax,%r13), %al
testq %r12, %r12
je 0x121aee
movzbl %al, %eax
movb (%r12,%rax), %al
movl %ebx, %ecx
movb %al, (%r15,%rcx)
movq (%rsp), %rdx
movb %al, (%rdx,%rcx)
movl %ebx, %edi
movl %r14d, %esi
movq %r15, %rdx
movq 0x8(%rsp), %rcx
callq 0x121a2a
movl %eax, %ebx
incq %r13
cmpq 0x38(%rbp), %r13
jb 0x121ada
testl %ebx, %ebx
movq 0x10(%rsp), %r12
je 0x121b82
movl %ebx, %r14d
movb $0xa, %bpl
movb %bpl, (%r15,%r14)
incl %ebx
movl $0x1, %esi
movq %r15, %rdi
movq %rbx, %rdx
movq 0x8(%rsp), %r15
movq %r15, %rcx
callq 0x17fa0
movb %bpl, (%r12,%r14)
movl $0x1, %esi
movq %r12, %rdi
movq %rbx, %rdx
movq %r15, %rcx
callq 0x17fa0
movq (%rsp), %rdi
movb %bpl, (%rdi,%r14)
movl $0x1, %esi
movq %rbx, %rdx
movq %r15, %rcx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x17fa0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_show_with_mapped_chars
void gt_alignment_show_with_mapped_chars(const GtAlignment *alignment,
                                         const GtUchar *characters,
                                         GtUchar wildcardshow,
                                         FILE *fp,
                                         unsigned int width)
{
  GtUchar *buffer = gt_alignment_buffer_new(width);

  gt_assert(characters != NULL);
  gt_alignment_show_generic(buffer,false,alignment, fp, width, characters,
                            wildcardshow);
  gt_alignment_buffer_delete(buffer);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebx
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r12
movl %r8d, %eax
leaq 0x3(%rax,%rax,2), %rdi
leaq 0x252e33(%rip), %rdx    # 0x374c00
movl $0x1, %esi
movl $0x2b4, %ecx            # imm = 0x2B4
callq 0x10436a
testq %r14, %r14
je 0x121e23
movq %rax, %r13
movzbl %bpl, %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r15, %rcx
movl %ebx, %r8d
movq %r14, %r9
callq 0x121670
leaq 0x252df8(%rip), %rsi    # 0x374c00
movq %r13, %rdi
movl $0x2ba, %edx            # imm = 0x2BA
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1045eb
callq 0x3a2f7
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_clone
void gt_alignment_clone(const GtAlignment *alignment_from,
                        GtAlignment *alignment_to)
{
  gt_assert(alignment_from != NULL && alignment_to != NULL);

  alignment_to->u = alignment_from->u;
  alignment_to->v = alignment_from->v;
  alignment_to->ulen = alignment_from->ulen;
  alignment_to->vlen = alignment_from->vlen;
  alignment_to->aligned_range_u = alignment_from->aligned_range_u;
  alignment_to->aligned_range_v = alignment_from->aligned_range_v;
  gt_multieoplist_clone(alignment_to->eops,alignment_from->eops);
  alignment_to->alilen = alignment_from->alilen;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x121eb3
movq %rsi, %rbx
testq %rsi, %rsi
je 0x121eb3
movq %rdi, %r14
movups 0x20(%rdi), %xmm0
movups %xmm0, 0x20(%rbx)
movups 0x38(%rdi), %xmm0
movups %xmm0, 0x38(%rbx)
movups (%rdi), %xmm0
movups %xmm0, (%rbx)
movups 0x10(%rdi), %xmm0
movups %xmm0, 0x10(%rbx)
movq 0x30(%rbx), %rdi
movq 0x30(%r14), %rsi
callq 0x161db3
movq 0x48(%r14), %rax
movq %rax, 0x48(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3a369
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/alignment.c
// Function: gt_alignment_unit_test
int gt_alignment_unit_test(GtError *err)
{
  static char u[] = "acgtagatatatagat",
              v[] = "agaaagaggtaagaggga";
  GtAlignment *alignment;
  int had_err = 0;
  gt_error_check(err);

  /* construct the following alignment (backwards):

     acgtaga--tatata-gat
     |   |||  || | | |                  [R 7,I 2,R 2,D 1,R 3,I 1,R 3]
     agaaagaggta-agaggga
  */

  alignment = gt_alignment_new_with_seqs((const GtUchar *) u,
                                 (GtUword) strlen(u),
                                 (const GtUchar *) v,
                                 (GtUword) strlen(v));
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_insertion(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_deletion(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_insertion(alignment);
  gt_alignment_add_insertion(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);
  gt_alignment_add_replacement(alignment);

  gt_ensure(gt_alignment_eval(alignment) == 10UL);

  gt_alignment_delete(alignment);

  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
je 0x121ed8
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x122000
leaq 0x3981b1(%rip), %r14    # 0x4ba090
movq %r14, %rdi
callq 0x172f0
movq %rax, %r15
leaq 0x3981bf(%rip), %r12    # 0x4ba0b0
movq %r12, %rdi
callq 0x172f0
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0x120d76
movq %rax, %r14
movq %rax, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f67
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f4a
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f67
movq %r14, %rdi
callq 0x120f67
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
movq %r14, %rdi
callq 0x120f2d
xorl %ebp, %ebp
xorl %edi, %edi
movl $0x1, %esi
movq %r14, %rdx
callq 0x120fc2
cmpq $0xa, %rax
je 0x121fed
leaq 0x23c47b(%rip), %rsi    # 0x35e43e
leaq 0x253080(%rip), %rdx    # 0x37504a
leaq 0x253062(%rip), %rcx    # 0x375033
leaq 0x252c28(%rip), %r8     # 0x374c00
movq %rbx, %rdi
movl $0x363, %r9d            # imm = 0x363
xorl %eax, %eax
callq 0xfcb67
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq %r14, %rdi
callq 0x121e3c
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x3a3a2
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_anno_db_gfflike_class
const GtAnnoDBSchemaClass* gt_anno_db_gfflike_class()
{
  static const GtAnnoDBSchemaClass *adbsc = NULL;
  gt_class_alloc_lock_enter();
  if (!adbsc) {
    adbsc = gt_anno_db_schema_class_new(sizeof (GtAnnoDBGFFlike),
                                        anno_db_gfflike_free,
                                        anno_db_gfflike_build);
  }
  gt_class_alloc_lock_leave();
  return adbsc;
}

// Assembly:
pushq %rax
callq 0xe252f
cmpq $0x0, 0x39ba79(%rip)    # 0x4be698
jne 0x122c40
leaq -0x35(%rip), %rsi       # 0x122bf3
leaq 0x105d(%rip), %rdx      # 0x123c8c
movl $0x20, %edi
callq 0x125704
movq %rax, 0x39ba58(%rip)    # 0x4be698
callq 0xe2545
movq 0x39ba4c(%rip), %rax    # 0x4be698
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: feature_index_gfflike_class
const GtFeatureIndexClass* feature_index_gfflike_class(void)
{
  static const GtFeatureIndexClass *fic = NULL;
  if (!fic) {
    fic = gt_feature_index_class_new(sizeof (GtFeatureIndexGFFlike),
                                gt_feature_index_gfflike_add_region_node,
                                gt_feature_index_gfflike_add_feature_node,
                                gt_feature_index_gfflike_remove_node,
                                gt_feature_index_gfflike_get_features_for_seqid,
                                gt_feature_index_gfflike_get_features_for_range,
                                gt_feature_index_gfflike_get_first_seqid,
                                gt_feature_index_gfflike_save,
                                gt_feature_index_gfflike_get_seqids,
                                gt_feature_index_gfflike_get_range_for_seqid,
                                gt_feature_index_gfflike_get_range_for_seqid,
                                gt_feature_index_gfflike_has_seqid,
                                gt_feature_index_gfflike_delete);
  }
  return fic;
}

// Assembly:
movq 0x39b981(%rip), %rax    # 0x4be6a0
testq %rax, %rax
je 0x122d25
retq
pushq %r15
pushq %r14
pushq %rbx
subq $0x8, %rsp
leaq 0xe7f(%rip), %rax       # 0x123bb4
leaq 0xd94(%rip), %r10       # 0x123ad0
leaq 0xc70(%rip), %r11       # 0x1239b3
leaq 0xba4(%rip), %rbx       # 0x1238ee
leaq 0x225d(%rip), %r14      # 0x124fae
leaq 0xa97(%rip), %r15       # 0x1237ef
leaq -0x111(%rip), %rsi      # 0x122c4e
leaq 0x3c(%rip), %rdx        # 0x122da2
leaq 0x171(%rip), %rcx       # 0x122ede
leaq 0x1eb(%rip), %r8        # 0x122f5f
leaq 0x8bf(%rip), %r9        # 0x12363a
movl $0x180, %edi            # imm = 0x180
pushq %rax
pushq %r10
pushq %r11
pushq %r11
pushq %rbx
pushq %r14
pushq %r15
callq 0x140604
addq $0x40, %rsp
movq %rax, 0x39b904(%rip)    # 0x4be6a0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_add_feature_node
int gt_feature_index_gfflike_add_feature_node(GtFeatureIndex *gfi,
                                              GtFeatureNode *gf,
                                              GtError *err)
{
  GtFeatureIndexGFFlike *fi;
  int had_err = 0;
  gt_assert(gfi && gf);

  fi = feature_index_gfflike_cast(gfi);
  had_err = insert_feature_node(fi,
                                (GtFeatureNode*)
                                         gt_genome_node_ref((GtGenomeNode*) gf),
                                err);
  if (!had_err)
    gt_hashmap_add(fi->ref_nodes, gf, (void*) 1);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x122ed9
movq %rsi, %rbx
testq %rsi, %rsi
je 0x122ed9
movq %rdx, %r15
movq %rdi, %r14
callq 0x122d18
movq %rax, %rdi
movq %r14, %rsi
callq 0x140d70
movq %rax, %r14
movq %rbx, %rdi
callq 0x1443a0
movq %rax, %r12
movq 0x10(%r14), %rdi
callq 0x100c1d
movq 0x10(%r14), %rsi
leaq 0x19d1(%rip), %rdx      # 0x1247cb
movq %r12, %rdi
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x142d9d
movq %r12, %rdi
callq 0x142b68
testb %al, %al
je 0x122e3a
movq %rsp, %rsi
movq %r14, %rdi
movq %r12, %rdx
movq %r15, %rcx
callq 0x12489a
movl %eax, %ebp
movq %r12, %rdi
callq 0x143f54
movq %rax, %r12
testl %ebp, %ebp
jne 0x122e7c
jmp 0x122e45
movq %r12, %rdi
callq 0x143f54
movq %rax, %r12
movq %rsp, %r13
movq %r12, %rdi
callq 0x1440ea
testq %rax, %rax
je 0x122e86
movq %rax, %rbp
movq 0x160(%r14), %rsi
movq %rax, %rdi
callq 0x142051
movq %r14, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %r15, %rcx
callq 0x12489a
testl %eax, %eax
je 0x122e48
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
xorl %r15d, %r15d
jmp 0x122ea1
movq 0x10(%r14), %rdi
leaq 0x1e6c(%rip), %rsi      # 0x124cfd
movq %r14, %rdx
movq %r15, %rcx
callq 0x100bc9
xorl %ebp, %ebp
movb $0x1, %r15b
movq %r12, %rdi
callq 0x14417c
movq 0x10(%r14), %rdi
callq 0x100c1d
testb %r15b, %r15b
je 0x122ec8
movq 0x30(%r14), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x100b18
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3a486
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_remove_node
int gt_feature_index_gfflike_remove_node(GtFeatureIndex *gfi,
                                         GtFeatureNode *gf,
                                         GT_UNUSED GtError *err)
{
  GtFeatureIndexGFFlike *fi;
  int had_err = 0;
  gt_assert(gfi && gf);

  fi = feature_index_gfflike_cast(gfi);
  if (gt_hashmap_get(fi->added, gf)) {
    gt_hashmap_remove(fi->added, gf);
  }
  if (gt_hashmap_get(fi->changed, gf)) {
    gt_hashmap_remove(fi->changed, gf);
  }
  gt_hashmap_add(fi->deleted, gf, (void*) 1);

  return had_err;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x122f5a
movq %rsi, %rbx
testq %rsi, %rsi
je 0x122f5a
movq %rdi, %r14
callq 0x122d18
movq %rax, %rdi
movq %r14, %rsi
callq 0x140d70
movq %rax, %r14
movq 0x38(%rax), %rdi
movq %rbx, %rsi
callq 0x100add
testq %rax, %rax
je 0x122f22
movq 0x38(%r14), %rdi
movq %rbx, %rsi
callq 0x100b56
movq 0x48(%r14), %rdi
movq %rbx, %rsi
callq 0x100add
testq %rax, %rax
je 0x122f3f
movq 0x48(%r14), %rdi
movq %rbx, %rsi
callq 0x100b56
movq 0x40(%r14), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x100b18
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3a4bf
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_get_features_for_seqid
GtArray* gt_feature_index_gfflike_get_features_for_seqid(GtFeatureIndex *gfi,
                                                         const char *seqid,
                                                         GtError *err)
{
  GtArray *a;
  GtFeatureIndexGFFlike *fi;
  GtRDBStmt *stmt;
  gt_assert(gfi && seqid);
  gt_error_check(err);
  fi = feature_index_gfflike_cast(gfi);
  stmt = fi->stmts[GT_PSTMT_GET_BY_SEQID_SELECT];
  a = gt_array_new(sizeof (GtFeatureNode*));
  gt_rdb_stmt_reset(stmt, err);
  gt_rdb_stmt_bind_string(stmt, 0, seqid, err);
  get_nodes_for_stmt(fi, a, stmt, err);
  return a;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x122fec
movq %rsi, %r14
testq %rsi, %rsi
je 0x122fec
movq %rdx, %rbx
movq %rdi, %r15
testq %rdx, %rdx
je 0x122f8c
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x122ff1
callq 0x122d18
movq %rax, %rdi
movq %r15, %rsi
callq 0x140d70
movq %rax, %r15
movq 0xf0(%rax), %r12
movl $0x8, %edi
callq 0xd214c
movq %rax, %r13
movq %r12, %rdi
movq %rbx, %rsi
callq 0x16bf19
movq %r12, %rdi
xorl %esi, %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x16bf7c
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x122ff6
movq %r13, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x3a4f8
callq 0x3a531
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_get_features_for_range
int gt_feature_index_gfflike_get_features_for_range(GtFeatureIndex *gfi,
                                                    GtArray *results,
                                                    const char *seqid,
                                                    const GtRange *qry_range,
                                                    GtError *err)
{
  GtFeatureIndexGFFlike *fi;
  int retval;
  gt_error_check(err);
  GtRDBStmt *stmt;
  gt_assert(gfi && results);
  gt_error_check(err);
  fi = feature_index_gfflike_cast(gfi);
  stmt = fi->stmts[GT_PSTMT_GET_RANGE_SELECT];
  gt_mutex_lock(fi->dblock);
  gt_rdb_stmt_reset(stmt, err);
  gt_rdb_stmt_bind_string(stmt, 0, seqid, err);
  gt_rdb_stmt_bind_ulong(stmt, 1, qry_range->end, err);
  gt_rdb_stmt_bind_ulong(stmt, 2, qry_range->start, err);
  retval = get_nodes_for_stmt(fi, results, stmt, err);
  gt_mutex_unlock(fi->dblock);
  return retval;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r13
testq %r8, %r8
je 0x12368c
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x123739
testq %r13, %r13
je 0x123734
testq %r14, %r14
je 0x123734
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
je 0x12369e
callq 0x3a64e
testq %r13, %r13
je 0x123734
testq %r14, %r14
je 0x123734
callq 0x122d18
movq %rax, %rdi
movq %r13, %rsi
callq 0x140d70
movq %rax, %r13
movq 0xc8(%rax), %rbp
movq 0x170(%rax), %rdi
callq 0x11c907
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x16bf19
movq %rbp, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x16bf7c
movq 0x8(%r15), %rdx
movl $0x1, %esi
movq %rbp, %rdi
movq %rbx, %rcx
callq 0x16bf5b
movq (%r15), %rdx
movl $0x2, %esi
movq %rbp, %rdi
movq %rbx, %rcx
callq 0x16bf5b
movq %r13, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x122ff6
movq 0x170(%r13), %rdi
callq 0x11c922
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3a6c0
callq 0x3a687
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_get_all_features
int gt_feature_index_gfflike_get_all_features(GtFeatureIndex *gfi,
                                              GtArray *results,
                                              GtError *err)
{
  GtFeatureIndexGFFlike *fi;
  int retval;
  gt_error_check(err);
  GtRDBStmt *stmt;
  gt_assert(gfi && results);
  gt_error_check(err);
  fi = feature_index_gfflike_cast(gfi);
  stmt = fi->stmts[GT_PSTMT_GET_ALL];
  gt_mutex_lock(fi->dblock);
  gt_rdb_stmt_reset(stmt, err);
  retval = get_nodes_for_stmt(fi, results, stmt, err);
  gt_mutex_unlock(fi->dblock);
  return retval;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je 0x12377f
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1237ea
testq %r15, %r15
je 0x1237e5
testq %r14, %r14
je 0x1237e5
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
je 0x123789
callq 0x3a6f9
testq %r15, %r15
je 0x1237e5
testq %r14, %r14
je 0x1237e5
callq 0x122d18
movq %rax, %rdi
movq %r15, %rsi
callq 0x140d70
movq %rax, %r15
movq 0xc0(%rax), %r12
movq 0x170(%rax), %rdi
callq 0x11c907
movq %r12, %rdi
movq %rbx, %rsi
callq 0x16bf19
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x122ff6
movq 0x170(%r15), %rdi
callq 0x11c922
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x3a76b
callq 0x3a732
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_get_first_seqid
char* gt_feature_index_gfflike_get_first_seqid(const GtFeatureIndex *gfi,
                                               GtError *err)
{
  GtFeatureIndexGFFlike *fi;
  char *firstseqid = NULL;
  int rval, had_err = 0;
  GtStr *result;
  GtRDBStmt *stmt;
  gt_assert(gfi);
  gt_error_check(err);
  fi = feature_index_gfflike_cast((GtFeatureIndex*) gfi);
  stmt = fi->stmts[GT_PSTMT_GET_FIRST_SEQID_SELECT];
  gt_mutex_lock(fi->dblock);
  gt_rdb_stmt_reset(stmt, err);
  rval = gt_rdb_stmt_exec(stmt, err);
  result = gt_str_new();
  switch (rval) {
    case 0:
      gt_rdb_stmt_get_string(stmt, 0, result, err);
      firstseqid = gt_cstr_dup(gt_str_get(result));
      gt_assert(gt_rdb_stmt_exec(stmt, err) == 1);
      break;
    case 1:
      gt_error_set(err, "no sequence regions in index");
      had_err = -1;
      break;
    default:
      /* error is set */
      had_err = -1;
      break;
  }
  gt_str_delete(result);
  gt_mutex_unlock(fi->dblock);
  return (had_err ? NULL : firstseqid);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1238e4
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
je 0x12381e
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1238e9
callq 0x122d18
movq %rax, %rdi
movq %rbx, %rsi
callq 0x140d70
movq %rax, %rbx
movq 0x100(%rax), %r12
movq 0x170(%rax), %rdi
callq 0x11c907
movq %r12, %rdi
movq %r14, %rsi
callq 0x16bf19
movq %r12, %rdi
movq %r14, %rsi
callq 0x16bfbe
movl %eax, %ebp
callq 0x11ac6c
movq %rax, %r15
cmpl $0x1, %ebp
je 0x1238a5
testl %ebp, %ebp
jne 0x1238bb
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r14, %rcx
callq 0x16c066
movq %r15, %rdi
callq 0x11b0a1
movq %rax, %rdi
callq 0xe4290
movq %rax, %r13
movq %r12, %rdi
movq %r14, %rsi
callq 0x16bfbe
cmpl $0x1, %eax
je 0x1238be
callq 0x3a7dd
leaq 0x251b78(%rip), %rsi    # 0x375424
xorl %r13d, %r13d
movq %r14, %rdi
xorl %eax, %eax
callq 0xfcb67
jmp 0x1238be
xorl %r13d, %r13d
movq %r15, %rdi
callq 0x11bdbf
movq 0x170(%rbx), %rdi
callq 0x11c922
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3a816
callq 0x3a7a4
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_get_seqids
GtStrArray* gt_feature_index_gfflike_get_seqids(const GtFeatureIndex *gfi,
                                                GtError *err)
{
  GtStrArray* seqids;
  GtFeatureIndexGFFlike *fi;
  GtRDBStmt *stmt;
  int rval;
  gt_assert(gfi);
  gt_error_check(err);
  fi = feature_index_gfflike_cast((GtFeatureIndex*) gfi);
  seqids = gt_str_array_new();
  gt_mutex_lock(fi->dblock);
  stmt = fi->stmts[GT_PSTMT_GET_SEQIDS_SELECT];
  gt_rdb_stmt_reset(stmt, err);
  while ((rval = gt_rdb_stmt_exec(stmt, err)) == 0) {
    GtStr *seqid = gt_str_new();
    gt_rdb_stmt_get_string(stmt, 0, seqid, err);
    gt_str_array_add(seqids, seqid);
    gt_str_delete(seqid);
  }
  gt_mutex_unlock(fi->dblock);
  return seqids;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x1239a9
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0x12391b
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1239ae
callq 0x122d18
movq %rax, %rdi
movq %r14, %rsi
callq 0x140d70
movq %rax, %r14
callq 0x11be10
movq %rax, %r15
movq 0x170(%r14), %rdi
callq 0x11c907
movq 0xe8(%r14), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x16bf19
movq %r12, %rdi
movq %rbx, %rsi
callq 0x16bfbe
testl %eax, %eax
jne 0x123990
callq 0x11ac6c
movq %rax, %r13
movq %r12, %rdi
xorl %esi, %esi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x16c066
movq %r15, %rdi
movq %r13, %rsi
callq 0x11bf79
movq %r13, %rdi
callq 0x11bdbf
jmp 0x123954
movq 0x170(%r14), %rdi
callq 0x11c922
movq %r15, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x3a888
callq 0x3a84f