// File: /workspace/github_c_makefile_star2_O3/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 0x9bdc8
movq %rdi, %r14
leaq 0x2ab7dd(%rip), %rdi    # 0x347411
leaq 0x2ab7f9(%rip), %rsi    # 0x347434
callq 0x107bfe
movq %rax, %rbx
leaq 0x2f3be8(%rip), %rdi    # 0x38f832
leaq 0x2ab499(%rip), %rsi    # 0x3470ea
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10a235
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x2(%r14), %rdx
leaq 0x2ab815(%rip), %rdi    # 0x347486
leaq 0x2ab815(%rip), %rsi    # 0x34748d
xorl %ecx, %ecx
callq 0x10a235
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x3(%r14), %rdx
leaq 0x34a7c0(%rip), %rdi    # 0x3e6455
leaq 0x2ab815(%rip), %rsi    # 0x3474b1
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
leaq 0x1(%r14), %rdx
leaq 0x2f305e(%rip), %rdi    # 0x38ed0f
leaq 0x2ab84a(%rip), %rsi    # 0x347502
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r12
movq %r15, %rdi
movq %rax, %rsi
callq 0x10ab96
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
leaq 0x5(%r14), %rdx
leaq 0x316b74(%rip), %rdi    # 0x3b2862
leaq 0x2ab85c(%rip), %rsi    # 0x347551
xorl %ecx, %ecx
callq 0x10a235
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
leaq 0x4(%r14), %rdx
leaq 0x2ab85d(%rip), %rdi    # 0x34756f
leaq 0x2ab85d(%rip), %rsi    # 0x347576
xorl %ecx, %ecx
callq 0x10a235
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq 0x10(%r14), %rdx
leaq 0x2db302(%rip), %rdi    # 0x377038
leaq 0x2ab8b9(%rip), %rsi    # 0x3475f6
xorl %ecx, %ecx
callq 0x10a770
movq %rax, %r15
movq %rax, %rdi
callq 0x10a87b
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
movq 0x18(%r14), %rdx
leaq 0x2b9ea4(%rip), %rdi    # 0x355c09
leaq 0x2ab8cd(%rip), %rsi    # 0x347639
xorl %ecx, %ecx
callq 0x10a770
movq %rax, %r15
movq %rax, %rdi
callq 0x10a87b
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
movq 0x8(%r14), %rdx
leaq 0x2e69cb(%rip), %rdi    # 0x38275f
leaq 0x2ab8e1(%rip), %rsi    # 0x34767c
xorl %ecx, %ecx
callq 0x10a770
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x10874b
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x18ab6