// File: /workspace/github_c_makefile_star2_O1/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 0xb675a
movq %rdi, %r14
leaq 0x2aa8c5(%rip), %rdi    # 0x360eb5
leaq 0x2a504d(%rip), %rsi    # 0x35b644
callq 0x10cc4e
movq %rax, %rbx
movq 0x8(%r14), %rdx
leaq 0x2a5062(%rip), %rdi    # 0x35b66c
leaq 0x2a5063(%rip), %rsi    # 0x35b674
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fa96
leaq 0x14(%r14), %rdx
leaq 0x2a5054(%rip), %rdi    # 0x35b68d
leaq 0x2a5056(%rip), %rsi    # 0x35b696
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x10f73b
movq %rax, %r15
movq %rax, %rdi
callq 0x10fbdf
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
leaq 0x4(%r14), %rdx
leaq 0x2da8e5(%rip), %rdi    # 0x390f56
leaq 0x2a5076(%rip), %rsi    # 0x35b6ee
xorl %ecx, %ecx
movl $0x2, %r8d
callq 0x10f73b
movq %rax, %r15
movq %rax, %rdi
callq 0x10fbdf
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
leaq 0x10(%r14), %rdx
leaq 0x2a619f(%rip), %rdi    # 0x35c845
leaq 0x2a5060(%rip), %rsi    # 0x35b70d
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x11(%r14), %rdx
leaq 0x2a57c7(%rip), %rdi    # 0x35be91
leaq 0x2a5050(%rip), %rsi    # 0x35b721
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
movq %rax, %rdi
callq 0x10fbef
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
movq %r14, %rdi
callq 0x10f473
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
incq %r14
leaq 0x2d931a(%rip), %rdi    # 0x38fa28
leaq 0x2a5057(%rip), %rsi    # 0x35b76c
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x10fd9f
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10cd10
leaq 0x12e039(%rip), %rsi    # 0x1e4778
movq %rbx, %rdi
callq 0x10cda1
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10d775
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
callq 0x1d76f