#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(int code) {
  printf("Usage: jlibtool [OPTIONS...] COMMANDS...\n");
  printf("jlibtool is a replacement for GNU libtool with similar "
         "functionality.\n\n");
  printf("  --config	 show all configuration variables\n");
  printf("  --debug	  enable verbose shell tracing\n");
  printf("  --dry-run	display commands without modifying any files\n");
  printf("  --help	   display this help message and exit\n");
  printf("  --mode=MODE	   use operational mode MODE (you *must* set mode)\n");
  printf("  --silent	 don't print informational messages\n");
  printf("  --tag=TAG	Ignored for libtool compatibility\n");
  printf("  --version	print version information\n");
  printf("  --shared	 Build shared libraries when using --mode=link\n");
  printf("  --export-all	   Try to export 'def' file on some "
         "platforms\n");
  printf("\nMODE must be one of the following:\n\n");
  printf("  compile	  compile a source file into a jlibtool object\n");
  printf("  execute	  automatically set library path, then run a "
         "program\n");
  printf("  install	  install libraries or executables\n");
  printf("  link	     create a library or an executable\n");
  printf("\nMODE-ARGS can be the following:\n\n");
  printf("  -export-dynamic  accepted and ignored\n");
  printf("  -module	  create a module when linking\n");
  printf("  -shared	  create a shared library when linking\n");
  printf(
      "  -prefer-pic      prefer position-independent-code when compiling\n");
  printf("  -prefer-non-pic  prefer non position-independent-code when "
         "compiling\n");
  printf("  -static	  create a static library when linking\n");
  printf("  -no-install      link libraries locally\n");
  printf("  -rpath arg	   Set install path for shared libraries\n");
  printf("  -l arg	   pass '-l arg' to the link stage\n");
  printf("  -L arg	   pass '-L arg' to the link stage\n");
  printf("  -R dir	   add 'dir' to runtime library search path.\n");
  printf("  -Zexe	    accepted and ignored\n");
  printf("  -avoid-version   accepted and ignored\n");
  exit(code);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
