#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 */
#define EACCES 130
#define EINTR 129
#define ENOENT 128
int O_NOCTTY;
int O_NONBLOCK;
int O_RDONLY;
int /*<<< orphan*/ _exit(int);
int /*<<< orphan*/ close(int);
int errno;
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, long);
int /*<<< orphan*/ free(char *);
char *malloc(unsigned int);
int open(char const *, int);
int /*<<< orphan*/ perror(char *);
int read(int, char *, unsigned int);
char *realloc(char *, unsigned int);
int /*<<< orphan*/ stderr;
void read_file(const char *restrict filename, char **bufp,
               unsigned *restrict roomp) {
  int fd = 0;
  ssize_t done;
  char *buf = *bufp;
  ssize_t total = 0;
  unsigned room = *roomp;
  if (!room) {
    goto hell;
  }
  if (!buf) {
    buf = malloc(room);
  }
  if (!buf) {
    goto hell;
  }
open_again:
  fd = open(filename, O_RDONLY | O_NOCTTY | O_NONBLOCK);
  if (fd < 0) {
    switch (errno) {
    case EINTR:
      goto open_again;
    default:
      _exit(101);
    case EACCES:
    case ENOENT:;
    }
    goto hell;
  }
  for (;;) {
    done = read(fd, buf + total, room - total - 1);
    if (done == 0) {
      break;
    }
    if (done == -1) {
      if (errno == EINTR) {
        continue;
      }
      perror("");
      goto hell;
    }
    if (done == (ssize_t)room - total - 1) {
      char *tmp;
      total += done;
      room *= 2;
      tmp = realloc(buf, room);
      if (!tmp) {
        goto hell;
      }
      buf = tmp;
      continue;
    }
    if (done > 0 && done < (ssize_t)room - total - 1) {
      total += done;
      continue;
    }
    fprintf(stderr, "%ld can't happen\n", (long)done);
    _exit(42);
  }
  buf[total] = '\0';
  *bufp = buf;
  *roomp = room;
  close(fd);
  return;
hell:
  if (buf) {
    free(buf);
  }
  *bufp = NULL;
  *roomp = 0;
  total = 0;
  if (fd > 0) {
    close(fd);
  }
  return;
}


