#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 */
unsigned int printf(char *, ...);
int /*<<< orphan*/ system(char *);
int MIDILogo(char *cMenssagen) {
  unsigned int iSize = 0;
  system("clear -all");
  printf(" __                    _             _ \n");
  printf("|  |   ___ _ _ ___ ___| |_ ___ ___ _| |\n");
  printf("|  |__| .'| | |   |  _|   | . | .'| . |\n");
  printf("|_____|__,|___|_|_|___|_|_|  _|__,|___|\n");
  printf("                          |_|          \n");
  printf("\t\t\t\t ___ __  ____  ____  ____\n");
  printf("\t\t\t\t(   V  )(_  _)(  _ |(_  _)\n");
  printf("\t\t\t\t )    (  _)(_  )(_) )_)(_ \n");
  printf("\t\t\t\t(__V V_)(____)(____/(____)\n");
  iSize = printf("%s\n", cMenssagen);
  return iSize;
}


x86 assembly (clang, -O0):
<MIDILogo>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
lea    0xec6(%rip),%rdi
call   1030 <system@plt>
lea    0xec5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xee0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xefb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf16(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf31(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf4c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf5d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf6f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf81(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf8f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<MIDILogo>:
push   %rbx
mov    %rdi,%rbx
lea    0xec5(%rip),%rdi
call   1040 <system@plt>
lea    0xec8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee4(%rip),%rdi
call   1030 <puts@plt>
lea    0xf00(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf38(%rip),%rdi
call   1030 <puts@plt>
lea    0xf54(%rip),%rdi
call   1030 <puts@plt>
lea    0xf66(%rip),%rdi
call   1030 <puts@plt>
lea    0xf79(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8c(%rip),%rdi
call   1030 <puts@plt>
lea    0xe58(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
pop    %rbx
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [11 x i8] c"clear -all\00"
@.str.1 = [41 x i8] c" __ _ _ \0A\00"
@.str.2 = [41 x i8] c"| | ___ _ _ ___ ___| |_ ___ ___ _| |\0A\00"
@.str.3 = [41 x i8] c"| |__| .'| | | | _| | . | .'| . |\0A\00"
@.str.4 = [41 x i8] c"|_____|__,|___|_|_|___|_|_| _|__,|___|\0A\00"
@.str.5 = [41 x i8] c" |_| \0A\00"
@.str.6 = [31 x i8] c"\09\09\09\09 ___ __ ____ ____ ____\0A\00"
@.str.7 = [32 x i8] c"\09\09\09\09( V )(_ _)( _ |(_ _)\0A\00"
@.str.8 = [32 x i8] c"\09\09\09\09 ) ( _)(_ )(_) )_)(_ \0A\00"
@.str.9 = [32 x i8] c"\09\09\09\09(__V V_)(____)(____/(____)\0A\00"
@.str.10 = [4 x i8] c"%s\0A\00"
define i32 @MIDILogo(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
store i8* %0, i8** %2
store i32 0, i32* %3
%4 = call i32 @system(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0))
%14 = load i8*, i8** %2
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* %14)
store i32 %15, i32* %3
%16 = load i32, i32* %3
ret i32 %16
}

LLVM IR (-O2):
@.str = [11 x i8] c"clear -all\00"
@.str.10 = [4 x i8] c"%s\0A\00"
@str = [40 x i8] c" __ _ _ \00"
@str.11 = [40 x i8] c"| | ___ _ _ ___ ___| |_ ___ ___ _| |\00"
@str.12 = [40 x i8] c"| |__| .'| | | | _| | . | .'| . |\00"
@str.13 = [40 x i8] c"|_____|__,|___|_|_|___|_|_| _|__,|___|\00"
@str.14 = [40 x i8] c" |_| \00"
@str.15 = [30 x i8] c"\09\09\09\09 ___ __ ____ ____ ____\00"
@str.16 = [31 x i8] c"\09\09\09\09( V )(_ _)( _ |(_ _)\00"
@str.17 = [31 x i8] c"\09\09\09\09 ) ( _)(_ )(_) )_)(_ \00"
@str.18 = [31 x i8] c"\09\09\09\09(__V V_)(____)(____/(____)\00"
define i32 @MIDILogo(i8* %0) {
%2 = tail call i32 @system(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.11, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.12, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.13, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.16, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.17, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.18, i64 0, i64 0))
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* %0)
ret i32 %12
}