// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/tools/gt_seqstat.c
// Function: gt_seqstat_option_parser_new
static GtOptionParser* gt_seqstat_option_parser_new(void *tool_arguments)
{
  SeqstatArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *optionverbose, *optiondistlen, *optionbucketsize,
           *optioncontigs, *optionastretch, *optionestimsize,
           *optionbinarydistlen, *optiongenome, *optionnstats;

  gt_assert(arguments);

  op = gt_option_parser_new("[options] file [...]",
                            "Calculate statistics for fasta file(s).");

  optionverbose = gt_option_new_bool("v","be verbose",
                                  &arguments->verbose,false);
  gt_option_parser_add_option(op, optionverbose);

  optiondistlen = gt_option_new_bool("distlen",
                                  "show distribution of sequence length",
                                  &arguments->dodistlen,false);
  gt_option_parser_add_option(op, optiondistlen);

  optionbucketsize = gt_option_new_uint_min("b",
                                "bucket size for distlen option",
                                &arguments->bucketsize, 100U, 1U);
  gt_option_imply(optionbucketsize, optiondistlen);
  gt_option_parser_add_option(op, optionbucketsize);

  optionbinarydistlen = gt_option_new_bool("binary",
                                  "use a binary format for distlen output\n"
                                  "output filename: <first_input_filename>"
                                  GT_SEQSTAT_BINARY_DISTLEN_SUFFIX "\n"
                                  "bucketsize: 1",
                                  &arguments->binarydistlen,false);
  gt_option_imply(optionbinarydistlen, optiondistlen);
  gt_option_exclude(optionbinarydistlen, optionbucketsize);
  gt_option_parser_add_option(op, optionbinarydistlen);

  optioncontigs = gt_option_new_bool("contigs",
                                   "summary of contigs set statistics",
                                   &arguments->docstats,true);
  gt_option_parser_add_option(op, optioncontigs);

  optionnstats = gt_option_new_string_array("nstats",
                                   "list of N-values to calculate statistics "
                                   "for, terminated by '--'; if none given, "
                                   "N50 and N80 will be calculated",
                                   arguments->nstats);
  gt_option_parser_add_option(op, optionnstats);

  optionastretch = gt_option_new_bool("astretch",
                                   "show distribution of A-substrings",
                                   &arguments->doastretch,false);
  gt_option_exclude(optiondistlen, optionastretch);
  gt_option_parser_add_option(op, optionastretch);
  gt_option_is_extended_option(optionastretch);

  optionestimsize = gt_option_new_bool("estimsize",
                                   "show estimated size",
                                   &arguments->showestimsize,false);
  gt_option_parser_add_option(op, optionestimsize);
  gt_option_is_development_option(optionestimsize);

  optiongenome = gt_option_new_uword_min("genome",
                                "set genome length for NG50/NG80 calculation",
                                &arguments->genome_length, 0, 1UL);
  gt_option_imply(optiongenome, optioncontigs);
  gt_option_parser_add_option(op, optiongenome);

  gt_option_parser_set_min_args(op, 1U);
  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0xc464f
movq %rdi, %r14
leaq 0x285bce(%rip), %rdi    # 0x34a042
leaq 0x2948fc(%rip), %rsi    # 0x358d77
callq 0x107bfe
movq %rax, %rbx
leaq 0x2cb3a8(%rip), %rdi    # 0x38f832
leaq 0x282c59(%rip), %rsi    # 0x3470ea
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10a235
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x1(%r14), %rdx
leaq 0x294b4d(%rip), %rdi    # 0x358ffe
leaq 0x2948e7(%rip), %rsi    # 0x358d9f
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x8(%r14), %rdx
leaq 0x299ba3(%rip), %rdi    # 0x35e07b
leaq 0x2948e5(%rip), %rsi    # 0x358dc4
movl $0x64, %ecx
movl $0x1, %r8d
callq 0x10a51f
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x10a9e4
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
leaq 0x2(%r14), %rdx
leaq 0x2948d0(%rip), %rdi    # 0x358de3
leaq 0x2948d0(%rip), %rsi    # 0x358dea
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x10a9e4
movq %r13, %rdi
movq %r12, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %r13, %rsi
callq 0x107cc0
leaq 0x4(%r14), %rdx
leaq 0x28e683(%rip), %rdi    # 0x352bd3
leaq 0x2948f8(%rip), %rsi    # 0x358e4f
movl $0x1, %ecx
callq 0x10a235
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq 0x18(%r14), %rdx
leaq 0x2948f7(%rip), %rdi    # 0x358e71
leaq 0x2948f7(%rip), %rsi    # 0x358e78
callq 0x10a7a1
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x3(%r14), %rdx
leaq 0x29494c(%rip), %rdi    # 0x358ee8
leaq 0x29494e(%rip), %rsi    # 0x358ef1
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r13
movq %r15, %rdi
movq %rax, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %r13, %rsi
callq 0x107cc0
movq %r13, %rdi
callq 0x10a9c4
leaq 0x5(%r14), %rdx
leaq 0x29493d(%rip), %rdi    # 0x358f13
leaq 0x294940(%rip), %rsi    # 0x358f1d
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r15, %rdi
callq 0x10a9d4
addq $0x10, %r14
leaq 0x29492c(%rip), %rdi    # 0x358f31
leaq 0x29492c(%rip), %rsi    # 0x358f38
movl $0x1, %r8d
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10a5d1
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0x10a9e4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x107cc0
movq %rbx, %rdi
movl $0x1, %esi
callq 0x10872d
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x1f22f