#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 */
typedef int wint_t;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ LC_CTYPE;
int WEOF;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int fgetwc(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ printf(char *, unsigned int);
int /*<<< orphan*/ setlocale(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ *stdin;
int main(int argc, char **argv) {
  if (argc > 2) {
    fprintf(stderr, "Usage: %s [input_file]\n", argv[0]);
    return EXIT_FAILURE;
  }
  if (!setlocale(LC_CTYPE, "")) {
    fprintf(stderr, "Cannot set the specified locale. "
                    "Check LANG, LC_CTYPE, LC_ALL.\n");
    return EXIT_FAILURE;
  }
  FILE *input_file;
  if (argc == 2) {
    input_file = fopen(argv[1], "r");
    if (input_file == NULL) {
      fprintf(stderr, "Cannot open input file %s\n", argv[1]);
      return EXIT_FAILURE;
    }
  } else {
    input_file = stdin;
  }
  unsigned bww = 0;
  wint_t character;
  while ((character = fgetwc(input_file)) != WEOF) {
    if (character >= L'0' && character <= L'9') {
      bww += character - L'0';
    } else if (character >= L'A' && character <= L'Z') {
      bww += character - L'A' + 1;
    } else if (character >= L'a' && character <= L'z') {
      bww += character - L'a' + 1;
    } else
      switch (character) {
      case L'Ä':
      case L'ä':
        bww += 27;
        break;
      case L'Ö':
      case L'ö':
        bww += 28;
        break;
      case L'Ü':
      case L'ü':
        bww += 29;
        break;
      case L'ß':
        bww += 30;
        break;
      case L'\n':
        printf("%u\n", bww);
        bww = 0;
        break;
      }
  }
  if (argc == 2) {
    fclose(input_file);
  }
  return EXIT_SUCCESS;
}


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)
cmpl   $0x2,-0x8(%rbp)
jle    11af <main+0x4f>
mov    0x2e49(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe69(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    0x2e23(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1416 <main+0x2b6>
mov    0x2e32(%rip),%rax
mov    (%rax),%edi
lea    0xe98(%rip),%rsi
call   1070 <setlocale@plt>
cmp    $0x0,%eax
jne    11f5 <main+0x95>
mov    0x2dfc(%rip),%rax
mov    (%rax),%edi
lea    0xe3b(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    0x2ddd(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1416 <main+0x2b6>
cmpl   $0x2,-0x8(%rbp)
jne    1257 <main+0xf7>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe4a(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    1252 <main+0xf2>
mov    0x2da7(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdx
lea    0xe20(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    0x2d80(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1416 <main+0x2b6>
jmp    1265 <main+0x105>
mov    0x2d82(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x18(%rbp),%rdi
call   1030 <fgetwc@plt>
mov    %eax,-0x20(%rbp)
mov    0x2d41(%rip),%rcx
cmp    (%rcx),%eax
je     13f7 <main+0x297>
cmpl   $0x30,-0x20(%rbp)
jl     12ac <main+0x14c>
cmpl   $0x39,-0x20(%rbp)
jg     12ac <main+0x14c>
mov    -0x20(%rbp),%eax
sub    $0x30,%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    13f2 <main+0x292>
cmpl   $0x41,-0x20(%rbp)
jl     12d4 <main+0x174>
cmpl   $0x5a,-0x20(%rbp)
jg     12d4 <main+0x174>
mov    -0x20(%rbp),%eax
sub    $0x41,%eax
add    $0x1,%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    13ed <main+0x28d>
cmpl   $0x61,-0x20(%rbp)
jl     12fc <main+0x19c>
cmpl   $0x7a,-0x20(%rbp)
jg     12fc <main+0x19c>
mov    -0x20(%rbp),%eax
sub    $0x61,%eax
add    $0x1,%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    13e8 <main+0x288>
mov    -0x20(%rbp),%eax
mov    %eax,-0x24(%rbp)
sub    $0xa,%eax
je     13cd <main+0x26d>
jmp    1310 <main+0x1b0>
mov    -0x24(%rbp),%eax
sub    $0xc4,%eax
je     1395 <main+0x235>
jmp    1323 <main+0x1c3>
mov    -0x24(%rbp),%eax
sub    $0xd6,%eax
je     13a3 <main+0x243>
jmp    1336 <main+0x1d6>
mov    -0x24(%rbp),%eax
sub    $0xdc,%eax
je     13b1 <main+0x251>
jmp    1349 <main+0x1e9>
mov    -0x24(%rbp),%eax
sub    $0xdf,%eax
je     13bf <main+0x25f>
jmp    135c <main+0x1fc>
mov    -0x24(%rbp),%eax
sub    $0xe4,%eax
je     1395 <main+0x235>
jmp    136f <main+0x20f>
mov    -0x24(%rbp),%eax
sub    $0xf6,%eax
je     13a3 <main+0x243>
jmp    1382 <main+0x222>
mov    -0x24(%rbp),%eax
sub    $0xfc,%eax
je     13b1 <main+0x251>
jmp    13e3 <main+0x283>
mov    -0x1c(%rbp),%eax
add    $0x1b,%eax
mov    %eax,-0x1c(%rbp)
jmp    13e3 <main+0x283>
mov    -0x1c(%rbp),%eax
add    $0x1c,%eax
mov    %eax,-0x1c(%rbp)
jmp    13e3 <main+0x283>
mov    -0x1c(%rbp),%eax
add    $0x1d,%eax
mov    %eax,-0x1c(%rbp)
jmp    13e3 <main+0x283>
mov    -0x1c(%rbp),%eax
add    $0x1e,%eax
mov    %eax,-0x1c(%rbp)
jmp    13e3 <main+0x283>
mov    -0x1c(%rbp),%esi
lea    0xc9e(%rip),%rdi
call   1050 <printf@plt>
movl   $0x0,-0x1c(%rbp)
jmp    13e8 <main+0x288>
jmp    13ed <main+0x28d>
jmp    13f2 <main+0x292>
jmp    126c <main+0x10c>
cmpl   $0x2,-0x8(%rbp)
jne    140a <main+0x2aa>
mov    -0x18(%rbp),%rdi
call   1040 <fclose@plt>
mov    0x2ba7(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbp
cmp    $0x3,%edi
jl     119a <main+0x3a>
mov    0x2e56(%rip),%rax
mov    (%rax),%edi
mov    0x0(%rbp),%rdx
lea    0xf5d(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    0x2e33(%rip),%rbp
jmp    123e <main+0xde>
mov    %edi,%r15d
mov    0x2e44(%rip),%rax
mov    (%rax),%edi
lea    0xf8e(%rip),%rsi
call   1070 <setlocale@plt>
test   %eax,%eax
je     11ea <main+0x8a>
cmp    $0x2,%r15d
jne    120a <main+0xaa>
mov    0x8(%rbp),%rdi
lea    0xf75(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    1214 <main+0xb4>
mov    0x2df5(%rip),%rax
mov    (%rax),%edi
mov    0x8(%rbp),%rdx
lea    0xf56(%rip),%rsi
jmp    1187 <main+0x27>
mov    0x2ddf(%rip),%rax
mov    (%rax),%edi
lea    0xf02(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    0x2dc0(%rip),%rbp
jmp    123e <main+0xde>
mov    0x2dcf(%rip),%rax
mov    (%rax),%rbx
mov    %rbx,%rdi
call   1030 <fgetwc@plt>
mov    0x2d9d(%rip),%r12
cmp    (%r12),%eax
jne    1250 <main+0xf0>
mov    0x2d88(%rip),%rbp
cmp    $0x2,%r15d
jne    123e <main+0xde>
mov    %rbx,%rdi
call   1040 <fclose@plt>
mov    0x0(%rbp),%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %ebp,%ebp
lea    0xf00(%rip),%r14
lea    0xda0(%rip),%r13
jmp    1280 <main+0x120>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    %ecx,%ebp
mov    %rbx,%rdi
call   1030 <fgetwc@plt>
cmp    (%r12),%eax
je     1229 <main+0xc9>
lea    -0x30(%rax),%ecx
cmp    $0x9,%ecx
jbe    1270 <main+0x110>
lea    -0x41(%rax),%ecx
cmp    $0x19,%ecx
ja     12a0 <main+0x140>
add    %eax,%ebp
add    $0xffffffc0,%ebp
jmp    1272 <main+0x112>
nopw   0x0(%rax,%rax,1)
lea    -0x61(%rax),%ecx
cmp    $0x19,%ecx
ja     12af <main+0x14f>
add    %eax,%ebp
add    $0xffffffa0,%ebp
jmp    1272 <main+0x112>
lea    -0xc4(%rax),%ecx
cmp    $0x38,%ecx
ja     12d3 <main+0x173>
movslq 0x0(%r13,%rcx,4),%rax
add    %r13,%rax
jmp    *%rax
add    $0x1b,%ebp
jmp    1272 <main+0x112>
add    $0x1c,%ebp
jmp    1272 <main+0x112>
add    $0x1d,%ebp
jmp    1272 <main+0x112>
cmp    $0xa,%eax
jne    1272 <main+0x112>
mov    %r14,%rdi
mov    %ebp,%esi
call   1050 <printf@plt>
xor    %ebp,%ebp
jmp    1272 <main+0x112>
add    $0x1e,%ebp
jmp    1272 <main+0x112>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [24 x i8] c"Usage: %s [input_file]\0A\00"
@EXIT_FAILURE = global i32 0
@LC_CTYPE = global i32 0
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [64 x i8] c"Cannot set the specified locale. Check LANG, LC_CTYPE, LC_ALL.\0A\00"
@.str.3 = [2 x i8] c"r\00"
@.str.4 = [27 x i8] c"Cannot open input file %s\0A\00"
@stdin = global i32* null
@WEOF = global i32 0
@.str.5 = [4 x i8] c"%u\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = load i32, i32* %4
%10 = icmp sgt i32 %9, 2
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, i32* @stderr
%13 = load i8**, i8*** %5
%14 = getelementptr inbounds i8*, i8** %13, i64 0
%15 = load i8*, i8** %14
%16 = call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %15)
%17 = load i32, i32* @EXIT_FAILURE
store i32 %17, i32* %3
br label %116
18: ; preds = %2
%19 = load i32, i32* @LC_CTYPE
%20 = call i32 @setlocale(i32 %19, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%21 = icmp ne i32 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load i32, i32* @stderr
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.2, i64 0, i64 0))
%25 = load i32, i32* @EXIT_FAILURE
store i32 %25, i32* %3
br label %116
26: ; preds = %18
%27 = load i32, i32* %4
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %44
29: ; preds = %26
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 1
%32 = load i8*, i8** %31
%33 = call i32* @fopen(i8* %32, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %33, i32** %6
%34 = load i32*, i32** %6
%35 = icmp eq i32* %34, null
br i1 %35, label %36, label %43
36: ; preds = %29
%37 = load i32, i32* @stderr
%38 = load i8**, i8*** %5
%39 = getelementptr inbounds i8*, i8** %38, i64 1
%40 = load i8*, i8** %39
%41 = call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* %40)
%42 = load i32, i32* @EXIT_FAILURE
store i32 %42, i32* %3
br label %116
43: ; preds = %29
br label %46
44: ; preds = %26
%45 = load i32*, i32** @stdin
store i32* %45, i32** %6
br label %46
46: ; preds = %44, %43
store i32 0, i32* %7
br label %47
47: ; preds = %107, %46
%48 = load i32*, i32** %6
%49 = call i32 @fgetwc(i32* %48)
store i32 %49, i32* %8
%50 = load i32, i32* @WEOF
%51 = icmp ne i32 %49, %50
br i1 %51, label %52, label %108
52: ; preds = %47
%53 = load i32, i32* %8
%54 = icmp sge i32 %53, 48
br i1 %54, label %55, label %63
55: ; preds = %52
%56 = load i32, i32* %8
%57 = icmp sle i32 %56, 57
br i1 %57, label %58, label %63
58: ; preds = %55
%59 = load i32, i32* %8
%60 = sub nsw i32 %59, 48
%61 = load i32, i32* %7
%62 = add i32 %61, %60
store i32 %62, i32* %7
br label %107
63: ; preds = %55, %52
%64 = load i32, i32* %8
%65 = icmp sge i32 %64, 65
br i1 %65, label %66, label %75
66: ; preds = %63
%67 = load i32, i32* %8
%68 = icmp sle i32 %67, 90
br i1 %68, label %69, label %75
69: ; preds = %66
%70 = load i32, i32* %8
%71 = sub nsw i32 %70, 65
%72 = add nsw i32 %71, 1
%73 = load i32, i32* %7
%74 = add i32 %73, %72
store i32 %74, i32* %7
br label %106
75: ; preds = %66, %63
%76 = load i32, i32* %8
%77 = icmp sge i32 %76, 97
br i1 %77, label %78, label %87
78: ; preds = %75
%79 = load i32, i32* %8
%80 = icmp sle i32 %79, 122
br i1 %80, label %81, label %87
81: ; preds = %78
%82 = load i32, i32* %8
%83 = sub nsw i32 %82, 97
%84 = add nsw i32 %83, 1
%85 = load i32, i32* %7
%86 = add i32 %85, %84
store i32 %86, i32* %7
br label %105
87: ; preds = %78, %75
%88 = load i32, i32* %8
switch i32 %88, label %104 [
i32 196, label %89
i32 228, label %89
i32 214, label %92
i32 246, label %92
i32 220, label %95
i32 252, label %95
i32 223, label %98
i32 10, label %101
]
89: ; preds = %87, %87
%90 = load i32, i32* %7
%91 = add i32 %90, 27
store i32 %91, i32* %7
br label %104
92: ; preds = %87, %87
%93 = load i32, i32* %7
%94 = add i32 %93, 28
store i32 %94, i32* %7
br label %104
95: ; preds = %87, %87
%96 = load i32, i32* %7
%97 = add i32 %96, 29
store i32 %97, i32* %7
br label %104
98: ; preds = %87
%99 = load i32, i32* %7
%100 = add i32 %99, 30
store i32 %100, i32* %7
br label %104
101: ; preds = %87
%102 = load i32, i32* %7
%103 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %102)
store i32 0, i32* %7
br label %104
104: ; preds = %87, %101, %98, %95, %92, %89
br label %105
105: ; preds = %104, %81
br label %106
106: ; preds = %105, %69
br label %107
107: ; preds = %106, %58
br label %47
108: ; preds = %47
%109 = load i32, i32* %4
%110 = icmp eq i32 %109, 2
br i1 %110, label %111, label %114
111: ; preds = %108
%112 = load i32*, i32** %6
%113 = call i32 @fclose(i32* %112)
br label %114
114: ; preds = %111, %108
%115 = load i32, i32* @EXIT_SUCCESS
store i32 %115, i32* %3
br label %116
116: ; preds = %114, %36, %22, %11
%117 = load i32, i32* %3
ret i32 %117
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [24 x i8] c"Usage: %s [input_file]\0A\00"
@EXIT_FAILURE = global i32 0
@LC_CTYPE = global i32 0
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [64 x i8] c"Cannot set the specified locale. Check LANG, LC_CTYPE, LC_ALL.\0A\00"
@.str.3 = [2 x i8] c"r\00"
@.str.4 = [27 x i8] c"Cannot open input file %s\0A\00"
@stdin = global i32* null
@WEOF = global i32 0
@.str.5 = [4 x i8] c"%u\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp sgt i32 %0, 2
br i1 %3, label %4, label %8
4: ; preds = %2
%5 = load i32, i32* @stderr
%6 = load i8*, i8** %1
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %6)
br label %71
8: ; preds = %2
%9 = load i32, i32* @LC_CTYPE
%10 = tail call i32 @setlocale(i32 %9, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, i32* @stderr
%14 = tail call i32 (i32, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.2, i64 0, i64 0))
br label %71
15: ; preds = %8
%16 = icmp eq i32 %0, 2
br i1 %16, label %17, label %26
17: ; preds = %15
%18 = getelementptr inbounds i8*, i8** %1, i64 1
%19 = load i8*, i8** %18
%20 = tail call i32* @fopen(i8* %19, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%21 = icmp eq i32* %20, null
br i1 %21, label %22, label %28
22: ; preds = %17
%23 = load i32, i32* @stderr
%24 = load i8*, i8** %18
%25 = tail call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* %24)
br label %71
26: ; preds = %15
%27 = load i32*, i32** @stdin
br label %28
28: ; preds = %17, %26
%29 = phi i32* [ %20, %17 ], [ %27, %26 ]
%30 = tail call i32 @fgetwc(i32* %29)
%31 = load i32, i32* @WEOF
%32 = icmp eq i32 %30, %31
br i1 %32, label %68, label %33
33: ; preds = %28, %63
%34 = phi i32 [ %65, %63 ], [ %30, %28 ]
%35 = phi i32 [ %64, %63 ], [ 0, %28 ]
%36 = add i32 %34, -48
%37 = icmp ult i32 %36, 10
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = add i32 %36, %35
br label %63
40: ; preds = %33
%41 = add i32 %34, -65
%42 = icmp ult i32 %41, 26
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = add i32 %34, %35
%45 = add i32 %44, -64
br label %63
46: ; preds = %40
%47 = add i32 %34, -97
%48 = icmp ult i32 %47, 26
br i1 %48, label %49, label %52
49: ; preds = %46
%50 = add i32 %34, %35
%51 = add i32 %50, -96
br label %63
52: ; preds = %46
switch i32 %34, label %63 [
i32 196, label %53
i32 228, label %53
i32 214, label %55
i32 246, label %55
i32 220, label %57
i32 252, label %57
i32 223, label %59
i32 10, label %61
]
53: ; preds = %52, %52
%54 = add i32 %35, 27
br label %63
55: ; preds = %52, %52
%56 = add i32 %35, 28
br label %63
57: ; preds = %52, %52
%58 = add i32 %35, 29
br label %63
59: ; preds = %52
%60 = add i32 %35, 30
br label %63
61: ; preds = %52
%62 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %35)
br label %63
63: ; preds = %43, %53, %55, %57, %59, %61, %52, %49, %38
%64 = phi i32 [ %39, %38 ], [ %45, %43 ], [ %51, %49 ], [ %35, %52 ], [ 0, %61 ], [ %60, %59 ], [ %58, %57 ], [ %56, %55 ], [ %54, %53 ]
%65 = tail call i32 @fgetwc(i32* %29)
%66 = load i32, i32* @WEOF
%67 = icmp eq i32 %65, %66
br i1 %67, label %68, label %33
68: ; preds = %63, %28
br i1 %16, label %69, label %71
69: ; preds = %68
%70 = tail call i32 @fclose(i32* %29)
br label %71
71: ; preds = %22, %69, %68, %12, %4
%72 = phi i32* [ @EXIT_FAILURE, %4 ], [ @EXIT_FAILURE, %12 ], [ @EXIT_FAILURE, %22 ], [ @EXIT_SUCCESS, %69 ], [ @EXIT_SUCCESS, %68 ]
%73 = load i32, i32* %72
ret i32 %73
}