#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);
int /*<<< orphan*/ printf(char *);
void Usage() {
  printf("glob 3.0 - A file globbing utility\n");
  printf("    Algorithm and original implementation by Matthias Wandel "
         "(MWandel@rim.net)\n");
  printf("    New implementation from Ruby, Copyright (C) 1993-2013 Yukihiro "
         "Matsumoto.\n");
  printf("    Extensions by Joshua Jensen (jjensen@workspacewhiz.com)\n");
  printf("\nUsage: glob [OPTIONS] patterns\n");
  printf("   -v         = Verbose directory and file statistics\n");
  printf("   -vv        = Extra verbose directory and file statistics\n");
  printf("   -e pattern = Exclusive pattern.  All ignore patterns are not "
         "used.  Only\n");
  printf("                files matching the exclusive pattern are counted.\n");
  printf(
      "   -i pattern = Ignore patterns of the name [pattern].  Close with a\n");
  printf("                forward slash to ignore a directory.\n\n");
  exit(-1);
}


x86 assembly (clang, -O0):
<Usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
call   1030 <printf@plt>
lea    0xf31(%rip),%rdi
call   1030 <printf@plt>
lea    0xf74(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfba(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1016(%rip),%rdi
call   1030 <printf@plt>
lea    0x1057(%rip),%rdi
call   1030 <printf@plt>
lea    0x108e(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c8(%rip),%rdi
call   1030 <printf@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<Usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xeef(%rip),%rdi
call   1030 <puts@plt>
lea    0xf32(%rip),%rdi
call   1030 <puts@plt>
lea    0xf74(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa4(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe2(%rip),%rdi
call   1030 <puts@plt>
lea    0x1012(%rip),%rdi
call   1030 <puts@plt>
lea    0x1052(%rip),%rdi
call   1030 <puts@plt>
lea    0x1088(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c1(%rip),%rdi
call   1030 <puts@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [36 x i8] c"glob 3.0 - A file globbing utility\0A\00"
@.str.1 = [80 x i8] c" Algorithm and original implementation by Matthias Wandel (MWandel@rim.net)\0A\00"
@.str.2 = [79 x i8] c" New implementation from Ruby, Copyright (C) 1993-2013 Yukihiro Matsumoto.\0A\00"
@.str.3 = [61 x i8] c" Extensions by Joshua Jensen (jjensen@workspacewhiz.com)\0A\00"
@.str.4 = [33 x i8] c"\0AUsage: glob [OPTIONS] patterns\0A\00"
@.str.5 = [55 x i8] c" -v = Verbose directory and file statistics\0A\00"
@.str.6 = [61 x i8] c" -vv = Extra verbose directory and file statistics\0A\00"
@.str.7 = [77 x i8] c" -e pattern = Exclusive pattern. All ignore patterns are not used. Only\0A\00"
@.str.8 = [67 x i8] c" files matching the exclusive pattern are counted.\0A\00"
@.str.9 = [70 x i8] c" -i pattern = Ignore patterns of the name [pattern]. Close with a\0A\00"
@.str.10 = [55 x i8] c" forward slash to ignore a directory.\0A\0A\00"
define void @Usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @exit(i32 -1)
unreachable
}

LLVM IR (-O2):
@str = [35 x i8] c"glob 3.0 - A file globbing utility\00"
@str.11 = [79 x i8] c" Algorithm and original implementation by Matthias Wandel (MWandel@rim.net)\00"
@str.12 = [78 x i8] c" New implementation from Ruby, Copyright (C) 1993-2013 Yukihiro Matsumoto.\00"
@str.13 = [60 x i8] c" Extensions by Joshua Jensen (jjensen@workspacewhiz.com)\00"
@str.14 = [32 x i8] c"\0AUsage: glob [OPTIONS] patterns\00"
@str.15 = [54 x i8] c" -v = Verbose directory and file statistics\00"
@str.16 = [60 x i8] c" -vv = Extra verbose directory and file statistics\00"
@str.17 = [76 x i8] c" -e pattern = Exclusive pattern. All ignore patterns are not used. Only\00"
@str.18 = [66 x i8] c" files matching the exclusive pattern are counted.\00"
@str.19 = [69 x i8] c" -i pattern = Ignore patterns of the name [pattern]. Close with a\00"
@str.20 = [54 x i8] c" forward slash to ignore a directory.\0A\00"
define void @Usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.11, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.13, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.20, i64 0, i64 0))
%12 = tail call i32 @exit(i32 -1)
unreachable
}