// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x58, %rsp
movl %edi, 0x54(%rsp)
movq %rsi, 0x48(%rsp)
movl %edx, 0x44(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x30(%rsp)
movq $0x0, 0x20(%rsp)
movq $0x0, 0x18(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
movl $0x0, 0x4(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x45ef8
movq 0x30(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x45ec0
jmp 0x45ef8
movq 0x5f60d9(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d0142(%rip), %rsi    # 0x516013
leaq 0x4d02e7(%rip), %rdx    # 0x5161bf
leaq 0x4dbf63(%rip), %rcx    # 0x521e42
leaq 0x4dbece(%rip), %r8     # 0x521db4
movl $0x58, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x45efa
jmp 0x45efc
cmpq $0x0, 0x10(%rsp)
jne 0x45f3c
movq 0x5f6095(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d00fe(%rip), %rsi    # 0x516013
leaq 0x534c43(%rip), %rdx    # 0x57ab5f
leaq 0x4dbf1f(%rip), %rcx    # 0x521e42
leaq 0x4dbe8a(%rip), %r8     # 0x521db4
movl $0x59, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x45f3e
movl 0x54(%rsp), %edi
subl 0x44(%rsp), %edi
movq 0x48(%rsp), %rsi
movslq 0x44(%rsp), %rax
shlq $0x3, %rax
addq %rax, %rsi
callq 0x1746b0
movq %rax, 0x28(%rsp)
movq 0x10(%rsp), %rax
testb $0x1, (%rax)
je 0x45f81
movq 0x10(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x45f81
movq 0x28(%rsp), %rdi
callq 0x1741e0
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x1d48f0
testb $0x1, %al
jne 0x45f95
jmp 0x45fbf
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x30(%rsp), %rsi
callq 0x1d4960
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x45fbd
movl $0xffffffff, 0x4(%rsp)  # imm = 0xFFFFFFFF
jmp 0x45fbf
cmpl $0x0, 0x4(%rsp)
jne 0x46005
movq 0x28(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x1acc70
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rsi
callq 0x176d50
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x1b1f90
movl %eax, 0x4(%rsp)
movq 0x18(%rsp), %rdi
callq 0x1b1cb0
movq 0x20(%rsp), %rdi
callq 0x1b1cb0
movq 0x28(%rsp), %rdi
callq 0x1b1cb0
movl 0x4(%rsp), %eax
addq $0x58, %rsp
retq
nopl (%rax)