#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 *);
page45() {
  printf("\"Hrank Hrank,\" snorts the alarm in your living quarters.  "
         "Something is up.\n");
  printf("You look at the monitor above the bathroom mirror and see the "
         "message you have\n");
  printf("been waiting for all these years.  \"ATTENTION TROUBLESHOOTER, YOU "
         "ARE BEING\n");
  printf("ACTIVATED. PLEASE REPORT IMMEDIATELY TO MISSION ASSIGNMENT ROOM "
         "A17/GAMMA/LB22.\n");
  printf("THANK YOU. THE COMPUTER IS YOUR FRIEND.\"  When you arrive at "
         "mission\n");
  printf(
      "assignment room A17-gamma/LB22 you are given your previous clone\'s\n");
  printf("remaining possessions and notebook.  You puzzle through your "
         "predecessor\'s\n");
  printf("cryptic notes, managing to decipher enough to lead you to the tube "
         "station and\n");
  printf("the tube car to GDH7-beta.\n");
  return 10;
}


x86 assembly (clang, -O0):
<page45>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
call   1030 <printf@plt>
lea    0xf69(%rip),%rdi
call   1030 <printf@plt>
lea    0xfaa(%rip),%rdi
call   1030 <printf@plt>
lea    0xfef(%rip),%rdi
call   1030 <printf@plt>
lea    0x1029(%rip),%rdi
call   1030 <printf@plt>
lea    0x1061(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a1(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e5(%rip),%rdi
call   1030 <printf@plt>
mov    $0xa,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<page45>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf27(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfaa(%rip),%rdi
call   1030 <puts@plt>
lea    0xfee(%rip),%rdi
call   1030 <puts@plt>
lea    0x1027(%rip),%rdi
call   1030 <puts@plt>
lea    0x105e(%rip),%rdi
call   1030 <puts@plt>
lea    0x109d(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e0(%rip),%rdi
call   1030 <puts@plt>
mov    $0xa,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [76 x i8] c"\22Hrank Hrank,\22 snorts the alarm in your living quarters. Something is up.\0A\00"
@.str.1 = [80 x i8] c"You look at the monitor above the bathroom mirror and see the message you have\0A\00"
@.str.2 = [77 x i8] c"been waiting for all these years. \22ATTENTION TROUBLESHOOTER, YOU ARE BEING\0A\00"
@.str.3 = [81 x i8] c"ACTIVATED. PLEASE REPORT IMMEDIATELY TO MISSION ASSIGNMENT ROOM A17/GAMMA/LB22.\0A\00"
@.str.4 = [70 x i8] c"THANK YOU. THE COMPUTER IS YOUR FRIEND.\22 When you arrive at mission\0A\00"
@.str.5 = [68 x i8] c"assignment room A17-gamma/LB22 you are given your previous clone's\0A\00"
@.str.6 = [76 x i8] c"remaining possessions and notebook. You puzzle through your predecessor's\0A\00"
@.str.7 = [80 x i8] c"cryptic notes, managing to decipher enough to lead you to the tube station and\0A\00"
@.str.8 = [28 x i8] c"the tube car to GDH7-beta.\0A\00"
define i32 @page45() {
%1 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
ret i32 10
}

LLVM IR (-O2):
@str = [75 x i8] c"\22Hrank Hrank,\22 snorts the alarm in your living quarters. Something is up.\00"
@str.9 = [79 x i8] c"You look at the monitor above the bathroom mirror and see the message you have\00"
@str.10 = [76 x i8] c"been waiting for all these years. \22ATTENTION TROUBLESHOOTER, YOU ARE BEING\00"
@str.11 = [80 x i8] c"ACTIVATED. PLEASE REPORT IMMEDIATELY TO MISSION ASSIGNMENT ROOM A17/GAMMA/LB22.\00"
@str.12 = [69 x i8] c"THANK YOU. THE COMPUTER IS YOUR FRIEND.\22 When you arrive at mission\00"
@str.13 = [67 x i8] c"assignment room A17-gamma/LB22 you are given your previous clone's\00"
@str.14 = [75 x i8] c"remaining possessions and notebook. You puzzle through your predecessor's\00"
@str.15 = [79 x i8] c"cryptic notes, managing to decipher enough to lead you to the tube station and\00"
@str.16 = [27 x i8] c"the tube car to GDH7-beta.\00"
define i32 @page45() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.9, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.10, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.11, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.12, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.13, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.16, i64 0, i64 0))
ret i32 10
}