#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*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ print_version();
int /*<<< orphan*/ stdout;
void print_usage(const char *cmd) {
  print_version();
  fprintf(stdout, "\n  View a file's metadata:\n");
  fprintf(stdout,
          "\n     %s input.("
          "dta|por|sav|sas7bdat|xpt"
          ")\n",
          cmd);
  fprintf(stdout, "\n  Read a file, and write CSV to standard out:\n");
  fprintf(stdout,
          "\n     %s input.("
          "dta|por|sav|sas7bdat|xpt"
          ") -\n",
          cmd);
  fprintf(stdout, "\n  Convert a file:\n");
  fprintf(stdout,
          "\n     %s input.("
          "dta|por|sav|sas7bdat|xpt"
          ") output.("
          "dta|por|sav|sas7bdat|xpt"
          "|csv"
          ")\n",
          cmd);
  fprintf(stdout,
          "\n  Convert a text file with column metadata stored in a SAS "
          "command files, SPSS command file, or Stata dictionary file:\n");
  fprintf(stdout,
          "\n     %s input.xxx metadata.(dct|sas|sps) output.("
          "dta|por|sav|sas7bdat|xpt"
          "|csv"
          ")\n",
          cmd);
  fprintf(stdout, "\n  Convert a SAS7BDAT file with value labels stored in a "
                  "separate SAS catalog file:\n");
  fprintf(stdout,
          "\n     %s input.sas7bdat catalog.sas7bcat output.(dta|por|sav|xpt"
          "|csv"
          ")\n\n",
          cmd);
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    $0x0,%al
call   1030 <print_version@plt>
mov    0x2ea6(%rip),%rax
mov    (%rax),%edi
lea    0xebd(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2e8f(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xebe(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2e74(%rip),%rax
mov    (%rax),%edi
lea    0xed2(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2e5d(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xee7(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2e42(%rip),%rax
mov    (%rax),%edi
lea    0xefd(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2e2b(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xef6(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2e10(%rip),%rax
mov    (%rax),%edi
lea    0xf30(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2df9(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xf8e(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2dde(%rip),%rax
mov    (%rax),%edi
lea    0xfc8(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2dc7(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0x1002(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%r14
xor    %eax,%eax
call   1030 <print_version@plt>
mov    0x2eab(%rip),%rbx
mov    (%rbx),%edi
lea    0xec2(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xece(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee6(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf06(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf20(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf24(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf62(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfcb(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1009(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0x104e(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <fprintf@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [28 x i8] c"\0A View a file's metadata:\0A\00"
@.str.1 = [43 x i8] c"\0A %s input.(dta|por|sav|sas7bdat|xpt)\0A\00"
@.str.2 = [48 x i8] c"\0A Read a file, and write CSV to standard out:\0A\00"
@.str.3 = [45 x i8] c"\0A %s input.(dta|por|sav|sas7bdat|xpt) -\0A\00"
@.str.4 = [20 x i8] c"\0A Convert a file:\0A\00"
@.str.5 = [81 x i8] c"\0A %s input.(dta|por|sav|sas7bdat|xpt) output.(dta|por|sav|sas7bdat|xpt|csv)\0A\00"
@.str.6 = [121 x i8] c"\0A Convert a text file with column metadata stored in a SAS command files, SPSS command file, or Stata dictionary file:\0A\00"
@.str.7 = [81 x i8] c"\0A %s input.xxx metadata.(dct|sas|sps) output.(dta|por|sav|sas7bdat|xpt|csv)\0A\00"
@.str.8 = [85 x i8] c"\0A Convert a SAS7BDAT file with value labels stored in a separate SAS catalog file:\0A\00"
@.str.9 = [72 x i8] c"\0A %s input.sas7bdat catalog.sas7bcat output.(dta|por|sav|xpt|csv)\0A\0A\00"
define void @print_usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = call i32 (...) @print_version()
%4 = load i32, i32* @stdout
%5 = call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%6 = load i32, i32* @stdout
%7 = load i8*, i8** %2
%8 = call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0), i8* %7)
%9 = load i32, i32* @stdout
%10 = call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = load i8*, i8** %2
%13 = call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0), i8* %12)
%14 = load i32, i32* @stdout
%15 = call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0))
%16 = load i32, i32* @stdout
%17 = load i8*, i8** %2
%18 = call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.5, i64 0, i64 0), i8* %17)
%19 = load i32, i32* @stdout
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([121 x i8], [121 x i8]* @.str.6, i64 0, i64 0))
%21 = load i32, i32* @stdout
%22 = load i8*, i8** %2
%23 = call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.7, i64 0, i64 0), i8* %22)
%24 = load i32, i32* @stdout
%25 = call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.8, i64 0, i64 0))
%26 = load i32, i32* @stdout
%27 = load i8*, i8** %2
%28 = call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.9, i64 0, i64 0), i8* %27)
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [28 x i8] c"\0A View a file's metadata:\0A\00"
@.str.1 = [43 x i8] c"\0A %s input.(dta|por|sav|sas7bdat|xpt)\0A\00"
@.str.2 = [48 x i8] c"\0A Read a file, and write CSV to standard out:\0A\00"
@.str.3 = [45 x i8] c"\0A %s input.(dta|por|sav|sas7bdat|xpt) -\0A\00"
@.str.4 = [20 x i8] c"\0A Convert a file:\0A\00"
@.str.5 = [81 x i8] c"\0A %s input.(dta|por|sav|sas7bdat|xpt) output.(dta|por|sav|sas7bdat|xpt|csv)\0A\00"
@.str.6 = [121 x i8] c"\0A Convert a text file with column metadata stored in a SAS command files, SPSS command file, or Stata dictionary file:\0A\00"
@.str.7 = [81 x i8] c"\0A %s input.xxx metadata.(dct|sas|sps) output.(dta|por|sav|sas7bdat|xpt|csv)\0A\00"
@.str.8 = [85 x i8] c"\0A Convert a SAS7BDAT file with value labels stored in a separate SAS catalog file:\0A\00"
@.str.9 = [72 x i8] c"\0A %s input.sas7bdat catalog.sas7bcat output.(dta|por|sav|xpt|csv)\0A\0A\00"
define void @print_usage(i8* %0) {
%2 = tail call i32 (...) @print_version()
%3 = load i32, i32* @stdout
%4 = tail call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%5 = load i32, i32* @stdout
%6 = tail call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%7 = load i32, i32* @stdout
%8 = tail call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32, i32* @stdout
%10 = tail call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0), i8* %0)
%11 = load i32, i32* @stdout
%12 = tail call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = tail call i32 (i32, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.5, i64 0, i64 0), i8* %0)
%15 = load i32, i32* @stdout
%16 = tail call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([121 x i8], [121 x i8]* @.str.6, i64 0, i64 0))
%17 = load i32, i32* @stdout
%18 = tail call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.7, i64 0, i64 0), i8* %0)
%19 = load i32, i32* @stdout
%20 = tail call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.8, i64 0, i64 0))
%21 = load i32, i32* @stdout
%22 = tail call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.9, i64 0, i64 0), i8* %0)
ret void
}