#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 *, ...);
void fh_print_startup() {
  printf("\033[34m");
  printf("   ______     __  __               __    \n"
         "  / __/ /__ _/ /_/ /  ___ ___ ____/ /    \n"
         " / _// / _ `/ __/ _ \\/ -_) _ `/ _  /    \n"
         "/_/ /_/\\_,_/\\__/_//_/\\__/\\_,_/\\_,_/ \n");
  printf("\033[0m");
  printf("\nVersion %s (<ctrl-d> to quit)          \n", "0.7.0");
}


x86 assembly (clang, -O0):
<fh_print_startup>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf72(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf69(%rip),%rdi
lea    0xf8c(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<fh_print_startup>:
push   %rax
lea    0xed8(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf05(%rip),%rdi
call   1030 <puts@plt>
lea    0xec4(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xebb(%rip),%rdi
lea    0xede(%rip),%rsi
xor    %eax,%eax
pop    %rcx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [6 x i8] c"\1B[34m\00"
@.str.1 = [163 x i8] c" ______ __ __ __ \0A / __/ /__ _/ /_/ / ___ ___ ____/ / \0A / _// / _ `/ __/ _ \\/ -_) _ `/ _ / \0A/_/ /_/\\_,_/\\__/_//_/\\__/\\_,_/\\_,_/ \0A\00"
@.str.2 = [5 x i8] c"\1B[0m\00"
@.str.3 = [42 x i8] c"\0AVersion %s (<ctrl-d> to quit) \0A\00"
@.str.4 = [6 x i8] c"0.7.0\00"
define void @fh_print_startup() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([163 x i8], [163 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [6 x i8] c"\1B[34m\00"
@.str.2 = [5 x i8] c"\1B[0m\00"
@.str.3 = [42 x i8] c"\0AVersion %s (<ctrl-d> to quit) \0A\00"
@.str.4 = [6 x i8] c"0.7.0\00"
@str = [162 x i8] c" ______ __ __ __ \0A / __/ /__ _/ /_/ / ___ ___ ____/ / \0A / _// / _ `/ __/ _ \\/ -_) _ `/ _ / \0A/_/ /_/\\_,_/\\__/_//_/\\__/\\_,_/\\_,_/ \00"
define void @fh_print_startup() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([162 x i8], [162 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
ret void
}