#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 show_help() {
  printf("Stylom: A command line stylometry utility\n\n");
  printf(" -t  --text <string>         Text to be analysed\n");
  printf(" -n  --name <string>         Name of the author\n");
  printf(" -f  --fingerprint           Show fingerprint\n");
  printf(" -m  --match <directory>     Match the current text against ");
  printf("fingerprints\n");
  printf("                             in the given directory\n");
  printf(" -l  --list <directory>      Shows best matches list\n");
  printf(" -c  --compare <fingerprint> Compare text against the ");
  printf("given fingerprint\n");
  printf("     --missing <fingerprint> Report words which are ");
  printf("present in the\n");
  printf("                             current text but which are missing\n");
  printf("                             from the given fingerprint\n");
  printf("     --more <fingerprint>    Report words which are ");
  printf("present more often in the\n");
  printf("                             given fingerprint than ");
  printf("in the current text\n");
  printf("     --less <fingerprint>    Report words which are ");
  printf("present less often in the\n");
  printf("                             given fingerprint than ");
  printf("in the current text\n");
  printf(" -p  --plot <directory>      Plot fingerprints within the ");
  printf("given directory\n");
  printf("     --plottexts <directory> Plot texts within the ");
  printf("given directory\n");
  printf("     --title <text>          Plot title\n");
  printf(" -v  --version               Show the version number\n");
  printf(" -h  --help                  Show help\n");
}


