// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_cds.c
// Function: gt_cds_option_parser_new
static GtOptionParser* gt_cds_option_parser_new(void *tool_arguments)
{
  CDSArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option;
  gt_assert(arguments);

  op = gt_option_parser_new("[option ...] [GFF3_file]",
                            "Add CDS (coding sequence) features to exon "
                            "features given in GFF3 file.");

  /* -minorflen */
  option = gt_option_new_uint_min("minorflen", "set the minimum length an open "
                                  "reading frame (ORF) must have to be added "
                                  "as a CDS feature (measured in amino acids)",
                                  &arguments->minorflen, 64, 1);
  gt_option_parser_add_option(op, option);

  /* -startcodon */
  option = gt_option_new_bool("startcodon", "require than an ORF must begin "
                              "with a start codon", &arguments->start_codon,
                              false);
  gt_option_parser_add_option(op, option);

  /* -finalstopcodon */
  option = gt_option_new_bool("finalstopcodon", "require that the final ORF "
                              "must end with a stop codon",
                              &arguments->final_stop_codon, false);
  gt_option_parser_add_option(op, option);

  /* -genericstartcodons */
  option = gt_option_new_bool("genericstartcodons", "use generic start codons",
                              &arguments->generic_start_codons, false);
  gt_option_is_development_option(option);
  gt_option_parser_add_option(op, option);

  /* -seqfile, -matchdesc, -usedesc and -regionmapping */
  gt_seqid2file_register_options(op, arguments->s2fi);

  /* -v */
  option = gt_option_new_verbose(&arguments->verbose);
  gt_option_parser_add_option(op, option);

  /* output file options */
  gt_output_file_info_register_options(arguments->ofi, op, &arguments->outfp);

  gt_option_parser_set_comment_func(op, gt_gtdata_show_help, NULL);
  gt_option_parser_set_max_args(op, 1);

  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x9c40b
movq %rdi, %r14
leaq 0x2b2d90(%rip), %rdi    # 0x34f08f
leaq 0x2b2da2(%rip), %rsi    # 0x34f0a8
callq 0x10cc4e
movq %rax, %rbx
leaq 0x2b2ddb(%rip), %rdi    # 0x34f0f0
leaq 0x2b2dde(%rip), %rsi    # 0x34f0fa
movq %r14, %rdx
movl $0x40, %ecx
movl $0x1, %r8d
callq 0x10f73b
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x4(%r14), %rdx
leaq 0x2e0849(%rip), %rdi    # 0x37cb8e
leaq 0x2b2e22(%rip), %rsi    # 0x34f16e
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x5(%r14), %rdx
leaq 0x2b2e37(%rip), %rdi    # 0x34f1a0
leaq 0x2b2e3f(%rip), %rsi    # 0x34f1af
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x6(%r14), %rdx
leaq 0x2b2e58(%rip), %rdi    # 0x34f1e5
leaq 0x2b2e64(%rip), %rsi    # 0x34f1f8
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rax, %rdi
callq 0x10fbef
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x17b366
leaq 0x7(%r14), %rdi
callq 0x10f473
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x10(%r14), %rdi
addq $0x18, %r14
movq %rbx, %rsi
movq %r14, %rdx
callq 0x10ffa3
leaq 0xb7ab1(%rip), %rsi     # 0x153e9c
movq %rbx, %rdi
xorl %edx, %edx
callq 0x10cd8d
movq %rbx, %rdi
movl $0x1, %esi
callq 0x10d775
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
callq 0x18496