#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*/ clearScreen();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ waitKey();
void prgPurposeDesc(void) {
  printf("\n   ======================= ADF CHECKER ================== \n\n");
  printf("This program has been coded for checking ADFs, i. e. Amiga Disk \n");
  printf("files. Actually, this ought to be the task of real Amiga programs\n");
  printf("especially made for this purpose.\n");
  printf("However, many people that have never been involved into the Amiga "
         "days,\n");
  printf("would not even be able to set up a Workbench, let alone install a "
         "*.lha\n");
  printf("archive from Aminet. Those would rather have a handy application "
         "able to\n");
  printf("do this error-checking from within their native OS.\n");
  printf("Did I say 'native OS'? Of course, this application is portable and "
         "can\n");
  printf("be compiled with gcc and used under UNIX/Linux as well!\n\n");
  printf("\n");
  waitKey();
  clearScreen();
}


x86 assembly (clang, -O0):
<prgPurposeDesc>:
push   %rbp
mov    %rsp,%rbp
lea    0xec5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef7(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf64(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb8(%rip),%rdi
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1033(%rip),%rdi
call   1030 <printf@plt>
lea    0x105c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1098(%rip),%rdi
call   1030 <printf@plt>
lea    0xe89(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1050 <waitKey@plt>
mov    $0x0,%al
call   1040 <clearScreen@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<prgPurposeDesc>:
push   %rax
lea    0xeb8(%rip),%rdi
call   1040 <puts@plt>
lea    0xee9(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf54(%rip),%rdi
call   1040 <puts@plt>
lea    0xf6a(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa6(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe2(%rip),%rdi
call   1040 <puts@plt>
lea    0x101f(%rip),%rdi
call   1040 <puts@plt>
lea    0x1047(%rip),%rdi
call   1040 <puts@plt>
lea    0x1082(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
call   1060 <waitKey@plt>
xor    %eax,%eax
pop    %rcx
jmp    1050 <clearScreen@plt>

LLVM IR (-O0):
@.str = [62 x i8] c"\0A ======================= ADF CHECKER ================== \0A\0A\00"
@.str.1 = [66 x i8] c"This program has been coded for checking ADFs, i. e. Amiga Disk \0A\00"
@.str.2 = [67 x i8] c"files. Actually, this ought to be the task of real Amiga programs\0A\00"
@.str.3 = [35 x i8] c"especially made for this purpose.\0A\00"
@.str.4 = [73 x i8] c"However, many people that have never been involved into the Amiga days,\0A\00"
@.str.5 = [73 x i8] c"would not even be able to set up a Workbench, let alone install a *.lha\0A\00"
@.str.6 = [74 x i8] c"archive from Aminet. Those would rather have a handy application able to\0A\00"
@.str.7 = [53 x i8] c"do this error-checking from within their native OS.\0A\00"
@.str.8 = [72 x i8] c"Did I say 'native OS'? Of course, this application is portable and can\0A\00"
@.str.9 = [58 x i8] c"be compiled with gcc and used under UNIX/Linux as well!\0A\0A\00"
@.str.10 = [2 x i8] c"\0A\00"
define void @prgPurposeDesc() {
%1 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 (...) @waitKey()
%13 = call i32 (...) @clearScreen()
ret void
}

LLVM IR (-O2):
@str = [61 x i8] c"\0A ======================= ADF CHECKER ================== \0A\00"
@str.11 = [65 x i8] c"This program has been coded for checking ADFs, i. e. Amiga Disk \00"
@str.12 = [66 x i8] c"files. Actually, this ought to be the task of real Amiga programs\00"
@str.13 = [34 x i8] c"especially made for this purpose.\00"
@str.14 = [72 x i8] c"However, many people that have never been involved into the Amiga days,\00"
@str.15 = [72 x i8] c"would not even be able to set up a Workbench, let alone install a *.lha\00"
@str.16 = [73 x i8] c"archive from Aminet. Those would rather have a handy application able to\00"
@str.17 = [52 x i8] c"do this error-checking from within their native OS.\00"
@str.18 = [71 x i8] c"Did I say 'native OS'? Of course, this application is portable and can\00"
@str.19 = [57 x i8] c"be compiled with gcc and used under UNIX/Linux as well!\0A\00"
define void @prgPurposeDesc() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.11, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.13, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @putchar(i32 10)
%12 = tail call i32 (...) @waitKey()
%13 = tail call i32 (...) @clearScreen()
ret void
}