#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
void usage(char *progname) {
  fprintf(stderr,
          "\nThe program loads <index> and then executes over it the\n");
  fprintf(stderr,
          "queries it receives from the standard input. The standard\n");
  fprintf(stderr, "input comes in the format of the files written by \n");
  fprintf(stderr, "genpatterns or genintervals.\n");
  fprintf(stderr, "%s reports on the standard error time statistics\n",
          progname);
  fprintf(stderr, "regarding to running the queries.\n\n");
  fprintf(stderr, "Usage:  %s <index> <type> [options][V]\n", progname);
  fprintf(stderr, "\n\t<type>   denotes the type of queries:\n");
  fprintf(stderr,
          "\t         %c Online check for locateWords and displayWords;\n",
          ('T'));
  fprintf(stderr, "\t         %c <numrepetitions> counting queries;\n", ('C'));
  fprintf(stderr, "\t\t    -> <numrepetitions> repeat process several times "
                  "for \"timing\" purposes\n\n");
  fprintf(stderr, "\t         %c locating queries;\n\n", ('L'));
  fprintf(stderr, "\t         %c <radix-num-char> displaying queries;\n",
          ('D'));
  fprintf(stderr, "\t\t    -> <radix-num-char> denotes the number of "
                  "characters to display\n");
  fprintf(stderr, "\t\t         before and after each pattern occurrence.\n\n");
  fprintf(stderr, "\t         %c extracting queries.\n\n", ('E'));
  fprintf(stderr,
          "\t         %c <wordsbefore> locating queries (word-oriented);\n",
          ('l'));
  fprintf(stderr, "\t\t    -> <wordsbefore> sets returned location "
                  "-wordsbefore- word positions\n");
  fprintf(stderr, "\t\t         before each pattern occurrence.\n");
  fprintf(stderr, "\t\t    -> <numrepetitions> repeat process several times "
                  "for \"timing\" purposes\n\n");
  fprintf(stderr,
          "\t         %c <radix-bytes> <wordsbefore>. displaying queries "
          "(word-oriented);\n",
          ('d'));
  fprintf(stderr, "\t\t    ->will extract 2*radix-bytes + lenght(pattern) "
                  "bytes starting\n");
  fprintf(
      stderr,
      "\t\t         extraction -wordsbefore- words before an occurrence.\n\n");
  fprintf(stderr,
          "\t         %c <maxnumc><wordsbefore><numrepetitions> displaying "
          "queries. Word-oriented display\n",
          ('s'));
  fprintf(stderr, "\t           extracts up to 2*wordsbefore words, starting "
                  "-wordsbefore- positions\n");
  fprintf(stderr, "\t           before each occurrence. The max number of "
                  "chars extracted is maxnumc;\n");
  fprintf(stderr, "\t\t    -> <numrepetitions> repeat process several times "
                  "for \"timing\" purposes\n");
  fprintf(
      stderr,
      "\t         %c OFFSETS doc oriented (locate returning <doc,off> pairs \n",
      ('o'));
  fprintf(stderr, "\t         %c MEASURE_AVG EXTRACT_TIME operation;\n", ('M'));
  fprintf(stderr,
          "\n\t[V]      with this option it reports on the standard output\n");
  fprintf(
      stderr,
      "\t         the results of the queries. The results file should be\n");
  fprintf(stderr,
          "\t         compared with trusted one by compare program.\n\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ebd(%rip),%rax
mov    (%rax),%edi
lea    0xed4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ea6(%rip),%rax
mov    (%rax),%edi
lea    0xef7(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e8f(%rip),%rax
mov    (%rax),%edi
lea    0xf1b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e78(%rip),%rax
mov    (%rax),%edi
lea    0xf38(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e61(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xf3b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e46(%rip),%rax
mov    (%rax),%edi
lea    0xf56(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e2f(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xf5f(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e14(%rip),%rax
mov    (%rax),%edi
lea    0xf70(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dfd(%rip),%rax
mov    (%rax),%edi
lea    0xf82(%rip),%rsi
mov    $0x54,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2de1(%rip),%rax
mov    (%rax),%edi
lea    0xfa3(%rip),%rsi
mov    $0x43,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dc5(%rip),%rax
mov    (%rax),%edi
lea    0xfb8(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dae(%rip),%rax
mov    (%rax),%edi
lea    0xff0(%rip),%rsi
mov    $0x4c,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d92(%rip),%rax
mov    (%rax),%edi
lea    0xff5(%rip),%rsi
mov    $0x44,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d76(%rip),%rax
mov    (%rax),%edi
lea    0x100c(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d5f(%rip),%rax
mov    (%rax),%edi
lea    0x103c(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d48(%rip),%rax
mov    (%rax),%edi
lea    0x105c(%rip),%rsi
mov    $0x45,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d2c(%rip),%rax
mov    (%rax),%edi
lea    0x1063(%rip),%rsi
mov    $0x6c,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d10(%rip),%rax
mov    (%rax),%edi
lea    0x1085(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2cf9(%rip),%rax
mov    (%rax),%edi
lea    0x10ba(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ce2(%rip),%rax
mov    (%rax),%edi
lea    0xed5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ccb(%rip),%rax
mov    (%rax),%edi
lea    0x10b8(%rip),%rsi
mov    $0x64,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2caf(%rip),%rax
mov    (%rax),%edi
lea    0x10eb(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c98(%rip),%rax
mov    (%rax),%edi
lea    0x1119(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c81(%rip),%rax
mov    (%rax),%edi
lea    0x1144(%rip),%rsi
mov    $0x73,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c65(%rip),%rax
mov    (%rax),%edi
lea    0x1187(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c4e(%rip),%rax
mov    (%rax),%edi
lea    0x11c2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c37(%rip),%rax
mov    (%rax),%edi
lea    0x11fe(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c20(%rip),%rax
mov    (%rax),%edi
lea    0x1235(%rip),%rsi
mov    $0x6f,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c04(%rip),%rax
mov    (%rax),%edi
lea    0x125f(%rip),%rsi
mov    $0x4d,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2be8(%rip),%rax
mov    (%rax),%edi
lea    0x1275(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2bd1(%rip),%rax
mov    (%rax),%edi
lea    0x129d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2bba(%rip),%rax
mov    (%rax),%edi
lea    0x12c8(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%r14
mov    0x2ec2(%rip),%rbx
mov    (%rbx),%edi
lea    0xed9(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf03(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf2e(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf52(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf60(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf7f(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf93(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa8(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfc1(%rip),%rsi
mov    $0x54,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfe9(%rip),%rsi
mov    $0x43,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1005(%rip),%r14
mov    %r14,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1041(%rip),%rsi
mov    $0x4c,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x104d(%rip),%rsi
mov    $0x44,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x106b(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10a2(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10c9(%rip),%rsi
mov    $0x45,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10d7(%rip),%rsi
mov    $0x6c,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1100(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x113c(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x114c(%rip),%rsi
mov    $0x64,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1186(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11bb(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11ed(%rip),%rsi
mov    $0x73,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1237(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1279(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x12bc(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x12fa(%rip),%rsi
mov    $0x6f,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x132b(%rip),%rsi
mov    $0x4d,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1348(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1377(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x13a9(%rip),%rsi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [58 x i8] c"\0AThe program loads <index> and then executes over it the\0A\00"
@.str.1 = [59 x i8] c"queries it receives from the standard input. The standard\0A\00"
@.str.2 = [52 x i8] c"input comes in the format of the files written by \0A\00"
@.str.3 = [30 x i8] c"genpatterns or genintervals.\0A\00"
@.str.4 = [50 x i8] c"%s reports on the standard error time statistics\0A\00"
@.str.5 = [36 x i8] c"regarding to running the queries.\0A\0A\00"
@.str.6 = [40 x i8] c"Usage: %s <index> <type> [options][V]\0A\00"
@.str.7 = [41 x i8] c"\0A\09<type> denotes the type of queries:\0A\00"
@.str.8 = [61 x i8] c"\09 %c Online check for locateWords and displayWords;\0A\00"
@.str.9 = [49 x i8] c"\09 %c <numrepetitions> counting queries;\0A\00"
@.str.10 = [79 x i8] c"\09\09 -> <numrepetitions> repeat process several times for \22timing\22 purposes\0A\0A\00"
@.str.11 = [33 x i8] c"\09 %c locating queries;\0A\0A\00"
@.str.12 = [51 x i8] c"\09 %c <radix-num-char> displaying queries;\0A\00"
@.str.13 = [71 x i8] c"\09\09 -> <radix-num-char> denotes the number of characters to display\0A\00"
@.str.14 = [55 x i8] c"\09\09 before and after each pattern occurrence.\0A\0A\00"
@.str.15 = [35 x i8] c"\09 %c extracting queries.\0A\0A\00"
@.str.16 = [62 x i8] c"\09 %c <wordsbefore> locating queries (word-oriented);\0A\00"
@.str.17 = [76 x i8] c"\09\09 -> <wordsbefore> sets returned location -wordsbefore- word positions\0A\00"
@.str.18 = [44 x i8] c"\09\09 before each pattern occurrence.\0A\00"
@.str.19 = [79 x i8] c"\09 %c <radix-bytes> <wordsbefore>. displaying queries (word-oriented);\0A\00"
@.str.20 = [69 x i8] c"\09\09 ->will extract 2*radix-bytes + lenght(pattern) bytes starting\0A\00"
@.str.21 = [66 x i8] c"\09\09 extraction -wordsbefore- words before an occurrence.\0A\0A\00"
@.str.22 = [95 x i8] c"\09 %c <maxnumc><wordsbefore><numrepetitions> displaying queries. Word-oriented display\0A\00"
@.str.23 = [82 x i8] c"\09 extracts up to 2*wordsbefore words, starting -wordsbefore- positions\0A\00"
@.str.24 = [83 x i8] c"\09 before each occurrence. The max number of chars extracted is maxnumc;\0A\00"
@.str.25 = [78 x i8] c"\09\09 -> <numrepetitions> repeat process several times for \22timing\22 purposes\0A\00"
@.str.26 = [70 x i8] c"\09 %c OFFSETS doc oriented (locate returning <doc,off> pairs \0A\00"
@.str.27 = [50 x i8] c"\09 %c MEASURE_AVG EXTRACT_TIME operation;\0A\00"
@.str.28 = [63 x i8] c"\0A\09[V] with this option it reports on the standard output\0A\00"
@.str.29 = [66 x i8] c"\09 the results of the queries. The results file should be\0A\00"
@.str.30 = [58 x i8] c"\09 compared with trusted one by compare program.\0A\0A\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = load i8*, i8** %2
%13 = call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.4, i64 0, i64 0), i8* %12)
%14 = load i32, i32* @stderr
%15 = call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = load i8*, i8** %2
%18 = call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0), i8* %17)
%19 = load i32, i32* @stderr
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.8, i64 0, i64 0), i32 84)
%23 = load i32, i32* @stderr
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.9, i64 0, i64 0), i32 67)
%25 = load i32, i32* @stderr
%26 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.10, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0), i32 76)
%29 = load i32, i32* @stderr
%30 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0), i32 68)
%31 = load i32, i32* @stderr
%32 = call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.13, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = call i32 (i32, i8*, ...) @fprintf(i32 %33, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.14, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = call i32 (i32, i8*, ...) @fprintf(i32 %35, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.15, i64 0, i64 0), i32 69)
%37 = load i32, i32* @stderr
%38 = call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.16, i64 0, i64 0), i32 108)
%39 = load i32, i32* @stderr
%40 = call i32 (i32, i8*, ...) @fprintf(i32 %39, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.17, i64 0, i64 0))
%41 = load i32, i32* @stderr
%42 = call i32 (i32, i8*, ...) @fprintf(i32 %41, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.18, i64 0, i64 0))
%43 = load i32, i32* @stderr
%44 = call i32 (i32, i8*, ...) @fprintf(i32 %43, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.10, i64 0, i64 0))
%45 = load i32, i32* @stderr
%46 = call i32 (i32, i8*, ...) @fprintf(i32 %45, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.19, i64 0, i64 0), i32 100)
%47 = load i32, i32* @stderr
%48 = call i32 (i32, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.20, i64 0, i64 0))
%49 = load i32, i32* @stderr
%50 = call i32 (i32, i8*, ...) @fprintf(i32 %49, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.21, i64 0, i64 0))
%51 = load i32, i32* @stderr
%52 = call i32 (i32, i8*, ...) @fprintf(i32 %51, i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.22, i64 0, i64 0), i32 115)
%53 = load i32, i32* @stderr
%54 = call i32 (i32, i8*, ...) @fprintf(i32 %53, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.23, i64 0, i64 0))
%55 = load i32, i32* @stderr
%56 = call i32 (i32, i8*, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.24, i64 0, i64 0))
%57 = load i32, i32* @stderr
%58 = call i32 (i32, i8*, ...) @fprintf(i32 %57, i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.25, i64 0, i64 0))
%59 = load i32, i32* @stderr
%60 = call i32 (i32, i8*, ...) @fprintf(i32 %59, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.26, i64 0, i64 0), i32 111)
%61 = load i32, i32* @stderr
%62 = call i32 (i32, i8*, ...) @fprintf(i32 %61, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.27, i64 0, i64 0), i32 77)
%63 = load i32, i32* @stderr
%64 = call i32 (i32, i8*, ...) @fprintf(i32 %63, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.28, i64 0, i64 0))
%65 = load i32, i32* @stderr
%66 = call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.29, i64 0, i64 0))
%67 = load i32, i32* @stderr
%68 = call i32 (i32, i8*, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.30, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [58 x i8] c"\0AThe program loads <index> and then executes over it the\0A\00"
@.str.1 = [59 x i8] c"queries it receives from the standard input. The standard\0A\00"
@.str.2 = [52 x i8] c"input comes in the format of the files written by \0A\00"
@.str.3 = [30 x i8] c"genpatterns or genintervals.\0A\00"
@.str.4 = [50 x i8] c"%s reports on the standard error time statistics\0A\00"
@.str.5 = [36 x i8] c"regarding to running the queries.\0A\0A\00"
@.str.6 = [40 x i8] c"Usage: %s <index> <type> [options][V]\0A\00"
@.str.7 = [41 x i8] c"\0A\09<type> denotes the type of queries:\0A\00"
@.str.8 = [61 x i8] c"\09 %c Online check for locateWords and displayWords;\0A\00"
@.str.9 = [49 x i8] c"\09 %c <numrepetitions> counting queries;\0A\00"
@.str.10 = [79 x i8] c"\09\09 -> <numrepetitions> repeat process several times for \22timing\22 purposes\0A\0A\00"
@.str.11 = [33 x i8] c"\09 %c locating queries;\0A\0A\00"
@.str.12 = [51 x i8] c"\09 %c <radix-num-char> displaying queries;\0A\00"
@.str.13 = [71 x i8] c"\09\09 -> <radix-num-char> denotes the number of characters to display\0A\00"
@.str.14 = [55 x i8] c"\09\09 before and after each pattern occurrence.\0A\0A\00"
@.str.15 = [35 x i8] c"\09 %c extracting queries.\0A\0A\00"
@.str.16 = [62 x i8] c"\09 %c <wordsbefore> locating queries (word-oriented);\0A\00"
@.str.17 = [76 x i8] c"\09\09 -> <wordsbefore> sets returned location -wordsbefore- word positions\0A\00"
@.str.18 = [44 x i8] c"\09\09 before each pattern occurrence.\0A\00"
@.str.19 = [79 x i8] c"\09 %c <radix-bytes> <wordsbefore>. displaying queries (word-oriented);\0A\00"
@.str.20 = [69 x i8] c"\09\09 ->will extract 2*radix-bytes + lenght(pattern) bytes starting\0A\00"
@.str.21 = [66 x i8] c"\09\09 extraction -wordsbefore- words before an occurrence.\0A\0A\00"
@.str.22 = [95 x i8] c"\09 %c <maxnumc><wordsbefore><numrepetitions> displaying queries. Word-oriented display\0A\00"
@.str.23 = [82 x i8] c"\09 extracts up to 2*wordsbefore words, starting -wordsbefore- positions\0A\00"
@.str.24 = [83 x i8] c"\09 before each occurrence. The max number of chars extracted is maxnumc;\0A\00"
@.str.25 = [78 x i8] c"\09\09 -> <numrepetitions> repeat process several times for \22timing\22 purposes\0A\00"
@.str.26 = [70 x i8] c"\09 %c OFFSETS doc oriented (locate returning <doc,off> pairs \0A\00"
@.str.27 = [50 x i8] c"\09 %c MEASURE_AVG EXTRACT_TIME operation;\0A\00"
@.str.28 = [63 x i8] c"\0A\09[V] with this option it reports on the standard output\0A\00"
@.str.29 = [66 x i8] c"\09 the results of the queries. The results file should be\0A\00"
@.str.30 = [58 x i8] c"\09 compared with trusted one by compare program.\0A\0A\00"
define void @usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 (i32, i8*, ...) @fprintf(i32 %2, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* @stderr
%5 = tail call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.2, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = tail call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.4, i64 0, i64 0), i8* %0)
%12 = load i32, i32* @stderr
%13 = tail call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0), i8* %0)
%16 = load i32, i32* @stderr
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = tail call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.8, i64 0, i64 0), i32 84)
%20 = load i32, i32* @stderr
%21 = tail call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.9, i64 0, i64 0), i32 67)
%22 = load i32, i32* @stderr
%23 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.10, i64 0, i64 0))
%24 = load i32, i32* @stderr
%25 = tail call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0), i32 76)
%26 = load i32, i32* @stderr
%27 = tail call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0), i32 68)
%28 = load i32, i32* @stderr
%29 = tail call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.13, i64 0, i64 0))
%30 = load i32, i32* @stderr
%31 = tail call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.14, i64 0, i64 0))
%32 = load i32, i32* @stderr
%33 = tail call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.15, i64 0, i64 0), i32 69)
%34 = load i32, i32* @stderr
%35 = tail call i32 (i32, i8*, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.16, i64 0, i64 0), i32 108)
%36 = load i32, i32* @stderr
%37 = tail call i32 (i32, i8*, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.17, i64 0, i64 0))
%38 = load i32, i32* @stderr
%39 = tail call i32 (i32, i8*, ...) @fprintf(i32 %38, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.18, i64 0, i64 0))
%40 = load i32, i32* @stderr
%41 = tail call i32 (i32, i8*, ...) @fprintf(i32 %40, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.10, i64 0, i64 0))
%42 = load i32, i32* @stderr
%43 = tail call i32 (i32, i8*, ...) @fprintf(i32 %42, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.19, i64 0, i64 0), i32 100)
%44 = load i32, i32* @stderr
%45 = tail call i32 (i32, i8*, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.20, i64 0, i64 0))
%46 = load i32, i32* @stderr
%47 = tail call i32 (i32, i8*, ...) @fprintf(i32 %46, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.21, i64 0, i64 0))
%48 = load i32, i32* @stderr
%49 = tail call i32 (i32, i8*, ...) @fprintf(i32 %48, i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.22, i64 0, i64 0), i32 115)
%50 = load i32, i32* @stderr
%51 = tail call i32 (i32, i8*, ...) @fprintf(i32 %50, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.23, i64 0, i64 0))
%52 = load i32, i32* @stderr
%53 = tail call i32 (i32, i8*, ...) @fprintf(i32 %52, i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.24, i64 0, i64 0))
%54 = load i32, i32* @stderr
%55 = tail call i32 (i32, i8*, ...) @fprintf(i32 %54, i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.25, i64 0, i64 0))
%56 = load i32, i32* @stderr
%57 = tail call i32 (i32, i8*, ...) @fprintf(i32 %56, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.26, i64 0, i64 0), i32 111)
%58 = load i32, i32* @stderr
%59 = tail call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.27, i64 0, i64 0), i32 77)
%60 = load i32, i32* @stderr
%61 = tail call i32 (i32, i8*, ...) @fprintf(i32 %60, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.28, i64 0, i64 0))
%62 = load i32, i32* @stderr
%63 = tail call i32 (i32, i8*, ...) @fprintf(i32 %62, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.29, i64 0, i64 0))
%64 = load i32, i32* @stderr
%65 = tail call i32 (i32, i8*, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.30, i64 0, i64 0))
ret void
}