#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*/ cleanUpAndExit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void usage(int exitcode) {
  fprintf(stderr, "Usage: ng class [--nailgun-options] [args]\n");
  fprintf(stderr, "          (to execute a class)\n");
  fprintf(stderr, "   or: ng alias [--nailgun-options] [args]\n");
  fprintf(stderr, "          (to execute an aliased class)\n");
  fprintf(stderr, "   or: alias [--nailgun-options] [args]\n");
  fprintf(stderr, "          (to execute an aliased class, where \"alias\"\n");
  fprintf(stderr,
          "           is both the alias for the class and a symbolic\n");
  fprintf(stderr, "           link to the ng client)\n\n");
  fprintf(stderr, "where options include:\n");
  fprintf(stderr, "   --nailgun-D<name>=<value>   set/override a client "
                  "environment variable\n");
  fprintf(stderr,
          "   --nailgun-version           print product version and exit\n");
  fprintf(
      stderr,
      "   --nailgun-showversion       print product version and continue\n");
  fprintf(stderr, "   --nailgun-server            to specify the address of "
                  "the nailgun server\n");
  fprintf(stderr, "                               (default is localhost)\n");
  fprintf(stderr, "   --nailgun-port              to specify the port of the "
                  "nailgun server\n");
  fprintf(stderr, "                               (default is 2113)\n");
  fprintf(stderr,
          "   --nailgun-help              print this message and exit\n");
  cleanUpAndExit(exitcode);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    0x2eae(%rip),%rax
