#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    0xf54(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7c(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe2(%rip),%rdi
call   1030 <printf@plt>
lea    0x101d(%rip),%rdi
call   1030 <printf@plt>
lea    0x104b(%rip),%rdi
call   1030 <printf@plt>
lea    0x1078(%rip),%rdi
call   1030 <printf@plt>
lea    0x109d(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d6(%rip),%rdi
call   1030 <printf@plt>
lea    0x110c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1126(%rip),%rdi
call   1030 <printf@plt>
lea    0x115e(%rip),%rdi
call   1030 <printf@plt>
lea    0x119c(%rip),%rdi
call   1030 <printf@plt>
lea    0x11c8(%rip),%rdi
call   1030 <printf@plt>
lea    0x11f5(%rip),%rdi
call   1030 <printf@plt>
lea    0x120c(%rip),%rdi
call   1030 <printf@plt>
lea    0x122d(%rip),%rdi
call   1030 <printf@plt>
lea    0x1256(%rip),%rdi
call   1030 <printf@plt>
lea    0x1287(%rip),%rdi
call   1030 <printf@plt>
lea    0x12c3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1303(%rip),%rdi
call   1030 <printf@plt>
lea    0x1334(%rip),%rdi
call   1030 <printf@plt>
lea    0x1357(%rip),%rdi
call   1030 <printf@plt>
lea    0x1389(%rip),%rdi
call   1030 <printf@plt>
lea    0x13b5(%rip),%rdi
call   1030 <printf@plt>
lea    0x13e1(%rip),%rdi
call   1030 <printf@plt>
lea    0x1417(%rip),%rdi
call   1030 <printf@plt>
lea    0x1438(%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    0xf59(%rip),%rdi
call   1030 <puts@plt>
lea    0xf80(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe4(%rip),%rdi
call   1030 <puts@plt>
lea    0x101e(%rip),%rdi
call   1030 <puts@plt>
lea    0x104b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1077(%rip),%rdi
call   1030 <puts@plt>
lea    0x109b(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1108(%rip),%rdi
call   1030 <puts@plt>
lea    0x1121(%rip),%rdi
call   1030 <puts@plt>
lea    0x1158(%rip),%rdi
call   1030 <puts@plt>
lea    0x1195(%rip),%rdi
call   1030 <puts@plt>
lea    0x11c0(%rip),%rdi
call   1030 <puts@plt>
lea    0x11ec(%rip),%rdi
call   1030 <puts@plt>
lea    0x1202(%rip),%rdi
call   1030 <puts@plt>
lea    0x1222(%rip),%rdi
call   1030 <puts@plt>
lea    0x124a(%rip),%rdi
call   1030 <puts@plt>
lea    0x127a(%rip),%rdi
call   1030 <puts@plt>
lea    0x12b5(%rip),%rdi
call   1030 <puts@plt>
lea    0x12f4(%rip),%rdi
call   1030 <puts@plt>
lea    0x1324(%rip),%rdi
call   1030 <puts@plt>
lea    0x1346(%rip),%rdi
call   1030 <puts@plt>
lea    0x1377(%rip),%rdi
call   1030 <puts@plt>
lea    0x13a2(%rip),%rdi
call   1030 <puts@plt>
lea    0x13cd(%rip),%rdi
call   1030 <puts@plt>
lea    0x1402(%rip),%rdi
call   1030 <puts@plt>
lea    0x1422(%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 = [56 x i8] c" --config show all configuration variables\0A\00"
@.str.3 = [52 x i8] c" --debug enable verbose shell tracing\0A\00"
@.str.4 = [68 x i8] c" --dry-run display commands without modifying any files\0A\00"
@.str.5 = [58 x i8] c" --help display this help message and exit\0A\00"
@.str.6 = [71 x i8] c" --mode=MODE use operational mode MODE (you *must* set mode)\0A\00"
@.str.7 = [58 x i8] c" --silent don't print informational messages\0A\00"
@.str.8 = [57 x i8] c" --tag=TAG Ignored for libtool compatibility\0A\00"
@.str.9 = [49 x i8] c" --version print version information\0A\00"
@.str.10 = [69 x i8] c" --shared Build shared libraries when using --mode=link\0A\00"
@.str.11 = [66 x i8] c" --export-all 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 = [68 x i8] c" compile compile a source file into a jlibtool object\0A\00"
@.str.14 = [74 x i8] c" execute automatically set library path, then run a program\0A\00"
@.str.15 = [56 x i8] c" install install libraries or executables\0A\00"
@.str.16 = [57 x i8] c" link 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 = [45 x i8] c" -export-dynamic accepted and ignored\0A\00"
@.str.19 = [53 x i8] c" -module create a module when linking\0A\00"
@.str.20 = [61 x i8] c" -shared create a shared library when linking\0A\00"
@.str.21 = [72 x i8] c" -prefer-pic prefer position-independent-code when compiling\0A\00"
@.str.22 = [76 x i8] c" -prefer-non-pic prefer non position-independent-code when compiling\0A\00"
@.str.23 = [61 x i8] c" -static create a static library when linking\0A\00"
@.str.24 = [47 x i8] c" -no-install link libraries locally\0A\00"
@.str.25 = [62 x i8] c" -rpath arg Set install path for shared libraries\0A\00"
@.str.26 = [56 x i8] c" -l arg pass '-l arg' to the link stage\0A\00"
@.str.27 = [56 x i8] c" -L arg pass '-L arg' to the link stage\0A\00"
@.str.28 = [66 x i8] c" -R dir add 'dir' to runtime library search path.\0A\00"
@.str.29 = [45 x i8] c" -Zexe accepted and ignored\0A\00"
@.str.30 = [45 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 ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 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 ([68 x i8], [68 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.14, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.15, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 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 ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.19, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.20, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.21, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.22, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.23, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.24, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.25, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.26, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.27, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.28, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.29, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 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 = [55 x i8] c" --config show all configuration variables\00"
@str.33 = [51 x i8] c" --debug enable verbose shell tracing\00"
@str.34 = [67 x i8] c" --dry-run display commands without modifying any files\00"
@str.35 = [57 x i8] c" --help display this help message and exit\00"
@str.36 = [70 x i8] c" --mode=MODE use operational mode MODE (you *must* set mode)\00"
@str.37 = [57 x i8] c" --silent don't print informational messages\00"
@str.38 = [56 x i8] c" --tag=TAG Ignored for libtool compatibility\00"
@str.39 = [48 x i8] c" --version print version information\00"
@str.40 = [68 x i8] c" --shared Build shared libraries when using --mode=link\00"
@str.41 = [65 x i8] c" --export-all 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 = [67 x i8] c" compile compile a source file into a jlibtool object\00"
@str.44 = [73 x i8] c" execute automatically set library path, then run a program\00"
@str.45 = [55 x i8] c" install install libraries or executables\00"
@str.46 = [56 x i8] c" link create a library or an executable\00"
@str.47 = [34 x i8] c"\0AMODE-ARGS can be the following:\0A\00"
@str.48 = [44 x i8] c" -export-dynamic accepted and ignored\00"
@str.49 = [52 x i8] c" -module create a module when linking\00"
@str.50 = [60 x i8] c" -shared create a shared library when linking\00"
@str.51 = [71 x i8] c" -prefer-pic prefer position-independent-code when compiling\00"
@str.52 = [75 x i8] c" -prefer-non-pic prefer non position-independent-code when compiling\00"
@str.53 = [60 x i8] c" -static create a static library when linking\00"
@str.54 = [46 x i8] c" -no-install link libraries locally\00"
@str.55 = [61 x i8] c" -rpath arg Set install path for shared libraries\00"
@str.56 = [55 x i8] c" -l arg pass '-l arg' to the link stage\00"
@str.57 = [55 x i8] c" -L arg pass '-L arg' to the link stage\00"
@str.58 = [65 x i8] c" -R dir add 'dir' to runtime library search path.\00"
@str.59 = [44 x i8] c" -Zexe accepted and ignored\00"
@str.60 = [44 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 ([55 x i8], [55 x i8]* @str.32, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.33, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.34, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.35, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.36, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.37, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.38, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.39, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.40, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 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 ([67 x i8], [67 x i8]* @str.43, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.44, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.45, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 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 ([44 x i8], [44 x i8]* @str.48, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.49, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.50, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.51, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.52, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.53, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.54, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.55, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.56, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.57, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.58, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.59, i64 0, i64 0))
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.60, i64 0, i64 0))
%33 = tail call i32 @exit(i32 %0)
unreachable
}