#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void usage(int n) {
  switch (n) {
  case 1:
    fprintf(stderr, "usage: tree [-adfghilnpqrstuvxACDFNS] [-H baseHREF] [-T "
                    "title ] [-L level [-R]]\n\t[-P pattern] [-I pattern] [-o "
                    "filename] [--version] [--help] [--inodes]\n\t[--device] "
                    "[--noreport] [--nolinks] [--dirsfirst] [--charset "
                    "charset]\n\t[--filelimit #] [<directory list>]\n");
    break;
  case 2:
    fprintf(stderr, "usage: tree [-adfghilnpqrstuvxACDFNS] [-H baseHREF] [-T "
                    "title ] [-L level [-R]]\n\t[-P pattern] [-I pattern] [-o "
                    "filename] [--version] [--help] [--inodes]\n\t[--device] "
                    "[--noreport] [--nolinks] [--dirsfirst] [--charset "
                    "charset]\n\t[--filelimit #] [<directory list>]\n");
    fprintf(stderr, "  -a            All files are listed.\n");
    fprintf(stderr, "  -d            List directories only.\n");
    fprintf(stderr,
            "  -l            Follow symbolic links like directories.\n");
    fprintf(stderr,
            "  -f            Print the full path prefix for each file.\n");
    fprintf(stderr, "  -i            Don't print indentation lines.\n");
    fprintf(stderr, "  -q            Print non-printable characters as '?'.\n");
    fprintf(stderr, "  -N            Print non-printable characters as is.\n");
    fprintf(stderr, "  -p            Print the protections for each file.\n");
    fprintf(stderr, "  -u            Displays file owner or UID number.\n");
    fprintf(stderr,
            "  -g            Displays file group owner or GID number.\n");
    fprintf(stderr, "  -s            Print the size in bytes of each file.\n");
    fprintf(stderr,
            "  -h            Print the size in a more human readable way.\n");
    fprintf(stderr, "  -D            Print the date of last modification.\n");
    fprintf(stderr,
            "  -F            Appends '/', '=', '*', or '|' as per ls -F.\n");
    fprintf(stderr,
            "  -v            Sort files alphanumerically by version.\n");
    fprintf(stderr,
            "  -r            Sort files in reverse alphanumeric order.\n");
    fprintf(stderr, "  -t            Sort files by last modification time.\n");
    fprintf(stderr, "  -x            Stay on current filesystem only.\n");
    fprintf(stderr, "  -L level      Descend only level directories deep.\n");
    fprintf(stderr,
            "  -A            Print ANSI lines graphic indentation lines.\n");
    fprintf(stderr,
            "  -S            Print with ASCII graphics indentation lines.\n");
    fprintf(stderr,
            "  -n            Turn colorization off always (-C overrides).\n");
    fprintf(stderr, "  -C            Turn colorization on always.\n");
    fprintf(stderr, "  -P pattern    List only those files that match the "
                    "pattern given.\n");
    fprintf(
        stderr,
        "  -I pattern    Do not list files that match the given pattern.\n");
    fprintf(stderr, "  -H baseHREF   Prints out HTML format with baseHREF as "
                    "top directory.\n");
    fprintf(stderr, "  -T string     Replace the default HTML title and H1 "
                    "header with string.\n");
    fprintf(stderr, "  -R            Rerun tree when max dir level reached.\n");
    fprintf(stderr, "  -o file       Output to file instead of stdout.\n");
    fprintf(stderr, "  --inodes      Print inode number of each file.\n");
    fprintf(
        stderr,
        "  --device      Print device ID number to which each file belongs.\n");
    fprintf(stderr, "  --noreport    Turn off file/directory count at end of "
                    "tree listing.\n");
    fprintf(stderr, "  --nolinks     Turn off hyperlinks in HTML output.\n");
    fprintf(stderr, "  --dirsfirst   List directories before files.\n");
    fprintf(stderr, "  --charset X   Use charset X for HTML and indentation "
                    "line output.\n");
    fprintf(stderr, "  --filelimit # Do not descend dirs with more than # "
                    "files in them.\n");
  }
  exit(0);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x8(%rbp)
