LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/toolbox.c
// Function: gt_toolbox_add_tool
void gt_toolbox_add_tool(GtToolbox *tb, const char *toolname, GtTool *tool)
{
  GtToolinfo *toolinfo;
  gt_assert(tb && tb->tools);
  toolinfo = gt_toolinfo_new();
  toolinfo->tool= tool;
  gt_hashmap_add(tb->tools, (char*) toolname, toolinfo);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x123999
movq %rdi, %r15
cmpq $0x0, (%rdi)
je 0x123999
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x257fe0(%rip), %rdx    # 0x37b94f
movl $0x1, %edi
movl $0x18, %esi
movl $0x26, %ecx
callq 0x1093ef
movq %r14, (%rax)
movq (%r15), %rdi
movq %rbx, %rsi
movq %rax, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x105a4c
callq 0x38fba
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/toolbox.c
// Function: gt_toolbox_add_hidden_tool
void gt_toolbox_add_hidden_tool(GtToolbox *tb, const char *toolname,
                                GtTool *tool)
{
  GtToolinfo *toolinfo;
  gt_assert(tb && tb->tools);
  toolinfo = gt_toolinfo_new();
  toolinfo->tool= tool;
  toolinfo->hidden = true;
  gt_hashmap_add(tb->tools, (char*) toolname, toolinfo);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x1239ec
movq %rdi, %r14
cmpq $0x0, (%rdi)
je 0x1239ec
movq %rdx, %r15
movq %rsi, %rbx
leaq 0x257f91(%rip), %rdx    # 0x37b94f
movl $0x1, %edi
movl $0x18, %esi
movl $0x26, %ecx
callq 0x1093ef
movq %r15, (%rax)
movb $0x1, 0x10(%rax)
movq (%r14), %rdi
movq %rbx, %rsi
movq %rax, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x105a4c
callq 0x38ff1
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/toolbox.c
// Function: gt_toolbox_get_tool
GtTool* gt_toolbox_get_tool(GtToolbox *tb, const char *toolname)
{
  GtToolinfo *toolinfo;
  gt_assert(tb && tb->tools);
  toolinfo = gt_hashmap_get(tb->tools, toolname);
  if (toolinfo)
    return toolinfo->tool;
  return NULL;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x123a12
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x123a12
callq 0x105a11
testq %rax, %rax
je 0x123a0e
movq (%rax), %rax
jmp 0x123a10
xorl %eax, %eax
popq %rcx
retq
callq 0x39028
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/toolbox.c
// Function: gt_toolbox_add
void gt_toolbox_add(GtToolbox *tb, const char *toolname, GtToolfunc toolfunc)
{
  GtToolinfo *toolinfo;
  gt_assert(tb && tb->tools);
  toolinfo = gt_toolinfo_new();
  toolinfo->toolfunc = toolfunc;
  gt_hashmap_add(tb->tools, (char*) toolname, toolinfo);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x123a82
movq %rdi, %r15
cmpq $0x0, (%rdi)
je 0x123a82
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x257ef8(%rip), %rdx    # 0x37b94f
movl $0x1, %edi
movl $0x18, %esi
movl $0x26, %ecx
callq 0x1093ef
movq %r14, 0x8(%rax)
movq (%r15), %rdi
movq %rbx, %rsi
movq %rax, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x105a4c
callq 0x39096
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/toolbox.c
// Function: gt_toolbox_get
GtToolfunc gt_toolbox_get(const GtToolbox *tb, const char *toolname)
{
  GtToolinfo *toolinfo;
  gt_assert(tb && tb->tools);
  toolinfo = gt_hashmap_get(tb->tools, toolname);
  if (toolinfo)
    return toolinfo->toolfunc;
  return NULL;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x123aa9
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x123aa9
callq 0x105a11
testq %rax, %rax
je 0x123aa5
movq 0x8(%rax), %rax
jmp 0x123aa7
xorl %eax, %eax
popq %rcx
retq
callq 0x390cd
// File: /workspace/github_c_makefile_star2_O1/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 0x123ac3
movq %rdx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x123af9
testq %rbx, %rbx
je 0x123aef
leaq 0x257f92(%rip), %rdi    # 0x37ba61
callq 0x17bd0
movq (%rbx), %rdi
leaq 0x20(%rip), %rsi        # 0x123afe
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x105b27
testl %eax, %eax
jne 0x123af4
xorl %eax, %eax
popq %rbx
retq
callq 0x39176
callq 0x3913d
callq 0x39104
// File: /workspace/github_c_makefile_star2_O1/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 0x123b19
movq %rcx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x123b60
testq %rbx, %rbx
je 0x123b5b
testq %r14, %r14
je 0x123b5b
cmpb $0x0, 0x10(%r14)
jne 0x123b51
leaq 0x3a5a4f(%rip), %rax    # 0x4c9580
cmpb $0x1, (%rax)
jne 0x123b49
leaq 0x257ee7(%rip), %rdi    # 0x37ba24
movq %rbx, %rsi
xorl %eax, %eax
callq 0x17070
jmp 0x123b51
movq %rbx, %rdi
callq 0x1256fa
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x391e6
callq 0x391af
// File: /workspace/github_c_makefile_star2_O1/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 0x123b9c
testq %rsi, %rsi
je 0x123b9c
leaq 0x8(%rsp), %rax
movq %rsi, (%rax)
movq %rdx, 0x8(%rax)
movq (%rdi), %rdi
leaq 0x1d(%rip), %rsi        # 0x123ba6
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x105b27
testl %eax, %eax
jne 0x123ba1
addq $0x18, %rsp
retq
callq 0x3921d
callq 0x39256
// File: /workspace/github_c_makefile_star2_O1/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 0x123bc5
movq %rcx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x123c0d
testq %rbx, %rbx
je 0x123c08
testq %r15, %r15
je 0x123c08
testq %r14, %r14
je 0x123c08
cmpb $0x0, 0x10(%r15)
jne 0x123c00
movq (%r15), %rsi
testq %rsi, %rsi
je 0x123bef
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq *(%r14)
jmp 0x123c00
leaq 0x257e36(%rip), %rdi    # 0x37ba2c
movq %rbx, %rsi
xorl %eax, %eax
callq 0x125448
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
callq 0x392c8
callq 0x3928f
// File: /workspace/github_c_makefile_star2_O1/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 0x125351
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x1253c2
testq %r12, %r12
je 0x1253bd
testq %r15, %r15
je 0x1253bd
testq %r14, %r14
je 0x1253bd
leaq 0x2aa515(%rip), %rdi    # 0x3cf87c
movq %r12, %rsi
xorl %eax, %eax
callq 0x17070
movq 0x39eb70(%rip), %r12    # 0x4c3ee8
movq (%r12), %rdi
callq 0x12553e
movq %rbx, %rdi
callq *%r15
testl %eax, %eax
jne 0x1253ae
leaq 0x250734(%rip), %rdi    # 0x375ac6
callq 0x1256fa
movq (%r12), %rdi
callq 0x12553e
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 0x39843
jmp 0x125397
callq 0x3980c
callq 0x397d5
nop
// File: /workspace/github_c_makefile_star2_O1/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 0x126728
movq %rsi, %rbx
testq %rsi, %rsi
je 0x12672d
movq %rdi, %r14
leaq 0x257540(%rip), %rsi    # 0x37dc08
movl $0x68, %edi
movl $0x38, %edx
callq 0x1092b2
movq %rax, %r15
movq %r14, (%rax)
movq %rbx, 0x8(%rax)
leaq -0x68(%rip), %rdi       # 0x126680
callq 0xea08c
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 0x3a32e
callq 0x3a2f7
// File: /workspace/github_c_makefile_star2_O1/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 0x12678f
cmpq $0x0, 0x48(%rdi)
je 0x126794
cmpq $0x0, 0x28(%rdi)
je 0x126799
cmpq $0x0, 0x38(%rdi)
je 0x12679e
movb $0x0, 0x61(%rdi)
popq %rax
retq
callq 0x3a4b5
callq 0x3a47c
callq 0x3a443
callq 0x3a40a
// File: /workspace/github_c_makefile_star2_O1/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 0x126843
cmpq %rbx, %rax
jae 0x126888
movq %r14, %rdi
movq %rbx, %rsi
callq 0x12688d
jmp 0x126843
callq 0x3044a2
cmpq %rbx, %rax
jae 0x126820
movq 0x48(%r14), %rax
testq %rax, %rax
je 0x12680e
movq 0x18(%r14), %rdi
movq 0x40(%r14), %rsi
callq *%rax
cmpb $0x1, 0x61(%r14)
jne 0x12683b
movq 0x18(%r14), %rdi
callq 0x3046fc
jmp 0x12683b
movq 0x18(%r14), %rdi
callq 0x304492
cmpq %rbx, %rax
ja 0x126877
movq 0x10(%r14), %rdi
movq 0x18(%r14), %rsi
callq 0xea1a1
movq $0x0, 0x18(%r14)
cmpq $0x0, 0x18(%r14)
jne 0x12686a
cmpb $0x0, 0x20(%r14)
jne 0x12686a
movq %r14, %rdi
callq 0x126951
cmpl $-0x1, %eax
jne 0x12686a
movb $0x1, 0x20(%r14)
cmpq $0x0, 0x18(%r14)
jne 0x126883
movq 0x18(%r14), %rdi
testq %rdi, %rdi
jne 0x1267f1
movq %rbx, 0x58(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3a599
callq 0x3a560
// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0xea0f8
testq %rax, %rax
je 0x126920
movq %rax, %r15
xorl %r12d, %r12d
testq %r12, %r12
je 0x1268c3
movq 0x10(%rbx), %rdi
movq %r12, %rsi
callq 0xea2ed
movq %r15, %rdi
callq 0xea174
movq %rax, %rbp
movq %rax, %rdi
callq 0x3044a2
movq %rax, %r13
cmpq %r14, %rax
jae 0x126906
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x1268f0
movq 0x30(%rbx), %rsi
movq %rbp, %rdi
callq *%rax
cmpb $0x1, 0x61(%rbx)
movq %r15, %r12
jne 0x126909
movq %rbp, %rdi
callq 0x3046fc
movq %r15, %r12
jmp 0x126909
xorl %r12d, %r12d
cmpq %r14, %r13
jae 0x126923
movq %r15, %rdi
callq 0xea184
movq %rax, %r15
testq %rax, %rax
jne 0x1268b2
jmp 0x126923
xorl %r12d, %r12d
testq %r12, %r12
je 0x126942
movq 0x10(%rbx), %rdi
movq %r12, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xea2ed
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x126a2a
movq %rdi, %rbx
cmpq $0x0, 0x18(%rdi)
jne 0x126a2f
movq (%rbx), %rdi
movq %rsp, %rsi
callq 0x178ebe
movl %eax, %ebp
cmpl $-0x1, %eax
je 0x126a1d
movq (%rsp), %rdi
callq 0x178892
testb %al, %al
je 0x1269fe
movq %rsp, %r14
movq (%rsp), %rdi
callq 0x17891a
testb %al, %al
jne 0x1269df
cmpq $0x0, 0x38(%rbx)
je 0x1269df
movq (%rsp), %rdi
movq 0x8(%rbx), %rsi
callq 0x303f90
movq %rax, %r15
cmpb $0x1, 0x60(%rbx)
jne 0x1269c7
movq %r15, %rdi
callq 0x3043ea
movq 0x40(%rbx), %rsi
movq %r15, %rdi
callq *0x38(%rbx)
cmpb $0x1, 0x61(%rbx)
jne 0x1269df
movq %r15, %rdi
callq 0x3046fc
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x178ebe
movl %eax, %ebp
cmpl $-0x1, %eax
je 0x126a1d
movq (%rsp), %rdi
callq 0x178892
testb %al, %al
jne 0x126995
movq (%rsp), %rdi
movq 0x8(%rbx), %rsi
callq 0x303f90
movq %rax, 0x18(%rbx)
cmpb $0x1, 0x60(%rbx)
jne 0x126a1d
movq %rax, %rdi
callq 0x3043ea
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x3a609
callq 0x3a5d2
// File: /workspace/github_c_makefile_star2_O1/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 0x126ae5
movl %esi, %ebp
movq %rdi, %rbx
movq $-0x1, %rsi
callq 0x12688d
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x126a95
testb %bpl, %bpl
je 0x126a7e
movq 0x48(%rbx), %rax
testq %rax, %rax
je 0x126a7e
movq 0x50(%rbx), %rsi
callq *%rax
cmpb $0x1, 0x61(%rbx)
jne 0x126a8d
movq 0x18(%rbx), %rdi
callq 0x3046fc
movq $0x0, 0x18(%rbx)
testb %bpl, %bpl
je 0x126ad7
cmpq $0x0, 0x48(%rbx)
je 0x126ad7
movq %rbx, %rdi
callq 0x126951
movl %eax, %ebp
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x126abb
movq 0x50(%rbx), %rsi
callq *0x48(%rbx)
cmpb $0x1, 0x61(%rbx)
jne 0x126aca
movq 0x18(%rbx), %rdi
callq 0x3046fc
movq $0x0, 0x18(%rbx)
cmpl $-0x1, %ebp
jne 0x126aa1
cmpq $0x0, 0x18(%rbx)
jne 0x126aea
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x3a6b2
callq 0x3a679
// File: /workspace/github_c_makefile_star2_O1/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 0x126b20
pushq %rbx
movq %rdi, %rbx
movl $0x1, %esi
callq 0x126a44
movq 0x10(%rbx), %rdi
callq 0xea3f1
leaq 0x2570f6(%rip), %rsi    # 0x37dc08
movq %rbx, %rdi
movl $0x123, %edx            # imm = 0x123
popq %rbx
jmp 0x109670
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/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 0x257354(%rip), %rdx    # 0x37de80
movl $0x1, %edi
movl $0x50, %esi
movl $0x38, %ecx
callq 0x1093ef
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
callq 0x169b94
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_O1/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 0x126bf4
movq %rdx, %r14
testq %rdx, %rdx
je 0x126bf4
movq %rcx, %rbx
movq %rsi, %r15
movq %rdi, %r12
leaq 0x2572ec(%rip), %rdx    # 0x37de80
movl $0x1, %edi
movl $0x50, %esi
movl $0x38, %ecx
callq 0x1093ef
movq %rax, %r13
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
callq 0x169b94
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 0x126bf9
movq %r13, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x3a6eb
// File: /workspace/github_c_makefile_star2_O1/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 0x126c30
testq %rsi, %rsi
je 0x126c30
testq %rcx, %rcx
je 0x126c30
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 0x3a722
// File: /workspace/github_c_makefile_star2_O1/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 0x126c73
movq %rsi, %r14
testq %rsi, %rsi
je 0x126c73
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x169cb5
movq %r14, %rdi
callq 0x169cae
movq %rax, 0x30(%rbx)
movq %r14, %rdi
callq 0x169f71
movq %rax, 0x48(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3a759
// File: /workspace/github_c_makefile_star2_O1/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 0x169eab
movq 0x38(%rbx), %rsi
cmpq %rsi, %rax
jne 0x126f7f
movq 0x30(%rbx), %rdi
callq 0x169ef3
movq 0x40(%rbx), %rsi
movb $0x1, %bl
cmpq %rsi, %rax
je 0x126f92
leaq 0x25738a(%rip), %rdi    # 0x37e307
jmp 0x126f86
leaq 0x257369(%rip), %rdi    # 0x37e2ef
xorl %ebx, %ebx
movq %rax, %rdx
xorl %eax, %eax
callq 0x17070
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x127839
leal -0x1(%rsi), %eax
cmpl %edi, %eax
jbe 0x12781b
incl %edi
jmp 0x127835
jne 0x12783e
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 0x3ac33
callq 0x3abfa
// File: /workspace/github_c_makefile_star2_O1/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, %r13
movq %rdx, 0x8(%rsp)
movq %rsi, %rbp
movl %ecx, %eax
movq 0x38(%rsi), %rbx
cmpq %rax, %rbx
cmovael %ecx, %ebx
movq %rdi, %r12
leaq (%rdi,%rbx), %r14
incq %r14
movb $0xa, -0x1(%r14)
testl %ebx, %ebx
je 0x12788b
movq %r14, %rdi
movl $0x7c, %esi
movq %rbx, %rdx
callq 0x173a0
leaq (%r14,%rbx), %rax
movb $0xa, %cl
movq %r14, 0x10(%rsp)
leaq (%r14,%rbx), %rdx
incq %rdx
movq %rdx, (%rsp)
movb %cl, -0x1(%rdx)
movb %cl, 0x1(%rbx,%rax)
cmpq $0x0, 0x38(%rbp)
je 0x1278ff
xorl %r14d, %r14d
xorl %r15d, %r15d
testq %r13, %r13
je 0x1278c8
movq 0x20(%rbp), %rax
movzbl (%rax,%r15), %eax
addq %r13, %rax
jmp 0x1278cf
movq 0x20(%rbp), %rax
addq %r15, %rax
movb (%rax), %al
movl %r14d, %ecx
movb %al, (%r12,%rcx)
movq (%rsp), %rdx
movb %al, (%rdx,%rcx)
movl %r14d, %edi
movl %ebx, %esi
movq %r12, %rdx
movq 0x8(%rsp), %rcx
callq 0x12780b
movl %eax, %r14d
incq %r15
cmpq 0x38(%rbp), %r15
jb 0x1278b5
jmp 0x127902
xorl %r14d, %r14d
testl %r14d, %r14d
je 0x12796b
movl %r14d, %ebx
movb $0xa, %bpl
movb %bpl, (%r12,%rbx)
incl %r14d
movl $0x1, %esi
movq %r12, %rdi
movq %r14, %rdx
movq 0x8(%rsp), %r15
movq %r15, %rcx
callq 0x17fa0
movq 0x10(%rsp), %rdi
movb %bpl, (%rdi,%rbx)
movl $0x1, %esi
movq %r14, %rdx
movq %r15, %rcx
callq 0x17fa0
movq (%rsp), %rdi
movb %bpl, (%rdi,%rbx)
movl $0x1, %esi
movq %r14, %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_O1/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 0x2562ca(%rip), %rdx    # 0x37de80
movl $0x1, %esi
movl $0x2b4, %ecx            # imm = 0x2B4
callq 0x1093ef
testq %r14, %r14
je 0x127c0c
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 0x127468
leaq 0x25628f(%rip), %rsi    # 0x37de80
movq %r13, %rdi
movl $0x2ba, %edx            # imm = 0x2BA
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x109670
callq 0x3accc
// File: /workspace/github_c_makefile_star2_O1/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 0x127c9c
movq %rsi, %rbx
testq %rsi, %rsi
je 0x127c9c
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 0x169c0b
movq 0x48(%r14), %rax
movq %rax, 0x48(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3ad3e
// File: /workspace/github_c_makefile_star2_O1/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 0x127cc1
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x127de9
leaq 0x39d3c8(%rip), %r14    # 0x4c5090
movq %r14, %rdi
callq 0x172f0
movq %rax, %r15
leaq 0x39d3d6(%rip), %r12    # 0x4c50b0
movq %r12, %rdi
callq 0x172f0
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0x126b6e
movq %rax, %r14
movq %rax, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d5f
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d42
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d5f
movq %r14, %rdi
callq 0x126d5f
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
movq %r14, %rdi
callq 0x126d25
xorl %ebp, %ebp
xorl %edi, %edi
movl $0x1, %esi
movq %r14, %rdx
callq 0x126dba
cmpq $0xa, %rax
je 0x127dd6
leaq 0x23f78e(%rip), %rsi    # 0x36753a
leaq 0x256517(%rip), %rdx    # 0x37e2ca
leaq 0x2564f9(%rip), %rcx    # 0x37e2b3
leaq 0x2560bf(%rip), %r8     # 0x37de80
movq %rbx, %rdi
movl $0x363, %r9d            # imm = 0x363
xorl %eax, %eax
callq 0x1019cf
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq %r14, %rdi
callq 0x127c25
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x3ad77
nop
// File: /workspace/github_c_makefile_star2_O1/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 0xe6a03
cmpq $0x0, 0x3a0c2b(%rip)    # 0x4c9698
jne 0x128a8e
leaq -0x35(%rip), %rsi       # 0x128a41
leaq 0x105d(%rip), %rdx      # 0x129ada
movl $0x20, %edi
callq 0x12b524
movq %rax, 0x3a0c0a(%rip)    # 0x4c9698
callq 0xe6a19
movq 0x3a0bfe(%rip), %rax    # 0x4c9698
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/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
subq $0x18, %rsp
testq %rdi, %rdi
je 0x128d39
movq %rsi, %rbp
testq %rsi, %rsi
je 0x128d39
movq %rdx, %r15
movq %rdi, %rbx
callq 0x128b66
movq %rax, %rdi
movq %rbx, %rsi
callq 0x147fb4
movq %rax, %r14
movq %rbp, %rdi
callq 0x14b5fc
movq %rax, %r13
movq 0x10(%r14), %rdi
callq 0x105b51
movq 0x10(%r14), %rsi
leaq 0x19df(%rip), %rdx      # 0x12a62e
xorl %r12d, %r12d
movq %r13, %rdi
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x149fca
movq %r13, %rdi
callq 0x149d95
testb %al, %al
je 0x128c84
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
movq %r13, %rdx
movq %r15, %rcx
callq 0x12a6fc
movl %eax, %r12d
movq %r13, %rdi
callq 0x14b1a8
movq %rax, %r13
testl %r12d, %r12d
jne 0x128d00
movq %rbp, 0x8(%rsp)
movq %r13, %rdi
callq 0x14b33e
testq %rax, %rax
je 0x128ce5
movq %rax, %rbx
leaq 0x10(%rsp), %rbp
movq 0x160(%r14), %rsi
movq %rbx, %rdi
callq 0x14928d
movq %r14, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
movq %r15, %rcx
callq 0x12a6fc
movl %eax, %r12d
testl %eax, %eax
jne 0x128cfb
movq %r13, %rdi
callq 0x14b33e
movq %rax, %rbx
testq %rax, %rax
jne 0x128cae
movq 0x10(%r14), %rdi
leaq 0x1e6f(%rip), %rsi      # 0x12ab5f
movq %r14, %rdx
movq %r15, %rcx
callq 0x105afd
movq 0x8(%rsp), %rbp
movq %r13, %rdi
callq 0x14b3d0
movq 0x10(%r14), %rdi
callq 0x105b51
testl %r12d, %r12d
jne 0x128d27
movq 0x30(%r14), %rdi
movl $0x1, %edx
movq %rbp, %rsi
callq 0x105a4c
movl %r12d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3ae5b
// File: /workspace/github_c_makefile_star2_O1/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 0x128dba
movq %rsi, %rbx
testq %rsi, %rsi
je 0x128dba
movq %rdi, %r14
callq 0x128b66
movq %rax, %rdi
movq %r14, %rsi
callq 0x147fb4
movq %rax, %r14
movq 0x38(%rax), %rdi
movq %rbx, %rsi
callq 0x105a11
testq %rax, %rax
je 0x128d82
movq 0x38(%r14), %rdi
movq %rbx, %rsi
callq 0x105a8a
movq 0x48(%r14), %rdi
movq %rbx, %rsi
callq 0x105a11
testq %rax, %rax
je 0x128d9f
movq 0x48(%r14), %rdi
movq %rbx, %rsi
callq 0x105a8a
movq 0x40(%r14), %rdi
movl $0x1, %edx
movq %rbx, %rsi
callq 0x105a4c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x3ae94
// File: /workspace/github_c_makefile_star2_O1/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 0x128e4c
movq %rsi, %r14
testq %rsi, %rsi
je 0x128e4c
movq %rdx, %rbx
movq %rdi, %r15
testq %rdx, %rdx
je 0x128dec
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x128e51
callq 0x128b66
movq %rax, %rdi
movq %r15, %rsi
callq 0x147fb4
movq %rax, %r15
movq 0xf0(%rax), %r12
movl $0x8, %edi
callq 0xd46fc
movq %rax, %r13
movq %r12, %rdi
movq %rbx, %rsi
callq 0x174129
movq %r12, %rdi
xorl %esi, %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x17418c
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x128e56
movq %r13, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x3aecd
callq 0x3af06
// File: /workspace/github_c_makefile_star2_O1/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 0x1294c9
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x12958b
testq %r13, %r13
je 0x129586
testq %r14, %r14
je 0x129586
testq %rbx, %rbx
je 0x1294f0
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x129590
callq 0x128b66
movq %rax, %rdi
movq %r13, %rsi
callq 0x147fb4
movq %rax, %r13
movq 0xc8(%rax), %rbp
movq 0x170(%rax), %rdi
callq 0x122657
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x174129
movq %rbp, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x17418c
movq 0x8(%r15), %rdx
movl $0x1, %esi
movq %rbp, %rdi
movq %rbx, %rcx
callq 0x17416b
movq (%r15), %rdx
movl $0x2, %esi
movq %rbp, %rdi
movq %rbx, %rcx
callq 0x17416b
movq %r13, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x128e56
movq 0x170(%r13), %rdi
callq 0x122672
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3b05c
callq 0x3b023
callq 0x3b095
// File: /workspace/github_c_makefile_star2_O1/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 0x1295b7
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x129633
testq %r15, %r15
je 0x12962e
testq %r14, %r14
je 0x12962e
testq %rbx, %rbx
je 0x1295d2
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x129638
callq 0x128b66
movq %rax, %rdi
movq %r15, %rsi
callq 0x147fb4
movq %rax, %r15
movq 0xc0(%rax), %r12
movq 0x170(%rax), %rdi
callq 0x122657
movq %r12, %rdi
movq %rbx, %rsi
callq 0x174129
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x128e56
movq 0x170(%r15), %rdi
callq 0x122672
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x3b107
callq 0x3b0ce
callq 0x3b140
// File: /workspace/github_c_makefile_star2_O1/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 0x129732
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
je 0x12966c
movq %r14, %rdi
callq 0x101a9a
testb %al, %al
jne 0x129737
callq 0x128b66
movq %rax, %rdi
movq %rbx, %rsi
callq 0x147fb4
movq %rax, %rbx
movq 0x100(%rax), %r12
movq 0x170(%rax), %rdi
callq 0x122657
movq %r12, %rdi
movq %r14, %rsi
callq 0x174129
movq %r12, %rdi
movq %r14, %rsi
callq 0x1741ce
movl %eax, %ebp
callq 0x1208f8
movq %rax, %r15
cmpl $0x1, %ebp
je 0x1296f3
testl %ebp, %ebp
jne 0x129709
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r14, %rcx
callq 0x174276
movq %r15, %rdi
callq 0x120d23
movq %rax, %rdi
callq 0xe8760
movq %rax, %r13
movq %r12, %rdi
movq %r14, %rsi
callq 0x1741ce
cmpl $0x1, %eax
je 0x12970c
callq 0x3b1b2
leaq 0x254faa(%rip), %rsi    # 0x37e6a4
xorl %r13d, %r13d
movq %r14, %rdi
xorl %eax, %eax
callq 0x1019cf
jmp 0x12970c
xorl %r13d, %r13d
movq %r15, %rdi
callq 0x121b03
movq 0x170(%rbx), %rdi
callq 0x122672
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3b1eb
callq 0x3b179
// File: /workspace/github_c_makefile_star2_O1/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 0x1297f7
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0x129769
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x1297fc
callq 0x128b66
movq %rax, %rdi
movq %r14, %rsi
callq 0x147fb4
movq %rax, %r14
callq 0x121b54
movq %rax, %r15
movq 0x170(%r14), %rdi
callq 0x122657
movq 0xe8(%r14), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x174129
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1741ce
testl %eax, %eax
jne 0x1297de
callq 0x1208f8
movq %rax, %r13
movq %r12, %rdi
xorl %esi, %esi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x174276
movq %r15, %rdi
movq %r13, %rsi
callq 0x121cc0
movq %r13, %rdi
callq 0x121b03
jmp 0x1297a2
movq 0x170(%r14), %rdi
callq 0x122672
movq %r15, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x3b25d
callq 0x3b224