// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x5229e
movq %rdi, %r14
leaq 0x2a9b1a(%rip), %rdi    # 0x2fbcb0
leaq 0x2a9b2a(%rip), %rsi    # 0x2fbcc7
callq 0x97df5
movq %rax, %rbx
leaq 0x10(%r14), %rdx
leaq 0x2a9b36(%rip), %rdi    # 0x2fbce6
leaq 0x2a9b38(%rip), %rsi    # 0x2fbcef
pushq $0x1
popq %rbp
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x9abef
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x2a9b36(%rip), %rdi    # 0x2fbd0f
leaq 0x2a9b3a(%rip), %rsi    # 0x2fbd1a
pushq $0x32
popq %rcx
pushq $0x1
popq %r8
movq %r14, %rdx
callq 0x9ac58
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x18(%r14), %rdx
leaq 0x2a9b31(%rip), %rdi    # 0x2fbd39
leaq 0x2a9b34(%rip), %rsi    # 0x2fbd43
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r12, %rdi
movq %r13, %rsi
callq 0x9b38d
movq %r15, %rdi
movq %r13, %rsi
callq 0x9b38d
movq %r15, %rdi
movq %r12, %rsi
callq 0x9b38d
leaq 0x8(%r14), %rdi
callq 0x9a9ce
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
addq $0x20, %r14
leaq 0x2b9397(%rip), %rdi    # 0x30b5fb
leaq 0x29ee11(%rip), %rsi    # 0x2f107c
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %rbx, %rdi
movl %ebp, %esi
movl %ebp, %edx
callq 0x98c6b
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3e5cc3(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x292d64(%rip), %rsi    # 0x2e5013
leaq 0x2f639d(%rip), %rdx    # 0x348653
leaq 0x2a99d3(%rip), %rcx    # 0x2fbc90
leaq 0x2a99b2(%rip), %r8     # 0x2fbc76
pushq $0x39
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390