#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 *, ...);
void drawSubHeader() {
  printf("This is a fishing game where you the fisherman, are trying to catch "
         "your tea.\n");
  printf("The fish are located in a vast sea in which you must search and find "
         "your catch.\n");
  printf("Coordinates are as follows : -\n");
  printf("South starts at 0, and ends at North %d\n", 8);
  printf("West starts at 0, and ends at East %d\n", 8);
  printf("Depth starts at 0 (shallow) and ends at %d (deep).\n", 8);
  printf("Note, keep track of your progress with a pencil and notepad.\n");
  printf(
      "The sooner you find the fish, the sooner you can eat your tea :)\n\n\n");
}


x86 assembly (clang, -O0):
<drawSubHeader>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf26(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf7c(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf92(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa6(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfc7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<drawSubHeader>:
push   %rax
lea    0xf5c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9e(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe3(%rip),%rdi
call   1030 <puts@plt>
lea    0xeb4(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeca(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xede(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfbd(%rip),%rdi
call   1030 <puts@plt>
lea    0xfee(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [79 x i8] c"This is a fishing game where you the fisherman, are trying to catch your tea.\0A\00"
@.str.1 = [82 x i8] c"The fish are located in a vast sea in which you must search and find your catch.\0A\00"
@.str.2 = [32 x i8] c"Coordinates are as follows : -\0A\00"
@.str.3 = [41 x i8] c"South starts at 0, and ends at North %d\0A\00"
@.str.4 = [39 x i8] c"West starts at 0, and ends at East %d\0A\00"
@.str.5 = [52 x i8] c"Depth starts at 0 (shallow) and ends at %d (deep).\0A\00"
@.str.6 = [62 x i8] c"Note, keep track of your progress with a pencil and notepad.\0A\00"
@.str.7 = [68 x i8] c"The sooner you find the fish, the sooner you can eat your tea :)\0A\0A\0A\00"
define void @drawSubHeader() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0), i32 8)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), i32 8)
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.5, i64 0, i64 0), i32 8)
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.3 = [41 x i8] c"South starts at 0, and ends at North %d\0A\00"
@.str.4 = [39 x i8] c"West starts at 0, and ends at East %d\0A\00"
@.str.5 = [52 x i8] c"Depth starts at 0 (shallow) and ends at %d (deep).\0A\00"
@str = [78 x i8] c"This is a fishing game where you the fisherman, are trying to catch your tea.\00"
@str.8 = [81 x i8] c"The fish are located in a vast sea in which you must search and find your catch.\00"
@str.9 = [31 x i8] c"Coordinates are as follows : -\00"
@str.10 = [61 x i8] c"Note, keep track of your progress with a pencil and notepad.\00"
@str.11 = [67 x i8] c"The sooner you find the fish, the sooner you can eat your tea :)\0A\0A\00"
define void @drawSubHeader() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.8, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.9, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0), i32 8)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), i32 8)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.5, i64 0, i64 0), i32 8)
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.10, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.11, i64 0, i64 0))
ret void
}