#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*/ getchar();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ system(char *);
void menuHeader() {
  printf("\t      ██╗ ██████╗  ██████╗  ██████╗     ██████╗  ██████╗       "
         "█████╗  	\n");
  printf("\t      ██║██╔═══██╗██╔════╝ ██╔═══██╗    ██╔══██╗██╔═══██╗     "
         "██╔══██╗ 	\n");
  printf("\t      ██║██║   ██║██║  ███╗██║   ██║    ██║  ██║██║   ██║     "
         "╚█████╔╝  	\n");
  printf("\t ██   ██║██║   ██║██║   ██║██║   ██║    ██║  ██║██║   ██║     "
         "██╔══██╗ 	\n");
  printf("\t ██   ██║██║   ██║██║   ██║██║   ██║    ██║  ██║██║   ██║     "
         "██╔══██╗ 	\n");
  printf("\t ╚█████╔╝╚██████╔╝╚██████╔╝╚██████╔╝    ██████╔╝╚██████╔╝     "
         "╚█████╔╝ 	\n");
  printf("\t  ╚════╝  ╚═════╝  ╚═════╝  ╚═════╝     ╚═════╝  ╚═════╝       "
         "╚════╝ 		\n");
}
void menuClear() { system("clear"); }
void menuKey() {
  printf("\n\tPRESS ANY KEY ");
  getchar();
}
void mainMenu() { menuHeader(); }


x86 assembly (clang, -O0):
<menuHeader>:
push   %rbp
mov    %rsp,%rbp
lea    0xeb5(%rip),%rdi
call   1040 <printf@plt>
lea    0xf4c(%rip),%rdi
call   1040 <printf@plt>
lea    0xff7(%rip),%rdi
call   1040 <printf@plt>
lea    0x108b(%rip),%rdi
call   1040 <printf@plt>
lea    0x107f(%rip),%rdi
call   1040 <printf@plt>
lea    0x1114(%rip),%rdi
call   1040 <printf@plt>
lea    0x11cb(%rip),%rdi
call   1040 <printf@plt>
pop    %rbp
ret
nopw   0x0(%rax,%rax,1)

x86 assembly (clang, -O2):
<menuHeader>:
push   %rbx
lea    0xecf(%rip),%rdi
call   1030 <puts@plt>
lea    0xf65(%rip),%rdi
call   1030 <puts@plt>
lea    0x100f(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a2(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x112b(%rip),%rdi
call   1030 <puts@plt>
lea    0x11e1(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cs nopw 0x0(%rax,%rax,1)
nop

LLVM IR (-O0):
@.str = [163 x i8] c"\09 \E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \09\0A\00"
@.str.1 = [183 x i8] c"\09 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97\E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97\E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97 \09\0A\00"
@.str.2 = [160 x i8] c"\09 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\96\88\E2\95\97\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D \09\0A\00"
@.str.3 = [161 x i8] c"\09 \E2\96\88\E2\96\88 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97 \09\0A\00"
@.str.4 = [195 x i8] c"\09 \E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D\E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D\E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D\E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D\E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D \E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D \09\0A\00"
@.str.5 = [169 x i8] c"\09 \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \09\09\0A\00"
@.str.6 = [6 x i8] c"clear\00"
@.str.7 = [17 x i8] c"\0A\09PRESS ANY KEY \00"
define void @menuHeader() {
%1 = call i32 @printf(i8* getelementptr inbounds ([163 x i8], [163 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([183 x i8], [183 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([161 x i8], [161 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([161 x i8], [161 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([195 x i8], [195 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([169 x i8], [169 x i8]* @.str.5, i64 0, i64 0))
ret void
}
define void @menuClear() {
%1 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
ret void
}
define void @menuKey() {
%1 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%2 = call i32 (...) @getchar()
ret void
}
define void @mainMenu() {
ret void
}

LLVM IR (-O2):
@.str.6 = [6 x i8] c"clear\00"
@.str.7 = [17 x i8] c"\0A\09PRESS ANY KEY \00"
@str = [162 x i8] c"\09 \E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\97 \09\00"
@str.8 = [182 x i8] c"\09 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97\E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97\E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97 \E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97 \09\00"
@str.9 = [159 x i8] c"\09 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\96\88\E2\95\97\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D \09\00"
@str.11 = [160 x i8] c"\09 \E2\96\88\E2\96\88 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91\E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\91 \E2\96\88\E2\96\88\E2\95\94\E2\95\90\E2\95\90\E2\96\88\E2\96\88\E2\95\97 \09\00"
@str.12 = [194 x i8] c"\09 \E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D\E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D\E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D\E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D \E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D\E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D \E2\95\9A\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\95\94\E2\95\9D \09\00"
@str.13 = [168 x i8] c"\09 \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \E2\95\9A\E2\95\90\E2\95\90\E2\95\90\E2\95\90\E2\95\9D \09\09\00"
define void @menuHeader() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([162 x i8], [162 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([182 x i8], [182 x i8]* @str.8, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([159 x i8], [159 x i8]* @str.9, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([160 x i8], [160 x i8]* @str.11, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([160 x i8], [160 x i8]* @str.11, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([194 x i8], [194 x i8]* @str.12, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([168 x i8], [168 x i8]* @str.13, i64 0, i64 0))
ret void
}
define void @menuClear() {
%1 = tail call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
ret void
}
define void @menuKey() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%2 = tail call i32 (...) @getchar()
ret void
}
define void @mainMenu() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([162 x i8], [162 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([182 x i8], [182 x i8]* @str.8, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([159 x i8], [159 x i8]* @str.9, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([160 x i8], [160 x i8]* @str.11, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([160 x i8], [160 x i8]* @str.11, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([194 x i8], [194 x i8]* @str.12, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([168 x i8], [168 x i8]* @str.13, i64 0, i64 0))
ret void
}