// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/tools/gt_kmer_database.c
// Function: gt_kmer_database_option_parser_new
static GtOptionParser* gt_kmer_database_option_parser_new(void *tool_arguments)
{
  GtKmerDatabaseArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option,
           *option_verbose,
           *option_use_cutoff,
           *option_hash,
           *option_mean_cutoff;
  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("[option ...] [file]",
                            "Makes a GtKmerDatabase from the input file.");

  /* -kmersize */
  option = gt_option_new_uint_min_max("kmersize", "kmersize used",
                                  &arguments->kmersize, 3U, 1U, 10U);
  gt_option_parser_add_option(op, option);

  /* -verbose */
  option_verbose = gt_option_new_bool("verbose", "prints out results of "
                                      "merging",
                                      &arguments->verbose, false);
  gt_option_parser_add_option(op, option_verbose);

  /* -merge_only */
  option = gt_option_new_bool("merge_only", "only uses merge to build DB, "
                              "doesn_t build two DBs to compare merge with a "
                              "different method (much faster). It also allows "
                              "for random intervals which are biffer than the "
                              "maximum buffer size (will be split internally).",
                              &arguments->merge_only, false);
  gt_option_parser_add_option(op, option);

  /* -use_cutoff */
  option_use_cutoff = gt_option_new_bool("use_cutoff", "uses a cutoff. see "
                                         "-set_cutoff description. Only works "
                                         "with merge_only",
                                         &arguments->cutoff, false);
  gt_option_parser_add_option(op, option_use_cutoff);
  gt_option_imply(option_use_cutoff, option);

  /* -set_cutoff */
  option = gt_option_new_uword_min("set_cutoff", "kmers occurring more often "
                                   "than this value won't be saved",
                                   &arguments->cutoff_value, (GtUword) 30,
                                   (GtUword) 1);
  gt_option_parser_add_option(op, option);
  gt_option_imply(option, option_use_cutoff);

  /* -mean_cutoff */
  option_mean_cutoff = gt_option_new_bool("mean_cutoff", "2*mean of kmer "
                                          "occurrence will be"
                                          " used as cutoff value",
                                          &arguments->mean_cutoff, false);
  gt_option_parser_add_option(op, option_mean_cutoff);
  gt_option_imply(option_mean_cutoff, option_use_cutoff);
  gt_option_exclude(option_mean_cutoff, option);

  /* -disable_prune */
  option = gt_option_new_bool("disable_prune", "disables the removal of kmers "
                              "which occur more often than the cutoff.",
                              &arguments->prune, false);
  gt_option_parser_add_option(op, option);
  gt_option_imply(option, option_use_cutoff);

  /* -use_hash */
  option_hash = gt_option_new_bool("use_hash", "saves each kmer in kdb and "
                                   "also in a hash. afterwards both will be "
                                   "accessed and time for saving and "
                                   "accessing will be shown.",
                                   &arguments->use_hash, false);
  gt_option_parser_add_option(op, option_hash);
  gt_option_exclude(option_hash, option_use_cutoff);
  gt_option_exclude(option_hash, option_verbose);

  /* -benchmark */
  option = gt_option_new_bool("benchmark", "measures the time the tool takes to"
                              " fill the database. Doesn't test for consistency"
                              " though!", &arguments->bench, false);
  gt_option_parser_add_option(op, option);

  /* -bsize */
  option = gt_option_new_uword_min("bsize", "size of the buffer",
                                   &arguments->sb_size, (GtUword) 100000,
                                   (GtUword) 2);
  gt_option_parser_add_option(op, option);
  gt_option_exclude(option, option_hash);

  /* -outfile */
  option = gt_option_new_string("outfile", "specifies file for verbose output",
                                arguments->print_filename, NULL);
  gt_option_parser_add_option(op, option);

  return op;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xad14c
movq %rdi, %r14
leaq 0x29d792(%rip), %rdi    # 0x34a6a1
leaq 0x2a269a(%rip), %rsi    # 0x34f5b0
callq 0x107bfe
movq %rax, %rbx
leaq 0x33514c(%rip), %rdi    # 0x3e2071
leaq 0x2a26b0(%rip), %rsi    # 0x34f5dc
movq %r14, %rdx
movl $0x3, %ecx
movl $0x1, %r8d
movl $0xa, %r9d
callq 0x10a571
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x18(%r14), %rdx
leaq 0x29a192(%rip), %rdi    # 0x3470ed
leaq 0x2a2688(%rip), %rsi    # 0x34f5ea
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x19(%r14), %rdx
leaq 0x2a27a6(%rip), %rdi    # 0x34f728
leaq 0x2a267f(%rip), %rsi    # 0x34f608
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x1a(%r14), %rdx
leaq 0x2a2738(%rip), %rdi    # 0x34f6e1
leaq 0x2a273c(%rip), %rsi    # 0x34f6ec
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r12, %rdi
movq %r13, %rsi
callq 0x10a9e4
leaq 0x10(%r14), %rdx
leaq 0x2d82a9(%rip), %rdi    # 0x385284
leaq 0x2a2751(%rip), %rsi    # 0x34f733
movl $0x1e, %ecx
movl $0x1, %r8d
callq 0x10a5d1
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r13, %rdi
movq %r12, %rsi
callq 0x10a9e4
leaq 0x1c(%r14), %rdx
leaq 0x2d82ae(%rip), %rdi    # 0x3852c4
leaq 0x2a2750(%rip), %rsi    # 0x34f76d
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %rbp
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %rbp, %rdi
movq %r12, %rsi
callq 0x10a9e4
movq %rbp, %rdi
movq %r13, %rsi
callq 0x10ab96
leaq 0x1b(%r14), %rdx
leaq 0x2d82df(%rip), %rdi    # 0x385332
leaq 0x2a274a(%rip), %rsi    # 0x34f7a4
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r13, %rdi
movq %r12, %rsi
callq 0x10a9e4
leaq 0x1d(%r14), %rdx
leaq 0x2a2765(%rip), %rdi    # 0x34f7ea
leaq 0x2a2767(%rip), %rsi    # 0x34f7f3
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r13, %rdi
movq %r12, %rsi
callq 0x10ab96
movq %r13, %rdi
movq %r15, %rsi
callq 0x10ab96
leaq 0x1e(%r14), %rdx
leaq 0x29aa08(%rip), %rdi    # 0x347aca
leaq 0x2a27a7(%rip), %rsi    # 0x34f870
xorl %ecx, %ecx
callq 0x10a235
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x8(%r14), %rdx
leaq 0x2d90fd(%rip), %rdi    # 0x3861e3
leaq 0x2a27df(%rip), %rsi    # 0x34f8cc
movl $0x186a0, %ecx          # imm = 0x186A0
movl $0x2, %r8d
callq 0x10a5d1
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
movq %r13, %rsi
callq 0x10ab96
movq 0x20(%r14), %rdx
leaq 0x2a27be(%rip), %rdi    # 0x34f8df
leaq 0x2a27bf(%rip), %rsi    # 0x34f8e7
xorl %ecx, %ecx
callq 0x10a770
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1bfb6