// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_seqcorrect.c
// Function: gt_seqcorrect_option_parser_new
static GtOptionParser* gt_seqcorrect_option_parser_new(void *tool_arguments)
{
  GtSeqcorrectArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option, *optionparts, *optionmemlimit, *q_option, *v_option,
           *db_option, *maxlow_option;

  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("(-ii <indexname>|-db <filenames>) "
      "-k <kmersize> [option ...]", "K-mer based sequence correction.");

  /* -db */
  db_option = gt_option_new_filename_array("db",
      GT_READS2TWOBIT_LIBSPEC_HELPMSG, arguments->db);
  gt_option_hide_default(db_option);
  gt_option_parser_add_option(op, db_option);

  /* -indexname */
  option = gt_option_new_string("indexname", "specify the indexname to use "
      "for the input\ndefault: first argument of the -db option",
      arguments->indexname, NULL);
  gt_option_hide_default(option);
  gt_option_parser_add_option(op, option);

  /* -ii */
  option = gt_option_new_string("ii", "specify the input enseq index",
                                arguments->encseqinput, NULL);
  gt_option_is_mandatory_either(option, db_option);
  gt_option_exclude(option, db_option);
  gt_option_parser_add_option(op, option);

  /* -k */
  option = gt_option_new_uint_min("k", "specify the kmer size for the "
      "correction algorithm", &arguments->correction_kmersize, 31U, 2U);
  gt_option_parser_add_option(op, option);
  gt_option_is_mandatory(option);

  /* -c */
  option = gt_option_new_uint_min("c", "specify the trusted count threshold",
      &arguments->trusted_count, 3U, 2U);
  gt_option_parser_add_option(op, option);

  /* -find-seldom */
  option = gt_option_new_bool("find-seldom", "do not try to correct, only "
      "prepare a list of all reads containing seldom k-mers",
      &arguments->find_seldom, false);
  gt_option_parser_add_option(op, option);

  /* -iter */
  option = gt_option_new_uint_min("iter", "specify the number of iterations",
      &arguments->iterations, 1U, 1U);
  gt_option_parser_add_option(op, option);

  /* -sf */
  option = gt_option_new_uint_min("sf", "specify the sampling factor",
                                  &arguments->samplingfactor, 50U, 1U);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(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);

  /* -forcek */
  option = gt_option_new_uint("forcek", "specify the kmersize for the bucket "
      "keys", &arguments->forcek, 0);
  gt_option_is_development_option(option);
  gt_option_parser_add_option(op, option);

  /* -usefirstcodes */
  option = gt_option_new_bool("usefirstcodes", "use first codes instead of "
      "random sampled codes", &arguments->usefirstcodes, false);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(option);

  /* -v */
  v_option = gt_option_new_verbose(&arguments->verbose);
  gt_option_parser_add_option(op, v_option);

  /* -q */
  q_option = gt_option_new_bool("q",
      "suppress standard output messages",
      &arguments->quiet, false);
  gt_option_exclude(q_option, v_option);
  gt_option_parser_add_option(op, q_option);

  /* -maxlow */
  maxlow_option = gt_option_new_uword("maxlow",
      "maximal number of low-quality positions in a read\n"
      "default: infinite",
      &arguments->maxlow, GT_UNDEF_UWORD);
  gt_option_hide_default(maxlow_option);
  gt_option_is_extended_option(maxlow_option);
  gt_option_parser_add_option(op, maxlow_option);

  /* -lowqual */
  option = gt_option_new_uint_max("lowqual",
      "maximal quality for a position to be considered low-quality",
      &arguments->lowqual, 3U, 127U);
  gt_option_is_extended_option(option);
  gt_option_imply(option, maxlow_option);
  gt_option_parser_add_option(op, option);

  /* -phred64 */
  option = gt_option_new_bool("phred64", "use phred64 scores for FastQ format",
      &arguments->phred64, false);
  gt_option_is_extended_option(option);
  gt_option_parser_add_option(op, option);

  /* -usemaxdepth */
  option = gt_option_new_bool("usemaxdepth", "use maxdepth in sortremaining",
                             &arguments->usemaxdepth, true);
  gt_option_parser_add_option(op, option);
  gt_option_is_development_option(option);

  /* -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);

  /* -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);

  /* -onlyallrandomcodes */
  option = gt_option_new_bool("onlyallrandomcodes", "only determines allcodes",
                              &arguments->onlyallrandomcodes, 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);

  /* -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);

  gt_option_parser_set_max_args(op, 0);

  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xc40f5
movq %rdi, %r14
leaq 0x29d24c(%rip), %rdi    # 0x360e85
leaq 0x29d282(%rip), %rsi    # 0x360ec2
callq 0x10cc4e
movq %rax, %rbx
movq 0x58(%r14), %rdx
leaq 0x2bab26(%rip), %rdi    # 0x37e779
leaq 0x29977f(%rip), %rsi    # 0x35d3d9
callq 0x10f9f6
movq %rax, %r15
movq %rax, %rdi
callq 0x10fe32
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
movq 0x48(%r14), %rdx
leaq 0x2ab092(%rip), %rdi    # 0x36ed12
leaq 0x29d25c(%rip), %rsi    # 0x360ee3
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r12
movq %rax, %rdi
callq 0x10fe32
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10cd10
movq 0x38(%r14), %rdx
leaq 0x2f8de4(%rip), %rdi    # 0x3bca93
leaq 0x29d282(%rip), %rsi    # 0x360f38
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x10faa6
movq %r12, %rdi
movq %r15, %rsi
callq 0x10fd9f
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10cd10
leaq 0xc(%r14), %rdx
leaq 0x28fd55(%rip), %rdi    # 0x353a41
leaq 0x29d263(%rip), %rsi    # 0x360f56
movl $0x1f, %ecx
movl $0x2, %r8d
callq 0x10f73b
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fa96
leaq 0x14(%r14), %rdx
leaq 0x309c3c(%rip), %rdi    # 0x3cd960
leaq 0x29d25e(%rip), %rsi    # 0x360f89
movl $0x3, %ecx
movl $0x2, %r8d
callq 0x10f73b
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x8(%r14), %rdx
leaq 0x29d25c(%rip), %rdi    # 0x360fad
leaq 0x29d261(%rip), %rsi    # 0x360fb9
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x28(%r14), %rdx
leaq 0x2c828e(%rip), %rdi    # 0x38c003
leaq 0x29d28e(%rip), %rsi    # 0x36100a
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x10f73b
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x10(%r14), %rdx
leaq 0x2ccb1a(%rip), %rdi    # 0x3908bc
leaq 0x29d282(%rip), %rsi    # 0x36102b
movl $0x32, %ecx
movl $0x1, %r8d
callq 0x10f73b
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x18(%r14), %rdx
leaq 0x29bc3d(%rip), %rdi    # 0x35fa17
leaq 0x28f945(%rip), %rsi    # 0x353726
xorl %ecx, %ecx
callq 0x10f719
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x40(%r14), %rdx
leaq 0x32a50b(%rip), %rdi    # 0x3ee30c
leaq 0x28f93a(%rip), %rsi    # 0x353742
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r12, %rdi
movq %r15, %rsi
callq 0x10fd9f
movq %r12, %rdi
callq 0x10cc3c
movq %rax, 0x50(%r14)
leaq 0x24(%r14), %rdx
leaq 0x28fbe6(%rip), %rdi    # 0x353a25
leaq 0x29d201(%rip), %rsi    # 0x361047
xorl %ecx, %ecx
callq 0x10f719
movq %rax, %r15
movq %rax, %rdi
callq 0x10fbef
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
leaq 0x29d206(%rip), %rdi    # 0x361070
leaq 0x29d20d(%rip), %rsi    # 0x36107e
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x1(%r14), %rdi
callq 0x10f473
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x2(%r14), %rdx
leaq 0x2cbb75(%rip), %rdi    # 0x38fa28
leaq 0x2978b2(%rip), %rsi    # 0x35b76c
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x10fd9f
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10cd10
leaq 0x68(%r14), %rdx
leaq 0x2997a8(%rip), %rdi    # 0x35d68d
leaq 0x2997a8(%rip), %rsi    # 0x35d694
movq $-0x1, %rcx
callq 0x10f4c7
movq %rax, %r15
movq %rax, %rdi
callq 0x10fe32
movq %r15, %rdi
callq 0x10fbdf
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
leaq 0x70(%r14), %rdx
leaq 0x2997b7(%rip), %rdi    # 0x35d6d8
leaq 0x2997b8(%rip), %rsi    # 0x35d6e0
movl $0x3, %ecx
movl $0x7f, %r8d
callq 0x10f764
movq %rax, %r12
movq %rax, %rdi
callq 0x10fbdf
movq %r12, %rdi
movq %r15, %rsi
callq 0x10fbff
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10cd10
leaq 0x60(%r14), %rdx
leaq 0x2f7a5b(%rip), %rdi    # 0x3bb9bf
leaq 0x2997b1(%rip), %rsi    # 0x35d71c
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rax, %rdi
callq 0x10fbdf
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
leaq 0x7(%r14), %rdx
leaq 0x29d11b(%rip), %rdi    # 0x3610ae
leaq 0x29d120(%rip), %rsi    # 0x3610ba
movl $0x1, %ecx
callq 0x10f451
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x6(%r14), %rdx
leaq 0x28f7f6(%rip), %rdi    # 0x3537bb
leaq 0x28f7fb(%rip), %rsi    # 0x3537c7
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x3(%r14), %rdx
leaq 0x28f856(%rip), %rdi    # 0x35384a
leaq 0x28f859(%rip), %rsi    # 0x353854
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x4(%r14), %rdx
leaq 0x29d0b5(%rip), %rdi    # 0x3610d8
leaq 0x28f852(%rip), %r15    # 0x35387c
movq %r15, %rsi
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r12, %rdi
callq 0x10fbef
leaq 0x20(%r14), %rdx
leaq 0x28f840(%rip), %rdi    # 0x353895
movq %r15, %rsi
movl $0x5, %ecx
callq 0x10f719
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
leaq 0x5(%r14), %rdx
leaq 0x28f8e0(%rip), %rdi    # 0x353963
leaq 0x28f8e4(%rip), %rsi    # 0x35396e
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
addq $0x1c, %r14
leaq 0x28f8db(%rip), %rdi    # 0x35398d
leaq 0x28f8df(%rip), %rsi    # 0x353998
movq %r14, %rdx
movl $0x1, %ecx
callq 0x10f719
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r14, %rdi
callq 0x10fbef
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10d775
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x1efd4