#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*/ ft_putendl(char *);
int /*<<< orphan*/ ft_putstr(char *);
void no_conf_msg(void) {
  ft_putendl("Welcome in MSH!");
  ft_putstr("You have no configuration file for the moment, ");
  ft_putendl("please, make a choice! :");
  ft_putendl("[0] Create an empty configuration file");
  ft_putendl("[1] Create a default configuration file");
  ft_putendl("Other for do nothing");
}


x86 assembly (clang, -O0):
<no_conf_msg>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <ft_putendl@plt>
lea    0xed9(%rip),%rdi
call   1040 <ft_putstr@plt>
lea    0xefd(%rip),%rdi
call   1030 <ft_putendl@plt>
lea    0xf0a(%rip),%rdi
call   1030 <ft_putendl@plt>
lea    0xf25(%rip),%rdi
call   1030 <ft_putendl@plt>
lea    0xf41(%rip),%rdi
call   1030 <ft_putendl@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<no_conf_msg>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <ft_putendl@plt>
lea    0xedc(%rip),%rdi
call   1040 <ft_putstr@plt>
lea    0xf00(%rip),%rdi
call   1030 <ft_putendl@plt>
lea    0xf0d(%rip),%rdi
call   1030 <ft_putendl@plt>
lea    0xf28(%rip),%rdi
call   1030 <ft_putendl@plt>
lea    0xf44(%rip),%rdi
pop    %rax
jmp    1030 <ft_putendl@plt>

LLVM IR (-O0):
@.str = [16 x i8] c"Welcome in MSH!\00"
@.str.1 = [48 x i8] c"You have no configuration file for the moment, \00"
@.str.2 = [25 x i8] c"please, make a choice! :\00"
@.str.3 = [39 x i8] c"[0] Create an empty configuration file\00"
@.str.4 = [40 x i8] c"[1] Create a default configuration file\00"
@.str.5 = [21 x i8] c"Other for do nothing\00"
define void @no_conf_msg() {
%1 = call i32 @ft_putendl(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @ft_putstr(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @ft_putendl(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @ft_putendl(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @ft_putendl(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @ft_putendl(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [16 x i8] c"Welcome in MSH!\00"
@.str.1 = [48 x i8] c"You have no configuration file for the moment, \00"
@.str.2 = [25 x i8] c"please, make a choice! :\00"
@.str.3 = [39 x i8] c"[0] Create an empty configuration file\00"
@.str.4 = [40 x i8] c"[1] Create a default configuration file\00"
@.str.5 = [21 x i8] c"Other for do nothing\00"
define void @no_conf_msg() {
%1 = tail call i32 @ft_putendl(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @ft_putstr(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @ft_putendl(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @ft_putendl(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @ft_putendl(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @ft_putendl(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
ret void
}