// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_simreads.c
// Function: gt_simreads_option_parser_new
static GtOptionParser* gt_simreads_option_parser_new(void *tool_arguments)
{
  GtSimreadsArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *num_option, *coverage_option, *len_option,
           *minlen_option, *maxlen_option, *p_option, *v_option,
           *dl_option, *ds_option, *ss_option, *distlen_option;

  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("[option ...] <encseq>",
                         "Simulate sequencing reads from "
                         "random positions in the input sequence(s).");

  /* -num */
  num_option = gt_option_new_uword_min("num", "desired number of reads",
                                       &arguments->num, GT_UNDEF_UWORD, 1UL);
  gt_option_parser_add_option(op, num_option);

  /* -coverage */
  coverage_option = gt_option_new_uword_min("coverage",
                                            "desired coverage of the reads",
                                            &arguments->coverage,
                                            GT_UNDEF_UWORD, 1UL);
  gt_option_parser_add_option(op, coverage_option);

  /* -len */
  len_option = gt_option_new_uword_min("len", "fixed read length",
                                               &arguments->minlen,
                                               GT_UNDEF_UWORD, 1UL);
  gt_option_parser_add_option(op, len_option);

  /* -minlen */
  minlen_option = gt_option_new_uword_min("minlen",
                                          "minimal read length",
                                          &arguments->minlen,
                                          GT_UNDEF_UWORD, 1UL);
  gt_option_parser_add_option(op, minlen_option);

  /* -maxlen */
  maxlen_option = gt_option_new_uword_min("maxlen",
                                          "maximal read length",
                                          &arguments->maxlen,
                                          GT_UNDEF_UWORD, 1UL);
  gt_option_parser_add_option(op, maxlen_option);

  /* -distlen */
  distlen_option = gt_option_new_string("distlen",
      "use read length distribution file\n"
      "(in the output format of the seqstat tool)",
      arguments->distlen_filename, NULL);
  gt_option_parser_add_option(op, distlen_option);

  /* output file options */;
  gt_output_file_info_register_options(arguments->ofi, op, &arguments->outfp);

  /* -p */
  p_option = gt_option_new_bool("p", "show a progress bar",
                                &arguments->show_progressbar, false);
  gt_option_parser_add_option(op, p_option);

  /* -v */
  v_option = gt_option_new_bool("v", "be verbose",
                                &arguments->verbose, false);
  gt_option_parser_add_option(op, v_option);

  /* -ds */
  ds_option = gt_option_new_string("ds", "output distribution of starting"
                                       " positions to specified file",
                                   arguments->dsfilename, NULL);
  gt_option_parser_add_option(op, ds_option);
  gt_option_is_extended_option(ds_option);

  /* -dl */
  dl_option = gt_option_new_string("dl", "output distribution of read lengths"
                                       " to specified file",
                                   arguments->dlfilename, NULL);
  gt_option_parser_add_option(op, dl_option);
  gt_option_is_extended_option(dl_option);

  /* -ss */
  ss_option = gt_option_new_bool("ss", "simulate reads in forward direction "
                                 "only", &arguments->singlestrand, false);
  gt_option_parser_add_option(op, ss_option);

  gt_option_is_mandatory_either(num_option, coverage_option);
  gt_option_is_mandatory_either_3(len_option, minlen_option, distlen_option);
  gt_option_imply(minlen_option, maxlen_option);
  gt_option_imply(maxlen_option, minlen_option);
  gt_option_exclude(maxlen_option, len_option);
  gt_option_exclude(maxlen_option, distlen_option);
  gt_option_exclude(minlen_option, len_option);
  gt_option_exclude(minlen_option, distlen_option);
  gt_option_exclude(len_option, distlen_option);
  gt_option_exclude(len_option, dl_option);

  gt_option_parser_set_min_max_args(op, 1U, 1U);

  gt_option_parser_set_mail_address(op,"<gonnella@zbh.uni-hamburg.de>");

  return op;
}

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x68(%rsp)
cmpq $0x0, 0x68(%rsp)
jne 0x6f0a3
movq 0x5ccf2e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4a6f97(%rip), %rsi    # 0x516013
leaq 0x50badc(%rip), %rdx    # 0x57ab5f
leaq 0x4bca99(%rip), %rcx    # 0x52bb23
leaq 0x4bca7a(%rip), %r8     # 0x52bb0b
movl $0x4e, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x6f0a5
leaq 0x4bca95(%rip), %rdi    # 0x52bb41
leaq 0x4bcaa4(%rip), %rsi    # 0x52bb57
callq 0xf1420
movq %rax, 0x60(%rsp)
movq 0x68(%rsp), %rdx
leaq 0x4e850d(%rip), %rdi    # 0x5575d6
leaq 0x4bcad1(%rip), %rsi    # 0x52bba1
movq $-0x1, %rcx
movl $0x1, %r8d
callq 0xf66b0
movq %rax, 0x58(%rsp)
movq 0x60(%rsp), %rdi
movq 0x58(%rsp), %rsi
callq 0xf1600
movq 0x68(%rsp), %rdx
addq $0x18, %rdx
leaq 0x4e3aba(%rip), %rdi    # 0x552bc0
leaq 0x4bcaac(%rip), %rsi    # 0x52bbb9
movq $-0x1, %rcx
movl $0x1, %r8d
callq 0xf66b0
movq %rax, 0x50(%rsp)
movq 0x60(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0xf1600
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
leaq 0x50232a(%rip), %rdi    # 0x57146d
leaq 0x4bca8d(%rip), %rsi    # 0x52bbd7
movq $-0x1, %rcx
movl $0x1, %r8d
callq 0xf66b0
movq %rax, 0x48(%rsp)
movq 0x60(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0xf1600
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
leaq 0x4b2630(%rip), %rdi    # 0x5217b0
leaq 0x4bca62(%rip), %rsi    # 0x52bbe9
movq $-0x1, %rcx
movl $0x1, %r8d
callq 0xf66b0
movq %rax, 0x40(%rsp)
movq 0x60(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xf1600
movq 0x68(%rsp), %rdx
addq $0x10, %rdx
leaq 0x4dc58e(%rip), %rdi    # 0x54b74b
leaq 0x4bca39(%rip), %rsi    # 0x52bbfd
movq $-0x1, %rcx
movl $0x1, %r8d
callq 0xf66b0
movq %rax, 0x38(%rsp)
movq 0x60(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0xf1600
movq 0x68(%rsp), %rax
movq 0x48(%rax), %rdx
leaq 0x4baed8(%rip), %rdi    # 0x52a0d2
leaq 0x4bca10(%rip), %rsi    # 0x52bc11
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, 0x8(%rsp)
movq 0x60(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x68(%rsp), %rax
movq 0x28(%rax), %rdi
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x30, %rdx
callq 0xf7d50
movq 0x68(%rsp), %rdx
addq $0x20, %rdx
leaq 0x4f8ef8(%rip), %rdi    # 0x568142
leaq 0x4bca0d(%rip), %rsi    # 0x52bc5e
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x30(%rsp)
movq 0x60(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0xf1600
movq 0x68(%rsp), %rdx
addq $0x21, %rdx
leaq 0x4f2da7(%rip), %rdi    # 0x562023
leaq 0x4a8ea1(%rip), %rsi    # 0x518124
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x28(%rsp)
movq 0x60(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xf1600
movq 0x68(%rsp), %rax
movq 0x38(%rax), %rdx
leaq 0x4c1773(%rip), %rdi    # 0x530a21
leaq 0x4bc9bd(%rip), %rsi    # 0x52bc72
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, 0x18(%rsp)
movq 0x60(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdi
callq 0xf6ff0
movq 0x68(%rsp), %rax
movq 0x40(%rax), %rdx
leaq 0x4bc9c2(%rip), %rdi    # 0x52bcae
leaq 0x4bc9be(%rip), %rsi    # 0x52bcb1
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, 0x20(%rsp)
movq 0x60(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf1600
movq 0x20(%rsp), %rdi
callq 0xf6ff0
movq 0x68(%rsp), %rdx
addq $0x24, %rdx
leaq 0x547492(%rip), %rdi    # 0x5b67bc
leaq 0x4bc9b6(%rip), %rsi    # 0x52bce7
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x10(%rsp)
movq 0x60(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0xf1600
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0xf6cf0
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0xf6dd0
movq 0x40(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0xf7090
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xf7090
movq 0x38(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0xf7320
movq 0x38(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf7320
movq 0x40(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0xf7320
movq 0x40(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf7320
movq 0x48(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf7320
movq 0x48(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0xf7320
movq 0x60(%rsp), %rdi
movl $0x1, %edx
movl %edx, %esi
callq 0xf2a40
movq 0x60(%rsp), %rdi
leaq 0x4bc90c(%rip), %rsi    # 0x52bd10
callq 0xf1a10
movq 0x60(%rsp), %rax
addq $0x78, %rsp
retq
nopw %cs:(%rax,%rax)