#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*/ alldone(int);
int /*<<< orphan*/ non_fatal(char *, char *);
int /*<<< orphan*/ unlink(char *);
void fatal(char *s1, char *s2) {
  non_fatal(s1, s2);
  (void)unlink("pan.b");
  (void)unlink("pan.c");
  (void)unlink("pan.h");
  (void)unlink("pan.m");
  (void)unlink("pan.t");
  (void)unlink("pan.p");
  (void)unlink("pan.pre");
  (void)unlink("_spin_nvr.tmp");
  alldone(1);
}


x86 assembly (clang, -O0):
<fatal>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1050 <non_fatal@plt>
lea    0xeac(%rip),%rdi
call   1030 <unlink@plt>
lea    0xea6(%rip),%rdi
call   1030 <unlink@plt>
lea    0xea0(%rip),%rdi
call   1030 <unlink@plt>
lea    0xe9a(%rip),%rdi
call   1030 <unlink@plt>
lea    0xe94(%rip),%rdi
call   1030 <unlink@plt>
lea    0xe8e(%rip),%rdi
call   1030 <unlink@plt>
lea    0xe88(%rip),%rdi
call   1030 <unlink@plt>
lea    0xe84(%rip),%rdi
call   1030 <unlink@plt>
mov    $0x1,%edi
call   1040 <alldone@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fatal>:
push   %rax
call   1050 <non_fatal@plt>
lea    0xec3(%rip),%rdi
call   1030 <unlink@plt>
lea    0xebd(%rip),%rdi
call   1030 <unlink@plt>
lea    0xeb7(%rip),%rdi
call   1030 <unlink@plt>
lea    0xeb1(%rip),%rdi
call   1030 <unlink@plt>
lea    0xeab(%rip),%rdi
call   1030 <unlink@plt>
lea    0xea5(%rip),%rdi
call   1030 <unlink@plt>
lea    0xe9f(%rip),%rdi
call   1030 <unlink@plt>
lea    0xe9b(%rip),%rdi
call   1030 <unlink@plt>
mov    $0x1,%edi
pop    %rax
jmp    1040 <alldone@plt>

LLVM IR (-O0):
@.str = [6 x i8] c"pan.b\00"
@.str.1 = [6 x i8] c"pan.c\00"
@.str.2 = [6 x i8] c"pan.h\00"
@.str.3 = [6 x i8] c"pan.m\00"
@.str.4 = [6 x i8] c"pan.t\00"
@.str.5 = [6 x i8] c"pan.p\00"
@.str.6 = [8 x i8] c"pan.pre\00"
@.str.7 = [14 x i8] c"_spin_nvr.tmp\00"
define void @fatal(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
store i8* %0, i8** %3
store i8* %1, i8** %4
%5 = load i8*, i8** %3
%6 = load i8*, i8** %4
%7 = call i32 @non_fatal(i8* %5, i8* %6)
%8 = call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%9 = call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%10 = call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%12 = call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%13 = call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%14 = call i32 @unlink(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%15 = call i32 @unlink(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0))
%16 = call i32 @alldone(i32 1)
ret void
}

LLVM IR (-O2):
@.str = [6 x i8] c"pan.b\00"
@.str.1 = [6 x i8] c"pan.c\00"
@.str.2 = [6 x i8] c"pan.h\00"
@.str.3 = [6 x i8] c"pan.m\00"
@.str.4 = [6 x i8] c"pan.t\00"
@.str.5 = [6 x i8] c"pan.p\00"
@.str.6 = [8 x i8] c"pan.pre\00"
@.str.7 = [14 x i8] c"_spin_nvr.tmp\00"
define void @fatal(i8* %0, i8* %1) {
%3 = tail call i32 @non_fatal(i8* %0, i8* %1)
%4 = tail call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%8 = tail call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%9 = tail call i32 @unlink(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%10 = tail call i32 @unlink(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%11 = tail call i32 @unlink(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0))
%12 = tail call i32 @alldone(i32 1)
ret void
}