#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*/ printf(char *);
void help() {
  printf("Convert Liquid Instruments binary log files (.li) to\n");
  printf("  * Comma Separated Value (.csv)\n");
  printf("  * MATLAB 5.0 MAT-file (.mat)\n");
  printf("  * NumPy (.npy)");
  printf("(C) Liquid Instruments 2016\n");
  printf("\n");
  printf("usage:   liconvert [--mat] [--csv] [--npy] [--stdin] [file ...]\n");
  printf("\n");
  printf("example: liconvert file              Write file.csv\n");
  printf(
      "         liconvert file1 file2       Write file1.csv and file2.csv\n");
  printf("         liconvert --mat f1 f2       Write f1.mat and f2.mat\n");
  printf("         liconvert --stdin file      Accept binary data from stdin "
         "and write to file.csv\n");
  printf("         liconvert --npy file        Write file.npy\n");
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
call   1030 <printf@plt>
lea    0xf39(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf43(%rip),%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf95(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcd(%rip),%rdi
call   1030 <printf@plt>
lea    0xfff(%rip),%rdi
call   1030 <printf@plt>
lea    0x104d(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rax
lea    0xed9(%rip),%rdi
call   1040 <puts@plt>
lea    0xf02(%rip),%rdi
call   1040 <puts@plt>
lea    0xf17(%rip),%rdi
call   1040 <puts@plt>
lea    0xea4(%rip),%rdi
call   1050 <printf@plt>
lea    0xf1e(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf24(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf4e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf76(%rip),%rdi
call   1040 <puts@plt>
lea    0xfad(%rip),%rdi
call   1040 <puts@plt>
lea    0xfde(%rip),%rdi
call   1040 <puts@plt>
lea    0x102b(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [54 x i8] c"Convert Liquid Instruments binary log files (.li) to\0A\00"
@.str.1 = [34 x i8] c" * Comma Separated Value (.csv)\0A\00"
@.str.2 = [32 x i8] c" * MATLAB 5.0 MAT-file (.mat)\0A\00"
@.str.3 = [17 x i8] c" * NumPy (.npy)\00"
@.str.4 = [29 x i8] c"(C) Liquid Instruments 2016\0A\00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [65 x i8] c"usage: liconvert [--mat] [--csv] [--npy] [--stdin] [file ...]\0A\00"
@.str.7 = [53 x i8] c"example: liconvert file Write file.csv\0A\00"
@.str.8 = [68 x i8] c" liconvert file1 file2 Write file1.csv and file2.csv\0A\00"
@.str.9 = [62 x i8] c" liconvert --mat f1 f2 Write f1.mat and f2.mat\0A\00"
@.str.10 = [90 x i8] c" liconvert --stdin file Accept binary data from stdin and write to file.csv\0A\00"
@.str.11 = [53 x i8] c" liconvert --npy file Write file.npy\0A\00"
define void @help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.3 = [17 x i8] c" * NumPy (.npy)\00"
@str = [53 x i8] c"Convert Liquid Instruments binary log files (.li) to\00"
@str.12 = [33 x i8] c" * Comma Separated Value (.csv)\00"
@str.13 = [31 x i8] c" * MATLAB 5.0 MAT-file (.mat)\00"
@str.14 = [28 x i8] c"(C) Liquid Instruments 2016\00"
@str.15 = [64 x i8] c"usage: liconvert [--mat] [--csv] [--npy] [--stdin] [file ...]\00"
@str.16 = [52 x i8] c"example: liconvert file Write file.csv\00"
@str.17 = [67 x i8] c" liconvert file1 file2 Write file1.csv and file2.csv\00"
@str.18 = [61 x i8] c" liconvert --mat f1 f2 Write f1.mat and f2.mat\00"
@str.19 = [89 x i8] c" liconvert --stdin file Accept binary data from stdin and write to file.csv\00"
@str.20 = [52 x i8] c" liconvert --npy file Write file.npy\00"
define void @help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.12, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.13, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @putchar(i32 10)
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.15, i64 0, i64 0))
%8 = tail call i32 @putchar(i32 10)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.16, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.17, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.18, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @str.19, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.20, i64 0, i64 0))
ret void
}