#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*/
printf(char *, char const *, char const *, char const *, char const *,
       char const *, char const *, char const *, char const *, char const *,
       char const *, char const *, char const *, char const *, char const *,
       char const *, char const *, char const *, char const *, char const *,
       char const *, char const *, char const *, char *, char const *);
void printDirections() {
  const char *messageIntro = "\n  Usage:\n\n\tgenRandom\t: No arguments.";
  const char *messageNoArgs_1 =
      " Outputs 1000 pseudorandom integers to random.txt ";
  const char *messageNoArgs_2 = "in the current directory.";
  const char *messageHelp = "\n\tgenRandom -h\t: Display this message.\n";
  const char *messageDispVersion =
      "\tgenRandom -v\t: Display the current version.\n";
  const char *messageOptions = "\n\tOptions:\n\n";
  const char *messageFileOpt =
      "\t\t-f <file name>\t:   Specify the output file.\n";
  const char *messageQuantityOpt_1 =
      "\t\t-n <integer>\t:   Specify the quantity ";
  const char *messageQuantityOpt_2 = "of pseudorandom numbers.\n";
  const char *messageDelimiterOpt_1 =
      "\t\t-d <delimiter>\t:   One character; This will ";
  const char *messageDelimiterOpt_2 = "override the default delimiter.\n";
  const char *messageSeedOpt_1 =
      "\t\t-s <seed value>\t:   Specify a seed for pseudorandom";
  const char *messageSeedOpt_2 = " generation manually.\n";
  const char *messageSeedRefreshOpt_1 =
      "\t\t-r <interval>\t:   Specify how often the";
  const char *messageSeedRefreshOpt_2 =
      " pseudorandom generator is refreshed with a new seed.\n";
  const char *messageLowBoundOpt_1 =
      "\t\t-l <low bound>\t:   Specify a pseudorandom ";
  const char *messageLowBoundOpt_2 = "generation lower bound.\n";
  const char *messageHighBoundOpt_1 =
      "\t\t-h <high bound>\t:   Specify a pseudorandom ";
  const char *messageHighBoundOpt_2 = "generation upper bound.\n";
  const char *messageBinaryWriteOpt_1 =
      "\t\t-b <true/false>\t:   Specify whether to write the";
  const char *messageBinaryWriteOpt_2 =
      " file in binary. Use only true/false, all lower case.\n";
  const char *messageVersion = "\n  GenRandom v. ";
  const char *messageAuthorLisc =
      "  Copyright 2013, Jonathan Hyry\n  Licensed under GNU General Public "
      "License (GPL) v. 3\n";
  printf("%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n%s\n", messageIntro,
         messageNoArgs_1, messageNoArgs_2, messageHelp, messageDispVersion,
         messageOptions, messageFileOpt, messageQuantityOpt_1,
         messageQuantityOpt_2, messageDelimiterOpt_1, messageDelimiterOpt_2,
         messageSeedOpt_1, messageSeedOpt_2, messageSeedRefreshOpt_1,
         messageSeedRefreshOpt_2, messageLowBoundOpt_1, messageLowBoundOpt_2,
         messageHighBoundOpt_1, messageHighBoundOpt_2, messageBinaryWriteOpt_1,
         messageBinaryWriteOpt_2, messageVersion, "0.0.8", messageAuthorLisc);
}


