// File: /workspace/github_c_makefile_star2_O1/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 0xaf494
movq %rdi, %r14
leaq 0x2a446b(%rip), %rdi    # 0x3536c2
leaq 0x2a9382(%rip), %rsi    # 0x3585e0
callq 0x10cc4e
movq %rax, %rbx
leaq 0x33c528(%rip), %rdi    # 0x3eb795
leaq 0x2a9398(%rip), %rsi    # 0x35860c
movq %r14, %rdx
movl $0x3, %ecx
movl $0x1, %r8d
movl $0xa, %r9d
callq 0x10f78d
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x18(%r14), %rdx
leaq 0x2a0e4a(%rip), %rdi    # 0x3500ed
leaq 0x2a9370(%rip), %rsi    # 0x35861a
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x19(%r14), %rdx
leaq 0x2a948e(%rip), %rdi    # 0x358758
leaq 0x2a9367(%rip), %rsi    # 0x358638
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x1a(%r14), %rdx
leaq 0x2a9420(%rip), %rdi    # 0x358711
leaq 0x2a9424(%rip), %rsi    # 0x35871c
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r12, %rdi
movq %r13, %rsi
callq 0x10fbff
leaq 0x10(%r14), %rdx
leaq 0x2df339(%rip), %rdi    # 0x38e65c
leaq 0x2a9439(%rip), %rsi    # 0x358763
movl $0x1e, %ecx
movl $0x1, %r8d
callq 0x10f7ed
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r13, %rdi
movq %r12, %rsi
callq 0x10fbff
leaq 0x1c(%r14), %rdx
leaq 0x2df33e(%rip), %rdi    # 0x38e69c
leaq 0x2a9438(%rip), %rsi    # 0x35879d
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %rbp
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %rbp, %rdi
movq %r12, %rsi
callq 0x10fbff
movq %rbp, %rdi
movq %r13, %rsi
callq 0x10fd9f
leaq 0x1b(%r14), %rdx
leaq 0x2df36f(%rip), %rdi    # 0x38e70a
leaq 0x2a9432(%rip), %rsi    # 0x3587d4
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r13, %rdi
movq %r12, %rsi
callq 0x10fbff
leaq 0x1d(%r14), %rdx
leaq 0x2a944d(%rip), %rdi    # 0x35881a
leaq 0x2a944f(%rip), %rsi    # 0x358823
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r13, %rdi
movq %r12, %rsi
callq 0x10fd9f
movq %r13, %rdi
movq %r15, %rsi
callq 0x10fd9f
leaq 0x1e(%r14), %rdx
leaq 0x2a16c0(%rip), %rdi    # 0x350aca
leaq 0x2a948f(%rip), %rsi    # 0x3588a0
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x8(%r14), %rdx
leaq 0x2e0195(%rip), %rdi    # 0x38f5c3
leaq 0x2a94c7(%rip), %rsi    # 0x3588fc
movl $0x186a0, %ecx          # imm = 0x186A0
movl $0x2, %r8d
callq 0x10f7ed
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
movq %r13, %rsi
callq 0x10fd9f
movq 0x20(%r14), %rdx
leaq 0x2a94a6(%rip), %rdi    # 0x35890f
leaq 0x2a94a7(%rip), %rsi    # 0x358917
xorl %ecx, %ecx
callq 0x10f987
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1c0b2