#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 dispversion(void) {
  printf("prettytt: 2001/12/29");
  printf("\n");
  printf("\n");
  printf("This program converts a LifeLines binary translation table\n");
  printf("to an ascii version (safe for transmittal in email or\n");
  printf("display on the web).\n");
  printf("With no arguments, it will read from stdin and write to\n");
  printf("stdout. With one argument, it will treat it as the input\n");
  printf("filename. With two arguments, it will treat the first as\n");
  printf("the input filename, and the second as the output filename.\n");
  printf("If an argument is -w, it will ignore leading whitespace.\n");
  printf("This is oriented towards use with files from konwert:\n");
  printf("http://kki.net.pl/qrczak/programy/dos/konwert/index.html");
}


x86 assembly (clang, -O0):
<dispversion>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf75(%rip),%rdi
call   1030 <printf@plt>
lea    0xf69(%rip),%rdi
call   1030 <printf@plt>
lea    0xed6(%rip),%rdi
call   1030 <printf@plt>
lea    0xf06(%rip),%rdi
call   1030 <printf@plt>
lea    0xf31(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf68(%rip),%rdi
call   1030 <printf@plt>
lea    0xf96(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc4(%rip),%rdi
call   1030 <printf@plt>
lea    0xff4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1022(%rip),%rdi
call   1030 <printf@plt>
lea    0x104d(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<dispversion>:
push   %rax
lea    0xec8(%rip),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xef6(%rip),%rdi
call   1040 <puts@plt>
lea    0xf25(%rip),%rdi
call   1040 <puts@plt>
lea    0xf4f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf58(%rip),%rdi
call   1040 <puts@plt>
lea    0xf84(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb1(%rip),%rdi
call   1040 <puts@plt>
lea    0xfde(%rip),%rdi
call   1040 <puts@plt>
lea    0x100d(%rip),%rdi
call   1040 <puts@plt>
lea    0x103a(%rip),%rdi
call   1040 <puts@plt>
lea    0xe51(%rip),%rdi
pop    %rax
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [21 x i8] c"prettytt: 2001/12/29\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [60 x i8] c"This program converts a LifeLines binary translation table\0A\00"
@.str.3 = [55 x i8] c"to an ascii version (safe for transmittal in email or\0A\00"
@.str.4 = [22 x i8] c"display on the web).\0A\00"
@.str.5 = [57 x i8] c"With no arguments, it will read from stdin and write to\0A\00"
@.str.6 = [58 x i8] c"stdout. With one argument, it will treat it as the input\0A\00"
@.str.7 = [58 x i8] c"filename. With two arguments, it will treat the first as\0A\00"
@.str.8 = [60 x i8] c"the input filename, and the second as the output filename.\0A\00"
@.str.9 = [58 x i8] c"If an argument is -w, it will ignore leading whitespace.\0A\00"
@.str.10 = [55 x i8] c"This is oriented towards use with files from konwert:\0A\00"
@.str.11 = [57 x i8] c"http://kki.net.pl/qrczak/programy/dos/konwert/index.html\00"
define void @dispversion() {
%1 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [21 x i8] c"prettytt: 2001/12/29\00"
@.str.11 = [57 x i8] c"http://kki.net.pl/qrczak/programy/dos/konwert/index.html\00"
@str = [59 x i8] c"This program converts a LifeLines binary translation table\00"
@str.12 = [54 x i8] c"to an ascii version (safe for transmittal in email or\00"
@str.13 = [21 x i8] c"display on the web).\00"
@str.14 = [56 x i8] c"With no arguments, it will read from stdin and write to\00"
@str.15 = [57 x i8] c"stdout. With one argument, it will treat it as the input\00"
@str.16 = [57 x i8] c"filename. With two arguments, it will treat the first as\00"
@str.17 = [59 x i8] c"the input filename, and the second as the output filename.\00"
@str.18 = [57 x i8] c"If an argument is -w, it will ignore leading whitespace.\00"
@str.19 = [54 x i8] c"This is oriented towards use with files from konwert:\00"
define void @dispversion() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @putchar(i32 10)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.12, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.13, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.16, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.17, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.18, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.19, i64 0, i64 0))
%13 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i64 0, i64 0))
ret void
}