// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_encseq_info.c
// Function: gt_encseq_info_option_parser_new
static GtOptionParser* gt_encseq_info_option_parser_new(void *tool_arguments)
{
  GtEncseqInfoArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option, *optionnomap;
  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("[option ...] indexname",
                            "Display meta-information about an "
                            "encoded sequence.");

  optionnomap = gt_option_new_bool("nomap", "do not map encoded sequence "
                                            "(gives less information)",
                                   &arguments->nomap, false);
  gt_option_parser_add_option(op, optionnomap);

  option = gt_option_new_bool("mirrored", "use mirrored encoded sequence "
                                          "(DNA only)",
                              &arguments->mirror, false);
  gt_option_parser_add_option(op, option);
  gt_option_exclude(optionnomap, option);

  option = gt_option_new_bool("noindexname", "do not output index name",
                              &arguments->noindexname, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("show_alphabet", "output alphabet definition",
                              &arguments->show_alphabet, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("n50", "show N50 values (minimum length of "
                              "largest sequences for covering at least 50% of "
                              "total sequence length)",
                              &arguments->show_n50, false);
  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_min_max_args(op, 1, 1);
  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xa703f
movq %rdi, %rbx
leaq 0x2acd9e(%rip), %rdi    # 0x353cd6
leaq 0x2ad9f7(%rip), %rsi    # 0x354936
callq 0x10cc4e
movq %rax, %r14
leaq 0x2ada1c(%rip), %rdi    # 0x35496a
leaq 0x2ada1b(%rip), %rsi    # 0x354970
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x1(%rbx), %rdx
leaq 0x2af9f7(%rip), %rdi    # 0x35696f
leaq 0x2ada26(%rip), %rsi    # 0x3549a5
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
movq %r12, %rsi
callq 0x10fd9f
leaq 0x2(%rbx), %rdx
leaq 0x2ada24(%rip), %rdi    # 0x3549ce
leaq 0x2ada29(%rip), %rsi    # 0x3549da
xorl %ecx, %ecx
callq 0x10f451
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x3(%rbx), %rdx
leaq 0x2ada25(%rip), %rdi    # 0x3549f3
leaq 0x2ada2c(%rip), %rsi    # 0x354a01
xorl %ecx, %ecx
callq 0x10f451
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x4(%rbx), %rdx
leaq 0x2ada2a(%rip), %rdi    # 0x354a1c
leaq 0x2ada27(%rip), %rsi    # 0x354a20
xorl %ecx, %ecx
callq 0x10f451
movq %r14, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x8(%rbx), %rdi
addq $0x10, %rbx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x10ffa3
movq %r14, %rdi
movl $0x1, %esi
movl $0x1, %edx
callq 0x10d784
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x1a539