#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 printHelp() {
  printf("Usage: tte [OPTIONS] [FILE]\n\n");
  printf("\nKEYBINDINGS\n-----------\n\n");
  printf("Keybinding    Action\n\n");
  printf("Ctrl-Q        Exit\n");
  printf("Ctrl-S        Save\n");
  printf("Ctrl-F        Search. Esc, enter and arrows to interact once "
         "searching\n");
  printf("Ctrl-E        Flip line upwards\n");
  printf("Ctrl-D        Flip line downwards\n");
  printf("Ctrl-C        Copy line\n");
  printf("Ctrl-X        Cut line\n");
  printf("Ctrl-V        Paste line\n");
  printf("Ctrl-Z        Undo\n");
  printf("Ctrl-Y        Redo\n");
  printf("Ctrl-P        Pause tte (type \"fg\" to resume)\n");
  printf("\n\nOPTIONS\n-------\n\n");
  printf("Option                                          Action\n\n");
  printf("-h | --help                                     Prints the help\n");
  printf("-v | --version                                  Prints the version "
         "of tte\n");
  printf("-e | --extension <file_extension> <file_name>   Specify the file "
         "extension\n");
  printf("-t | --use-tabs [file_name]                     Use tabs instead of "
         "spaces\n");
  printf("\n\nFor now, usage of ISO 8859-1 is recommended.\n");
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef7(%rip),%rdi
call   1030 <printf@plt>
lea    0xf06(%rip),%rdi
call   1030 <printf@plt>
lea    0xf11(%rip),%rdi
call   1030 <printf@plt>
lea    0xf19(%rip),%rdi
call   1030 <printf@plt>
lea    0xf21(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf72(%rip),%rdi
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
call   1030 <printf@plt>
lea    0xf96(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa2(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb0(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb8(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc0(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe3(%rip),%rdi
call   1030 <printf@plt>
lea    0xfeb(%rip),%rdi
call   1030 <printf@plt>
lea    0x1018(%rip),%rdi
call   1030 <printf@plt>
lea    0x104d(%rip),%rdi
call   1030 <printf@plt>
lea    0x108c(%rip),%rdi
call   1030 <printf@plt>
lea    0x10cc(%rip),%rdi
call   1030 <printf@plt>
lea    0x110c(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef9(%rip),%rdi
call   1030 <puts@plt>
lea    0xf07(%rip),%rdi
call   1030 <puts@plt>
lea    0xf11(%rip),%rdi
call   1030 <puts@plt>
lea    0xf18(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf84(%rip),%rdi
call   1030 <puts@plt>
lea    0xf90(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9b(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfaf(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdf(%rip),%rdi
call   1030 <puts@plt>
lea    0x100b(%rip),%rdi
call   1030 <puts@plt>
lea    0x103f(%rip),%rdi
call   1030 <puts@plt>
lea    0x107d(%rip),%rdi
call   1030 <puts@plt>
lea    0x10bc(%rip),%rdi
call   1030 <puts@plt>
lea    0x10fb(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [30 x i8] c"Usage: tte [OPTIONS] [FILE]\0A\0A\00"
@.str.1 = [27 x i8] c"\0AKEYBINDINGS\0A-----------\0A\0A\00"
@.str.2 = [23 x i8] c"Keybinding Action\0A\0A\00"
@.str.3 = [20 x i8] c"Ctrl-Q Exit\0A\00"
@.str.4 = [20 x i8] c"Ctrl-S Save\0A\00"
@.str.5 = [72 x i8] c"Ctrl-F Search. Esc, enter and arrows to interact once searching\0A\00"
@.str.6 = [33 x i8] c"Ctrl-E Flip line upwards\0A\00"
@.str.7 = [35 x i8] c"Ctrl-D Flip line downwards\0A\00"
@.str.8 = [25 x i8] c"Ctrl-C Copy line\0A\00"
@.str.9 = [24 x i8] c"Ctrl-X Cut line\0A\00"
@.str.10 = [26 x i8] c"Ctrl-V Paste line\0A\00"
@.str.11 = [20 x i8] c"Ctrl-Z Undo\0A\00"
@.str.12 = [20 x i8] c"Ctrl-Y Redo\0A\00"
@.str.13 = [47 x i8] c"Ctrl-P Pause tte (type \22fg\22 to resume)\0A\00"
@.str.14 = [20 x i8] c"\0A\0AOPTIONS\0A-------\0A\0A\00"
@.str.15 = [57 x i8] c"Option Action\0A\0A\00"
@.str.16 = [65 x i8] c"-h | --help Prints the help\0A\00"
@.str.17 = [75 x i8] c"-v | --version Prints the version of tte\0A\00"
@.str.18 = [76 x i8] c"-e | --extension <file_extension> <file_name> Specify the file extension\0A\00"
@.str.19 = [76 x i8] c"-t | --use-tabs [file_name] Use tabs instead of spaces\0A\00"
@.str.20 = [48 x i8] c"\0A\0AFor now, usage of ISO 8859-1 is recommended.\0A\00"
define void @printHelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 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 ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.20, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [29 x i8] c"Usage: tte [OPTIONS] [FILE]\0A\00"
@str.21 = [26 x i8] c"\0AKEYBINDINGS\0A-----------\0A\00"
@str.22 = [22 x i8] c"Keybinding Action\0A\00"
@str.23 = [19 x i8] c"Ctrl-Q Exit\00"
@str.24 = [19 x i8] c"Ctrl-S Save\00"
@str.25 = [71 x i8] c"Ctrl-F Search. Esc, enter and arrows to interact once searching\00"
@str.26 = [32 x i8] c"Ctrl-E Flip line upwards\00"
@str.27 = [34 x i8] c"Ctrl-D Flip line downwards\00"
@str.28 = [24 x i8] c"Ctrl-C Copy line\00"
@str.29 = [23 x i8] c"Ctrl-X Cut line\00"
@str.30 = [25 x i8] c"Ctrl-V Paste line\00"
@str.31 = [19 x i8] c"Ctrl-Z Undo\00"
@str.32 = [19 x i8] c"Ctrl-Y Redo\00"
@str.33 = [46 x i8] c"Ctrl-P Pause tte (type \22fg\22 to resume)\00"
@str.34 = [19 x i8] c"\0A\0AOPTIONS\0A-------\0A\00"
@str.35 = [56 x i8] c"Option Action\0A\00"
@str.36 = [64 x i8] c"-h | --help Prints the help\00"
@str.37 = [74 x i8] c"-v | --version Prints the version of tte\00"
@str.38 = [75 x i8] c"-e | --extension <file_extension> <file_name> Specify the file extension\00"
@str.39 = [75 x i8] c"-t | --use-tabs [file_name] Use tabs instead of spaces\00"
@str.40 = [47 x i8] c"\0A\0AFor now, usage of ISO 8859-1 is recommended.\00"
define void @printHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.21, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.22, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.23, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.24, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.25, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.26, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.27, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.28, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.29, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.30, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.31, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.32, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.33, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.34, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.35, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.36, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.37, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.38, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.39, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.40, i64 0, i64 0))
ret void
}