#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*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
void usage(const char *me) {
  fprintf(stderr,
          "Usage: %s [-hvl] [-d ,|.<string> [-k]] [-n <string>] "
          "[-t <ms,mult>]"
          "\n\t\t  [-w <string> [-c ms,mult]] [-r s1,s2[:...]] "
          "[-m <int>]\n\t\t  [-q <int>] [file ...]\n\n",
          me);
  fprintf(stderr,
          "  -t ms,mult\tSpecify randomness where `ms' is "
          "the maximum microseconds\n\t\tbetween characters and `mult' "
          "is the multiplier of `ms'.\n\t\tDefault is %i,%i.\n",
          18, 20000);
  fprintf(stderr,
          "  -d string\tA string beginning with either ',' (left) or '.' "
          "(right) which\n\t\tis output immediately.\n");
  fprintf(stderr,
          "  -k\t\tKill the dump string (-d) when printing the line.\n");
  fprintf(stderr, "  -r s1,s2\tReplace s1 with s2. Separate more than one with "
                  "':'.\n");
  fprintf(stderr, "  -n chars\tPrint these characters immediately.\n");
  fprintf(stderr, "  -w chars\tThe opposite of the -n option, these "
                  "characters are delayed by\n\t\tthe time specified by "
                  "the -c option.\n");
  fprintf(stderr, "  -c ms,mult\tFor use with the -w option, this option "
                  "has the same value\n\t\tformat as the -t option or the "
                  "same default.\n");
  fprintf(stderr,
          "  -l\t\tThe -t option will apply to outputting "
          "lines rather than\n\t\tcharacters, all options other than -q are "
          "ignored.\n");
  fprintf(stderr, "  -m int\tGenerate mistakes on output with a frequency "
                  "of <int>. The\n\t\tfrequency is the comparison of a random "
                  "alphanumeric character\n\t\tand the next character.\n");
  fprintf(stderr,
          "  -q int\tTerminate program after specified amount of seconds.\n");
  fprintf(stderr, "  -h\t\tYour looking at it.\n");
  fprintf(stderr, "  -v\t\tShow version information.\n");
  exit(-1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xec0(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e92(%rip),%rax
mov    (%rax),%edi
lea    0xf44(%rip),%rsi
mov    $0x12,%edx
mov    $0x4e20,%ecx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e71(%rip),%rax
mov    (%rax),%edi
lea    0xfba(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e5a(%rip),%rax
mov    (%rax),%edi
lea    0x1008(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e43(%rip),%rax
mov    (%rax),%edi
lea    0x102a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e2c(%rip),%rax
mov    (%rax),%edi
lea    0x1054(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e15(%rip),%rax
mov    (%rax),%edi
lea    0x106d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dfe(%rip),%rax
mov    (%rax),%edi
lea    0x10c8(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2de7(%rip),%rax
mov    (%rax),%edi
lea    0x1129(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dd0(%rip),%rax
mov    (%rax),%edi
lea    0x1187(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2db9(%rip),%rax
mov    (%rax),%edi
lea    0x1210(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2da2(%rip),%rax
mov    (%rax),%edi
lea    0x1238(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d8b(%rip),%rax
mov    (%rax),%edi
lea    0x123c(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    %rdi,%rdx
mov    0x2eb5(%rip),%rbx
mov    (%rbx),%edi
lea    0xecc(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf57(%rip),%rsi
mov    $0x12,%edx
mov    $0x4e20,%ecx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfd4(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1029(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1052(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1083(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10a3(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1105(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x116d(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11d2(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1262(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1291(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x129c(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [155 x i8] c"Usage: %s [-hvl] [-d ,|.<string> [-k]] [-n <string>] [-t <ms,mult>]\0A\09\09 [-w <string> [-c ms,mult]] [-r s1,s2[:...]] [-m <int>]\0A\09\09 [-q <int>] [file ...]\0A\0A\00"
@.str.1 = [151 x i8] c" -t ms,mult\09Specify randomness where `ms' is the maximum microseconds\0A\09\09between characters and `mult' is the multiplier of `ms'.\0A\09\09Default is %i,%i.\0A\00"
@.str.2 = [101 x i8] c" -d string\09A string beginning with either ',' (left) or '.' (right) which\0A\09\09is output immediately.\0A\00"
@.str.3 = [57 x i8] c" -k\09\09Kill the dump string (-d) when printing the line.\0A\00"
@.str.4 = [65 x i8] c" -r s1,s2\09Replace s1 with s2. Separate more than one with ':'.\0A\00"
@.str.5 = [48 x i8] c" -n chars\09Print these characters immediately.\0A\00"
@.str.6 = [114 x i8] c" -w chars\09The opposite of the -n option, these characters are delayed by\0A\09\09the time specified by the -c option.\0A\00"
@.str.7 = [120 x i8] c" -c ms,mult\09For use with the -w option, this option has the same value\0A\09\09format as the -t option or the same default.\0A\00"
@.str.8 = [117 x i8] c" -l\09\09The -t option will apply to outputting lines rather than\0A\09\09characters, all options other than -q are ignored.\0A\00"
@.str.9 = [160 x i8] c" -m int\09Generate mistakes on output with a frequency of <int>. The\0A\09\09frequency is the comparison of a random alphanumeric character\0A\09\09and the next character.\0A\00"
@.str.10 = [63 x i8] c" -q int\09Terminate program after specified amount of seconds.\0A\00"
@.str.11 = [27 x i8] c" -h\09\09Your looking at it.\0A\00"
@.str.12 = [33 x i8] c" -v\09\09Show version information.\0A\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([155 x i8], [155 x i8]* @.str, i64 0, i64 0), i8* %4)
%6 = load i32, i32* @stderr
%7 = call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([151 x i8], [151 x i8]* @.str.1, i64 0, i64 0), i32 18, i32 20000)
%8 = load i32, i32* @stderr
%9 = call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([101 x i8], [101 x i8]* @.str.2, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.3, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([114 x i8], [114 x i8]* @.str.6, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.7, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([117 x i8], [117 x i8]* @.str.8, i64 0, i64 0))
%22 = load i32, i32* @stderr
%23 = call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str.9, i64 0, i64 0))
%24 = load i32, i32* @stderr
%25 = call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.10, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0))
%28 = load i32, i32* @stderr
%29 = call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.12, i64 0, i64 0))
%30 = call i32 @exit(i32 -1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [155 x i8] c"Usage: %s [-hvl] [-d ,|.<string> [-k]] [-n <string>] [-t <ms,mult>]\0A\09\09 [-w <string> [-c ms,mult]] [-r s1,s2[:...]] [-m <int>]\0A\09\09 [-q <int>] [file ...]\0A\0A\00"
@.str.1 = [151 x i8] c" -t ms,mult\09Specify randomness where `ms' is the maximum microseconds\0A\09\09between characters and `mult' is the multiplier of `ms'.\0A\09\09Default is %i,%i.\0A\00"
@.str.2 = [101 x i8] c" -d string\09A string beginning with either ',' (left) or '.' (right) which\0A\09\09is output immediately.\0A\00"
@.str.3 = [57 x i8] c" -k\09\09Kill the dump string (-d) when printing the line.\0A\00"
@.str.4 = [65 x i8] c" -r s1,s2\09Replace s1 with s2. Separate more than one with ':'.\0A\00"
@.str.5 = [48 x i8] c" -n chars\09Print these characters immediately.\0A\00"
@.str.6 = [114 x i8] c" -w chars\09The opposite of the -n option, these characters are delayed by\0A\09\09the time specified by the -c option.\0A\00"
@.str.7 = [120 x i8] c" -c ms,mult\09For use with the -w option, this option has the same value\0A\09\09format as the -t option or the same default.\0A\00"
@.str.8 = [117 x i8] c" -l\09\09The -t option will apply to outputting lines rather than\0A\09\09characters, all options other than -q are ignored.\0A\00"
@.str.9 = [160 x i8] c" -m int\09Generate mistakes on output with a frequency of <int>. The\0A\09\09frequency is the comparison of a random alphanumeric character\0A\09\09and the next character.\0A\00"
@.str.10 = [63 x i8] c" -q int\09Terminate program after specified amount of seconds.\0A\00"
@.str.11 = [27 x i8] c" -h\09\09Your looking at it.\0A\00"
@.str.12 = [33 x i8] c" -v\09\09Show version information.\0A\00"
define void @usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 (i32, i8*, ...) @fprintf(i32 %2, i8* getelementptr inbounds ([155 x i8], [155 x i8]* @.str, i64 0, i64 0), i8* %0)
%4 = load i32, i32* @stderr
%5 = tail call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([151 x i8], [151 x i8]* @.str.1, i64 0, i64 0), i32 18, i32 20000)
%6 = load i32, i32* @stderr
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([101 x i8], [101 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 ([57 x i8], [57 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 ([65 x i8], [65 x i8]* @.str.4, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = tail call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([48 x i8], [48 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 ([114 x i8], [114 x i8]* @.str.6, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([120 x i8], [120 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 ([117 x i8], [117 x i8]* @.str.8, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = tail call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str.9, i64 0, i64 0))
%22 = load i32, i32* @stderr
%23 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([63 x i8], [63 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 ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = tail call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.12, i64 0, i64 0))
%28 = tail call i32 @exit(i32 -1)
unreachable
}