void main(void) {
  unsigned short int i;
  unsigned short int j;
  unsigned short int equal;
  unsigned char device;
  unsigned char filename[17 + 2];
  unsigned char str[100];
  int first_line;
  puts0("file ? ");
  for (i = 0; i < 17; i++)
    str[i] = 0;
  getsn(str, 100);
  for (i = 0; i < 17; i++)
    filename[i] = str[i];
  filename[17] = 0;
  puts0("\r\n'");
  puts0(filename);
  puts0("'\r\n");
  i = open(filename, 2);
  if (i == 1) {
    puts0("open OK\r\n");
  } else {
    puts0("open not ok\r\n");
    return;
  }
  first_line = 1;
  while (1) {
    puts0("data to file (] - end of text) ? ");
    for (i = 0; i < 100; i++)
      str[i] = 0;
    getsn(str, 100);
    puts0("\r\n'");
    puts0(str);
    puts0("'\r\n");
    if (str[0] == ']')
      break;
    if (first_line == 0)
      writec(0, '\n');
    else
      first_line = 0;
    for (i = 0; i < 100; i++)
      if (str[i]) {
        writec(0, str[i]);
        putch(str[i]);
      } else
        break;
  }
  close(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
movw   $0x0,-0x2(%rbp)
movzwl -0x2(%rbp),%eax
cmp    $0x11,%eax
jge    11a9 <main+0x49>
movzwl -0x2(%rbp),%eax
movb   $0x0,-0x90(%rbp,%rax,1)
mov    -0x2(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x2(%rbp)
jmp    117f <main+0x1f>
lea    -0x90(%rbp),%rdi
mov    $0x64,%esi
mov    $0x0,%al
call   1030 <getsn@plt>
movw   $0x0,-0x2(%rbp)
movzwl -0x2(%rbp),%eax
cmp    $0x11,%eax
jge    11f3 <main+0x93>
movzwl -0x2(%rbp),%eax
mov    -0x90(%rbp,%rax,1),%cl
movzwl -0x2(%rbp),%eax
mov    %cl,-0x20(%rbp,%rax,1)
mov    -0x2(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x2(%rbp)
jmp    11c2 <main+0x62>
movb   $0x0,-0xf(%rbp)
lea    0xe0a(%rip),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
lea    -0x20(%rbp),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
lea    0xdf5(%rip),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
lea    -0x20(%rbp),%rdi
mov    $0x2,%esi
mov    $0x0,%al
call   1060 <open@plt>
mov    %ax,-0x2(%rbp)
movzwl -0x2(%rbp),%eax
cmp    $0x1,%eax
jne    1252 <main+0xf2>
lea    0xdca(%rip),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
jmp    1265 <main+0x105>
lea    0xdc1(%rip),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
jmp    13a4 <main+0x244>
movl   $0x1,-0x94(%rbp)
lea    0xdb2(%rip),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
movw   $0x0,-0x2(%rbp)
movzwl -0x2(%rbp),%eax
cmp    $0x64,%eax
jge    12ad <main+0x14d>
movzwl -0x2(%rbp),%eax
movb   $0x0,-0x90(%rbp,%rax,1)
mov    -0x2(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x2(%rbp)
jmp    1283 <main+0x123>
lea    -0x90(%rbp),%rdi
mov    $0x64,%esi
mov    $0x0,%al
call   1030 <getsn@plt>
lea    0xd41(%rip),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
lea    -0x90(%rbp),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
lea    0xd29(%rip),%rdi
mov    $0x0,%al
call   1070 <puts0@plt>
movzbl -0x90(%rbp),%eax
cmp    $0x5d,%eax
jne    12ff <main+0x19f>
jmp    139b <main+0x23b>
cmpl   $0x0,-0x94(%rbp)
jne    131f <main+0x1bf>
xor    %edi,%edi
mov    $0xa,%esi
mov    $0x0,%al
call   1040 <writec@plt>
jmp    1329 <main+0x1c9>
movl   $0x0,-0x94(%rbp)
movw   $0x0,-0x2(%rbp)
movzwl -0x2(%rbp),%eax
cmp    $0x64,%eax
jge    1396 <main+0x236>
movzwl -0x2(%rbp),%eax
cmpb   $0x0,-0x90(%rbp,%rax,1)
je     137b <main+0x21b>
movzwl -0x2(%rbp),%eax
movzbl -0x90(%rbp,%rax,1),%esi
ff
xor    %edi,%edi
mov    $0x0,%al
call   1040 <writec@plt>
movzwl -0x2(%rbp),%eax
movzbl -0x90(%rbp,%rax,1),%edi
ff
mov    $0x0,%al
call   1080 <putch@plt>
jmp    1380 <main+0x220>
jmp    1396 <main+0x236>
jmp    1385 <main+0x225>
mov    -0x2(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x2(%rbp)
jmp    132f <main+0x1cf>
jmp    126f <main+0x10f>
xor    %edi,%edi
mov    $0x0,%al
call   1050 <close@plt>
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x90,%rsp
lea    0xe89(%rip),%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,(%rsp)
movb   $0x0,0x10(%rsp)
mov    %rsp,%rdi
mov    $0x64,%esi
xor    %eax,%eax
call   1030 <getsn@plt>
movaps (%rsp),%xmm0
movaps %xmm0,0x70(%rsp)
mov    0x10(%rsp),%al
mov    %al,0x80(%rsp)
movb   $0x0,0x81(%rsp)
lea    0xe4c(%rip),%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
lea    0x70(%rsp),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
lea    0xe33(%rip),%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <open@plt>
cmp    $0x1,%ax
jne    1286 <main+0x126>
lea    0xe10(%rip),%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
lea    0xe1a(%rip),%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x50(%rsp)
movl   $0x0,0x60(%rsp)
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x64,%esi
xor    %eax,%eax
call   1030 <getsn@plt>
lea    0xdb2(%rip),%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
lea    0xd9e(%rip),%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
cmpb   $0x5d,(%rsp)
jne    12a5 <main+0x145>
xor    %edi,%edi
xor    %eax,%eax
call   1050 <close@plt>
jmp    1294 <main+0x134>
lea    0xd8d(%rip),%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
add    $0x90,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret
lea    0xd7c(%rip),%r14
mov    %rsp,%r13
lea    0xd52(%rip),%r15
lea    0xd4f(%rip),%r12
nopl   (%rax)
xor    %ebx,%ebx
movzbl (%rsp,%rbx,1),%esi
test   %esi,%esi
je     12e8 <main+0x188>
xor    %edi,%edi
xor    %eax,%eax
call   1040 <writec@plt>
movzbl (%rsp,%rbx,1),%edi
xor    %eax,%eax
call   1080 <putch@plt>
add    $0x1,%rbx
cmp    $0x64,%rbx
jne    12c2 <main+0x162>
mov    %r14,%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x50(%rsp)
movl   $0x0,0x60(%rsp)
mov    %r13,%rdi
mov    $0x64,%esi
xor    %eax,%eax
call   1030 <getsn@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
mov    %r13,%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
mov    %r12,%rdi
xor    %eax,%eax
call   1070 <puts0@plt>
cmpb   $0x5d,(%rsp)
je     127b <main+0x11b>
xor    %edi,%edi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <writec@plt>
jmp    12c0 <main+0x160>

LLVM IR (-O0):
@.str = [8 x i8] c"file ? \00"
@.str.1 = [4 x i8] c"\0D\0A'\00"
@.str.2 = [4 x i8] c"'\0D\0A\00"
@.str.3 = [10 x i8] c"open OK\0D\0A\00"
@.str.4 = [14 x i8] c"open not ok\0D\0A\00"
@.str.5 = [34 x i8] c"data to file (] - end of text) ? \00"
define void @main() {
%1 = alloca i16
%2 = alloca i16
%3 = alloca i16
%4 = alloca i8
%5 = alloca [19 x i8]
%6 = alloca [100 x i8]
%7 = alloca i32
%8 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
store i16 0, i16* %1
br label %9
9: ; preds = %17, %0
%10 = load i16, i16* %1
%11 = zext i16 %10 to i32
%12 = icmp slt i32 %11, 17
br i1 %12, label %13, label %20
13: ; preds = %9
%14 = load i16, i16* %1
%15 = zext i16 %14 to i64
%16 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %15
store i8 0, i8* %16
br label %17
17: ; preds = %13
%18 = load i16, i16* %1
%19 = add i16 %18, 1
store i16 %19, i16* %1
br label %9
20: ; preds = %9
%21 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%22 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @getsn to i32 (i8*, i32, ...)*)(i8* %21, i32 100)
store i16 0, i16* %1
br label %23
23: ; preds = %35, %20
%24 = load i16, i16* %1
%25 = zext i16 %24 to i32
%26 = icmp slt i32 %25, 17
br i1 %26, label %27, label %38
27: ; preds = %23
%28 = load i16, i16* %1
%29 = zext i16 %28 to i64
%30 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %29
%31 = load i8, i8* %30
%32 = load i16, i16* %1
%33 = zext i16 %32 to i64
%34 = getelementptr inbounds [19 x i8], [19 x i8]* %5, i64 0, i64 %33
store i8 %31, i8* %34
br label %35
35: ; preds = %27
%36 = load i16, i16* %1
%37 = add i16 %36, 1
store i16 %37, i16* %1
br label %23
38: ; preds = %23
%39 = getelementptr inbounds [19 x i8], [19 x i8]* %5, i64 0, i64 17
store i8 0, i8* %39
%40 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%41 = getelementptr inbounds [19 x i8], [19 x i8]* %5, i64 0, i64 0
%42 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* %41)
%43 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%44 = getelementptr inbounds [19 x i8], [19 x i8]* %5, i64 0, i64 0
%45 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @open to i32 (i8*, i32, ...)*)(i8* %44, i32 2)
%46 = trunc i32 %45 to i16
store i16 %46, i16* %1
%47 = load i16, i16* %1
%48 = zext i16 %47 to i32
%49 = icmp eq i32 %48, 1
br i1 %49, label %50, label %52
50: ; preds = %38
%51 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
br label %54
52: ; preds = %38
%53 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
br label %118
54: ; preds = %50
store i32 1, i32* %7
br label %55
55: ; preds = %54, %115
%56 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0))
store i16 0, i16* %1
br label %57
57: ; preds = %65, %55
%58 = load i16, i16* %1
%59 = zext i16 %58 to i32
%60 = icmp slt i32 %59, 100
br i1 %60, label %61, label %68
61: ; preds = %57
%62 = load i16, i16* %1
%63 = zext i16 %62 to i64
%64 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %63
store i8 0, i8* %64
br label %65
65: ; preds = %61
%66 = load i16, i16* %1
%67 = add i16 %66, 1
store i16 %67, i16* %1
br label %57
68: ; preds = %57
%69 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%70 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @getsn to i32 (i8*, i32, ...)*)(i8* %69, i32 100)
%71 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%72 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%73 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* %72)
%74 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%75 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%76 = load i8, i8* %75
%77 = zext i8 %76 to i32
%78 = icmp eq i32 %77, 93
br i1 %78, label %79, label %80
79: ; preds = %68
br label %116
80: ; preds = %68
%81 = load i32, i32* %7
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %85
83: ; preds = %80
%84 = call i32 (i32, i32, ...) bitcast (i32 (...)* @writec to i32 (i32, i32, ...)*)(i32 0, i32 10)
br label %86
85: ; preds = %80
store i32 0, i32* %7
br label %86
86: ; preds = %85, %83
store i16 0, i16* %1
br label %87
87: ; preds = %112, %86
%88 = load i16, i16* %1
%89 = zext i16 %88 to i32
%90 = icmp slt i32 %89, 100
br i1 %90, label %91, label %115
91: ; preds = %87
%92 = load i16, i16* %1
%93 = zext i16 %92 to i64
%94 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %93
%95 = load i8, i8* %94
%96 = icmp ne i8 %95, 0
br i1 %96, label %97, label %110
97: ; preds = %91
%98 = load i16, i16* %1
%99 = zext i16 %98 to i64
%100 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %99
%101 = load i8, i8* %100
%102 = zext i8 %101 to i32
%103 = call i32 (i32, i32, ...) bitcast (i32 (...)* @writec to i32 (i32, i32, ...)*)(i32 0, i32 %102)
%104 = load i16, i16* %1
%105 = zext i16 %104 to i64
%106 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %105
%107 = load i8, i8* %106
%108 = zext i8 %107 to i32
%109 = call i32 (i32, ...) bitcast (i32 (...)* @putch to i32 (i32, ...)*)(i32 %108)
br label %111
110: ; preds = %91
br label %115
111: ; preds = %97
br label %112
112: ; preds = %111
%113 = load i16, i16* %1
%114 = add i16 %113, 1
store i16 %114, i16* %1
br label %87
115: ; preds = %110, %87
br label %55
116: ; preds = %79
%117 = call i32 (i32, ...) bitcast (i32 (...)* @close to i32 (i32, ...)*)(i32 0)
br label %118
118: ; preds = %116, %52
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"file ? \00"
@.str.1 = [4 x i8] c"\0D\0A'\00"
@.str.2 = [4 x i8] c"'\0D\0A\00"
@.str.3 = [10 x i8] c"open OK\0D\0A\00"
@.str.4 = [14 x i8] c"open not ok\0D\0A\00"
@.str.5 = [34 x i8] c"data to file (] - end of text) ? \00"
define void @main() {
%1 = alloca [19 x i8]
%2 = getelementptr inbounds [19 x i8], [19 x i8]* %1, i64 0, i64 0
%3 = alloca [100 x i8]
%4 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 0
%5 = getelementptr inbounds [19 x i8], [19 x i8]* %1, i64 0, i64 0
%6 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 0
%7 = tail call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%8 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @getsn to i32 (i8*, i32, ...)*)(i8* %6, i32 100)
%9 = getelementptr inbounds [19 x i8], [19 x i8]* %1, i64 0, i64 17
store i8 0, i8* %9
%10 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%11 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* %5)
%12 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @open to i32 (i8*, i32, ...)*)(i8* %5, i32 2)
%14 = and i32 %13, 65535
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %25
16: ; preds = %0
%17 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%18 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0))
%19 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @getsn to i32 (i8*, i32, ...)*)(i8* %6, i32 100)
%20 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%21 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* %6)
%22 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%23 = load i8, i8* %6
%24 = icmp eq i8 %23, 93
br i1 %24, label %52, label %29
25: ; preds = %0
%26 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
br label %54
27: ; preds = %44
%28 = call i32 (i32, i32, ...) bitcast (i32 (...)* @writec to i32 (i32, i32, ...)*)(i32 0, i32 10)
br label %42
29: ; preds = %16, %42
%30 = phi i64 [ %43, %42 ], [ 0, %16 ]
%31 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 %30
%32 = load i8, i8* %31
%33 = icmp eq i8 %32, 0
br i1 %33, label %44, label %34
34: ; preds = %29
%35 = zext i8 %32 to i32
%36 = call i32 (i32, i32, ...) bitcast (i32 (...)* @writec to i32 (i32, i32, ...)*)(i32 0, i32 %35)
%37 = load i8, i8* %31
%38 = zext i8 %37 to i32
%39 = call i32 (i32, ...) bitcast (i32 (...)* @putch to i32 (i32, ...)*)(i32 %38)
%40 = add nuw nsw i64 %30, 1
%41 = icmp eq i64 %40, 100
br i1 %41, label %44, label %42
42: ; preds = %34, %27
%43 = phi i64 [ %40, %34 ], [ 0, %27 ]
br label %29
44: ; preds = %29, %34
%45 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0))
%46 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @getsn to i32 (i8*, i32, ...)*)(i8* %6, i32 100)
%47 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%48 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* %6)
%49 = call i32 (i8*, ...) bitcast (i32 (...)* @puts0 to i32 (i8*, ...)*)(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%50 = load i8, i8* %6
%51 = icmp eq i8 %50, 93
br i1 %51, label %52, label %27
52: ; preds = %44, %16
%53 = call i32 (i32, ...) bitcast (i32 (...)* @close to i32 (i32, ...)*)(i32 0)
br label %54
54: ; preds = %52, %25
ret void
}