// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/tools/gt_wtree_bench.c
// Function: gt_wtree_bench_runner
static int gt_wtree_bench_runner(GT_UNUSED int argc, const char **argv,
                                 int parsed_args,
                                 GT_UNUSED void *tool_arguments,
                                 GT_UNUSED GtError *err)
{
  GT_UNUSED GtWaveletBenchArguments *arguments = tool_arguments;
  int had_err = 0;
  GtEncseq *encseq;
  GtEncseqLoader *el = gt_encseq_loader_new();
  const char *es_basename = argv[parsed_args];
  GtWtree *wt = NULL;
  GtTimer *timer =
    gt_timer_new_with_progress_description("random access encseq 1M");

  gt_error_check(err);
  gt_assert(arguments);

  encseq = gt_encseq_loader_load(el, es_basename, err);
  had_err = gt_wtree_bench_bench_encseq(encseq, timer, err);
  gt_timer_delete(timer);

  if (!had_err) {
    timer = gt_timer_new_with_progress_description("creating wt");
    gt_timer_start(timer);
    wt = gt_wtree_encseq_new(encseq);
    had_err = gt_wtree_bench_bench_wtree(wt, err, timer);
    gt_timer_show_progress_final(timer, stderr);
  }
  gt_timer_delete(timer);
  gt_encseq_delete(encseq);

  gt_encseq_loader_delete(el);
  gt_wtree_delete(wt);

  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %rbp
movq %rcx, %r15
movl %edx, %ebx
movq %rsi, %r14
callq 0xef0cd
movq %rax, %r12
movslq %ebx, %rax
movq (%r14,%rax,8), %r14
leaq 0x28da1d(%rip), %rdi    # 0x35df14
callq 0x11c986
movq %rax, %rbx
testq %rbp, %rbp
movq %r12, 0x38(%rsp)
je 0xd0544
movq %rbp, %rdi
callq 0xfcc32
testb %al, %al
jne 0xd091d
testq %r15, %r15
je 0xd0918
movq %r12, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xef129
movq %rax, %r13
movq %rbp, %rdi
callq 0xfcc32
testb %al, %al
je 0xd055d
callq 0x21bc4
testq %r15, %r15
je 0xd0918
movq %r12, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xef129
movq %rax, %r13
movq %r13, %rdi
callq 0xe7b9c
movq %rax, %r15
movq %rbx, %rdi
callq 0x11c9e3
decq %r15
movl $0xf4240, %r12d         # imm = 0xF4240
movq %r15, %rdi
callq 0x105d85
movq %rax, %r14
movq %r13, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xe811c
movl $0x24, %edi
testb %al, %al
jne 0xd05aa
movq %r13, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xe7e3c
movsbl %al, %edi
callq 0x17a20
decq %r12
jne 0xd0579
movl $0xa, %edi
callq 0x17a20
movq 0x3e89bb(%rip), %r15    # 0x4b8f80
movq (%r15), %rsi
movq %rbx, %rdi
callq 0x11cf39
movq %rbx, %rdi
callq 0x11ca28
movq %rbx, %rdi
callq 0x11d054
leaq 0x28d95b(%rip), %rdi    # 0x35df42
callq 0x11c986
movq %rax, %rbx
movq %rax, %rdi
callq 0x11c9e3
movq %r13, 0x30(%rsp)
movq %r13, %rdi
callq 0x184a9d
movq %rax, %r12
movq %rax, %rdi
callq 0x184360
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0x184368
movq %rax, %r13
testq %rbp, %rbp
je 0xd0634
movq %rbp, %rdi
callq 0xfcc32
testb %al, %al
jne 0xd0922
movq (%r15), %rdx
leaq 0x28d947(%rip), %rsi    # 0x35df85
movq %rbx, %rdi
callq 0x11cc90
movl $0xa, %edi
callq 0x17a20
decq 0x8(%rsp)
movl $0xf4240, %r14d         # imm = 0xF4240
movq %r12, 0x18(%rsp)
movq 0x8(%rsp), %rdi
callq 0x105d85
movq %r12, %rdi
movq %rax, %rsi
callq 0x1842da
movq %r12, %rdi
movq %rax, %rsi
callq 0x184430
movl $0x24, %edi
cmpb $-0x1, %al
je 0xd0697
movzbl %al, %ecx
cmpl $0xfd, %ecx
je 0xd06ae
movsbl %al, %edi
callq 0x17a20
decq %r14
jne 0xd0660
movl $0x0, 0x14(%rsp)
movb $0x1, %r14b
jmp 0xd06ca
leaq 0x28d8e1(%rip), %rsi    # 0x35df96
xorl %r14d, %r14d
movq %rbp, %rdi
xorl %eax, %eax
callq 0xfcb67
movl $0x1, 0x14(%rsp)
movq (%r15), %rdx
leaq 0x28d8ea(%rip), %rsi    # 0x35dfbe
movq %rbx, 0x28(%rsp)
movq %rbx, %rdi
callq 0x11cc90
movl $0xa, %edi
callq 0x17a20
movl %r14d, 0x24(%rsp)
testb %r14b, %r14b
movq 0x8(%rsp), %rbx
je 0xd0787
leaq -0x1(%r13), %rax
movq %rax, 0x40(%rsp)
movl $0xf4240, %r15d         # imm = 0xF4240
movq 0x40(%rsp), %rdi
callq 0x105d85
movq %rax, %rbp
movq %rbx, %rdi
callq 0x105d85
movq %rax, %r12
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
movq %rbp, %rdx
callq 0x184306
movq %rax, %r14
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x184430
movl %eax, %ebp
callq 0x17870
movq (%rax), %rax
movsbq %bpl, %rcx
movzwl (%rax,%rcx,2), %eax
btl $0xe, %eax
leaq 0x28d882(%rip), %rdi    # 0x35dfe5
jae 0xd076c
leaq 0x28d861(%rip), %rdi    # 0x35dfcd
movsbl %bpl, %esi
movq %r12, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x17070
decq %r15
movq 0x8(%rsp), %rbx
jne 0xd070d
movl $0xa, %edi
callq 0x17a20
movq 0x3e87e8(%rip), %rax    # 0x4b8f80
movq (%rax), %rdx
leaq 0x28d85b(%rip), %rsi    # 0x35dffd
movq 0x28(%rsp), %rdi
callq 0x11cc90
leaq (,%r13,8), %rdi
leaq 0x28d657(%rip), %rsi    # 0x35de12
movl $0x9f, %edx
callq 0x104226
movq %rax, %rbp
testq %r13, %r13
setne %al
movl 0x24(%rsp), %r12d
andb %r12b, %al
cmpb $0x1, %al
movq 0x18(%rsp), %r15
jne 0xd07fd
xorl %r14d, %r14d
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x184306
movq %rax, (%rbp,%r14,8)
incq %r14
cmpq %r14, %r13
jne 0xd07e2
movl $0xa, %edi
callq 0x17a20
testb %r12b, %r12b
je 0xd08aa
decq %r13
xorl %r15d, %r15d
movq 0x18(%rsp), %r14
movq %r13, %rdi
callq 0x105d85
cmpq $0x0, (%rbp,%rax,8)
je 0xd081b
movq %rax, %r12
movq (%rbp,%r12,8), %rdi
callq 0x105d85
testq %rax, %rax
je 0xd082e
movq %rax, %rbx
movq %r14, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0x184333
movq %rax, 0x8(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x184430
movl %eax, %r12d
callq 0x17870
movq (%rax), %rax
movsbl %r12b, %edx
movsbq %dl, %rcx
movzwl (%rax,%rcx,2), %eax
btl $0xe, %eax
leaq 0x28d78e(%rip), %rdi    # 0x35e00e
leaq 0x28d7a0(%rip), %rax    # 0x35e027
cmovaeq %rax, %rdi
movq %rbx, %rsi
movq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x17070
incq %r15
cmpq $0xf4240, %r15          # imm = 0xF4240
jne 0xd081b
movl $0xa, %edi
callq 0x17a20
leaq 0x28d557(%rip), %rsi    # 0x35de12
movq %rbp, %rdi
movl $0xb3, %edx
callq 0x1045eb
movq 0x3e86b1(%rip), %rax    # 0x4b8f80
movq (%rax), %rsi
movq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11cf39
movq %rbx, %rdi
callq 0x11d054
movq 0x30(%rsp), %rdi
callq 0xea375
movq 0x38(%rsp), %rdi
callq 0xefbe3
movq 0x18(%rsp), %rdi
callq 0x1843bc
movl 0x14(%rsp), %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x21c6b
callq 0x21bfb
callq 0x21c34
nop