#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 usage() {
  printf("ith [COMMAND] [OPTIONS]\n\n");
  printf("COMMAND is zero or more of:\n");
  printf("-e entropy (this is the default if no command is specified)\n");
  printf("-c domain coverage\n");
  printf("-k Killback-Leibler divergence\n");
  printf("-K Killback-Leibler divergence over entire alphabet\n");
  printf("-x Pearson chi-squared for randomness\n");
  printf("-X Pearson chi-squared for randomness over entire alphabet\n");
  printf("-p print the resulting PMF\n");
  printf("-A equivalent to -e -c -k -x\n\n");
  printf("OPTIONS are zero or more of:\n");
  printf(
      "-a 1 | 8 | 16 | 32 | 64 | char | wchar | word | wword (default is 8)\n");
  printf("-u 2 | e | 10 (default is 2)\n");
  printf("-f FILENAME (default is stdin)\n");
  printf("-t print tersely (just the numbers, no sentences)\n\n");
  printf("See ith(1) for more information.\n");
  return;
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef3(%rip),%rdi
call   1030 <printf@plt>
lea    0xf04(%rip),%rdi
call   1030 <printf@plt>
lea    0xf35(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf51(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf95(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe8(%rip),%rdi
call   1030 <printf@plt>
lea    0xffa(%rip),%rdi
call   1030 <printf@plt>
lea    0x1034(%rip),%rdi
call   1030 <printf@plt>
lea    0x1046(%rip),%rdi
call   1030 <printf@plt>
lea    0x105a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1082(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf05(%rip),%rdi
call   1030 <puts@plt>
lea    0xf35(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf77(%rip),%rdi
call   1030 <puts@plt>
lea    0xf91(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc0(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcf(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe1(%rip),%rdi
call   1030 <puts@plt>
lea    0xff2(%rip),%rdi
call   1030 <puts@plt>
lea    0x102b(%rip),%rdi
call   1030 <puts@plt>
lea    0x103c(%rip),%rdi
call   1030 <puts@plt>
lea    0x104f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1076(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [26 x i8] c"ith [COMMAND] [OPTIONS]\0A\0A\00"
@.str.1 = [29 x i8] c"COMMAND is zero or more of:\0A\00"
@.str.2 = [61 x i8] c"-e entropy (this is the default if no command is specified)\0A\00"
@.str.3 = [20 x i8] c"-c domain coverage\0A\00"
@.str.4 = [32 x i8] c"-k Killback-Leibler divergence\0A\00"
@.str.5 = [53 x i8] c"-K Killback-Leibler divergence over entire alphabet\0A\00"
@.str.6 = [39 x i8] c"-x Pearson chi-squared for randomness\0A\00"
@.str.7 = [60 x i8] c"-X Pearson chi-squared for randomness over entire alphabet\0A\00"
@.str.8 = [28 x i8] c"-p print the resulting PMF\0A\00"
@.str.9 = [31 x i8] c"-A equivalent to -e -c -k -x\0A\0A\00"
@.str.10 = [30 x i8] c"OPTIONS are zero or more of:\0A\00"
@.str.11 = [70 x i8] c"-a 1 | 8 | 16 | 32 | 64 | char | wchar | word | wword (default is 8)\0A\00"
@.str.12 = [30 x i8] c"-u 2 | e | 10 (default is 2)\0A\00"
@.str.13 = [32 x i8] c"-f FILENAME (default is stdin)\0A\00"
@.str.14 = [52 x i8] c"-t print tersely (just the numbers, no sentences)\0A\0A\00"
@.str.15 = [34 x i8] c"See ith(1) for more information.\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.15, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [25 x i8] c"ith [COMMAND] [OPTIONS]\0A\00"
@str.16 = [28 x i8] c"COMMAND is zero or more of:\00"
@str.17 = [60 x i8] c"-e entropy (this is the default if no command is specified)\00"
@str.18 = [19 x i8] c"-c domain coverage\00"
@str.19 = [31 x i8] c"-k Killback-Leibler divergence\00"
@str.20 = [52 x i8] c"-K Killback-Leibler divergence over entire alphabet\00"
@str.21 = [38 x i8] c"-x Pearson chi-squared for randomness\00"
@str.22 = [59 x i8] c"-X Pearson chi-squared for randomness over entire alphabet\00"
@str.23 = [27 x i8] c"-p print the resulting PMF\00"
@str.24 = [30 x i8] c"-A equivalent to -e -c -k -x\0A\00"
@str.25 = [29 x i8] c"OPTIONS are zero or more of:\00"
@str.26 = [69 x i8] c"-a 1 | 8 | 16 | 32 | 64 | char | wchar | word | wword (default is 8)\00"
@str.27 = [29 x i8] c"-u 2 | e | 10 (default is 2)\00"
@str.28 = [31 x i8] c"-f FILENAME (default is stdin)\00"
@str.29 = [51 x i8] c"-t print tersely (just the numbers, no sentences)\0A\00"
@str.30 = [33 x i8] c"See ith(1) for more information.\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.16, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.17, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.18, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.19, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.20, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.21, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.22, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.23, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.24, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.25, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.26, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.27, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.28, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.29, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.30, i64 0, i64 0))
ret void
}