// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/tools/gt_md5_to_id.c
// Function: gt_md5_to_id_runner
static int gt_md5_to_id_runner(GT_UNUSED int argc, const char **argv,
                                   int parsed_args, void *tool_arguments,
                                   GtError *err)
{
  GtNodeStream *gff3_in_stream, *md5_to_id_stream = NULL,
               *gff3_out_stream = NULL;
  MD5ToSeqidsArguments *arguments = tool_arguments;
  GtRegionMapping *region_mapping = NULL;
  int had_err = 0;

  gt_error_check(err);
  gt_assert(arguments);

  /* create a gff3 input stream */
  gff3_in_stream = gt_gff3_in_stream_new_unsorted(argc - parsed_args,
                                                  argv + parsed_args);
  if (arguments->verbose && arguments->outfp)
    gt_gff3_in_stream_show_progress_bar((GtGFF3InStream*) gff3_in_stream);

  /* create region mapping */
  if (gt_seqid2file_option_used(arguments->s2fi)) {
    region_mapping = gt_seqid2file_region_mapping_new(arguments->s2fi, err);
    if (!region_mapping)
      had_err = -1;
  }

  if (!had_err) {
    /* create seqid to md5 stream */
    md5_to_id_stream = gt_md5_to_id_stream_new(gff3_in_stream, region_mapping);

    /* create gff3 output stream */
    gff3_out_stream = gt_gff3_out_stream_new(md5_to_id_stream,
                                             arguments->outfp);

    /* pull the features through the stream and free them afterwards */
    had_err = gt_node_stream_pull(gff3_out_stream, err);
  }

  /* free */
  gt_node_stream_delete(gff3_out_stream);
  gt_node_stream_delete(md5_to_id_stream);
  gt_node_stream_delete(gff3_in_stream);

  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rcx, %r15
movl %edx, %r12d
movq %rsi, %r14
movl %edi, %ebp
testq %r8, %r8
je 0x33c00
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x33cd4
testq %r15, %r15
je 0x33caa
subl %r12d, %ebp
movslq %r12d, %rax
leaq (%r14,%rax,8), %rsi
movl %ebp, %edi
callq 0xdeebd
movq %rax, %r14
cmpb $0x1, (%r15)
jne 0x33c32
cmpq $0x0, 0x18(%r15)
je 0x33c32
movq %r14, %rdi
callq 0xdeb22
movq 0x8(%r15), %rdi
callq 0x116b18
testb %al, %al
je 0x33c5e
movq 0x8(%r15), %rdi
movq %rbx, %rsi
callq 0x116b63
movq %rax, %rsi
testq %rax, %rax
jne 0x33c60
pushq $-0x1
popq %rbx
xorl %r15d, %r15d
xorl %r12d, %r12d
jmp 0x33c87
xorl %esi, %esi
movq %r14, %rdi
callq 0xff940
movq %rax, %r12
movq 0x18(%r15), %rsi
movq %rax, %rdi
callq 0xe07df
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
callq 0x102b93
movl %eax, %ebx
movq %r15, %rdi
callq 0x10297b
movq %r12, %rdi
callq 0x10297b
movq %r14, %rdi
callq 0x10297b
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x4042b7(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2b1358(%rip), %rsi    # 0x2e5013
leaq 0x314991(%rip), %rdx    # 0x348653
leaq 0x2bd10e(%rip), %rcx    # 0x2f0dd7
leaq 0x2bd079(%rip), %r8     # 0x2f0d49
pushq $0x59
jmp 0x33cfc
movq 0x40428d(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2b132e(%rip), %rsi    # 0x2e5013
leaq 0x2b14d3(%rip), %rdx    # 0x2e51bf
leaq 0x2bd0e4(%rip), %rcx    # 0x2f0dd7
leaq 0x2bd04f(%rip), %r8     # 0x2f0d49
pushq $0x58
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
nop