mov    (%rax),%edi
lea    0xec5(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e99(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e84(%rip),%rax
mov    (%rax),%edi
lea    0xee7(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e6f(%rip),%rax
mov    (%rax),%edi
lea    0xefe(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e5a(%rip),%rax
mov    (%rax),%edi
lea    0xf12(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e45(%rip),%rax
mov    (%rax),%edi
lea    0xf26(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e30(%rip),%rax
mov    (%rax),%edi
lea    0xf48(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e1b(%rip),%rax
mov    (%rax),%edi
lea    0xf6e(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2e06(%rip),%rax
mov    (%rax),%edi
lea    0xf7d(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2df1(%rip),%rax
mov    (%rax),%edi
lea    0xf80(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2ddc(%rip),%rax
mov    (%rax),%edi
lea    0xfb6(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2dc7(%rip),%rax
mov    (%rax),%edi
lea    0xfe0(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2db2(%rip),%rax
mov    (%rax),%edi
lea    0x100e(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2d9d(%rip),%rax
mov    (%rax),%edi
lea    0x1046(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2d88(%rip),%rax
mov    (%rax),%edi
lea    0x1068(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2d73(%rip),%rax
mov    (%rax),%edi
lea    0x109d(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2d5e(%rip),%rax
mov    (%rax),%edi
lea    0x10ba(%rip),%rsi
call   1040 <fprintf@plt>
mov    -0x4(%rbp),%edi
call   1030 <cleanUpAndExit@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rbp
push   %rbx
push   %rax
mov    %edi,%ebp
mov    0x2eb4(%rip),%rbx
mov    (%rbx),%edi
lea    0xecb(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee9(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xefb(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf19(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf34(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf4f(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf78(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa5(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfbb(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfc5(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1002(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1033(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1068(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10a7(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10d0(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0x110c(%rip),%rsi
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1130(%rip),%rsi
call   1040 <fprintf@plt>
mov    %ebp,%edi
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1030 <cleanUpAndExit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [44 x i8] c"Usage: ng class [--nailgun-options] [args]\0A\00"
@.str.1 = [32 x i8] c" (to execute a class)\0A\00"
@.str.2 = [44 x i8] c" or: ng alias [--nailgun-options] [args]\0A\00"
@.str.3 = [41 x i8] c" (to execute an aliased class)\0A\00"
@.str.4 = [41 x i8] c" or: alias [--nailgun-options] [args]\0A\00"
@.str.5 = [55 x i8] c" (to execute an aliased class, where \22alias\22\0A\00"
@.str.6 = [59 x i8] c" is both the alias for the class and a symbolic\0A\00"
@.str.7 = [36 x i8] c" link to the ng client)\0A\0A\00"
@.str.8 = [24 x i8] c"where options include:\0A\00"
@.str.9 = [75 x i8] c" --nailgun-D<name>=<value> set/override a client environment variable\0A\00"
@.str.10 = [63 x i8] c" --nailgun-version print product version and exit\0A\00"
@.str.11 = [67 x i8] c" --nailgun-showversion print product version and continue\0A\00"
@.str.12 = [77 x i8] c" --nailgun-server to specify the address of the nailgun server\0A\00"
@.str.13 = [55 x i8] c" (default is localhost)\0A\00"
@.str.14 = [74 x i8] c" --nailgun-port to specify the port of the nailgun server\0A\00"
@.str.15 = [50 x i8] c" (default is 2113)\0A\00"
@.str.16 = [60 x i8] c" --nailgun-help print this message and exit\0A\00"
define void @usage(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.5, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.6, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
%21 = load i32, i32* @stderr
%22 = call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.9, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.10, i64 0, i64 0))
%25 = load i32, i32* @stderr
%26 = call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.11, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.12, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.13, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.14, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.16, i64 0, i64 0))
%37 = load i32, i32* %2
%38 = call i32 @cleanUpAndExit(i32 %37)
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [44 x i8] c"Usage: ng class [--nailgun-options] [args]\0A\00"
@.str.1 = [32 x i8] c" (to execute a class)\0A\00"
@.str.2 = [44 x i8] c" or: ng alias [--nailgun-options] [args]\0A\00"
@.str.3 = [41 x i8] c" (to execute an aliased class)\0A\00"
@.str.4 = [41 x i8] c" or: alias [--nailgun-options] [args]\0A\00"
@.str.5 = [55 x i8] c" (to execute an aliased class, where \22alias\22\0A\00"
@.str.6 = [59 x i8] c" is both the alias for the class and a symbolic\0A\00"
@.str.7 = [36 x i8] c" link to the ng client)\0A\0A\00"
@.str.8 = [24 x i8] c"where options include:\0A\00"
@.str.9 = [75 x i8] c" --nailgun-D<name>=<value> set/override a client environment variable\0A\00"
@.str.10 = [63 x i8] c" --nailgun-version print product version and exit\0A\00"
@.str.11 = [67 x i8] c" --nailgun-showversion print product version and continue\0A\00"
@.str.12 = [77 x i8] c" --nailgun-server to specify the address of the nailgun server\0A\00"
@.str.13 = [55 x i8] c" (default is localhost)\0A\00"
@.str.14 = [74 x i8] c" --nailgun-port to specify the port of the nailgun server\0A\00"
@.str.15 = [50 x i8] c" (default is 2113)\0A\00"
@.str.16 = [60 x i8] c" --nailgun-help print this message and exit\0A\00"
define void @usage(i32 %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* @stderr
%5 = tail call i32 @fprintf(i32 %4, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = tail call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = tail call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = tail call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = tail call i32 @fprintf(i32 %12, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.5, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = tail call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.6, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = tail call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = tail call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = tail call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.9, i64 0, i64 0))
%22 = load i32, i32* @stderr
%23 = tail call i32 @fprintf(i32 %22, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.10, i64 0, i64 0))
%24 = load i32, i32* @stderr
%25 = tail call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.11, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = tail call i32 @fprintf(i32 %26, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.12, i64 0, i64 0))
%28 = load i32, i32* @stderr
%29 = tail call i32 @fprintf(i32 %28, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.13, i64 0, i64 0))
%30 = load i32, i32* @stderr
%31 = tail call i32 @fprintf(i32 %30, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.14, i64 0, i64 0))
%32 = load i32, i32* @stderr
%33 = tail call i32 @fprintf(i32 %32, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0))
%34 = load i32, i32* @stderr
%35 = tail call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.16, i64 0, i64 0))
%36 = tail call i32 @cleanUpAndExit(i32 %0)
ret void
}