// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/tools/gt_readjoiner_asqg.c
// Function: gt_readjoiner_asqg_option_parser_new
static GtOptionParser* gt_readjoiner_asqg_option_parser_new(
    void *tool_arguments)
{
  GtReadjoinerAsqgArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option, *v_option;
  gt_assert(arguments != NULL);

  /* init */
  op = gt_option_parser_new("[option ...]",
      "Output string graph in SGA asqg format.");

  /* -readset */
  option = gt_option_new_string("readset", "specify the readset name",
      arguments->readset, NULL);
  gt_option_parser_add_option(op, option);
  gt_option_is_mandatory(option);

  /* -spmfiles */
  option = gt_option_new_uint_min("spmfiles", "number of SPM files to read\n"
      "this must be equal to the value of -j for the overlap phase",
      &arguments->nspmfiles, 1U, 1U);
  gt_option_is_extended_option(option);
  gt_option_parser_add_option(op, option);

  /* -l */
  option = gt_option_new_uint_min("l", "specify the minimum SPM length",
      &arguments->minmatchlength, 0, 2U);
  gt_option_is_extended_option(option);
  gt_option_parser_add_option(op, option);

  /* -gz */
  option = gt_option_new_bool("gz", "output gzipped file",
      &arguments->gz, false);
  gt_option_parser_add_option(op, option);

  /* -sg */
  option = gt_option_new_bool("sg", "first construct a Readjoiner string "
      "graph, then convert it into SGA format",
      &arguments->sg, false);
  gt_option_is_development_option(option);
  gt_option_parser_add_option(op, option);

  /* -v */
  v_option = gt_option_new_verbose(&arguments->verbose);
  gt_option_parser_add_option(op, v_option);

  /* -q */
  option = gt_option_new_bool("q", "suppress standard output messages",
      &arguments->quiet, false);
  gt_option_exclude(option, v_option);
  gt_option_parser_add_option(op, option);

  gt_option_parser_set_version_func(op, gt_readjoiner_show_version);
  gt_option_parser_set_max_args(op, 0);

  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x381b3
movq %rdi, %r14
leaq 0x2bfe22(%rip), %rdi    # 0x2f7e72
leaq 0x2ba5c5(%rip), %rsi    # 0x2f261c
callq 0x97df5
movq %rax, %rbx
movq 0x8(%r14), %rdx
leaq 0x2ba5da(%rip), %rdi    # 0x2f2644
leaq 0x2ba5db(%rip), %rsi    # 0x2f264c
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r15, %rdi
callq 0x9ae37
leaq 0x14(%r14), %rdx
leaq 0x2ba5cc(%rip), %rdi    # 0x2f2665
leaq 0x2ba5ce(%rip), %rsi    # 0x2f266e
pushq $0x1
popq %rcx
movl %ecx, %r8d
callq 0x9abef
movq %rax, %r15
movq %rax, %rdi
callq 0x9b0c7
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
leaq 0x4(%r14), %rdx
leaq 0x2efea6(%rip), %rdi    # 0x327f72
leaq 0x2ba5f3(%rip), %rsi    # 0x2f26c6
pushq $0x2
popq %r8
xorl %ecx, %ecx
callq 0x9abef
movq %rax, %r15
movq %rax, %rdi
callq 0x9b0c7
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
leaq 0x10(%r14), %rdx
leaq 0x2bb71e(%rip), %rdi    # 0x2f381d
leaq 0x2ba5df(%rip), %rsi    # 0x2f26e5
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x11(%r14), %rdx
leaq 0x2bad46(%rip), %rdi    # 0x2f2e69
leaq 0x2ba5cf(%rip), %rsi    # 0x2f26f9
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rax, %rdi
callq 0x9b10a
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
movq %r14, %rdi
callq 0x9a9b6
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
incq %r14
leaq 0x2ee8e1(%rip), %rdi    # 0x326a48
leaq 0x2ba5d6(%rip), %rsi    # 0x2f2744
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x97f31
leaq 0x15052c(%rip), %rsi    # 0x1886c4
movq %rbx, %rdi
callq 0x9808c
movq %rbx, %rdi
xorl %esi, %esi
callq 0x98c29
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq 0x3ffdae(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2ace4f(%rip), %rsi    # 0x2e5013
leaq 0x2ae0a1(%rip), %rdx    # 0x2e626c
leaq 0x2ba425(%rip), %rcx    # 0x2f25f7
leaq 0x2ba3ff(%rip), %r8     # 0x2f25d8
pushq $0x42
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390