#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 choose(int, char *, int, char *);
int /*<<< orphan*/ printf(char *);
page43() {
  printf("You sit through a long lecture on how to recognise and infiltrate "
         "secret\n");
  printf("societies, with an emphasis on mimicking secret handshakes.  The "
         "basic theory,\n");
  printf("which you realise to be sound from your Iluminati training, is that "
         "with the\n");
  printf("proper handshake you can pass unnoticed in any secret society "
         "gathering.\n");
  printf("What\'s more, the proper handshake will open doors faster than an "
         "\'ultra shock\'\n");
  printf("plasma cannon.  You are certain that with the information you learn "
         "here you\n");
  printf("will easily be promoted to the next level of your Illuminati secret "
         "society.\n");
  printf("The lecture continues for three hours, during which you have the "
         "opportunity\n");
  printf("to practice many different handshakes.  Afterwards everyone is "
         "directed to\n");
  printf("attend the graduation ceremony.  Before you must go you have a "
         "little time to\n");
  printf("talk to The Computer about, you know, certain topics.\n");
  return choose(44, "You go looking for a computer terminal", 55,
                "You go to the graduation ceremony immediately");
}


x86 assembly (clang, -O0):
<page43>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1040 <printf@plt>
lea    0xf13(%rip),%rdi
call   1040 <printf@plt>
lea    0xf57(%rip),%rdi
call   1040 <printf@plt>
lea    0xf99(%rip),%rdi
call   1040 <printf@plt>
lea    0xfd7(%rip),%rdi
call   1040 <printf@plt>
lea    0x101b(%rip),%rdi
call   1040 <printf@plt>
lea    0x105d(%rip),%rdi
call   1040 <printf@plt>
lea    0x109f(%rip),%rdi
call   1040 <printf@plt>
lea    0x10e1(%rip),%rdi
call   1040 <printf@plt>
lea    0x1121(%rip),%rdi
call   1040 <printf@plt>
lea    0x1164(%rip),%rdi
call   1040 <printf@plt>
mov    $0x2c,%edi
lea    0x118a(%rip),%rsi
mov    $0x37,%edx
lea    0x11a5(%rip),%rcx
call   1030 <choose@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<page43>:
push   %rax
lea    0xf2d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfad(%rip),%rdi
call   1030 <puts@plt>
lea    0xfee(%rip),%rdi
call   1030 <puts@plt>
lea    0x102b(%rip),%rdi
call   1030 <puts@plt>
lea    0x106e(%rip),%rdi
call   1030 <puts@plt>
lea    0x10af(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f0(%rip),%rdi
call   1030 <puts@plt>
lea    0x1131(%rip),%rdi
call   1030 <puts@plt>
lea    0x1170(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b2(%rip),%rdi
call   1030 <puts@plt>
lea    0xe54(%rip),%rsi
lea    0xe74(%rip),%rcx
mov    $0x2c,%edi
mov    $0x37,%edx
pop    %rax
jmp    1040 <choose@plt>

LLVM IR (-O0):
@.str = [74 x i8] c"You sit through a long lecture on how to recognise and infiltrate secret\0A\00"
@.str.1 = [80 x i8] c"societies, with an emphasis on mimicking secret handshakes. The basic theory,\0A\00"
@.str.2 = [78 x i8] c"which you realise to be sound from your Iluminati training, is that with the\0A\00"
@.str.3 = [74 x i8] c"proper handshake you can pass unnoticed in any secret society gathering.\0A\00"
@.str.4 = [80 x i8] c"What's more, the proper handshake will open doors faster than an 'ultra shock'\0A\00"
@.str.5 = [78 x i8] c"plasma cannon. You are certain that with the information you learn here you\0A\00"
@.str.6 = [78 x i8] c"will easily be promoted to the next level of your Illuminati secret society.\0A\00"
@.str.7 = [78 x i8] c"The lecture continues for three hours, during which you have the opportunity\0A\00"
@.str.8 = [76 x i8] c"to practice many different handshakes. Afterwards everyone is directed to\0A\00"
@.str.9 = [79 x i8] c"attend the graduation ceremony. Before you must go you have a little time to\0A\00"
@.str.10 = [55 x i8] c"talk to The Computer about, you know, certain topics.\0A\00"
@.str.11 = [39 x i8] c"You go looking for a computer terminal\00"
@.str.12 = [46 x i8] c"You go to the graduation ceremony immediately\00"
define i32 @page43() {
%1 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 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 ([78 x i8], [78 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @choose(i32 44, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.11, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.12, i64 0, i64 0))
ret i32 %12
}

LLVM IR (-O2):
@.str.11 = [39 x i8] c"You go looking for a computer terminal\00"
@.str.12 = [46 x i8] c"You go to the graduation ceremony immediately\00"
@str = [73 x i8] c"You sit through a long lecture on how to recognise and infiltrate secret\00"
@str.13 = [79 x i8] c"societies, with an emphasis on mimicking secret handshakes. The basic theory,\00"
@str.14 = [77 x i8] c"which you realise to be sound from your Iluminati training, is that with the\00"
@str.15 = [73 x i8] c"proper handshake you can pass unnoticed in any secret society gathering.\00"
@str.16 = [79 x i8] c"What's more, the proper handshake will open doors faster than an 'ultra shock'\00"
@str.17 = [77 x i8] c"plasma cannon. You are certain that with the information you learn here you\00"
@str.18 = [77 x i8] c"will easily be promoted to the next level of your Illuminati secret society.\00"
@str.19 = [77 x i8] c"The lecture continues for three hours, during which you have the opportunity\00"
@str.20 = [75 x i8] c"to practice many different handshakes. Afterwards everyone is directed to\00"
@str.21 = [78 x i8] c"attend the graduation ceremony. Before you must go you have a little time to\00"
@str.22 = [54 x i8] c"talk to The Computer about, you know, certain topics.\00"
define i32 @page43() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @choose(i32 44, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.11, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.12, i64 0, i64 0))
ret i32 %12
}