// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_tagerator.c
// Function: gt_tagerator_runner
static int gt_tagerator_runner(GT_UNUSED int argc,
                               GT_UNUSED const char **argv,
                               GT_UNUSED int parsed_args,
                               void *tool_arguments, GtError *err)
{
  TageratorOptions *arguments = tool_arguments;
  bool haserr = false;
  GtUword idx;

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

  gt_assert(parsed_args == argc);
  if (arguments->userdefinedmaxdistance == -1L)
  {
    printf("# computing matching statistics\n");
  } else
  {
    if (arguments->maxintervalwidth == 0)
    {
      printf("# computing complete matches");
    } else
    {
      printf("# computing prefix matches");
    }
    if (arguments->userdefinedmaxdistance == 0)
    {
      printf(" without differences (exact matches)");
    } else
    {
      printf(" with up to "GT_WD" differences",
             arguments->userdefinedmaxdistance);
    }
    if (arguments->maxintervalwidth > 0)
    {
      printf(" and at most "GT_WU" occurrences in the subject sequences",
             arguments->maxintervalwidth);
    }
    printf("\n");
  }
  printf("# indexname(%s)=%s\n",arguments->withesa ? "esa" : "pck",
                                gt_str_get(arguments->indexname));
  for (idx=0; idx<gt_str_array_size(arguments->tagfiles); idx++)
  {
    printf("# queryfile=%s\n",gt_str_array_get(arguments->tagfiles,idx));
  }
  if (gt_runtagerator(arguments,err) != 0)
  {
    haserr = true;
  }
  return haserr ? -1 : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rcx, %r14
movl %edx, %ebp
movl %edi, %r15d
testq %r8, %r8
je 0xd03ab
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0xd04d1
testq %r14, %r14
je 0xd04c7
cmpl %r15d, %ebp
jne 0xd04cc
cmpq $-0x1, 0x48(%r14)
je 0xd03fb
cmpq $0x0, 0x58(%r14)
leaq 0x2953bb(%rip), %rax    # 0x36578b
leaq 0x2953d1(%rip), %rdi    # 0x3657a8
cmoveq %rax, %rdi
xorl %eax, %eax
callq 0x17070
movq 0x48(%r14), %rsi
testq %rsi, %rsi
je 0xd0409
leaq 0x2953f6(%rip), %rdi    # 0x3657e8
xorl %eax, %eax
callq 0x17070
jmp 0xd0417
leaq 0x295438(%rip), %rdi    # 0x36583a
callq 0x17bd0
jmp 0xd0438
leaq 0x2953b3(%rip), %rdi    # 0x3657c3
xorl %eax, %eax
callq 0x17070
movq 0x58(%r14), %rsi
testq %rsi, %rsi
je 0xd042e
leaq 0x2953dd(%rip), %rdi    # 0x365804
xorl %eax, %eax
callq 0x17070
movl $0xa, %edi
callq 0x17a20
leaq 0x292843(%rip), %rax    # 0x362c82
cmpb $0x0, 0x39(%r14)
leaq 0x286393(%rip), %r15    # 0x3567de
cmovneq %rax, %r15
movq 0x10(%r14), %rdi
callq 0x120d23
leaq 0x287eb1(%rip), %rdi    # 0x358310
xorl %ebp, %ebp
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x17070
movq (%r14), %rdi
callq 0x121e78
testq %rax, %rax
je 0xd04ad
leaq 0x2829c8(%rip), %r15    # 0x352e4a
xorl %r12d, %r12d
movq (%r14), %rdi
movq %r12, %rsi
callq 0x121cfa
movq %r15, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq 0x17070
incq %r12
movq (%r14), %rdi
callq 0x121e78
cmpq %rax, %r12
jb 0xd0485
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2083ac
negl %eax
sbbl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x21936
callq 0x218fd
callq 0x218c4
nop