#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*/ my_putstr(char *);
int /*<<< orphan*/ reset();
void show_name() {
  reset();
  my_putstr("\e[0;31m");
  my_putstr("\n\n\n       .--,--.\n");
  my_putstr("       `.  ,.'\n");
  my_putstr("        |___|\n");
  my_putstr("        :o o:   O    Bienvenue dans l'interface Chappie\n");
  my_putstr("       _`~^~'_  |    Miam miam !\n");
  my_putstr("     /'   ^   `\\=)\n");
  my_putstr("   .'  _______ '~|\n");
  my_putstr("   `(<=|     |= /'\n");
  my_putstr("       |     |\n");
  my_putstr("       |_____|\n");
  my_putstr("~~~~~~~ ===== ~~~~~~~~\n\n\n");
}


x86 assembly (clang, -O0):
<show_name>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1040 <reset@plt>
lea    0xece(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xeca(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xed1(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xed5(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xed8(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf05(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf1b(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf23(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf2b(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf33(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf37(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf3b(%rip),%rdi
call   1030 <my_putstr@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_name>:
push   %rax
xor    %eax,%eax
call   1040 <reset@plt>
lea    0xed1(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xecd(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xed4(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xed8(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xedb(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf08(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf1e(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf26(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf2e(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf36(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf3a(%rip),%rdi
call   1030 <my_putstr@plt>
lea    0xf3e(%rip),%rdi
pop    %rax
jmp    1030 <my_putstr@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"\1B[0;31m\00"
@.str.1 = [19 x i8] c"\0A\0A\0A .--,--.\0A\00"
@.str.2 = [16 x i8] c" `. ,.'\0A\00"
@.str.3 = [15 x i8] c" |___|\0A\00"
@.str.4 = [57 x i8] c" :o o: O Bienvenue dans l'interface Chappie\0A\00"
@.str.5 = [34 x i8] c" _`~^~'_ | Miam miam !\0A\00"
@.str.6 = [20 x i8] c" /' ^ `\\=)\0A\00"
@.str.7 = [20 x i8] c" .' _______ '~|\0A\00"
@.str.8 = [20 x i8] c" `(<=| |= /'\0A\00"
@.str.9 = [16 x i8] c" | |\0A\00"
@.str.10 = [16 x i8] c" |_____|\0A\00"
@.str.11 = [26 x i8] c"~~~~~~~ ===== ~~~~~~~~\0A\0A\0A\00"
define void @show_name() {
%1 = call i32 (...) @reset()
%2 = call i32 @my_putstr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @my_putstr(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @my_putstr(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @my_putstr(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @my_putstr(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @my_putstr(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @my_putstr(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @my_putstr(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @my_putstr(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @my_putstr(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @my_putstr(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @my_putstr(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"\1B[0;31m\00"
@.str.1 = [19 x i8] c"\0A\0A\0A .--,--.\0A\00"
@.str.2 = [16 x i8] c" `. ,.'\0A\00"
@.str.3 = [15 x i8] c" |___|\0A\00"
@.str.4 = [57 x i8] c" :o o: O Bienvenue dans l'interface Chappie\0A\00"
@.str.5 = [34 x i8] c" _`~^~'_ | Miam miam !\0A\00"
@.str.6 = [20 x i8] c" /' ^ `\\=)\0A\00"
@.str.7 = [20 x i8] c" .' _______ '~|\0A\00"
@.str.8 = [20 x i8] c" `(<=| |= /'\0A\00"
@.str.9 = [16 x i8] c" | |\0A\00"
@.str.10 = [16 x i8] c" |_____|\0A\00"
@.str.11 = [26 x i8] c"~~~~~~~ ===== ~~~~~~~~\0A\0A\0A\00"
define void @show_name() {
%1 = tail call i32 (...) @reset()
%2 = tail call i32 @my_putstr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @my_putstr(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @my_putstr(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 @my_putstr(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 @my_putstr(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0))
%7 = tail call i32 @my_putstr(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0))
%8 = tail call i32 @my_putstr(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
%9 = tail call i32 @my_putstr(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0))
%10 = tail call i32 @my_putstr(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0))
%11 = tail call i32 @my_putstr(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
%12 = tail call i32 @my_putstr(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0))
%13 = tail call i32 @my_putstr(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0))
ret void
}