#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*/ CreateMOTDFile(char *, char *);
void CreateAllMOTDs(void) {
  CreateMOTDFile("Welcome to the DB Hub.\r\nProject page: http://www.dbhub.org",
                 "motd");
  CreateMOTDFile(" ", "motdn");
  CreateMOTDFile(" ", "motdp");
  CreateMOTDFile(" ", "motdr");
  CreateMOTDFile(" ", "motdv");
  CreateMOTDFile(" ", "motdk");
  CreateMOTDFile(" ", "motdo");
  CreateMOTDFile(" ", "motdc");
  CreateMOTDFile(" ", "motda");
}


x86 assembly (clang, -O0):
<CreateAllMOTDs>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xf19(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
lea    0xf12(%rip),%rdi
lea    0xf0d(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
lea    0xeff(%rip),%rdi
lea    0xf00(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
lea    0xeec(%rip),%rdi
lea    0xef3(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
lea    0xed9(%rip),%rdi
lea    0xee6(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
lea    0xec6(%rip),%rdi
lea    0xed9(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
lea    0xeb3(%rip),%rdi
lea    0xecc(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
lea    0xea0(%rip),%rdi
lea    0xebf(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
lea    0xe8d(%rip),%rdi
lea    0xeb2(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<CreateAllMOTDs>:
push   %rbx
lea    0xee8(%rip),%rdi
lea    0xf1c(%rip),%rsi
call   1030 <CreateMOTDFile@plt>
lea    0xf15(%rip),%rbx
lea    0xf10(%rip),%rsi
mov    %rbx,%rdi
call   1030 <CreateMOTDFile@plt>
lea    0xf07(%rip),%rsi
mov    %rbx,%rdi
call   1030 <CreateMOTDFile@plt>
lea    0xefe(%rip),%rsi
mov    %rbx,%rdi
call   1030 <CreateMOTDFile@plt>
lea    0xef5(%rip),%rsi
mov    %rbx,%rdi
call   1030 <CreateMOTDFile@plt>
lea    0xeec(%rip),%rsi
mov    %rbx,%rdi
call   1030 <CreateMOTDFile@plt>
lea    0xee3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <CreateMOTDFile@plt>
lea    0xeda(%rip),%rsi
mov    %rbx,%rdi
call   1030 <CreateMOTDFile@plt>
lea    0xed1(%rip),%rsi
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <CreateMOTDFile@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"Welcome to the DB Hub.\0D\0AProject page: http://www.dbhub.org\00"
@.str.1 = [5 x i8] c"motd\00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [6 x i8] c"motdn\00"
@.str.4 = [6 x i8] c"motdp\00"
@.str.5 = [6 x i8] c"motdr\00"
@.str.6 = [6 x i8] c"motdv\00"
@.str.7 = [6 x i8] c"motdk\00"
@.str.8 = [6 x i8] c"motdo\00"
@.str.9 = [6 x i8] c"motdc\00"
@.str.10 = [6 x i8] c"motda\00"
define void @CreateAllMOTDs() {
%1 = call i32 @CreateMOTDFile(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%4 = call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%5 = call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%6 = call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%7 = call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%8 = call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%9 = call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [59 x i8] c"Welcome to the DB Hub.\0D\0AProject page: http://www.dbhub.org\00"
@.str.1 = [5 x i8] c"motd\00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [6 x i8] c"motdn\00"
@.str.4 = [6 x i8] c"motdp\00"
@.str.5 = [6 x i8] c"motdr\00"
@.str.6 = [6 x i8] c"motdv\00"
@.str.7 = [6 x i8] c"motdk\00"
@.str.8 = [6 x i8] c"motdo\00"
@.str.9 = [6 x i8] c"motdc\00"
@.str.10 = [6 x i8] c"motda\00"
define void @CreateAllMOTDs() {
%1 = tail call i32 @CreateMOTDFile(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%4 = tail call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%5 = tail call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%6 = tail call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%7 = tail call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%8 = tail call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%9 = tail call i32 @CreateMOTDFile(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
ret void
}