// File: /workspace/github_c_makefile_star2_O3/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 %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xb019c
movq %rdi, %rbx
leaq 0x2a0acb(%rip), %rax    # 0x350a86
leaq 0x2a0ae1(%rip), %rsi    # 0x350aa3
cmpb $0x0, 0x44(%rdi)
cmovneq %rax, %rsi
leaq 0x2a0a90(%rip), %rdi    # 0x350a61
callq 0x107bfe
movq %rax, %r14
leaq 0x2962ec(%rip), %rsi    # 0x3462cc
movq %rax, %rdi
callq 0x107e5c
movq 0x28(%rbx), %rdx
leaq 0x2a0adb(%rip), %rdi    # 0x350ace
leaq 0x2a0ad8(%rip), %rsi    # 0x350ad2
xorl %ecx, %ecx
callq 0x10a770
movq %rax, 0x60(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
movq 0x28(%rbx), %rdx
leaq 0x2a9c0a(%rip), %rdi    # 0x359c25
leaq 0x2a0ac0(%rip), %rsi    # 0x350ae2
xorl %ecx, %ecx
callq 0x10a770
movq %rax, 0x68(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
movq 0x28(%rbx), %rdx
leaq 0x29d76b(%rip), %rdi    # 0x34d7ae
leaq 0x2a0aad(%rip), %rsi    # 0x350af7
xorl %ecx, %ecx
callq 0x10a770
movq %rax, 0x70(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
movq 0x60(%rbx), %rdi
movq 0x68(%rbx), %rsi
callq 0x10ab96
movq 0x68(%rbx), %rsi
movq 0x70(%rbx), %rdi
callq 0x10ab96
movq 0x60(%rbx), %rsi
movq 0x70(%rbx), %rdi
callq 0x10ab96
movq 0x30(%rbx), %rdx
leaq 0x2df741(%rip), %rdi    # 0x38f7d3
leaq 0x2a0a73(%rip), %rsi    # 0x350b0c
callq 0x10a7df
movq %rax, 0x78(%rbx)
movq %rax, %rdi
callq 0x10a87b
movq 0x78(%rbx), %rsi
movq %r14, %rdi
callq 0x107cc0
leaq 0x8(%rbx), %rdx
leaq 0x2de181(%rip), %rdi    # 0x38e242
leaq 0x2a0a57(%rip), %rsi    # 0x350b1f
movl $0x1, %r8d
xorl %ecx, %ecx
callq 0x10a5d1
movq %rax, 0x48(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x18(%rbx), %rdx
leaq 0x311dbc(%rip), %rdi    # 0x3c1eab
leaq 0x2a0a57(%rip), %rsi    # 0x350b4d
movl $0x1, %r8d
xorl %ecx, %ecx
callq 0x10a5d1
movq %rax, 0x50(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x2a0a62(%rip), %rax    # 0x350b7b
cmpb $0x0, 0x44(%rbx)
leaq 0x2a0a89(%rip), %rsi    # 0x350bad
cmovneq %rax, %rsi
movq 0x38(%rbx), %rdx
leaq 0x2bbef4(%rip), %rdi    # 0x36c027
callq 0x10a7a1
movq %rax, 0x58(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x24(%rbx), %rdx
cmpb $0x1, 0x44(%rbx)
jne 0xb0186
leaq 0x2f0d63(%rip), %rdi    # 0x3a0ebb
leaq 0x2a0a74(%rip), %rsi    # 0x350bd3
xorl %ecx, %ecx
callq 0x10a235
movq %rax, 0x80(%rbx)
movq %rax, %rdi
callq 0x10a9d4
movq 0x80(%rbx), %rsi
movq %r14, %rdi
callq 0x107cc0
jmp 0xb0189
movb $0x0, (%rdx)
movq %r14, %rdi
callq 0x107d2d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x1c61d