// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/tools/gt_extractfeat.c
// Function: gt_extractfeat_option_parser_new
static GtOptionParser* gt_extractfeat_option_parser_new(void *tool_arguments)
{
  GtExtractFeatArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option;
  gt_assert(arguments);

  op = gt_option_parser_new("[option ...] [GFF3_file]",
                            "Extract features given in GFF3 file from "
                            "sequence file.");

  /* -type */
  option = gt_option_new_string("type", "set type of features to extract",
                                arguments->type, NULL);
  gt_option_is_mandatory(option);
  gt_option_parser_add_option(op, option);

  /* -join */
  option = gt_option_new_bool("join", "join feature sequences in the same "
                              "subgraph into a single one", &arguments->join,
                              false);
  gt_option_parser_add_option(op, option);

  /* -translate */
  option = gt_option_new_bool("translate", "translate the features (of a DNA "
                              "sequence) into protein", &arguments->translate,
                              false);
  gt_option_parser_add_option(op, option);

  /* -seqid */
  option = gt_option_new_bool("seqid", "add sequence ID of extracted features "
                              "to FASTA descriptions", &arguments->seqid,
                              false);
  gt_option_parser_add_option(op, option);

  /* -target */
  option = gt_option_new_bool("target", "add target ID(s) of extracted "
                              "features to FASTA descriptions",
                              &arguments->target, false);
  gt_option_parser_add_option(op, option);

  /* -coords */
  option = gt_option_new_bool("coords", "add location of extracted features "
                              "to FASTA descriptions", &arguments->showcoords,
                              false);
  gt_option_parser_add_option(op, option);

  /* -retainids */
  option = gt_option_new_bool("retainids", "use ID attributes of extracted "
                              "features as FASTA descriptions",
                              &arguments->retainids, false);
  gt_option_parser_add_option(op, option);

  /* -gcode */
  option = gt_option_new_uint_min("gcode", "specify genetic code to use",
                                  &arguments->gcode,
                                  GT_STANDARD_TRANSLATION_SCHEME, 1U);
  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);

  /* -width */
  option = gt_option_new_width(&arguments->width);
  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_extractfeat_comment_func, NULL);
  gt_option_parser_set_max_args(op, 1);

  return op;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x28b8e
movq %rdi, %r14
leaq 0x2bd6b0(%rip), %rdi    # 0x2e608f
leaq 0x2c38ce(%rip), %rsi    # 0x2ec2b4
callq 0x97df5
movq %rax, %rbx
movq 0x10(%r14), %rdx
leaq 0x30ed8f(%rip), %rdi    # 0x337788
leaq 0x2c38ec(%rip), %rsi    # 0x2ec2ec
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, %r15
movq %rax, %rdi
callq 0x9ae37
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
leaq 0x3502d5(%rip), %rdi    # 0x378cf9
leaq 0x2c38e1(%rip), %rsi    # 0x2ec30c
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x1(%r14), %rdx
leaq 0x31591d(%rip), %rdi    # 0x33e368
leaq 0x2c38f8(%rip), %rsi    # 0x2ec34a
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x2(%r14), %rdx
leaq 0x2d6f8d(%rip), %rdi    # 0x2ff9fc
leaq 0x2c390c(%rip), %rsi    # 0x2ec382
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x3(%r14), %rdx
leaq 0x2e2b50(%rip), %rdi    # 0x30b5e3
leaq 0x2c3924(%rip), %rsi    # 0x2ec3be
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x5(%r14), %rdx
leaq 0x33d8da(%rip), %rdi    # 0x366391
leaq 0x2c393d(%rip), %rsi    # 0x2ec3fb
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x6(%r14), %rdx
leaq 0x357cd0(%rip), %rdi    # 0x3807ab
leaq 0x2c3952(%rip), %rsi    # 0x2ec434
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x8(%r14), %rdx
leaq 0x2c3973(%rip), %rdi    # 0x2ec472
leaq 0x2c3972(%rip), %rsi    # 0x2ec478
pushq $0x1
popq %rbp
movl %ebp, %ecx
movl %ebp, %r8d
callq 0x9abef
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x18(%r14), %rsi
movq %rbx, %rdi
callq 0x116b0e
leaq 0x4(%r14), %rdi
callq 0x9a9b6
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x20(%r14), %rdi
callq 0x9a9ce
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x28(%r14), %rdi
addq $0x30, %r14
movq %rbx, %rsi
movq %r14, %rdx
callq 0x9b6d7
leaq 0x1f0(%rip), %rsi       # 0x28d5c
movq %rbx, %rdi
xorl %edx, %edx
callq 0x98045
movq %rbx, %rdi
movl %ebp, %esi
callq 0x98c29
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x40f3d3(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2bc474(%rip), %rsi    # 0x2e5013
leaq 0x31faad(%rip), %rdx    # 0x348653
leaq 0x2c36e6(%rip), %rcx    # 0x2ec293
leaq 0x2c36c4(%rip), %r8     # 0x2ec278
pushq $0x55
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390