#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 */
struct rlimit {
  int rlim_cur;
  int /*<<< orphan*/ rlim_max;
};

/* Variables and functions */
scalar_t__ EMFILE;
int /*<<< orphan*/ O_RDONLY;
int /*<<< orphan*/ RLIMIT_NOFILE;
int /*<<< orphan*/ close(int);
scalar_t__ errno;
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, int, ...);
scalar_t__ getrlimit(int /*<<< orphan*/, struct rlimit *);
int open(char *, int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
scalar_t__ setrlimit(int /*<<< orphan*/, struct rlimit *);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  struct rlimit oldrlim;
  struct rlimit newrlim;
  int fd;
  {
    int i;
    for (i = 3; i < 64; i++)
      close(i);
  };
  if (getrlimit(RLIMIT_NOFILE, &oldrlim) < 0) {
    perror("getrlimit");
    exit(1);
  }
  newrlim.rlim_cur = oldrlim.rlim_cur / 2;
  newrlim.rlim_max = oldrlim.rlim_max;
  if (setrlimit(RLIMIT_NOFILE, &newrlim) < 0) {
    perror("setrlimit");
    exit(1);
  }
  if (getrlimit(RLIMIT_NOFILE, &newrlim) < 0) {
    perror("getrlimit");
    exit(1);
  }
  if (newrlim.rlim_cur != oldrlim.rlim_cur / 2) {
    fprintf(stderr, "rlim_cur is %lu (should be %lu)\n", newrlim.rlim_cur,
            oldrlim.rlim_cur / 2);
  }
  if (newrlim.rlim_max != oldrlim.rlim_max) {
    fprintf(stderr, "rlim_max is %lu (should be %lu)\n", newrlim.rlim_max,
            oldrlim.rlim_max);
  }
  newrlim.rlim_cur -= 3;
  while (newrlim.rlim_cur-- > 0) {
    if (open("/dev/null", O_RDONLY) < 0) {
      perror("open");
    }
  }
  if ((fd = open("/dev/null", O_RDONLY)) >= 0) {
    fprintf(stderr, "open succeeded with fd %d - it should have failed!\n", fd);
  } else if (errno != EMFILE) {
    perror("open");
  }
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x3,-0x28(%rbp)
cmpl   $0x40,-0x28(%rbp)
jge    11ad <main+0x3d>
mov    -0x28(%rbp),%edi
call   1030 <close@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    118d <main+0x1d>
mov    0x2e2c(%rip),%rax
mov    (%rax),%edi
lea    -0x18(%rbp),%rsi
call   1090 <getrlimit@plt>
cmp    $0x0,%rax
jge    11df <main+0x6f>
lea    0xe30(%rip),%rdi
call   1070 <perror@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    -0x18(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x20(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    0x2de6(%rip),%rax
mov    (%rax),%edi
lea    -0x20(%rbp),%rsi
call   1050 <setrlimit@plt>
cmp    $0x0,%rax
jge    1225 <main+0xb5>
lea    0xdf4(%rip),%rdi
call   1070 <perror@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    0x2db4(%rip),%rax
mov    (%rax),%edi
lea    -0x20(%rbp),%rsi
call   1090 <getrlimit@plt>
cmp    $0x0,%rax
jge    1257 <main+0xe7>
lea    0xdb8(%rip),%rdi
call   1070 <perror@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x18(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x2c(%rbp),%eax
cmp    %ecx,%eax
je     12a2 <main+0x132>
mov    0x2d54(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x18(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    -0x30(%rbp),%edx
mov    %eax,%ecx
lea    0xd79(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
je     12cb <main+0x15b>
mov    0x2d1b(%rip),%rax
mov    (%rax),%edi
mov    -0x1c(%rbp),%edx
mov    -0x14(%rbp),%ecx
lea    0xd71(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x20(%rbp),%eax
sub    $0x3,%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x20(%rbp)
cmp    $0x0,%eax
jle    1317 <main+0x1a7>
mov    0x2cf9(%rip),%rax
mov    (%rax),%esi
lea    0xd5e(%rip),%rdi
call   1060 <open@plt>
cmp    $0x0,%eax
jge    1312 <main+0x1a2>
lea    0xd53(%rip),%rdi
call   1070 <perror@plt>
jmp    12d4 <main+0x164>
mov    0x2cca(%rip),%rax
mov    (%rax),%esi
lea    0xd2f(%rip),%rdi
call   1060 <open@plt>
mov    %eax,-0x24(%rbp)
cmp    $0x0,%eax
jl     1357 <main+0x1e7>
mov    0x2c91(%rip),%rax
mov    (%rax),%edi
mov    -0x24(%rbp),%edx
lea    0xd1a(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
jmp    1382 <main+0x212>
mov    0x2c6a(%rip),%rax
mov    (%rax),%rax
mov    0x2c50(%rip),%rcx
cmp    (%rcx),%rax
je     137d <main+0x20d>
lea    0xce8(%rip),%rdi
call   1070 <perror@plt>
jmp    1382 <main+0x212>
xor    %edi,%edi
call   1080 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    $0x3,%ebx
xchg   %ax,%ax
mov    %ebx,%edi
call   1030 <close@plt>
add    $0x1,%ebx
cmp    $0x40,%ebx
jne    1180 <main+0x10>
mov    0x2e4a(%rip),%rbx
mov    (%rbx),%edi
lea    0x8(%rsp),%rsi
call   1090 <getrlimit@plt>
test   %rax,%rax
jns    11b0 <main+0x40>
lea    0xe52(%rip),%rdi
jmp    11de <main+0x6e>
mov    0x8(%rsp),%eax
mov    0xc(%rsp),%ecx
mov    %eax,%edx
shr    $0x1f,%edx
add    %eax,%edx
sar    %edx
mov    %edx,(%rsp)
mov    %ecx,0x4(%rsp)
mov    (%rbx),%edi
mov    %rsp,%rsi
call   1050 <setrlimit@plt>
test   %rax,%rax
jns    11ed <main+0x7d>
lea    0xe2c(%rip),%rdi
call   1070 <perror@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    (%rbx),%edi
mov    %rsp,%rsi
call   1090 <getrlimit@plt>
test   %rax,%rax
js     11a7 <main+0x37>
mov    (%rsp),%edx
mov    0x8(%rsp),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
sar    %ecx
cmp    %ecx,%edx
je     1227 <main+0xb7>
mov    0x2db9(%rip),%rax
mov    (%rax),%edi
lea    0xdf4(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x4(%rsp),%edx
mov    0xc(%rsp),%ecx
cmp    %ecx,%edx
je     124a <main+0xda>
mov    0x2d96(%rip),%rax
mov    (%rax),%edi
lea    0xdf2(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rsp),%eax
lea    -0x4(%rax),%ecx
mov    %ecx,(%rsp)
cmp    $0x4,%eax
jl     1296 <main+0x126>
mov    0x2d89(%rip),%r15
lea    0xdf0(%rip),%rbx
lea    0xdf3(%rip),%r14
jmp    127d <main+0x10d>
nop
mov    (%rsp),%eax
lea    -0x1(%rax),%ecx
mov    %ecx,(%rsp)
test   %eax,%eax
jle    1296 <main+0x126>
mov    (%r15),%esi
mov    %rbx,%rdi
call   1060 <open@plt>
test   %eax,%eax
jns    1270 <main+0x100>
mov    %r14,%rdi
call   1070 <perror@plt>
jmp    1270 <main+0x100>
mov    0x2d4b(%rip),%rax
mov    (%rax),%esi
lea    0xdb0(%rip),%rdi
call   1060 <open@plt>
test   %eax,%eax
jns    12d8 <main+0x168>
mov    0x2d12(%rip),%rax
mov    (%rax),%rax
mov    0x2cf8(%rip),%rcx
cmp    (%rcx),%rax
je     12d1 <main+0x161>
lea    0xd94(%rip),%rdi
call   1070 <perror@plt>
xor    %edi,%edi
call   1080 <exit@plt>
mov    0x2cf1(%rip),%rcx
mov    (%rcx),%edi
lea    0xd7d(%rip),%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
xor    %edi,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
%struct.rlimit = type { i32, i32 }
@RLIMIT_NOFILE = global i32 0
@.str = [10 x i8] c"getrlimit\00"
@.str.1 = [10 x i8] c"setrlimit\00"
@stderr = global i32 0
@.str.2 = [33 x i8] c"rlim_cur is %lu (should be %lu)\0A\00"
@.str.3 = [33 x i8] c"rlim_max is %lu (should be %lu)\0A\00"
@.str.4 = [10 x i8] c"/dev/null\00"
@O_RDONLY = global i32 0
@.str.5 = [5 x i8] c"open\00"
@.str.6 = [52 x i8] c"open succeeded with fd %d - it should have failed!\0A\00"
@errno = global i64 0
@EMFILE = global i64 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca %struct.rlimit
%7 = alloca %struct.rlimit
%8 = alloca i32
%9 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 3, i32* %9
br label %10
10: ; preds = %16, %2
%11 = load i32, i32* %9
%12 = icmp slt i32 %11, 64
br i1 %12, label %13, label %19
13: ; preds = %10
%14 = load i32, i32* %9
%15 = call i32 @close(i32 %14)
br label %16
16: ; preds = %13
%17 = load i32, i32* %9
%18 = add nsw i32 %17, 1
store i32 %18, i32* %9
br label %10
19: ; preds = %10
%20 = load i32, i32* @RLIMIT_NOFILE
%21 = call i64 @getrlimit(i32 %20, %struct.rlimit* %6)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%25 = call i32 @exit(i32 1)
unreachable
26: ; preds = %19
%27 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %6, i32 0, i32 0
%28 = load i32, i32* %27
%29 = sdiv i32 %28, 2
%30 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %7, i32 0, i32 0
store i32 %29, i32* %30
%31 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %6, i32 0, i32 1
%32 = load i32, i32* %31
%33 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %7, i32 0, i32 1
store i32 %32, i32* %33
%34 = load i32, i32* @RLIMIT_NOFILE
%35 = call i64 @setrlimit(i32 %34, %struct.rlimit* %7)
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %26
%38 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%39 = call i32 @exit(i32 1)
unreachable
40: ; preds = %26
%41 = load i32, i32* @RLIMIT_NOFILE
%42 = call i64 @getrlimit(i32 %41, %struct.rlimit* %7)
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%46 = call i32 @exit(i32 1)
unreachable
47: ; preds = %40
%48 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %7, i32 0, i32 0
%49 = load i32, i32* %48
%50 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %6, i32 0, i32 0
%51 = load i32, i32* %50
%52 = sdiv i32 %51, 2
%53 = icmp ne i32 %49, %52
br i1 %53, label %54, label %62
54: ; preds = %47
%55 = load i32, i32* @stderr
%56 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %7, i32 0, i32 0
%57 = load i32, i32* %56
%58 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %6, i32 0, i32 0
%59 = load i32, i32* %58
%60 = sdiv i32 %59, 2
%61 = call i32 (i32, i8*, i32, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i32 %57, i32 %60)
br label %62
62: ; preds = %54, %47
%63 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %7, i32 0, i32 1
%64 = load i32, i32* %63
%65 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %6, i32 0, i32 1
%66 = load i32, i32* %65
%67 = icmp ne i32 %64, %66
br i1 %67, label %68, label %75
68: ; preds = %62
%69 = load i32, i32* @stderr
%70 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %7, i32 0, i32 1
%71 = load i32, i32* %70
%72 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %6, i32 0, i32 1
%73 = load i32, i32* %72
%74 = call i32 (i32, i8*, i32, ...) @fprintf(i32 %69, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0), i32 %71, i32 %73)
br label %75
75: ; preds = %68, %62
%76 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %7, i32 0, i32 0
%77 = load i32, i32* %76
%78 = sub nsw i32 %77, 3
store i32 %78, i32* %76
br label %79
79: ; preds = %90, %75
%80 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %7, i32 0, i32 0
%81 = load i32, i32* %80
%82 = add nsw i32 %81, -1
store i32 %82, i32* %80
%83 = icmp sgt i32 %81, 0
br i1 %83, label %84, label %91
84: ; preds = %79
%85 = load i32, i32* @O_RDONLY
%86 = call i32 @open(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %85)
%87 = icmp slt i32 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %84
%89 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %90
90: ; preds = %88, %84
br label %79
91: ; preds = %79
%92 = load i32, i32* @O_RDONLY
%93 = call i32 @open(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %92)
store i32 %93, i32* %8
%94 = icmp sge i32 %93, 0
br i1 %94, label %95, label %99
95: ; preds = %91
%96 = load i32, i32* @stderr
%97 = load i32, i32* %8
%98 = call i32 (i32, i8*, i32, ...) @fprintf(i32 %96, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0), i32 %97)
br label %106
99: ; preds = %91
%100 = load i64, i64* @errno
%101 = load i64, i64* @EMFILE
%102 = icmp ne i64 %100, %101
br i1 %102, label %103, label %105
103: ; preds = %99
%104 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %105
105: ; preds = %103, %99
br label %106
106: ; preds = %105, %95
%107 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
%struct.rlimit = type { i32, i32 }
@RLIMIT_NOFILE = global i32 0
@.str = [10 x i8] c"getrlimit\00"
@.str.1 = [10 x i8] c"setrlimit\00"
@stderr = global i32 0
@.str.2 = [33 x i8] c"rlim_cur is %lu (should be %lu)\0A\00"
@.str.3 = [33 x i8] c"rlim_max is %lu (should be %lu)\0A\00"
@.str.4 = [10 x i8] c"/dev/null\00"
@O_RDONLY = global i32 0
@.str.5 = [5 x i8] c"open\00"
@.str.6 = [52 x i8] c"open succeeded with fd %d - it should have failed!\0A\00"
@errno = global i64 0
@EMFILE = global i64 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca %struct.rlimit
%4 = alloca %struct.rlimit
%5 = bitcast %struct.rlimit* %3 to i8*
%6 = bitcast %struct.rlimit* %4 to i8*
br label %7
7: ; preds = %2, %7
%8 = phi i32 [ 3, %2 ], [ %10, %7 ]
%9 = tail call i32 @close(i32 %8)
%10 = add nuw nsw i32 %8, 1
%11 = icmp eq i32 %10, 64
br i1 %11, label %12, label %7
12: ; preds = %7
%13 = load i32, i32* @RLIMIT_NOFILE
%14 = call i64 @getrlimit(i32 %13, %struct.rlimit* %3)
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%18 = call i32 @exit(i32 1)
unreachable
19: ; preds = %12
%20 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %3, i64 0, i32 0
%21 = load i32, i32* %20
%22 = sdiv i32 %21, 2
%23 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %4, i64 0, i32 0
store i32 %22, i32* %23
%24 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %3, i64 0, i32 1
%25 = load i32, i32* %24
%26 = getelementptr inbounds %struct.rlimit, %struct.rlimit* %4, i64 0, i32 1
store i32 %25, i32* %26
%27 = load i32, i32* @RLIMIT_NOFILE
%28 = call i64 @setrlimit(i32 %27, %struct.rlimit* %4)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %19
%31 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%32 = call i32 @exit(i32 1)
unreachable
33: ; preds = %19
%34 = load i32, i32* @RLIMIT_NOFILE
%35 = call i64 @getrlimit(i32 %34, %struct.rlimit* %4)
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %33
%38 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%39 = call i32 @exit(i32 1)
unreachable
40: ; preds = %33
%41 = load i32, i32* %23
%42 = load i32, i32* %20
%43 = sdiv i32 %42, 2
%44 = icmp eq i32 %41, %43
br i1 %44, label %48, label %45
45: ; preds = %40
%46 = load i32, i32* @stderr
%47 = call i32 (i32, i8*, i32, ...) @fprintf(i32 %46, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i32 %41, i32 %43)
br label %48
48: ; preds = %45, %40
%49 = load i32, i32* %26
%50 = load i32, i32* %24
%51 = icmp eq i32 %49, %50
br i1 %51, label %55, label %52
52: ; preds = %48
%53 = load i32, i32* @stderr
%54 = call i32 (i32, i8*, i32, ...) @fprintf(i32 %53, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0), i32 %49, i32 %50)
br label %55
55: ; preds = %52, %48
%56 = load i32, i32* %23
%57 = add nsw i32 %56, -4
store i32 %57, i32* %23
%58 = icmp sgt i32 %56, 3
br i1 %58, label %59, label %69
59: ; preds = %55, %65
%60 = load i32, i32* @O_RDONLY
%61 = call i32 @open(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %60)
%62 = icmp slt i32 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %59
%64 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %65
65: ; preds = %63, %59
%66 = load i32, i32* %23
%67 = add nsw i32 %66, -1
store i32 %67, i32* %23
%68 = icmp sgt i32 %66, 0
br i1 %68, label %59, label %69
69: ; preds = %65, %55
%70 = load i32, i32* @O_RDONLY
%71 = call i32 @open(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %70)
%72 = icmp sgt i32 %71, -1
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load i32, i32* @stderr
%75 = call i32 (i32, i8*, i32, ...) @fprintf(i32 %74, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0), i32 %71)
br label %82
76: ; preds = %69
%77 = load i64, i64* @errno
%78 = load i64, i64* @EMFILE
%79 = icmp eq i64 %77, %78
br i1 %79, label %82, label %80
80: ; preds = %76
%81 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %82
82: ; preds = %76, %80, %73
%83 = call i32 @exit(i32 0)
unreachable
}