// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_tallymer.c
// Function: gt_tyr_mkindex_option_parser_new
static GtOptionParser *gt_tyr_mkindex_option_parser_new(void *tool_arguments)
{
  GtOptionParser *op;
  GtOption *option,
           *optionminocc,
           *optionmaxocc,
           *optionpl,
           *optionstoreindex,
           *optionstorecounts,
           *optionscan,
           *optionesa;
  Tyr_mkindex_options *arguments = tool_arguments;

  op = gt_option_parser_new("[options] -esa suffixerator-index [options]",
                            "Count and index k-mers in the given enhanced "
                            "suffix array for a fixed value of k.");
  gt_option_parser_set_mail_address(op, "<kurtz@zbh.uni-hamburg.de>");

  optionesa = gt_option_new_string("esa","specify suffixerator-index\n"
                                   "(mandatory option)",
                                   arguments->str_inputindex,
                                   NULL);
  gt_option_is_mandatory(optionesa);
  gt_option_parser_add_option(op, optionesa);

  option = gt_option_new_uword("mersize",
                               "Specify the mer size.",
                               &arguments->mersize,
                               20UL);
  gt_option_parser_add_option(op, option);

  optionminocc
    = gt_option_new_uword("minocc",
                          "Specify the minimum occurrence number for "
                          "the mers to output/index",
                          &arguments->userdefinedminocc,
                          0);
  gt_option_parser_add_option(op, optionminocc);

  optionmaxocc
    = gt_option_new_uword("maxocc",
                          "Specify the maximum occurrence number for "
                          "the mers to output/index",
                          &arguments->userdefinedmaxocc,
                          0);
  gt_option_parser_add_option(op, optionmaxocc);

  optionpl = gt_option_new_uint_min("pl",
                 "specify prefix length for bucket boundary construction\n"
                 "recommendation: use without argument;\n"
                 "then a reasonable prefix length is automatically determined",
                 &arguments->userdefinedprefixlength,
                 0,
                 1U);
  gt_option_argument_is_optional(optionpl);
  gt_option_parser_add_option(op, optionpl);
  arguments->refoptionpl = gt_option_ref(optionpl);

  optionstoreindex = gt_option_new_string("indexname",
                                          "store the mers specified by options "
                                          "-maxocc and -minocc in an index",
                                          arguments->str_storeindex, NULL);
  gt_option_parser_add_option(op, optionstoreindex);

  optionstorecounts = gt_option_new_bool("counts", "store counts of the mers",
                                         &arguments->storecounts,false);
  gt_option_parser_add_option(op, optionstorecounts);

  option = gt_option_new_bool("test", "perform tests to verify program "
                                      "correctness", &arguments->performtest,
                                      false);
  gt_option_is_development_option(option);
  gt_option_parser_add_option(op, option);

  optionscan = gt_option_new_bool("scan",
                                  "read enhanced suffix array sequentially "
                                  "instead of mapping it to memory",
                                  &arguments->scanfile,
                                  false);
  gt_option_parser_add_option(op, optionscan);

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

  gt_option_imply(optionpl, optionstoreindex);
  gt_option_imply(optionstorecounts, optionstoreindex);
  gt_option_imply_either_2(optionstoreindex,optionminocc,optionmaxocc);
  return op;
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq %rax, (%rsp)
leaq 0x4b4510(%rip), %rdi    # 0x52d929
leaq 0x4b4535(%rip), %rsi    # 0x52d955
callq 0xf1420
movq %rax, 0x48(%rsp)
movq 0x48(%rsp), %rdi
leaq 0x49deae(%rip), %rsi    # 0x5172e4
callq 0xf1a10
movq (%rsp), %rax
movq 0x38(%rax), %rdx
leaq 0x4b18fe(%rip), %rdi    # 0x52ad48
leaq 0x4b4556(%rip), %rsi    # 0x52d9a7
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0xf6ca0
movq 0x48(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq (%rsp), %rdx
leaq 0x4b4cdd(%rip), %rdi    # 0x52e160
leaq 0x4b454b(%rip), %rsi    # 0x52d9d5
movl $0x14, %ecx
callq 0xf5fe0
movq %rax, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xf1600
movq (%rsp), %rdx
addq $0x8, %rdx
leaq 0x4b4534(%rip), %rdi    # 0x52d9eb
leaq 0x4b4534(%rip), %rsi    # 0x52d9f2
xorl %eax, %eax
movl %eax, %ecx
callq 0xf5fe0
movq %rax, 0x38(%rsp)
movq 0x48(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0xf1600
movq (%rsp), %rdx
addq $0x10, %rdx
leaq 0x4b41af(%rip), %rdi    # 0x52d699
leaq 0x4b4544(%rip), %rsi    # 0x52da35
xorl %eax, %eax
movl %eax, %ecx
callq 0xf5fe0
movq %rax, 0x30(%rsp)
movq 0x48(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0xf1600
movq (%rsp), %rdx
addq $0x18, %rdx
leaq 0x4c8055(%rip), %rdi    # 0x541572
leaq 0x4b4554(%rip), %rsi    # 0x52da78
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0xf6510
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rdi
callq 0xf7450
movq 0x48(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x28(%rsp), %rdi
callq 0xf13c0
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x28(%rax)
movq (%rsp), %rax
movq 0x30(%rax), %rdx
leaq 0x4bd86c(%rip), %rdi    # 0x536ddf
leaq 0x4b4597(%rip), %rsi    # 0x52db11
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, 0x20(%rsp)
movq 0x48(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf1600
movq (%rsp), %rdx
addq $0x40, %rdx
leaq 0x4f0120(%rip), %rdi    # 0x5696c6
leaq 0x4b45a8(%rip), %rsi    # 0x52db55
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x18(%rsp)
movq 0x48(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf1600
movq (%rsp), %rdx
addq $0x41, %rdx
leaq 0x49f454(%rip), %rdi    # 0x518a2b
leaq 0x4b4590(%rip), %rsi    # 0x52db6e
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rdi
callq 0xf7040
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xf1600
movq (%rsp), %rdx
addq $0x43, %rdx
leaq 0x4a4f44(%rip), %rdi    # 0x51e556
leaq 0x4b4581(%rip), %rsi    # 0x52db9a
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x10(%rsp)
movq 0x48(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0xf1600
movq (%rsp), %rdi
addq $0x42, %rdi
callq 0xf5f90
movq %rax, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xf1600
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf7090
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf7090
movq 0x20(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x30(%rsp), %rdx
callq 0xf7150
movq 0x48(%rsp), %rax
addq $0x58, %rsp
retq
nopw %cs:(%rax,%rax)