// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_condenseq_extract.c
// Function: gt_condenseq_extract_option_parser_new
static GtOptionParser*
gt_condenseq_extract_option_parser_new(void *tool_arguments)
{
  GtCondenserExtractArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option,
           *optionrange,
           *optionseq,
           *optionseqrange,
           *optionmode;
  static const char *modes[] = {"fasta", "concat", NULL};
  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("[options] archive",
                            "Decompresses condenseq archive.");

  /* -seq */
  optionseq = gt_option_new_uword("seq",
                                  "only extract sequence identified by its "
                                  "number",
                                  &arguments->seq, GT_UNDEF_UWORD);
  gt_option_parser_add_option(op, optionseq);

  /* -seqrange */
  optionseqrange = gt_option_new_range("seqrange",
                                       "only extract (inclusive) range of "
                                       "consecutive sequences identified by "
                                       "their zero based index numbers",
                                       &arguments->seqrange, NULL);
  gt_option_parser_add_option(op, optionseqrange);
  gt_option_exclude(optionseq, optionseqrange);

  /* -range */
  optionrange = gt_option_new_range("range",
                                    "only extract (inclusive) range of zero "
                                    "based positions "
                                    "(implies option -output concat)",
                                    &arguments->range, NULL);
  gt_option_parser_add_option(op, optionrange);
  gt_option_exclude(optionseq, optionrange);
  gt_option_exclude(optionseqrange, optionrange);

  /* -output */
  optionmode = gt_option_new_choice("output",
                                    "specify output format "
                                    "(choose from fasta|concat)",
                                    arguments->mode,
                                    modes[0],
                                    modes);
  gt_option_parser_add_option(op, optionmode);
  gt_option_imply(optionrange, optionmode);

  /* -sepchar */
  option = gt_option_new_string("sepchar",
                                "specify character to print as GT_SEPARATOR "
                                "(implies option -output concat",
                                arguments->sepchar, "|");
  gt_option_parser_add_option(op, option);
  gt_option_imply(option, optionmode);
  arguments->sepchar_opt = gt_option_ref(option);

  gt_output_file_info_register_options(arguments->ofi, op, &arguments->outfp);

  /* -width */
  option = gt_option_new_width(&arguments->width);
  gt_option_parser_add_option(op, option);

  /* -verbose */
  option = gt_option_new_bool("verbose", "Print out verbose output to stderr.",
                              &arguments->verbose, false);
  gt_option_parser_add_option(op, option);
  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0xa1432
movq %rdi, %rbx
leaq 0x2b0c2b(%rip), %rdi    # 0x351edb
leaq 0x2b0c36(%rip), %rsi    # 0x351eed
callq 0x10cc4e
movq %rax, %r14
leaq 0x48(%rbx), %rdx
leaq 0x2bae58(%rip), %rdi    # 0x35c122
leaq 0x2b0c3c(%rip), %rsi    # 0x351f0d
movq $-0x1, %rcx
callq 0x10f4c7
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x38(%rbx), %rdx
leaq 0x2e1331(%rip), %rdi    # 0x382627
leaq 0x2b0c3f(%rip), %rsi    # 0x351f3c
xorl %ecx, %ecx
callq 0x10f913
movq %rax, %r13
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
movq %r13, %rsi
callq 0x10fd9f
leaq 0x28(%rbx), %rdx
leaq 0x2e5494(%rip), %rdi    # 0x3867bc
leaq 0x2b0c72(%rip), %rsi    # 0x351fa1
xorl %ecx, %ecx
callq 0x10f913
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
movq %r12, %rsi
callq 0x10fd9f
movq %r13, %rdi
movq %r12, %rsi
callq 0x10fd9f
movq 0x10(%rbx), %rdx
movq 0x4234bb(%rip), %rcx    # 0x4c4820
leaq 0x4234b4(%rip), %r8     # 0x4c4820
leaq 0x2d3f04(%rip), %rdi    # 0x375277
leaq 0x2b0c7e(%rip), %rsi    # 0x351ff8
callq 0x10fa04
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r12, %rdi
movq %r15, %rsi
callq 0x10fbff
movq 0x18(%rbx), %rdx
leaq 0x2b0c86(%rip), %rdi    # 0x352029
leaq 0x2b0c87(%rip), %rsi    # 0x352031
leaq 0x2e38c8(%rip), %rcx    # 0x384c79
callq 0x10f987
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r12, %rdi
movq %r15, %rsi
callq 0x10fbff
movq %r12, %rdi
callq 0x10cc3c
movq %rax, 0x20(%rbx)
movq 0x8(%rbx), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x10ffa3
leaq 0x50(%rbx), %rdi
callq 0x10f49c
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
addq $0x58, %rbx
leaq 0x2aece4(%rip), %rdi    # 0x3500ed
leaq 0x2b0c6b(%rip), %rsi    # 0x35207b
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x10f451
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r14, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x19345