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

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ O_RDWR;
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ errno;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, char *);
int open(char *, int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ stderr;
char *strerror(int /*<<< orphan*/);
size_t strlen(char *);
scalar_t__ write(int, char *, size_t);
void update_map(char *mapping, char *map_file) {
  int fd;
  size_t map_len;
  map_len = strlen(mapping);
  for (int j = 0; j < (int)map_len; j++)
    if (mapping[j] == ',')
      mapping[j] = '\n';
  fd = open(map_file, O_RDWR);
  if (fd == -1) {
    fprintf(stderr, "ERROR: open %s: %s\n", map_file, strerror(errno));
    exit(EXIT_FAILURE);
  }
  ssize_t wres = write(fd, mapping, map_len);
  if (wres < 0)
    do {
      perror("write");
      exit(EXIT_FAILURE);
    } while (0);
  if ((size_t)wres != map_len) {
    fprintf(stderr, "ERROR: incomplete write %s: %s\n", map_file,
            strerror(errno));
    exit(EXIT_FAILURE);
  }
  close(fd);
}


x86 assembly (clang, -O0):
<update_map>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1040 <strlen@plt>
mov    %rax,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    -0x20(%rbp),%rcx
cmp    %ecx,%eax
jge    11e7 <update_map+0x67>
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x2c,%eax
jne    11d4 <update_map+0x54>
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
movb   $0xa,(%rax,%rcx,1)
jmp    11d9 <update_map+0x59>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11a4 <update_map+0x24>
mov    -0x10(%rbp),%rdi
mov    0x2df6(%rip),%rax
mov    (%rax),%esi
call   1070 <open@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xffffffff,-0x14(%rbp)
jne    124c <update_map+0xcc>
mov    0x2dcb(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    0x2daf(%rip),%rax
mov    (%rax),%edi
call   10a0 <strerror@plt>
mov    -0x3c(%rbp),%edi
mov    -0x38(%rbp),%rdx
mov    %rax,%rcx
lea    0xdc7(%rip),%rsi
call   1060 <fprintf@plt>
mov    0x2d83(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>
mov    -0x14(%rbp),%edi
mov    -0x8(%rbp),%rsi
mov    -0x20(%rbp),%rdx
call   1030 <write@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jge    128a <update_map+0x10a>
jmp    1270 <update_map+0xf0>
lea    0xd9d(%rip),%rdi
call   1080 <perror@plt>
mov    0x2d45(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>
mov    -0x30(%rbp),%rax
cmp    -0x20(%rbp),%rax
je     12de <update_map+0x15e>
mov    0x2d39(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    0x2d1d(%rip),%rax
mov    (%rax),%edi
call   10a0 <strerror@plt>
mov    -0x4c(%rbp),%edi
mov    -0x48(%rbp),%rdx
mov    %rax,%rcx
lea    0xd4f(%rip),%rsi
call   1060 <fprintf@plt>
mov    0x2cf1(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>
mov    -0x14(%rbp),%edi
call   1050 <close@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<update_map>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
call   1040 <strlen@plt>
mov    %rax,%r15
test   %r15d,%r15d
jle    136b <update_map+0x1eb>
mov    %r15d,%eax
cmp    $0x10,%rax
jae    11ae <update_map+0x2e>
xor    %ecx,%ecx
jmp    13b9 <update_map+0x239>
mov    %r15d,%edx
and    $0xf,%edx
mov    %rax,%rcx
sub    %rdx,%rcx
xor    %esi,%esi
movdqa 0xe3c(%rip),%xmm0
movdqa 0xe44(%rip),%xmm1
jmp    11dd <update_map+0x5d>
xchg   %ax,%ax
add    $0x10,%rsi
cmp    %rsi,%rcx
je     1366 <update_map+0x1e6>
movq   (%rbx,%rsi,1),%xmm3
movdqa %xmm3,%xmm2
pcmpeqb %xmm0,%xmm2
movd   %xmm2,%edi
test   $0x1,%dil
je     11f8 <update_map+0x78>
movb   $0xa,(%rbx,%rsi,1)
movdqa %xmm2,%xmm4
pslld  $0x8,%xmm4
movd   %xmm4,%edi
shr    $0x10,%edi
test   $0x1,%dil
je     1213 <update_map+0x93>
movb   $0xa,0x1(%rbx,%rsi,1)
pshuflw $0x55,%xmm3,%xmm4
pcmpeqb %xmm0,%xmm4
pextrw $0x2,%xmm4,%edi
test   $0x1,%dil
je     122c <update_map+0xac>
movb   $0xa,0x2(%rbx,%rsi,1)
movdqa %xmm2,%xmm4
psllq  $0x18,%xmm4
pextrw $0x3,%xmm4,%edi
test   $0x1,%dil
je     1245 <update_map+0xc5>
movb   $0xa,0x3(%rbx,%rsi,1)
pshufd $0x55,%xmm3,%xmm3
pcmpeqb %xmm1,%xmm3
pextrw $0x4,%xmm3,%edi
test   $0x1,%dil
je     125e <update_map+0xde>
movb   $0xa,0x4(%rbx,%rsi,1)
movdqa %xmm2,%xmm3
pslldq $0x5,%xmm3
pextrw $0x5,%xmm3,%edi
test   $0x1,%dil
je     1277 <update_map+0xf7>
movb   $0xa,0x5(%rbx,%rsi,1)
pextrw $0x3,%xmm2,%edi
test   $0x1,%dil
je     1287 <update_map+0x107>
movb   $0xa,0x6(%rbx,%rsi,1)
pslldq $0x7,%xmm2
pextrw $0x7,%xmm2,%edi
test   $0x1,%dil
je     129c <update_map+0x11c>
movb   $0xa,0x7(%rbx,%rsi,1)
movq   0x8(%rbx,%rsi,1),%xmm3
movdqa %xmm3,%xmm2
pcmpeqb %xmm0,%xmm2
movd   %xmm2,%edi
test   $0x1,%dil
je     12b9 <update_map+0x139>
movb   $0xa,0x8(%rbx,%rsi,1)
movdqa %xmm2,%xmm4
pslld  $0x8,%xmm4
movd   %xmm4,%edi
shr    $0x10,%edi
test   $0x1,%dil
je     12d4 <update_map+0x154>
movb   $0xa,0x9(%rbx,%rsi,1)
pshuflw $0x55,%xmm3,%xmm4
pcmpeqb %xmm0,%xmm4
pextrw $0x2,%xmm4,%edi
test   $0x1,%dil
je     12ed <update_map+0x16d>
movb   $0xa,0xa(%rbx,%rsi,1)
movdqa %xmm2,%xmm4
psllq  $0x18,%xmm4
pextrw $0x3,%xmm4,%edi
test   $0x1,%dil
je     1306 <update_map+0x186>
movb   $0xa,0xb(%rbx,%rsi,1)
pshufd $0x55,%xmm3,%xmm3
pcmpeqb %xmm1,%xmm3
pextrw $0x4,%xmm3,%edi
test   $0x1,%dil
je     131f <update_map+0x19f>
movb   $0xa,0xc(%rbx,%rsi,1)
movdqa %xmm2,%xmm3
pslldq $0x5,%xmm3
pextrw $0x5,%xmm3,%edi
test   $0x1,%dil
je     1338 <update_map+0x1b8>
movb   $0xa,0xd(%rbx,%rsi,1)
pextrw $0x3,%xmm2,%edi
test   $0x1,%dil
je     1348 <update_map+0x1c8>
movb   $0xa,0xe(%rbx,%rsi,1)
pslldq $0x7,%xmm2
pextrw $0x7,%xmm2,%edi
test   $0x1,%dil
je     11d0 <update_map+0x50>
movb   $0xa,0xf(%rbx,%rsi,1)
jmp    11d0 <update_map+0x50>
test   %rdx,%rdx
jne    13b9 <update_map+0x239>
mov    0x2c76(%rip),%rax
mov    (%rax),%esi
mov    %r14,%rdi
call   1070 <open@plt>
cmp    $0xffffffff,%eax
je     13c5 <update_map+0x245>
mov    %eax,%ebp
mov    %eax,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   1030 <write@plt>
test   %rax,%rax
js     13e5 <update_map+0x265>
cmp    %r15,%rax
jne    13f3 <update_map+0x273>
mov    %ebp,%edi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <close@plt>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rcx
cmp    %rcx,%rax
je     136b <update_map+0x1eb>
cmpb   $0x2c,(%rbx,%rcx,1)
jne    13b0 <update_map+0x230>
movb   $0xa,(%rbx,%rcx,1)
jmp    13b0 <update_map+0x230>
mov    0x2c0c(%rip),%rax
mov    (%rax),%ebx
mov    0x2bfb(%rip),%rax
mov    (%rax),%edi
call   10a0 <strerror@plt>
lea    0xc3d(%rip),%rsi
jmp    1411 <update_map+0x291>
lea    0xc48(%rip),%rdi
call   1080 <perror@plt>
jmp    141e <update_map+0x29e>
mov    0x2bde(%rip),%rax
mov    (%rax),%ebx
mov    0x2bcd(%rip),%rax
mov    (%rax),%edi
call   10a0 <strerror@plt>
lea    0xc29(%rip),%rsi
mov    %ebx,%edi
mov    %r14,%rdx
mov    %rax,%rcx
call   1060 <fprintf@plt>
mov    0x2ba3(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>

LLVM IR (-O0):
@O_RDWR = global i32 0
@stderr = global i32 0
@.str = [20 x i8] c"ERROR: open %s: %s\0A\00"
@errno = global i32 0
@EXIT_FAILURE = global i32 0
@.str.1 = [6 x i8] c"write\00"
@.str.2 = [32 x i8] c"ERROR: incomplete write %s: %s\0A\00"
define void @update_map(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i64
%7 = alloca i32
%8 = alloca i64
store i8* %0, i8** %3
store i8* %1, i8** %4
%9 = load i8*, i8** %3
%10 = call i64 @strlen(i8* %9)
store i64 %10, i64* %6
store i32 0, i32* %7
br label %11
11: ; preds = %30, %2
%12 = load i32, i32* %7
%13 = load i64, i64* %6
%14 = trunc i64 %13 to i32
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %33
16: ; preds = %11
%17 = load i8*, i8** %3
%18 = load i32, i32* %7
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, i8* %17, i64 %19
%21 = load i8, i8* %20
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 44
br i1 %23, label %24, label %29
24: ; preds = %16
%25 = load i8*, i8** %3
%26 = load i32, i32* %7
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, i8* %25, i64 %27
store i8 10, i8* %28
br label %29
29: ; preds = %24, %16
br label %30
30: ; preds = %29
%31 = load i32, i32* %7
%32 = add nsw i32 %31, 1
store i32 %32, i32* %7
br label %11
33: ; preds = %11
%34 = load i8*, i8** %4
%35 = load i32, i32* @O_RDWR
%36 = call i32 @open(i8* %34, i32 %35)
store i32 %36, i32* %5
%37 = load i32, i32* %5
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %47
39: ; preds = %33
%40 = load i32, i32* @stderr
%41 = load i8*, i8** %4
%42 = load i32, i32* @errno
%43 = call i8* @strerror(i32 %42)
%44 = call i32 @fprintf(i32 %40, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* %41, i8* %43)
%45 = load i32, i32* @EXIT_FAILURE
%46 = call i32 @exit(i32 %45)
unreachable
47: ; preds = %33
%48 = load i32, i32* %5
%49 = load i8*, i8** %3
%50 = load i64, i64* %6
%51 = call i64 @write(i32 %48, i8* %49, i64 %50)
store i64 %51, i64* %8
%52 = load i64, i64* %8
%53 = icmp slt i64 %52, 0
br i1 %53, label %54, label %60
54: ; preds = %47
br label %55
55: ; preds = %54
%56 = call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%57 = load i32, i32* @EXIT_FAILURE
%58 = call i32 @exit(i32 %57)
unreachable
59: ; No predecessors!
br label %60
60: ; preds = %59, %47
%61 = load i64, i64* %8
%62 = load i64, i64* %6
%63 = icmp ne i64 %61, %62
br i1 %63, label %64, label %72
64: ; preds = %60
%65 = load i32, i32* @stderr
%66 = load i8*, i8** %4
%67 = load i32, i32* @errno
%68 = call i8* @strerror(i32 %67)
%69 = call i32 @fprintf(i32 %65, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* %66, i8* %68)
%70 = load i32, i32* @EXIT_FAILURE
%71 = call i32 @exit(i32 %70)
unreachable
72: ; preds = %60
%73 = load i32, i32* %5
%74 = call i32 @close(i32 %73)
ret void
}

LLVM IR (-O2):
@O_RDWR = global i32 0
@stderr = global i32 0
@.str = [20 x i8] c"ERROR: open %s: %s\0A\00"
@errno = global i32 0
@EXIT_FAILURE = global i32 0
@.str.1 = [6 x i8] c"write\00"
@.str.2 = [32 x i8] c"ERROR: incomplete write %s: %s\0A\00"
define void @update_map(i8* nocapture %0, i8* %1) {
%3 = tail call i64 @strlen(i8* dereferenceable(1) %0)
%4 = trunc i64 %3 to i32
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %107
6: ; preds = %2
%7 = and i64 %3, 4294967295
%8 = icmp ult i64 %7, 16
br i1 %8, label %105, label %9
9: ; preds = %6
%10 = and i64 %3, 15
%11 = sub nsw i64 %7, %10
br label %12
12: ; preds = %100, %9
%13 = phi i64 [ 0, %9 ], [ %101, %100 ]
%14 = or i64 %13, 8
%15 = getelementptr inbounds i8, i8* %0, i64 %13
%16 = bitcast i8* %15 to <8 x i8>*
%17 = load <8 x i8>, <8 x i8>* %16
%18 = getelementptr inbounds i8, i8* %15, i64 8
%19 = bitcast i8* %18 to <8 x i8>*
%20 = load <8 x i8>, <8 x i8>* %19
%21 = icmp eq <8 x i8> %17, <i8 44, i8 44, i8 44, i8 44, i8 44, i8 44, i8 44, i8 44>
%22 = icmp eq <8 x i8> %20, <i8 44, i8 44, i8 44, i8 44, i8 44, i8 44, i8 44, i8 44>
%23 = extractelement <8 x i1> %21, i64 0
br i1 %23, label %24, label %26
24: ; preds = %12
%25 = getelementptr inbounds i8, i8* %0, i64 %13
store i8 10, i8* %25
br label %26
26: ; preds = %24, %12
%27 = extractelement <8 x i1> %21, i64 1
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = or i64 %13, 1
%30 = getelementptr inbounds i8, i8* %0, i64 %29
store i8 10, i8* %30
br label %31
31: ; preds = %28, %26
%32 = extractelement <8 x i1> %21, i64 2
br i1 %32, label %33, label %36
33: ; preds = %31
%34 = or i64 %13, 2
%35 = getelementptr inbounds i8, i8* %0, i64 %34
store i8 10, i8* %35
br label %36
36: ; preds = %33, %31
%37 = extractelement <8 x i1> %21, i64 3
br i1 %37, label %38, label %41
38: ; preds = %36
%39 = or i64 %13, 3
%40 = getelementptr inbounds i8, i8* %0, i64 %39
store i8 10, i8* %40
br label %41
41: ; preds = %38, %36
%42 = extractelement <8 x i1> %21, i64 4
br i1 %42, label %43, label %46
43: ; preds = %41
%44 = or i64 %13, 4
%45 = getelementptr inbounds i8, i8* %0, i64 %44
store i8 10, i8* %45
br label %46
46: ; preds = %43, %41
%47 = extractelement <8 x i1> %21, i64 5
br i1 %47, label %48, label %51
48: ; preds = %46
%49 = or i64 %13, 5
%50 = getelementptr inbounds i8, i8* %0, i64 %49
store i8 10, i8* %50
br label %51
51: ; preds = %48, %46
%52 = extractelement <8 x i1> %21, i64 6
br i1 %52, label %53, label %56
53: ; preds = %51
%54 = or i64 %13, 6
%55 = getelementptr inbounds i8, i8* %0, i64 %54
store i8 10, i8* %55
br label %56
56: ; preds = %53, %51
%57 = extractelement <8 x i1> %21, i64 7
br i1 %57, label %58, label %61
58: ; preds = %56
%59 = or i64 %13, 7
%60 = getelementptr inbounds i8, i8* %0, i64 %59
store i8 10, i8* %60
br label %61
61: ; preds = %58, %56
%62 = extractelement <8 x i1> %22, i64 0
br i1 %62, label %63, label %65
63: ; preds = %61
%64 = getelementptr inbounds i8, i8* %0, i64 %14
store i8 10, i8* %64
br label %65
65: ; preds = %63, %61
%66 = extractelement <8 x i1> %22, i64 1
br i1 %66, label %67, label %70
67: ; preds = %65
%68 = or i64 %13, 9
%69 = getelementptr inbounds i8, i8* %0, i64 %68
store i8 10, i8* %69
br label %70
70: ; preds = %67, %65
%71 = extractelement <8 x i1> %22, i64 2
br i1 %71, label %72, label %75
72: ; preds = %70
%73 = or i64 %13, 10
%74 = getelementptr inbounds i8, i8* %0, i64 %73
store i8 10, i8* %74
br label %75
75: ; preds = %72, %70
%76 = extractelement <8 x i1> %22, i64 3
br i1 %76, label %77, label %80
77: ; preds = %75
%78 = or i64 %13, 11
%79 = getelementptr inbounds i8, i8* %0, i64 %78
store i8 10, i8* %79
br label %80
80: ; preds = %77, %75
%81 = extractelement <8 x i1> %22, i64 4
br i1 %81, label %82, label %85
82: ; preds = %80
%83 = or i64 %13, 12
%84 = getelementptr inbounds i8, i8* %0, i64 %83
store i8 10, i8* %84
br label %85
85: ; preds = %82, %80
%86 = extractelement <8 x i1> %22, i64 5
br i1 %86, label %87, label %90
87: ; preds = %85
%88 = or i64 %13, 13
%89 = getelementptr inbounds i8, i8* %0, i64 %88
store i8 10, i8* %89
br label %90
90: ; preds = %87, %85
%91 = extractelement <8 x i1> %22, i64 6
br i1 %91, label %92, label %95
92: ; preds = %90
%93 = or i64 %13, 14
%94 = getelementptr inbounds i8, i8* %0, i64 %93
store i8 10, i8* %94
br label %95
95: ; preds = %92, %90
%96 = extractelement <8 x i1> %22, i64 7
br i1 %96, label %97, label %100
97: ; preds = %95
%98 = or i64 %13, 15
%99 = getelementptr inbounds i8, i8* %0, i64 %98
store i8 10, i8* %99
br label %100
100: ; preds = %97, %95
%101 = add nuw i64 %13, 16
%102 = icmp eq i64 %101, %11
br i1 %102, label %103, label %12
103: ; preds = %100
%104 = icmp eq i64 %10, 0
br i1 %104, label %107, label %105
105: ; preds = %6, %103
%106 = phi i64 [ 0, %6 ], [ %11, %103 ]
br label %111
107: ; preds = %117, %103, %2
%108 = load i32, i32* @O_RDWR
%109 = tail call i32 @open(i8* %1, i32 %108)
%110 = icmp eq i32 %109, -1
br i1 %110, label %120, label %127
111: ; preds = %105, %117
%112 = phi i64 [ %118, %117 ], [ %106, %105 ]
%113 = getelementptr inbounds i8, i8* %0, i64 %112
%114 = load i8, i8* %113
%115 = icmp eq i8 %114, 44
br i1 %115, label %116, label %117
116: ; preds = %111
store i8 10, i8* %113
br label %117
117: ; preds = %111, %116
%118 = add nuw nsw i64 %112, 1
%119 = icmp eq i64 %118, %7
br i1 %119, label %107, label %111
120: ; preds = %107
%121 = load i32, i32* @stderr
%122 = load i32, i32* @errno
%123 = tail call i8* @strerror(i32 %122)
%124 = tail call i32 @fprintf(i32 %121, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* %1, i8* %123)
%125 = load i32, i32* @EXIT_FAILURE
%126 = tail call i32 @exit(i32 %125)
unreachable
127: ; preds = %107
%128 = tail call i64 @write(i32 %109, i8* %0, i64 %3)
%129 = icmp slt i64 %128, 0
br i1 %129, label %130, label %134
130: ; preds = %127
%131 = tail call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%132 = load i32, i32* @EXIT_FAILURE
%133 = tail call i32 @exit(i32 %132)
unreachable
134: ; preds = %127
%135 = icmp eq i64 %128, %3
br i1 %135, label %143, label %136
136: ; preds = %134
%137 = load i32, i32* @stderr
%138 = load i32, i32* @errno
%139 = tail call i8* @strerror(i32 %138)
%140 = tail call i32 @fprintf(i32 %137, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* %1, i8* %139)
%141 = load i32, i32* @EXIT_FAILURE
%142 = tail call i32 @exit(i32 %141)
unreachable
143: ; preds = %134
%144 = tail call i32 @close(i32 %109)
ret void
}