// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_sortbench.c
// Function: gt_sortbench_option_parser_new
static GtOptionParser* gt_sortbench_option_parser_new(void *tool_arguments)
{
  QSortBenchArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option;

  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("[option ...]",
                            "Benchmarks quicksort implementations.");

  option = gt_option_new_choice(
                 "impl", "implementation\nchoose from "
                 "thomas|system|inlinedptr|inlinedarr|direct|\n"
                 "dual-pivot|radixinplace|radixlsb|radixkeypair|radixflba",
                  arguments->impl,
                  gt_sort_implementation_names[0],
                  gt_sort_implementation_names);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_uword("size", "number of integers to sort",
                               &arguments->num_values, 1000000UL);
  gt_option_parser_add_option(op, option);

  /* default set to ULONG_MAX-1 to facilitate proper testing of the
     radixsort implementations (make sure that higher order bits are set) */
  option = gt_option_new_uword("maxval", "maximal integer to sort",
                               &arguments->maxvalue, ULONG_MAX-1);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_uword("runs",
                           "run sort multiple times as specified by arguments",
                           &arguments->runs, 1UL);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("aqsort", "prepare bad input array using the "
                                        "'aqsort' anti-quicksort algorithm",
                               &arguments->use_aqsort, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("permute", "prepare bad input array by "
                                         "permutation of unique items",
                               &arguments->use_permute, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("verify", "verify result by checking order of "
                                        "sorted array",
                               &arguments->verify, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_verbose(&arguments->verbose);
  gt_option_parser_add_option(op, option);
  return op;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x71723
movq 0x5ca8ae(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4a4917(%rip), %rsi    # 0x516013
leaq 0x50945c(%rip), %rdx    # 0x57ab5f
leaq 0x4bab3c(%rip), %rcx    # 0x52c246
leaq 0x4bab1c(%rip), %r8     # 0x52c22d
movl $0x4a, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x71725
leaq 0x4b7831(%rip), %rdi    # 0x528f5d
leaq 0x4bab32(%rip), %rsi    # 0x52c265
callq 0xf1420
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq (%rax), %rdx
movq 0x5cb224(%rip), %rcx    # 0x63c970
leaq 0x4bab38(%rip), %rdi    # 0x52c28b
leaq 0x4bab36(%rip), %rsi    # 0x52c290
leaq 0x5cb20f(%rip), %r8     # 0x63c970
callq 0xf6b30
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x8, %rdx
leaq 0x4c3366(%rip), %rdi    # 0x534af0
leaq 0x4bab7e(%rip), %rsi    # 0x52c30f
movl $0xf4240, %ecx          # imm = 0xF4240
callq 0xf5fe0
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x18, %rdx
leaq 0x4bab6b(%rip), %rdi    # 0x52c32a
leaq 0x4bab6b(%rip), %rsi    # 0x52c331
movq $-0x2, %rcx
callq 0xf5fe0
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x10, %rdx
leaq 0x4bab53(%rip), %rdi    # 0x52c349
leaq 0x4bab51(%rip), %rsi    # 0x52c34e
movl $0x1, %ecx
callq 0xf5fe0
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x20, %rdx
leaq 0x4baeda(%rip), %rdi    # 0x52c705
leaq 0x4bab4e(%rip), %rsi    # 0x52c380
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x21, %rdx
leaq 0x4bab67(%rip), %rdi    # 0x52c3c4
leaq 0x4bab68(%rip), %rsi    # 0x52c3cc
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x22, %rdx
leaq 0x501be3(%rip), %rdi    # 0x573472
leaq 0x4bab6d(%rip), %rsi    # 0x52c403
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdi
addq $0x23, %rdi
callq 0xf5f90
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x10(%rsp), %rax
addq $0x28, %rsp
retq
nopl (%rax)