#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*/);
char *getenv(char *);
int /*<<< orphan*/ printf(char *, ...);
void usage() {
  printf("Usage : idl2matlab [-options] inputFile [outputDirectory]\n");
  printf("  IDL2Matlab %c version %s\n", '/', "1.6 130501");
  printf("Action: translate IDL source code into Matlab\n");
  printf("\nOptions :\n");
  printf("  -s for script files translation\n");
  printf("  -S for string translation\n");
  printf("  -q to hide messages (quiet mode)\n");
  printf("  -w to stop warnings writing\n");
  printf("  -t to print the abstract tree (long output)\n");
  printf("  -V to get idl2Matlab version\n");
  printf("  -A to get idl2Matlab authors\n");
  printf("  -Tx to get x spaces for a tabulation x<10\n");
  printf("  -f to translate only one function\n");
  printf("  -C to translate in Scilab (default : Matlab)\n");
  printf("\n");
  printf(
      "The log of the translation is written to file 'idl2matlab.log' and\n");
  printf("  the translation returns 0 when no error is found\n");
  printf("The IDL2MATLAB environment variable can be set to specify where\n");
  printf("  the translation library is installed.\n");
  printf("  IDL2MATLAB=%s\n", getenv("IDL2MATLAB")
                                  ? getenv("IDL2MATLAB")
                                  : "/usr/local/lib/idl2matlab");
  printf("\n");
  printf("Examples :\n");
  printf("  idl2matlab -qw essai.pro outDir/\n");
  printf("  idl2matlab -t essai.pro outDir/ > out\n");
  printf("  idl2matlab -S \"print,\'IDL2Matlab\'\"\n");
  printf("  idl2matlab -T4 essai.pro outDir/\n");
  printf("  idl2matlab -f essai.pro functionName outDir/ > out\n");
  printf("  idl2matlab -C essai.pro outDir/\n");
  exit(0);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xec1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xeee(%rip),%rdi
mov    $0x2f,%esi
lea    0xefe(%rip),%rdx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xefb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf1c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf1a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf2f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf3e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf54(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf65(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf98(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfaa(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfc9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfe0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x1197(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xff4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x102a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x1050(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x1083(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x10af(%rip),%rdi
call   1030 <getenv@plt>
cmp    $0x0,%rax
je     1279 <usage+0x149>
lea    0x1099(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,-0x8(%rbp)
jmp    1289 <usage+0x159>
lea    0x108f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1289 <usage+0x159>
mov    -0x8(%rbp),%rsi
lea    0x105f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x1104(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x1079(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x1077(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x108d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x10a8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x10c0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x10d6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x10fe(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xf05(%rip),%rdi
call   1050 <puts@plt>
lea    0xe9c(%rip),%rdi
lea    0xeb1(%rip),%rdx
mov    $0x2f,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xf19(%rip),%rdi
call   1050 <puts@plt>
lea    0xf3b(%rip),%rdi
call   1050 <puts@plt>
lea    0xf3a(%rip),%rdi
call   1050 <puts@plt>
lea    0xf50(%rip),%rdi
call   1050 <puts@plt>
lea    0xf60(%rip),%rdi
call   1050 <puts@plt>
lea    0xf77(%rip),%rdi
call   1050 <puts@plt>
lea    0xf89(%rip),%rdi
call   1050 <puts@plt>
lea    0xfab(%rip),%rdi
call   1050 <puts@plt>
lea    0xfbe(%rip),%rdi
call   1050 <puts@plt>
lea    0xfd1(%rip),%rdi
call   1050 <puts@plt>
lea    0xff1(%rip),%rdi
call   1050 <puts@plt>
lea    0x1009(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0x1022(%rip),%rdi
call   1050 <puts@plt>
lea    0x1059(%rip),%rdi
call   1050 <puts@plt>
lea    0x1080(%rip),%rdi
call   1050 <puts@plt>
lea    0x10b4(%rip),%rdi
call   1050 <puts@plt>
lea    0xdf0(%rip),%rdi
call   1030 <getenv@plt>
test   %rax,%rax
lea    0xdec(%rip),%rsi
cmovne %rax,%rsi
lea    0xdc5(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0x109e(%rip),%rdi
call   1050 <puts@plt>
lea    0x109d(%rip),%rdi
call   1050 <puts@plt>
lea    0x10b4(%rip),%rdi
call   1050 <puts@plt>
lea    0x10d0(%rip),%rdi
call   1050 <puts@plt>
lea    0x10e9(%rip),%rdi
call   1050 <puts@plt>
lea    0x1100(%rip),%rdi
call   1050 <puts@plt>
lea    0x1129(%rip),%rdi
call   1050 <puts@plt>
xor    %edi,%edi
call   1070 <exit@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"Usage : idl2matlab [-options] inputFile [outputDirectory]\0A\00"
@.str.1 = [28 x i8] c" IDL2Matlab %c version %s\0A\00"
@.str.2 = [11 x i8] c"1.6 130501\00"
@.str.3 = [47 x i8] c"Action: translate IDL source code into Matlab\0A\00"
@.str.4 = [12 x i8] c"\0AOptions :\0A\00"
@.str.5 = [35 x i8] c" -s for script files translation\0A\00"
@.str.6 = [29 x i8] c" -S for string translation\0A\00"
@.str.7 = [36 x i8] c" -q to hide messages (quiet mode)\0A\00"
@.str.8 = [31 x i8] c" -w to stop warnings writing\0A\00"
@.str.9 = [47 x i8] c" -t to print the abstract tree (long output)\0A\00"
@.str.10 = [32 x i8] c" -V to get idl2Matlab version\0A\00"
@.str.11 = [32 x i8] c" -A to get idl2Matlab authors\0A\00"
@.str.12 = [45 x i8] c" -Tx to get x spaces for a tabulation x<10\0A\00"
@.str.13 = [37 x i8] c" -f to translate only one function\0A\00"
@.str.14 = [48 x i8] c" -C to translate in Scilab (default : Matlab)\0A\00"
@.str.15 = [2 x i8] c"\0A\00"
@.str.16 = [68 x i8] c"The log of the translation is written to file 'idl2matlab.log' and\0A\00"
@.str.17 = [52 x i8] c" the translation returns 0 when no error is found\0A\00"
@.str.18 = [65 x i8] c"The IDL2MATLAB environment variable can be set to specify where\0A\00"
@.str.19 = [41 x i8] c" the translation library is installed.\0A\00"
@.str.20 = [17 x i8] c" IDL2MATLAB=%s\0A\00"
@.str.21 = [11 x i8] c"IDL2MATLAB\00"
@.str.22 = [26 x i8] c"/usr/local/lib/idl2matlab\00"
@.str.23 = [12 x i8] c"Examples :\0A\00"
@.str.24 = [36 x i8] c" idl2matlab -qw essai.pro outDir/\0A\00"
@.str.25 = [41 x i8] c" idl2matlab -t essai.pro outDir/ > out\0A\00"
@.str.26 = [38 x i8] c" idl2matlab -S \22print,'IDL2Matlab'\22\0A\00"
@.str.27 = [36 x i8] c" idl2matlab -T4 essai.pro outDir/\0A\00"
@.str.28 = [54 x i8] c" idl2matlab -f essai.pro functionName outDir/ > out\0A\00"
@.str.29 = [35 x i8] c" idl2matlab -C essai.pro outDir/\0A\00"
define void @usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.13, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.14, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.16, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.17, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.18, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.19, i64 0, i64 0))
%20 = call i8* @getenv(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i64 0, i64 0))
%21 = icmp ne i8* %20, null
br i1 %21, label %22, label %24
22: ; preds = %0
%23 = call i8* @getenv(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i64 0, i64 0))
br label %25
24: ; preds = %0
br label %25
25: ; preds = %24, %22
%26 = phi i8* [ %23, %22 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.22, i64 0, i64 0), %24 ]
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), i8* %26)
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.23, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.24, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.25, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.26, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.27, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.28, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.29, i64 0, i64 0))
%36 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str.1 = [28 x i8] c" IDL2Matlab %c version %s\0A\00"
@.str.2 = [11 x i8] c"1.6 130501\00"
@.str.20 = [17 x i8] c" IDL2MATLAB=%s\0A\00"
@.str.21 = [11 x i8] c"IDL2MATLAB\00"
@.str.22 = [26 x i8] c"/usr/local/lib/idl2matlab\00"
@str = [58 x i8] c"Usage : idl2matlab [-options] inputFile [outputDirectory]\00"
@str.30 = [46 x i8] c"Action: translate IDL source code into Matlab\00"
@str.31 = [11 x i8] c"\0AOptions :\00"
@str.32 = [34 x i8] c" -s for script files translation\00"
@str.33 = [28 x i8] c" -S for string translation\00"
@str.34 = [35 x i8] c" -q to hide messages (quiet mode)\00"
@str.35 = [30 x i8] c" -w to stop warnings writing\00"
@str.36 = [46 x i8] c" -t to print the abstract tree (long output)\00"
@str.37 = [31 x i8] c" -V to get idl2Matlab version\00"
@str.38 = [31 x i8] c" -A to get idl2Matlab authors\00"
@str.39 = [44 x i8] c" -Tx to get x spaces for a tabulation x<10\00"
@str.40 = [36 x i8] c" -f to translate only one function\00"
@str.41 = [47 x i8] c" -C to translate in Scilab (default : Matlab)\00"
@str.42 = [67 x i8] c"The log of the translation is written to file 'idl2matlab.log' and\00"
@str.43 = [51 x i8] c" the translation returns 0 when no error is found\00"
@str.44 = [64 x i8] c"The IDL2MATLAB environment variable can be set to specify where\00"
@str.45 = [40 x i8] c" the translation library is installed.\00"
@str.46 = [11 x i8] c"Examples :\00"
@str.47 = [35 x i8] c" idl2matlab -qw essai.pro outDir/\00"
@str.48 = [40 x i8] c" idl2matlab -t essai.pro outDir/ > out\00"
@str.49 = [37 x i8] c" idl2matlab -S \22print,'IDL2Matlab'\22\00"
@str.50 = [35 x i8] c" idl2matlab -T4 essai.pro outDir/\00"
@str.51 = [53 x i8] c" idl2matlab -f essai.pro functionName outDir/ > out\00"
@str.52 = [34 x i8] c" idl2matlab -C essai.pro outDir/\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.30, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.31, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.32, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.33, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.34, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.35, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.36, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.37, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.38, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.39, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.40, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.41, i64 0, i64 0))
%15 = tail call i32 @putchar(i32 10)
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.42, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.43, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.44, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.45, i64 0, i64 0))
%20 = tail call i8* @getenv(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i64 0, i64 0))
%21 = icmp eq i8* %20, null
%22 = select i1 %21, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.22, i64 0, i64 0), i8* %20
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), i8* %22)
%24 = tail call i32 @putchar(i32 10)
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.46, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.47, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.48, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.49, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.50, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.51, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.52, i64 0, i64 0))
%32 = tail call i32 @exit(i32 0)
unreachable
}