#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*/ curs_set(int);
int /*<<< orphan*/ delay(int);
int /*<<< orphan*/ mvprintw(int, int /*<<< orphan*/, char *);
int /*<<< orphan*/ refresh();
void splashScreen() {
  curs_set(0);
  mvprintw(3, 0,
           "      #                                      #     #               "
           "             ");
  mvprintw(4, 0,
           "      #  ####   ####   ####   #####    ##    #     # ###### #      "
           "#    #   ##  ");
  mvprintw(5, 0,
           "      # #    # #    # #    #  #    #  #  #   #     # #      #      "
           "#    #  #  # ");
  mvprintw(6, 0,
           "      # #    # #      #    #  #    # #    #  #     # #####  #      "
           "###### #    #");
  mvprintw(7, 0,
           "#     # #    # #  ### #    #  #    # ######   #   #  #      #      "
           "#    # ######");
  mvprintw(8, 0,
           "#     # #    # #    # #    #  #    # #    #    # #   #      #      "
           "#    # #    #");
  mvprintw(9, 0,
           " #####   ####   ####   ####   #####  #    #     #    ###### ###### "
           "#    # #    #");
  refresh();
  delay(2000);
  curs_set(1);
}


x86 assembly (clang, -O0):
<splashScreen>:
push   %rbp
mov    %rsp,%rbp
xor    %edi,%edi
call   1050 <curs_set@plt>
mov    $0x3,%edi
xor    %esi,%esi
lea    0xea7(%rip),%rdx
call   1060 <mvprintw@plt>
mov    $0x4,%edi
xor    %esi,%esi
lea    0xee5(%rip),%rdx
call   1060 <mvprintw@plt>
mov    $0x5,%edi
xor    %esi,%esi
lea    0xf23(%rip),%rdx
call   1060 <mvprintw@plt>
mov    $0x6,%edi
xor    %esi,%esi
lea    0xf61(%rip),%rdx
call   1060 <mvprintw@plt>
mov    $0x7,%edi
xor    %esi,%esi
lea    0xf9f(%rip),%rdx
call   1060 <mvprintw@plt>
mov    $0x8,%edi
xor    %esi,%esi
lea    0xfdd(%rip),%rdx
call   1060 <mvprintw@plt>
mov    $0x9,%edi
xor    %esi,%esi
lea    0x101b(%rip),%rdx
call   1060 <mvprintw@plt>
mov    $0x0,%al
call   1040 <refresh@plt>
mov    $0x7d0,%edi
call   1030 <delay@plt>
mov    $0x1,%edi
call   1050 <curs_set@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<splashScreen>:
push   %rax
xor    %edi,%edi
call   1050 <curs_set@plt>
lea    0xeb1(%rip),%rdx
mov    $0x3,%edi
xor    %esi,%esi
call   1060 <mvprintw@plt>
lea    0xeef(%rip),%rdx
mov    $0x4,%edi
xor    %esi,%esi
call   1060 <mvprintw@plt>
lea    0xf2d(%rip),%rdx
mov    $0x5,%edi
xor    %esi,%esi
call   1060 <mvprintw@plt>
lea    0xf6b(%rip),%rdx
mov    $0x6,%edi
xor    %esi,%esi
call   1060 <mvprintw@plt>
lea    0xfa9(%rip),%rdx
mov    $0x7,%edi
xor    %esi,%esi
call   1060 <mvprintw@plt>
lea    0xfe7(%rip),%rdx
mov    $0x8,%edi
xor    %esi,%esi
call   1060 <mvprintw@plt>
lea    0x1025(%rip),%rdx
mov    $0x9,%edi
xor    %esi,%esi
call   1060 <mvprintw@plt>
xor    %eax,%eax
call   1040 <refresh@plt>
mov    $0x7d0,%edi
call   1030 <delay@plt>
mov    $0x1,%edi
pop    %rax
jmp    1050 <curs_set@plt>

LLVM IR (-O0):
@.str = [81 x i8] c" # # # \00"
@.str.1 = [81 x i8] c" # #### #### #### ##### ## # # ###### # # # ## \00"
@.str.2 = [81 x i8] c" # # # # # # # # # # # # # # # # # # # \00"
@.str.3 = [81 x i8] c" # # # # # # # # # # # # ##### # ###### # #\00"
@.str.4 = [81 x i8] c"# # # # # ### # # # # ###### # # # # # # ######\00"
@.str.5 = [81 x i8] c"# # # # # # # # # # # # # # # # # # # #\00"
@.str.6 = [81 x i8] c" ##### #### #### #### ##### # # # ###### ###### # # # #\00"
define void @splashScreen() {
%1 = call i32 @curs_set(i32 0)
%2 = call i32 @mvprintw(i32 3, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @mvprintw(i32 4, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @mvprintw(i32 5, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @mvprintw(i32 6, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @mvprintw(i32 7, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @mvprintw(i32 8, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @mvprintw(i32 9, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 (...) @refresh()
%10 = call i32 @delay(i32 2000)
%11 = call i32 @curs_set(i32 1)
ret void
}

LLVM IR (-O2):
@.str = [81 x i8] c" # # # \00"
@.str.1 = [81 x i8] c" # #### #### #### ##### ## # # ###### # # # ## \00"
@.str.2 = [81 x i8] c" # # # # # # # # # # # # # # # # # # # \00"
@.str.3 = [81 x i8] c" # # # # # # # # # # # # ##### # ###### # #\00"
@.str.4 = [81 x i8] c"# # # # # ### # # # # ###### # # # # # # ######\00"
@.str.5 = [81 x i8] c"# # # # # # # # # # # # # # # # # # # #\00"
@.str.6 = [81 x i8] c" ##### #### #### #### ##### # # # ###### ###### # # # #\00"
define void @splashScreen() {
%1 = tail call i32 @curs_set(i32 0)
%2 = tail call i32 @mvprintw(i32 3, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @mvprintw(i32 4, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @mvprintw(i32 5, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 @mvprintw(i32 6, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 @mvprintw(i32 7, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.4, i64 0, i64 0))
%7 = tail call i32 @mvprintw(i32 8, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.5, i64 0, i64 0))
%8 = tail call i32 @mvprintw(i32 9, i32 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.6, i64 0, i64 0))
%9 = tail call i32 (...) @refresh()
%10 = tail call i32 @delay(i32 2000)
%11 = tail call i32 @curs_set(i32 1)
ret void
}