// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_readjoiner_cgraph.c
// Function: gt_readjoiner_cgraph_option_parser_new
static GtOptionParser* gt_readjoiner_cgraph_option_parser_new(
    void *tool_arguments)
{
  GtReadjoinerCgraphArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option, *v_option, *subgraph_option;
  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("[option ...]",
      "Construct contigs graph.");

  /* -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);

  /* -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);

  /* -subgraph */
  subgraph_option = gt_option_new_string_array("subgraph",
      "output subgraph for the specified contigs "
      "in GraphViz format\n"
      "(<readset>"GT_READJOINER_SUFFIX_CG_SUB_DOT")",
      arguments->subgraph);
  gt_option_parser_add_option(op, subgraph_option);

  /* -dot */
  option = gt_option_new_bool("dot", "output complete graph in dot format",
      &arguments->dot, false);
  gt_option_parser_add_option(op, option);

  /* -smp1 */
  option = gt_option_new_bool("smp1", "simplify (algorithm 1)",
      &arguments->smp1, false);
  gt_option_parser_add_option(op, option);

  /* -smp2 */
  option = gt_option_new_bool("smp2", "simplify (algorithm 2)",
      &arguments->smp2, false);
  gt_option_parser_add_option(op, option);

  /* -ext */
  option = gt_option_new_bool("ext", "extend after simplify step",
      &arguments->ext, true);
  gt_option_parser_add_option(op, option);

  /* -dotdel */
  option = gt_option_new_bool("dotdel", "show deleted edges "
      "und vertices in dot output", &arguments->dotdel, false);
  gt_option_parser_add_option(op, option);

  /* -sdepth */
  option = gt_option_new_uword("sdepth", "subgraph depth\n"
      "(use 0 for infinite depth == whole connected component)",
      &(arguments->subgraph_depth), 1UL);
  gt_option_imply(option, subgraph_option);
  gt_option_parser_add_option(op, option);

  gt_option_parser_set_max_args(op, 0);

  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xb8a00
movq %rdi, %r14
leaq 0x2a8668(%rip), %rdi    # 0x360eb5
leaq 0x2a3999(%rip), %rsi    # 0x35c1ed
callq 0x10cc4e
movq %rax, %rbx
movq 0x8(%r14), %rdx
leaq 0x2a2e05(%rip), %rdi    # 0x35b66c
leaq 0x2a2e06(%rip), %rsi    # 0x35b674
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %r15, %rdi
callq 0x10fa96
movq %r14, %rdi
callq 0x10f473
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x1(%r14), %rdx
leaq 0x2d717c(%rip), %rdi    # 0x38fa28
leaq 0x2a2eb9(%rip), %rsi    # 0x35b76c
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x10fd9f
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10cd10
movq 0x10(%r14), %rdx
leaq 0x2a467d(%rip), %rdi    # 0x35cf5b
leaq 0x2a3921(%rip), %rsi    # 0x35c206
callq 0x10f9b8
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x2(%r14), %rdx
leaq 0x2a45a3(%rip), %rdi    # 0x35cea6
leaq 0x2a3950(%rip), %rsi    # 0x35c25a
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x3(%r14), %rdx
leaq 0x2a3957(%rip), %rdi    # 0x35c27e
leaq 0x2a3955(%rip), %rsi    # 0x35c283
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x4(%r14), %rdx
leaq 0x2a394f(%rip), %rdi    # 0x35c29a
leaq 0x2a394d(%rip), %rsi    # 0x35c29f
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x6(%r14), %rdx
leaq 0x326dd3(%rip), %rdi    # 0x3df742
leaq 0x2a3940(%rip), %rsi    # 0x35c2b6
movl $0x1, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x5(%r14), %rdx
leaq 0x2a393b(%rip), %rdi    # 0x35c2d1
leaq 0x2a393b(%rip), %rsi    # 0x35c2d8
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
addq $0x18, %r14
leaq 0x2a394c(%rip), %rdi    # 0x35c306
leaq 0x2a394c(%rip), %rsi    # 0x35c30d
movl $0x1, %ecx
movq %r14, %rdx
callq 0x10f4c7
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x10fbff
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10cd10
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10d775
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x1da89