x86 assembly (clang, -O0):
<show_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf50(%rip),%rdi
call   1030 <printf@plt>
lea    0xf73(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcf(%rip),%rdi
call   1030 <printf@plt>
lea    0xff9(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d0(%rip),%rdi
call   1030 <printf@plt>
lea    0x1018(%rip),%rdi
call   1030 <printf@plt>
lea    0x1041(%rip),%rdi
call   1030 <printf@plt>
lea    0x1045(%rip),%rdi
call   1030 <printf@plt>
lea    0x107a(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a7(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d0(%rip),%rdi
call   1030 <printf@plt>
lea    0x10df(%rip),%rdi
call   1030 <printf@plt>
lea    0x1108(%rip),%rdi
call   1030 <printf@plt>
lea    0x1111(%rip),%rdi
call   1030 <printf@plt>
lea    0x113a(%rip),%rdi
call   1030 <printf@plt>
lea    0x10af(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d8(%rip),%rdi
call   1030 <printf@plt>
lea    0x1131(%rip),%rdi
call   1030 <printf@plt>
lea    0xefe(%rip),%rdi
call   1030 <printf@plt>
lea    0x1154(%rip),%rdi
call   1030 <printf@plt>
lea    0xee6(%rip),%rdi
call   1030 <printf@plt>
lea    0x1170(%rip),%rdi
call   1030 <printf@plt>
lea    0x118d(%rip),%rdi
call   1030 <printf@plt>
lea    0x11b7(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help>:
push   %r14
push   %rbx
push   %rax
lea    0x108c(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ab(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d0(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f4(%rip),%rdi
call   1030 <puts@plt>
lea    0xea5(%rip),%rdi
call   1040 <printf@plt>
lea    0x110a(%rip),%rdi
call   1030 <puts@plt>
lea    0x110b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1133(%rip),%rdi
call   1030 <puts@plt>
lea    0xeb2(%rip),%rdi
call   1040 <printf@plt>
lea    0x11c5(%rip),%rdi
call   1030 <puts@plt>
lea    0xed1(%rip),%rdi
call   1040 <printf@plt>
lea    0x1138(%rip),%rdi
call   1030 <puts@plt>
lea    0x113b(%rip),%rdi
call   1030 <puts@plt>
lea    0x116f(%rip),%rdi
call   1030 <puts@plt>
lea    0xed6(%rip),%rdi
call   1040 <printf@plt>
lea    0x118f(%rip),%rdi
call   1030 <puts@plt>
lea    0xef3(%rip),%r14
mov    %r14,%rdi
call   1040 <printf@plt>
lea    0x11a8(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf0a(%rip),%rdi
call   1040 <printf@plt>
lea    0x1173(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf17(%rip),%rdi
call   1040 <printf@plt>
lea    0x1065(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf37(%rip),%rdi
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x1156(%rip),%rdi
call   1030 <puts@plt>
lea    0x1172(%rip),%rdi
call   1030 <puts@plt>
lea    0x119b(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [44 x i8] c"Stylom: A command line stylometry utility\0A\0A\00"
@.str.1 = [50 x i8] c" -t --text <string> Text to be analysed\0A\00"
@.str.2 = [49 x i8] c" -n --name <string> Name of the author\0A\00"
@.str.3 = [47 x i8] c" -f --fingerprint Show fingerprint\0A\00"
@.str.4 = [61 x i8] c" -m --match <directory> Match the current text against \00"
@.str.5 = [14 x i8] c"fingerprints\0A\00"
@.str.6 = [53 x i8] c" in the given directory\0A\00"
@.str.7 = [54 x i8] c" -l --list <directory> Shows best matches list\0A\00"
@.str.8 = [55 x i8] c" -c --compare <fingerprint> Compare text against the \00"
@.str.9 = [19 x i8] c"given fingerprint\0A\00"
@.str.10 = [53 x i8] c" --missing <fingerprint> Report words which are \00"
@.str.11 = [16 x i8] c"present in the\0A\00"
@.str.12 = [65 x i8] c" current text but which are missing\0A\00"
@.str.13 = [57 x i8] c" from the given fingerprint\0A\00"
@.str.14 = [53 x i8] c" --more <fingerprint> Report words which are \00"
@.str.15 = [27 x i8] c"present more often in the\0A\00"
@.str.16 = [53 x i8] c" given fingerprint than \00"
@.str.17 = [21 x i8] c"in the current text\0A\00"
@.str.18 = [53 x i8] c" --less <fingerprint> Report words which are \00"
@.str.19 = [27 x i8] c"present less often in the\0A\00"
@.str.20 = [59 x i8] c" -p --plot <directory> Plot fingerprints within the \00"
@.str.21 = [17 x i8] c"given directory\0A\00"
@.str.22 = [52 x i8] c" --plottexts <directory> Plot texts within the \00"
@.str.23 = [41 x i8] c" --title <text> Plot title\0A\00"
@.str.24 = [54 x i8] c" -v --version Show the version number\0A\00"
@.str.25 = [40 x i8] c" -h --help Show help\0A\00"
define void @show_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 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 ([61 x i8], [61 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.16, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.17, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.20, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.23, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.24, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.25, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.4 = [61 x i8] c" -m --match <directory> Match the current text against \00"
@.str.8 = [55 x i8] c" -c --compare <fingerprint> Compare text against the \00"
@.str.10 = [53 x i8] c" --missing <fingerprint> Report words which are \00"
@.str.14 = [53 x i8] c" --more <fingerprint> Report words which are \00"
@.str.16 = [53 x i8] c" given fingerprint than \00"
@.str.18 = [53 x i8] c" --less <fingerprint> Report words which are \00"
@.str.20 = [59 x i8] c" -p --plot <directory> Plot fingerprints within the \00"
@.str.22 = [52 x i8] c" --plottexts <directory> Plot texts within the \00"
@str = [43 x i8] c"Stylom: A command line stylometry utility\0A\00"
@str.26 = [49 x i8] c" -t --text <string> Text to be analysed\00"
@str.27 = [48 x i8] c" -n --name <string> Name of the author\00"
@str.28 = [46 x i8] c" -f --fingerprint Show fingerprint\00"
@str.29 = [13 x i8] c"fingerprints\00"
@str.30 = [52 x i8] c" in the given directory\00"
@str.31 = [53 x i8] c" -l --list <directory> Shows best matches list\00"
@str.32 = [18 x i8] c"given fingerprint\00"
@str.33 = [15 x i8] c"present in the\00"
@str.34 = [64 x i8] c" current text but which are missing\00"
@str.35 = [56 x i8] c" from the given fingerprint\00"
@str.36 = [26 x i8] c"present more often in the\00"
@str.38 = [26 x i8] c"present less often in the\00"
@str.39 = [20 x i8] c"in the current text\00"
@str.41 = [16 x i8] c"given directory\00"
@str.42 = [40 x i8] c" --title <text> Plot title\00"
@str.43 = [53 x i8] c" -v --version Show the version number\00"
@str.44 = [39 x i8] c" -h --help Show help\00"
define void @show_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.26, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.27, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.28, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.29, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.30, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.31, i64 0, i64 0))
%9 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.32, i64 0, i64 0))
%11 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.33, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.34, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.35, i64 0, i64 0))
%15 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.14, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.36, i64 0, i64 0))
%17 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.16, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.39, i64 0, i64 0))
%19 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.18, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.38, i64 0, i64 0))
%21 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.16, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.39, i64 0, i64 0))
%23 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.20, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.41, i64 0, i64 0))
%25 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.41, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.42, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.43, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.44, i64 0, i64 0))
ret void
}