x86 assembly (clang, -O0):
<printDirections>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1a8,%rsp
lea    0xed5(%rip),%rax
mov    %rax,-0x30(%rbp)
lea    0xef0(%rip),%rax
mov    %rax,-0x38(%rbp)
lea    0xf18(%rip),%rax
mov    %rax,-0x40(%rbp)
lea    0xf27(%rip),%rax
mov    %rax,-0x48(%rbp)
lea    0xf44(%rip),%rax
mov    %rax,-0x50(%rbp)
lea    0xf67(%rip),%rax
mov    %rax,-0x58(%rbp)
lea    0xf69(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0xf8d(%rip),%rax
mov    %rax,-0x68(%rbp)
lea    0xfab(%rip),%rax
mov    %rax,-0x70(%rbp)
lea    0xfba(%rip),%rax
mov    %rax,-0x78(%rbp)
lea    0xfde(%rip),%rax
mov    %rax,-0x80(%rbp)
lea    0xff4(%rip),%rax
mov    %rax,-0x88(%rbp)
lea    0x101c(%rip),%rax
mov    %rax,-0x90(%rbp)
lea    0x1025(%rip),%rax
mov    %rax,-0x98(%rbp)
lea    0x1041(%rip),%rax
mov    %rax,-0xa0(%rbp)
lea    0x106a(%rip),%rax
mov    %rax,-0xa8(%rbp)
lea    0x1089(%rip),%rax
mov    %rax,-0xb0(%rbp)
lea    0x1094(%rip),%rax
mov    %rax,-0xb8(%rbp)
lea    0x10b4(%rip),%rax
mov    %rax,-0xc0(%rbp)
lea    0x10bf(%rip),%rax
mov    %rax,-0xc8(%rbp)
lea    0x10e4(%rip),%rax
mov    %rax,-0xd0(%rbp)
lea    0x110d(%rip),%rax
mov    %rax,-0xd8(%rbp)
lea    0x1110(%rip),%rax
mov    %rax,-0xe0(%rbp)
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x40(%rbp),%rcx
mov    -0x48(%rbp),%r8
mov    -0x50(%rbp),%r9
mov    -0x58(%rbp),%rax
mov    -0x60(%rbp),%rdi
mov    %rdi,-0x138(%rbp)
mov    -0x68(%rbp),%rdi
mov    %rdi,-0x130(%rbp)
mov    -0x70(%rbp),%rdi
mov    %rdi,-0x128(%rbp)
mov    -0x78(%rbp),%rdi
mov    %rdi,-0x120(%rbp)
mov    -0x80(%rbp),%rdi
mov    %rdi,-0x118(%rbp)
mov    -0x88(%rbp),%rdi
mov    %rdi,-0x110(%rbp)
mov    -0x90(%rbp),%rdi
mov    %rdi,-0x108(%rbp)
mov    -0x98(%rbp),%rdi
mov    %rdi,-0x100(%rbp)
mov    -0xa0(%rbp),%rdi
mov    %rdi,-0xf8(%rbp)
mov    -0xa8(%rbp),%rdi
mov    %rdi,-0xf0(%rbp)
mov    -0xb0(%rbp),%r13
mov    -0xb8(%rbp),%r12
mov    -0xc0(%rbp),%r15
mov    -0xc8(%rbp),%r14
mov    -0xd0(%rbp),%rbx
mov    -0xd8(%rbp),%r11
mov    -0xe0(%rbp),%rdi
mov    %rdi,-0xe8(%rbp)
lea    0x108d(%rip),%rdi
lea    0x10b9(%rip),%r10
mov    %rax,(%rsp)
mov    -0x138(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x130(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x128(%rbp),%rax
mov    %rax,0x18(%rsp)
mov    -0x120(%rbp),%rax
mov    %rax,0x20(%rsp)
mov    -0x118(%rbp),%rax
mov    %rax,0x28(%rsp)
mov    -0x110(%rbp),%rax
mov    %rax,0x30(%rsp)
mov    -0x108(%rbp),%rax
mov    %rax,0x38(%rsp)
mov    -0x100(%rbp),%rax
mov    %rax,0x40(%rsp)
mov    -0xf8(%rbp),%rax
mov    %rax,0x48(%rsp)
mov    -0xf0(%rbp),%rax
mov    %rax,0x50(%rsp)
mov    -0xe8(%rbp),%rax
mov    %r13,0x58(%rsp)
mov    %r12,0x60(%rsp)
mov    %r15,0x68(%rsp)
mov    %r14,0x70(%rsp)
mov    %rbx,0x78(%rsp)
mov    %r11,0x80(%rsp)
mov    %r10,0x88(%rsp)
mov    %rax,0x90(%rsp)
call   1030 <printf@plt>
add    $0x1a8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<printDirections>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
sub    $0x8,%rsp
lea    0x1228(%rip),%rax
lea    0x12ac(%rip),%r10
lea    0x1209(%rip),%r11
lea    0x11cb(%rip),%rbx
lea    0x1191(%rip),%r14
lea    0x1171(%rip),%r15
lea    0x113c(%rip),%r12
lea    0x111c(%rip),%r13
lea    0x10e8(%rip),%rbp
lea    0x1241(%rip),%rdi
lea    0xe94(%rip),%rsi
lea    0xeb3(%rip),%rdx
lea    0xedf(%rip),%rcx
lea    0xef2(%rip),%r8
lea    0xf13(%rip),%r9
push   %rax
push   %r10
push   %r11
push   %rbx
push   %r14
push   %r15
push   %r12
push   %r13
push   %rbp
lea    0x1071(%rip),%rax
push   %rax
lea    0x103f(%rip),%rax
push   %rax
lea    0x1020(%rip),%rax
push   %rax
lea    0xfe2(%rip),%rax
push   %rax
lea    0xfb9(%rip),%rax
push   %rax
lea    0xf82(%rip),%rax
push   %rax
lea    0xf60(%rip),%rax
push   %rax
lea    0xf2f(%rip),%rax
push   %rax
lea    0xef8(%rip),%rax
push   %rax
lea    0xee3(%rip),%rax
push   %rax
call   1030 <printf@plt>
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [38 x i8] c"\0A Usage:\0A\0A\09genRandom\09: No arguments.\00"
@.str.1 = [51 x i8] c" Outputs 1000 pseudorandom integers to random.txt \00"
@.str.2 = [26 x i8] c"in the current directory.\00"
@.str.3 = [40 x i8] c"\0A\09genRandom -h\09: Display this message.\0A\00"
@.str.4 = [46 x i8] c"\09genRandom -v\09: Display the current version.\0A\00"
@.str.5 = [13 x i8] c"\0A\09Options:\0A\0A\00"
@.str.6 = [47 x i8] c"\09\09-f <file name>\09: Specify the output file.\0A\00"
@.str.7 = [41 x i8] c"\09\09-n <integer>\09: Specify the quantity \00"
@.str.8 = [26 x i8] c"of pseudorandom numbers.\0A\00"
@.str.9 = [47 x i8] c"\09\09-d <delimiter>\09: One character; This will \00"
@.str.10 = [33 x i8] c"override the default delimiter.\0A\00"
@.str.11 = [54 x i8] c"\09\09-s <seed value>\09: Specify a seed for pseudorandom\00"
@.str.12 = [23 x i8] c" generation manually.\0A\00"
@.str.13 = [42 x i8] c"\09\09-r <interval>\09: Specify how often the\00"
@.str.14 = [55 x i8] c" pseudorandom generator is refreshed with a new seed.\0A\00"
@.str.15 = [45 x i8] c"\09\09-l <low bound>\09: Specify a pseudorandom \00"
@.str.16 = [25 x i8] c"generation lower bound.\0A\00"
@.str.17 = [46 x i8] c"\09\09-h <high bound>\09: Specify a pseudorandom \00"
@.str.18 = [25 x i8] c"generation upper bound.\0A\00"
@.str.19 = [51 x i8] c"\09\09-b <true/false>\09: Specify whether to write the\00"
@.str.20 = [55 x i8] c" file in binary. Use only true/false, all lower case.\0A\00"
@.str.21 = [17 x i8] c"\0A GenRandom v. \00"
@.str.22 = [88 x i8] c" Copyright 2013, Jonathan Hyry\0A Licensed under GNU General Public License (GPL) v. 3\0A\00"
@.str.23 = [51 x i8] c"%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\0A%s\0A\00"
@.str.24 = [6 x i8] c"0.0.8\00"
define void @printDirections() {
%1 = alloca i8*
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca i8*
%16 = alloca i8*
%17 = alloca i8*
%18 = alloca i8*
%19 = alloca i8*
%20 = alloca i8*
%21 = alloca i8*
%22 = alloca i8*
%23 = alloca i8*
store i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0), i8** %1
store i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.1, i64 0, i64 0), i8** %2
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i8** %4
store i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0), i8** %5
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8** %6
store i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0), i8** %7
store i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8** %8
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0), i8** %9
store i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.9, i64 0, i64 0), i8** %10
store i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i8** %11
store i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.11, i64 0, i64 0), i8** %12
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0), i8** %13
store i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.13, i64 0, i64 0), i8** %14
store i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.14, i64 0, i64 0), i8** %15
store i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.15, i64 0, i64 0), i8** %16
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), i8** %17
store i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0), i8** %18
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0), i8** %19
store i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.19, i64 0, i64 0), i8** %20
store i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.20, i64 0, i64 0), i8** %21
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0), i8** %22
store i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.22, i64 0, i64 0), i8** %23
%24 = load i8*, i8** %1
%25 = load i8*, i8** %2
%26 = load i8*, i8** %3
%27 = load i8*, i8** %4
%28 = load i8*, i8** %5
%29 = load i8*, i8** %6
%30 = load i8*, i8** %7
%31 = load i8*, i8** %8
%32 = load i8*, i8** %9
%33 = load i8*, i8** %10
%34 = load i8*, i8** %11
%35 = load i8*, i8** %12
%36 = load i8*, i8** %13
%37 = load i8*, i8** %14
%38 = load i8*, i8** %15
%39 = load i8*, i8** %16
%40 = load i8*, i8** %17
%41 = load i8*, i8** %18
%42 = load i8*, i8** %19
%43 = load i8*, i8** %20
%44 = load i8*, i8** %21
%45 = load i8*, i8** %22
%46 = load i8*, i8** %23
%47 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.23, i64 0, i64 0), i8* %24, i8* %25, i8* %26, i8* %27, i8* %28, i8* %29, i8* %30, i8* %31, i8* %32, i8* %33, i8* %34, i8* %35, i8* %36, i8* %37, i8* %38, i8* %39, i8* %40, i8* %41, i8* %42, i8* %43, i8* %44, i8* %45, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.24, i64 0, i64 0), i8* %46)
ret void
}

