#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 PrintManual() {
  printf("\033[33m");
  printf("%-13s%-25s%-25s%-25s\n", "--------------",
         "-------------------------", "-------------------------",
         "-------------------------");
  printf("%-13s%-25s%-25s%-25s\n", "[department]", "[example command]",
         "[notes]", "[base delay]");
  printf("%-13s%-25s%-25s%-25s\n", "--------------",
         "-------------------------", "-------------------------",
         "-------------------------");
  printf("\033[0m");
  printf("\n"
         "\033[36m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "helm", "rotate", "rotates ship to heading", "1 tick per 15 degrees");
  printf("\033[36m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "", "counterclockwise 30", "of 30 degrees in the", "");
  printf("\033[36m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "", "", "counterclockwise ", "");
  printf("\033[36m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "", "", "direction", "");
  printf("\033[36m"
         "\n%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "helm", "list heading", "displays heading", "1 tick");
  printf("\n"
         "\033[35m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "sonar", "list contacts", "lists enemies", "1 tick ");
  printf("\n"
         "\033[32m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "weapons", "status", "lists the status of", "1 click");
  printf("\033[32m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "", "", "your weapons", "");
  printf("\n"
         "\033[32m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "weapons", "prep", "preps a torpedo", "2 ticks");
  printf("\n"
         "\033[32m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "weapons", "upgrade booster/", "upgrades a prepped",
         "5 ticks per upgrade");
  printf("\033[32m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "", "warhead/homing", "torpedo", "");
  printf("\n"
         "\033[32m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "weapons", "load", "loads torpedo", "2 ticks");
  printf("\n"
         "\033[32m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "weapons", "fire", "fires torpedo", "20 meters per tick");
  printf("\n"
         "\033[31m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "n/a", "pause", "pauses/resumes the game", "stops the ticks");
  printf("\n"
         "\033[31m"
         "%-13s%-25s"
         "\033[0m"
         "%-25s%-25s\n",
         "n/a", "delay <n>", "delays a command", "+ n ticks");
  printf("\033[0m");
}


x86 assembly (clang, -O0):
<PrintManual>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedd(%rip),%rdi
lea    0xef7(%rip),%rsi
lea    0xee5(%rip),%r8
mov    %r8,%rdx
mov    %r8,%rcx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xebb(%rip),%rdi
lea    0xee4(%rip),%rsi
lea    0xeea(%rip),%rdx
lea    0xef5(%rip),%rcx
lea    0xef6(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe91(%rip),%rdi
lea    0xeab(%rip),%rsi
lea    0xe99(%rip),%r8
mov    %r8,%rdx
mov    %r8,%rcx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeca(%rip),%rdi
lea    0xee3(%rip),%rsi
lea    0xee1(%rip),%rdx
lea    0xee1(%rip),%rcx
lea    0xef2(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xea1(%rip),%rdi
lea    0xf57(%rip),%r8
lea    0xeec(%rip),%rdx
lea    0xef9(%rip),%rcx
mov    %r8,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe7b(%rip),%rdi
lea    0xf31(%rip),%r8
lea    0xeef(%rip),%rcx
mov    %r8,%rsi
mov    %r8,%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe59(%rip),%rdi
lea    0xf0f(%rip),%r8
lea    0xedf(%rip),%rcx
mov    %r8,%rsi
mov    %r8,%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed5(%rip),%rdi
lea    0xe4f(%rip),%rsi
lea    0xee7(%rip),%rdx
lea    0xeed(%rip),%rcx
lea    0xef7(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
lea    0xf09(%rip),%rsi
lea    0xf08(%rip),%rdx
lea    0xf0f(%rip),%rcx
lea    0xf16(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf10(%rip),%rdi
lea    0xf51(%rip),%rsi
lea    0xf22(%rip),%rdx
lea    0xf22(%rip),%rcx
lea    0xf2f(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
lea    0xe6f(%rip),%r8
lea    0xf1b(%rip),%rcx
mov    %r8,%rsi
mov    %r8,%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec4(%rip),%rdi
lea    0xf05(%rip),%rsi
lea    0xf06(%rip),%rdx
lea    0xf04(%rip),%rcx
lea    0xf0d(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe9a(%rip),%rdi
lea    0xedb(%rip),%rsi
lea    0xef9(%rip),%rdx
lea    0xf03(%rip),%rcx
lea    0xf0f(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe71(%rip),%rdi
lea    0xdf9(%rip),%r8
lea    0xf07(%rip),%rdx
lea    0xeb8(%rip),%rcx
mov    %r8,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe4a(%rip),%rdi
lea    0xe8b(%rip),%rsi
lea    0xef0(%rip),%rdx
lea    0xeee(%rip),%rcx
lea    0xe93(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe20(%rip),%rdi
lea    0xe61(%rip),%rsi
lea    0xed9(%rip),%rdx
lea    0xed7(%rip),%rcx
lea    0xede(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
lea    0xefc(%rip),%rsi
lea    0xef9(%rip),%rdx
lea    0xef8(%rip),%rcx
lea    0xf09(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb9(%rip),%rdi
lea    0xed2(%rip),%rsi
lea    0xefd(%rip),%rdx
lea    0xf00(%rip),%rcx
lea    0xf0a(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc6f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<PrintManual>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xede(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xed6(%rip),%rbx
lea    0xef0(%rip),%r14
lea    0xede(%rip),%rbp
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %rbp,%rdx
mov    %rbp,%rcx
mov    %rbp,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xedb(%rip),%rsi
lea    0xee1(%rip),%rdx
lea    0xeec(%rip),%rcx
lea    0xeed(%rip),%r8
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %rbp,%rdx
mov    %rbp,%rcx
mov    %rbp,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xed3(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xec7(%rip),%rdi
lea    0xee0(%rip),%r15
lea    0xede(%rip),%rdx
lea    0xede(%rip),%rcx
lea    0xeef(%rip),%r8
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe9b(%rip),%rbp
lea    0xeed(%rip),%rdx
lea    0xefa(%rip),%rcx
lea    0xf43(%rip),%rbx
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xef1(%rip),%rcx
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %rbx,%rdx
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xee9(%rip),%rcx
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %rbx,%rdx
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xed9(%rip),%rdi
lea    0xef2(%rip),%rdx
lea    0xef8(%rip),%rcx
lea    0xf02(%rip),%r8
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xef8(%rip),%rdi
lea    0xf11(%rip),%rsi
lea    0xf10(%rip),%rdx
lea    0xf17(%rip),%rcx
lea    0xf1e(%rip),%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf18(%rip),%r15
lea    0xf59(%rip),%r12
lea    0xf2a(%rip),%rdx
lea    0xf2a(%rip),%rcx
lea    0xf37(%rip),%r8
mov    %r15,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xee9(%rip),%rbp
lea    0xf24(%rip),%rcx
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %rbx,%rdx
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf17(%rip),%rdx
lea    0xf15(%rip),%rcx
lea    0xf1e(%rip),%r13
mov    %r15,%rdi
mov    %r12,%rsi
mov    %r13,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf0f(%rip),%rdx
lea    0xf19(%rip),%rcx
lea    0xf25(%rip),%r8
mov    %r15,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf25(%rip),%rdx
lea    0xed6(%rip),%rcx
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf16(%rip),%rdx
lea    0xf14(%rip),%rcx
mov    %r15,%rdi
mov    %r12,%rsi
mov    %r13,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf0b(%rip),%rdx
lea    0xf09(%rip),%rcx
lea    0xf10(%rip),%r8
mov    %r15,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf0f(%rip),%rbx
lea    0xf28(%rip),%rbp
lea    0xf25(%rip),%rdx
lea    0xf24(%rip),%rcx
lea    0xf35(%rip),%r8
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf31(%rip),%rdx
lea    0xf34(%rip),%rcx
lea    0xf3e(%rip),%r8
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r14,%rdi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [6 x i8] c"\1B[33m\00"
@.str.1 = [22 x i8] c"%-13s%-25s%-25s%-25s\0A\00"
@.str.2 = [15 x i8] c"--------------\00"
@.str.3 = [26 x i8] c"-------------------------\00"
@.str.4 = [13 x i8] c"[department]\00"
@.str.5 = [18 x i8] c"[example command]\00"
@.str.6 = [8 x i8] c"[notes]\00"
@.str.7 = [13 x i8] c"[base delay]\00"
@.str.8 = [5 x i8] c"\1B[0m\00"
@.str.9 = [32 x i8] c"\0A\1B[36m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.10 = [5 x i8] c"helm\00"
@.str.11 = [7 x i8] c"rotate\00"
@.str.12 = [24 x i8] c"rotates ship to heading\00"
@.str.13 = [22 x i8] c"1 tick per 15 degrees\00"
@.str.14 = [31 x i8] c"\1B[36m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.15 = [1 x i8] zeroinitializer
@.str.16 = [20 x i8] c"counterclockwise 30\00"
@.str.17 = [21 x i8] c"of 30 degrees in the\00"
@.str.18 = [18 x i8] c"counterclockwise \00"
@.str.19 = [10 x i8] c"direction\00"
@.str.20 = [32 x i8] c"\1B[36m\0A%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.21 = [13 x i8] c"list heading\00"
@.str.22 = [17 x i8] c"displays heading\00"
@.str.23 = [7 x i8] c"1 tick\00"
@.str.24 = [32 x i8] c"\0A\1B[35m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.25 = [6 x i8] c"sonar\00"
@.str.26 = [14 x i8] c"list contacts\00"
@.str.27 = [14 x i8] c"lists enemies\00"
@.str.28 = [8 x i8] c"1 tick \00"
@.str.29 = [32 x i8] c"\0A\1B[32m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.30 = [8 x i8] c"weapons\00"
@.str.31 = [7 x i8] c"status\00"
@.str.32 = [20 x i8] c"lists the status of\00"
@.str.33 = [8 x i8] c"1 click\00"
@.str.34 = [31 x i8] c"\1B[32m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.35 = [13 x i8] c"your weapons\00"
@.str.36 = [5 x i8] c"prep\00"
@.str.37 = [16 x i8] c"preps a torpedo\00"
@.str.38 = [8 x i8] c"2 ticks\00"
@.str.39 = [17 x i8] c"upgrade booster/\00"
@.str.40 = [19 x i8] c"upgrades a prepped\00"
@.str.41 = [20 x i8] c"5 ticks per upgrade\00"
@.str.42 = [15 x i8] c"warhead/homing\00"
@.str.43 = [8 x i8] c"torpedo\00"
@.str.44 = [5 x i8] c"load\00"
@.str.45 = [14 x i8] c"loads torpedo\00"
@.str.46 = [5 x i8] c"fire\00"
@.str.47 = [14 x i8] c"fires torpedo\00"
@.str.48 = [19 x i8] c"20 meters per tick\00"
@.str.49 = [32 x i8] c"\0A\1B[31m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.50 = [4 x i8] c"n/a\00"
@.str.51 = [6 x i8] c"pause\00"
@.str.52 = [24 x i8] c"pauses/resumes the game\00"
@.str.53 = [16 x i8] c"stops the ticks\00"
@.str.54 = [10 x i8] c"delay <n>\00"
@.str.55 = [17 x i8] c"delays a command\00"
@.str.56 = [10 x i8] c"+ n ticks\00"
define void @PrintManual() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.23, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.31, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.33, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.34, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.36, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.39, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.40, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.41, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.34, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.42, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.43, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.44, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.45, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.46, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.47, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.48, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.49, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.50, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.51, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.52, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.53, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.49, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.50, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.54, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.55, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.56, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [6 x i8] c"\1B[33m\00"
@.str.1 = [22 x i8] c"%-13s%-25s%-25s%-25s\0A\00"
@.str.2 = [15 x i8] c"--------------\00"
@.str.3 = [26 x i8] c"-------------------------\00"
@.str.4 = [13 x i8] c"[department]\00"
@.str.5 = [18 x i8] c"[example command]\00"
@.str.6 = [8 x i8] c"[notes]\00"
@.str.7 = [13 x i8] c"[base delay]\00"
@.str.8 = [5 x i8] c"\1B[0m\00"
@.str.9 = [32 x i8] c"\0A\1B[36m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.10 = [5 x i8] c"helm\00"
@.str.11 = [7 x i8] c"rotate\00"
@.str.12 = [24 x i8] c"rotates ship to heading\00"
@.str.13 = [22 x i8] c"1 tick per 15 degrees\00"
@.str.14 = [31 x i8] c"\1B[36m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.15 = [1 x i8] zeroinitializer
@.str.16 = [20 x i8] c"counterclockwise 30\00"
@.str.17 = [21 x i8] c"of 30 degrees in the\00"
@.str.18 = [18 x i8] c"counterclockwise \00"
@.str.19 = [10 x i8] c"direction\00"
@.str.20 = [32 x i8] c"\1B[36m\0A%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.21 = [13 x i8] c"list heading\00"
@.str.22 = [17 x i8] c"displays heading\00"
@.str.23 = [7 x i8] c"1 tick\00"
@.str.24 = [32 x i8] c"\0A\1B[35m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.25 = [6 x i8] c"sonar\00"
@.str.26 = [14 x i8] c"list contacts\00"
@.str.27 = [14 x i8] c"lists enemies\00"
@.str.28 = [8 x i8] c"1 tick \00"
@.str.29 = [32 x i8] c"\0A\1B[32m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.30 = [8 x i8] c"weapons\00"
@.str.31 = [7 x i8] c"status\00"
@.str.32 = [20 x i8] c"lists the status of\00"
@.str.33 = [8 x i8] c"1 click\00"
@.str.34 = [31 x i8] c"\1B[32m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.35 = [13 x i8] c"your weapons\00"
@.str.36 = [5 x i8] c"prep\00"
@.str.37 = [16 x i8] c"preps a torpedo\00"
@.str.38 = [8 x i8] c"2 ticks\00"
@.str.39 = [17 x i8] c"upgrade booster/\00"
@.str.40 = [19 x i8] c"upgrades a prepped\00"
@.str.41 = [20 x i8] c"5 ticks per upgrade\00"
@.str.42 = [15 x i8] c"warhead/homing\00"
@.str.43 = [8 x i8] c"torpedo\00"
@.str.44 = [5 x i8] c"load\00"
@.str.45 = [14 x i8] c"loads torpedo\00"
@.str.46 = [5 x i8] c"fire\00"
@.str.47 = [14 x i8] c"fires torpedo\00"
@.str.48 = [19 x i8] c"20 meters per tick\00"
@.str.49 = [32 x i8] c"\0A\1B[31m%-13s%-25s\1B[0m%-25s%-25s\0A\00"
@.str.50 = [4 x i8] c"n/a\00"
@.str.51 = [6 x i8] c"pause\00"
@.str.52 = [24 x i8] c"pauses/resumes the game\00"
@.str.53 = [16 x i8] c"stops the ticks\00"
@.str.54 = [10 x i8] c"delay <n>\00"
@.str.55 = [17 x i8] c"delays a command\00"
@.str.56 = [10 x i8] c"+ n ticks\00"
define void @PrintManual() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.23, i64 0, i64 0))
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0))
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.31, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.33, i64 0, i64 0))
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.34, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.36, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0))
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.39, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.40, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.41, i64 0, i64 0))
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.34, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.42, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.43, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.15, i64 0, i64 0))
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.44, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.45, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0))
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.46, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.47, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.48, i64 0, i64 0))
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.49, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.50, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.51, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.52, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.53, i64 0, i64 0))
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.49, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.50, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.54, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.55, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.56, i64 0, i64 0))
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
ret void
}