#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*/ puts(char *);
void startupInfo() {
  puts("This is the best game ever!");
  puts("In a nutshell your goal is:");
  puts("Win! To do this get your health to 100HP. you lose if you het 0 HP");
  puts("There is a 1/3 Chance of getting any of the following power ups:");
  puts("+- 1?[0-9] HP\nOR\nA special powerup that will either doulbe or halve "
       "your health at random.");
  puts("\nPress C-c at any time to exit the game");
}


x86 assembly (clang, -O0):
<startupInfo>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <puts@plt>
lea    0xef5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf05(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf71(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc0(%rip),%rdi
call   1030 <puts@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<startupInfo>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf08(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf74(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc3(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [28 x i8] c"This is the best game ever!\00"
@.str.1 = [28 x i8] c"In a nutshell your goal is:\00"
@.str.2 = [67 x i8] c"Win! To do this get your health to 100HP. you lose if you het 0 HP\00"
@.str.3 = [65 x i8] c"There is a 1/3 Chance of getting any of the following power ups:\00"
@.str.4 = [91 x i8] c"+- 1?[0-9] HP\0AOR\0AA special powerup that will either doulbe or halve your health at random.\00"
@.str.5 = [40 x i8] c"\0APress C-c at any time to exit the game\00"
define void @startupInfo() {
%1 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [28 x i8] c"This is the best game ever!\00"
@.str.1 = [28 x i8] c"In a nutshell your goal is:\00"
@.str.2 = [67 x i8] c"Win! To do this get your health to 100HP. you lose if you het 0 HP\00"
@.str.3 = [65 x i8] c"There is a 1/3 Chance of getting any of the following power ups:\00"
@.str.4 = [91 x i8] c"+- 1?[0-9] HP\0AOR\0AA special powerup that will either doulbe or halve your health at random.\00"
@.str.5 = [40 x i8] c"\0APress C-c at any time to exit the game\00"
define void @startupInfo() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([91 x i8], [91 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
ret void
}