lea    0xece(%rip),%rdi
call   1030 <printf@plt>
lea    0xeec(%rip),%rdi
call   1030 <printf@plt>
lea    0xf28(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf68(%rip),%rdi
call   1030 <printf@plt>
lea    0xf96(%rip),%rdi
call   1030 <printf@plt>
lea    0xfba(%rip),%rdi
call   1030 <printf@plt>
lea    0xff0(%rip),%rdi
call   1030 <printf@plt>
lea    0x1014(%rip),%rdi
call   1030 <printf@plt>
lea    0x1037(%rip),%rdi
call   1030 <printf@plt>
lea    0x1052(%rip),%rdi
call   1030 <printf@plt>
lea    0x1081(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b3(%rip),%rdi
call   1030 <printf@plt>
lea    0x10cd(%rip),%rdi
call   1030 <printf@plt>
lea    0x10fb(%rip),%rdi
call   1030 <printf@plt>
lea    0x112f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1151(%rip),%rdi
call   1030 <printf@plt>
lea    0x1174(%rip),%rdi
call   1030 <printf@plt>
lea    0x118b(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a8(%rip),%rdi
call   1030 <printf@plt>
lea    0x11c6(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ec(%rip),%rdi
call   1030 <printf@plt>
lea    0x1224(%rip),%rdi
call   1030 <printf@plt>
lea    0x1260(%rip),%rdi
call   1030 <printf@plt>
lea    0x1286(%rip),%rdi
call   1030 <printf@plt>
lea    0x12a5(%rip),%rdi
call   1030 <printf@plt>
lea    0x12d0(%rip),%rdi
call   1030 <printf@plt>
lea    0x12f1(%rip),%rdi
call   1030 <printf@plt>
lea    0x1312(%rip),%rdi
call   1030 <printf@plt>
lea    0x133d(%rip),%rdi
call   1030 <printf@plt>
lea    0x1353(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    %edi,%ebx
lea    0xed6(%rip),%rdi
call   1030 <puts@plt>
lea    0xef3(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf99(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbc(%rip),%rdi
call   1030 <puts@plt>
lea    0xff1(%rip),%rdi
call   1030 <puts@plt>
lea    0x1014(%rip),%rdi
call   1030 <puts@plt>
lea    0x1036(%rip),%rdi
call   1030 <puts@plt>
lea    0x1050(%rip),%rdi
call   1030 <puts@plt>
lea    0x107e(%rip),%rdi
call   1030 <puts@plt>
lea    0x10af(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c8(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f5(%rip),%rdi
call   1030 <puts@plt>
lea    0x1128(%rip),%rdi
call   1030 <puts@plt>
lea    0x1149(%rip),%rdi
call   1030 <puts@plt>
lea    0x116b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1181(%rip),%rdi
call   1030 <puts@plt>
lea    0x119d(%rip),%rdi
call   1030 <puts@plt>
lea    0x11ba(%rip),%rdi
call   1030 <puts@plt>
lea    0x11df(%rip),%rdi
call   1030 <puts@plt>
lea    0x1216(%rip),%rdi
call   1030 <puts@plt>
lea    0x1251(%rip),%rdi
call   1030 <puts@plt>
lea    0x1276(%rip),%rdi
call   1030 <puts@plt>
lea    0x1294(%rip),%rdi
call   1030 <puts@plt>
lea    0x12be(%rip),%rdi
call   1030 <puts@plt>
lea    0x12de(%rip),%rdi
call   1030 <puts@plt>
lea    0x12fe(%rip),%rdi
call   1030 <puts@plt>
lea    0x1328(%rip),%rdi
call   1030 <puts@plt>
lea    0x133d(%rip),%rdi
call   1030 <puts@plt>
mov    %ebx,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [42 x i8] c"Usage: jlibtool [OPTIONS...] COMMANDS...\0A\00"
@.str.1 = [72 x i8] c"jlibtool is a replacement for GNU libtool with similar functionality.\0A\0A\00"
@.str.2 = [46 x i8] c" --config\09 show all configuration variables\0A\00"
@.str.3 = [42 x i8] c" --debug\09 enable verbose shell tracing\0A\00"
@.str.4 = [58 x i8] c" --dry-run\09display commands without modifying any files\0A\00"
@.str.5 = [48 x i8] c" --help\09 display this help message and exit\0A\00"
@.str.6 = [66 x i8] c" --mode=MODE\09 use operational mode MODE (you *must* set mode)\0A\00"
@.str.7 = [48 x i8] c" --silent\09 don't print informational messages\0A\00"
@.str.8 = [47 x i8] c" --tag=TAG\09Ignored for libtool compatibility\0A\00"
@.str.9 = [39 x i8] c" --version\09print version information\0A\00"
@.str.10 = [59 x i8] c" --shared\09 Build shared libraries when using --mode=link\0A\00"
@.str.11 = [62 x i8] c" --export-all\09 Try to export 'def' file on some platforms\0A\00"
@.str.12 = [38 x i8] c"\0AMODE must be one of the following:\0A\0A\00"
@.str.13 = [58 x i8] c" compile\09 compile a source file into a jlibtool object\0A\00"
@.str.14 = [64 x i8] c" execute\09 automatically set library path, then run a program\0A\00"
@.str.15 = [46 x i8] c" install\09 install libraries or executables\0A\00"
@.str.16 = [47 x i8] c" link\09 create a library or an executable\0A\00"
@.str.17 = [35 x i8] c"\0AMODE-ARGS can be the following:\0A\0A\00"
@.str.18 = [41 x i8] c" -export-dynamic accepted and ignored\0A\00"
@.str.19 = [42 x i8] c" -module\09 create a module when linking\0A\00"
@.str.20 = [50 x i8] c" -shared\09 create a shared library when linking\0A\00"
@.str.21 = [68 x i8] c" -prefer-pic prefer position-independent-code when compiling\0A\00"
@.str.22 = [72 x i8] c" -prefer-non-pic prefer non position-independent-code when compiling\0A\00"
@.str.23 = [50 x i8] c" -static\09 create a static library when linking\0A\00"
@.str.24 = [43 x i8] c" -no-install link libraries locally\0A\00"
@.str.25 = [55 x i8] c" -rpath arg\09 Set install path for shared libraries\0A\00"
@.str.26 = [45 x i8] c" -l arg\09 pass '-l arg' to the link stage\0A\00"
@.str.27 = [45 x i8] c" -L arg\09 pass '-L arg' to the link stage\0A\00"
@.str.28 = [55 x i8] c" -R dir\09 add 'dir' to runtime library search path.\0A\00"
@.str.29 = [34 x i8] c" -Zexe\09 accepted and ignored\0A\00"
@.str.30 = [41 x i8] c" -avoid-version accepted and ignored\0A\00"
define void @usage(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.11, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.14, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.15, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.16, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.17, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.18, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.19, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.20, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.21, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.22, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.23, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.24, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.25, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.26, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.27, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.28, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.29, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.30, i64 0, i64 0))
%34 = load i32, i32* %2
%35 = call i32 @exit(i32 %34)
unreachable
}

LLVM IR (-O2):
@str = [41 x i8] c"Usage: jlibtool [OPTIONS...] COMMANDS...\00"
@str.31 = [71 x i8] c"jlibtool is a replacement for GNU libtool with similar functionality.\0A\00"
@str.32 = [45 x i8] c" --config\09 show all configuration variables\00"
@str.33 = [41 x i8] c" --debug\09 enable verbose shell tracing\00"
@str.34 = [57 x i8] c" --dry-run\09display commands without modifying any files\00"
@str.35 = [47 x i8] c" --help\09 display this help message and exit\00"
@str.36 = [65 x i8] c" --mode=MODE\09 use operational mode MODE (you *must* set mode)\00"
@str.37 = [47 x i8] c" --silent\09 don't print informational messages\00"
@str.38 = [46 x i8] c" --tag=TAG\09Ignored for libtool compatibility\00"
@str.39 = [38 x i8] c" --version\09print version information\00"
@str.40 = [58 x i8] c" --shared\09 Build shared libraries when using --mode=link\00"
@str.41 = [61 x i8] c" --export-all\09 Try to export 'def' file on some platforms\00"
@str.42 = [37 x i8] c"\0AMODE must be one of the following:\0A\00"
@str.43 = [57 x i8] c" compile\09 compile a source file into a jlibtool object\00"
@str.44 = [63 x i8] c" execute\09 automatically set library path, then run a program\00"
@str.45 = [45 x i8] c" install\09 install libraries or executables\00"
@str.46 = [46 x i8] c" link\09 create a library or an executable\00"
@str.47 = [34 x i8] c"\0AMODE-ARGS can be the following:\0A\00"
@str.48 = [40 x i8] c" -export-dynamic accepted and ignored\00"
@str.49 = [41 x i8] c" -module\09 create a module when linking\00"
@str.50 = [49 x i8] c" -shared\09 create a shared library when linking\00"
@str.51 = [67 x i8] c" -prefer-pic prefer position-independent-code when compiling\00"
@str.52 = [71 x i8] c" -prefer-non-pic prefer non position-independent-code when compiling\00"
@str.53 = [49 x i8] c" -static\09 create a static library when linking\00"
@str.54 = [42 x i8] c" -no-install link libraries locally\00"
@str.55 = [54 x i8] c" -rpath arg\09 Set install path for shared libraries\00"
@str.56 = [44 x i8] c" -l arg\09 pass '-l arg' to the link stage\00"
@str.57 = [44 x i8] c" -L arg\09 pass '-L arg' to the link stage\00"
@str.58 = [54 x i8] c" -R dir\09 add 'dir' to runtime library search path.\00"
@str.59 = [33 x i8] c" -Zexe\09 accepted and ignored\00"
@str.60 = [40 x i8] c" -avoid-version accepted and ignored\00"
define void @usage(i32 %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.31, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.32, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.33, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.34, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.35, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.36, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.37, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.38, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.39, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.40, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.41, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.42, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.43, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.44, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.45, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.46, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.47, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.48, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.49, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.50, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.51, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.52, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.53, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.54, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.55, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.56, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.57, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.58, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.59, i64 0, i64 0))
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.60, i64 0, i64 0))
%33 = tail call i32 @exit(i32 %0)
unreachable
}