x86 assembly (clang, -O0):
<read_file>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x30(%rbp)
cmpl   $0x0,-0x30(%rbp)
jne    11d5 <read_file+0x45>
jmp    13c2 <read_file+0x232>
cmpq   $0x0,-0x28(%rbp)
jne    11ec <read_file+0x5c>
mov    -0x30(%rbp),%edi
call   1080 <malloc@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    11fc <read_file+0x6c>
jmp    13c2 <read_file+0x232>
jmp    1201 <read_file+0x71>
mov    -0x8(%rbp),%rdi
mov    0x2dd4(%rip),%rax
mov    (%rax),%esi
mov    0x2dbb(%rip),%rax
or     (%rax),%esi
mov    0x2dca(%rip),%rax
or     (%rax),%esi
call   10a0 <open@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jge    128d <read_file+0xfd>
mov    0x2d87(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
sub    $0x80,%eax
je     1283 <read_file+0xf3>
jmp    124e <read_file+0xbe>
mov    -0x3c(%rbp),%eax
sub    $0x81,%eax
je     1274 <read_file+0xe4>
jmp    1261 <read_file+0xd1>
mov    -0x3c(%rbp),%eax
sub    $0x82,%eax
je     1283 <read_file+0xf3>
jmp    1279 <read_file+0xe9>
jmp    1201 <read_file+0x71>
mov    $0x65,%edi
call   1040 <_exit@plt>
jmp    1288 <read_file+0xf8>
jmp    13c2 <read_file+0x232>
jmp    1292 <read_file+0x102>
mov    -0x1c(%rbp),%edi
mov    -0x28(%rbp),%rsi
movslq -0x2c(%rbp),%rax
add    %rax,%rsi
mov    -0x30(%rbp),%edx
sub    -0x2c(%rbp),%edx
sub    $0x1,%edx
call   1060 <read@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x0,-0x20(%rbp)
jne    12c0 <read_file+0x130>
jmp    1395 <read_file+0x205>
cmpl   $0xffffffff,-0x20(%rbp)
jne    12f3 <read_file+0x163>
mov    0x2cef(%rip),%rax
cmpl   $0x81,(%rax)
jne    12e2 <read_file+0x152>
jmp    1292 <read_file+0x102>
lea    0xd28(%rip),%rdi
call   10b0 <perror@plt>
jmp    13c2 <read_file+0x232>
mov    -0x20(%rbp),%eax
mov    -0x30(%rbp),%ecx
sub    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jne    1346 <read_file+0x1b6>
mov    -0x20(%rbp),%eax
add    -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x30(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0x30(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x30(%rbp),%esi
call   1090 <realloc@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
jne    1339 <read_file+0x1a9>
jmp    13c2 <read_file+0x232>
mov    -0x38(%rbp),%rax
mov    %rax,-0x28(%rbp)
jmp    1292 <read_file+0x102>
cmpl   $0x0,-0x20(%rbp)
jle    1372 <read_file+0x1e2>
mov    -0x20(%rbp),%eax
mov    -0x30(%rbp),%ecx
sub    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1372 <read_file+0x1e2>
mov    -0x20(%rbp),%eax
add    -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
jmp    1292 <read_file+0x102>
mov    0x2c4f(%rip),%rax
mov    (%rax),%edi
movslq -0x20(%rbp),%rdx
lea    0xc7a(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x2a,%edi
call   1040 <_exit@plt>
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x28(%rbp),%rcx
mov    -0x10(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x30(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x1c(%rbp),%edi
call   1050 <close@plt>
jmp    1409 <read_file+0x279>
cmpq   $0x0,-0x28(%rbp)
je     13d6 <read_file+0x246>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
movq   $0x0,(%rax)
mov    -0x18(%rbp),%rax
movl   $0x0,(%rax)
movl   $0x0,-0x2c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jle    1404 <read_file+0x274>
mov    -0x1c(%rbp),%edi
call   1050 <close@plt>
jmp    1409 <read_file+0x279>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<read_file>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%rbx
mov    (%rsi),%rdi
mov    (%rdx),%ebp
test   %ebp,%ebp
je     124b <read_file+0xbb>
test   %rdi,%rdi
jne    11cc <read_file+0x3c>
mov    %ebp,%edi
call   1080 <malloc@plt>
mov    %rax,%rdi
test   %rax,%rax
je     1330 <read_file+0x1a0>
mov    %rdi,0x18(%rsp)
mov    %rbp,0x20(%rsp)
mov    %r15,0x8(%rsp)
mov    %r14,0x10(%rsp)
mov    0x2df9(%rip),%r15
mov    0x2de2(%rip),%r12
mov    0x2df3(%rip),%r13
mov    0x2dc4(%rip),%r14
nopl   0x0(%rax)
mov    (%r12),%esi
or     (%r15),%esi
or     0x0(%r13),%esi
mov    %rbx,%rdi
call   10a0 <open@plt>
mov    %eax,%ebp
test   %eax,%eax
jns    1272 <read_file+0xe2>
mov    (%r14),%eax
cmp    $0x81,%eax
je     1200 <read_file+0x70>
cmp    $0x80,%eax
je     1235 <read_file+0xa5>
cmp    $0x82,%eax
jne    1374 <read_file+0x1e4>
mov    0x10(%rsp),%r14
mov    0x8(%rsp),%r15
mov    0x18(%rsp),%rdi
test   %rdi,%rdi
jne    1252 <read_file+0xc2>
jmp    1257 <read_file+0xc7>
xor    %ebp,%ebp
test   %rdi,%rdi
je     1257 <read_file+0xc7>
call   1030 <free@plt>
movq   $0x0,(%r15)
movl   $0x0,(%r14)
test   %ebp,%ebp
jg     131b <read_file+0x18b>
jmp    133e <read_file+0x1ae>
xor    %ebx,%ebx
mov    0x20(%rsp),%rdx
mov    0x18(%rsp),%rax
mov    %rax,%rcx
mov    %ebx,0x18(%rsp)
movslq %ebx,%rbx
mov    %rcx,%r12
lea    (%rcx,%rbx,1),%r13
not    %ebx
mov    %rdx,%r15
add    %edx,%ebx
cs nopw 0x0(%rax,%rax,1)
mov    %ebp,%edi
mov    %r13,%rsi
mov    %ebx,%edx
call   1060 <read@plt>
cmp    $0xffffffff,%eax
jne    12c0 <read_file+0x130>
cmpl   $0x81,(%r14)
je     12a0 <read_file+0x110>
jmp    134d <read_file+0x1bd>
nop
test   %eax,%eax
mov    %r15,%rdx
je     1307 <read_file+0x177>
cmp    %ebx,%eax
je     12e6 <read_file+0x156>
test   %eax,%eax
jle    137e <read_file+0x1ee>
cmp    %ebx,%eax
jge    137e <read_file+0x1ee>
mov    %r12,%rcx
mov    0x18(%rsp),%ebx
add    %eax,%ebx
jmp    1281 <read_file+0xf1>
lea    -0x1(%rdx),%ebx
add    %edx,%edx
mov    %r12,%rdi
mov    %rdx,%r15
mov    %r15d,%esi
call   1090 <realloc@plt>
mov    %r15,%rdx
test   %rax,%rax
jne    127e <read_file+0xee>
jmp    1359 <read_file+0x1c9>
movb   $0x0,0x0(%r13)
mov    0x8(%rsp),%rax
mov    %r12,(%rax)
mov    0x10(%rsp),%rax
mov    %edx,(%rax)
mov    %ebp,%edi
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <close@plt>
movq   $0x0,(%r15)
movl   $0x0,(%r14)
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xcbd(%rip),%rdi
call   10b0 <perror@plt>
mov    %r12,%rdi
mov    0x10(%rsp),%r14
mov    0x8(%rsp),%r15
test   %rdi,%rdi
jne    1252 <read_file+0xc2>
jmp    1257 <read_file+0xc7>
mov    $0x65,%edi
call   1040 <_exit@plt>
mov    0x2c43(%rip),%rcx
mov    (%rcx),%edi
movslq %eax,%rdx
lea    0xc6f(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x2a,%edi
call   1040 <_exit@plt>

LLVM IR (-O0):
@O_RDONLY = global i32 0
@O_NOCTTY = global i32 0
@O_NONBLOCK = global i32 0
@errno = global i32 0
@.str = [1 x i8] zeroinitializer
@stderr = global i32 0
@.str.1 = [18 x i8] c"%ld can't happen\0A\00"
define void @read_file(i8* noalias %0, i8** %1, i32* noalias %2) {
%4 = alloca i8*
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i32
%11 = alloca i32
%12 = alloca i8*
store i8* %0, i8** %4
store i8** %1, i8*** %5
store i32* %2, i32** %6
store i32 0, i32* %7
%13 = load i8**, i8*** %5
%14 = load i8*, i8** %13
store i8* %14, i8** %9
store i32 0, i32* %10
%15 = load i32*, i32** %6
%16 = load i32, i32* %15
store i32 %16, i32* %11
%17 = load i32, i32* %11
%18 = icmp ne i32 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %3
br label %124
20: ; preds = %3
%21 = load i8*, i8** %9
%22 = icmp ne i8* %21, null
br i1 %22, label %26, label %23
23: ; preds = %20
%24 = load i32, i32* %11
%25 = call i8* @malloc(i32 %24)
store i8* %25, i8** %9
br label %26
26: ; preds = %23, %20
%27 = load i8*, i8** %9
%28 = icmp ne i8* %27, null
br i1 %28, label %30, label %29
29: ; preds = %26
br label %124
30: ; preds = %26
br label %31
31: ; preds = %43, %30
%32 = load i8*, i8** %4
%33 = load i32, i32* @O_RDONLY
%34 = load i32, i32* @O_NOCTTY
%35 = or i32 %33, %34
%36 = load i32, i32* @O_NONBLOCK
%37 = or i32 %35, %36
%38 = call i32 @open(i8* %32, i32 %37)
store i32 %38, i32* %7
%39 = load i32, i32* %7
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %48
41: ; preds = %31
%42 = load i32, i32* @errno
switch i32 %42, label %44 [
i32 129, label %43
i32 130, label %46
i32 128, label %46
]
43: ; preds = %41
br label %31
44: ; preds = %41
%45 = call i32 @_exit(i32 101)
unreachable
46: ; preds = %41, %41
br label %47
47: ; preds = %46
br label %124
48: ; preds = %31
br label %49
49: ; preds = %103, %91, %69, %48
%50 = load i32, i32* %7
%51 = load i8*, i8** %9
%52 = load i32, i32* %10
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, i8* %51, i64 %53
%55 = load i32, i32* %11
%56 = load i32, i32* %10
%57 = sub i32 %55, %56
%58 = sub i32 %57, 1
%59 = call i32 @read(i32 %50, i8* %54, i32 %58)
store i32 %59, i32* %8
%60 = load i32, i32* %8
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %49
br label %113
63: ; preds = %49
%64 = load i32, i32* %8
%65 = icmp eq i32 %64, -1
br i1 %65, label %66, label %72
66: ; preds = %63
%67 = load i32, i32* @errno
%68 = icmp eq i32 %67, 129
br i1 %68, label %69, label %70
69: ; preds = %66
br label %49
70: ; preds = %66
%71 = call i32 @perror(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
br label %124
72: ; preds = %63
%73 = load i32, i32* %8
%74 = load i32, i32* %11
%75 = load i32, i32* %10
%76 = sub nsw i32 %74, %75
%77 = sub nsw i32 %76, 1
%78 = icmp eq i32 %73, %77
br i1 %78, label %79, label %93
79: ; preds = %72
%80 = load i32, i32* %8
%81 = load i32, i32* %10
%82 = add nsw i32 %81, %80
store i32 %82, i32* %10
%83 = load i32, i32* %11
%84 = mul i32 %83, 2
store i32 %84, i32* %11
%85 = load i8*, i8** %9
%86 = load i32, i32* %11
%87 = call i8* @realloc(i8* %85, i32 %86)
store i8* %87, i8** %12
%88 = load i8*, i8** %12
%89 = icmp ne i8* %88, null
br i1 %89, label %91, label %90
90: ; preds = %79
br label %124
91: ; preds = %79
%92 = load i8*, i8** %12
store i8* %92, i8** %9
br label %49
93: ; preds = %72
%94 = load i32, i32* %8
%95 = icmp sgt i32 %94, 0
br i1 %95, label %96, label %107
96: ; preds = %93
%97 = load i32, i32* %8
%98 = load i32, i32* %11
%99 = load i32, i32* %10
%100 = sub nsw i32 %98, %99
%101 = sub nsw i32 %100, 1
%102 = icmp slt i32 %97, %101
br i1 %102, label %103, label %107
103: ; preds = %96
%104 = load i32, i32* %8
%105 = load i32, i32* %10
%106 = add nsw i32 %105, %104
store i32 %106, i32* %10
br label %49
107: ; preds = %96, %93
%108 = load i32, i32* @stderr
%109 = load i32, i32* %8
%110 = sext i32 %109 to i64
%111 = call i32 @fprintf(i32 %108, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i64 %110)
%112 = call i32 @_exit(i32 42)
unreachable
113: ; preds = %62
%114 = load i8*, i8** %9
%115 = load i32, i32* %10
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, i8* %114, i64 %116
store i8 0, i8* %117
%118 = load i8*, i8** %9
%119 = load i8**, i8*** %5
store i8* %118, i8** %119
%120 = load i32, i32* %11
%121 = load i32*, i32** %6
store i32 %120, i32* %121
%122 = load i32, i32* %7
%123 = call i32 @close(i32 %122)
br label %139
124: ; preds = %90, %70, %47, %29, %19
%125 = load i8*, i8** %9
%126 = icmp ne i8* %125, null
br i1 %126, label %127, label %130
127: ; preds = %124
%128 = load i8*, i8** %9
%129 = call i32 @free(i8* %128)
br label %130
130: ; preds = %127, %124
%131 = load i8**, i8*** %5
store i8* null, i8** %131
%132 = load i32*, i32** %6
store i32 0, i32* %132
store i32 0, i32* %10
%133 = load i32, i32* %7
%134 = icmp sgt i32 %133, 0
br i1 %134, label %135, label %138
135: ; preds = %130
%136 = load i32, i32* %7
%137 = call i32 @close(i32 %136)
br label %138
138: ; preds = %135, %130
br label %139
139: ; preds = %138, %113
ret void
}

LLVM IR (-O2):
@O_RDONLY = global i32 0
@O_NOCTTY = global i32 0
@O_NONBLOCK = global i32 0
@errno = global i32 0
@.str = [1 x i8] zeroinitializer
@stderr = global i32 0
@.str.1 = [18 x i8] c"%ld can't happen\0A\00"
define void @read_file(i8* noalias nocapture %0, i8** nocapture %1, i32* noalias nocapture %2) {
%4 = load i8*, i8** %1
%5 = load i32, i32* %2
%6 = icmp eq i32 %5, 0
br i1 %6, label %64, label %7
7: ; preds = %3
%8 = icmp eq i8* %4, null
br i1 %8, label %9, label %12
9: ; preds = %7
%10 = tail call i8* @malloc(i32 %5)
%11 = icmp eq i8* %10, null
br i1 %11, label %14, label %12
12: ; preds = %7, %9
%13 = phi i8* [ %10, %9 ], [ %4, %7 ]
br label %15
14: ; preds = %9
store i8* null, i8** %1
store i32 0, i32* %2
br label %74
15: ; preds = %12, %23
%16 = load i32, i32* @O_RDONLY
%17 = load i32, i32* @O_NOCTTY
%18 = or i32 %17, %16
%19 = load i32, i32* @O_NONBLOCK
%20 = or i32 %18, %19
%21 = tail call i32 @open(i8* %0, i32 %20)
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %41
23: ; preds = %15
%24 = load i32, i32* @errno
switch i32 %24, label %25 [
i32 129, label %15
i32 130, label %64
i32 128, label %64
]
25: ; preds = %23
%26 = tail call i32 @_exit(i32 101)
unreachable
27: ; preds = %45, %29
%28 = tail call i32 @read(i32 %21, i8* %48, i32 %50)
switch i32 %28, label %34 [
i32 0, label %62
i32 -1, label %29
]
29: ; preds = %27
%30 = load i32, i32* @errno
%31 = icmp eq i32 %30, 129
br i1 %31, label %27, label %32
32: ; preds = %29
%33 = tail call i32 @perror(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
br label %64
34: ; preds = %27
%35 = icmp eq i32 %28, %50
br i1 %35, label %36, label %51
36: ; preds = %34
%37 = add i32 %44, -1
%38 = shl i32 %44, 1
%39 = tail call i8* @realloc(i8* %42, i32 %38)
%40 = icmp eq i8* %39, null
br i1 %40, label %64, label %41
41: ; preds = %15, %36
%42 = phi i8* [ %39, %36 ], [ %13, %15 ]
%43 = phi i32 [ %37, %36 ], [ 0, %15 ]
%44 = phi i32 [ %38, %36 ], [ %5, %15 ]
br label %45
45: ; preds = %41, %55
%46 = phi i32 [ %43, %41 ], [ %56, %55 ]
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, i8* %42, i64 %47
%49 = xor i32 %46, -1
%50 = add i32 %44, %49
br label %27
51: ; preds = %34
%52 = icmp sgt i32 %28, 0
%53 = icmp slt i32 %28, %50
%54 = and i1 %52, %53
br i1 %54, label %55, label %57
55: ; preds = %51
%56 = add nsw i32 %28, %46
br label %45
57: ; preds = %51
%58 = load i32, i32* @stderr
%59 = sext i32 %28 to i64
%60 = tail call i32 @fprintf(i32 %58, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i64 %59)
%61 = tail call i32 @_exit(i32 42)
unreachable
62: ; preds = %27
store i8 0, i8* %48
store i8* %42, i8** %1
store i32 %44, i32* %2
%63 = tail call i32 @close(i32 %21)
br label %74
64: ; preds = %23, %23, %36, %3, %32
%65 = phi i8* [ %42, %32 ], [ %4, %3 ], [ %42, %36 ], [ %13, %23 ], [ %13, %23 ]
%66 = phi i32 [ %21, %32 ], [ 0, %3 ], [ %21, %36 ], [ %21, %23 ], [ %21, %23 ]
%67 = icmp eq i8* %65, null
br i1 %67, label %70, label %68
68: ; preds = %64
%69 = tail call i32 @free(i8* %65)
br label %70
70: ; preds = %68, %64
store i8* null, i8** %1
store i32 0, i32* %2
%71 = icmp sgt i32 %66, 0
br i1 %71, label %72, label %74
72: ; preds = %70
%73 = tail call i32 @close(i32 %66)
br label %74
74: ; preds = %14, %70, %72, %62
ret void
}