#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 */
typedef int /*<<< orphan*/ i;

/* Variables and functions */
int MAP_SHARED;
int O_CREAT;
int O_RDWR;
int O_TRUNC;
int PROT_READ;
int PROT_WRITE;
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ exit(int);
scalar_t__ fork();
scalar_t__ mmap(int /*<<< orphan*/ *, int, int, int, int, int /*<<< orphan*/);
int open(char *, int, ...);
int /*<<< orphan*/ sleep(int);
int /*<<< orphan*/ unlink(char *);
int /*<<< orphan*/ write(int, int *, int);
main() {
  int *buf;
  int i;
  int fd = open("conftest.mmap", O_RDWR | O_CREAT | O_TRUNC, 0666);
  int count = 7;
  if (fd == -1)
    exit(1);
  for (i = 0; i < 10000; i++) {
    write(fd, &i, sizeof(i));
  }
  close(fd);
  if (fork() == 0) {
    fd = open("conftest.mmap", O_RDWR);
    if (fd == -1)
      exit(1);
    buf = (int *)mmap(NULL, 10000 * sizeof(int), (PROT_READ | PROT_WRITE),
                      0 | MAP_SHARED, fd, 0);
    if (buf == (int *)-1)
      exit(1);
    while (count-- && buf[9124] != 55732)
      sleep(1);
    if (count <= 0)
      exit(1);
    buf[1763] = 7268;
    exit(0);
  }
  fd = open("conftest.mmap", O_RDWR);
  if (fd == -1)
    exit(1);
  buf = (int *)mmap(NULL, 10000 * sizeof(int), (PROT_READ | PROT_WRITE),
                    0 | MAP_SHARED, fd, 0);
  if (buf == (int *)-1)
    exit(1);
  buf[9124] = 55732;
  while (count-- && buf[1763] != 7268)
    sleep(1);
  unlink("conftest.mmap");
  if (count > 0)
    exit(0);
  exit(1);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2e32(%rip),%rax
mov    (%rax),%esi
mov    0x2e59(%rip),%rax
or     (%rax),%esi
mov    0x2e48(%rip),%rax
or     (%rax),%esi
lea    0xe4f(%rip),%rdi
mov    $0x1b6,%edx
mov    $0x0,%al
call   1070 <open@plt>
mov    %eax,-0x18(%rbp)
movl   $0x7,-0x1c(%rbp)
cmpl   $0xffffffff,-0x18(%rbp)
jne    11db <main+0x5b>
mov    $0x1,%edi
call   1080 <exit@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x2710,-0x14(%rbp)
jge    120e <main+0x8e>
mov    -0x18(%rbp),%edi
lea    -0x14(%rbp),%rsi
mov    $0x4,%edx
call   1040 <write@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11e2 <main+0x62>
mov    -0x18(%rbp),%edi
call   1060 <close@plt>
mov    $0x0,%al
call   10a0 <fork@plt>
cmp    $0x0,%rax
jne    1321 <main+0x1a1>
mov    0x2d9a(%rip),%rax
mov    (%rax),%esi
lea    0xdc9(%rip),%rdi
mov    $0x0,%al
call   1070 <open@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0xffffffff,-0x18(%rbp)
jne    1255 <main+0xd5>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    0x2d8c(%rip),%rax
mov    (%rax),%edx
mov    0x2d53(%rip),%rax
or     (%rax),%edx
mov    0x2d6a(%rip),%rax
mov    (%rax),%ecx
or     $0x0,%ecx
mov    -0x18(%rbp),%r8d
xor    %eax,%eax
mov    %eax,%edi
mov    $0x9c40,%esi
xor    %r9d,%r9d
call   1050 <mmap@plt>
mov    %rax,-0x10(%rbp)
mov    $0xffffffffffffffff,%rax
cmp    %rax,-0x10(%rbp)
jne    12a7 <main+0x127>
mov    $0x1,%edi
call   1080 <exit@plt>
jmp    12ac <main+0x12c>
mov    -0x1c(%rbp),%ecx
mov    %ecx,%eax
add    $0xffffffff,%eax
mov    %eax,-0x1c(%rbp)
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1d(%rbp)
je     12d9 <main+0x159>
mov    -0x10(%rbp),%rax
cmpl   $0xd9b4,0x8e90(%rax)
setne  %al
mov    %al,-0x1d(%rbp)
mov    -0x1d(%rbp),%al
test   $0x1,%al
jne    12e9 <main+0x169>
jmp    12f8 <main+0x178>
mov    $0x1,%edi
call   1090 <sleep@plt>
jmp    12ac <main+0x12c>
cmpl   $0x0,-0x1c(%rbp)
jg     130c <main+0x18c>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    -0x10(%rbp),%rax
movl   $0x1c64,0x1b8c(%rax)
xor    %edi,%edi
call   1080 <exit@plt>
mov    0x2ca0(%rip),%rax
mov    (%rax),%esi
lea    0xccf(%rip),%rdi
mov    $0x0,%al
call   1070 <open@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0xffffffff,-0x18(%rbp)
jne    134f <main+0x1cf>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    0x2c92(%rip),%rax
mov    (%rax),%edx
mov    0x2c59(%rip),%rax
or     (%rax),%edx
mov    0x2c70(%rip),%rax
mov    (%rax),%ecx
or     $0x0,%ecx
mov    -0x18(%rbp),%r8d
xor    %eax,%eax
mov    %eax,%edi
mov    $0x9c40,%esi
xor    %r9d,%r9d
call   1050 <mmap@plt>
mov    %rax,-0x10(%rbp)
mov    $0xffffffffffffffff,%rax
cmp    %rax,-0x10(%rbp)
jne    13a1 <main+0x221>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    -0x10(%rbp),%rax
movl   $0xd9b4,0x8e90(%rax)
mov    -0x1c(%rbp),%ecx
mov    %ecx,%eax
add    $0xffffffff,%eax
mov    %eax,-0x1c(%rbp)
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1e(%rbp)
je     13dc <main+0x25c>
mov    -0x10(%rbp),%rax
cmpl   $0x1c64,0x1b8c(%rax)
setne  %al
mov    %al,-0x1e(%rbp)
mov    -0x1e(%rbp),%al
test   $0x1,%al
jne    13ec <main+0x26c>
jmp    13fb <main+0x27b>
mov    $0x1,%edi
call   1090 <sleep@plt>
jmp    13af <main+0x22f>
lea    0xbfe(%rip),%rdi
call   1030 <unlink@plt>
cmpl   $0x0,-0x1c(%rbp)
jle    1418 <main+0x298>
xor    %edi,%edi
call   1080 <exit@plt>
mov    $0x1,%edi
call   1080 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    0x2e3a(%rip),%r15
mov    0x2e63(%rip),%rax
mov    (%rax),%esi
or     (%r15),%esi
mov    0x2e4f(%rip),%rax
or     (%rax),%esi
lea    0xe56(%rip),%rdi
mov    $0x1b6,%edx
xor    %eax,%eax
call   1070 <open@plt>
cmp    $0xffffffff,%eax
je     1333 <main+0x1b3>
mov    %eax,%ebx
movl   $0x0,0x4(%rsp)
mov    $0x1,%ebp
lea    0x4(%rsp),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %ebx,%edi
mov    %r14,%rsi
mov    $0x4,%edx
call   1040 <write@plt>
mov    %ebp,0x4(%rsp)
add    $0x1,%ebp
cmp    $0x2711,%ebp
jne    11e0 <main+0x60>
mov    %ebx,%edi
call   1060 <close@plt>
xor    %eax,%eax
call   10a0 <fork@plt>
mov    %rax,%rbx
mov    (%r15),%esi
lea    0xde7(%rip),%rdi
xor    %eax,%eax
call   1070 <open@plt>
test   %rbx,%rbx
jne    12fb <main+0x17b>
cmp    $0xffffffff,%eax
je     1333 <main+0x1b3>
mov    0x2daf(%rip),%rcx
mov    0x2d78(%rip),%rdx
mov    (%rdx),%edx
or     (%rcx),%edx
mov    0x2d8d(%rip),%rcx
mov    (%rcx),%ecx
xor    %edi,%edi
mov    $0x9c40,%esi
mov    %eax,%r8d
xor    %r9d,%r9d
call   1050 <mmap@plt>
cmp    $0xffffffffffffffff,%rax
je     1333 <main+0x1b3>
mov    %rax,%rbx
cmpl   $0xd9b4,0x8e90(%rax)
je     12ea <main+0x16a>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0xd9b4,0x8e90(%rbx)
je     12ea <main+0x16a>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0xd9b4,0x8e90(%rbx)
je     12ea <main+0x16a>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0xd9b4,0x8e90(%rbx)
je     12ea <main+0x16a>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0xd9b4,0x8e90(%rbx)
je     12ea <main+0x16a>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0xd9b4,0x8e90(%rbx)
jne    13d7 <main+0x257>
movl   $0x1c64,0x1b8c(%rbx)
xor    %edi,%edi
call   1080 <exit@plt>
cmp    $0xffffffff,%eax
je     1333 <main+0x1b3>
mov    0x2ce1(%rip),%rcx
mov    0x2caa(%rip),%rdx
mov    (%rdx),%edx
or     (%rcx),%edx
mov    0x2cbf(%rip),%rcx
mov    (%rcx),%ecx
xor    %edi,%edi
mov    $0x9c40,%esi
mov    %eax,%r8d
xor    %r9d,%r9d
call   1050 <mmap@plt>
cmp    $0xffffffffffffffff,%rax
jne    133d <main+0x1bd>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    %rax,%rbx
movl   $0xd9b4,0x8e90(%rax)
cmpl   $0x1c64,0x1b8c(%rax)
je     13c4 <main+0x244>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0x1c64,0x1b8c(%rbx)
je     13c4 <main+0x244>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0x1c64,0x1b8c(%rbx)
je     13c4 <main+0x244>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0x1c64,0x1b8c(%rbx)
je     13c4 <main+0x244>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0x1c64,0x1b8c(%rbx)
je     13c4 <main+0x244>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0x1c64,0x1b8c(%rbx)
jne    1405 <main+0x285>
lea    0xc35(%rip),%rdi
call   1030 <unlink@plt>
xor    %edi,%edi
call   1080 <exit@plt>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0xd9b4,0x8e90(%rbx)
je     1333 <main+0x1b3>
mov    $0x1,%edi
call   1090 <sleep@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    $0x1,%edi
call   1090 <sleep@plt>
cmpl   $0x1c64,0x1b8c(%rbx)
je     1425 <main+0x2a5>
mov    $0x1,%edi
call   1090 <sleep@plt>
lea    0xbd4(%rip),%rdi
call   1030 <unlink@plt>
mov    $0x1,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@.str = [14 x i8] c"conftest.mmap\00"
@O_RDWR = global i32 0
@O_CREAT = global i32 0
@O_TRUNC = global i32 0
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_SHARED = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
%6 = load i32, i32* @O_RDWR
%7 = load i32, i32* @O_CREAT
%8 = or i32 %6, %7
%9 = load i32, i32* @O_TRUNC
%10 = or i32 %8, %9
%11 = call i32 (i8*, i32, ...) @open(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 %10, i32 438)
store i32 %11, i32* %4
store i32 7, i32* %5
%12 = load i32, i32* %4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @exit(i32 1)
unreachable
16: ; preds = %0
store i32 0, i32* %3
br label %17
17: ; preds = %23, %16
%18 = load i32, i32* %3
%19 = icmp slt i32 %18, 10000
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = load i32, i32* %4
%22 = call i32 @write(i32 %21, i32* %3, i32 4)
br label %23
23: ; preds = %20
%24 = load i32, i32* %3
%25 = add nsw i32 %24, 1
store i32 %25, i32* %3
br label %17
26: ; preds = %17
%27 = load i32, i32* %4
%28 = call i32 @close(i32 %27)
%29 = call i64 (...) @fork()
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %74
31: ; preds = %26
%32 = load i32, i32* @O_RDWR
%33 = call i32 (i8*, i32, ...) @open(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 %32)
store i32 %33, i32* %4
%34 = load i32, i32* %4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = call i32 @exit(i32 1)
unreachable
38: ; preds = %31
%39 = load i32, i32* @PROT_READ
%40 = load i32, i32* @PROT_WRITE
%41 = or i32 %39, %40
%42 = load i32, i32* @MAP_SHARED
%43 = or i32 0, %42
%44 = load i32, i32* %4
%45 = call i64 @mmap(i32* null, i32 40000, i32 %41, i32 %43, i32 %44, i32 0)
%46 = inttoptr i64 %45 to i32*
store i32* %46, i32** %2
%47 = load i32*, i32** %2
%48 = icmp eq i32* %47, inttoptr (i64 -1 to i32*)
br i1 %48, label %49, label %51
49: ; preds = %38
%50 = call i32 @exit(i32 1)
unreachable
51: ; preds = %38
br label %52
52: ; preds = %63, %51
%53 = load i32, i32* %5
%54 = add nsw i32 %53, -1
store i32 %54, i32* %5
%55 = icmp ne i32 %53, 0
br i1 %55, label %56, label %61
56: ; preds = %52
%57 = load i32*, i32** %2
%58 = getelementptr inbounds i32, i32* %57, i64 9124
%59 = load i32, i32* %58
%60 = icmp ne i32 %59, 55732
br label %61
61: ; preds = %56, %52
%62 = phi i1 [ false, %52 ], [ %60, %56 ]
br i1 %62, label %63, label %65
63: ; preds = %61
%64 = call i32 @sleep(i32 1)
br label %52
65: ; preds = %61
%66 = load i32, i32* %5
%67 = icmp sle i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %65
%69 = call i32 @exit(i32 1)
unreachable
70: ; preds = %65
%71 = load i32*, i32** %2
%72 = getelementptr inbounds i32, i32* %71, i64 1763
store i32 7268, i32* %72
%73 = call i32 @exit(i32 0)
unreachable
74: ; preds = %26
%75 = load i32, i32* @O_RDWR
%76 = call i32 (i8*, i32, ...) @open(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 %75)
store i32 %76, i32* %4
%77 = load i32, i32* %4
%78 = icmp eq i32 %77, -1
br i1 %78, label %79, label %81
79: ; preds = %74
%80 = call i32 @exit(i32 1)
unreachable
81: ; preds = %74
%82 = load i32, i32* @PROT_READ
%83 = load i32, i32* @PROT_WRITE
%84 = or i32 %82, %83
%85 = load i32, i32* @MAP_SHARED
%86 = or i32 0, %85
%87 = load i32, i32* %4
%88 = call i64 @mmap(i32* null, i32 40000, i32 %84, i32 %86, i32 %87, i32 0)
%89 = inttoptr i64 %88 to i32*
store i32* %89, i32** %2
%90 = load i32*, i32** %2
%91 = icmp eq i32* %90, inttoptr (i64 -1 to i32*)
br i1 %91, label %92, label %94
92: ; preds = %81
%93 = call i32 @exit(i32 1)
unreachable
94: ; preds = %81
%95 = load i32*, i32** %2
%96 = getelementptr inbounds i32, i32* %95, i64 9124
store i32 55732, i32* %96
br label %97
97: ; preds = %108, %94
%98 = load i32, i32* %5
%99 = add nsw i32 %98, -1
store i32 %99, i32* %5
%100 = icmp ne i32 %98, 0
br i1 %100, label %101, label %106
101: ; preds = %97
%102 = load i32*, i32** %2
%103 = getelementptr inbounds i32, i32* %102, i64 1763
%104 = load i32, i32* %103
%105 = icmp ne i32 %104, 7268
br label %106
106: ; preds = %101, %97
%107 = phi i1 [ false, %97 ], [ %105, %101 ]
br i1 %107, label %108, label %110
108: ; preds = %106
%109 = call i32 @sleep(i32 1)
br label %97
110: ; preds = %106
%111 = call i32 @unlink(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%112 = load i32, i32* %5
%113 = icmp sgt i32 %112, 0
br i1 %113, label %114, label %116
114: ; preds = %110
%115 = call i32 @exit(i32 0)
unreachable
116: ; preds = %110
%117 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [14 x i8] c"conftest.mmap\00"
@O_RDWR = global i32 0
@O_CREAT = global i32 0
@O_TRUNC = global i32 0
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_SHARED = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = load i32, i32* @O_RDWR
%4 = load i32, i32* @O_CREAT
%5 = or i32 %4, %3
%6 = load i32, i32* @O_TRUNC
%7 = or i32 %5, %6
%8 = tail call i32 (i8*, i32, ...) @open(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 %7, i32 438)
%9 = icmp eq i32 %8, -1
br i1 %9, label %11, label %10
10: ; preds = %0
store i32 0, i32* %1
br label %13
11: ; preds = %0
%12 = tail call i32 @exit(i32 1)
unreachable
13: ; preds = %10, %13
%14 = phi i32 [ 0, %10 ], [ %16, %13 ]
%15 = call i32 @write(i32 %8, i32* %1, i32 4)
%16 = add nuw nsw i32 %14, 1
store i32 %16, i32* %1
%17 = icmp eq i32 %16, 10000
br i1 %17, label %18, label %13
18: ; preds = %13
%19 = tail call i32 @close(i32 %8)
%20 = tail call i64 (...) @fork()
%21 = icmp eq i64 %20, 0
%22 = load i32, i32* @O_RDWR
%23 = tail call i32 (i8*, i32, ...) @open(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 %22)
%24 = icmp eq i32 %23, -1
br i1 %21, label %25, label %73
25: ; preds = %18
br i1 %24, label %26, label %28
26: ; preds = %25
%27 = tail call i32 @exit(i32 1)
unreachable
28: ; preds = %25
%29 = load i32, i32* @PROT_READ
%30 = load i32, i32* @PROT_WRITE
%31 = or i32 %30, %29
%32 = load i32, i32* @MAP_SHARED
%33 = tail call i64 @mmap(i32* null, i32 40000, i32 %31, i32 %32, i32 %23, i32 0)
%34 = inttoptr i64 %33 to i32*
%35 = icmp eq i32* %34, inttoptr (i64 -1 to i32*)
br i1 %35, label %40, label %36
36: ; preds = %28
%37 = getelementptr inbounds i32, i32* %34, i64 9124
%38 = load i32, i32* %37
%39 = icmp eq i32 %38, 55732
br i1 %39, label %70, label %42
40: ; preds = %28
%41 = tail call i32 @exit(i32 1)
unreachable
42: ; preds = %36
%43 = tail call i32 @sleep(i32 1)
%44 = load i32, i32* %37
%45 = icmp eq i32 %44, 55732
br i1 %45, label %70, label %46
46: ; preds = %42
%47 = tail call i32 @sleep(i32 1)
%48 = load i32, i32* %37
%49 = icmp eq i32 %48, 55732
br i1 %49, label %70, label %50
50: ; preds = %46
%51 = tail call i32 @sleep(i32 1)
%52 = load i32, i32* %37
%53 = icmp eq i32 %52, 55732
br i1 %53, label %70, label %54
54: ; preds = %50
%55 = tail call i32 @sleep(i32 1)
%56 = load i32, i32* %37
%57 = icmp eq i32 %56, 55732
br i1 %57, label %70, label %58
58: ; preds = %54
%59 = tail call i32 @sleep(i32 1)
%60 = load i32, i32* %37
%61 = icmp eq i32 %60, 55732
br i1 %61, label %70, label %62
62: ; preds = %58
%63 = tail call i32 @sleep(i32 1)
%64 = load i32, i32* %37
%65 = icmp eq i32 %64, 55732
br i1 %65, label %68, label %66
66: ; preds = %62
%67 = tail call i32 @sleep(i32 1)
br label %68
68: ; preds = %62, %66
%69 = tail call i32 @exit(i32 1)
unreachable
70: ; preds = %58, %54, %50, %46, %42, %36
%71 = getelementptr inbounds i32, i32* %34, i64 1763
store i32 7268, i32* %71
%72 = tail call i32 @exit(i32 0)
unreachable
73: ; preds = %18
br i1 %24, label %74, label %76
74: ; preds = %73
%75 = tail call i32 @exit(i32 1)
unreachable
76: ; preds = %73
%77 = load i32, i32* @PROT_READ
%78 = load i32, i32* @PROT_WRITE
%79 = or i32 %78, %77
%80 = load i32, i32* @MAP_SHARED
%81 = tail call i64 @mmap(i32* null, i32 40000, i32 %79, i32 %80, i32 %23, i32 0)
%82 = inttoptr i64 %81 to i32*
%83 = icmp eq i32* %82, inttoptr (i64 -1 to i32*)
br i1 %83, label %84, label %86
84: ; preds = %76
%85 = tail call i32 @exit(i32 1)
unreachable
86: ; preds = %76
%87 = getelementptr inbounds i32, i32* %82, i64 9124
store i32 55732, i32* %87
%88 = getelementptr inbounds i32, i32* %82, i64 1763
%89 = load i32, i32* %88
%90 = icmp eq i32 %89, 7268
br i1 %90, label %117, label %91
91: ; preds = %86
%92 = tail call i32 @sleep(i32 1)
%93 = load i32, i32* %88
%94 = icmp eq i32 %93, 7268
br i1 %94, label %117, label %95
95: ; preds = %91
%96 = tail call i32 @sleep(i32 1)
%97 = load i32, i32* %88
%98 = icmp eq i32 %97, 7268
br i1 %98, label %117, label %99
99: ; preds = %95
%100 = tail call i32 @sleep(i32 1)
%101 = load i32, i32* %88
%102 = icmp eq i32 %101, 7268
br i1 %102, label %117, label %103
103: ; preds = %99
%104 = tail call i32 @sleep(i32 1)
%105 = load i32, i32* %88
%106 = icmp eq i32 %105, 7268
br i1 %106, label %117, label %107
107: ; preds = %103
%108 = tail call i32 @sleep(i32 1)
%109 = load i32, i32* %88
%110 = icmp eq i32 %109, 7268
br i1 %110, label %117, label %111
111: ; preds = %107
%112 = tail call i32 @sleep(i32 1)
%113 = load i32, i32* %88
%114 = icmp eq i32 %113, 7268
br i1 %114, label %120, label %115
115: ; preds = %111
%116 = tail call i32 @sleep(i32 1)
br label %120
117: ; preds = %107, %103, %99, %95, %91, %86
%118 = tail call i32 @unlink(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%119 = tail call i32 @exit(i32 0)
unreachable
120: ; preds = %111, %115
%121 = tail call i32 @unlink(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%122 = tail call i32 @exit(i32 1)
unreachable
}