// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/annotationsketch/gt_sketch_page.c
// Function: gt_sketch_page_option_parser_new
static GtOptionParser* gt_sketch_page_option_parser_new(void *tool_arguments)
{
  SketchPageArguments *arguments = tool_arguments;
  GtOptionParser *op;
  static const char *formats[] = {
#ifdef CAIRO_HAS_PDF_SURFACE
    "pdf",
#endif
#ifdef CAIRO_HAS_PS_SURFACE
    "ps",
#endif
    NULL
  };
  GtOption *o;
  op = gt_option_parser_new("outfile annotationfile",
                            "Draw a multi-page PDF/PS representation of "
                            "an annotation file.");
  o = gt_option_new_string("seqid", "sequence region to draw\n"
                                    "default: first in file",
                           arguments->seqid, NULL);
  gt_option_parser_add_option(op, o);
  gt_option_hide_default(o);

  o = gt_option_new_string("text", "text to show in header\n"
                                  "default: file name",
                           arguments->text, NULL);
  gt_option_parser_add_option(op, o);
  gt_option_hide_default(o);

  o = gt_option_new_double("fontsize", "header and footer font size "
                                       "(in points)",
                           &arguments->theight, 10.0);
  gt_option_parser_add_option(op, o);

  o = gt_option_new_range("range", "range to draw (e.g. 100 10000)\n"
                                   "default: full range",
                          &arguments->range, NULL);
  gt_option_parser_add_option(op, o);
  gt_option_hide_default(o);

  o = gt_option_new_uword_min("linewidth", "base width of a single "
                                           "repeated unit",
                              &arguments->width, 2000, 1000);
  gt_option_is_mandatory(o);
  gt_option_parser_add_option(op, o);

  o = gt_option_new_double("width", "page width in millimeters "
                                    "(default: DIN A4)",
                           &arguments->pwidth, 210.0);
  gt_option_parser_add_option(op, o);

  o = gt_option_new_double("height", "page height in millimeters "
                                     "(default: DIN A4)",
                           &arguments->pheight, 297.0);
  gt_option_parser_add_option(op, o);

  o = gt_option_new_choice("format", "output format\n"
                                     "choose from: "
#ifdef CAIRO_HAS_PDF_SURFACE
                                       "pdf"
#ifdef CAIRO_HAS_PS_SURFACE
                                       "|"
#endif
#endif
#ifdef CAIRO_HAS_PS_SURFACE
                                       "ps"
#endif
                                       "",
                            arguments->format, formats[0], formats );
  gt_option_parser_add_option(op, o);

  o = gt_option_new_string("style", "style file to use\n"
                                    "default: gtdata/sketch/default.style",
                                arguments->stylefile,
                                gt_str_get(arguments->stylefile));
  gt_option_parser_add_option(op, o);
  gt_option_hide_default(o);

  o = gt_option_new_filename("seqfile", "sequence file for GC content view",
                                arguments->seqfile);
  gt_option_parser_add_option(op, o);
  gt_option_is_extended_option(o);

  gt_option_parser_set_min_max_args(op, 2, 2);
  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
leaq 0x192814(%rip), %rdi    # 0x36579e
leaq 0x192824(%rip), %rsi    # 0x3657b5
callq 0x97df5
movq %rax, %rbx
movq 0x30(%r14), %rdx
leaq 0x12ca58(%rip), %rdi    # 0x2ff9fc
leaq 0x192849(%rip), %rsi    # 0x3657f4
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r15, %rdi
callq 0x9b445
movq 0x48(%r14), %rdx
leaq 0x1940fc(%rip), %rdi    # 0x3670cf
leaq 0x192849(%rip), %rsi    # 0x365823
xorl %ecx, %ecx
callq 0x9ad12
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r15, %rdi
callq 0x9b445
leaq 0x18(%r14), %rdx
leaq 0x19284b(%rip), %rdi    # 0x36584d
leaq 0x19284d(%rip), %rsi    # 0x365856
movsd 0x121f9f(%rip), %xmm0   # 0x2f4fb0
callq 0x9aad7
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x20(%r14), %rdx
leaq 0x14a828(%rip), %rdi    # 0x31d854
leaq 0x19284b(%rip), %rsi    # 0x36587e
xorl %ecx, %ecx
callq 0x9aca4
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r15, %rdi
callq 0x9b445
leaq 0x19285a(%rip), %rdi    # 0x3658b1
leaq 0x19285d(%rip), %rsi    # 0x3658bb
movl $0x7d0, %ecx            # imm = 0x7D0
movl $0x3e8, %r8d            # imm = 0x3E8
movq %r14, %rdx
callq 0x9ac58
movq %rax, %r15
movq %rax, %rdi
callq 0x9ae37
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
leaq 0x8(%r14), %rdx
leaq 0x1846b4(%rip), %rdi    # 0x357746
leaq 0x192847(%rip), %rsi    # 0x3658e0
movsd 0x192697(%rip), %xmm0   # 0x365738
callq 0x9aad7
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
leaq 0x10(%r14), %rdx
leaq 0x1b3d87(%rip), %rdi    # 0x386e43
leaq 0x192849(%rip), %rsi    # 0x36590c
movsd 0x192675(%rip), %xmm0   # 0x365740
callq 0x9aad7
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x38(%r14), %rdx
movq 0x266c0a(%rip), %rcx    # 0x439cf0
leaq 0x266c03(%rip), %r8     # 0x439cf0
leaq 0x128a16(%rip), %rdi    # 0x2fbb0a
leaq 0x19283e(%rip), %rsi    # 0x365939
callq 0x9ad83
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x40(%r14), %r15
movq %r15, %rdi
callq 0xad1fa
leaq 0x1930d4(%rip), %rdi    # 0x3661f2
leaq 0x192836(%rip), %rsi    # 0x36595b
movq %r15, %rdx
movq %rax, %rcx
callq 0x9ad12
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r15, %rdi
callq 0x9b445
movq 0x50(%r14), %rdx
leaq 0x16afa9(%rip), %rdi    # 0x33e0fa
leaq 0x19283a(%rip), %rsi    # 0x365992
callq 0x9ad51
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq %r14, %rdi
callq 0x9b0c7
pushq $0x2
popq %rdx
movq %rbx, %rdi
movl %edx, %esi
callq 0x98c6b
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq