#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_copyright(void) {
  printf("FIRESTARTER - A Processor Stress Test Utility, Version %i.%i\n", 1,
         2);
  printf("Copyright (C) %i TU Dresden, Center for Information Services and "
         "High Performance Computing\n",
         2014);
  printf("\nThis program is free software: you can redistribute it and/or "
         "modify\nit under the terms of the GNU General Public License as "
         "published by\nthe Free Software Foundation, either version 3 of the "
         "License, or\n(at your option) any later version.\n\n");
  printf("You should have received a copy of the GNU General Public "
         "License\nalong with this program.  If not, see "
         "<http://www.gnu.org/licenses/>.\n\n");
}


x86 assembly (clang, -O0):
<show_copyright>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0b(%rip),%rdi
mov    $0x7de,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf55(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x103a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_copyright>:
push   %rax
lea    0xed8(%rip),%rdi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xefe(%rip),%rdi
mov    $0x7de,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf48(%rip),%rdi
call   1030 <puts@plt>
lea    0x102e(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [62 x i8] c"FIRESTARTER - A Processor Stress Test Utility, Version %i.%i\0A\00"
@.str.1 = [93 x i8] c"Copyright (C) %i TU Dresden, Center for Information Services and High Performance Computing\0A\00"
@.str.2 = [243 x i8] c"\0AThis program is free software: you can redistribute it and/or modify\0Ait under the terms of the GNU General Public License as published by\0Athe Free Software Foundation, either version 3 of the License, or\0A(at your option) any later version.\0A\0A\00"
@.str.3 = [138 x i8] c"You should have received a copy of the GNU General Public License\0Aalong with this program. If not, see <http://www.gnu.org/licenses/>.\0A\0A\00"
define void @show_copyright() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0), i32 1, i32 2)
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.1, i64 0, i64 0), i32 2014)
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([243 x i8], [243 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([138 x i8], [138 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [62 x i8] c"FIRESTARTER - A Processor Stress Test Utility, Version %i.%i\0A\00"
@.str.1 = [93 x i8] c"Copyright (C) %i TU Dresden, Center for Information Services and High Performance Computing\0A\00"
@str = [242 x i8] c"\0AThis program is free software: you can redistribute it and/or modify\0Ait under the terms of the GNU General Public License as published by\0Athe Free Software Foundation, either version 3 of the License, or\0A(at your option) any later version.\0A\00"
@str.4 = [137 x i8] c"You should have received a copy of the GNU General Public License\0Aalong with this program. If not, see <http://www.gnu.org/licenses/>.\0A\00"
define void @show_copyright() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0), i32 1, i32 2)
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([93 x i8], [93 x i8]* @.str.1, i64 0, i64 0), i32 2014)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([242 x i8], [242 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([137 x i8], [137 x i8]* @str.4, i64 0, i64 0))
ret void
}