#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*/ echo(char *, int);
void header() {
  int header_color = 14;
  echo("       _ _                      _            \n", header_color);
  echo("  __ _| | |      ___  ___  _ __| |_ ___ _ __ \n", header_color);
  echo(" / _` | | |_____/ __|/ _ \\| '__| __/ _ \\ '__|\n", header_color);
  echo("| (_| | | |_____\\__ \\ (_) | |  | ||  __/ |   \n", header_color);
  echo(" \\__,_|_|_|     |___/\\___/|_|   \\__\\___|_|   \n\n", header_color);
  echo("        http://github.com/dansoah/all-sorter\n\n", header_color);
  echo("===============================================\n\n\n", header_color);
}


x86 assembly (clang, -O0):
<header>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0xe,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xed7(%rip),%rdi
call   1030 <echo@plt>
mov    -0x4(%rbp),%esi
lea    0xef7(%rip),%rdi
call   1030 <echo@plt>
mov    -0x4(%rbp),%esi
lea    0xf17(%rip),%rdi
call   1030 <echo@plt>
mov    -0x4(%rbp),%esi
lea    0xf37(%rip),%rdi
call   1030 <echo@plt>
mov    -0x4(%rbp),%esi
lea    0xf57(%rip),%rdi
call   1030 <echo@plt>
mov    -0x4(%rbp),%esi
lea    0xf78(%rip),%rdi
call   1030 <echo@plt>
mov    -0x4(%rbp),%esi
lea    0xf98(%rip),%rdi
call   1030 <echo@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<header>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0xe,%esi
call   1030 <echo@plt>
lea    0xf06(%rip),%rdi
mov    $0xe,%esi
call   1030 <echo@plt>
lea    0xf24(%rip),%rdi
mov    $0xe,%esi
call   1030 <echo@plt>
lea    0xf42(%rip),%rdi
mov    $0xe,%esi
call   1030 <echo@plt>
lea    0xf60(%rip),%rdi
mov    $0xe,%esi
call   1030 <echo@plt>
lea    0xf7f(%rip),%rdi
mov    $0xe,%esi
call   1030 <echo@plt>
lea    0xf9d(%rip),%rdi
mov    $0xe,%esi
pop    %rax
jmp    1030 <echo@plt>

LLVM IR (-O0):
@.str = [47 x i8] c" _ _ _ \0A\00"
@.str.1 = [47 x i8] c" __ _| | | ___ ___ _ __| |_ ___ _ __ \0A\00"
@.str.2 = [47 x i8] c" / _` | | |_____/ __|/ _ \\| '__| __/ _ \\ '__|\0A\00"
@.str.3 = [47 x i8] c"| (_| | | |_____\\__ \\ (_) | | | || __/ | \0A\00"
@.str.4 = [48 x i8] c" \\__,_|_|_| |___/\\___/|_| \\__\\___|_| \0A\0A\00"
@.str.5 = [47 x i8] c" http://github.com/dansoah/all-sorter\0A\0A\00"
@.str.6 = [51 x i8] c"===============================================\0A\0A\0A\00"
define void @header() {
%1 = alloca i32
store i32 14, i32* %1
%2 = load i32, i32* %1
%3 = call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0), i32 %2)
%4 = load i32, i32* %1
%5 = call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.1, i64 0, i64 0), i32 %4)
%6 = load i32, i32* %1
%7 = call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.2, i64 0, i64 0), i32 %6)
%8 = load i32, i32* %1
%9 = call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0), i32 %8)
%10 = load i32, i32* %1
%11 = call i32 @echo(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0), i32 %10)
%12 = load i32, i32* %1
%13 = call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0), i32 %12)
%14 = load i32, i32* %1
%15 = call i32 @echo(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.6, i64 0, i64 0), i32 %14)
ret void
}

LLVM IR (-O2):
@.str = [47 x i8] c" _ _ _ \0A\00"
@.str.1 = [47 x i8] c" __ _| | | ___ ___ _ __| |_ ___ _ __ \0A\00"
@.str.2 = [47 x i8] c" / _` | | |_____/ __|/ _ \\| '__| __/ _ \\ '__|\0A\00"
@.str.3 = [47 x i8] c"| (_| | | |_____\\__ \\ (_) | | | || __/ | \0A\00"
@.str.4 = [48 x i8] c" \\__,_|_|_| |___/\\___/|_| \\__\\___|_| \0A\0A\00"
@.str.5 = [47 x i8] c" http://github.com/dansoah/all-sorter\0A\0A\00"
@.str.6 = [51 x i8] c"===============================================\0A\0A\0A\00"
define void @header() {
%1 = tail call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0), i32 14)
%2 = tail call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.1, i64 0, i64 0), i32 14)
%3 = tail call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.2, i64 0, i64 0), i32 14)
%4 = tail call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0), i32 14)
%5 = tail call i32 @echo(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0), i32 14)
%6 = tail call i32 @echo(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0), i32 14)
%7 = tail call i32 @echo(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.6, i64 0, i64 0), i32 14)
ret void
}