// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/tools/gt_matstat.c
// Function: gt_matstat_option_parser_new
static GtOptionParser* gt_matstat_option_parser_new(void *tool_arguments)
{
  Gfmsubcallinfo *arguments = tool_arguments;
  GtOptionParser *op;
  gt_assert(arguments);

  op = gt_option_parser_new("[options ...] -query queryfile [...]",
                         arguments->doms
                         ? "Compute matching statistics."
                         : "Compute length of minimum unique prefixes.");
  gt_option_parser_set_mail_address(op,"<kurtz@zbh.uni-hamburg.de>");

  arguments->optionfmindex = gt_option_new_string("fmi", "specify fmindex",
                                                  arguments->indexname,NULL);
  gt_option_parser_add_option(op, arguments->optionfmindex);

  arguments->optionesaindex = gt_option_new_string("esa",
                                                   "specify suffix array",
                                                   arguments->indexname,NULL);
  gt_option_parser_add_option(op, arguments->optionesaindex);

  arguments->optionpckindex = gt_option_new_string("pck",
                                                   "specify packed index",
                                                   arguments->indexname,NULL);
  gt_option_parser_add_option(op, arguments->optionpckindex);

  gt_option_exclude(arguments->optionfmindex,arguments->optionesaindex);
  gt_option_exclude(arguments->optionpckindex,arguments->optionesaindex);
  gt_option_exclude(arguments->optionpckindex,arguments->optionfmindex);

  arguments->optionquery = gt_option_new_filename_array("query",
                                                     "specify queryfiles",
                                                     arguments->queryfilenames);
  gt_option_is_mandatory(arguments->optionquery);
  gt_option_parser_add_option(op, arguments->optionquery);

  arguments->optionmin = gt_option_new_uword_min("min",
                                   "only output length "
                                   "if >= given minimum length",
                                   &arguments->minlength.
                                          valueunsignedlong,
                                   0,(GtUword) 1);
  gt_option_parser_add_option(op, arguments->optionmin);

  arguments->optionmax = gt_option_new_uword_min("max",
                                   "only output length "
                                   "if <= given maximum length",
                                   &arguments->maxlength.
                                          valueunsignedlong,
                                   0,(GtUword) 1);
  gt_option_parser_add_option(op, arguments->optionmax);

  arguments->optionoutput = gt_option_new_string_array("output",
                   arguments->doms
                     ? "set output flags (sequence, querypos, subjectpos)"
                     : "set output flags (sequence, querypos)",
                   arguments->flagsoutputoption);
  gt_option_parser_add_option(op, arguments->optionoutput);

  if (arguments->doms) {
    arguments->optionverify = gt_option_new_bool("verify",
                                                 "verify witness positions",
                                                 &arguments->verifywitnesspos,
                                                 false);
    gt_option_is_development_option(arguments->optionverify);
    gt_option_parser_add_option(op, arguments->optionverify);
  } else
  {
    arguments->verifywitnesspos = false;
  }

  gt_option_parser_refer_to_manual(op);

  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x334bd
movq %rdi, %rbx
leaq 0x2bd7b9(%rip), %rax    # 0x2f0a99
leaq 0x2bd7cf(%rip), %rsi    # 0x2f0ab6
cmpb $0x0, 0x44(%rdi)
cmovneq %rax, %rsi
leaq 0x2bd77e(%rip), %rdi    # 0x2f0a74
callq 0x97df5
movq %rax, %r14
leaq 0x2b2fc7(%rip), %rsi    # 0x2e62cc
movq %rax, %rdi
callq 0x98288
movq 0x28(%rbx), %rdx
leaq 0x2bd7c9(%rip), %rdi    # 0x2f0ae1
leaq 0x2bd7c6(%rip), %rsi    # 0x2f0ae5
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, 0x60(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x28(%rbx), %rdx
leaq 0x2c68bd(%rip), %rdi    # 0x2f9bfd
leaq 0x2bd7ae(%rip), %rsi    # 0x2f0af5
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, 0x68(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x28(%rbx), %rdx
leaq 0x2ba446(%rip), %rdi    # 0x2ed7ae
leaq 0x2bd79b(%rip), %rsi    # 0x2f0b0a
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, 0x70(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x60(%rbx), %rdi
movq 0x68(%rbx), %rsi
callq 0x9b38d
movq 0x68(%rbx), %rsi
movq 0x70(%rbx), %rdi
callq 0x9b38d
movq 0x60(%rbx), %rsi
movq 0x70(%rbx), %rdi
callq 0x9b38d
movq 0x30(%rbx), %rdx
leaq 0x2fc75a(%rip), %rdi    # 0x32fb11
leaq 0x2bd761(%rip), %rsi    # 0x2f0b1f
callq 0x9ad7e
movq %rax, 0x78(%rbx)
movq %rax, %rdi
callq 0x9ae37
movq 0x78(%rbx), %rsi
movq %r14, %rdi
callq 0x97f31
leaq 0x8(%rbx), %rdx
leaq 0x2fb24c(%rip), %rdi    # 0x32e632
leaq 0x2bd745(%rip), %rsi    # 0x2f0b32
pushq $0x1
popq %r15
xorl %ecx, %ecx
movq %r15, %r8
callq 0x9ac58
movq %rax, 0x48(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x18(%rbx), %rdx
leaq 0x32eea6(%rip), %rdi    # 0x3622bb
leaq 0x2bd744(%rip), %rsi    # 0x2f0b60
xorl %ecx, %ecx
movq %r15, %r8
callq 0x9ac58
movq %rax, 0x50(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x2bd752(%rip), %rax    # 0x2f0b8e
cmpb $0x0, 0x44(%rbx)
leaq 0x2bd779(%rip), %rsi    # 0x2f0bc0
cmovneq %rax, %rsi
movq 0x38(%rbx), %rdx
leaq 0x2d8eb1(%rip), %rdi    # 0x30c307
callq 0x9ad43
movq %rax, 0x58(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x24(%rbx), %rdx
cmpb $0x1, 0x44(%rbx)
jne 0x334a9
leaq 0x30dd2f(%rip), %rdi    # 0x3411aa
leaq 0x2bd764(%rip), %rsi    # 0x2f0be6
xorl %ecx, %ecx
callq 0x9a997
movq %rax, 0x80(%rbx)
movq %rax, %rdi
callq 0x9b10a
movq 0x80(%rbx), %rsi
movq %r14, %rdi
callq 0x97f31
jmp 0x334ac
movb $0x0, (%rdx)
movq %r14, %rdi
callq 0x98002
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
movq 0x404aa4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2b1b45(%rip), %rsi    # 0x2e5013
leaq 0x31517e(%rip), %rdx    # 0x348653
leaq 0x2bd57b(%rip), %rcx    # 0x2f0a57
leaq 0x2bd55d(%rip), %r8     # 0x2f0a40
pushq $0x64
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390