// File: /workspace/github_c_makefile_star2_O2/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 0x30094
movq %rdi, %r14
leaq 0x2ba83e(%rip), %rdi    # 0x2ea6a1
leaq 0x2bf746(%rip), %rsi    # 0x2ef5b0
callq 0x97df5
movq %rax, %rbx
leaq 0x3525d8(%rip), %rdi    # 0x382451
leaq 0x2bf75c(%rip), %rsi    # 0x2ef5dc
pushq $0x3
popq %rcx
pushq $0x1
popq %r8
pushq $0xa
popq %r9
movq %r14, %rdx
callq 0x9ac13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x18(%r14), %rdx
leaq 0x2b7244(%rip), %rdi    # 0x2e70ed
leaq 0x2bf73a(%rip), %rsi    # 0x2ef5ea
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x19(%r14), %rdx
leaq 0x2bf858(%rip), %rdi    # 0x2ef728
leaq 0x2bf731(%rip), %rsi    # 0x2ef608
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x1a(%r14), %rdx
leaq 0x2bf7ea(%rip), %rdi    # 0x2ef6e1
leaq 0x2bf7ee(%rip), %rsi    # 0x2ef6ec
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r12, %rdi
movq %r13, %rsi
callq 0x9b14d
leaq 0x10(%r14), %rdx
leaq 0x2f576e(%rip), %rdi    # 0x325697
leaq 0x2bf803(%rip), %rsi    # 0x2ef733
pushq $0x1e
popq %rcx
pushq $0x1
popq %r8
callq 0x9ac58
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r13, %rdi
movq %r12, %rsi
callq 0x9b14d
leaq 0x1c(%r14), %rdx
leaq 0x2f5777(%rip), %rdi    # 0x3256d7
leaq 0x2bf806(%rip), %rsi    # 0x2ef76d
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %rbp
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %rbp, %rdi
movq %r12, %rsi
callq 0x9b14d
movq %rbp, %rdi
movq %r13, %rsi
callq 0x9b38d
leaq 0x1b(%r14), %rdx
leaq 0x2f57a8(%rip), %rdi    # 0x325745
leaq 0x2bf800(%rip), %rsi    # 0x2ef7a4
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r13, %rdi
movq %r12, %rsi
callq 0x9b14d
leaq 0x1d(%r14), %rdx
leaq 0x2bf81b(%rip), %rdi    # 0x2ef7ea
leaq 0x2bf81d(%rip), %rsi    # 0x2ef7f3
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r13, %rdi
movq %r12, %rsi
callq 0x9b38d
movq %r13, %rdi
movq %r15, %rsi
callq 0x9b38d
leaq 0x1e(%r14), %rdx
leaq 0x2b7abe(%rip), %rdi    # 0x2e7aca
leaq 0x2bf85d(%rip), %rsi    # 0x2ef870
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x8(%r14), %rdx
leaq 0x2f65b3(%rip), %rdi    # 0x3265e3
leaq 0x2bf895(%rip), %rsi    # 0x2ef8cc
pushq $0x2
popq %r8
movl $0x186a0, %ecx          # imm = 0x186A0
callq 0x9ac58
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r15, %rdi
movq %r13, %rsi
callq 0x9b38d
movq 0x20(%r14), %rdx
leaq 0x2bf876(%rip), %rdi    # 0x2ef8df
leaq 0x2bf877(%rip), %rsi    # 0x2ef8e7
xorl %ecx, %ecx
callq 0x9ad12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x407ecd(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2b4f6e(%rip), %rsi    # 0x2e5013
leaq 0x3185a7(%rip), %rdx    # 0x348653
leaq 0x2bf4da(%rip), %rcx    # 0x2ef58d
leaq 0x2bf4b6(%rip), %r8     # 0x2ef570
pushq $0x4d
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390