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

/* Variables and functions */
int BUFSIZ;
#define EOF 128
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int getc(int /*<<< orphan*/ *);
int /*<<< orphan*/ *openpath(struct path *, char const *, char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(int);
int /*<<< orphan*/ *stdin;
int /*<<< orphan*/ strcmp(char const *, char *);
int /*<<< orphan*/ warn(char *, char const *);
int process(struct path *p, const char *file) {
  char *cp;
  int c;
  char fname[BUFSIZ];
  FILE *soee;
  int isfile;
  if (!strcmp(file, "-")) {
    soee = stdin;
  } else {
    soee = openpath(p, file, "r");
    if (soee == NULL) {
      warn("Cannot open `%s'", file);
      return (-1);
    }
  }
  for (;;) {
    c = getc(soee);
    if (c == EOF)
      break;
    if (c != '.')
      goto simple;
    c = getc(soee);
    if (c != 's') {
      putchar('.');
      goto simple;
    }
    c = getc(soee);
    if (c != 'o') {
      printf(".s");
      goto simple;
    }
    do
      c = getc(soee);
    while (c == ' ' || c == '\t');
    cp = fname;
    isfile = 0;
    for (;;) {
      switch (c) {
      case ' ':
      case '\t':
      case '\n':
      case EOF:
        goto donename;
      default:
        *cp++ = c;
        c = getc(soee);
        isfile++;
        continue;
      }
    }
  donename:
    if (cp == fname) {
      printf(".so");
      goto simple;
    }
    *cp = 0;
    if (process(p, fname) < 0)
      if (isfile)
        printf(".so %s\n", fname);
    continue;
  simple:
    if (c == EOF)
      break;
    putchar(c);
    if (c != '\n') {
      c = getc(soee);
      goto simple;
    }
  }
  if (soee != stdin) {
    fclose(soee);
  }
  return (0);
}


x86 assembly (clang, -O0):
<process>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    0x2e41(%rip),%rax
mov    (%rax),%eax
mov    %rsp,%rcx
mov    %rcx,-0x30(%rbp)
mov    %rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x50(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x38(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xe39(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    11e8 <process+0x68>
mov    0x2e0c(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x40(%rbp)
jmp    1233 <process+0xb3>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
lea    0xe0b(%rip),%rdx
call   1090 <openpath@plt>
mov    %rax,-0x40(%rbp)
cmpq   $0x0,-0x40(%rbp)
jne    122e <process+0xae>
mov    -0x18(%rbp),%rsi
lea    0xdee(%rip),%rdi
call   1040 <warn@plt>
movl   $0xffffffff,-0x4(%rbp)
movl   $0x1,-0x48(%rbp)
jmp    1430 <process+0x2b0>
jmp    1233 <process+0xb3>
jmp    1238 <process+0xb8>
mov    -0x40(%rbp),%rdi
call   10a0 <getc@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x80,-0x24(%rbp)
jne    1256 <process+0xd6>
jmp    1405 <process+0x285>
cmpl   $0x2e,-0x24(%rbp)
je     1265 <process+0xe5>
jmp    13cb <process+0x24b>
mov    -0x40(%rbp),%rdi
call   10a0 <getc@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x73,-0x24(%rbp)
je     128a <process+0x10a>
mov    $0x2e,%edi
call   1030 <putchar@plt>
jmp    13cb <process+0x24b>
mov    -0x40(%rbp),%rdi
call   10a0 <getc@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x6f,-0x24(%rbp)
je     12b3 <process+0x133>
lea    0xd6e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13cb <process+0x24b>
jmp    12b8 <process+0x138>
mov    -0x40(%rbp),%rdi
call   10a0 <getc@plt>
mov    %eax,-0x24(%rbp)
mov    $0x1,%al
cmpl   $0x20,-0x24(%rbp)
mov    %al,-0x51(%rbp)
je     12dd <process+0x15d>
cmpl   $0x9,-0x24(%rbp)
sete   %al
mov    %al,-0x51(%rbp)
mov    -0x51(%rbp),%al
test   $0x1,%al
jne    12b8 <process+0x138>
mov    -0x50(%rbp),%rax
mov    %rax,-0x20(%rbp)
movl   $0x0,-0x44(%rbp)
mov    -0x24(%rbp),%eax
mov    %eax,-0x58(%rbp)
add    $0xfffffff7,%eax
sub    $0x2,%eax
jb     1332 <process+0x1b2>
jmp    130e <process+0x18e>
mov    -0x58(%rbp),%eax
sub    $0x20,%eax
je     1332 <process+0x1b2>
jmp    131f <process+0x19f>
mov    -0x58(%rbp),%eax
sub    $0x80,%eax
jne    1337 <process+0x1b7>
jmp    1332 <process+0x1b2>
jmp    1367 <process+0x1e7>
mov    -0x24(%rbp),%eax
mov    %al,%cl
mov    -0x20(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x20(%rbp)
mov    %cl,(%rax)
mov    -0x40(%rbp),%rdi
call   10a0 <getc@plt>
mov    %eax,-0x24(%rbp)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    12f7 <process+0x177>
mov    -0x50(%rbp),%rax
cmp    %rax,-0x20(%rbp)
jne    1388 <process+0x208>
lea    0xc9c(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13cb <process+0x24b>
mov    -0x50(%rbp),%rsi
mov    -0x20(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x10(%rbp),%rdi
call   1070 <process@plt>
cmp    $0x0,%eax
jge    13c6 <process+0x246>
cmpl   $0x0,-0x44(%rbp)
je     13c1 <process+0x241>
mov    -0x50(%rbp),%rsi
lea    0xc62(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13c6 <process+0x246>
jmp    1238 <process+0xb8>
cmpl   $0x80,-0x24(%rbp)
jne    13dd <process+0x25d>
jmp    1405 <process+0x285>
mov    -0x24(%rbp),%edi
call   1030 <putchar@plt>
cmpl   $0xa,-0x24(%rbp)
je     1400 <process+0x280>
mov    -0x40(%rbp),%rdi
call   10a0 <getc@plt>
mov    %eax,-0x24(%rbp)
jmp    13cb <process+0x24b>
jmp    1238 <process+0xb8>
mov    -0x40(%rbp),%rax
mov    0x2bd8(%rip),%rcx
cmp    (%rcx),%rax
je     1422 <process+0x2a2>
mov    -0x40(%rbp),%rdi
call   1050 <fclose@plt>
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0x48(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<process>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r12
mov    %rdi,%r14
mov    0x2e3d(%rip),%rax
mov    (%rax),%eax
mov    %rsp,%r15
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r15
mov    %r15,%rsp
lea    0xe4b(%rip),%rsi
mov    %r12,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     11f5 <process+0x75>
lea    0xe3a(%rip),%rdx
mov    %r14,%rdi
mov    %r12,%rsi
call   1090 <openpath@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    11ff <process+0x7f>
lea    0xe22(%rip),%rdi
mov    %r12,%rsi
call   1040 <warn@plt>
mov    $0xffffffff,%r14d
jmp    1360 <process+0x1e0>
mov    0x2dec(%rip),%rax
mov    (%rax),%rbx
mov    %rbx,%rdi
call   10a0 <getc@plt>
cmp    $0x2e,%eax
je     1220 <process+0xa0>
mov    %eax,%r12d
cmp    $0x80,%eax
jne    12ad <process+0x12d>
jmp    1349 <process+0x1c9>
nop
mov    %rbx,%rdi
call   10a0 <getc@plt>
cmp    $0x73,%eax
jne    12a0 <process+0x120>
mov    %rbx,%rdi
call   10a0 <getc@plt>
cmp    $0x6f,%eax
jne    12e6 <process+0x166>
xchg   %ax,%ax
mov    %rbx,%rdi
call   10a0 <getc@plt>
cmp    $0x9,%eax
je     1240 <process+0xc0>
mov    %eax,%r12d
cmp    $0x20,%eax
je     1240 <process+0xc0>
xor    %r13d,%r13d
cmp    $0x20,%r12d
ja     1273 <process+0xf3>
xchg   %ax,%ax
mov    %r12d,%eax
movabs $0x100000600,%rcx
bt     %rax,%rcx
jb     12f2 <process+0x172>
cmp    $0x80,%r12d
je     12f2 <process+0x172>
mov    %r12b,(%r15,%r13,1)
mov    %rbx,%rdi
call   10a0 <getc@plt>
mov    %eax,%r12d
add    $0x1,%r13
cmp    $0x20,%r12d
jbe    1260 <process+0xe0>
jmp    1273 <process+0xf3>
nopw   0x0(%rax,%rax,1)
mov    %eax,%r12d
mov    $0x2e,%edi
call   1030 <putchar@plt>
cmp    $0x80,%r12d
je     1349 <process+0x1c9>
nopw   0x0(%rax,%rax,1)
mov    %r12d,%edi
call   1030 <putchar@plt>
cmp    $0xa,%r12d
je     11ff <process+0x7f>
mov    %rbx,%rdi
call   10a0 <getc@plt>
mov    %eax,%r12d
cmp    $0x80,%eax
jne    12c0 <process+0x140>
jmp    1349 <process+0x1c9>
mov    %eax,%r12d
lea    0xd25(%rip),%rdi
jmp    1335 <process+0x1b5>
test   %r13,%r13
je     132e <process+0x1ae>
movb   $0x0,(%r15,%r13,1)
mov    %r14,%rdi
mov    %r15,%rsi
call   1070 <process@plt>
test   %eax,%eax
jns    11ff <process+0x7f>
test   %r13d,%r13d
je     11ff <process+0x7f>
lea    0xcfd(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    11ff <process+0x7f>
lea    0xce3(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0x80,%r12d
jne    12c0 <process+0x140>
mov    0x2c98(%rip),%rax
xor    %r14d,%r14d
cmp    (%rax),%rbx
je     1360 <process+0x1e0>
mov    %rbx,%rdi
call   1050 <fclose@plt>
mov    %r14d,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.path = type { i32 }
@BUFSIZ = global i32 0
@.str = [2 x i8] c"-\00"
@stdin = global i32* null
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [17 x i8] c"Cannot open `%s'\00"
@.str.3 = [3 x i8] c".s\00"
@.str.4 = [4 x i8] c".so\00"
@.str.5 = [8 x i8] c".so %s\0A\00"
define i32 @process(%struct.path* %0, i8* %1) {
%3 = alloca i32
%4 = alloca %struct.path*
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i8*
%9 = alloca i64
%10 = alloca i32*
%11 = alloca i32
%12 = alloca i32
store %struct.path* %0, %struct.path** %4
store i8* %1, i8** %5
%13 = load i32, i32* @BUFSIZ
%14 = zext i32 %13 to i64
%15 = call i8* @llvm.stacksave()
store i8* %15, i8** %8
%16 = alloca i8, i64 %14
store i64 %14, i64* %9
%17 = load i8*, i8** %5
%18 = call i32 @strcmp(i8* %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%19 = icmp ne i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %2
%21 = load i32*, i32** @stdin
store i32* %21, i32** %10
br label %32
22: ; preds = %2
%23 = load %struct.path*, %struct.path** %4
%24 = load i8*, i8** %5
%25 = call i32* @openpath(%struct.path* %23, i8* %24, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %25, i32** %10
%26 = load i32*, i32** %10
%27 = icmp eq i32* %26, null
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = load i8*, i8** %5
%30 = call i32 @warn(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %29)
store i32 -1, i32* %3
store i32 1, i32* %12
br label %120
31: ; preds = %22
br label %32
32: ; preds = %31, %20
br label %33
33: ; preds = %111, %98, %32
%34 = load i32*, i32** %10
%35 = call i32 @getc(i32* %34)
store i32 %35, i32* %7
%36 = load i32, i32* %7
%37 = icmp eq i32 %36, 128
br i1 %37, label %38, label %39
38: ; preds = %33
br label %112
39: ; preds = %33
%40 = load i32, i32* %7
%41 = icmp ne i32 %40, 46
br i1 %41, label %42, label %43
42: ; preds = %39
br label %99
43: ; preds = %39
%44 = load i32*, i32** %10
%45 = call i32 @getc(i32* %44)
store i32 %45, i32* %7
%46 = load i32, i32* %7
%47 = icmp ne i32 %46, 115
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = call i32 @putchar(i32 46)
br label %99
50: ; preds = %43
%51 = load i32*, i32** %10
%52 = call i32 @getc(i32* %51)
store i32 %52, i32* %7
%53 = load i32, i32* %7
%54 = icmp ne i32 %53, 111
br i1 %54, label %55, label %57
55: ; preds = %50
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %99
57: ; preds = %50
br label %58
58: ; preds = %67, %57
%59 = load i32*, i32** %10
%60 = call i32 @getc(i32* %59)
store i32 %60, i32* %7
br label %61
61: ; preds = %58
%62 = load i32, i32* %7
%63 = icmp eq i32 %62, 32
br i1 %63, label %67, label %64
64: ; preds = %61
%65 = load i32, i32* %7
%66 = icmp eq i32 %65, 9
br label %67
67: ; preds = %64, %61
%68 = phi i1 [ true, %61 ], [ %66, %64 ]
br i1 %68, label %58, label %69
69: ; preds = %67
store i8* %16, i8** %6
store i32 0, i32* %11
br label %70
70: ; preds = %73, %69
%71 = load i32, i32* %7
switch i32 %71, label %73 [
i32 32, label %72
i32 9, label %72
i32 10, label %72
i32 128, label %72
]
72: ; preds = %70, %70, %70, %70
br label %82
73: ; preds = %70
%74 = load i32, i32* %7
%75 = trunc i32 %74 to i8
%76 = load i8*, i8** %6
%77 = getelementptr inbounds i8, i8* %76, i32 1
store i8* %77, i8** %6
store i8 %75, i8* %76
%78 = load i32*, i32** %10
%79 = call i32 @getc(i32* %78)
store i32 %79, i32* %7
%80 = load i32, i32* %11
%81 = add nsw i32 %80, 1
store i32 %81, i32* %11
br label %70
82: ; preds = %72
%83 = load i8*, i8** %6
%84 = icmp eq i8* %83, %16
br i1 %84, label %85, label %87
85: ; preds = %82
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
br label %99
87: ; preds = %82
%88 = load i8*, i8** %6
store i8 0, i8* %88
%89 = load %struct.path*, %struct.path** %4
%90 = call i32 @process(%struct.path* %89, i8* %16)
%91 = icmp slt i32 %90, 0
br i1 %91, label %92, label %98
92: ; preds = %87
%93 = load i32, i32* %11
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %97
95: ; preds = %92
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* %16)
br label %97
97: ; preds = %95, %92
br label %98
98: ; preds = %97, %87
br label %33
99: ; preds = %108, %85, %55, %48, %42
%100 = load i32, i32* %7
%101 = icmp eq i32 %100, 128
br i1 %101, label %102, label %103
102: ; preds = %99
br label %112
103: ; preds = %99
%104 = load i32, i32* %7
%105 = call i32 @putchar(i32 %104)
%106 = load i32, i32* %7
%107 = icmp ne i32 %106, 10
br i1 %107, label %108, label %111
108: ; preds = %103
%109 = load i32*, i32** %10
%110 = call i32 @getc(i32* %109)
store i32 %110, i32* %7
br label %99
111: ; preds = %103
br label %33
112: ; preds = %102, %38
%113 = load i32*, i32** %10
%114 = load i32*, i32** @stdin
%115 = icmp ne i32* %113, %114
br i1 %115, label %116, label %119
116: ; preds = %112
%117 = load i32*, i32** %10
%118 = call i32 @fclose(i32* %117)
br label %119
119: ; preds = %116, %112
store i32 0, i32* %3
store i32 1, i32* %12
br label %120
120: ; preds = %119, %28
%121 = load i8*, i8** %8
%122 = load i32, i32* %3
ret i32 %122
}

LLVM IR (-O2):
%struct.path = type { i32 }
@BUFSIZ = global i32 0
@.str = [2 x i8] c"-\00"
@stdin = global i32* null
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [17 x i8] c"Cannot open `%s'\00"
@.str.3 = [3 x i8] c".s\00"
@.str.4 = [4 x i8] c".so\00"
@.str.5 = [8 x i8] c".so %s\0A\00"
define i32 @process(%struct.path* %0, i8* %1) {
%3 = load i32, i32* @BUFSIZ
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4
%6 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(2) getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load i32*, i32** @stdin
br label %15
10: ; preds = %2
%11 = tail call i32* @openpath(%struct.path* %0, i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%12 = icmp eq i32* %11, null
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = tail call i32 @warn(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %1)
br label %68
15: ; preds = %10, %8
%16 = phi i32* [ %11, %10 ], [ %9, %8 ]
br label %17
17: ; preds = %53, %15
%18 = call i32 @getc(i32* %16)
switch i32 %18, label %19 [
i32 128, label %63
i32 46, label %22
]
19: ; preds = %25, %30, %46, %17
%20 = phi i32 [ %18, %17 ], [ %36, %46 ], [ %28, %30 ], [ %23, %25 ]
%21 = icmp eq i32 %20, 128
br i1 %21, label %63, label %56
22: ; preds = %17
%23 = call i32 @getc(i32* %16)
%24 = icmp eq i32 %23, 115
br i1 %24, label %27, label %25
25: ; preds = %22
%26 = call i32 @putchar(i32 46)
br label %19
27: ; preds = %22
%28 = call i32 @getc(i32* %16)
%29 = icmp eq i32 %28, 111
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %19
32: ; preds = %27, %34
%33 = call i32 @getc(i32* %16)
switch i32 %33, label %35 [
i32 32, label %34
i32 9, label %34
]
34: ; preds = %32, %32
br label %32
35: ; preds = %32, %39
%36 = phi i32 [ %42, %39 ], [ %33, %32 ]
%37 = phi i8* [ %41, %39 ], [ %5, %32 ]
%38 = phi i32 [ %43, %39 ], [ 0, %32 ]
switch i32 %36, label %39 [
i32 32, label %44
i32 9, label %44
i32 10, label %44
i32 128, label %44
]
39: ; preds = %35
%40 = trunc i32 %36 to i8
%41 = getelementptr inbounds i8, i8* %37, i64 1
store i8 %40, i8* %37
%42 = call i32 @getc(i32* %16)
%43 = add nuw nsw i32 %38, 1
br label %35
44: ; preds = %35, %35, %35, %35
%45 = icmp eq i8* %37, %5
br i1 %45, label %46, label %48
46: ; preds = %44
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
br label %19
48: ; preds = %44
store i8 0, i8* %37
%49 = call i32 @process(%struct.path* %0, i8* %5)
%50 = icmp slt i32 %49, 0
%51 = icmp ne i32 %38, 0
%52 = select i1 %50, i1 %51, i1 false
br i1 %52, label %54, label %53
53: ; preds = %56, %48, %54
br label %17
54: ; preds = %48
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* %5)
br label %53
56: ; preds = %19, %60
%57 = phi i32 [ %61, %60 ], [ %20, %19 ]
%58 = call i32 @putchar(i32 %57)
%59 = icmp eq i32 %57, 10
br i1 %59, label %53, label %60
60: ; preds = %56
%61 = call i32 @getc(i32* %16)
%62 = icmp eq i32 %61, 128
br i1 %62, label %63, label %56
63: ; preds = %17, %19, %60
%64 = load i32*, i32** @stdin
%65 = icmp eq i32* %16, %64
br i1 %65, label %68, label %66
66: ; preds = %63
%67 = call i32 @fclose(i32* %16)
br label %68
68: ; preds = %63, %66, %13
%69 = phi i32 [ -1, %13 ], [ 0, %66 ], [ 0, %63 ]
ret i32 %69
}