// File: /workspace/github_c_makefile_star2_O0/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:
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, 0x18(%rsp)
movq $0x0, 0x10(%rsp)
movl $0x0, 0xc(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x2a21f
movq 0x30(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x2a1e7
jmp 0x2a21f
movq 0x611db2(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4ebe1b(%rip), %rsi    # 0x516013
leaq 0x4ebfc0(%rip), %rdx    # 0x5161bf
leaq 0x4f0d30(%rip), %rcx    # 0x51af36
leaq 0x4f0b16(%rip), %r8     # 0x51ad23
movl $0xdb, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2a221
jmp 0x2a223
cmpq $0x0, 0x28(%rsp)
jne 0x2a263
movq 0x611d6e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4ebdd7(%rip), %rsi    # 0x516013
leaq 0x4f0c62(%rip), %rdx    # 0x51aea5
leaq 0x4f0cec(%rip), %rcx    # 0x51af36
leaq 0x4f0ad2(%rip), %r8     # 0x51ad23
movl $0xdc, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2a265
movq 0x28(%rsp), %rdi
movq 0x48(%rsp), %rax
movslq 0x44(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
callq 0x1237d0
testb $0x1, %al
jne 0x2a2aa
movq 0x30(%rsp), %rdi
movq 0x48(%rsp), %rax
movslq 0x44(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x4f0ca9(%rip), %rsi    # 0x51af44
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0xc(%rsp)  # imm = 0xFFFFFFFF
cmpl $0x0, 0xc(%rsp)
jne 0x2a3c4
movq 0x28(%rsp), %rdi
movq 0x48(%rsp), %rax
movslq 0x44(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
callq 0x123900
movq %rax, 0x20(%rsp)
cmpq $0x0, %rax
jne 0x2a339
movq 0x28(%rsp), %rdi
movq 0x48(%rsp), %rax
movslq 0x44(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
callq 0x123730
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x2a335
movq 0x611c9c(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4ebd05(%rip), %rsi    # 0x516013
leaq 0x4f0c71(%rip), %rdx    # 0x51af86
leaq 0x4f0c1a(%rip), %rcx    # 0x51af36
leaq 0x4f0a00(%rip), %r8     # 0x51ad23
movl $0xec, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2a337
jmp 0x2a339
movq 0x48(%rsp), %rax
movslq 0x44(%rsp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, (%rsp)
movq 0x30(%rsp), %rdi
callq 0xd8c20
movq (%rsp), %rdi
movq %rax, %rsi
callq 0xa3590
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rax
movq (%rax), %rsi
callq 0xd8b80
cmpq $0x0, 0x20(%rsp)
je 0x2a3a2
movq 0x20(%rsp), %rax
movl 0x54(%rsp), %edi
subl 0x44(%rsp), %edi
movq 0x10(%rsp), %rsi
movq 0x30(%rsp), %rdx
callq *%rax
movl %eax, 0xc(%rsp)
jmp 0x2a3c2
movq 0x18(%rsp), %rdi
movl 0x54(%rsp), %esi
subl 0x44(%rsp), %esi
movq 0x10(%rsp), %rdx
movq 0x30(%rsp), %rcx
callq 0x122bc0
movl %eax, 0xc(%rsp)
jmp 0x2a3c4
movq 0x10(%rsp), %rdi
callq 0xa3950
movl 0xc(%rsp), %eax
addq $0x58, %rsp
retq
nopw (%rax,%rax)