// File: /workspace/github_c_makefile_star2_O1/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 0xc6773
movq %rdi, %r14
leaq 0x28caba(%rip), %rdi    # 0x353052
leaq 0x29b828(%rip), %rsi    # 0x361dc7
callq 0x10cc4e
movq %rax, %rbx
leaq 0x2d26ac(%rip), %rdi    # 0x398c5a
leaq 0x289b35(%rip), %rsi    # 0x3500ea
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x1(%r14), %rdx
leaq 0x29ba79(%rip), %rdi    # 0x36204e
leaq 0x29b813(%rip), %rsi    # 0x361def
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x8(%r14), %rdx
leaq 0x2a0b4f(%rip), %rdi    # 0x36714b
leaq 0x29b811(%rip), %rsi    # 0x361e14
movl $0x64, %ecx
movl $0x1, %r8d
callq 0x10f73b
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x10fbff
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10cd10
leaq 0x2(%r14), %rdx
leaq 0x29b7fc(%rip), %rdi    # 0x361e33
leaq 0x29b7fc(%rip), %rsi    # 0x361e3a
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x10fbff
movq %r13, %rdi
movq %r12, %rsi
callq 0x10fd9f
movq %rbx, %rdi
movq %r13, %rsi
callq 0x10cd10
leaq 0x4(%r14), %rdx
leaq 0x295597(%rip), %rdi    # 0x35bc0b
leaq 0x29b824(%rip), %rsi    # 0x361e9f
movl $0x1, %ecx
callq 0x10f451
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x18(%r14), %rdx
leaq 0x29b823(%rip), %rdi    # 0x361ec1
leaq 0x29b823(%rip), %rsi    # 0x361ec8
callq 0x10f9b8
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x3(%r14), %rdx
leaq 0x29b878(%rip), %rdi    # 0x361f38
leaq 0x29b87a(%rip), %rsi    # 0x361f41
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r13
movq %r15, %rdi
movq %rax, %rsi
callq 0x10fd9f
movq %rbx, %rdi
movq %r13, %rsi
callq 0x10cd10
movq %r13, %rdi
callq 0x10fbdf
leaq 0x5(%r14), %rdx
leaq 0x29b869(%rip), %rdi    # 0x361f63
leaq 0x29b86c(%rip), %rsi    # 0x361f6d
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fbef
addq $0x10, %r14
leaq 0x29b858(%rip), %rdi    # 0x361f81
leaq 0x29b858(%rip), %rsi    # 0x361f88
movl $0x1, %r8d
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10f7ed
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0x10fbff
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10cd10
movq %rbx, %rdi
movl $0x1, %esi
callq 0x10d766
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x1f5b9