// File: /workspace/github_c_makefile_star2_O3/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 0xc2001
movq %rdi, %r14
leaq 0x2962ed(%rip), %rdi    # 0x357e32
leaq 0x296323(%rip), %rsi    # 0x357e6f
callq 0x107bfe
movq %rax, %rbx
movq 0x58(%r14), %rdx
leaq 0x2b399a(%rip), %rdi    # 0x3754f9
leaq 0x29283b(%rip), %rsi    # 0x3543a1
callq 0x10a7df
movq %rax, %r15
movq %rax, %rdi
callq 0x10ac1f
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
movq 0x48(%r14), %rdx
leaq 0x2a3fa1(%rip), %rdi    # 0x365b2d
leaq 0x2962fd(%rip), %rsi    # 0x357e90
xorl %ecx, %ecx
callq 0x10a770
movq %rax, %r12
movq %rax, %rdi
callq 0x10ac1f
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
movq 0x38(%r14), %rdx
leaq 0x2f18b8(%rip), %rdi    # 0x3b3473
leaq 0x296323(%rip), %rsi    # 0x357ee5
xorl %ecx, %ecx
callq 0x10a770
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x10a88b
movq %r12, %rdi
movq %r15, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
leaq 0xc(%r14), %rdx
leaq 0x288e28(%rip), %rdi    # 0x34aa20
leaq 0x296304(%rip), %rsi    # 0x357f03
movl $0x1f, %ecx
movl $0x2, %r8d
callq 0x10a51f
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
callq 0x10a87b
leaq 0x14(%r14), %rdx
leaq 0x302608(%rip), %rdi    # 0x3c4238
leaq 0x2962ff(%rip), %rsi    # 0x357f36
movl $0x3, %ecx
movl $0x2, %r8d
callq 0x10a51f
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x8(%r14), %rdx
leaq 0x2962fd(%rip), %rdi    # 0x357f5a
leaq 0x296302(%rip), %rsi    # 0x357f66
xorl %ecx, %ecx
callq 0x10a235
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x28(%r14), %rdx
leaq 0x2c0fbf(%rip), %rdi    # 0x382c40
leaq 0x29632f(%rip), %rsi    # 0x357fb7
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x10a51f
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x10(%r14), %rdx
leaq 0x2c5835(%rip), %rdi    # 0x3874e3
leaq 0x296323(%rip), %rsi    # 0x357fd8
movl $0x32, %ecx
movl $0x1, %r8d
callq 0x10a51f
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
callq 0x10a9d4
leaq 0x18(%r14), %rdx
leaq 0x294d01(%rip), %rdi    # 0x3569e7
leaq 0x288a18(%rip), %rsi    # 0x34a705
xorl %ecx, %ecx
callq 0x10a4fd
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq 0x40(%r14), %rdx
leaq 0x322e3b(%rip), %rdi    # 0x3e4b48
leaq 0x288a0d(%rip), %rsi    # 0x34a721
xorl %ecx, %ecx
callq 0x10a770
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r12, %rdi
movq %r15, %rsi
callq 0x10ab96
movq %r12, %rdi
callq 0x107bec
movq %rax, 0x50(%r14)
leaq 0x24(%r14), %rdx
leaq 0x288cb9(%rip), %rdi    # 0x34aa04
leaq 0x2962a2(%rip), %rsi    # 0x357ff4
xorl %ecx, %ecx
callq 0x10a4fd
movq %rax, %r15
movq %rax, %rdi
callq 0x10a9d4
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
leaq 0x2962a7(%rip), %rdi    # 0x35801d
leaq 0x2962ae(%rip), %rsi    # 0x35802b
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
callq 0x10a9d4
leaq 0x1(%r14), %rdi
callq 0x10a257
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x2(%r14), %rdx
leaq 0x2c4889(%rip), %rdi    # 0x386648
leaq 0x29096e(%rip), %rsi    # 0x352734
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
leaq 0x68(%r14), %rdx
leaq 0x292864(%rip), %rdi    # 0x354655
leaq 0x292864(%rip), %rsi    # 0x35465c
movq $-0x1, %rcx
callq 0x10a2ab
movq %rax, %r15
movq %rax, %rdi
callq 0x10ac1f
movq %r15, %rdi
callq 0x10a9c4
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
leaq 0x70(%r14), %rdx
leaq 0x292873(%rip), %rdi    # 0x3546a0
leaq 0x292874(%rip), %rsi    # 0x3546a8
movl $0x3, %ecx
movl $0x7f, %r8d
callq 0x10a548
movq %rax, %r12
movq %rax, %rdi
callq 0x10a9c4
movq %r12, %rdi
movq %r15, %rsi
callq 0x10a9e4
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
leaq 0x60(%r14), %rdx
leaq 0x2f054f(%rip), %rdi    # 0x3b23bf
leaq 0x29286d(%rip), %rsi    # 0x3546e4
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rax, %rdi
callq 0x10a9c4
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
leaq 0x7(%r14), %rdx
leaq 0x2961bc(%rip), %rdi    # 0x35805b
leaq 0x2961c1(%rip), %rsi    # 0x358067
movl $0x1, %ecx
callq 0x10a235
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
callq 0x10a9d4
leaq 0x6(%r14), %rdx
leaq 0x2888c9(%rip), %rdi    # 0x34a79a
leaq 0x2888ce(%rip), %rsi    # 0x34a7a6
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
callq 0x10a9d4
leaq 0x3(%r14), %rdx
leaq 0x288929(%rip), %rdi    # 0x34a829
leaq 0x28892c(%rip), %rsi    # 0x34a833
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
callq 0x10a9d4
leaq 0x4(%r14), %rdx
leaq 0x296156(%rip), %rdi    # 0x358085
leaq 0x288925(%rip), %r15    # 0x34a85b
movq %r15, %rsi
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r12, %rdi
callq 0x10a9d4
leaq 0x20(%r14), %rdx
leaq 0x288913(%rip), %rdi    # 0x34a874
movq %r15, %rsi
movl $0x5, %ecx
callq 0x10a4fd
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
callq 0x10a9d4
leaq 0x5(%r14), %rdx
leaq 0x2889b3(%rip), %rdi    # 0x34a942
leaq 0x2889b7(%rip), %rsi    # 0x34a94d
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
callq 0x10a9d4
addq $0x1c, %r14
leaq 0x2889ae(%rip), %rdi    # 0x34a96c
leaq 0x2889b2(%rip), %rsi    # 0x34a977
movq %r14, %rdx
movl $0x1, %ecx
callq 0x10a4fd
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r14, %rdi
callq 0x10a9d4
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10873c
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x1ec4a