sub    $0x1,%eax
je     1150 <usage+0x30>
jmp    113f <usage+0x1f>
mov    -0x8(%rbp),%eax
sub    $0x2,%eax
je     116a <usage+0x4a>
jmp    1473 <usage+0x353>
mov    0x2e89(%rip),%rax
mov    (%rax),%edi
lea    0xea0(%rip),%rsi
call   1030 <fprintf@plt>
jmp    1473 <usage+0x353>
mov    0x2e6f(%rip),%rax
mov    (%rax),%edi
lea    0xe86(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e5a(%rip),%rax
mov    (%rax),%edi
lea    0xf76(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e45(%rip),%rax
mov    (%rax),%edi
lea    0xf88(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e30(%rip),%rax
mov    (%rax),%edi
lea    0xf9b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e1b(%rip),%rax
mov    (%rax),%edi
lea    0xfbf(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e06(%rip),%rax
mov    (%rax),%edi
lea    0xfe5(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2df1(%rip),%rax
mov    (%rax),%edi
lea    0x1000(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ddc(%rip),%rax
mov    (%rax),%edi
lea    0x1023(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dc7(%rip),%rax
mov    (%rax),%edi
lea    0x1045(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2db2(%rip),%rax
mov    (%rax),%edi
lea    0x1066(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d9d(%rip),%rax
mov    (%rax),%edi
lea    0x1085(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d88(%rip),%rax
mov    (%rax),%edi
lea    0x10aa(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d73(%rip),%rax
mov    (%rax),%edi
lea    0x10cc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d5e(%rip),%rax
mov    (%rax),%edi
lea    0x10f5(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d49(%rip),%rax
mov    (%rax),%edi
lea    0x1116(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d34(%rip),%rax
mov    (%rax),%edi
lea    0x113e(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d1f(%rip),%rax
mov    (%rax),%edi
lea    0x1162(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d0a(%rip),%rax
mov    (%rax),%edi
lea    0x1188(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2cf5(%rip),%rax
mov    (%rax),%edi
lea    0x11aa(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ce0(%rip),%rax
mov    (%rax),%edi
lea    0x11c7(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ccb(%rip),%rax
mov    (%rax),%edi
lea    0x11e8(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2cb6(%rip),%rax
mov    (%rax),%edi
lea    0x1210(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ca1(%rip),%rax
mov    (%rax),%edi
lea    0x1239(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c8c(%rip),%rax
mov    (%rax),%edi
lea    0x1262(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c77(%rip),%rax
mov    (%rax),%edi
lea    0x127b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c62(%rip),%rax
mov    (%rax),%edi
lea    0x12ab(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c4d(%rip),%rax
mov    (%rax),%edi
lea    0x12d7(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c38(%rip),%rax
mov    (%rax),%edi
lea    0x130a(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c23(%rip),%rax
mov    (%rax),%edi
lea    0x1340(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2c0e(%rip),%rax
mov    (%rax),%edi
lea    0x1363(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2bf9(%rip),%rax
mov    (%rax),%edi
lea    0x1381(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2be4(%rip),%rax
mov    (%rax),%edi
lea    0x139e(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2bcf(%rip),%rax
mov    (%rax),%edi
lea    0x13cd(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2bba(%rip),%rax
mov    (%rax),%edi
lea    0x13ff(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ba5(%rip),%rax
mov    (%rax),%edi
lea    0x141f(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2b90(%rip),%rax
mov    (%rax),%edi
lea    0x143a(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2b7b(%rip),%rax
mov    (%rax),%edi
lea    0x146a(%rip),%rsi
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
cmp    $0x1,%edi
je     133b <usage+0x21b>
cmp    $0x2,%edi
jne    1350 <usage+0x230>
mov    0x2ea6(%rip),%rbx
mov    (%rbx),%edi
lea    0xebd(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfb4(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfcd(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfe7(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1012(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x103f(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1061(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x108b(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10b4(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10dc(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1102(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x112e(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1157(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1187(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11af(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11de(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1209(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1236(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x125f(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1283(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x12ab(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x12da(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x130a(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x133a(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x135a(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1391(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x13c4(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x13fe(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x143b(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1465(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x148a(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x14ae(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x14e4(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x151d(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1544(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1566(%rip),%rsi
call   1030 <fprintf@plt>
lea    0x159f(%rip),%rsi
jmp    1342 <usage+0x222>
lea    0xcbe(%rip),%rsi
mov    0x2c97(%rip),%rax
mov    (%rax),%edi
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [261 x i8] c"usage: tree [-adfghilnpqrstuvxACDFNS] [-H baseHREF] [-T title ] [-L level [-R]]\0A\09[-P pattern] [-I pattern] [-o filename] [--version] [--help] [--inodes]\0A\09[--device] [--noreport] [--nolinks] [--dirsfirst] [--charset charset]\0A\09[--filelimit #] [<directory list>]\0A\00"
@.str.1 = [39 x i8] c" -a All files are listed.\0A\00"
@.str.2 = [40 x i8] c" -d List directories only.\0A\00"
@.str.3 = [57 x i8] c" -l Follow symbolic links like directories.\0A\00"
@.str.4 = [59 x i8] c" -f Print the full path prefix for each file.\0A\00"
@.str.5 = [48 x i8] c" -i Don't print indentation lines.\0A\00"
@.str.6 = [56 x i8] c" -q Print non-printable characters as '?'.\0A\00"
@.str.7 = [55 x i8] c" -N Print non-printable characters as is.\0A\00"
@.str.8 = [54 x i8] c" -p Print the protections for each file.\0A\00"
@.str.9 = [52 x i8] c" -u Displays file owner or UID number.\0A\00"
@.str.10 = [58 x i8] c" -g Displays file group owner or GID number.\0A\00"
@.str.11 = [55 x i8] c" -s Print the size in bytes of each file.\0A\00"
@.str.12 = [62 x i8] c" -h Print the size in a more human readable way.\0A\00"
@.str.13 = [54 x i8] c" -D Print the date of last modification.\0A\00"
@.str.14 = [61 x i8] c" -F Appends '/', '=', '*', or '|' as per ls -F.\0A\00"
@.str.15 = [57 x i8] c" -v Sort files alphanumerically by version.\0A\00"
@.str.16 = [59 x i8] c" -r Sort files in reverse alphanumeric order.\0A\00"
@.str.17 = [55 x i8] c" -t Sort files by last modification time.\0A\00"
@.str.18 = [50 x i8] c" -x Stay on current filesystem only.\0A\00"
@.str.19 = [54 x i8] c" -L level Descend only level directories deep.\0A\00"
@.str.20 = [61 x i8] c" -A Print ANSI lines graphic indentation lines.\0A\00"
@.str.21 = [62 x i8] c" -S Print with ASCII graphics indentation lines.\0A\00"
@.str.22 = [62 x i8] c" -n Turn colorization off always (-C overrides).\0A\00"
@.str.23 = [46 x i8] c" -C Turn colorization on always.\0A\00"
@.str.24 = [69 x i8] c" -P pattern List only those files that match the pattern given.\0A\00"
@.str.25 = [65 x i8] c" -I pattern Do not list files that match the given pattern.\0A\00"
@.str.26 = [72 x i8] c" -H baseHREF Prints out HTML format with baseHREF as top directory.\0A\00"
@.str.27 = [75 x i8] c" -T string Replace the default HTML title and H1 header with string.\0A\00"
@.str.28 = [56 x i8] c" -R Rerun tree when max dir level reached.\0A\00"
@.str.29 = [51 x i8] c" -o file Output to file instead of stdout.\0A\00"
@.str.30 = [50 x i8] c" --inodes Print inode number of each file.\0A\00"
@.str.31 = [68 x i8] c" --device Print device ID number to which each file belongs.\0A\00"
@.str.32 = [71 x i8] c" --noreport Turn off file/directory count at end of tree listing.\0A\00"
@.str.33 = [53 x i8] c" --nolinks Turn off hyperlinks in HTML output.\0A\00"
@.str.34 = [48 x i8] c" --dirsfirst List directories before files.\0A\00"
@.str.35 = [69 x i8] c" --charset X Use charset X for HTML and indentation line output.\0A\00"
@.str.36 = [69 x i8] c" --filelimit # Do not descend dirs with more than # files in them.\0A\00"
define void @usage(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
switch i32 %3, label %82 [
i32 1, label %4
i32 2, label %7
]
4: ; preds = %1
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([261 x i8], [261 x i8]* @.str, i64 0, i64 0))
br label %82
7: ; preds = %1
%8 = load i32, i32* @stderr
%9 = call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([261 x i8], [261 x i8]* @.str, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = call i32 @fprintf(i32 %12, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.3, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.6, i64 0, i64 0))
%22 = load i32, i32* @stderr
%23 = call i32 @fprintf(i32 %22, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0))
%24 = load i32, i32* @stderr
%25 = call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = call i32 @fprintf(i32 %26, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i64 0, i64 0))
%28 = load i32, i32* @stderr
%29 = call i32 @fprintf(i32 %28, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.10, i64 0, i64 0))
%30 = load i32, i32* @stderr
%31 = call i32 @fprintf(i32 %30, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.11, i64 0, i64 0))
%32 = load i32, i32* @stderr
%33 = call i32 @fprintf(i32 %32, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%34 = load i32, i32* @stderr
%35 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.13, i64 0, i64 0))
%36 = load i32, i32* @stderr
%37 = call i32 @fprintf(i32 %36, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.14, i64 0, i64 0))
%38 = load i32, i32* @stderr
%39 = call i32 @fprintf(i32 %38, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.15, i64 0, i64 0))
%40 = load i32, i32* @stderr
%41 = call i32 @fprintf(i32 %40, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.16, i64 0, i64 0))
%42 = load i32, i32* @stderr
%43 = call i32 @fprintf(i32 %42, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.17, i64 0, i64 0))
%44 = load i32, i32* @stderr
%45 = call i32 @fprintf(i32 %44, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.18, i64 0, i64 0))
%46 = load i32, i32* @stderr
%47 = call i32 @fprintf(i32 %46, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.19, i64 0, i64 0))
%48 = load i32, i32* @stderr
%49 = call i32 @fprintf(i32 %48, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.20, i64 0, i64 0))
%50 = load i32, i32* @stderr
%51 = call i32 @fprintf(i32 %50, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.21, i64 0, i64 0))
%52 = load i32, i32* @stderr
%53 = call i32 @fprintf(i32 %52, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.22, i64 0, i64 0))
%54 = load i32, i32* @stderr
%55 = call i32 @fprintf(i32 %54, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.23, i64 0, i64 0))
%56 = load i32, i32* @stderr
%57 = call i32 @fprintf(i32 %56, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.24, i64 0, i64 0))
%58 = load i32, i32* @stderr
%59 = call i32 @fprintf(i32 %58, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.25, i64 0, i64 0))
%60 = load i32, i32* @stderr
%61 = call i32 @fprintf(i32 %60, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.26, i64 0, i64 0))
%62 = load i32, i32* @stderr
%63 = call i32 @fprintf(i32 %62, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.27, i64 0, i64 0))
%64 = load i32, i32* @stderr
%65 = call i32 @fprintf(i32 %64, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.28, i64 0, i64 0))
%66 = load i32, i32* @stderr
%67 = call i32 @fprintf(i32 %66, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.29, i64 0, i64 0))
%68 = load i32, i32* @stderr
%69 = call i32 @fprintf(i32 %68, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.30, i64 0, i64 0))
%70 = load i32, i32* @stderr
%71 = call i32 @fprintf(i32 %70, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.31, i64 0, i64 0))
%72 = load i32, i32* @stderr
%73 = call i32 @fprintf(i32 %72, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.32, i64 0, i64 0))
%74 = load i32, i32* @stderr
%75 = call i32 @fprintf(i32 %74, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.33, i64 0, i64 0))
%76 = load i32, i32* @stderr
%77 = call i32 @fprintf(i32 %76, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.34, i64 0, i64 0))
%78 = load i32, i32* @stderr
%79 = call i32 @fprintf(i32 %78, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.35, i64 0, i64 0))
%80 = load i32, i32* @stderr
%81 = call i32 @fprintf(i32 %80, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.36, i64 0, i64 0))
br label %82
82: ; preds = %7, %1, %4
%83 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [261 x i8] c"usage: tree [-adfghilnpqrstuvxACDFNS] [-H baseHREF] [-T title ] [-L level [-R]]\0A\09[-P pattern] [-I pattern] [-o filename] [--version] [--help] [--inodes]\0A\09[--device] [--noreport] [--nolinks] [--dirsfirst] [--charset charset]\0A\09[--filelimit #] [<directory list>]\0A\00"
@.str.1 = [39 x i8] c" -a All files are listed.\0A\00"
@.str.2 = [40 x i8] c" -d List directories only.\0A\00"
@.str.3 = [57 x i8] c" -l Follow symbolic links like directories.\0A\00"
@.str.4 = [59 x i8] c" -f Print the full path prefix for each file.\0A\00"
@.str.5 = [48 x i8] c" -i Don't print indentation lines.\0A\00"
@.str.6 = [56 x i8] c" -q Print non-printable characters as '?'.\0A\00"
@.str.7 = [55 x i8] c" -N Print non-printable characters as is.\0A\00"
@.str.8 = [54 x i8] c" -p Print the protections for each file.\0A\00"
@.str.9 = [52 x i8] c" -u Displays file owner or UID number.\0A\00"
@.str.10 = [58 x i8] c" -g Displays file group owner or GID number.\0A\00"
@.str.11 = [55 x i8] c" -s Print the size in bytes of each file.\0A\00"
@.str.12 = [62 x i8] c" -h Print the size in a more human readable way.\0A\00"
@.str.13 = [54 x i8] c" -D Print the date of last modification.\0A\00"
@.str.14 = [61 x i8] c" -F Appends '/', '=', '*', or '|' as per ls -F.\0A\00"
@.str.15 = [57 x i8] c" -v Sort files alphanumerically by version.\0A\00"
@.str.16 = [59 x i8] c" -r Sort files in reverse alphanumeric order.\0A\00"
@.str.17 = [55 x i8] c" -t Sort files by last modification time.\0A\00"
@.str.18 = [50 x i8] c" -x Stay on current filesystem only.\0A\00"
@.str.19 = [54 x i8] c" -L level Descend only level directories deep.\0A\00"
@.str.20 = [61 x i8] c" -A Print ANSI lines graphic indentation lines.\0A\00"
@.str.21 = [62 x i8] c" -S Print with ASCII graphics indentation lines.\0A\00"
@.str.22 = [62 x i8] c" -n Turn colorization off always (-C overrides).\0A\00"
@.str.23 = [46 x i8] c" -C Turn colorization on always.\0A\00"
@.str.24 = [69 x i8] c" -P pattern List only those files that match the pattern given.\0A\00"
@.str.25 = [65 x i8] c" -I pattern Do not list files that match the given pattern.\0A\00"
@.str.26 = [72 x i8] c" -H baseHREF Prints out HTML format with baseHREF as top directory.\0A\00"
@.str.27 = [75 x i8] c" -T string Replace the default HTML title and H1 header with string.\0A\00"
@.str.28 = [56 x i8] c" -R Rerun tree when max dir level reached.\0A\00"
@.str.29 = [51 x i8] c" -o file Output to file instead of stdout.\0A\00"
@.str.30 = [50 x i8] c" --inodes Print inode number of each file.\0A\00"
@.str.31 = [68 x i8] c" --device Print device ID number to which each file belongs.\0A\00"
@.str.32 = [71 x i8] c" --noreport Turn off file/directory count at end of tree listing.\0A\00"
@.str.33 = [53 x i8] c" --nolinks Turn off hyperlinks in HTML output.\0A\00"
@.str.34 = [48 x i8] c" --dirsfirst List directories before files.\0A\00"
@.str.35 = [69 x i8] c" --charset X Use charset X for HTML and indentation line output.\0A\00"
@.str.36 = [69 x i8] c" --filelimit # Do not descend dirs with more than # files in them.\0A\00"
define void @usage(i32 %0) {
switch i32 %0, label %79 [
i32 1, label %75
i32 2, label %2
]
2: ; preds = %1
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([261 x i8], [261 x i8]* @.str, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.6, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = tail call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = tail call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = tail call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = tail call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.10, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = tail call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.11, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = tail call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = tail call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.13, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = tail call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.14, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = tail call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.15, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = tail call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.16, i64 0, i64 0))
%37 = load i32, i32* @stderr
%38 = tail call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.17, i64 0, i64 0))
%39 = load i32, i32* @stderr
%40 = tail call i32 @fprintf(i32 %39, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.18, i64 0, i64 0))
%41 = load i32, i32* @stderr
%42 = tail call i32 @fprintf(i32 %41, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.19, i64 0, i64 0))
%43 = load i32, i32* @stderr
%44 = tail call i32 @fprintf(i32 %43, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.20, i64 0, i64 0))
%45 = load i32, i32* @stderr
%46 = tail call i32 @fprintf(i32 %45, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.21, i64 0, i64 0))
%47 = load i32, i32* @stderr
%48 = tail call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.22, i64 0, i64 0))
%49 = load i32, i32* @stderr
%50 = tail call i32 @fprintf(i32 %49, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.23, i64 0, i64 0))
%51 = load i32, i32* @stderr
%52 = tail call i32 @fprintf(i32 %51, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.24, i64 0, i64 0))
%53 = load i32, i32* @stderr
%54 = tail call i32 @fprintf(i32 %53, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.25, i64 0, i64 0))
%55 = load i32, i32* @stderr
%56 = tail call i32 @fprintf(i32 %55, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.26, i64 0, i64 0))
%57 = load i32, i32* @stderr
%58 = tail call i32 @fprintf(i32 %57, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.27, i64 0, i64 0))
%59 = load i32, i32* @stderr
%60 = tail call i32 @fprintf(i32 %59, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.28, i64 0, i64 0))
%61 = load i32, i32* @stderr
%62 = tail call i32 @fprintf(i32 %61, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.29, i64 0, i64 0))
%63 = load i32, i32* @stderr
%64 = tail call i32 @fprintf(i32 %63, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.30, i64 0, i64 0))
%65 = load i32, i32* @stderr
%66 = tail call i32 @fprintf(i32 %65, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.31, i64 0, i64 0))
%67 = load i32, i32* @stderr
%68 = tail call i32 @fprintf(i32 %67, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.32, i64 0, i64 0))
%69 = load i32, i32* @stderr
%70 = tail call i32 @fprintf(i32 %69, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.33, i64 0, i64 0))
%71 = load i32, i32* @stderr
%72 = tail call i32 @fprintf(i32 %71, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.34, i64 0, i64 0))
%73 = load i32, i32* @stderr
%74 = tail call i32 @fprintf(i32 %73, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.35, i64 0, i64 0))
br label %75
75: ; preds = %1, %2
%76 = phi i8* [ getelementptr inbounds ([69 x i8], [69 x i8]* @.str.36, i64 0, i64 0), %2 ], [ getelementptr inbounds ([261 x i8], [261 x i8]* @.str, i64 0, i64 0), %1 ]
%77 = load i32, i32* @stderr
%78 = tail call i32 @fprintf(i32 %77, i8* %76)
br label %79
79: ; preds = %75, %1
%80 = tail call i32 @exit(i32 0)
unreachable
}