// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_id_to_md5.c
// Function: gt_id_to_md5_runner
static int gt_id_to_md5_runner(GT_UNUSED int argc, const char **argv,
                                   int parsed_args, void *tool_arguments,
                                   GtError *err)
{
  GtNodeStream *gff3_in_stream, *id_to_md5_stream = NULL,
               *add_ids_stream = NULL, *gff3_out_stream = NULL;
  SeqidsToMD5Arguments *arguments = tool_arguments;
  GtRegionMapping *region_mapping;
  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);
  /* add automatically generated sequence IDs later to avoid collisions */
  gt_gff3_in_stream_disable_add_ids(gff3_in_stream);

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

  if (!had_err) {
    /* create seqid to md5 stream */
    id_to_md5_stream =
      gt_id_to_md5_stream_new(gff3_in_stream, region_mapping,
                              arguments->substitute_target_ids);

    /* create add IDs stream */
    add_ids_stream = gt_add_ids_stream_new(id_to_md5_stream);

    /* create gff3 output stream */
    gff3_out_stream = gt_gff3_out_stream_new(add_ids_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(add_ids_stream);
  gt_node_stream_delete(id_to_md5_stream);
  gt_node_stream_delete(gff3_in_stream);

  return had_err;
}

// Assembly:
subq $0x68, %rsp
movl %edi, 0x64(%rsp)
movq %rsi, 0x58(%rsp)
movl %edx, 0x54(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movq $0x0, 0x30(%rsp)
movq $0x0, 0x28(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x18(%rsp)
movl $0x0, 0xc(%rsp)
cmpq $0x0, 0x40(%rsp)
je 0x3e228
movq 0x40(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x3e1f0
jmp 0x3e228
movq 0x5fdda9(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d7e12(%rip), %rsi    # 0x516013
leaq 0x4d7fb7(%rip), %rdx    # 0x5161bf
leaq 0x4e1fa7(%rip), %rcx    # 0x5201b6
leaq 0x4e1ed7(%rip), %r8     # 0x5200ed
movl $0x62, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x3e22a
jmp 0x3e22c
cmpq $0x0, 0x18(%rsp)
jne 0x3e26c
movq 0x5fdd65(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d7dce(%rip), %rsi    # 0x516013
leaq 0x53c913(%rip), %rdx    # 0x57ab5f
leaq 0x4e1f63(%rip), %rcx    # 0x5201b6
leaq 0x4e1e93(%rip), %r8     # 0x5200ed
movl $0x63, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x3e26e
movl 0x64(%rsp), %edi
subl 0x54(%rsp), %edi
movq 0x58(%rsp), %rsi
movslq 0x54(%rsp), %rax
shlq $0x3, %rax
addq %rax, %rsi
callq 0x1746b0
movq %rax, 0x38(%rsp)
movq 0x18(%rsp), %rax
testb $0x1, (%rax)
je 0x3e2b1
movq 0x18(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x3e2b1
movq 0x38(%rsp), %rdi
callq 0x1741e0
movq 0x38(%rsp), %rdi
callq 0x1744d0
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x40(%rsp), %rsi
callq 0x1d4960
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x3e2e3
movl $0xffffffff, 0xc(%rsp)  # imm = 0xFFFFFFFF
cmpl $0x0, 0xc(%rsp)
jne 0x3e345
movq 0x38(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rax
movb 0x1(%rax), %al
andb $0x1, %al
movzbl %al, %edx
callq 0x1954c0
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rdi
callq 0x128390
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rdi
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rsi
callq 0x176d50
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0x1b1f90
movl %eax, 0xc(%rsp)
movq 0x20(%rsp), %rdi
callq 0x1b1cb0
movq 0x28(%rsp), %rdi
callq 0x1b1cb0
movq 0x30(%rsp), %rdi
callq 0x1b1cb0
movq 0x38(%rsp), %rdi
callq 0x1b1cb0
movl 0xc(%rsp), %eax
addq $0x68, %rsp
retq
nopw %cs:(%rax,%rax)