// File: /workspace/github_c_makefile_star2_O2/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 0x3a074
movq %rdi, %r14
leaq 0x2bdfad(%rip), %rdi    # 0x2f7e72
leaq 0x2b92f9(%rip), %rsi    # 0x2f31c5
callq 0x97df5
movq %rax, %rbx
movq 0x8(%r14), %rdx
leaq 0x2b8765(%rip), %rdi    # 0x2f2644
leaq 0x2b8766(%rip), %rsi    # 0x2f264c
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r15, %rdi
callq 0x9ae37
movq %r14, %rdi
callq 0x9a9b6
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x1(%r14), %rdx
leaq 0x2ecb24(%rip), %rdi    # 0x326a48
leaq 0x2b8819(%rip), %rsi    # 0x2f2744
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x9b38d
movq %rbx, %rdi
movq %r12, %rsi
callq 0x97f31
movq 0x10(%r14), %rdx
leaq 0x2b9fdd(%rip), %rdi    # 0x2f3f33
leaq 0x2b9281(%rip), %rsi    # 0x2f31de
callq 0x9ad43
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x2(%r14), %rdx
leaq 0x2b9f03(%rip), %rdi    # 0x2f3e7e
leaq 0x2b92b0(%rip), %rsi    # 0x2f3232
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x3(%r14), %rdx
leaq 0x2b92b7(%rip), %rdi    # 0x2f3256
leaq 0x2b92b5(%rip), %rsi    # 0x2f325b
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x4(%r14), %rdx
leaq 0x2b92af(%rip), %rdi    # 0x2f3272
leaq 0x2b92ad(%rip), %rsi    # 0x2f3277
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x6(%r14), %rdx
leaq 0x33c427(%rip), %rdi    # 0x37640e
leaq 0x2b92a0(%rip), %rsi    # 0x2f328e
pushq $0x1
popq %rcx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x5(%r14), %rdx
leaq 0x2b929d(%rip), %rdi    # 0x2f32a9
leaq 0x2b929d(%rip), %rsi    # 0x2f32b0
xorl %ecx, %ecx
callq 0x9a997
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
addq $0x18, %r14
leaq 0x2b92ae(%rip), %rdi    # 0x2f32de
leaq 0x2b92ae(%rip), %rsi    # 0x2f32e5
pushq $0x1
popq %rcx
movq %r14, %rdx
callq 0x9a9e6
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x9b14d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x97f31
movq %rbx, %rdi
xorl %esi, %esi
callq 0x98c29
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x3fdeed(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2aaf8e(%rip), %rsi    # 0x2e5013
leaq 0x30e5c7(%rip), %rdx    # 0x348653
leaq 0x2b910b(%rip), %rcx    # 0x2f319e
leaq 0x2b90e3(%rip), %r8     # 0x2f317d
pushq $0x3f
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390