#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 ssize_t;

/* Variables and functions */
char *MAP_FAILED;
int /*<<< orphan*/ O_RDONLY;
int PROT_READ;
int PROT_WRITE;
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
char *mmap(char *, int, int, int /*<<< orphan*/, int, int /*<<< orphan*/);
int open(char *, int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *);
int read(int, char *, int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
int main(int argc, char *argv[]) {
  int i, fd;
  char *v[(3 + 2)];
  char *vaddr = (char *)0x90000000;
  ssize_t l;
  printf("Test 44 ");
  fflush(stdout);
  for (i = 0; i < (3 + 2); i++) {
    v[i] = mmap(vaddr, 8192, PROT_READ | PROT_WRITE, 0, -1, 0);
    if (v[i] == MAP_FAILED) {
      perror("mmap");
      fprintf(stderr, "mmap failed\n");
      exit(1);
    }
    if (v[i] != vaddr) {
      fprintf(stderr, "mmap said %p but i wanted %p\n", v[i], vaddr);
      exit(1);
    }
    vaddr += 8192;
  }
  if ((fd = open("/dev/zero", O_RDONLY)) < 0) {
    perror("open");
    fprintf(stderr, "open failed for %s\n", "/dev/zero");
    exit(1);
  }
  if ((l = read(fd, v[0], (3 * 8192))) != (3 * 8192)) {
    fprintf(stderr, "read %d but expected %d\n", l, (3 * 8192));
    exit(1);
  }
  {
    char *t;
    t = v[3] + 8192 - 2;
    if ((l = read(fd, t, 8192)) != 8192) {
      fprintf(stderr, "read %d but expected %d\n", l, 8192);
      exit(1);
    }
  }
  printf("ok\n");
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x90000000,%eax
mov    %rax,-0x48(%rbp)
lea    0xe5a(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e0e(%rip),%rax
mov    (%rax),%edi
call   1070 <fflush@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x5,-0x14(%rbp)
jge    12a5 <main+0x125>
mov    -0x48(%rbp),%rdi
mov    0x2e23(%rip),%rax
mov    (%rax),%edx
mov    0x2dea(%rip),%rax
or     (%rax),%edx
mov    $0x2000,%esi
xor    %r9d,%r9d
mov    $0xffffffff,%r8d
mov    %r9d,%ecx
call   1030 <mmap@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
mov    %rcx,-0x40(%rbp,%rax,8)
movslq -0x14(%rbp),%rax
mov    -0x40(%rbp,%rax,8),%rax
mov    0x2da6(%rip),%rcx
cmp    (%rcx),%rax
jne    1248 <main+0xc8>
lea    0xde7(%rip),%rdi
call   1090 <perror@plt>
mov    0x2da2(%rip),%rax
mov    (%rax),%edi
lea    0xdd7(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
movslq -0x14(%rbp),%rax
mov    -0x40(%rbp,%rax,8),%rax
cmp    -0x48(%rbp),%rax
je     1289 <main+0x109>
mov    0x2d6e(%rip),%rax
mov    (%rax),%edi
movslq -0x14(%rbp),%rax
mov    -0x40(%rbp,%rax,8),%rdx
mov    -0x48(%rbp),%rcx
lea    0xda3(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
mov    -0x48(%rbp),%rax
add    $0x2000,%rax
mov    %rax,-0x48(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11c0 <main+0x40>
mov    0x2d34(%rip),%rax
mov    (%rax),%esi
lea    0xd84(%rip),%rdi
call   1080 <open@plt>
mov    %eax,-0x18(%rbp)
cmp    $0x0,%eax
jge    12fa <main+0x17a>
lea    0xd76(%rip),%rdi
call   1090 <perror@plt>
mov    0x2cf7(%rip),%rax
mov    (%rax),%edi
lea    0xd66(%rip),%rsi
lea    0xd50(%rip),%rdx
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
mov    -0x18(%rbp),%edi
mov    -0x40(%rbp),%rsi
mov    $0x6000,%edx
call   1050 <read@plt>
mov    %eax,-0x4c(%rbp)
cmp    $0x6000,%eax
je     1342 <main+0x1c2>
mov    0x2cb0(%rip),%rax
mov    (%rax),%edi
mov    -0x4c(%rbp),%edx
lea    0xd30(%rip),%rsi
mov    $0x6000,%ecx
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
mov    -0x28(%rbp),%rax
add    $0x2000,%rax
add    $0xfffffffffffffffe,%rax
mov    %rax,-0x58(%rbp)
mov    -0x18(%rbp),%edi
mov    -0x58(%rbp),%rsi
mov    $0x2000,%edx
call   1050 <read@plt>
mov    %eax,-0x4c(%rbp)
cmp    $0x2000,%eax
je     139c <main+0x21c>
mov    0x2c56(%rip),%rax
mov    (%rax),%edi
mov    -0x4c(%rbp),%edx
lea    0xcd6(%rip),%rsi
mov    $0x2000,%ecx
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
lea    0xcd2(%rip),%rdi
call   1040 <printf@plt>
xor    %edi,%edi
call   10a0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    $0x90000000,%r14d
lea    0xe5a(%rip),%rdi
call   1050 <printf@plt>
mov    0x2e0e(%rip),%rax
mov    (%rax),%edi
call   1080 <fflush@plt>
mov    0x2e38(%rip),%r15
mov    0x2e01(%rip),%r12
mov    (%r12),%edx
or     (%r15),%edx
mov    $0x90000000,%edi
mov    $0x2000,%esi
xor    %ecx,%ecx
mov    $0xffffffff,%r8d
xor    %r9d,%r9d
call   1040 <mmap@plt>
mov    0x2dc9(%rip),%r13
cmp    0x0(%r13),%rax
jne    1222 <main+0x92>
lea    0xe0d(%rip),%rdi
call   10a0 <perror@plt>
mov    0x2dc8(%rip),%rax
mov    (%rax),%edi
lea    0xdfd(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
cmp    %r14,%rax
jne    1354 <main+0x1c4>
mov    (%r12),%edx
or     (%r15),%edx
lea    0x2000(%r14),%rbx
mov    %rbx,%rdi
mov    $0x2000,%esi
xor    %ecx,%ecx
mov    $0xffffffff,%r8d
xor    %r9d,%r9d
call   1040 <mmap@plt>
cmp    0x0(%r13),%rax
je     11f5 <main+0x65>
cmp    %rbx,%rax
jne    1359 <main+0x1c9>
mov    (%r12),%edx
or     (%r15),%edx
lea    0x4000(%r14),%rbx
mov    %rbx,%rdi
mov    $0x2000,%esi
xor    %ecx,%ecx
mov    $0xffffffff,%r8d
xor    %r9d,%r9d
call   1040 <mmap@plt>
cmp    0x0(%r13),%rax
je     11f5 <main+0x65>
cmp    %rbx,%rax
jne    1359 <main+0x1c9>
mov    (%r12),%edx
or     (%r15),%edx
lea    0x6000(%r14),%rbx
mov    %rbx,%rdi
mov    $0x2000,%esi
xor    %ecx,%ecx
mov    $0xffffffff,%r8d
xor    %r9d,%r9d
call   1040 <mmap@plt>
cmp    0x0(%r13),%rax
je     11f5 <main+0x65>
cmp    %rbx,%rax
jne    1359 <main+0x1c9>
mov    (%r12),%edx
or     (%r15),%edx
lea    0x8000(%r14),%rbx
mov    %rbx,%rdi
mov    $0x2000,%esi
xor    %ecx,%ecx
mov    $0xffffffff,%r8d
xor    %r9d,%r9d
call   1040 <mmap@plt>
cmp    0x0(%r13),%rax
je     11f5 <main+0x65>
cmp    %rbx,%rax
jne    1359 <main+0x1c9>
mov    0x2cd2(%rip),%rax
mov    (%rax),%esi
lea    0xd22(%rip),%rdi
call   1090 <open@plt>
test   %eax,%eax
jns    1380 <main+0x1f0>
lea    0xd1c(%rip),%rdi
call   10a0 <perror@plt>
mov    0x2c9d(%rip),%rax
mov    (%rax),%edi
lea    0xd0c(%rip),%rsi
lea    0xcf6(%rip),%rdx
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
mov    $0x90000000,%ebx
mov    0x2c70(%rip),%rcx
mov    (%rcx),%edi
lea    0xcb2(%rip),%rsi
mov    %rax,%rdx
mov    %rbx,%rcx
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
mov    %eax,%ebx
mov    $0x90000000,%esi
mov    %eax,%edi
mov    $0x6000,%edx
call   1060 <read@plt>
cmp    $0x6000,%eax
jne    13ca <main+0x23a>
add    $0x7ffe,%r14
mov    %ebx,%edi
mov    %r14,%rsi
mov    $0x2000,%edx
call   1060 <read@plt>
cmp    $0x2000,%eax
jne    13e3 <main+0x253>
lea    0xcb7(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10b0 <exit@plt>
mov    0x2bff(%rip),%rcx
mov    (%rcx),%edi
lea    0xc82(%rip),%rsi
mov    %eax,%edx
mov    $0x6000,%ecx
jmp    13fa <main+0x26a>
mov    0x2be6(%rip),%rcx
mov    (%rcx),%edi
lea    0xc69(%rip),%rsi
mov    %eax,%edx
mov    $0x2000,%ecx
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"Test 44 \00"
@stdout = global i32 0
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_FAILED = global i8* null
@.str.1 = [5 x i8] c"mmap\00"
@stderr = global i32 0
@.str.2 = [13 x i8] c"mmap failed\0A\00"
@.str.3 = [30 x i8] c"mmap said %p but i wanted %p\0A\00"
@.str.4 = [10 x i8] c"/dev/zero\00"
@O_RDONLY = global i32 0
@.str.5 = [5 x i8] c"open\00"
@.str.6 = [20 x i8] c"open failed for %s\0A\00"
@.str.7 = [25 x i8] c"read %d but expected %d\0A\00"
@.str.8 = [4 x i8] c"ok\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca [5 x i8*]
%9 = alloca i8*
%10 = alloca i32
%11 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8* inttoptr (i64 2415919104 to i8*), i8** %9
%12 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = call i32 @fflush(i32 %13)
store i32 0, i32* %6
br label %15
15: ; preds = %57, %2
%16 = load i32, i32* %6
%17 = icmp slt i32 %16, 5
br i1 %17, label %18, label %60
18: ; preds = %15
%19 = load i8*, i8** %9
%20 = load i32, i32* @PROT_READ
%21 = load i32, i32* @PROT_WRITE
%22 = or i32 %20, %21
%23 = call i8* @mmap(i8* %19, i32 8192, i32 %22, i32 0, i32 -1, i32 0)
%24 = load i32, i32* %6
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i8*], [5 x i8*]* %8, i64 0, i64 %25
store i8* %23, i8** %26
%27 = load i32, i32* %6
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [5 x i8*], [5 x i8*]* %8, i64 0, i64 %28
%30 = load i8*, i8** %29
%31 = load i8*, i8** @MAP_FAILED
%32 = icmp eq i8* %30, %31
br i1 %32, label %33, label %38
33: ; preds = %18
%34 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = call i32 (i32, i8*, ...) @fprintf(i32 %35, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%37 = call i32 @exit(i32 1)
unreachable
38: ; preds = %18
%39 = load i32, i32* %6
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [5 x i8*], [5 x i8*]* %8, i64 0, i64 %40
%42 = load i8*, i8** %41
%43 = load i8*, i8** %9
%44 = icmp ne i8* %42, %43
br i1 %44, label %45, label %54
45: ; preds = %38
%46 = load i32, i32* @stderr
%47 = load i32, i32* %6
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [5 x i8*], [5 x i8*]* %8, i64 0, i64 %48
%50 = load i8*, i8** %49
%51 = load i8*, i8** %9
%52 = call i32 (i32, i8*, ...) @fprintf(i32 %46, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i8* %50, i8* %51)
%53 = call i32 @exit(i32 1)
unreachable
54: ; preds = %38
%55 = load i8*, i8** %9
%56 = getelementptr inbounds i8, i8* %55, i64 8192
store i8* %56, i8** %9
br label %57
57: ; preds = %54
%58 = load i32, i32* %6
%59 = add nsw i32 %58, 1
store i32 %59, i32* %6
br label %15
60: ; preds = %15
%61 = load i32, i32* @O_RDONLY
%62 = call i32 @open(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %61)
store i32 %62, i32* %7
%63 = icmp slt i32 %62, 0
br i1 %63, label %64, label %69
64: ; preds = %60
%65 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%66 = load i32, i32* @stderr
%67 = call i32 (i32, i8*, ...) @fprintf(i32 %66, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%68 = call i32 @exit(i32 1)
unreachable
69: ; preds = %60
%70 = load i32, i32* %7
%71 = getelementptr inbounds [5 x i8*], [5 x i8*]* %8, i64 0, i64 0
%72 = load i8*, i8** %71
%73 = call i32 @read(i32 %70, i8* %72, i32 24576)
store i32 %73, i32* %10
%74 = icmp ne i32 %73, 24576
br i1 %74, label %75, label %80
75: ; preds = %69
%76 = load i32, i32* @stderr
%77 = load i32, i32* %10
%78 = call i32 (i32, i8*, ...) @fprintf(i32 %76, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i32 %77, i32 24576)
%79 = call i32 @exit(i32 1)
unreachable
80: ; preds = %69
%81 = getelementptr inbounds [5 x i8*], [5 x i8*]* %8, i64 0, i64 3
%82 = load i8*, i8** %81
%83 = getelementptr inbounds i8, i8* %82, i64 8192
%84 = getelementptr inbounds i8, i8* %83, i64 -2
store i8* %84, i8** %11
%85 = load i32, i32* %7
%86 = load i8*, i8** %11
%87 = call i32 @read(i32 %85, i8* %86, i32 8192)
store i32 %87, i32* %10
%88 = icmp ne i32 %87, 8192
br i1 %88, label %89, label %94
89: ; preds = %80
%90 = load i32, i32* @stderr
%91 = load i32, i32* %10
%92 = call i32 (i32, i8*, ...) @fprintf(i32 %90, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i32 %91, i32 8192)
%93 = call i32 @exit(i32 1)
unreachable
94: ; preds = %80
%95 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%96 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [9 x i8] c"Test 44 \00"
@stdout = global i32 0
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_FAILED = global i8* null
@.str.1 = [5 x i8] c"mmap\00"
@stderr = global i32 0
@.str.2 = [13 x i8] c"mmap failed\0A\00"
@.str.3 = [30 x i8] c"mmap said %p but i wanted %p\0A\00"
@.str.4 = [10 x i8] c"/dev/zero\00"
@O_RDONLY = global i32 0
@.str.5 = [5 x i8] c"open\00"
@.str.6 = [20 x i8] c"open failed for %s\0A\00"
@.str.7 = [25 x i8] c"read %d but expected %d\0A\00"
@str = [3 x i8] c"ok\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* @stdout
%5 = tail call i32 @fflush(i32 %4)
%6 = load i32, i32* @PROT_READ
%7 = load i32, i32* @PROT_WRITE
%8 = or i32 %7, %6
%9 = tail call i8* @mmap(i8* inttoptr (i64 2415919104 to i8*), i32 8192, i32 %8, i32 0, i32 -1, i32 0)
%10 = load i8*, i8** @MAP_FAILED
%11 = icmp eq i8* %9, %10
br i1 %11, label %12, label %17
12: ; preds = %52, %43, %34, %25, %2
%13 = tail call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%16 = tail call i32 @exit(i32 1)
unreachable
17: ; preds = %2
%18 = icmp eq i8* %9, inttoptr (i64 2415919104 to i8*)
br i1 %18, label %25, label %19
19: ; preds = %59, %50, %41, %32, %17
%20 = phi i8* [ inttoptr (i64 2415919104 to i8*), %17 ], [ inttoptr (i64 2415927296 to i8*), %32 ], [ inttoptr (i64 2415935488 to i8*), %41 ], [ inttoptr (i64 2415943680 to i8*), %50 ], [ inttoptr (i64 2415951872 to i8*), %59 ]
%21 = phi i8* [ %9, %17 ], [ %29, %32 ], [ %38, %41 ], [ %47, %50 ], [ %56, %59 ]
%22 = load i32, i32* @stderr
%23 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i8* %21, i8* %20)
%24 = tail call i32 @exit(i32 1)
unreachable
25: ; preds = %17
%26 = load i32, i32* @PROT_READ
%27 = load i32, i32* @PROT_WRITE
%28 = or i32 %27, %26
%29 = tail call i8* @mmap(i8* inttoptr (i64 2415927296 to i8*), i32 8192, i32 %28, i32 0, i32 -1, i32 0)
%30 = load i8*, i8** @MAP_FAILED
%31 = icmp eq i8* %29, %30
br i1 %31, label %12, label %32
32: ; preds = %25
%33 = icmp eq i8* %29, inttoptr (i64 2415927296 to i8*)
br i1 %33, label %34, label %19
34: ; preds = %32
%35 = load i32, i32* @PROT_READ
%36 = load i32, i32* @PROT_WRITE
%37 = or i32 %36, %35
%38 = tail call i8* @mmap(i8* inttoptr (i64 2415935488 to i8*), i32 8192, i32 %37, i32 0, i32 -1, i32 0)
%39 = load i8*, i8** @MAP_FAILED
%40 = icmp eq i8* %38, %39
br i1 %40, label %12, label %41
41: ; preds = %34
%42 = icmp eq i8* %38, inttoptr (i64 2415935488 to i8*)
br i1 %42, label %43, label %19
43: ; preds = %41
%44 = load i32, i32* @PROT_READ
%45 = load i32, i32* @PROT_WRITE
%46 = or i32 %45, %44
%47 = tail call i8* @mmap(i8* inttoptr (i64 2415943680 to i8*), i32 8192, i32 %46, i32 0, i32 -1, i32 0)
%48 = load i8*, i8** @MAP_FAILED
%49 = icmp eq i8* %47, %48
br i1 %49, label %12, label %50
50: ; preds = %43
%51 = icmp eq i8* %47, inttoptr (i64 2415943680 to i8*)
br i1 %51, label %52, label %19
52: ; preds = %50
%53 = load i32, i32* @PROT_READ
%54 = load i32, i32* @PROT_WRITE
%55 = or i32 %54, %53
%56 = tail call i8* @mmap(i8* inttoptr (i64 2415951872 to i8*), i32 8192, i32 %55, i32 0, i32 -1, i32 0)
%57 = load i8*, i8** @MAP_FAILED
%58 = icmp eq i8* %56, %57
br i1 %58, label %12, label %59
59: ; preds = %52
%60 = icmp eq i8* %56, inttoptr (i64 2415951872 to i8*)
br i1 %60, label %61, label %19
61: ; preds = %59
%62 = load i32, i32* @O_RDONLY
%63 = tail call i32 @open(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %62)
%64 = icmp slt i32 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %61
%66 = tail call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%67 = load i32, i32* @stderr
%68 = tail call i32 (i32, i8*, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%69 = tail call i32 @exit(i32 1)
unreachable
70: ; preds = %61
%71 = tail call i32 @read(i32 %63, i8* inttoptr (i64 2415919104 to i8*), i32 24576)
%72 = icmp eq i32 %71, 24576
br i1 %72, label %77, label %73
73: ; preds = %70
%74 = load i32, i32* @stderr
%75 = tail call i32 (i32, i8*, ...) @fprintf(i32 %74, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i32 %71, i32 24576)
%76 = tail call i32 @exit(i32 1)
unreachable
77: ; preds = %70
%78 = tail call i32 @read(i32 %63, i8* inttoptr (i64 2415951870 to i8*), i32 8192)
%79 = icmp eq i32 %78, 8192
br i1 %79, label %84, label %80
80: ; preds = %77
%81 = load i32, i32* @stderr
%82 = tail call i32 (i32, i8*, ...) @fprintf(i32 %81, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i32 %78, i32 8192)
%83 = tail call i32 @exit(i32 1)
unreachable
84: ; preds = %77
%85 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str, i64 0, i64 0))
%86 = tail call i32 @exit(i32 0)
unreachable
}