#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 {
  unsigned int st_mode;
};

/* Variables and functions */
int errno;
int /*<<< orphan*/ exit(int);
scalar_t__ fchmod(int /*<<< orphan*/, unsigned int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
scalar_t__ fstat(int /*<<< orphan*/, struct stat *);
int hasttygrp();
int /*<<< orphan*/ isatty(int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ stderr;
char *strerror(int);
int tty_in_ttygrp(struct stat *);
char *ttyname(int /*<<< orphan*/);
int main(int argc, char **argv) {
  struct stat st;
  unsigned int ttymode, st_mode_old;
  int ht;
  int it;
  int e;
  if (!isatty(0)) {
    fprintf(stderr, "stdin: is not a tty\n");
    return (1);
  }
  if (fstat(0, &st) < 0) {
    perror("fstat");
    return (1);
  }
  ht = hasttygrp();
  it = tty_in_ttygrp(&st);
  if (argc < 2) {
    ttymode = (ht && it) ? 020 : 002;
    printf("is %s\n", (st.st_mode & ttymode) ? "y" : "n");
    return 0;
  }
  if (argc > 2 || (argv[1][0] != 'y' && argv[1][0] != 'n')) {
    fprintf(stderr, "Usage: mesg [y|n]\n");
    return 1;
  }
  ttymode = ht ? 020 : 022;
  if (ht && !it && argv[1][0] == 'y') {
    fprintf(stderr,
            "mesg: error: tty device is not owned "
            "by group `%s'\n",
            "tty");
    exit(1);
  }
  st_mode_old = st.st_mode;
  if (argv[1][0] == 'y')
    st.st_mode |= ttymode;
  else
    st.st_mode &= ~(ttymode);
  if (st_mode_old != st.st_mode && fchmod(0, st.st_mode) != 0) {
    e = errno;
    fprintf(stderr, "mesg: %s: %s\n", ttyname(0), strerror(e));
    exit(1);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
xor    %edi,%edi
call   1030 <isatty@plt>
cmp    $0x0,%eax
jne    11f9 <main+0x49>
mov    0x2e03(%rip),%rax
mov    (%rax),%edi
lea    0xe1a(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    140b <main+0x25b>
xor    %edi,%edi
lea    -0x18(%rbp),%rsi
call   10d0 <fstat@plt>
cmp    $0x0,%rax
jge    1226 <main+0x76>
lea    0xe00(%rip),%rdi
call   10a0 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    140b <main+0x25b>
mov    $0x0,%al
call   1080 <hasttygrp@plt>
mov    %eax,-0x24(%rbp)
lea    -0x18(%rbp),%rdi
call   1060 <tty_in_ttygrp@plt>
mov    %eax,-0x28(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    12a8 <main+0xf8>
xor    %eax,%eax
cmpl   $0x0,-0x24(%rbp)
mov    %al,-0x2d(%rbp)
je     125f <main+0xaf>
cmpl   $0x0,-0x28(%rbp)
setne  %al
mov    %al,-0x2d(%rbp)
mov    -0x2d(%rbp),%dl
mov    $0x2,%eax
mov    $0x10,%ecx
test   $0x1,%dl
cmovne %ecx,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x18(%rbp),%ecx
and    -0x1c(%rbp),%ecx
lea    0xda0(%rip),%rsi
lea    0xde4(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xd84(%rip),%rdi
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    140b <main+0x25b>
cmpl   $0x2,-0x8(%rbp)
jg     12da <main+0x12a>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x79,%eax
je     12fd <main+0x14d>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x6e,%eax
je     12fd <main+0x14d>
mov    0x2cff(%rip),%rax
mov    (%rax),%edi
lea    0xd3a(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    140b <main+0x25b>
mov    -0x24(%rbp),%edx
mov    $0x12,%eax
mov    $0x10,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x24(%rbp)
je     1363 <main+0x1b3>
cmpl   $0x0,-0x28(%rbp)
jne    1363 <main+0x1b3>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x79,%eax
jne    1363 <main+0x1b3>
mov    0x2c9e(%rip),%rax
mov    (%rax),%edi
lea    0xcec(%rip),%rsi
lea    0xd19(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
mov    -0x18(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x79,%eax
jne    138b <main+0x1db>
mov    -0x1c(%rbp),%eax
or     -0x18(%rbp),%eax
mov    %eax,-0x18(%rbp)
jmp    1397 <main+0x1e7>
mov    -0x1c(%rbp),%eax
xor    $0xffffffff,%eax
and    -0x18(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x18(%rbp),%eax
je     1404 <main+0x254>
mov    -0x18(%rbp),%esi
xor    %edi,%edi
call   1090 <fchmod@plt>
cmp    $0x0,%rax
je     1404 <main+0x254>
mov    0x2c1a(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x2c(%rbp)
mov    0x2c16(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
xor    %edi,%edi
call   1070 <ttyname@plt>
mov    %rax,-0x38(%rbp)
mov    -0x2c(%rbp),%edi
call   10c0 <strerror@plt>
mov    -0x3c(%rbp),%edi
mov    -0x38(%rbp),%rdx
mov    %rax,%rcx
lea    0xc7c(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %edi,%ebp
xor    %edi,%edi
call   1030 <isatty@plt>
test   %eax,%eax
je     122e <main+0x7e>
mov    %rsp,%rsi
xor    %edi,%edi
call   10d0 <fstat@plt>
test   %rax,%rax
js     1315 <main+0x165>
xor    %ebx,%ebx
xor    %eax,%eax
call   1080 <hasttygrp@plt>
mov    %eax,%r15d
mov    %rsp,%rdi
call   1060 <tty_in_ttygrp@plt>
cmp    $0x1,%ebp
jg     1243 <main+0x93>
test   %eax,%eax
mov    $0x10,%eax
mov    $0x2,%ecx
cmove  %ecx,%eax
test   %r15d,%r15d
cmove  %ecx,%eax
and    (%rsp),%eax
lea    0xe10(%rip),%rax
lea    0xe54(%rip),%rsi
cmove  %rax,%rsi
lea    0xdf7(%rip),%rdi
call   1040 <printf@plt>
jmp    1308 <main+0x158>
mov    0x2dab(%rip),%rax
mov    (%rax),%edi
lea    0xdc2(%rip),%rsi
jmp    12fc <main+0x14c>
cmp    $0x2,%ebp
jne    12ec <main+0x13c>
mov    0x8(%r14),%rcx
mov    (%rcx),%cl
cmp    $0x6e,%cl
je     1260 <main+0xb0>
cmp    $0x79,%cl
jne    12ec <main+0x13c>
xor    %edx,%edx
test   %r15d,%r15d
sete   %bl
je     1277 <main+0xc7>
test   %eax,%eax
jne    1277 <main+0xc7>
cmp    $0x79,%cl
je     1323 <main+0x173>
mov    %bl,%dl
lea    (%rdx,%rdx,1),%esi
add    $0x10,%esi
mov    (%rsp),%eax
mov    %esi,%edx
not    %edx
and    %eax,%edx
or     %eax,%esi
cmp    $0x79,%cl
cmovne %edx,%esi
mov    %esi,(%rsp)
xor    %ebx,%ebx
cmp    %esi,%eax
je     1308 <main+0x158>
xor    %ebx,%ebx
xor    %edi,%edi
call   1090 <fchmod@plt>
test   %rax,%rax
je     1308 <main+0x158>
mov    0x2d2a(%rip),%rax
mov    (%rax),%ebx
mov    0x2d29(%rip),%rax
mov    (%rax),%r14d
xor    %edi,%edi
call   1070 <ttyname@plt>
mov    %rax,%rbp
mov    %ebx,%edi
call   10c0 <strerror@plt>
lea    0xd9d(%rip),%rsi
mov    %r14d,%edi
mov    %rbp,%rdx
mov    %rax,%rcx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
mov    0x2ced(%rip),%rax
mov    (%rax),%edi
lea    0xd28(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x1,%ebx
mov    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xcf9(%rip),%rdi
call   10a0 <perror@plt>
jmp    1303 <main+0x153>
mov    0x2cb6(%rip),%rax
mov    (%rax),%edi
lea    0xd04(%rip),%rsi
lea    0xd31(%rip),%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
%struct.stat = type { i32 }
@stderr = global i32 0
@.str = [21 x i8] c"stdin: is not a tty\0A\00"
@.str.1 = [6 x i8] c"fstat\00"
@.str.2 = [7 x i8] c"is %s\0A\00"
@.str.3 = [2 x i8] c"y\00"
@.str.4 = [2 x i8] c"n\00"
@.str.5 = [19 x i8] c"Usage: mesg [y|n]\0A\00"
@.str.6 = [52 x i8] c"mesg: error: tty device is not owned by group `%s'\0A\00"
@.str.7 = [4 x i8] c"tty\00"
@errno = global i32 0
@.str.8 = [14 x i8] c"mesg: %s: %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca %struct.stat
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = call i32 @isatty(i32 0)
%13 = icmp ne i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %2
%15 = load i32, i32* @stderr
%16 = call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %3
br label %129
17: ; preds = %2
%18 = call i64 @fstat(i32 0, %struct.stat* %6)
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
store i32 1, i32* %3
br label %129
22: ; preds = %17
%23 = call i32 (...) @hasttygrp()
store i32 %23, i32* %9
%24 = call i32 @tty_in_ttygrp(%struct.stat* %6)
store i32 %24, i32* %10
%25 = load i32, i32* %4
%26 = icmp slt i32 %25, 2
br i1 %26, label %27, label %45
27: ; preds = %22
%28 = load i32, i32* %9
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, i32* %10
%32 = icmp ne i32 %31, 0
br label %33
33: ; preds = %30, %27
%34 = phi i1 [ false, %27 ], [ %32, %30 ]
%35 = zext i1 %34 to i64
%36 = select i1 %34, i32 16, i32 2
store i32 %36, i32* %7
%37 = getelementptr inbounds %struct.stat, %struct.stat* %6, i32 0, i32 0
%38 = load i32, i32* %37
%39 = load i32, i32* %7
%40 = and i32 %38, %39
%41 = icmp ne i32 %40, 0
%42 = zext i1 %41 to i64
%43 = select i1 %41, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0)
%44 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* %43)
store i32 0, i32* %3
br label %129
45: ; preds = %22
%46 = load i32, i32* %4
%47 = icmp sgt i32 %46, 2
br i1 %47, label %64, label %48
48: ; preds = %45
%49 = load i8**, i8*** %5
%50 = getelementptr inbounds i8*, i8** %49, i64 1
%51 = load i8*, i8** %50
%52 = getelementptr inbounds i8, i8* %51, i64 0
%53 = load i8, i8* %52
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 121
br i1 %55, label %56, label %67
56: ; preds = %48
%57 = load i8**, i8*** %5
%58 = getelementptr inbounds i8*, i8** %57, i64 1
%59 = load i8*, i8** %58
%60 = getelementptr inbounds i8, i8* %59, i64 0
%61 = load i8, i8* %60
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 110
br i1 %63, label %64, label %67
64: ; preds = %56, %45
%65 = load i32, i32* @stderr
%66 = call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
store i32 1, i32* %3
br label %129
67: ; preds = %56, %48
%68 = load i32, i32* %9
%69 = icmp ne i32 %68, 0
%70 = zext i1 %69 to i64
%71 = select i1 %69, i32 16, i32 18
store i32 %71, i32* %7
%72 = load i32, i32* %9
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %89
74: ; preds = %67
%75 = load i32, i32* %10
%76 = icmp ne i32 %75, 0
br i1 %76, label %89, label %77
77: ; preds = %74
%78 = load i8**, i8*** %5
%79 = getelementptr inbounds i8*, i8** %78, i64 1
%80 = load i8*, i8** %79
%81 = getelementptr inbounds i8, i8* %80, i64 0
%82 = load i8, i8* %81
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 121
br i1 %84, label %85, label %89
85: ; preds = %77
%86 = load i32, i32* @stderr
%87 = call i32 (i32, i8*, ...) @fprintf(i32 %86, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%88 = call i32 @exit(i32 1)
unreachable
89: ; preds = %77, %74, %67
%90 = getelementptr inbounds %struct.stat, %struct.stat* %6, i32 0, i32 0
%91 = load i32, i32* %90
store i32 %91, i32* %8
%92 = load i8**, i8*** %5
%93 = getelementptr inbounds i8*, i8** %92, i64 1
%94 = load i8*, i8** %93
%95 = getelementptr inbounds i8, i8* %94, i64 0
%96 = load i8, i8* %95
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 121
br i1 %98, label %99, label %104
99: ; preds = %89
%100 = load i32, i32* %7
%101 = getelementptr inbounds %struct.stat, %struct.stat* %6, i32 0, i32 0
%102 = load i32, i32* %101
%103 = or i32 %102, %100
store i32 %103, i32* %101
br label %110
104: ; preds = %89
%105 = load i32, i32* %7
%106 = xor i32 %105, -1
%107 = getelementptr inbounds %struct.stat, %struct.stat* %6, i32 0, i32 0
%108 = load i32, i32* %107
%109 = and i32 %108, %106
store i32 %109, i32* %107
br label %110
110: ; preds = %104, %99
%111 = load i32, i32* %8
%112 = getelementptr inbounds %struct.stat, %struct.stat* %6, i32 0, i32 0
%113 = load i32, i32* %112
%114 = icmp ne i32 %111, %113
br i1 %114, label %115, label %128
115: ; preds = %110
%116 = getelementptr inbounds %struct.stat, %struct.stat* %6, i32 0, i32 0
%117 = load i32, i32* %116
%118 = call i64 @fchmod(i32 0, i32 %117)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %128
120: ; preds = %115
%121 = load i32, i32* @errno
store i32 %121, i32* %11
%122 = load i32, i32* @stderr
%123 = call i8* @ttyname(i32 0)
%124 = load i32, i32* %11
%125 = call i8* @strerror(i32 %124)
%126 = call i32 (i32, i8*, ...) @fprintf(i32 %122, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0), i8* %123, i8* %125)
%127 = call i32 @exit(i32 1)
unreachable
128: ; preds = %115, %110
store i32 0, i32* %3
br label %129
129: ; preds = %128, %64, %33, %20, %14
%130 = load i32, i32* %3
ret i32 %130
}

LLVM IR (-O2):
%struct.stat = type { i32 }
@stderr = global i32 0
@.str = [21 x i8] c"stdin: is not a tty\0A\00"
@.str.1 = [6 x i8] c"fstat\00"
@.str.2 = [7 x i8] c"is %s\0A\00"
@.str.3 = [2 x i8] c"y\00"
@.str.4 = [2 x i8] c"n\00"
@.str.5 = [19 x i8] c"Usage: mesg [y|n]\0A\00"
@.str.6 = [52 x i8] c"mesg: error: tty device is not owned by group `%s'\0A\00"
@.str.7 = [4 x i8] c"tty\00"
@errno = global i32 0
@.str.8 = [14 x i8] c"mesg: %s: %s\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.stat
%4 = bitcast %struct.stat* %3 to i8*
%5 = tail call i32 @isatty(i32 0)
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, i32* @stderr
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
br label %69
10: ; preds = %2
%11 = call i64 @fstat(i32 0, %struct.stat* %3)
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = tail call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %69
15: ; preds = %10
%16 = tail call i32 (...) @hasttygrp()
%17 = call i32 @tty_in_ttygrp(%struct.stat* %3)
%18 = icmp slt i32 %0, 2
br i1 %18, label %19, label %30
19: ; preds = %15
%20 = icmp ne i32 %16, 0
%21 = icmp ne i32 %17, 0
%22 = select i1 %20, i1 %21, i1 false
%23 = select i1 %22, i32 16, i32 2
%24 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 0
%25 = load i32, i32* %24
%26 = and i32 %25, %23
%27 = icmp eq i32 %26, 0
%28 = select i1 %27, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0)
%29 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* %28)
br label %69
30: ; preds = %15
%31 = icmp eq i32 %0, 2
br i1 %31, label %32, label %36
32: ; preds = %30
%33 = getelementptr inbounds i8*, i8** %1, i64 1
%34 = load i8*, i8** %33
%35 = load i8, i8* %34
switch i8 %35, label %36 [
i8 121, label %39
i8 110, label %39
]
36: ; preds = %32, %30
%37 = load i32, i32* @stderr
%38 = call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
br label %69
39: ; preds = %32, %32
%40 = icmp eq i32 %16, 0
%41 = select i1 %40, i32 18, i32 16
%42 = icmp eq i32 %17, 0
%43 = xor i1 %40, true
%44 = select i1 %43, i1 %42, i1 false
%45 = icmp eq i8 %35, 121
%46 = select i1 %44, i1 %45, i1 false
br i1 %46, label %47, label %51
47: ; preds = %39
%48 = load i32, i32* @stderr
%49 = call i32 (i32, i8*, ...) @fprintf(i32 %48, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%50 = call i32 @exit(i32 1)
unreachable
51: ; preds = %39
%52 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 0
%53 = load i32, i32* %52
%54 = xor i32 %41, -1
%55 = and i32 %53, %54
%56 = or i32 %53, %41
%57 = select i1 %45, i32 %56, i32 %55
store i32 %57, i32* %52
%58 = icmp eq i32 %53, %57
br i1 %58, label %69, label %59
59: ; preds = %51
%60 = call i64 @fchmod(i32 0, i32 %57)
%61 = icmp eq i64 %60, 0
br i1 %61, label %69, label %62
62: ; preds = %59
%63 = load i32, i32* @errno
%64 = load i32, i32* @stderr
%65 = call i8* @ttyname(i32 0)
%66 = call i8* @strerror(i32 %63)
%67 = call i32 (i32, i8*, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0), i8* %65, i8* %66)
%68 = call i32 @exit(i32 1)
unreachable
69: ; preds = %51, %59, %36, %19, %13, %7
%70 = phi i32 [ 1, %13 ], [ 0, %19 ], [ 1, %36 ], [ 1, %7 ], [ 0, %59 ], [ 0, %51 ]
ret i32 %70
}