// File: /workspace/github_c_makefile_star2_O2/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 0x2ccdac(%rip), %rdi    # 0x2e52f7
leaq 0x2ccdd1(%rip), %rsi    # 0x2e5323
callq 0x97df5
movq %rax, %rbx
movq 0x20(%r14), %rdx
leaq 0xc6e(%rip), %rsi       # 0x191d3
movq %rax, %rdi
callq 0x98045
leaq 0x1(%r14), %rdx
leaq 0x2f662b(%rip), %rdi    # 0x30eba3
leaq 0x2ccdcc(%rip), %rsi    # 0x2e534b
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rax, %rdi
callq 0x9b445
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
leaq 0x2(%r14), %rdx
leaq 0x30e4a1(%rip), %rdi    # 0x326a48
leaq 0x2ccdd7(%rip), %rsi    # 0x2e5385
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r15
movq %rax, %rdi
callq 0x9b445
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
leaq 0x2e7d7d(%rip), %rdi    # 0x30034f
leaq 0x2ccdbe(%rip), %rsi    # 0x2e5397
leaq 0x4207e8(%rip), %rdx    # 0x438dc8
pushq $0x1
popq %rcx
movl %ecx, %r8d
callq 0x9abef
movq %rax, %r15
movq %rax, %rdi
callq 0x9b10a
movq %rbx, %rdi
movq %r15, %rsi
callq 0x97f31
leaq 0x2cf3db(%rip), %rdi    # 0x2e79e3
leaq 0x2ccdb4(%rip), %rsi    # 0x2e53c3
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r12
movq %rax, %rdi
callq 0x9b445
movq %rbx, %rdi
movq %r12, %rsi
callq 0x97f31
movq 0x38(%r14), %rdx
leaq 0x2e2524(%rip), %rdi    # 0x2fab5e
leaq 0x2ccd9e(%rip), %rsi    # 0x2e53df
leaq 0x351f28(%rip), %r15    # 0x36a570
movq %r15, %rcx
callq 0x9ad12
movq %rax, %r13
movq %rax, %rdi
movq %r12, %rsi
callq 0x9b14d
movq %r13, %rdi
callq 0x9b10a
movq %r13, %rdi
callq 0x9b445
movq %rbx, %rdi
movq %r13, %rsi
callq 0x97f31
leaq 0x3(%r14), %rdi
callq 0x9a978
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x97f31
movq 0x10(%r14), %rdx
leaq 0x2ccd6e(%rip), %rdi    # 0x2e5409
leaq 0x2ccd6f(%rip), %rsi    # 0x2e5411
leaq 0x2cce2c(%rip), %rcx    # 0x2e54d5
callq 0x9ad12
movq %rax, %r13
movq %rax, %rdi
callq 0x9b10a
movq %rbx, %rdi
movq %r13, %rsi
callq 0x97f31
movq %r13, %rdi
movq %r12, %rsi
callq 0x9b14d
leaq 0x8(%r14), %rdx
movl 0x8(%r14), %ecx
leaq 0x2dcf72(%rip), %rdi    # 0x2f5650
leaq 0x2ccdf7(%rip), %rsi    # 0x2e54dc
callq 0x9abcd
movq %rax, %r12
movq %rax, %rdi
callq 0x9b445
movq %rbx, %rdi
movq %r12, %rsi
callq 0x97f31
leaq 0x5(%r14), %rdx
leaq 0x2f09eb(%rip), %rdi    # 0x3090f6
leaq 0x2cce2d(%rip), %rsi    # 0x2e553f
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r12
movq %rax, %rdi
callq 0x9b10a
movq %rbx, %rdi
movq %r12, %rsi
callq 0x97f31
leaq 0x4(%r14), %rdx
leaq 0x2db79d(%rip), %rdi    # 0x2f3ed7
leaq 0x2cce3b(%rip), %rsi    # 0x2e557c
xorl %ecx, %ecx
callq 0x9a997
movq %rax, %r12
movq %rax, %rdi
callq 0x9b10a
movq %r12, %rdi
callq 0x9b445
movq %rbx, %rdi
movq %r12, %rsi
callq 0x97f31
movq 0x18(%r14), %rdx
leaq 0x2cce23(%rip), %rdi    # 0x2e5594
leaq 0x2cce2a(%rip), %rsi    # 0x2e55a2
callq 0x9ad51
movq %rax, %r12
movq %rax, %rdi
callq 0x9b10a
movq %rbx, %rdi
movq %r12, %rsi
callq 0x97f31
movq 0x30(%r14), %rdx
leaq 0x2cce28(%rip), %rdi    # 0x2e55c6
leaq 0x2cce2b(%rip), %rsi    # 0x2e55d0
movq %r15, %rcx
callq 0x9ad12
movq %rax, %r14
movq %rax, %rdi
callq 0x9b10a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x97f31
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq