#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 *, ...);
int /*<<< orphan*/ puts(char *);
void SplashScreen(void) {
  puts("----------------------------------------------------------------------"
       "-");
  printf("SARGOS Version %s -- Secure and Reduced GNU Operating System\n",
         "0.1.2");
  printf("Type 'help' for a list of services and manuals\nCREATED BY SARGIS S "
         "YONAN & ISAAK CHERDAK\n");
  puts("----------------------------------------------------------------------"
       "-");
}


x86 assembly (clang, -O0):
<SplashScreen>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf11(%rip),%rdi
lea    0xf48(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf40(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xea6(%rip),%rdi
call   1030 <puts@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<SplashScreen>:
push   %rbx
lea    0xed8(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf11(%rip),%rdi
lea    0xf48(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf40(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [72 x i8] c"-----------------------------------------------------------------------\00"
@.str.1 = [62 x i8] c"SARGOS Version %s -- Secure and Reduced GNU Operating System\0A\00"
@.str.2 = [6 x i8] c"0.1.2\00"
@.str.3 = [90 x i8] c"Type 'help' for a list of services and manuals\0ACREATED BY SARGIS S YONAN & ISAAK CHERDAK\0A\00"
define void @SplashScreen() {
%1 = call i32 @puts(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [72 x i8] c"-----------------------------------------------------------------------\00"
@.str.1 = [62 x i8] c"SARGOS Version %s -- Secure and Reduced GNU Operating System\0A\00"
@.str.2 = [6 x i8] c"0.1.2\00"
@str = [89 x i8] c"Type 'help' for a list of services and manuals\0ACREATED BY SARGIS S YONAN & ISAAK CHERDAK\00"
define void @SplashScreen() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @.str, i64 0, i64 0))
ret void
}