// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_encseq2spm.c
// Function: gt_encseq2spm_option_parser_new
static GtOptionParser* gt_encseq2spm_option_parser_new(void *tool_arguments)
{
  GtEncseq2spmArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option, *optionparts, *optionmemlimit;

  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("[option ...] [file]",
                            "Compute suffix prefix matches "
                            "from encoded sequence.");

  /* -l */
  option = gt_option_new_uint_min("l", "specify the minimum length",
                                  &arguments->minmatchlength, 0, 1U);
  gt_option_parser_add_option(op, option);
  gt_option_is_mandatory(option);

  /* -parts */
  optionparts = gt_option_new_uint("parts", "specify the number of parts",
                                  &arguments->numofparts, 0U);
  gt_option_parser_add_option(op, optionparts);

  /* -memlimit */
  optionmemlimit = gt_option_new_string("memlimit",
                       "specify maximal amount of memory to be used during "
                       "index construction (in bytes, the keywords 'MB' "
                       "and 'GB' are allowed)",
                       arguments->memlimitarg, NULL);
  gt_option_parser_add_option(op, optionmemlimit);
  gt_option_exclude(optionmemlimit, optionparts);
  arguments->refoptionmemlimit = gt_option_ref(optionmemlimit);

  /* -checksuftab */
  option = gt_option_new_bool("checksuftab", "check the suffix table",
                             &arguments->checksuftab, false);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(option);

  /* -singlestrand */
  option = gt_option_new_bool("singlestrand", "use only the forward strand "
                              "of the sequence",
                              &arguments->singlestrand, false);
  gt_option_parser_add_option(op, option);

  /* -spm */
  option = gt_option_new_string("spm", "specify output for spms",
                                arguments->spmspec, NULL);
  gt_option_parser_add_option(op, option);

  /* -ii */
  option = gt_option_new_string("ii", "specify the input sequence",
                                arguments->encseqinput, NULL);
  gt_option_parser_add_option(op, option);
  gt_option_is_mandatory(option);

  /* -onlyaccum */
  option = gt_option_new_bool("onlyaccum", "only accumulate codes",
                             &arguments->onlyaccum, false);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(option);

  /* -onlyallfirstcodes */
  option = gt_option_new_bool("onlyallfirstcodes", "only determines allcodes",
                              &arguments->onlyallfirstcodes, false);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(option);

  /* -addbscachedepth */
  option = gt_option_new_uint("addbscachedepth", "only determines allcodes",
                              &arguments->addbscache_depth, 5U);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(option);

  /* -phase2extra */
  option = gt_option_new_string("phase2extra",
                       "specify  amount of additional space required for "
                       "the second phase of the computation involving the "
                       "processing of the intervals (in bytes, "
                       "the keywords 'MB' and 'GB' are allowed)",
                       arguments->phase2extraarg, NULL);
  gt_option_parser_add_option(op, option);
  arguments->refoptionphase2extra = gt_option_ref(option);
  gt_option_is_development_option(option);

  /* -radixlarge */
  option = gt_option_new_bool("radixlarge", "use large tables for radixsort",
                              &arguments->radixlarge, false);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(option);

  /* -radixparts */
  option = gt_option_new_uint("radixparts", "specify the number of parts "
                              "for radixsort",
                              &arguments->radixparts, 1U);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(option);

  /* -singlescan */
  option = gt_option_new_uint("singlescan", "run a single scan: 1=fast; "
                              "2=fast with check; 3=fast with output; "
                              "4=sfx-mapped4-version",
                              &arguments->singlescan, 0);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(option);

  /* -forcek */
  option = gt_option_new_uint("forcek", "specify the value of k",
                              &arguments->forcek, 0);
  gt_option_is_development_option(option);
  gt_option_parser_add_option(op, option);

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

  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xa4c67
movq %rdi, %rbx
leaq 0x2aed58(%rip), %rdi    # 0x3536c2
leaq 0x2aed65(%rip), %rsi    # 0x3536d6
callq 0x10cc4e
movq %rax, %r14
leaq 0x8(%rbx), %rdx
leaq 0x2ec5d2(%rip), %rdi    # 0x390f56
leaq 0x2aed80(%rip), %rsi    # 0x35370b
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x10f73b
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fa96
leaq 0xc(%rbx), %rdx
leaq 0x2bb05e(%rip), %rdi    # 0x35fa17
leaq 0x2aed66(%rip), %rsi    # 0x353726
xorl %ecx, %ecx
callq 0x10f719
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x40(%rbx), %rdx
leaq 0x34992c(%rip), %rdi    # 0x3ee30c
leaq 0x2aed5b(%rip), %rsi    # 0x353742
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r12, %rdi
movq %r15, %rsi
callq 0x10fd9f
movq %r12, %rdi
callq 0x10cc3c
movq %rax, 0x50(%rbx)
leaq 0x2aeda1(%rip), %rdi    # 0x3537bb
leaq 0x2aeda6(%rip), %rsi    # 0x3537c7
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x1(%rbx), %rdx
leaq 0x2aed92(%rip), %rdi    # 0x3537de
leaq 0x2aed98(%rip), %rsi    # 0x3537eb
xorl %ecx, %ecx
callq 0x10f451
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x38(%rbx), %rdx
leaq 0x2af028(%rip), %rdi    # 0x353a98
leaq 0x2aeda0(%rip), %rsi    # 0x353817
xorl %ecx, %ecx
callq 0x10f987
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x30(%rbx), %rdx
leaq 0x317fff(%rip), %rdi    # 0x3bca93
leaq 0x2aed94(%rip), %rsi    # 0x35382f
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fa96
leaq 0x4(%rbx), %rdx
leaq 0x2aed87(%rip), %rdi    # 0x35384a
leaq 0x2aed8a(%rip), %rsi    # 0x353854
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x5(%rbx), %rdx
leaq 0x2aed78(%rip), %rdi    # 0x35386a
leaq 0x2aed83(%rip), %r15    # 0x35387c
movq %r15, %rsi
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r12, %rdi
callq 0x10fbef
leaq 0x18(%rbx), %rdx
leaq 0x2aed71(%rip), %rdi    # 0x353895
movq %r15, %rsi
movl $0x5, %ecx
callq 0x10f719
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
movq 0x48(%rbx), %rdx
leaq 0x2aed53(%rip), %rdi    # 0x3538a5
leaq 0x2aed58(%rip), %rsi    # 0x3538b1
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10cc3c
movq %rax, 0x58(%rbx)
movq %r15, %rdi
callq 0x10fbef
leaq 0x6(%rbx), %rdx
leaq 0x2aedd6(%rip), %rdi    # 0x353963
leaq 0x2aedda(%rip), %rsi    # 0x35396e
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x10(%rbx), %rdx
leaq 0x2aedd1(%rip), %rdi    # 0x35398d
leaq 0x2aedd5(%rip), %rsi    # 0x353998
movl $0x1, %ecx
callq 0x10f719
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x14(%rbx), %rdx
leaq 0x2aedd4(%rip), %rdi    # 0x3539c2
leaq 0x2aedd8(%rip), %rsi    # 0x3539cd
xorl %ecx, %ecx
callq 0x10f719
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x1c(%rbx), %rdx
leaq 0x2aee08(%rip), %rdi    # 0x353a25
leaq 0x2aee08(%rip), %rsi    # 0x353a2c
xorl %ecx, %ecx
callq 0x10f719
movq %rax, %r15
movq %rax, %rdi
callq 0x10fbef
movq %r14, %rdi
movq %r15, %rsi
callq 0x10cd10
addq $0x2, %rbx
movq %rbx, %rdi
callq 0x10f473
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x19e2d