// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_encseq_sample.c
// Function: gt_encseq_sample_option_parser_new
static GtOptionParser* gt_encseq_sample_option_parser_new(void *tool_arguments)
{
  GtEncseqSampleArguments *arguments = (GtEncseqSampleArguments*)tool_arguments;
  GtOptionParser *op;
  GtOption *option,
           *optionsep,
           *optionlen,
           *optionseqrange,
           *optionmode;
  gt_assert(arguments);
  static const char *modes[] = {"fasta", "concat", NULL};

  /* init */
  op = gt_option_parser_new("(sequence_file|indexname)",
                            "Decode/extract encoded sequences by random "
                            "choice.");

  /* encseq options */
  arguments->eopts = gt_encseq_options_register_loading(op, NULL);
  gt_encseq_options_add_readmode_option(op, arguments->dir);

  /* -singlechars */
  option = gt_option_new_bool("singlechars",
                              "do not use a GtEncseqReader but access each "
                              "sequence character separately",
                              &arguments->singlechars,
                              false);
  gt_option_is_extended_option(option);
  gt_option_parser_add_option(op, option);

  /* -length */
  optionlen = gt_option_new_uword("length",
                                  "minimum length to be extracted",
                                  &arguments->len,
                                  GT_UNDEF_UWORD);
  gt_option_parser_add_option(op, optionlen);

  /* -seqrange */
  optionseqrange = gt_option_new_range("seqrange",
                                       "extract multiple consecutive sequences",
                                       &arguments->seqrng,
                                       NULL);
  gt_option_parser_add_option(op, optionseqrange);

  /* -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);

  /* -sepchar */
  optionsep = gt_option_new_string("sepchar",
                                   "specify character to print as GT_SEPARATOR",
                                   arguments->sepchar, "|");
  gt_option_parser_add_option(op, optionsep);
  gt_option_imply(optionsep, optionmode);

  gt_option_parser_set_min_max_args(op, 1, 1);

  return op;
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x38(%rsp)
cmpq $0x0, 0x38(%rsp)
jne 0x333d3
movq 0x608bfe(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4e2c67(%rip), %rsi    # 0x516013
leaq 0x5477ac(%rip), %rdx    # 0x57ab5f
leaq 0x4e9b58(%rip), %rcx    # 0x51cf12
leaq 0x4e9b34(%rip), %r8     # 0x51cef5
movl $0x55, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x333d5
leaq 0x4e90cb(%rip), %rdi    # 0x51c4a7
leaq 0x4e9b52(%rip), %rsi    # 0x51cf35
callq 0xf1420
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xd7350
movq %rax, %rcx
movq 0x38(%rsp), %rax
movq %rcx, 0x28(%rax)
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rax
movq 0x38(%rax), %rsi
callq 0xd73c0
movq 0x38(%rsp), %rdx
leaq 0x4e90bd(%rip), %rdi    # 0x51c4e3
leaq 0x4e90c2(%rip), %rsi    # 0x51c4ef
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rdi
callq 0xf6ff0
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x38(%rsp), %rdx
addq $0x40, %rdx
leaq 0x55b4e9(%rip), %rdi    # 0x58e94b
leaq 0x4e9aff(%rip), %rsi    # 0x51cf68
movq $-0x1, %rcx
callq 0xf5fe0
movq %rax, 0x18(%rsp)
movq 0x30(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf1600
movq 0x38(%rsp), %rdx
addq $0x18, %rdx
leaq 0x51818e(%rip), %rdi    # 0x54b627
leaq 0x4e9099(%rip), %rsi    # 0x51c539
xorl %eax, %eax
movl %eax, %ecx
callq 0xf68a0
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0xf1600
movq 0x38(%rsp), %rax
movq 0x8(%rax), %rdx
movq 0x609333(%rip), %rcx    # 0x63c800
leaq 0x50a7ab(%rip), %rdi    # 0x53dc7f
leaq 0x4e6b5b(%rip), %rsi    # 0x51a036
leaq 0x60931e(%rip), %r8     # 0x63c800
callq 0xf6b30
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x38(%rsp), %rax
movq 0x10(%rax), %rdx
leaq 0x4e6b5c(%rip), %rdi    # 0x51a067
leaq 0x4e9087(%rip), %rsi    # 0x51c599
leaq 0x51a915(%rip), %rcx    # 0x54de2e
callq 0xf69f0
movq %rax, 0x20(%rsp)
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf1600
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf7090
movq 0x30(%rsp), %rdi
movl $0x1, %edx
movl %edx, %esi
callq 0xf2a40
movq 0x30(%rsp), %rax
addq $0x48, %rsp
retq
nopl (%rax)