// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_encseq.c
// Function: gt_encseq_runner
static int gt_encseq_runner(int argc, const char **argv, int parsed_args,
                            void *tool_arguments, GtError *err)
{
  GtToolbox *encseq_toolbox = tool_arguments;
  GtTool *tool = NULL;
  int had_err = 0;
  char **nargv = NULL;

  gt_error_check(err);
  gt_assert(encseq_toolbox);

  /* get encseq tools */
  tool = gt_toolbox_get_tool(encseq_toolbox, argv[parsed_args]);
  if (!tool) {
    gt_error_set(err, "encseq tool '%s' not found; option -help lists "
                      "possible tools", argv[parsed_args]);
    had_err = -1;
  }

  /* call encseq tool */
  if (!had_err) {
    gt_assert(tool);
    nargv = gt_cstr_array_prefix_first(argv + parsed_args,
                                       gt_error_get_progname(err));
    gt_error_set_progname(err, nargv[0]);
    had_err = gt_tool_run(tool, argc - parsed_args, (const char**) nargv, err);
  }

  /* free */
  gt_cstr_array_delete(nargv);

  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 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq $0x0, 0x20(%rsp)
movl $0x0, 0x1c(%rsp)
movq $0x0, 0x10(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x2caff
movq 0x30(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x2cac7
jmp 0x2caff
movq 0x60f4d2(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4e953b(%rip), %rsi    # 0x516013
leaq 0x4e96e0(%rip), %rdx    # 0x5161bf
leaq 0x4eeb7b(%rip), %rcx    # 0x51b661
leaq 0x4eeb17(%rip), %r8     # 0x51b604
movl $0x4b, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2cb01
jmp 0x2cb03
cmpq $0x0, 0x28(%rsp)
jne 0x2cb43
movq 0x60f48e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4e94f7(%rip), %rsi    # 0x516013
leaq 0x4eeab6(%rip), %rdx    # 0x51b5d9
leaq 0x4eeb37(%rip), %rcx    # 0x51b661
leaq 0x4eead3(%rip), %r8     # 0x51b604
movl $0x4c, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2cb45
movq 0x28(%rsp), %rdi
movq 0x48(%rsp), %rax
movslq 0x44(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
callq 0x123730
movq %rax, 0x20(%rsp)
cmpq $0x0, 0x20(%rsp)
jne 0x2cb93
movq 0x30(%rsp), %rdi
movq 0x48(%rsp), %rax
movslq 0x44(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x4eeaee(%rip), %rsi    # 0x51b672
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x1c(%rsp) # imm = 0xFFFFFFFF
cmpl $0x0, 0x1c(%rsp)
jne 0x2cc46
jmp 0x2cba0
cmpq $0x0, 0x20(%rsp)
jne 0x2cbe0
movq 0x60f3f1(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4e945a(%rip), %rsi    # 0x516013
leaq 0x517e6f(%rip), %rdx    # 0x544a2f
leaq 0x4eea9a(%rip), %rcx    # 0x51b661
leaq 0x4eea36(%rip), %r8     # 0x51b604
movl $0x58, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2cbe2
movq 0x48(%rsp), %rax
movslq 0x44(%rsp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
callq 0xd8c20
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xa3590
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rax
movq (%rax), %rsi
callq 0xd8b80
movq 0x20(%rsp), %rdi
movl 0x54(%rsp), %esi
subl 0x44(%rsp), %esi
movq 0x10(%rsp), %rdx
movq 0x30(%rsp), %rcx
callq 0x122bc0
movl %eax, 0x1c(%rsp)
movq 0x10(%rsp), %rdi
callq 0xa3950
movl 0x1c(%rsp), %eax
addq $0x58, %rsp
retq
nopl (%rax)