// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x48890
movq %rdi, %r14
leaq 0x2a1988(%rip), %rdi    # 0x2ea042
leaq 0x2b068e(%rip), %rsi    # 0x2f8d4f
callq 0x97df5
movq %rax, %rbx
leaq 0x2e74a0(%rip), %rdi    # 0x32fb70
leaq 0x29ea13(%rip), %rsi    # 0x2e70ea
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x1(%r14), %rdx
leaq 0x2b08df(%rip), %rdi    # 0x2f8fd6
leaq 0x2b0679(%rip), %rsi    # 0x2f8d77
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x8(%r14), %rdx
leaq 0x2b58e5(%rip), %rdi    # 0x2fe003
leaq 0x2b0677(%rip), %rsi    # 0x2f8d9c
pushq $0x64
popq %rcx
pushq $0x1
popq %rbp
movl %ebp, %r8d
callq 0x9abef
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x9b14d
movq %rbx, %rdi
movq %r12, %rsi
callq 0x97f31
leaq 0x2(%r14), %rdx
leaq 0x2b0664(%rip), %rdi    # 0x2f8dbb
leaq 0x2b0664(%rip), %rsi    # 0x2f8dc2
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x9b14d
movq %r13, %rdi
movq %r12, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x97f31
leaq 0x4(%r14), %rdx
leaq 0x2aa44f(%rip), %rdi    # 0x2f2be3
leaq 0x2b068c(%rip), %rsi    # 0x2f8e27
movl %ebp, %ecx
callq 0x9a997
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x18(%r14), %rdx
leaq 0x2b068e(%rip), %rdi    # 0x2f8e49
leaq 0x2b068e(%rip), %rsi    # 0x2f8e50
callq 0x9ad43
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x3(%r14), %rdx
leaq 0x2b06e3(%rip), %rdi    # 0x2f8ec0
leaq 0x2b06e5(%rip), %rsi    # 0x2f8ec9
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r13
movq %r15, %rdi
movq %rax, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x97f31
movq %r13, %rdi
callq 0x9b0c7
leaq 0x5(%r14), %rdx
leaq 0x2b06d4(%rip), %rdi    # 0x2f8eeb
leaq 0x2b06d7(%rip), %rsi    # 0x2f8ef5
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r15, %rdi
callq 0x9b10a
addq $0x10, %r14
leaq 0x2b06c3(%rip), %rdi    # 0x2f8f09
leaq 0x2b06c3(%rip), %rsi    # 0x2f8f10
pushq $0x1
popq %r8
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9ac58
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0x9b14d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x97f31
movq %rbx, %rdi
movl %ebp, %esi
callq 0x98be7
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3ef6d1(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x29c772(%rip), %rsi    # 0x2e5013
leaq 0x2ffdab(%rip), %rdx    # 0x348653
leaq 0x2b0483(%rip), %rcx    # 0x2f8d32
leaq 0x2b0465(%rip), %r8     # 0x2f8d1b
pushq $0x58
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390