#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: ./bit_test [options] [size]\n");
  printf("-l <int>           : max table size bits for bit-by-bit\n");
  printf("-l8 <int>          : max table size bits for byte-by-byte\n");
  printf("-p <int>           : try only one proba value\n");
  printf("-fsc               : skip FSC\n");
  printf("-fsc8              : skip FSC8\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    0xedd(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf39(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6f(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <FSCPrintCodingOptions@plt>
lea    0xf7c(%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    0xedf(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf39(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6d(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1040 <FSCPrintCodingOptions@plt>
lea    0xf79(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [36 x i8] c"usage: ./bit_test [options] [size]\0A\00"
@.str.1 = [57 x i8] c"-l <int> : max table size bits for bit-by-bit\0A\00"
@.str.2 = [59 x i8] c"-l8 <int> : max table size bits for byte-by-byte\0A\00"
@.str.3 = [47 x i8] c"-p <int> : try only one proba value\0A\00"
@.str.4 = [31 x i8] c"-fsc : skip FSC\0A\00"
@.str.5 = [32 x i8] c"-fsc8 : skip FSC8\0A\00"
@.str.6 = [32 x i8] c"-h : this help\0A\00"
define void @Help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (...) @FSCPrintCodingOptions()
%8 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [35 x i8] c"usage: ./bit_test [options] [size]\00"
@str.7 = [56 x i8] c"-l <int> : max table size bits for bit-by-bit\00"
@str.8 = [58 x i8] c"-l8 <int> : max table size bits for byte-by-byte\00"
@str.9 = [46 x i8] c"-p <int> : try only one proba value\00"
@str.10 = [30 x i8] c"-fsc : skip FSC\00"
@str.11 = [31 x i8] c"-fsc8 : skip FSC8\00"
@str.12 = [31 x i8] c"-h : this help\00"
define void @Help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.7, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.8, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.9, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.10, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.11, i64 0, i64 0))
%7 = tail call i32 (...) @FSCPrintCodingOptions()
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.12, i64 0, i64 0))
%9 = tail call i32 @exit(i32 0)
unreachable
}