// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x44eb3
movq 0x5f711e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d1187(%rip), %rsi    # 0x516013
leaq 0x535ccc(%rip), %rdx    # 0x57ab5f
leaq 0x4dcc28(%rip), %rcx    # 0x521ac2
leaq 0x4dcc0a(%rip), %r8     # 0x521aab
movl $0x64, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x44eb5
movq 0x8(%rsp), %rax
movb 0x44(%rax), %cl
leaq 0x4dcc5d(%rip), %rsi    # 0x521b21
leaq 0x4dcc39(%rip), %rax    # 0x521b04
testb $0x1, %cl
cmovneq %rax, %rsi
leaq 0x4dcc06(%rip), %rdi    # 0x521adf
callq 0xf1420
movq %rax, (%rsp)
movq (%rsp), %rdi
leaq 0x4d23f7(%rip), %rsi    # 0x5172e4
callq 0xf1a10
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rdx
leaq 0x4dcc4a(%rip), %rdi    # 0x521b4c
leaq 0x4dcc47(%rip), %rsi    # 0x521b50
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rax)
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0x60(%rax), %rsi
callq 0xf1600
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rdx
leaq 0x4e5e08(%rip), %rdi    # 0x52ad48
leaq 0x4dcc19(%rip), %rsi    # 0x521b60
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x68(%rax)
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0x68(%rax), %rsi
callq 0xf1600
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rdx
leaq 0x4d98d0(%rip), %rdi    # 0x51e84e
leaq 0x4dcbf0(%rip), %rsi    # 0x521b75
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rax)
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0x70(%rax), %rsi
callq 0xf1600
movq 0x8(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x8(%rsp), %rax
movq 0x68(%rax), %rsi
callq 0xf7320
movq 0x8(%rsp), %rax
movq 0x70(%rax), %rdi
movq 0x8(%rsp), %rax
movq 0x68(%rax), %rsi
callq 0xf7320
movq 0x8(%rsp), %rax
movq 0x70(%rax), %rdi
movq 0x8(%rsp), %rax
movq 0x60(%rax), %rsi
callq 0xf7320
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rdx
leaq 0x51cfc3(%rip), %rdi    # 0x561fc4
leaq 0x4dcb82(%rip), %rsi    # 0x521b8a
callq 0xf6b00
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x78(%rax)
movq 0x8(%rsp), %rax
movq 0x78(%rax), %rdi
callq 0xf6ca0
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0x78(%rax), %rsi
callq 0xf1600
movq 0x8(%rsp), %rdx
addq $0x8, %rdx
leaq 0x51ba4f(%rip), %rdi    # 0x560a98
leaq 0x4dcb4d(%rip), %rsi    # 0x521b9d
xorl %eax, %eax
movl %eax, %ecx
movl $0x1, %r8d
callq 0xf66b0
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x48(%rax)
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rsi
callq 0xf1600
movq 0x8(%rsp), %rdx
addq $0x10, %rdx
addq $0x8, %rdx
leaq 0x5501ca(%rip), %rdi    # 0x59525b
leaq 0x4dcb33(%rip), %rsi    # 0x521bcb
xorl %eax, %eax
movl %eax, %ecx
movl $0x1, %r8d
callq 0xf66b0
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rax)
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0x50(%rax), %rsi
callq 0xf1600
movq 0x8(%rsp), %rax
movb 0x44(%rax), %cl
leaq 0x4dcb57(%rip), %rsi    # 0x521c2b
leaq 0x4dcb1e(%rip), %rax    # 0x521bf9
testb $0x1, %cl
cmovneq %rax, %rsi
movq 0x8(%rsp), %rax
movq 0x38(%rax), %rdx
leaq 0x4f8b8d(%rip), %rdi    # 0x53dc7f
callq 0xf6a50
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x58(%rax)
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0x58(%rax), %rsi
callq 0xf1600
movq 0x8(%rsp), %rax
testb $0x1, 0x44(%rax)
je 0x45175
movq 0x8(%rsp), %rdx
addq $0x24, %rdx
leaq 0x52e342(%rip), %rdi    # 0x573472
leaq 0x4dcb1a(%rip), %rsi    # 0x521c51
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rax)
movq 0x8(%rsp), %rax
movq 0x80(%rax), %rdi
callq 0xf7040
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0x80(%rax), %rsi
callq 0xf1600
jmp 0x4517e
movq 0x8(%rsp), %rax
movb $0x0, 0x24(%rax)
movq (%rsp), %rdi
callq 0xf1720
movq (%rsp), %rax
addq $0x18, %rsp
retq