// File: /workspace/github_c_makefile_star2_O1/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 $0x38, %rsp
movq %r8, %rbx
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
callq 0xf36ef
movq %rax, %r13
movslq %ebp, %rax
movq (%r15,%rax,8), %r12
leaq 0x29452d(%rip), %rdi    # 0x366fe4
callq 0x1226d6
movq %rax, %r15
testq %rbx, %rbx
je 0xd2ad4
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0xd2edf
testq %r14, %r14
je 0xd2eda
movq %r13, 0x28(%rsp)
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0xf374b
movq %rax, %rbp
testq %rbx, %rbx
je 0xd2b08
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0xd2ee4
movq %rbp, %rdi
callq 0xec1d8
movq %rax, %r12
movq %r15, %rdi
callq 0x122733
decq %r12
movl $0xf4240, %r13d         # imm = 0xF4240
movq %r12, %rdi
callq 0x10ae3c
movq %rax, %r14
movq %rbp, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xec754
movl $0x24, %edi
testb %al, %al
jne 0xd2b55
movq %rbp, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xec478
movsbl %al, %edi
callq 0x17a20
decq %r13
jne 0xd2b24
movl $0xa, %edi
callq 0x17a20
movq 0x3f1410(%rip), %rax    # 0x4c3f80
movq (%rax), %rsi
movq %r15, %rdi
callq 0x122c67
movq %r15, %rdi
callq 0x122778
movq %r15, %rdi
callq 0x122d79
leaq 0x294480(%rip), %rdi    # 0x367012
callq 0x1226d6
movq %rax, %r12
movq %rax, %rdi
callq 0x122733
movq %rbp, %rdi
callq 0x18cd8a
movq %rax, %r15
movq %rax, %rdi
callq 0x18caa0
movq %rax, 0x8(%rsp)
movq %r15, %rdi
callq 0x18caa8
movq %rax, %r13
testq %rbx, %rbx
je 0xd2bda
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0xd2ee9
movq 0x3f139f(%rip), %rax    # 0x4c3f80
movq (%rax), %rdx
leaq 0x29446a(%rip), %rsi    # 0x367055
movq %r12, %rdi
callq 0x1229c8
movl $0xa, %edi
callq 0x17a20
decq 0x8(%rsp)
movl $0x0, 0x4(%rsp)
xorl %r14d, %r14d
movq 0x8(%rsp), %rdi
callq 0x10ae3c
movq %r15, %rdi
movq %rax, %rsi
callq 0x18ca1a
movq %r15, %rdi
movq %rax, %rsi
callq 0x18cb70
cmpb $-0x3, %al
je 0xd2c43
movzbl %al, %ecx
cmpl $0xff, %ecx
jne 0xd2c5e
movl $0x24, %edi
jmp 0xd2c61
movq %rbx, %rdi
leaq 0x294419(%rip), %rsi    # 0x367066
xorl %eax, %eax
callq 0x1019cf
movl $0x1, 0x4(%rsp)
jmp 0xd2c66
movsbl %al, %edi
callq 0x17a20
cmpl $0x0, 0x4(%rsp)
jne 0xd2c7d
leaq 0x1(%r14), %rax
cmpq $0xf423f, %r14          # imm = 0xF423F
movq %rax, %r14
jb 0xd2c0d
movq %r15, 0x10(%rsp)
movq %rbp, 0x20(%rsp)
movq 0x3f12f2(%rip), %rax    # 0x4c3f80
movq (%rax), %rdx
leaq 0x2943f6(%rip), %rsi    # 0x36708e
movq %r12, 0x18(%rsp)
movq %r12, %rdi
callq 0x1229c8
movl $0xa, %edi
callq 0x17a20
cmpl $0x0, 0x4(%rsp)
movq 0x8(%rsp), %r12
jne 0xd2d48
leaq -0x1(%r13), %rax
movq %rax, 0x30(%rsp)
movl $0xf4240, %r15d         # imm = 0xF4240
movq 0x30(%rsp), %rdi
callq 0x10ae3c
movq %rax, %rbp
movq %r12, %rdi
callq 0x10ae3c
movq %rax, %r14
movq 0x10(%rsp), %r12
movq %r12, %rdi
movq %rax, %rsi
movq %rbp, %rdx
callq 0x18ca46
movq %rax, %rbx
movq %r12, %rdi
movq %rbp, %rsi
callq 0x18cb70
movl %eax, %ebp
callq 0x17870
movq (%rax), %rax
movsbq %bpl, %rcx
movzwl (%rax,%rcx,2), %eax
btl $0xe, %eax
leaq 0x294391(%rip), %rdi    # 0x3670b5
jae 0xd2d2d
leaq 0x294370(%rip), %rdi    # 0x36709d
movsbl %bpl, %esi
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x17070
decq %r15
movq 0x8(%rsp), %r12
jne 0xd2cce
movl $0xa, %edi
callq 0x17a20
movq 0x3f1227(%rip), %rax    # 0x4c3f80
movq (%rax), %rdx
leaq 0x29436a(%rip), %rsi    # 0x3670cd
movq 0x18(%rsp), %rdi
callq 0x1229c8
leaq (,%r13,8), %rdi
leaq 0x294166(%rip), %rsi    # 0x366ee2
movl $0x9f, %edx
callq 0x1092b2
movq %rax, %rbx
cmpl $0x0, 0x4(%rsp)
movq 0x10(%rsp), %r15
jne 0xd2db7
testq %r13, %r13
je 0xd2db7
xorl %r14d, %r14d
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x18ca46
movq %rax, (%rbx,%r14,8)
incq %r14
cmpq %r14, %r13
jne 0xd2d9d
movl $0xa, %edi
callq 0x17a20
cmpl $0x0, 0x4(%rsp)
movq 0x20(%rsp), %r14
jne 0xd2e6e
decq %r13
xorl %r15d, %r15d
movq 0x10(%rsp), %rbp
movq %r13, %rdi
callq 0x10ae3c
cmpq $0x0, (%rbx,%rax,8)
je 0xd2ddc
movq %rax, %r14
movq (%rbx,%r14,8), %rdi
callq 0x10ae3c
testq %rax, %rax
je 0xd2dee
movq %rax, %r12
movq %rbp, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x18ca73
movq %rax, 0x8(%rsp)
movq %rbp, %rdi
movq %r14, %rsi
callq 0x18cb70
movl %eax, %r14d
callq 0x17870
movq (%rax), %rax
movsbl %r14b, %edx
movsbq %dl, %rcx
movzwl (%rax,%rcx,2), %eax
btl $0xe, %eax
leaq 0x29429f(%rip), %rdi    # 0x3670de
leaq 0x2942b1(%rip), %rax    # 0x3670f7
cmovaeq %rax, %rdi
movq %r12, %rsi
movq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x17070
incq %r15
cmpq $0xf4240, %r15          # imm = 0xF4240
movq 0x20(%rsp), %r14
jne 0xd2ddc
movl $0xa, %edi
callq 0x17a20
leaq 0x294063(%rip), %rsi    # 0x366ee2
movq %rbx, %rdi
movl $0xb3, %edx
callq 0x109670
movq 0x3f10ed(%rip), %rax    # 0x4c3f80
movq (%rax), %rsi
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x122c67
movq %rbx, %rdi
callq 0x122d79
movq %r14, %rdi
callq 0xee90c
movq 0x28(%rsp), %rdi
callq 0xf424d
movq 0x10(%rsp), %rdi
callq 0x18cafc
movl 0x4(%rsp), %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x220d9
callq 0x22032
callq 0x2206b
callq 0x220a2
nop