// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/tools/gt_congruence.c
// Function: gt_cge_runner
static int gt_cge_runner(int argc, const char **argv, int parsed_args,
                                 void *tool_arguments, GtError *err)
{
  GtToolbox *index_toolbox = tool_arguments;
  GtToolfunc toolfunc;
  GtTool *tool = NULL;
  char **nargv = NULL;
  int had_err = 0;

  gt_error_check(err);
  gt_assert(index_toolbox != NULL);

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

  /* call sub-tool */
  if (!had_err)
  {
    if (!(toolfunc = gt_toolbox_get(index_toolbox, argv[parsed_args])))
    {
      tool = gt_toolbox_get_tool(index_toolbox, argv[parsed_args]);
      gt_assert(tool != NULL);
    }
    nargv = gt_cstr_array_prefix_first(argv + parsed_args,
                                       gt_error_get_progname(err));
    gt_error_set_progname(err, nargv[0]);
    if (toolfunc != NULL)
      had_err = toolfunc(argc - parsed_args, (const char**) nargv, err);
    else
      had_err = gt_tool_run(tool, argc - parsed_args, (const char**) nargv,
                            err);
  }
  gt_cstr_array_delete(nargv);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r15
movl %edx, %r14d
movq %rsi, %r12
movl %edi, %ebp
testq %r8, %r8
je 0x22515
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x22618
testq %r15, %r15
je 0x225ea
movslq %r14d, %r13
movq (%r12,%r13,8), %rsi
movq %r15, %rdi
callq 0xb0d84
movq (%r12,%r13,8), %rdx
testb %al, %al
je 0x22556
leaq (%r12,%r13,8), %r13
movq %r15, %rdi
movq %rdx, %rsi
callq 0xb0e40
movq %rax, %r12
testq %rax, %rax
je 0x2256f
movq $0x0, (%rsp)
jmp 0x22588
leaq 0x2c798c(%rip), %rsi    # 0x2e9ee9
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %rbx
jmp 0x225d1
movq (%r13), %rsi
movq %r15, %rdi
callq 0xb0d2d
movq %rax, (%rsp)
testq %rax, %rax
je 0x22646
movq %rbx, %rdi
callq 0x8a001
movq %r13, %rdi
movq %rax, %rsi
callq 0x6c7c9
movq %rax, %r15
movq (%rax), %rsi
movq %rbx, %rdi
callq 0x89f8a
subl %r14d, %ebp
testq %r12, %r12
je 0x225be
movl %ebp, %edi
movq %r15, %rsi
movq %rbx, %rdx
callq *%r12
jmp 0x225cf
movq (%rsp), %rdi
movl %ebp, %esi
movq %r15, %rdx
movq %rbx, %rcx
callq 0xb05a1
movl %eax, %ebx
movq %r15, %rdi
callq 0x6ca1b
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x415977(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c2a18(%rip), %rsi    # 0x2e5013
leaq 0x2c7848(%rip), %rdx    # 0x2e9e4a
leaq 0x2c78d2(%rip), %rcx    # 0x2e9edb
leaq 0x2c76b8(%rip), %r8     # 0x2e9cc8
movl $0xdc, %r9d
jmp 0x22672
movq 0x415949(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c29ea(%rip), %rsi    # 0x2e5013
leaq 0x2c2b8f(%rip), %rdx    # 0x2e51bf
leaq 0x2c78a4(%rip), %rcx    # 0x2e9edb
leaq 0x2c768a(%rip), %r8     # 0x2e9cc8
movl $0xdb, %r9d
jmp 0x22672
movq 0x41591b(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c29bc(%rip), %rsi    # 0x2e5013
leaq 0x2c78cd(%rip), %rdx    # 0x2e9f2b
leaq 0x2c7876(%rip), %rcx    # 0x2e9edb
leaq 0x2c765c(%rip), %r8     # 0x2e9cc8
movl $0xec, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390