// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/gtr.c
// Function: gtr_option_parser_new
static GtOptionParser* gtr_option_parser_new(GtR *gtr)
{
  GtOptionParser *op;
  GtOption *o, *only_option, *debug_option, *debugfp_option;
  gt_assert(gtr);
  op = gt_option_parser_new("[option ...] [tool | script] [argument ...]",
                            "The GenomeTools genome analysis system.");
  gt_option_parser_set_comment_func(op, show_gtr_help, gtr->tools);
  o = gt_option_new_bool("i",
                         "enter interactive mode after executing 'tool' or "
                         "'script'", &gtr->interactive, false);
  gt_option_hide_default(o);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_bool("q", "suppress warnings", &gtr->quiet, false);
  gt_option_hide_default(o);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_uint_min("j", "set number of parallel threads used at once",
                             &gt_jobs, 1, 1);
  gt_option_is_development_option(o);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_bool("test", "perform unit tests and exit", &gtr->test,
                         false);
  gt_option_hide_default(o);
  gt_option_parser_add_option(op, o);
  only_option = gt_option_new_string("only", "perform single unit test "
                                     "(requires -test)", gtr->test_only, "");
  gt_option_imply(only_option, o);
  gt_option_is_development_option(only_option);
  gt_option_hide_default(only_option);
  gt_option_parser_add_option(op, only_option);
  debug_option = gt_option_new_debug(&gtr->debug);
  gt_option_parser_add_option(op, debug_option);
  debugfp_option = gt_option_new_string("debugfp",
                                     "set file pointer for debugging output\n"
                                     "use ``stdout'' for standard output\n"
                                     "use ``stderr'' for standard error\n"
                                     "or any other string to use the "
                                     "corresponding file (will be overwritten "
                                     "without warning!)", gtr->debugfp,
                                     "stderr");
  gt_option_is_development_option(debugfp_option);
  gt_option_parser_add_option(op, debugfp_option);
  gt_option_imply(debugfp_option, debug_option);
  o = gt_option_new_uint("seed",
                         "set seed for random number generator manually.\n"
                         "0 generates a seed from current time and process id",
                         &gtr->seed, gtr->seed);
  gt_option_hide_default(o);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_bool("64bit", "exit with code 0 if this is a 64bit binary, "
                         "with 1 otherwise", &gtr->check64bit, false);
  gt_option_is_development_option(o);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_bool("list", "list all tools and exit", &gtr->list, false);
  gt_option_is_development_option(o);
  gt_option_hide_default(o);
  gt_option_parser_add_option(op, o);
  o = gt_option_new_filename("testspacepeak", "alloc 64 MB and mmap the given "
                             "file", gtr->testspacepeak);
  gt_option_is_development_option(o);
  gt_option_parser_add_option(op, o);

  o = gt_option_new_string("createman", "create man page sources in directory",
                           gtr->manoutdir, "");
  gt_option_is_development_option(o);
  gt_option_parser_add_option(op, o);
  return op;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r14
leaq 0x2ad4c5(%rip), %rdi    # 0x3452f7
leaq 0x2ad4ea(%rip), %rsi    # 0x345323
callq 0x107bfe
movq %rax, %rbx
movq 0x20(%r14), %rdx
leaq 0xb34(%rip), %rsi       # 0x98980
movq %rax, %rdi
callq 0x107d3d
leaq 0x1(%r14), %rdx
leaq 0x2d6a2c(%rip), %rdi    # 0x36e88b
leaq 0x2ad4e5(%rip), %rsi    # 0x34534b
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rax, %rdi
callq 0x10ac1f
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
leaq 0x2(%r14), %rdx
leaq 0x2ee7ba(%rip), %rdi    # 0x386648
leaq 0x2ad4f0(%rip), %rsi    # 0x345385
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r15
movq %rax, %rdi
callq 0x10ac1f
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
leaq 0x2c8531(%rip), %rdi    # 0x3603ea
leaq 0x2ad4d7(%rip), %rsi    # 0x345397
leaq 0x421f51(%rip), %rdx    # 0x4b9e18
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x10a51f
movq %rax, %r15
movq %rax, %rdi
callq 0x10a9d4
movq %rbx, %rdi
movq %r15, %rsi
callq 0x107cc0
leaq 0x2afaef(%rip), %rdi    # 0x3479e3
leaq 0x2ad4c8(%rip), %rsi    # 0x3453c3
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r12
movq %rax, %rdi
callq 0x10ac1f
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
movq 0x38(%r14), %rdx
leaq 0x2c2c60(%rip), %rdi    # 0x35ab86
leaq 0x2ad4b2(%rip), %rsi    # 0x3453df
leaq 0x33223c(%rip), %r15    # 0x3ca170
movq %r15, %rcx
callq 0x10a770
movq %rax, %r13
movq %rax, %rdi
movq %r12, %rsi
callq 0x10a9e4
movq %r13, %rdi
callq 0x10a9d4
movq %r13, %rdi
callq 0x10ac1f
movq %rbx, %rdi
movq %r13, %rsi
callq 0x107cc0
leaq 0x3(%r14), %rdi
callq 0x10a208
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x107cc0
movq 0x10(%r14), %rdx
leaq 0x2ad482(%rip), %rdi    # 0x345409
leaq 0x2ad483(%rip), %rsi    # 0x345411
leaq 0x2ad540(%rip), %rcx    # 0x3454d5
callq 0x10a770
movq %rax, %r13
movq %rax, %rdi
callq 0x10a9d4
movq %rbx, %rdi
movq %r13, %rsi
callq 0x107cc0
movq %r13, %rdi
movq %r12, %rsi
callq 0x10a9e4
leaq 0x8(%r14), %rdx
movl 0x8(%r14), %ecx
leaq 0x2bd676(%rip), %rdi    # 0x355640
leaq 0x2ad50b(%rip), %rsi    # 0x3454dc
callq 0x10a4fd
movq %rax, %r12
movq %rax, %rdi
callq 0x10ac1f
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
leaq 0x5(%r14), %rdx
leaq 0x2d11a3(%rip), %rdi    # 0x36919a
leaq 0x2ad541(%rip), %rsi    # 0x34553f
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r12
movq %rax, %rdi
callq 0x10a9d4
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
leaq 0x4(%r14), %rdx
leaq 0x2bbea1(%rip), %rdi    # 0x353ec7
leaq 0x2ad54f(%rip), %rsi    # 0x34557c
xorl %ecx, %ecx
callq 0x10a235
movq %rax, %r12
movq %rax, %rdi
callq 0x10a9d4
movq %r12, %rdi
callq 0x10ac1f
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
movq 0x18(%r14), %rdx
leaq 0x2ad537(%rip), %rdi    # 0x345594
leaq 0x2ad53e(%rip), %rsi    # 0x3455a2
callq 0x10a7af
movq %rax, %r12
movq %rax, %rdi
callq 0x10a9d4
movq %rbx, %rdi
movq %r12, %rsi
callq 0x107cc0
movq 0x30(%r14), %rdx
leaq 0x2ad53c(%rip), %rdi    # 0x3455c6
leaq 0x2ad53f(%rip), %rsi    # 0x3455d0
movq %r15, %rcx
callq 0x10a770
movq %rax, %r14
movq %rax, %rdi
callq 0x10a9d4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x107cc0
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq