#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*/ cfbf_print_version();
int /*<<< orphan*/ puts(char *);
void cfbf_print_help(void) {
  cfbf_print_version();
  puts("\n");
  puts("./cfbf -f <Brainfuck File>");
  puts("-v -- Prints the current running program version");
  puts("-l -- Prints some useless license information");
  puts("-h -- Prints this help dialog");
  puts("-f <File> -- Specify the Brainfuck file to interpret *Required*");
  puts("\n");
}


x86 assembly (clang, -O0):
<cfbf_print_help>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1040 <cfbf_print_version@plt>
lea    0xece(%rip),%rdi
call   1030 <puts@plt>
lea    0xec4(%rip),%rdi
call   1030 <puts@plt>
lea    0xed3(%rip),%rdi
call   1030 <puts@plt>
lea    0xef8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2c(%rip),%rdi
call   1030 <puts@plt>
lea    0xe86(%rip),%rdi
call   1030 <puts@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<cfbf_print_help>:
push   %rbx
xor    %eax,%eax
call   1040 <cfbf_print_version@plt>
lea    0xed1(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xec4(%rip),%rdi
call   1030 <puts@plt>
lea    0xed3(%rip),%rdi
call   1030 <puts@plt>
lea    0xef8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2c(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [27 x i8] c"./cfbf -f <Brainfuck File>\00"
@.str.2 = [49 x i8] c"-v -- Prints the current running program version\00"
@.str.3 = [46 x i8] c"-l -- Prints some useless license information\00"
@.str.4 = [30 x i8] c"-h -- Prints this help dialog\00"
@.str.5 = [64 x i8] c"-f <File> -- Specify the Brainfuck file to interpret *Required*\00"
define void @cfbf_print_help() {
%1 = call i32 (...) @cfbf_print_version()
%2 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [27 x i8] c"./cfbf -f <Brainfuck File>\00"
@.str.2 = [49 x i8] c"-v -- Prints the current running program version\00"
@.str.3 = [46 x i8] c"-l -- Prints some useless license information\00"
@.str.4 = [30 x i8] c"-h -- Prints this help dialog\00"
@.str.5 = [64 x i8] c"-f <File> -- Specify the Brainfuck file to interpret *Required*\00"
define void @cfbf_print_help() {
%1 = tail call i32 (...) @cfbf_print_version()
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.5, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}