#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*/ fprintf(int /*<<< orphan*/, char *, char const *);
int /*<<< orphan*/ stderr;
void printHelpDialog_makeTree() {
  const char dialog[] =
      "Usage: ./makeTree -f|--fasta <FASTA_INPUT> -l|--depth <DEPTH> "
      "-o, --output <OUTPUT_FILE>\n"
      "Reads a *fa file, constructs a tree of depth DEPTH and saves it\n"
      "compressed in OUTPUT_FILE.\n"
      "Options: \n"
      " -v, --version Prints package version.\n"
      " -h, --help    Prints help dialog.\n"
      " -f, --fasta   Fasta input file."
      " Mandatory option.\n"
      " -l, --depth depth of the tree structure. Mandatory option. \n"
      " -o, --output Output file. If the extension is not *gz, it is added."
      " Mandatory option.\n\n";
  fprintf(stderr, "%s", dialog);
}


x86 assembly (clang, -O0):
<printHelpDialog_makeTree>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1e0,%rsp
lea    -0x1e0(%rbp),%rdi
lea    0xec7(%rip),%rsi
mov    $0x1d1,%edx
call   1040 <memcpy@plt>
mov    0x2e96(%rip),%rax
mov    (%rax),%edi
lea    -0x1e0(%rbp),%rdx
lea    0x1077(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x1e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHelpDialog_makeTree>:
push   %rbx
sub    $0x1e0,%rsp
lea    0xed1(%rip),%rsi
mov    %rsp,%rbx
mov    $0x1d1,%edx
mov    %rbx,%rdi
call   1040 <memcpy@plt>
mov    0x2e9a(%rip),%rax
mov    (%rax),%edi
lea    0x1082(%rip),%rsi
mov    %rbx,%rdx
call   1030 <fprintf@plt>
add    $0x1e0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.printHelpDialog_makeTree.dialog = [465 x i8] c"Usage: ./makeTree -f|--fasta <FASTA_INPUT> -l|--depth <DEPTH> -o, --output <OUTPUT_FILE>\0AReads a *fa file, constructs a tree of depth DEPTH and saves it\0Acompressed in OUTPUT_FILE.\0AOptions: \0A -v, --version Prints package version.\0A -h, --help Prints help dialog.\0A -f, --fasta Fasta input file. Mandatory option.\0A -l, --depth depth of the tree structure. Mandatory option. \0A -o, --output Output file. If the extension is not *gz, it is added. Mandatory option.\0A\0A\00"
@stderr = global i32 0
@.str = [3 x i8] c"%s\00"
define void @printHelpDialog_makeTree() {
%1 = alloca [465 x i8]
%2 = bitcast [465 x i8]* %1 to i8*
%3 = load i32, i32* @stderr
%4 = getelementptr inbounds [465 x i8], [465 x i8]* %1, i64 0, i64 0
%5 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %4)
ret void
}

LLVM IR (-O2):
@__const.printHelpDialog_makeTree.dialog = [465 x i8] c"Usage: ./makeTree -f|--fasta <FASTA_INPUT> -l|--depth <DEPTH> -o, --output <OUTPUT_FILE>\0AReads a *fa file, constructs a tree of depth DEPTH and saves it\0Acompressed in OUTPUT_FILE.\0AOptions: \0A -v, --version Prints package version.\0A -h, --help Prints help dialog.\0A -f, --fasta Fasta input file. Mandatory option.\0A -l, --depth depth of the tree structure. Mandatory option. \0A -o, --output Output file. If the extension is not *gz, it is added. Mandatory option.\0A\0A\00"
@stderr = global i32 0
@.str = [3 x i8] c"%s\00"
define void @printHelpDialog_makeTree() {
%1 = alloca [465 x i8]
%2 = getelementptr inbounds [465 x i8], [465 x i8]* %1, i64 0, i64 0
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %2)
ret void
}