// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_splitfasta.c
// Function: gt_splitfasta_option_parser_new
static GtOptionParser* gt_splitfasta_option_parser_new(void *tool_arguments)
{
  SplitfastaArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *targetsize_option, *splitdesc_option, *o, *numfiles_option;
  gt_assert(arguments);
  op = gt_option_parser_new("[option ...] fastafile","Split the supplied fasta "
                         "file.");

  numfiles_option = gt_option_new_uint_min("numfiles",
                                           "set the number of target files "
                                           "",
                                           &arguments->num_files, 0,
                                           1);
  gt_option_parser_add_option(op, numfiles_option);

  targetsize_option = gt_option_new_uword_min("targetsize",
                                              "set the target file "
                                              "size in MB",
                                              &arguments->max_filesize_in_MB,
                                              50, 1);
  gt_option_parser_add_option(op, targetsize_option);
  splitdesc_option = gt_option_new_string("splitdesc",
                                          "put every fasta entry in "
                                          "a separate file named by its "
                                          "description in the given directory",
                                          arguments->splitdesc, NULL);
  gt_option_parser_add_option(op, splitdesc_option);
  gt_option_exclude(targetsize_option, splitdesc_option);
  gt_option_exclude(numfiles_option, splitdesc_option);
  gt_option_exclude(numfiles_option, targetsize_option);
  o = gt_option_new_width(&arguments->width);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_bool(GT_FORCE_OPT_CSTR, "force writing to output file",
                         &arguments->force, false);
  gt_option_parser_add_option(op, o);
  gt_option_parser_set_min_max_args(op, 1, 1);
  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0xcf569
movq %rdi, %r14
leaq 0x29599e(%rip), %rdi    # 0x364dfa
leaq 0x2959ae(%rip), %rsi    # 0x364e11
callq 0x10cc4e
movq %rax, %rbx
leaq 0x10(%r14), %rdx
leaq 0x2959ba(%rip), %rdi    # 0x364e30
leaq 0x2959bc(%rip), %rsi    # 0x364e39
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x10f73b
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x2959ba(%rip), %rdi    # 0x364e59
leaq 0x2959be(%rip), %rsi    # 0x364e64
movl $0x32, %ecx
movl $0x1, %r8d
movq %r14, %rdx
callq 0x10f7ed
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x18(%r14), %rdx
leaq 0x2959b1(%rip), %rdi    # 0x364e83
leaq 0x2959b4(%rip), %rsi    # 0x364e8d
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r12, %rdi
movq %r13, %rsi
callq 0x10fd9f
movq %r15, %rdi
movq %r13, %rsi
callq 0x10fd9f
movq %r15, %rdi
movq %r12, %rsi
callq 0x10fd9f
leaq 0x8(%r14), %rdi
callq 0x10f49c
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
addq $0x20, %r14
leaq 0x2a53bd(%rip), %rdi    # 0x3748eb
leaq 0x28ab6f(%rip), %rsi    # 0x35a0a4
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %rbx, %rdi
movl $0x1, %esi
movl $0x1, %edx
callq 0x10d784
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x21579