// File: /workspace/github_c_makefile_star2_O3/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 0xc8ecb
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0xc9020
movzbl 0x1(%r15), %edi
movq 0x3f0001(%rip), %rax    # 0x4b8ed8
movq (%rax), %rdx
leaq 0x27d9f3(%rip), %rsi    # 0x3468d4
callq 0x103e40
movq %rax, %rbx
cmpl %ebp, %r13d
jge 0xc8f0c
movslq %ebp, %rax
movq -0x8(%r12,%rax,8), %rdx
leaq 0x28c787(%rip), %rsi    # 0x355684
movq %r14, %rdi
xorl %eax, %eax
callq 0xfcb67
jmp 0xc8fdf
movq 0x10(%r15), %rdi
callq 0x11c131
movq %rax, %r13
movq 0x8(%r15), %rdi
callq 0x11b0a1
movq %rax, %r12
testq %r13, %r13
je 0xc8f77
movq 0x10(%r15), %r15
leaq 0x8(%rsp), %rdi
movl $0x3, %esi
movq %r12, %rdx
movq %rbx, %rcx
movq %r14, %r8
callq 0x1a2288
testl %eax, %eax
jne 0xc8f6b
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x8(%rsp), %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x1a65b2
testl %eax, %eax
je 0xc9000
leaq 0x8(%rsp), %rdi
callq 0x1a1540
jmp 0xc8fdf
movb (%r15), %bpl
testq %r14, %r14
je 0xc8f8f
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0xc9025
movzbl %bpl, %edx
movq %r12, %rdi
movl $0x7, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0x1a5580
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0xc8fdf
movq %rax, %r15
movq %rax, %rdi
callq 0x1a59f6
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x1a5b40
movl %eax, %r14d
leaq 0x8(%rsp), %rdi
callq 0x1a5698
xorl %ebp, %ebp
negl %r14d
sbbl %ebp, %ebp
jmp 0xc8fe4
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq %rbx, %rdi
callq 0x1040e0
movl %ebp, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rsp), %rsi
leaq 0x287a1d(%rip), %rdi    # 0x350a28
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x17070
leaq 0x8(%rsp), %rdi
callq 0x1a1540
jmp 0xc8fe4
callq 0x201bb
callq 0x201f4
nop