#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*/ getch();
int /*<<< orphan*/ printw(char *);
int /*<<< orphan*/ refresh();
void splash(void) {
  printw(
      " _____                _    _      _       _____      _             \n");
  printw(
      "/  ___|              | |  (_)    | |     |  __ \\    (_)            \n");
  printw(
      "\\ `--.__   _____ _ __| | ___ _ __`-ï___  | |__) |___ _  __ _ _ __  \n");
  printw(" `--. \\ \\ / / _ \\ '__| |/ / | '__| / __| |  _  // _ \\ |/ _` | '_ "
         "\\ \n");
  printw("/\\__/ /\\ V /  __/ |  |   <| | |    \\__ \\ | | \\ \\  __/ | (_| | "
         "| | |\n");
  printw("\\____/  \\_/ \\___|_|  |_|\\_\\_|_|    |___/ |_|  \\_\\___|_|\\__, "
         "|_| |_|\n");
  printw(
      "                                                        __/ |      \n");
  printw("  By Giant Sloth Interactice                           |___/       "
         "\n\n\n\n");
  printw(
      "                      Press any key to start                       \n");
  refresh();
  getch();
  return;
}


x86 assembly (clang, -O0):
<splash>:
push   %rbp
mov    %rsp,%rbp
lea    0xec5(%rip),%rdi
call   1030 <printw@plt>
lea    0xefe(%rip),%rdi
call   1030 <printw@plt>
lea    0xf37(%rip),%rdi
call   1030 <printw@plt>
lea    0xf71(%rip),%rdi
call   1030 <printw@plt>
lea    0xfaa(%rip),%rdi
call   1030 <printw@plt>
lea    0xfe3(%rip),%rdi
call   1030 <printw@plt>
lea    0x101c(%rip),%rdi
call   1030 <printw@plt>
lea    0x1055(%rip),%rdi
call   1030 <printw@plt>
lea    0x1091(%rip),%rdi
call   1030 <printw@plt>
mov    $0x0,%al
call   1040 <refresh@plt>
mov    $0x0,%al
call   1050 <getch@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<splash>:
push   %rax
lea    0xec8(%rip),%rdi
call   1030 <printw@plt>
lea    0xf01(%rip),%rdi
call   1030 <printw@plt>
lea    0xf3a(%rip),%rdi
call   1030 <printw@plt>
lea    0xf74(%rip),%rdi
call   1030 <printw@plt>
lea    0xfad(%rip),%rdi
call   1030 <printw@plt>
lea    0xfe6(%rip),%rdi
call   1030 <printw@plt>
lea    0x101f(%rip),%rdi
call   1030 <printw@plt>
lea    0x1058(%rip),%rdi
call   1030 <printw@plt>
lea    0x1094(%rip),%rdi
call   1030 <printw@plt>
xor    %eax,%eax
call   1040 <refresh@plt>
xor    %eax,%eax
pop    %rcx
jmp    1050 <getch@plt>

LLVM IR (-O0):
@.str = [69 x i8] c" _____ _ _ _ _____ _ \0A\00"
@.str.1 = [69 x i8] c"/ ___| | | (_) | | | __ \\ (_) \0A\00"
@.str.2 = [70 x i8] c"\\ `--.__ _____ _ __| | ___ _ __`-\C3\AF___ | |__) |___ _ __ _ _ __ \0A\00"
@.str.3 = [69 x i8] c" `--. \\ \\ / / _ \\ '__| |/ / | '__| / __| | _ // _ \\ |/ _` | '_ \\ \0A\00"
@.str.4 = [69 x i8] c"/\\__/ /\\ V / __/ | | <| | | \\__ \\ | | \\ \\ __/ | (_| | | | |\0A\00"
@.str.5 = [69 x i8] c"\\____/ \\_/ \\___|_| |_|\\_\\_|_| |___/ |_| \\_\\___|_|\\__, |_| |_|\0A\00"
@.str.6 = [69 x i8] c" __/ | \0A\00"
@.str.7 = [72 x i8] c" By Giant Sloth Interactice |___/ \0A\0A\0A\0A\00"
@.str.8 = [69 x i8] c" Press any key to start \0A\00"
define void @splash() {
%1 = call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printw(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printw(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (...) @refresh()
%11 = call i32 (...) @getch()
ret void
}

LLVM IR (-O2):
@.str = [69 x i8] c" _____ _ _ _ _____ _ \0A\00"
@.str.1 = [69 x i8] c"/ ___| | | (_) | | | __ \\ (_) \0A\00"
@.str.2 = [70 x i8] c"\\ `--.__ _____ _ __| | ___ _ __`-\C3\AF___ | |__) |___ _ __ _ _ __ \0A\00"
@.str.3 = [69 x i8] c" `--. \\ \\ / / _ \\ '__| |/ / | '__| / __| | _ // _ \\ |/ _` | '_ \\ \0A\00"
@.str.4 = [69 x i8] c"/\\__/ /\\ V / __/ | | <| | | \\__ \\ | | \\ \\ __/ | (_| | | | |\0A\00"
@.str.5 = [69 x i8] c"\\____/ \\_/ \\___|_| |_|\\_\\_|_| |___/ |_| \\_\\___|_|\\__, |_| |_|\0A\00"
@.str.6 = [69 x i8] c" __/ | \0A\00"
@.str.7 = [72 x i8] c" By Giant Sloth Interactice |___/ \0A\0A\0A\0A\00"
@.str.8 = [69 x i8] c" Press any key to start \0A\00"
define void @splash() {
%1 = tail call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printw(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @printw(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @printw(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 (...) @refresh()
%11 = tail call i32 (...) @getch()
ret void
}