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

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ ic_b2c_compile_builtins(struct ic_kludge *,
                                           int /*<<< orphan*/ *);
int /*<<< orphan*/ ic_b2c_compile_entry(struct ic_kludge *,
                                        int /*<<< orphan*/ *);
int /*<<< orphan*/ ic_b2c_compile_functions(struct ic_kludge *,
                                            int /*<<< orphan*/ *);
int /*<<< orphan*/ ic_b2c_compile_functions_pre(struct ic_kludge *,
                                                int /*<<< orphan*/ *);
int /*<<< orphan*/ ic_b2c_compile_generates(struct ic_kludge *,
                                            int /*<<< orphan*/ *);
int /*<<< orphan*/ ic_b2c_compile_generates_pre(struct ic_kludge *,
                                                int /*<<< orphan*/ *);
int /*<<< orphan*/ ic_b2c_compile_types(struct ic_kludge *,
                                        int /*<<< orphan*/ *);
int /*<<< orphan*/ ic_b2c_compile_types_pre(struct ic_kludge *,
                                            int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ puts(char *);
unsigned int ic_b2c_compile(struct ic_kludge *kludge, char *out_filename) {
  FILE *f = 0;
  if (!kludge) {
    puts("ic_b2c_compile: kludge was null");
    return 0;
  }
  if (!out_filename) {
    puts("ic_b2c_compile: out_filename was null");
    return 0;
  }
  f = fopen(out_filename, "r");
  if (f) {
    printf("ic_b2c_compile: error file already existed '%s'\n", out_filename);
    return 0;
  }
  f = fopen(out_filename, "w");
  if (!f) {
    printf("ic_b2c_compile: failed to open out_filename '%s'\n", out_filename);
    return 0;
  }
  if (!ic_b2c_compile_builtins(kludge, f)) {
    puts("ic_b2c_compile: call to ic_b2c_compile_builtins failed");
    return 0;
  }
  if (!ic_b2c_compile_types_pre(kludge, f)) {
    puts("ic_b2c_compile: call to ic_b2c_compile_types_pre failed");
    return 0;
  }
  if (!ic_b2c_compile_generates_pre(kludge, f)) {
    puts("ic_b2c_compile: call to ic_b2c_compile_generates_pre failed");
    return 0;
  }
  if (!ic_b2c_compile_functions_pre(kludge, f)) {
    puts("ic_b2c_compile: call to ic_b2c_compile_functions failed");
    return 0;
  }
  if (!ic_b2c_compile_types(kludge, f)) {
    puts("ic_b2c_compile: call to ic_b2c_compile_types failed");
    return 0;
  }
  if (!ic_b2c_compile_generates(kludge, f)) {
    puts("ic_b2c_compile: call to ic_b2c_compile_generates failed");
    return 0;
  }
  if (!ic_b2c_compile_functions(kludge, f)) {
    puts("ic_b2c_compile: call to ic_b2c_compile_functions failed");
    return 0;
  }
  if (!ic_b2c_compile_entry(kludge, f)) {
    puts("ic_b2c_compile: call to ic_b2c_compile_entry failed");
    return 0;
  }
  fclose(f);
  return 1;
}


x86 assembly (clang, -O0):
<ic_b2c_compile>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
movq   $0x0,-0x20(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    11fb <ic_b2c_compile+0x3b>
lea    0xe16(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
cmpq   $0x0,-0x18(%rbp)
jne    121e <ic_b2c_compile+0x5e>
lea    0xe13(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x18(%rbp),%rdi
lea    0xe1d(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     1259 <ic_b2c_compile+0x99>
mov    -0x18(%rbp),%rsi
lea    0xe00(%rip),%rdi
call   1080 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x18(%rbp),%rdi
lea    0xe15(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    1294 <ic_b2c_compile+0xd4>
mov    -0x18(%rbp),%rsi
lea    0xdf8(%rip),%rdi
call   1080 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1090 <ic_b2c_compile_builtins@plt>
cmp    $0x0,%eax
jne    12c2 <ic_b2c_compile+0x102>
lea    0xdfc(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1050 <ic_b2c_compile_types_pre@plt>
cmp    $0x0,%eax
jne    12f0 <ic_b2c_compile+0x130>
lea    0xe05(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <ic_b2c_compile_generates_pre@plt>
cmp    $0x0,%eax
jne    131e <ic_b2c_compile+0x15e>
lea    0xe0f(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10b0 <ic_b2c_compile_functions_pre@plt>
cmp    $0x0,%eax
jne    134c <ic_b2c_compile+0x18c>
lea    0xe1d(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10e0 <ic_b2c_compile_types@plt>
cmp    $0x0,%eax
jne    137a <ic_b2c_compile+0x1ba>
lea    0xe27(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1060 <ic_b2c_compile_generates@plt>
cmp    $0x0,%eax
jne    13a8 <ic_b2c_compile+0x1e8>
lea    0xe2d(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10a0 <ic_b2c_compile_functions@plt>
cmp    $0x0,%eax
jne    13d6 <ic_b2c_compile+0x216>
lea    0xd93(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10d0 <ic_b2c_compile_entry@plt>
cmp    $0x0,%eax
jne    1404 <ic_b2c_compile+0x244>
lea    0xe09(%rip),%rdi
call   1040 <puts@plt>
movl   $0x0,-0x4(%rbp)
jmp    1414 <ic_b2c_compile+0x254>
mov    -0x20(%rbp),%rdi
call   1070 <fclose@plt>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ic_b2c_compile>:
push   %r15
push   %r14
push   %rbx
test   %rdi,%rdi
je     11fa <ic_b2c_compile+0x3a>
mov    %rsi,%rbx
test   %rsi,%rsi
je     1203 <ic_b2c_compile+0x43>
mov    %rdi,%r15
lea    0xe6a(%rip),%rsi
mov    %rbx,%rdi
call   10c0 <fopen@plt>
test   %rax,%rax
je     1217 <ic_b2c_compile+0x57>
lea    0xe58(%rip),%rdi
mov    %rbx,%rsi
call   1080 <printf@plt>
jmp    120f <ic_b2c_compile+0x4f>
lea    0xdff(%rip),%rdi
jmp    120a <ic_b2c_compile+0x4a>
lea    0xe16(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret
lea    0xe5b(%rip),%rsi
mov    %rbx,%rdi
call   10c0 <fopen@plt>
test   %rax,%rax
je     12c8 <ic_b2c_compile+0x108>
mov    %rax,%r14
mov    %r15,%rdi
mov    %rax,%rsi
call   1090 <ic_b2c_compile_builtins@plt>
test   %eax,%eax
je     12d4 <ic_b2c_compile+0x114>
mov    %r15,%rdi
mov    %r14,%rsi
call   1050 <ic_b2c_compile_types_pre@plt>
test   %eax,%eax
je     12e0 <ic_b2c_compile+0x120>
mov    %r15,%rdi
mov    %r14,%rsi
call   1030 <ic_b2c_compile_generates_pre@plt>
test   %eax,%eax
je     12ec <ic_b2c_compile+0x12c>
mov    %r15,%rdi
mov    %r14,%rsi
call   10b0 <ic_b2c_compile_functions_pre@plt>
test   %eax,%eax
je     12f8 <ic_b2c_compile+0x138>
mov    %r15,%rdi
mov    %r14,%rsi
call   10e0 <ic_b2c_compile_types@plt>
test   %eax,%eax
je     1304 <ic_b2c_compile+0x144>
mov    %r15,%rdi
mov    %r14,%rsi
call   1060 <ic_b2c_compile_generates@plt>
test   %eax,%eax
je     1310 <ic_b2c_compile+0x150>
mov    %r15,%rdi
mov    %r14,%rsi
call   10a0 <ic_b2c_compile_functions@plt>
test   %eax,%eax
je     12f8 <ic_b2c_compile+0x138>
mov    %r15,%rdi
mov    %r14,%rsi
call   10d0 <ic_b2c_compile_entry@plt>
test   %eax,%eax
je     131c <ic_b2c_compile+0x15c>
mov    %r14,%rdi
call   1070 <fclose@plt>
mov    $0x1,%eax
jmp    1211 <ic_b2c_compile+0x51>
lea    0xdac(%rip),%rdi
jmp    11f0 <ic_b2c_compile+0x30>
lea    0xdd2(%rip),%rdi
jmp    120a <ic_b2c_compile+0x4a>
lea    0xdfd(%rip),%rdi
jmp    120a <ic_b2c_compile+0x4a>
lea    0xe29(%rip),%rdi
jmp    120a <ic_b2c_compile+0x4a>
lea    0xe59(%rip),%rdi
jmp    120a <ic_b2c_compile+0x4a>
lea    0xe85(%rip),%rdi
jmp    120a <ic_b2c_compile+0x4a>
lea    0xead(%rip),%rdi
jmp    120a <ic_b2c_compile+0x4a>
lea    0xed9(%rip),%rdi
jmp    120a <ic_b2c_compile+0x4a>

LLVM IR (-O0):
%struct.ic_kludge = type { i32 }
@.str = [32 x i8] c"ic_b2c_compile: kludge was null\00"
@.str.1 = [38 x i8] c"ic_b2c_compile: out_filename was null\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [49 x i8] c"ic_b2c_compile: error file already existed '%s'\0A\00"
@.str.4 = [2 x i8] c"w\00"
@.str.5 = [50 x i8] c"ic_b2c_compile: failed to open out_filename '%s'\0A\00"
@.str.6 = [55 x i8] c"ic_b2c_compile: call to ic_b2c_compile_builtins failed\00"
@.str.7 = [56 x i8] c"ic_b2c_compile: call to ic_b2c_compile_types_pre failed\00"
@.str.8 = [60 x i8] c"ic_b2c_compile: call to ic_b2c_compile_generates_pre failed\00"
@.str.9 = [56 x i8] c"ic_b2c_compile: call to ic_b2c_compile_functions failed\00"
@.str.10 = [52 x i8] c"ic_b2c_compile: call to ic_b2c_compile_types failed\00"
@.str.11 = [56 x i8] c"ic_b2c_compile: call to ic_b2c_compile_generates failed\00"
@.str.12 = [52 x i8] c"ic_b2c_compile: call to ic_b2c_compile_entry failed\00"
define i32 @ic_b2c_compile(%struct.ic_kludge* %0, i8* %1) {
%3 = alloca i32
%4 = alloca %struct.ic_kludge*
%5 = alloca i8*
%6 = alloca i32*
store %struct.ic_kludge* %0, %struct.ic_kludge** %4
store i8* %1, i8** %5
store i32* null, i32** %6
%7 = load %struct.ic_kludge*, %struct.ic_kludge** %4
%8 = icmp ne %struct.ic_kludge* %7, null
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @puts(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %3
br label %91
11: ; preds = %2
%12 = load i8*, i8** %5
%13 = icmp ne i8* %12, null
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = call i32 @puts(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %91
16: ; preds = %11
%17 = load i8*, i8** %5
%18 = call i32* @fopen(i8* %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %18, i32** %6
%19 = load i32*, i32** %6
%20 = icmp ne i32* %19, null
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load i8*, i8** %5
%23 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0), i8* %22)
store i32 0, i32* %3
br label %91
24: ; preds = %16
%25 = load i8*, i8** %5
%26 = call i32* @fopen(i8* %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32* %26, i32** %6
%27 = load i32*, i32** %6
%28 = icmp ne i32* %27, null
br i1 %28, label %32, label %29
29: ; preds = %24
%30 = load i8*, i8** %5
%31 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.5, i64 0, i64 0), i8* %30)
store i32 0, i32* %3
br label %91
32: ; preds = %24
%33 = load %struct.ic_kludge*, %struct.ic_kludge** %4
%34 = load i32*, i32** %6
%35 = call i32 @ic_b2c_compile_builtins(%struct.ic_kludge* %33, i32* %34)
%36 = icmp ne i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %32
%38 = call i32 @puts(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %3
br label %91
39: ; preds = %32
%40 = load %struct.ic_kludge*, %struct.ic_kludge** %4
%41 = load i32*, i32** %6
%42 = call i32 @ic_b2c_compile_types_pre(%struct.ic_kludge* %40, i32* %41)
%43 = icmp ne i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %39
%45 = call i32 @puts(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %3
br label %91
46: ; preds = %39
%47 = load %struct.ic_kludge*, %struct.ic_kludge** %4
%48 = load i32*, i32** %6
%49 = call i32 @ic_b2c_compile_generates_pre(%struct.ic_kludge* %47, i32* %48)
%50 = icmp ne i32 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %46
%52 = call i32 @puts(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %3
br label %91
53: ; preds = %46
%54 = load %struct.ic_kludge*, %struct.ic_kludge** %4
%55 = load i32*, i32** %6
%56 = call i32 @ic_b2c_compile_functions_pre(%struct.ic_kludge* %54, i32* %55)
%57 = icmp ne i32 %56, 0
br i1 %57, label %60, label %58
58: ; preds = %53
%59 = call i32 @puts(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %3
br label %91
60: ; preds = %53
%61 = load %struct.ic_kludge*, %struct.ic_kludge** %4
%62 = load i32*, i32** %6
%63 = call i32 @ic_b2c_compile_types(%struct.ic_kludge* %61, i32* %62)
%64 = icmp ne i32 %63, 0
br i1 %64, label %67, label %65
65: ; preds = %60
%66 = call i32 @puts(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.10, i64 0, i64 0))
store i32 0, i32* %3
br label %91
67: ; preds = %60
%68 = load %struct.ic_kludge*, %struct.ic_kludge** %4
%69 = load i32*, i32** %6
%70 = call i32 @ic_b2c_compile_generates(%struct.ic_kludge* %68, i32* %69)
%71 = icmp ne i32 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %67
%73 = call i32 @puts(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %3
br label %91
74: ; preds = %67
%75 = load %struct.ic_kludge*, %struct.ic_kludge** %4
%76 = load i32*, i32** %6
%77 = call i32 @ic_b2c_compile_functions(%struct.ic_kludge* %75, i32* %76)
%78 = icmp ne i32 %77, 0
br i1 %78, label %81, label %79
79: ; preds = %74
%80 = call i32 @puts(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %3
br label %91
81: ; preds = %74
%82 = load %struct.ic_kludge*, %struct.ic_kludge** %4
%83 = load i32*, i32** %6
%84 = call i32 @ic_b2c_compile_entry(%struct.ic_kludge* %82, i32* %83)
%85 = icmp ne i32 %84, 0
br i1 %85, label %88, label %86
86: ; preds = %81
%87 = call i32 @puts(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.12, i64 0, i64 0))
store i32 0, i32* %3
br label %91
88: ; preds = %81
%89 = load i32*, i32** %6
%90 = call i32 @fclose(i32* %89)
store i32 1, i32* %3
br label %91
91: ; preds = %88, %86, %79, %72, %65, %58, %51, %44, %37, %29, %21, %14, %9
%92 = load i32, i32* %3
ret i32 %92
}

LLVM IR (-O2):
%struct.ic_kludge = type { i32 }
@.str = [32 x i8] c"ic_b2c_compile: kludge was null\00"
@.str.1 = [38 x i8] c"ic_b2c_compile: out_filename was null\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [49 x i8] c"ic_b2c_compile: error file already existed '%s'\0A\00"
@.str.4 = [2 x i8] c"w\00"
@.str.5 = [50 x i8] c"ic_b2c_compile: failed to open out_filename '%s'\0A\00"
@.str.6 = [55 x i8] c"ic_b2c_compile: call to ic_b2c_compile_builtins failed\00"
@.str.7 = [56 x i8] c"ic_b2c_compile: call to ic_b2c_compile_types_pre failed\00"
@.str.8 = [60 x i8] c"ic_b2c_compile: call to ic_b2c_compile_generates_pre failed\00"
@.str.9 = [56 x i8] c"ic_b2c_compile: call to ic_b2c_compile_functions failed\00"
@.str.10 = [52 x i8] c"ic_b2c_compile: call to ic_b2c_compile_types failed\00"
@.str.11 = [56 x i8] c"ic_b2c_compile: call to ic_b2c_compile_generates failed\00"
@.str.12 = [52 x i8] c"ic_b2c_compile: call to ic_b2c_compile_entry failed\00"
define i32 @ic_b2c_compile(%struct.ic_kludge* %0, i8* %1) {
%3 = icmp eq %struct.ic_kludge* %0, null
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
br label %62
6: ; preds = %2
%7 = icmp eq i8* %1, null
br i1 %7, label %8, label %10
8: ; preds = %6
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
br label %62
10: ; preds = %6
%11 = tail call i32* @fopen(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%12 = icmp eq i32* %11, null
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = tail call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0), i8* %1)
br label %62
15: ; preds = %10
%16 = tail call i32* @fopen(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%17 = icmp eq i32* %16, null
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = tail call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.5, i64 0, i64 0), i8* %1)
br label %62
20: ; preds = %15
%21 = tail call i32 @ic_b2c_compile_builtins(%struct.ic_kludge* %0, i32* %16)
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0))
br label %62
25: ; preds = %20
%26 = tail call i32 @ic_b2c_compile_types_pre(%struct.ic_kludge* %0, i32* %16)
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.7, i64 0, i64 0))
br label %62
30: ; preds = %25
%31 = tail call i32 @ic_b2c_compile_generates_pre(%struct.ic_kludge* %0, i32* %16)
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @.str.8, i64 0, i64 0))
br label %62
35: ; preds = %30
%36 = tail call i32 @ic_b2c_compile_functions_pre(%struct.ic_kludge* %0, i32* %16)
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.9, i64 0, i64 0))
br label %62
40: ; preds = %35
%41 = tail call i32 @ic_b2c_compile_types(%struct.ic_kludge* %0, i32* %16)
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.10, i64 0, i64 0))
br label %62
45: ; preds = %40
%46 = tail call i32 @ic_b2c_compile_generates(%struct.ic_kludge* %0, i32* %16)
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.11, i64 0, i64 0))
br label %62
50: ; preds = %45
%51 = tail call i32 @ic_b2c_compile_functions(%struct.ic_kludge* %0, i32* %16)
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.9, i64 0, i64 0))
br label %62
55: ; preds = %50
%56 = tail call i32 @ic_b2c_compile_entry(%struct.ic_kludge* %0, i32* %16)
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %55
%59 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.12, i64 0, i64 0))
br label %62
60: ; preds = %55
%61 = tail call i32 @fclose(i32* %16)
br label %62
62: ; preds = %60, %58, %53, %48, %43, %38, %33, %28, %23, %18, %13, %8, %4
%63 = phi i32 [ 0, %13 ], [ 1, %60 ], [ 0, %58 ], [ 0, %53 ], [ 0, %48 ], [ 0, %43 ], [ 0, %38 ], [ 0, %33 ], [ 0, %28 ], [ 0, %23 ], [ 0, %18 ], [ 0, %8 ], [ 0, %4 ]
ret i32 %63
}