// File: /workspace/github_c_makefile_star2_O2/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:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x3b156
movq %rdi, %r14
leaq 0x2bceae(%rip), %rdi    # 0x2f7e72
leaq 0x2b8769(%rip), %rsi    # 0x2f3734
callq 0x97df5
movq %rax, %rbx
movq 0x8(%r14), %rdx
leaq 0x2b7666(%rip), %rdi    # 0x2f2644
leaq 0x2b7667(%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 0x2b7658(%rip), %rdi    # 0x2f2665
leaq 0x2b765a(%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 0x2ecf32(%rip), %rdi    # 0x327f72
leaq 0x2b767f(%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 0x2b87aa(%rip), %rdi    # 0x2f381d
leaq 0x2b766b(%rip), %rsi    # 0x2f26e5
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x11(%r14), %rdx
leaq 0x2b7dd2(%rip), %rdi    # 0x2f2e69
leaq 0x2b86bd(%rip), %rsi    # 0x2f375b
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rax, %rdi
callq 0x9b10a
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
leaq 0x18(%r14), %rdx
leaq 0x2d3c4c(%rip), %rdi    # 0x30ed12
leaq 0x2b86d9(%rip), %rsi    # 0x2f37a6
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rax, %rdi
callq 0x9b445
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 0x2eb93e(%rip), %rdi    # 0x326a48
leaq 0x2b7633(%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 0x14d589(%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 0x3fce0b(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2a9eac(%rip), %rsi    # 0x2e5013
leaq 0x2ab0fe(%rip), %rdx    # 0x2e626c
leaq 0x2b859b(%rip), %rcx    # 0x2f3710
leaq 0x2b8576(%rip), %r8     # 0x2f36f2
pushq $0x43
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390