#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*/ cprintln(char *);
int /*<<< orphan*/ endl();
void print_help() {
  endl();
  cprintln(" <u><b><fg:white>Animals Game<r>");
  cprintln(" <fg:lmagenta>usage: animals [-v] [-f DB_FILE] [-h]<r>");
  cprintln("  <b><fg:white>-v, --verbose<r>  Enable extra debug messages");
  cprintln("  <b><fg:white>-f, --file<r>     Specify location of data file");
  cprintln("  <b><fg:white>-h, --help<r>     Show this help");
  endl();
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <endl@plt>
lea    0xece(%rip),%rdi
call   1040 <cprintln@plt>
lea    0xee3(%rip),%rdi
call   1040 <cprintln@plt>
lea    0xf0e(%rip),%rdi
call   1040 <cprintln@plt>
lea    0xf3f(%rip),%rdi
call   1040 <cprintln@plt>
lea    0xf72(%rip),%rdi
call   1040 <cprintln@plt>
mov    $0x0,%al
call   1030 <endl@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
xor    %eax,%eax
call   1030 <endl@plt>
lea    0xed1(%rip),%rdi
call   1040 <cprintln@plt>
lea    0xee6(%rip),%rdi
call   1040 <cprintln@plt>
lea    0xf11(%rip),%rdi
call   1040 <cprintln@plt>
lea    0xf42(%rip),%rdi
call   1040 <cprintln@plt>
lea    0xf75(%rip),%rdi
call   1040 <cprintln@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <endl@plt>

LLVM IR (-O0):
@.str = [33 x i8] c" <u><b><fg:white>Animals Game<r>\00"
@.str.1 = [55 x i8] c" <fg:lmagenta>usage: animals [-v] [-f DB_FILE] [-h]<r>\00"
@.str.2 = [61 x i8] c" <b><fg:white>-v, --verbose<r> Enable extra debug messages\00"
@.str.3 = [63 x i8] c" <b><fg:white>-f, --file<r> Specify location of data file\00"
@.str.4 = [48 x i8] c" <b><fg:white>-h, --help<r> Show this help\00"
define void @print_help() {
%1 = call i32 (...) @endl()
%2 = call i32 @cprintln(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @cprintln(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @cprintln(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @cprintln(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @cprintln(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 (...) @endl()
ret void
}

LLVM IR (-O2):
@.str = [33 x i8] c" <u><b><fg:white>Animals Game<r>\00"
@.str.1 = [55 x i8] c" <fg:lmagenta>usage: animals [-v] [-f DB_FILE] [-h]<r>\00"
@.str.2 = [61 x i8] c" <b><fg:white>-v, --verbose<r> Enable extra debug messages\00"
@.str.3 = [63 x i8] c" <b><fg:white>-f, --file<r> Specify location of data file\00"
@.str.4 = [48 x i8] c" <b><fg:white>-h, --help<r> Show this help\00"
define void @print_help() {
%1 = tail call i32 (...) @endl()
%2 = tail call i32 @cprintln(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @cprintln(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @cprintln(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 @cprintln(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 @cprintln(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0))
%7 = tail call i32 (...) @endl()
ret void
}