#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(
      "Prints statistics about trees\n"
      "\n"
      "Synopsis\n"
      "--------\n"
      "\n"
      "%s [-hHf:] <newick trees filename|->\n"
      "\n"
      "Input\n"
      "-----\n"
      "\n"
      "Argument is the name of a file that contains Newick trees, or '-' (in\n"
      "which case trees are read from standard input).\n"
      "\n"
      "Output\n"
      "------\n"
      "\n"
      "Prints information about the trees in the input, one line per tree.\n"
      "By default, each line contains the following fields: type, number of\n"
      "leaves [TODO: add rest here]\n"
      "\n"
      "Options\n"
      "-------\n"
      "\n"
      "    -h: print this message and exit\n"
      "    -f [lc]: format in lines (l) or columns (c). Default is c.\n"
      "    -H: suppress headers.\n"
      "\n"
      "Examples\n"
      "--------\n"
      "\n"
      "# default statistics:\n"
      "\n"
      "$ %s data/catarrhini.nw\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 = [612 x i8] c"Prints statistics about trees\0A\0ASynopsis\0A--------\0A\0A%s [-hHf:] <newick trees filename|->\0A\0AInput\0A-----\0A\0AArgument is the name of a file that contains Newick trees, or '-' (in\0Awhich case trees are read from standard input).\0A\0AOutput\0A------\0A\0APrints information about the trees in the input, one line per tree.\0ABy default, each line contains the following fields: type, number of\0Aleaves [TODO: add rest here]\0A\0AOptions\0A-------\0A\0A -h: print this message and exit\0A -f [lc]: format in lines (l) or columns (c). Default is c.\0A -H: suppress headers.\0A\0AExamples\0A--------\0A\0A# default statistics:\0A\0A$ %s data/catarrhini.nw\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 ([612 x i8], [612 x i8]* @.str, i64 0, i64 0), i8* %5, i8* %8)
ret void
}

LLVM IR (-O2):
@.str = [612 x i8] c"Prints statistics about trees\0A\0ASynopsis\0A--------\0A\0A%s [-hHf:] <newick trees filename|->\0A\0AInput\0A-----\0A\0AArgument is the name of a file that contains Newick trees, or '-' (in\0Awhich case trees are read from standard input).\0A\0AOutput\0A------\0A\0APrints information about the trees in the input, one line per tree.\0ABy default, each line contains the following fields: type, number of\0Aleaves [TODO: add rest here]\0A\0AOptions\0A-------\0A\0A -h: print this message and exit\0A -f [lc]: format in lines (l) or columns (c). Default is c.\0A -H: suppress headers.\0A\0AExamples\0A--------\0A\0A# default statistics:\0A\0A$ %s data/catarrhini.nw\0A\00"
define void @help(i8** nocapture %0) {
%2 = load i8*, i8** %0
%3 = tail call i32 @printf(i8* getelementptr inbounds ([612 x i8], [612 x i8]* @.str, i64 0, i64 0), i8* %2, i8* %2)
ret void
}