// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/tools/gt_encseq_check.c
// Function: gt_encseq_check_option_parser_new
static GtOptionParser* gt_encseq_check_option_parser_new(void *tool_arguments)
{
  GtEncseqCheckArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GT_UNUSED GtOption *option;
  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("[option ...] [file]",
                            "Check the consistency of an encoded "
                            "sequence file.");

  option = gt_option_new_uword("scantrials", "specify number of scan trials",
                               &arguments->scantrials, 0);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_uword("multicharcmptrials",
                               "specify number of multicharacter trials",
                               &arguments->multicharcmptrials, 0);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_uword_min_max("prefixlength",
                                       "prefix length",
                                       &arguments->prefixlength, 0,
                                       0, 32);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("nocheckunit","do not run checkextractunitatpos",
                              &arguments->nocheckunit, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("mirrored","use mirrored encseq",
                              &arguments->mirror, false);
  gt_option_parser_add_option(op, option);

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

  gt_option_parser_set_min_args(op, 1);

  return op;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x2597a
movq %rdi, %r14
leaq 0x2c4e1d(%rip), %rdi    # 0x2ea6a1
leaq 0x2c59e7(%rip), %rsi    # 0x2eb272
callq 0x97df5
movq %rax, %rbx
leaq 0x2c5a0b(%rip), %rdi    # 0x2eb2a5
leaq 0x2c5a0f(%rip), %rsi    # 0x2eb2b0
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9a9e6
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x8(%r14), %rdx
leaq 0x2c5a0d(%rip), %rdi    # 0x2eb2ce
leaq 0x2c5a19(%rip), %rsi    # 0x2eb2e1
xorl %ecx, %ecx
callq 0x9a9e6
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x10(%r14), %rdx
leaq 0x319b88(%rip), %rdi    # 0x33f46d
leaq 0x2c5a1d(%rip), %rsi    # 0x2eb309
pushq $0x20
popq %r9
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x9ac6b
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x1a(%r14), %rdx
leaq 0x2c5a07(%rip), %rdi    # 0x2eb317
leaq 0x2c5a0c(%rip), %rsi    # 0x2eb323
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x19(%r14), %rdx
leaq 0x2c800b(%rip), %rdi    # 0x2ed93f
leaq 0x2c5a09(%rip), %rsi    # 0x2eb344
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
addq $0x18, %r14
movq %r14, %rdi
callq 0x9a9b6
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x98be7
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x4125e7(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2bf688(%rip), %rsi    # 0x2e5013
leaq 0x322cc1(%rip), %rdx    # 0x348653
leaq 0x2c58b7(%rip), %rcx    # 0x2eb250
leaq 0x2c5894(%rip), %r8     # 0x2eb234
pushq $0x35
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390