LLVM IR (-O2):
@.str = [38 x i8] c"\0A Usage:\0A\0A\09genRandom\09: No arguments.\00"
@.str.1 = [51 x i8] c" Outputs 1000 pseudorandom integers to random.txt \00"
@.str.2 = [26 x i8] c"in the current directory.\00"
@.str.3 = [40 x i8] c"\0A\09genRandom -h\09: Display this message.\0A\00"
@.str.4 = [46 x i8] c"\09genRandom -v\09: Display the current version.\0A\00"
@.str.5 = [13 x i8] c"\0A\09Options:\0A\0A\00"
@.str.6 = [47 x i8] c"\09\09-f <file name>\09: Specify the output file.\0A\00"
@.str.7 = [41 x i8] c"\09\09-n <integer>\09: Specify the quantity \00"
@.str.8 = [26 x i8] c"of pseudorandom numbers.\0A\00"
@.str.9 = [47 x i8] c"\09\09-d <delimiter>\09: One character; This will \00"
@.str.10 = [33 x i8] c"override the default delimiter.\0A\00"
@.str.11 = [54 x i8] c"\09\09-s <seed value>\09: Specify a seed for pseudorandom\00"
@.str.12 = [23 x i8] c" generation manually.\0A\00"
@.str.13 = [42 x i8] c"\09\09-r <interval>\09: Specify how often the\00"
@.str.14 = [55 x i8] c" pseudorandom generator is refreshed with a new seed.\0A\00"
@.str.15 = [45 x i8] c"\09\09-l <low bound>\09: Specify a pseudorandom \00"
@.str.16 = [25 x i8] c"generation lower bound.\0A\00"
@.str.17 = [46 x i8] c"\09\09-h <high bound>\09: Specify a pseudorandom \00"
@.str.18 = [25 x i8] c"generation upper bound.\0A\00"
@.str.19 = [51 x i8] c"\09\09-b <true/false>\09: Specify whether to write the\00"
@.str.20 = [55 x i8] c" file in binary. Use only true/false, all lower case.\0A\00"
@.str.21 = [17 x i8] c"\0A GenRandom v. \00"
@.str.22 = [88 x i8] c" Copyright 2013, Jonathan Hyry\0A Licensed under GNU General Public License (GPL) v. 3\0A\00"
@.str.23 = [51 x i8] c"%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\0A%s\0A\00"
@.str.24 = [6 x i8] c"0.0.8\00"
define void @printDirections() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.22, i64 0, i64 0))
ret void
}