// File: /workspace/github_c_makefile_star2_O1/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 0xb24f8
movq %rdi, %rbx
leaq 0x2a77aa(%rip), %rax    # 0x359ac1
leaq 0x2a77c0(%rip), %rsi    # 0x359ade
cmpb $0x0, 0x44(%rdi)
cmovneq %rax, %rsi
leaq 0x2a776f(%rip), %rdi    # 0x359a9c
callq 0x10cc4e
movq %rax, %r14
leaq 0x29cf90(%rip), %rsi    # 0x34f2cc
movq %rax, %rdi
callq 0x10ceab
movq 0x28(%rbx), %rdx
leaq 0x2a77ba(%rip), %rdi    # 0x359b09
leaq 0x2a77b7(%rip), %rsi    # 0x359b0d
xorl %ecx, %ecx
callq 0x10f987
movq %rax, 0x60(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x28(%rbx), %rdx
leaq 0x2b090b(%rip), %rdi    # 0x362c82
leaq 0x2a779f(%rip), %rsi    # 0x359b1d
xorl %ecx, %ecx
callq 0x10f987
movq %rax, 0x68(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x28(%rbx), %rdx
leaq 0x2a443f(%rip), %rdi    # 0x3567de
leaq 0x2a778c(%rip), %rsi    # 0x359b32
xorl %ecx, %ecx
callq 0x10f987
movq %rax, 0x70(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x60(%rbx), %rdi
movq 0x68(%rbx), %rsi
callq 0x10fd9f
movq 0x68(%rbx), %rsi
movq 0x70(%rbx), %rdi
callq 0x10fd9f
movq 0x60(%rbx), %rsi
movq 0x70(%rbx), %rdi
callq 0x10fd9f
movq 0x30(%rbx), %rdx
leaq 0x2e680d(%rip), %rdi    # 0x398bfb
leaq 0x2a7752(%rip), %rsi    # 0x359b47
callq 0x10f9f6
movq %rax, 0x78(%rbx)
movq %rax, %rdi
callq 0x10fa96
movq 0x78(%rbx), %rsi
movq %r14, %rdi
callq 0x10cd10
leaq 0x8(%rbx), %rdx
leaq 0x2e5205(%rip), %rdi    # 0x397622
leaq 0x2a7736(%rip), %rsi    # 0x359b5a
movl $0x1, %r8d
xorl %ecx, %ecx
callq 0x10f7ed
movq %rax, 0x48(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x18(%rbx), %rdx
leaq 0x319188(%rip), %rdi    # 0x3cb5d3
leaq 0x2a7736(%rip), %rsi    # 0x359b88
movl $0x1, %r8d
xorl %ecx, %ecx
callq 0x10f7ed
movq %rax, 0x50(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x2a7741(%rip), %rax    # 0x359bb6
cmpb $0x0, 0x44(%rbx)
leaq 0x2a7768(%rip), %rsi    # 0x359be8
cmovneq %rax, %rsi
movq 0x38(%rbx), %rdx
leaq 0x2c2de8(%rip), %rdi    # 0x375277
callq 0x10f9b8
movq %rax, 0x58(%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x24(%rbx), %rdx
cmpb $0x1, 0x44(%rbx)
jne 0xb24e2
leaq 0x2f7f64(%rip), %rdi    # 0x3aa418
leaq 0x2a7753(%rip), %rsi    # 0x359c0e
xorl %ecx, %ecx
callq 0x10f451
movq %rax, 0x80(%rbx)
movq %rax, %rdi
callq 0x10fbef
movq 0x80(%rbx), %rsi
movq %r14, %rdi
callq 0x10cd10
jmp 0xb24e5
movb $0x0, (%rdx)
movq %r14, %rdi
callq 0x10cd7d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x1c752