#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 *, char *);
int /*<<< orphan*/ pute(char *);
void usage(char *msg) {
  if (msg) {
    printf("\nCommand line error: %s\n", msg);
  }
  pute(" ");
  pute("NAME");
  pute(" csvAppend - append all columns from csv files to the standard output");
  pute(" ");
  pute("SYNOPSIS");
  pute(" csvAppend [OPTION] FILE ...");
  pute(" ");
  pute("DESCRIPTION");
  pute(" Concatenate all columns in csv FILE(s) to standard output");
  pute(" Assumes that the field separator is a comma");
  pute(" ");
  pute("EXAMPLE");
  pute(" csvAppend SALE-AMOUNT.csv longitude-std.csv > combined.csv");
  pute("  writes csv file on stdout containing columns from the 2 files");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
cmpq   $0x0,-0x8(%rbp)
je     1157 <usage+0x27>
mov    -0x8(%rbp),%rsi
lea    0xeae(%rip),%rdi
call   1030 <printf@plt>
lea    0xebb(%rip),%rdi
call   1040 <pute@plt>
lea    0xeb1(%rip),%rdi
call   1040 <pute@plt>
lea    0xeaa(%rip),%rdi
call   1040 <pute@plt>
lea    0xe97(%rip),%rdi
call   1040 <pute@plt>
lea    0xed8(%rip),%rdi
call   1040 <pute@plt>
lea    0xed5(%rip),%rdi
call   1040 <pute@plt>
lea    0xe73(%rip),%rdi
call   1040 <pute@plt>
lea    0xeda(%rip),%rdi
call   1040 <pute@plt>
lea    0xeda(%rip),%rdi
call   1040 <pute@plt>
lea    0xf09(%rip),%rdi
call   1040 <pute@plt>
lea    0xe43(%rip),%rdi
call   1040 <pute@plt>
lea    0xf1e(%rip),%rdi
call   1040 <pute@plt>
lea    0xf1a(%rip),%rdi
call   1040 <pute@plt>
lea    0xf4a(%rip),%rdi
call   1040 <pute@plt>
mov    $0x1,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
test   %rdi,%rdi
je     1145 <usage+0x15>
mov    %rdi,%rsi
lea    0xec0(%rip),%rdi
call   1030 <printf@plt>
lea    0xecd(%rip),%rbx
mov    %rbx,%rdi
call   1040 <pute@plt>
lea    0xec0(%rip),%rdi
call   1040 <pute@plt>
lea    0xeb9(%rip),%rdi
call   1040 <pute@plt>
mov    %rbx,%rdi
call   1040 <pute@plt>
lea    0xeeb(%rip),%rdi
call   1040 <pute@plt>
lea    0xee8(%rip),%rdi
call   1040 <pute@plt>
mov    %rbx,%rdi
call   1040 <pute@plt>
lea    0xef1(%rip),%rdi
call   1040 <pute@plt>
lea    0xef1(%rip),%rdi
call   1040 <pute@plt>
lea    0xf20(%rip),%rdi
call   1040 <pute@plt>
mov    %rbx,%rdi
call   1040 <pute@plt>
lea    0xf39(%rip),%rdi
call   1040 <pute@plt>
lea    0xf35(%rip),%rdi
call   1040 <pute@plt>
lea    0xf65(%rip),%rdi
call   1040 <pute@plt>
mov    $0x1,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [25 x i8] c"\0ACommand line error: %s\0A\00"
@.str.1 = [2 x i8] c" \00"
@.str.2 = [5 x i8] c"NAME\00"
@.str.3 = [70 x i8] c" csvAppend - append all columns from csv files to the standard output\00"
@.str.4 = [9 x i8] c"SYNOPSIS\00"
@.str.5 = [29 x i8] c" csvAppend [OPTION] FILE ...\00"
@.str.6 = [12 x i8] c"DESCRIPTION\00"
@.str.7 = [59 x i8] c" Concatenate all columns in csv FILE(s) to standard output\00"
@.str.8 = [45 x i8] c" Assumes that the field separator is a comma\00"
@.str.9 = [8 x i8] c"EXAMPLE\00"
@.str.10 = [60 x i8] c" csvAppend SALE-AMOUNT.csv longitude-std.csv > combined.csv\00"
@.str.11 = [64 x i8] c" writes csv file on stdout containing columns from the 2 files\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = icmp ne i8* %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i8*, i8** %2
%7 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0), i8* %6)
br label %8
8: ; preds = %5, %1
%9 = call i32 @pute(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%10 = call i32 @pute(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 @pute(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.3, i64 0, i64 0))
%12 = call i32 @pute(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%13 = call i32 @pute(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%14 = call i32 @pute(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0))
%15 = call i32 @pute(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%16 = call i32 @pute(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%17 = call i32 @pute(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.7, i64 0, i64 0))
%18 = call i32 @pute(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0))
%19 = call i32 @pute(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%20 = call i32 @pute(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%21 = call i32 @pute(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.10, i64 0, i64 0))
%22 = call i32 @pute(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.11, i64 0, i64 0))
%23 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [25 x i8] c"\0ACommand line error: %s\0A\00"
@.str.1 = [2 x i8] c" \00"
@.str.2 = [5 x i8] c"NAME\00"
@.str.3 = [70 x i8] c" csvAppend - append all columns from csv files to the standard output\00"
@.str.4 = [9 x i8] c"SYNOPSIS\00"
@.str.5 = [29 x i8] c" csvAppend [OPTION] FILE ...\00"
@.str.6 = [12 x i8] c"DESCRIPTION\00"
@.str.7 = [59 x i8] c" Concatenate all columns in csv FILE(s) to standard output\00"
@.str.8 = [45 x i8] c" Assumes that the field separator is a comma\00"
@.str.9 = [8 x i8] c"EXAMPLE\00"
@.str.10 = [60 x i8] c" csvAppend SALE-AMOUNT.csv longitude-std.csv > combined.csv\00"
@.str.11 = [64 x i8] c" writes csv file on stdout containing columns from the 2 files\00"
define void @usage(i8* %0) {
%2 = icmp eq i8* %0, null
br i1 %2, label %5, label %3
3: ; preds = %1
%4 = tail call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0), i8* %0)
br label %5
5: ; preds = %3, %1
%6 = tail call i32 @pute(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%7 = tail call i32 @pute(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 @pute(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.3, i64 0, i64 0))
%9 = tail call i32 @pute(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%10 = tail call i32 @pute(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%11 = tail call i32 @pute(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0))
%12 = tail call i32 @pute(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%13 = tail call i32 @pute(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%14 = tail call i32 @pute(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.7, i64 0, i64 0))
%15 = tail call i32 @pute(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0))
%16 = tail call i32 @pute(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%17 = tail call i32 @pute(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%18 = tail call i32 @pute(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.10, i64 0, i64 0))
%19 = tail call i32 @pute(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.11, i64 0, i64 0))
%20 = tail call i32 @exit(i32 1)
unreachable
}