// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/tools/gt_shulen.c
// Function: gt_shulengthdist_runner
static int gt_shulengthdist_runner(GT_UNUSED int argc,
                                   GT_UNUSED const char **argv,
                                   GT_UNUSED int parsed_args,
                                   void *tool_arguments, GtError *err)
{
  bool haserr = false;
  Shulengthoptions *arguments = tool_arguments;
  GtLogger *logger = NULL;

  gt_error_check(err);
  logger = gt_logger_new(arguments->beverbose, GT_LOGGER_DEFLT_PREFIX, stdout);
  if (parsed_args < argc)
  {
    gt_error_set(err,"superfluous arguments: \"%s\"",argv[argc-1]);
    haserr = true;
  }
  if (!haserr)
  {
    if (gt_str_array_size(arguments->queryfilenames) == 0)
    {
      if (callmultishulengthdist(gt_str_get(arguments->indexname),
                                 arguments->scanfile,
                                 logger,
                                 err) != 0)
      {
        haserr = true;
      }
    } else
    {
      if (callpairswisesshulendistdist(gt_str_get(arguments->indexname),
                                       arguments->queryfilenames,
                                       logger,
                                       err) != 0)
      {
        haserr = true;
      }
    }
  }
  gt_logger_delete(logger);
  return haserr ? -1 : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %r8, %r14
movq %rcx, %r15
movl %edx, %r13d
movq %rsi, %r12
movl %edi, %ebp
testq %r8, %r8
je 0x4db1f
movq %r14, %rdi
callq 0x89eb7
testb %al, %al
jne 0x4dc6d
movzbl 0x1(%r15), %edi
movq 0x3ea385(%rip), %rax    # 0x437eb0
movq (%rax), %rdx
leaq 0x298d9f(%rip), %rsi    # 0x2e68d4
callq 0x92b50
movq %rax, %rbx
cmpl %ebp, %r13d
jge 0x4db63
movslq %ebp, %rax
movq -0x8(%r12,%rax,8), %rdx
leaq 0x2a7b43(%rip), %rsi    # 0x2f5694
movq %r14, %rdi
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %rbp
jmp 0x4dc51
movq 0x10(%r15), %rdi
callq 0xae61c
movq %rax, %r13
movq 0x8(%r15), %rdi
callq 0xad1fa
movq %rax, %r12
testq %r13, %r13
je 0x4dba6
movq 0x10(%r15), %r15
leaq 0x8(%rsp), %rdi
pushq $0x3
popq %rsi
movq %r12, %rdx
movq %rbx, %rcx
movq %r14, %r8
callq 0x14de4e
testl %eax, %eax
je 0x4dc10
pushq $-0x1
popq %rbp
jmp 0x4dc47
movb (%r15), %bpl
testq %r14, %r14
je 0x4dbbe
movq %r14, %rdi
callq 0x89eb7
testb %al, %al
jne 0x4dca5
movzbl %bpl, %edx
pushq $0x7
popq %rsi
movq %r12, %rdi
movq %rbx, %rcx
movq %r14, %r8
callq 0x1516ac
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x4db5b
movq %rax, %r15
movq %rax, %rdi
callq 0x151c21
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x151eec
movl %eax, %r14d
leaq 0x8(%rsp), %rdi
callq 0x1517e5
xorl %ebp, %ebp
negl %r14d
sbbl %ebp, %ebp
jmp 0x4dc51
movq %rsp, %rdi
andq $0x0, (%rdi)
leaq 0x8(%rsp), %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x152aa3
movl %eax, %r14d
testl %eax, %eax
jne 0x4dc40
movq (%rsp), %rsi
leaq 0x2a2e02(%rip), %rdi    # 0x2f0a3b
xorl %eax, %eax
callq 0x17070
xorl %ebp, %ebp
negl %r14d
sbbl %ebp, %ebp
leaq 0x8(%rsp), %rdi
callq 0x14d148
movq %rbx, %rdi
callq 0x92fd0
movl %ebp, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3ea2f4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x297395(%rip), %rsi    # 0x2e5013
leaq 0x29753a(%rip), %rdx    # 0x2e51bf
leaq 0x2acca3(%rip), %rcx    # 0x2fa92f
leaq 0x2acc15(%rip), %r8     # 0x2fa8a8
movl $0xbc, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x3ea2bc(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x29735d(%rip), %rsi    # 0x2e5013
leaq 0x297502(%rip), %rdx    # 0x2e51bf
leaq 0x2acc83(%rip), %rcx    # 0x2fa947
leaq 0x2acbdd(%rip), %r8     # 0x2fa8a8
pushq $0x2e
popq %r9
jmp 0x4dc99
nopl (%rax)