#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 *);
void introduce(void) {
  printf("*** %s ***\n", "Welcome to Simpletron");
  printf("*** %s ***\n", "Please enter your program one instruction");
  printf("*** %s ***\n", "(or data word) at a time,I will type the");
  printf("*** %s ***\n", "location number and a question mark (?).");
  printf("*** %s ***\n", "You then type the word for that location.");
  printf("*** %s ***\n", "Type the sentinel -99999 to stop entering");
  printf("*** %s ***\n", "your program.");
}


x86 assembly (clang, -O0):
<introduce>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xeea(%rip),%rsi
call   1030 <printf@plt>
lea    0xed2(%rip),%rdi
lea    0xeed(%rip),%rsi
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
lea    0xf04(%rip),%rsi
call   1030 <printf@plt>
lea    0xeac(%rip),%rdi
lea    0xf1a(%rip),%rsi
call   1030 <printf@plt>
lea    0xe99(%rip),%rdi
lea    0xf30(%rip),%rsi
call   1030 <printf@plt>
lea    0xe86(%rip),%rdi
lea    0xf47(%rip),%rsi
call   1030 <printf@plt>
lea    0xe73(%rip),%rdi
lea    0xf5e(%rip),%rsi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<introduce>:
push   %rbx
lea    0xee8(%rip),%rbx
lea    0xeed(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xef4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf0f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf29(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf43(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf5e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf79(%rip),%rsi
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"*** %s ***\0A\00"
@.str.1 = [22 x i8] c"Welcome to Simpletron\00"
@.str.2 = [42 x i8] c"Please enter your program one instruction\00"
@.str.3 = [41 x i8] c"(or data word) at a time,I will type the\00"
@.str.4 = [41 x i8] c"location number and a question mark (?).\00"
@.str.5 = [42 x i8] c"You then type the word for that location.\00"
@.str.6 = [42 x i8] c"Type the sentinel -99999 to stop entering\00"
@.str.7 = [14 x i8] c"your program.\00"
define void @introduce() {
%1 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [12 x i8] c"*** %s ***\0A\00"
@.str.1 = [22 x i8] c"Welcome to Simpletron\00"
@.str.2 = [42 x i8] c"Please enter your program one instruction\00"
@.str.3 = [41 x i8] c"(or data word) at a time,I will type the\00"
@.str.4 = [41 x i8] c"location number and a question mark (?).\00"
@.str.5 = [42 x i8] c"You then type the word for that location.\00"
@.str.6 = [42 x i8] c"Type the sentinel -99999 to stop entering\00"
@.str.7 = [14 x i8] c"your program.\00"
define void @introduce() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%5 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
%6 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
%7 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0))
ret void
}