// File: /workspace/github_c_makefile_star2_O3/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 0xcd04d
movq %rdi, %r14
leaq 0x28ee1a(%rip), %rdi    # 0x35bd5a
leaq 0x28ee2a(%rip), %rsi    # 0x35bd71
callq 0x107bfe
movq %rax, %rbx
leaq 0x10(%r14), %rdx
leaq 0x28ee36(%rip), %rdi    # 0x35bd90
leaq 0x28ee38(%rip), %rsi    # 0x35bd99
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x10a51f
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x28ee36(%rip), %rdi    # 0x35bdb9
leaq 0x28ee3a(%rip), %rsi    # 0x35bdc4
movl $0x32, %ecx
movl $0x1, %r8d
movq %r14, %rdx
callq 0x10a5d1
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq 0x18(%r14), %rdx
leaq 0x28ee2d(%rip), %rdi    # 0x35bde3
leaq 0x28ee30(%rip), %rsi    # 0x35bded
xorl %ecx, %ecx
callq 0x10a770
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %r12, %rdi
movq %r13, %rsi
callq 0x10ab96
movq %r15, %rdi
movq %r13, %rsi
callq 0x10ab96
movq %r15, %rdi
movq %r12, %rsi
callq 0x10ab96
leaq 0x8(%r14), %rdi
callq 0x10a280
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
addq $0x20, %r14
leaq 0x29e689(%rip), %rdi    # 0x36b69b
leaq 0x284050(%rip), %rsi    # 0x351069
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10a235
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %rbx, %rdi
movl $0x1, %esi
movl $0x1, %edx
callq 0x10874b
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x21144