#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_warranty(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 distributed in the hope that it will be "
         "useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty "
         "of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See "
         "the\nGNU General Public License for more details.\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_warranty>:
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    0x1034(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_warranty>:
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    0x1028(%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 = [237 x i8] c"\0AThis program is distributed in the hope that it will be useful,\0Abut WITHOUT ANY WARRANTY; without even the implied warranty of\0AMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0AGNU General Public License for more details.\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_warranty() {
%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 ([237 x i8], [237 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 = [236 x i8] c"\0AThis program is distributed in the hope that it will be useful,\0Abut WITHOUT ANY WARRANTY; without even the implied warranty of\0AMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0AGNU General Public License for more details.\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_warranty() {
%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 ([236 x i8], [236 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
}