// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x4c693
movq 0x5ef93e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4c99a7(%rip), %rsi    # 0x516013
leaq 0x4cac11(%rip), %rdx    # 0x517284
leaq 0x4d6fed(%rip), %rcx    # 0x523667
leaq 0x4d6fc7(%rip), %r8     # 0x523648
movl $0x42, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c695
leaq 0x4dc8c1(%rip), %rdi    # 0x528f5d
leaq 0x4d6fe9(%rip), %rsi    # 0x52368c
callq 0xf1420
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rdx
leaq 0x4d6ff7(%rip), %rdi    # 0x5236b4
leaq 0x4d6ff8(%rip), %rsi    # 0x5236bc
xorl %eax, %eax
movl %eax, %ecx
callq 0xf69f0
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x8(%rsp), %rdi
callq 0xf6ca0
movq 0x18(%rsp), %rdx
addq $0x14, %rdx
leaq 0x4d6fda(%rip), %rdi    # 0x5236d5
leaq 0x4d6fdc(%rip), %rsi    # 0x5236de
movl $0x1, %r8d
movl %r8d, %ecx
callq 0xf6510
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0xf6ff0
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x4, %rdx
leaq 0x50dc1e(%rip), %rdi    # 0x55a35c
leaq 0x4d6ff1(%rip), %rsi    # 0x523736
xorl %ecx, %ecx
movl $0x2, %r8d
callq 0xf6510
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0xf6ff0
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x10, %rdx
leaq 0x4d816e(%rip), %rdi    # 0x5248ee
leaq 0x4d6fce(%rip), %rsi    # 0x523755
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x11, %rdx
leaq 0x4d7727(%rip), %rdi    # 0x523ed9
leaq 0x4d6fb0(%rip), %rsi    # 0x523769
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0xf7040
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdi
callq 0xf5f90
movq %rax, (%rsp)
movq 0x10(%rsp), %rdi
movq (%rsp), %rsi
callq 0xf1600
movq 0x18(%rsp), %rdx
addq $0x1, %rdx
leaq 0x50c5b5(%rip), %rdi    # 0x558dbf
leaq 0x4d6fa3(%rip), %rsi    # 0x5237b4
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
movq (%rsp), %rsi
callq 0xf7320
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xf1600
movq 0x10(%rsp), %rdi
leaq 0x253cea(%rip), %rsi    # 0x2a0530
callq 0xf17f0
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0xf29e0
movq 0x10(%rsp), %rax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)