#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 stat {
  int st_mode;
};
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int BUFSIZ;
int /*<<< orphan*/ EPERM;
int S_IROTH;
int /*<<< orphan*/ errno;
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ puts(int /*<<< orphan*/);
scalar_t__ stat(char *, struct stat *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ *stdin;
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ strerror(int /*<<< orphan*/);
int strlen(char *);
scalar_t__ strncmp(char *, char *, int);
int main(int argc, char **argv) {
  FILE *f;
  char b[BUFSIZ], c[BUFSIZ];
  struct stat s;
  if (argc != 2) {
    fprintf(stderr, "Usage: %s <file>\n", argv[0]);
    exit(1);
  }
  if (stat(argv[1], &s) != 0) {
    puts(strerror(errno));
    exit(2);
  }
  if ((s.st_mode & S_IROTH) != S_IROTH) {
    puts(strerror(EPERM));
    exit(3);
  }
  fputs("The file is accessible by all. Press ENTER to print its contents.",
        stdout);
  do {
    if (fgets(c, BUFSIZ, stdin) == NULL) {
      if (feof(stdin)) {
        break;
      } else {
        puts(strerror(errno));
        exit(4);
      }
    }
    c[strlen(c) - 1] = '\0';
    if (strlen(c) == 0) {
      if ((f = fopen(argv[1], "r")) == NULL) {
        puts(strerror(errno));
        exit(4);
      }
      while (fgets(b, BUFSIZ, f) != NULL) {
        fputs(b, stdout);
      }
      if (feof(f)) {
        fclose(f);
      } else {
        puts(strerror(errno));
        exit(5);
      }
      break;
    } else {
      fputs("Press ENTER to print its contents.", stdout);
    }
  } while (strncmp(c, "quit", 5) != 0);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2df3(%rip),%rax
mov    (%rax),%ecx
mov    %rsp,%rdx
mov    %rdx,-0x20(%rbp)
mov    %rcx,%rsi
add    $0xf,%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0x48(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x28(%rbp)
mov    (%rax),%eax
mov    %rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x40(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x30(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     1250 <main+0x90>
mov    0x2da7(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xdbf(%rip),%rsi
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10d0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    -0x38(%rbp),%rsi
call   10b0 <stat@plt>
cmp    $0x0,%rax
je     128a <main+0xca>
mov    0x2d56(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    %eax,%edi
call   1040 <puts@plt>
mov    $0x2,%edi
call   10d0 <exit@plt>
mov    -0x38(%rbp),%eax
mov    0x2d2c(%rip),%rcx
and    (%rcx),%eax
mov    0x2d23(%rip),%rcx
cmp    (%rcx),%eax
je     12c4 <main+0x104>
mov    0x2cfc(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    %eax,%edi
call   1040 <puts@plt>
mov    $0x3,%edi
call   10d0 <exit@plt>
mov    0x2ced(%rip),%rax
mov    (%rax),%esi
lea    0xd3e(%rip),%rdi
call   1070 <fputs@plt>
mov    -0x40(%rbp),%rdi
mov    0x2cec(%rip),%rax
mov    (%rax),%esi
mov    0x2cfb(%rip),%rax
mov    (%rax),%rdx
call   1080 <fgets@plt>
cmp    $0x0,%rax
jne    133c <main+0x17c>
mov    0x2ce2(%rip),%rax
mov    (%rax),%rdi
call   10a0 <feof@plt>
cmp    $0x0,%rax
je     131d <main+0x15d>
jmp    145b <main+0x29b>
mov    0x2ca4(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    %eax,%edi
call   1040 <puts@plt>
mov    $0x4,%edi
call   10d0 <exit@plt>
mov    -0x40(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0x40(%rbp),%rdi
sub    $0x1,%eax
cltq
movb   $0x0,(%rdi,%rax,1)
call   1060 <strlen@plt>
cmp    $0x0,%eax
jne    1422 <main+0x262>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xce5(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
jne    13a1 <main+0x1e1>
mov    0x2c3f(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    %eax,%edi
call   1040 <puts@plt>
mov    $0x4,%edi
call   10d0 <exit@plt>
jmp    13a6 <main+0x1e6>
mov    -0x48(%rbp),%rdi
mov    0x2c1f(%rip),%rax
mov    (%rax),%esi
mov    -0x18(%rbp),%rdx
call   1080 <fgets@plt>
cmp    $0x0,%rax
je     13dd <main+0x21d>
mov    -0x48(%rbp),%rdi
mov    0x2be7(%rip),%rax
mov    (%rax),%esi
call   1070 <fputs@plt>
jmp    13a6 <main+0x1e6>
mov    -0x18(%rbp),%rdi
call   10a0 <feof@plt>
cmp    $0x0,%rax
je     13fe <main+0x23e>
mov    -0x18(%rbp),%rdi
call   1050 <fclose@plt>
jmp    141d <main+0x25d>
mov    0x2bc3(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    %eax,%edi
call   1040 <puts@plt>
mov    $0x5,%edi
call   10d0 <exit@plt>
jmp    145b <main+0x29b>
mov    0x2b8f(%rip),%rax
mov    (%rax),%esi
lea    0xbff(%rip),%rdi
call   1070 <fputs@plt>
jmp    143c <main+0x27c>
mov    -0x40(%rbp),%rdi
lea    0xc0f(%rip),%rsi
mov    $0x5,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    12d9 <main+0x119>
movl   $0x0,-0x4(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%r14
mov    0x2df5(%rip),%rax
mov    (%rax),%eax
mov    %rsp,%r15
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r15
mov    %r15,%rsp
mov    %rsp,%rbx
sub    %rax,%rbx
mov    %rbx,%rsp
cmp    $0x2,%edi
jne    1369 <main+0x1a9>
mov    0x8(%r14),%rdi
lea    -0x30(%rbp),%rsi
call   10b0 <stat@plt>
test   %rax,%rax
jne    138b <main+0x1cb>
mov    %r14,-0x38(%rbp)
mov    -0x30(%rbp),%eax
mov    0x2d9c(%rip),%rcx
not    %eax
test   %eax,(%rcx)
jne    13aa <main+0x1ea>
mov    0x2d83(%rip),%rax
mov    (%rax),%esi
lea    0xdd4(%rip),%rdi
call   1070 <fputs@plt>
mov    0x2d9e(%rip),%r14
lea    0xde0(%rip),%r12
lea    0xdfe(%rip),%r13
nopl   0x0(%rax,%rax,1)
mov    0x2d69(%rip),%rax
mov    (%rax),%esi
mov    (%r14),%rdx
mov    %rbx,%rdi
call   1080 <fgets@plt>
test   %rax,%rax
je     12bf <main+0xff>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x0,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
call   1060 <strlen@plt>
test   %eax,%eax
je     12d5 <main+0x115>
mov    0x2d1d(%rip),%rax
mov    (%rax),%esi
mov    %r12,%rdi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
mov    $0x5,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
jne    1260 <main+0xa0>
jmp    1358 <main+0x198>
mov    (%r14),%rdi
call   10a0 <feof@plt>
test   %rax,%rax
jne    1358 <main+0x198>
jmp    13c9 <main+0x209>
mov    -0x38(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd70(%rip),%rsi
call   10c0 <fopen@plt>
test   %rax,%rax
je     13c9 <main+0x209>
mov    %rax,%rbx
mov    0x2cd4(%rip),%r14
mov    (%r14),%esi
mov    %r15,%rdi
mov    %rax,%rdx
call   1080 <fgets@plt>
test   %rax,%rax
mov    0x2ca4(%rip),%r12
je     133f <main+0x17f>
cs nopw 0x0(%rax,%rax,1)
mov    (%r12),%esi
mov    %r15,%rdi
call   1070 <fputs@plt>
mov    (%r14),%esi
mov    %r15,%rdi
mov    %rbx,%rdx
call   1080 <fgets@plt>
test   %rax,%rax
jne    1320 <main+0x160>
mov    %rbx,%rdi
call   10a0 <feof@plt>
test   %rax,%rax
je     13e8 <main+0x228>
mov    %rbx,%rdi
call   1050 <fclose@plt>
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c68(%rip),%rax
mov    (%rax),%edi
mov    (%r14),%rdx
lea    0xc84(%rip),%rsi
call   1090 <fprintf@plt>
mov    $0x1,%edi
call   10d0 <exit@plt>
mov    0x2c36(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    %eax,%edi
call   1040 <puts@plt>
mov    $0x2,%edi
call   10d0 <exit@plt>
mov    0x2bf7(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    %eax,%edi
call   1040 <puts@plt>
mov    $0x3,%edi
call   10d0 <exit@plt>
mov    0x2bf8(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    %eax,%edi
call   1040 <puts@plt>
mov    $0x4,%edi
call   10d0 <exit@plt>
mov    0x2bd9(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    %eax,%edi
call   1040 <puts@plt>
mov    $0x5,%edi
call   10d0 <exit@plt>

LLVM IR (-O0):
%struct.stat = type { i32 }
@BUFSIZ = global i32 0
@stderr = global i32 0
@.str = [18 x i8] c"Usage: %s <file>\0A\00"
@errno = global i32 0
@S_IROTH = global i32 0
@EPERM = global i32 0
@.str.1 = [66 x i8] c"The file is accessible by all. Press ENTER to print its contents.\00"
@stdout = global i32 0
@stdin = global i32* null
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [35 x i8] c"Press ENTER to print its contents.\00"
@.str.4 = [5 x i8] c"quit\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca i8*
%8 = alloca i64
%9 = alloca i64
%10 = alloca %struct.stat
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = load i32, i32* @BUFSIZ
%12 = zext i32 %11 to i64
%13 = call i8* @llvm.stacksave()
store i8* %13, i8** %7
%14 = alloca i8, i64 %12
store i64 %12, i64* %8
%15 = load i32, i32* @BUFSIZ
%16 = zext i32 %15 to i64
%17 = alloca i8, i64 %16
store i64 %16, i64* %9
%18 = load i32, i32* %4
%19 = icmp ne i32 %18, 2
br i1 %19, label %20, label %27
20: ; preds = %2
%21 = load i32, i32* @stderr
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 0
%24 = load i8*, i8** %23
%25 = call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* %24)
%26 = call i32 @exit(i32 1)
unreachable
27: ; preds = %2
%28 = load i8**, i8*** %5
%29 = getelementptr inbounds i8*, i8** %28, i64 1
%30 = load i8*, i8** %29
%31 = call i64 @stat(i8* %30, %struct.stat* %10)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %38
33: ; preds = %27
%34 = load i32, i32* @errno
%35 = call i32 @strerror(i32 %34)
%36 = call i32 @puts(i32 %35)
%37 = call i32 @exit(i32 2)
unreachable
38: ; preds = %27
%39 = getelementptr inbounds %struct.stat, %struct.stat* %10, i32 0, i32 0
%40 = load i32, i32* %39
%41 = load i32, i32* @S_IROTH
%42 = and i32 %40, %41
%43 = load i32, i32* @S_IROTH
%44 = icmp ne i32 %42, %43
br i1 %44, label %45, label %50
45: ; preds = %38
%46 = load i32, i32* @EPERM
%47 = call i32 @strerror(i32 %46)
%48 = call i32 @puts(i32 %47)
%49 = call i32 @exit(i32 3)
unreachable
50: ; preds = %38
%51 = load i32, i32* @stdout
%52 = call i32 @fputs(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i32 %51)
br label %53
53: ; preds = %112, %50
%54 = load i32, i32* @BUFSIZ
%55 = load i32*, i32** @stdin
%56 = call i32* @fgets(i8* %17, i32 %54, i32* %55)
%57 = icmp eq i32* %56, null
br i1 %57, label %58, label %68
58: ; preds = %53
%59 = load i32*, i32** @stdin
%60 = call i64 @feof(i32* %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
br label %115
63: ; preds = %58
%64 = load i32, i32* @errno
%65 = call i32 @strerror(i32 %64)
%66 = call i32 @puts(i32 %65)
%67 = call i32 @exit(i32 4)
unreachable
68: ; preds = %53
%69 = call i32 @strlen(i8* %17)
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, i8* %17, i64 %71
store i8 0, i8* %72
%73 = call i32 @strlen(i8* %17)
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %108
75: ; preds = %68
%76 = load i8**, i8*** %5
%77 = getelementptr inbounds i8*, i8** %76, i64 1
%78 = load i8*, i8** %77
%79 = call i32* @fopen(i8* %78, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %79, i32** %6
%80 = icmp eq i32* %79, null
br i1 %80, label %81, label %86
81: ; preds = %75
%82 = load i32, i32* @errno
%83 = call i32 @strerror(i32 %82)
%84 = call i32 @puts(i32 %83)
%85 = call i32 @exit(i32 4)
unreachable
86: ; preds = %75
br label %87
87: ; preds = %92, %86
%88 = load i32, i32* @BUFSIZ
%89 = load i32*, i32** %6
%90 = call i32* @fgets(i8* %14, i32 %88, i32* %89)
%91 = icmp ne i32* %90, null
br i1 %91, label %92, label %95
92: ; preds = %87
%93 = load i32, i32* @stdout
%94 = call i32 @fputs(i8* %14, i32 %93)
br label %87
95: ; preds = %87
%96 = load i32*, i32** %6
%97 = call i64 @feof(i32* %96)
%98 = icmp ne i64 %97, 0
br i1 %98, label %99, label %102
99: ; preds = %95
%100 = load i32*, i32** %6
%101 = call i32 @fclose(i32* %100)
br label %107
102: ; preds = %95
%103 = load i32, i32* @errno
%104 = call i32 @strerror(i32 %103)
%105 = call i32 @puts(i32 %104)
%106 = call i32 @exit(i32 5)
unreachable
107: ; preds = %99
br label %115
108: ; preds = %68
%109 = load i32, i32* @stdout
%110 = call i32 @fputs(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0), i32 %109)
br label %111
111: ; preds = %108
br label %112
112: ; preds = %111
%113 = call i64 @strncmp(i8* %17, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 5)
%114 = icmp ne i64 %113, 0
br i1 %114, label %53, label %115
115: ; preds = %112, %107, %62
store i32 0, i32* %3
%116 = load i8*, i8** %7
%117 = load i32, i32* %3
ret i32 %117
}

LLVM IR (-O2):
%struct.stat = type { i32 }
@BUFSIZ = global i32 0
@stderr = global i32 0
@.str = [18 x i8] c"Usage: %s <file>\0A\00"
@errno = global i32 0
@S_IROTH = global i32 0
@EPERM = global i32 0
@.str.1 = [66 x i8] c"The file is accessible by all. Press ENTER to print its contents.\00"
@stdout = global i32 0
@stdin = global i32* null
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [35 x i8] c"Press ENTER to print its contents.\00"
@.str.4 = [5 x i8] c"quit\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.stat
%4 = load i32, i32* @BUFSIZ
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5
%7 = alloca i8, i64 %5
%8 = bitcast %struct.stat* %3 to i8*
%9 = icmp eq i32 %0, 2
br i1 %9, label %15, label %10
10: ; preds = %2
%11 = load i32, i32* @stderr
%12 = load i8*, i8** %1
%13 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* %12)
%14 = tail call i32 @exit(i32 1)
unreachable
15: ; preds = %2
%16 = getelementptr inbounds i8*, i8** %1, i64 1
%17 = load i8*, i8** %16
%18 = call i64 @stat(i8* %17, %struct.stat* %3)
%19 = icmp eq i64 %18, 0
br i1 %19, label %25, label %20
20: ; preds = %15
%21 = load i32, i32* @errno
%22 = call i32 @strerror(i32 %21)
%23 = call i32 @puts(i32 %22)
%24 = call i32 @exit(i32 2)
unreachable
25: ; preds = %15
%26 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 0
%27 = load i32, i32* %26
%28 = load i32, i32* @S_IROTH
%29 = and i32 %28, %27
%30 = icmp eq i32 %29, %28
br i1 %30, label %36, label %31
31: ; preds = %25
%32 = load i32, i32* @EPERM
%33 = call i32 @strerror(i32 %32)
%34 = call i32 @puts(i32 %33)
%35 = call i32 @exit(i32 3)
unreachable
36: ; preds = %25
%37 = load i32, i32* @stdout
%38 = call i32 @fputs(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i32 %37)
br label %39
39: ; preds = %89, %36
%40 = load i32, i32* @BUFSIZ
%41 = load i32*, i32** @stdin
%42 = call i32* @fgets(i8* %7, i32 %40, i32* %41)
%43 = icmp eq i32* %42, null
br i1 %43, label %44, label %53
44: ; preds = %39
%45 = load i32*, i32** @stdin
%46 = call i64 @feof(i32* %45)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %94
48: ; preds = %44
%49 = load i32, i32* @errno
%50 = call i32 @strerror(i32 %49)
%51 = call i32 @puts(i32 %50)
%52 = call i32 @exit(i32 4)
unreachable
53: ; preds = %39
%54 = call i32 @strlen(i8* %7)
%55 = add nsw i32 %54, -1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, i8* %7, i64 %56
store i8 0, i8* %57
%58 = call i32 @strlen(i8* %7)
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %89
60: ; preds = %53
%61 = load i8*, i8** %16
%62 = call i32* @fopen(i8* %61, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%63 = icmp eq i32* %62, null
br i1 %63, label %68, label %64
64: ; preds = %60
%65 = load i32, i32* @BUFSIZ
%66 = call i32* @fgets(i8* %6, i32 %65, i32* %62)
%67 = icmp eq i32* %66, null
br i1 %67, label %79, label %73
68: ; preds = %60
%69 = load i32, i32* @errno
%70 = call i32 @strerror(i32 %69)
%71 = call i32 @puts(i32 %70)
%72 = call i32 @exit(i32 4)
unreachable
73: ; preds = %64, %73
%74 = load i32, i32* @stdout
%75 = call i32 @fputs(i8* %6, i32 %74)
%76 = load i32, i32* @BUFSIZ
%77 = call i32* @fgets(i8* %6, i32 %76, i32* %62)
%78 = icmp eq i32* %77, null
br i1 %78, label %79, label %73
79: ; preds = %73, %64
%80 = call i64 @feof(i32* %62)
%81 = icmp eq i64 %80, 0
br i1 %81, label %84, label %82
82: ; preds = %79
%83 = call i32 @fclose(i32* %62)
br label %94
84: ; preds = %79
%85 = load i32, i32* @errno
%86 = call i32 @strerror(i32 %85)
%87 = call i32 @puts(i32 %86)
%88 = call i32 @exit(i32 5)
unreachable
89: ; preds = %53
%90 = load i32, i32* @stdout
%91 = call i32 @fputs(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0), i32 %90)
%92 = call i64 @strncmp(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 5)
%93 = icmp eq i64 %92, 0
br i1 %93, label %94, label %39
94: ; preds = %89, %44, %82
ret i32 0
}