#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 *, char *, char *);
void help(char *argv[]) {
  printf("Generates a random tree\n"
         "\n"
         "Synopsis\n"
         "--------\n"
         "\n"
         "%s [-cdhsx]\n"
         "\n"
         "Input\n"
         "-----\n"
         "\n"
         "None\n"
         "\n"
         "Output\n"
         "------\n"
         "\n"
         "The generated tree. Branches are \"grown\" using exponentially "
         "distributed\n"
         "lengths. If the length exceeds the time limit, growth stops; "
         "otherwise the\n"
         "lineage splits in two, and the process is repeated on the children.\n"
         "\n"
         "Options\n"
         "-------\n"
         "\n"
         "    -d <float>: sets the maximum depth (time limit). Default: 3.0\n"
         "    -h: print this message and exit\n"
         "    -l <float>: sets the average branch length (default: 1.0)\n"
         "    -s  <int>: sets the pseudorandom number generator's seed\n"
         "    0.1)\n"
         "\n"
         "Examples\n"
         "--------\n"
         "\n"
         "# Generate a random tree\n"
         "\n"
         "$ %s\n",
         argv[0], argv[0]);
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rsi
mov    -0x8(%rbp),%rax
mov    (%rax),%rdx
lea    0xecf(%rip),%rdi
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
mov    (%rdi),%rdx
lea    0xee6(%rip),%rdi
mov    %rdx,%rsi
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [611 x i8] c"Generates a random tree\0A\0ASynopsis\0A--------\0A\0A%s [-cdhsx]\0A\0AInput\0A-----\0A\0ANone\0A\0AOutput\0A------\0A\0AThe generated tree. Branches are \22grown\22 using exponentially distributed\0Alengths. If the length exceeds the time limit, growth stops; otherwise the\0Alineage splits in two, and the process is repeated on the children.\0A\0AOptions\0A-------\0A\0A -d <float>: sets the maximum depth (time limit). Default: 3.0\0A -h: print this message and exit\0A -l <float>: sets the average branch length (default: 1.0)\0A -s <int>: sets the pseudorandom number generator's seed\0A 0.1)\0A\0AExamples\0A--------\0A\0A# Generate a random tree\0A\0A$ %s\0A\00"
define void @help(i8** %0) {
%2 = alloca i8**
store i8** %0, i8*** %2
%3 = load i8**, i8*** %2
%4 = getelementptr inbounds i8*, i8** %3, i64 0
%5 = load i8*, i8** %4
%6 = load i8**, i8*** %2
%7 = getelementptr inbounds i8*, i8** %6, i64 0
%8 = load i8*, i8** %7
%9 = call i32 @printf(i8* getelementptr inbounds ([611 x i8], [611 x i8]* @.str, i64 0, i64 0), i8* %5, i8* %8)
ret void
}

LLVM IR (-O2):
@.str = [611 x i8] c"Generates a random tree\0A\0ASynopsis\0A--------\0A\0A%s [-cdhsx]\0A\0AInput\0A-----\0A\0ANone\0A\0AOutput\0A------\0A\0AThe generated tree. Branches are \22grown\22 using exponentially distributed\0Alengths. If the length exceeds the time limit, growth stops; otherwise the\0Alineage splits in two, and the process is repeated on the children.\0A\0AOptions\0A-------\0A\0A -d <float>: sets the maximum depth (time limit). Default: 3.0\0A -h: print this message and exit\0A -l <float>: sets the average branch length (default: 1.0)\0A -s <int>: sets the pseudorandom number generator's seed\0A 0.1)\0A\0AExamples\0A--------\0A\0A# Generate a random tree\0A\0A$ %s\0A\00"
define void @help(i8** nocapture %0) {
%2 = load i8*, i8** %0
%3 = tail call i32 @printf(i8* getelementptr inbounds ([611 x i8], [611 x i8]* @.str, i64 0, i64 0), i8* %2, i8* %2)
ret void
}