#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*/ FSCPrintCodingOptions();
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
void Help() {
  printf("usage: ./fsc [options] < in_file > out_file\n");
  printf("options:\n");
  printf("-c           : compression mode (default)\n");
  printf("-d           : decompression mode\n");
  printf("-s           : don't emit output, just print stats\n");
  printf("-l           : change log-table-size (in [2..14], default 12)\n");
  FSCPrintCodingOptions();
  printf("-h           : this help\n");
  exit(0);
}


x86 assembly (clang, -O0):
<Help>:
push   %rbp
mov    %rsp,%rbp
lea    0xec5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee6(%rip),%rdi
call   1030 <printf@plt>
lea    0xee4(%rip),%rdi
call   1030 <printf@plt>
lea    0xf03(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf42(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <FSCPrintCodingOptions@plt>
lea    0xf6e(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<Help>:
push   %rax
lea    0xec8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf03(%rip),%rdi
call   1030 <puts@plt>
lea    0xf19(%rip),%rdi
call   1030 <puts@plt>
lea    0xf40(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1040 <FSCPrintCodingOptions@plt>
lea    0xf6b(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [45 x i8] c"usage: ./fsc [options] < in_file > out_file\0A\00"
@.str.1 = [10 x i8] c"options:\0A\00"
@.str.2 = [43 x i8] c"-c : compression mode (default)\0A\00"
@.str.3 = [35 x i8] c"-d : decompression mode\0A\00"
@.str.4 = [52 x i8] c"-s : don't emit output, just print stats\0A\00"
@.str.5 = [63 x i8] c"-l : change log-table-size (in [2..14], default 12)\0A\00"
@.str.6 = [26 x i8] c"-h : this help\0A\00"
define void @Help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (...) @FSCPrintCodingOptions()
%8 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [44 x i8] c"usage: ./fsc [options] < in_file > out_file\00"
@str.7 = [9 x i8] c"options:\00"
@str.8 = [42 x i8] c"-c : compression mode (default)\00"
@str.9 = [34 x i8] c"-d : decompression mode\00"
@str.10 = [51 x i8] c"-s : don't emit output, just print stats\00"
@str.11 = [62 x i8] c"-l : change log-table-size (in [2..14], default 12)\00"
@str.12 = [25 x i8] c"-h : this help\00"
define void @Help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.7, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.8, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.9, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.10, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.11, i64 0, i64 0))
%7 = tail call i32 (...) @FSCPrintCodingOptions()
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.12, i64 0, i64 0))
%9 = tail call i32 @exit(i32 0)
unreachable
}