// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/tools/gt_shredder.c
// Function: gt_shredder_option_parser_new
static GtOptionParser* gt_shredder_option_parser_new(void *tool_arguments)
{
  ShredderArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *o;
  gt_assert(arguments);
  op = gt_option_parser_new("[option ...] [sequence_file ...]",
                            "Shredder sequence file(s) into consecutive pieces "
                            "of random length.");
  o = gt_option_new_uword_min("coverage", "set the number of times the "
                              "sequence_file is shreddered",
                              &arguments->coverage, 1, 1);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_uword("minlength",
                          "set the minimum length of the shreddered "
                          "fragments", &arguments->minlength, 300);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_uword("maxlength",
                          "set the maximum length of the shreddered "
                          "fragments", &arguments->maxlength, 700);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_uword("overlap", "set the overlap between consecutive "
                          "pieces", &arguments->overlap, 0);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_probability("sample", "take samples of the generated "
                                "sequences pieces with the given probability",
                                &arguments->sample_probability, 1.0);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_bool("clipdesc", "clip descriptions after first space "
                         "(fooled by '\\t', '\\n' etc) adds offset and length "
                         "to ensure unique identifier",
                         &arguments->clip_desc, false);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_width(&arguments->width);
  gt_option_parser_add_option(op, o);
  gt_output_file_info_register_options(arguments->ofi, op, &arguments->outfp);
  gt_option_parser_set_comment_func(op, gt_gtdata_show_help, NULL);
  return op;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xc8a89
movq %rdi, %rbx
leaq 0x28fc8a(%rip), %rdi    # 0x3585d5
leaq 0x291d40(%rip), %rsi    # 0x35a692
callq 0x107bfe
movq %rax, %r14
leaq 0x10(%rbx), %rdx
leaq 0x2b7c42(%rip), %rdi    # 0x3805a7
leaq 0x291d6a(%rip), %rsi    # 0x35a6d6
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x10a5d1
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x18(%rbx), %rdx
leaq 0x2dbffa(%rip), %rdi    # 0x3a498c
leaq 0x291d75(%rip), %rsi    # 0x35a70e
movl $0x12c, %ecx            # imm = 0x12C
callq 0x10a2ab
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x20(%rbx), %rdx
leaq 0x2ca793(%rip), %rdi    # 0x39314c
leaq 0x291d81(%rip), %rsi    # 0x35a741
movl $0x2bc, %ecx            # imm = 0x2BC
callq 0x10a2ab
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x28(%rbx), %rdx
leaq 0x2a66ba(%rip), %rdi    # 0x36f09a
leaq 0x291d8d(%rip), %rsi    # 0x35a774
xorl %ecx, %ecx
callq 0x10a2ab
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x38(%rbx), %rdx
leaq 0x2ee05f(%rip), %rdi    # 0x3b6a63
leaq 0x291d94(%rip), %rsi    # 0x35a79f
movsd 0x27d815(%rip), %xmm0   # 0x346228
callq 0x10a40b
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x40(%rbx), %rdx
leaq 0x291dbb(%rip), %rdi    # 0x35a7e9
leaq 0x291dbd(%rip), %rsi    # 0x35a7f2
xorl %ecx, %ecx
callq 0x10a235
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x30(%rbx), %rdi
callq 0x10a280
movq %r14, %rdi
movq %rax, %rsi
callq 0x107cc0
movq (%rbx), %rdi
addq $0x8, %rbx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x10ad87
leaq 0x83e50(%rip), %rsi     # 0x14c8c4
movq %r14, %rdi
xorl %edx, %edx
callq 0x107d3d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x200a8