// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_readjoiner_gfa.c
// Function: gt_readjoiner_gfa_option_parser_new
static GtOptionParser* gt_readjoiner_gfa_option_parser_new(
    void *tool_arguments)
{
  GtReadjoinerGfaArguments *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 gfa 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 GFA format",
      &arguments->sg, false);
  gt_option_is_development_option(option);
  gt_option_parser_add_option(op, option);

  /* -1 */
  option = gt_option_new_bool("1", "output GFA1 "
      "(default: output GFA2)", &arguments->gfa1, false);
  gt_option_hide_default(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 0x50e63
movq 0x5eb16e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4c51d7(%rip), %rsi    # 0x516013
leaq 0x4c6441(%rip), %rdx    # 0x517284
leaq 0x4d3997(%rip), %rcx    # 0x5247e1
leaq 0x4d3972(%rip), %r8     # 0x5247c3
movl $0x43, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x50e65
leaq 0x4d80f1(%rip), %rdi    # 0x528f5d
leaq 0x4d3992(%rip), %rsi    # 0x524805
callq 0xf1420
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rdx
leaq 0x4d2827(%rip), %rdi    # 0x5236b4
leaq 0x4d2828(%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 0x4d280a(%rip), %rdi    # 0x5236d5
leaq 0x4d280c(%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 0x50944e(%rip), %rdi    # 0x55a35c
leaq 0x4d2821(%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 0x4d399e(%rip), %rdi    # 0x5248ee
leaq 0x4d27fe(%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 0x4d2f57(%rip), %rdi    # 0x523ed9
leaq 0x4d38a3(%rip), %rsi    # 0x52482c
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), %rdx
addq $0x18, %rdx
leaq 0x4ef74c(%rip), %rdi    # 0x54070a
leaq 0x4d38b2(%rip), %rsi    # 0x524877
xorl %ecx, %ecx
callq 0xf5f20
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0xf7400
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 0x507da9(%rip), %rdi    # 0x558dbf
leaq 0x4d2797(%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 0x24f4de(%rip), %rsi    # 0x2a0530
callq 0xf17f0
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0xf29e0
movq 0x10(%rsp), %rax
addq $0x28, %rsp
retq
nopl (%rax)