// File: /workspace/github_c_makefile_star2_O3/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 0x9f2ae
movq %rdi, %rbx
leaq 0x2a9d9f(%rip), %rdi    # 0x348ecb
leaq 0x2a9daa(%rip), %rsi    # 0x348edd
callq 0x107bfe
movq %rax, %r14
leaq 0x48(%rbx), %rdx
leaq 0x2b3fa4(%rip), %rdi    # 0x3530ea
leaq 0x2a9db0(%rip), %rsi    # 0x348efd
movq $-0x1, %rcx
callq 0x10a2ab
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x38(%rbx), %rdx
leaq 0x2da197(%rip), %rdi    # 0x379309
leaq 0x2a9db3(%rip), %rsi    # 0x348f2c
xorl %ecx, %ecx
callq 0x10a6f7
movq %rax, %r13
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
movq %r13, %rsi
callq 0x10ab96
leaq 0x28(%rbx), %rdx
leaq 0x2de2a8(%rip), %rdi    # 0x37d44c
leaq 0x2a9de6(%rip), %rsi    # 0x348f91
xorl %ecx, %ecx
callq 0x10a6f7
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
movq %r12, %rsi
callq 0x10ab96
movq %r13, %rdi
movq %r12, %rsi
callq 0x10ab96
movq 0x10(%rbx), %rdx
movq 0x41a63f(%rip), %rcx    # 0x4b9820
leaq 0x41a638(%rip), %r8     # 0x4b9820
leaq 0x2cce38(%rip), %rdi    # 0x36c027
leaq 0x2a9df2(%rip), %rsi    # 0x348fe8
callq 0x10a7ed
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r12, %rdi
movq %r15, %rsi
callq 0x10a9e4
movq 0x18(%rbx), %rdx
leaq 0x2a9dfa(%rip), %rdi    # 0x349019
leaq 0x2a9dfb(%rip), %rsi    # 0x349021
leaq 0x2dc6dc(%rip), %rcx    # 0x37b909
callq 0x10a770
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r12, %rdi
movq %r15, %rsi
callq 0x10a9e4
movq %r12, %rdi
callq 0x107bec
movq %rax, 0x20(%rbx)
movq 0x8(%rbx), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x10ad87
leaq 0x50(%rbx), %rdi
callq 0x10a280
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
addq $0x58, %rbx
leaq 0x2a7e68(%rip), %rdi    # 0x3470ed
leaq 0x2a9ddf(%rip), %rsi    # 0x34906b
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x10a235
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r14, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x192d3