// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x38(%rsp)
cmpq $0x0, 0x38(%rsp)
jne 0x3f733
movq 0x5fc89e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d6907(%rip), %rsi    # 0x516013
leaq 0x53b44c(%rip), %rdx    # 0x57ab5f
leaq 0x4e0ee6(%rip), %rcx    # 0x520600
leaq 0x4e0ec2(%rip), %r8     # 0x5205e3
movl $0x4d, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x3f735
leaq 0x4dbfbe(%rip), %rdi    # 0x51b6fa
leaq 0x4e0ee0(%rip), %rsi    # 0x520623
callq 0xf1420
movq %rax, 0x30(%rsp)
movq 0x38(%rsp), %rdx
leaq 0x577f68(%rip), %rdi    # 0x5b76c1
leaq 0x4e0eef(%rip), %rsi    # 0x52064f
movl $0x3, %ecx
movl $0x1, %r8d
movl $0xa, %r9d
callq 0xf65d0
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x38(%rsp), %rdx
addq $0x18, %rdx
leaq 0x4d898d(%rip), %rdi    # 0x518127
leaq 0x4e0ebc(%rip), %rsi    # 0x52065d
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x20(%rsp)
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf1600
movq 0x38(%rsp), %rdx
addq $0x19, %rdx
leaq 0x4e0fcf(%rip), %rdi    # 0x52079b
leaq 0x4e0ea8(%rip), %rsi    # 0x52067b
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x38(%rsp), %rdx
addq $0x1a, %rdx
leaq 0x4e0f56(%rip), %rdi    # 0x520754
leaq 0x4e0f5a(%rip), %rsi    # 0x52075f
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x18(%rsp)
movq 0x30(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf7090
movq 0x38(%rsp), %rdx
addq $0x10, %rdx
leaq 0x5181a0(%rip), %rdi    # 0x5579df
leaq 0x4e0f60(%rip), %rsi    # 0x5207a6
movl $0x1e, %ecx
movl $0x1, %r8d
callq 0xf66b0
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x28(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf7090
movq 0x38(%rsp), %rdx
addq $0x1c, %rdx
leaq 0x518196(%rip), %rdi    # 0x557a1f
leaq 0x4e0f50(%rip), %rsi    # 0x5207e0
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf7090
movq 0x8(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf7320
movq 0x38(%rsp), %rdx
addq $0x1b, %rdx
leaq 0x5181b4(%rip), %rdi    # 0x557a8d
leaq 0x4e0f37(%rip), %rsi    # 0x520817
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x28(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf7090
movq 0x38(%rsp), %rdx
addq $0x1d, %rdx
leaq 0x4e0f43(%rip), %rdi    # 0x52085d
leaq 0x4e0f45(%rip), %rsi    # 0x520866
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0xf1600
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf7320
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf7320
movq 0x38(%rsp), %rdx
addq $0x1e, %rdx
leaq 0x4d91a8(%rip), %rdi    # 0x518b12
leaq 0x4e0f72(%rip), %rsi    # 0x5208e3
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x38(%rsp), %rdx
addq $0x8, %rdx
leaq 0x518fbe(%rip), %rdi    # 0x55895a
leaq 0x4e0f9c(%rip), %rsi    # 0x52093f
movl $0x186a0, %ecx          # imm = 0x186A0
movl $0x2, %r8d
callq 0xf66b0
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x28(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0xf7320
movq 0x38(%rsp), %rax
movq 0x20(%rax), %rdx
leaq 0x4e0f6c(%rip), %rdi    # 0x520952
leaq 0x4e0f6d(%rip), %rsi    # 0x52095a
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x30(%rsp), %rax
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)