// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x68, %rsp
movl %edi, 0x64(%rsp)
movq %rsi, 0x58(%rsp)
movl %edx, 0x54(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
movl $0x0, 0x34(%rsp)
callq 0xb7a40
movq %rax, 0x20(%rsp)
movq 0x58(%rsp), %rax
movslq 0x54(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x18(%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x4b1dea(%rip), %rdi    # 0x52f0a4
callq 0x1213a0
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x40(%rsp)
je 0x7d314
movq 0x40(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x7d2dc
jmp 0x7d314
movq 0x5becbd(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x498d26(%rip), %rsi    # 0x516013
leaq 0x498ecb(%rip), %rdx    # 0x5161bf
leaq 0x4b1dc1(%rip), %rcx    # 0x52f0bc
leaq 0x4b1ca0(%rip), %r8     # 0x52efa2
movl $0xc5, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x7d316
jmp 0x7d318
cmpq $0x0, 0x38(%rsp)
jne 0x7d358
movq 0x5bec79(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x498ce2(%rip), %rsi    # 0x516013
leaq 0x4fd827(%rip), %rdx    # 0x57ab5f
leaq 0x4b1d7d(%rip), %rcx    # 0x52f0bc
leaq 0x4b1c5c(%rip), %r8     # 0x52efa2
movl $0xc6, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x7d35a
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x40(%rsp), %rdx
callq 0xb7aa0
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq 0x40(%rsp), %rdx
callq 0x7d430
movl %eax, 0x34(%rsp)
movq 0x8(%rsp), %rdi
callq 0x121f00
cmpl $0x0, 0x34(%rsp)
jne 0x7d3f2
leaq 0x4b1d2f(%rip), %rdi    # 0x52f0d2
callq 0x1213a0
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0x1213f0
movq 0x28(%rsp), %rdi
callq 0x1f77e0
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x7d570
movl %eax, 0x34(%rsp)
movq 0x8(%rsp), %rdi
movq 0x5bebb6(%rip), %rax    # 0x63bfa0
movq (%rax), %rsi
callq 0x121d70
movq 0x8(%rsp), %rdi
callq 0x121f00
movq 0x28(%rsp), %rdi
callq 0xae070
movq 0x20(%rsp), %rdi
callq 0xb7e50
movq 0x10(%rsp), %rdi
callq 0x1f7180
movl 0x34(%rsp), %eax
addq $0x68, %rsp
retq
nopw %cs:(%rax,%rax)