// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_compreads_refcompress.c
// Function: gt_compreads_refcompress_option_parser_new
static GtOptionParser*
gt_compreads_refcompress_option_parser_new(void *tool_arguments)
{
  GtCsrRcrEncodeArguments *arguments = tool_arguments;
  GtOptionParser *op;
  GtOption *option,
           *option1;
  gt_assert(arguments);

  /* init */
  op = gt_option_parser_new("[option ...] (-bam file -ref file)",
                         "Generates compact encoding for fastq data using"
                         " Reference Compressed Reads (RCR).");

  option = gt_option_new_bool("v", "be verbose",
                              &arguments->verbose, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("mquals", "store mapping quality for each read",
                              &arguments->mquals, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("quals", "store all quality values for each read,"
                                        " this implies enabling of option"
                                        " \"vquals\"",
                              &arguments->quals, false);

  option1 = gt_option_new_bool("vquals", "store quality values of read"
                               " positions having variations compared to"
                               " reference",
                              &arguments->vquals, false);

  gt_option_exclude(option, option1);

  gt_option_parser_add_option(op, option);
  gt_option_parser_add_option(op, option1);

  option = gt_option_new_bool("descs", "store read name for each read",
                              &arguments->descs, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_bool("ureads", "store unmapped reads in a separated"
                              " fastq file (base name will be the value given"
                              " in name and suffix will be"
                              " \" _unmapped.fastq\"",
                              &arguments->ureads, false);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_string("ref", "Index file (generated by the gt encseq"
                                " tool) for reference genome.",
                                arguments->ref, NULL);
  gt_option_is_mandatory(option);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_string("bam", "File containing alignment of reads to"
                                " genome (sorted \".bam\" file).",
                                arguments->align, NULL);
  gt_option_is_mandatory(option);
  gt_option_parser_add_option(op, option);

  option = gt_option_new_string("name", "specify base name for RCR to be"
                                " generated. If not set, base name will be set"
                                " to base name of value given for option"
                                " \"bam\"",
                                arguments->name, NULL);
  gt_option_parser_add_option(op, option);

  gt_option_parser_set_min_max_args(op, 0U, 0U);
  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x9dff0
movq %rdi, %r14
leaq 0x2b25b5(%rip), %rdi    # 0x350411
leaq 0x2b25d1(%rip), %rsi    # 0x350434
callq 0x10cc4e
movq %rax, %rbx
leaq 0x2fade8(%rip), %rdi    # 0x398c5a
leaq 0x2b2271(%rip), %rsi    # 0x3500ea
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x2(%r14), %rdx
leaq 0x2b25ed(%rip), %rdi    # 0x350486
leaq 0x2b25ed(%rip), %rsi    # 0x35048d
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x3(%r14), %rdx
leaq 0x2fa27a(%rip), %rdi    # 0x398137
leaq 0x2b25ed(%rip), %rsi    # 0x3504b1
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r15
leaq 0x1(%r14), %rdx
leaq 0x2fa256(%rip), %rdi    # 0x39812f
leaq 0x2b2622(%rip), %rsi    # 0x350502
xorl %ecx, %ecx
callq 0x10f451
movq %rax, %r12
movq %r15, %rdi
movq %rax, %rsi
callq 0x10fd9f
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10cd10
leaq 0x5(%r14), %rdx
leaq 0x31df50(%rip), %rdi    # 0x3bbe66
leaq 0x2b2634(%rip), %rsi    # 0x350551
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
leaq 0x4(%r14), %rdx
leaq 0x2b2635(%rip), %rdi    # 0x35056f
leaq 0x2b2635(%rip), %rsi    # 0x350576
xorl %ecx, %ecx
callq 0x10f451
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq 0x10(%r14), %rdx
leaq 0x2e236c(%rip), %rdi    # 0x3802ca
leaq 0x2b2691(%rip), %rsi    # 0x3505f6
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r15
movq %rax, %rdi
callq 0x10fa96
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
movq 0x18(%r14), %rdx
leaq 0x2c0ca8(%rip), %rdi    # 0x35ec35
leaq 0x2b26a5(%rip), %rsi    # 0x350639
xorl %ecx, %ecx
callq 0x10f987
movq %rax, %r15
movq %rax, %rdi
callq 0x10fa96
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10cd10
movq 0x8(%r14), %rdx
leaq 0x2edb66(%rip), %rdi    # 0x38bb22
leaq 0x2b26b9(%rip), %rsi    # 0x35067c
xorl %ecx, %ecx
callq 0x10f987
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10cd10
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x10d784
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x18ab6