// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x58(%rsp)
cmpq $0x0, 0x58(%rsp)
jne 0x668a3
movq 0x5d572e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4af797(%rip), %rsi    # 0x516013
leaq 0x5142dc(%rip), %rdx    # 0x57ab5f
leaq 0x4c35ab(%rip), %rcx    # 0x529e35
leaq 0x4c358d(%rip), %r8     # 0x529e1e
movl $0x58, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x668a5
leaq 0x4b47df(%rip), %rdi    # 0x51b08b
leaq 0x4c359f(%rip), %rsi    # 0x529e52
callq 0xf1420
movq %rax, 0x50(%rsp)
movq 0x58(%rsp), %rdx
leaq 0x4fb75a(%rip), %rdi    # 0x562023
leaq 0x4b1854(%rip), %rsi    # 0x518124
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x48(%rsp)
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0xf1600
movq 0x58(%rsp), %rdx
addq $0x1, %rdx
leaq 0x4c37d7(%rip), %rdi    # 0x52a0d2
leaq 0x4c3578(%rip), %rsi    # 0x529e7a
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x40(%rsp)
movq 0x50(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xf1600
movq 0x58(%rsp), %rdx
addq $0x8, %rdx
leaq 0x4c88de(%rip), %rdi    # 0x52f20b
leaq 0x4c356b(%rip), %rsi    # 0x529e9f
movl $0x64, %ecx
movl $0x1, %r8d
callq 0xf6510
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xf7090
movq 0x50(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0xf1600
movq 0x58(%rsp), %rdx
addq $0x2, %rdx
leaq 0x4c3836(%rip), %rdi    # 0x52a1ad
leaq 0x4c3540(%rip), %rsi    # 0x529ebe
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xf7090
movq 0x18(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0xf7320
movq 0x50(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf1600
movq 0x58(%rsp), %rdx
addq $0x4, %rdx
leaq 0x4bd28c(%rip), %rdi    # 0x523c53
leaq 0x4c3555(%rip), %rsi    # 0x529f23
movl $0x1, %ecx
callq 0xf5f20
movq %rax, 0x30(%rsp)
movq 0x50(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0xf1600
movq 0x58(%rsp), %rax
movq 0x18(%rax), %rdx
leaq 0x4c3549(%rip), %rdi    # 0x529f45
leaq 0x4c3549(%rip), %rsi    # 0x529f4c
callq 0xf6a50
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x58(%rsp), %rdx
addq $0x3, %rdx
leaq 0x4c3590(%rip), %rdi    # 0x529fbc
leaq 0x4c3592(%rip), %rsi    # 0x529fc5
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x28(%rsp)
movq 0x40(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf7320
movq 0x50(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x28(%rsp), %rdi
callq 0xf6ff0
movq 0x58(%rsp), %rdx
addq $0x5, %rdx
leaq 0x4c3570(%rip), %rdi    # 0x529fe7
leaq 0x4c3573(%rip), %rsi    # 0x529ff1
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x20(%rsp)
movq 0x50(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf1600
movq 0x20(%rsp), %rdi
callq 0xf7040
movq 0x58(%rsp), %rdx
addq $0x10, %rdx
leaq 0x4c3552(%rip), %rdi    # 0x52a005
leaq 0x4c3552(%rip), %rsi    # 0x52a00c
xorl %eax, %eax
movl %eax, %ecx
movl $0x1, %r8d
callq 0xf66b0
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0xf7090
movq 0x50(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0xf1600
movq 0x50(%rsp), %rdi
movl $0x1, %esi
callq 0xf2980
movq 0x50(%rsp), %rax
addq $0x68, %rsp
retq
nopw %cs:(%rax,%rax)