#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 */

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
scalar_t__ function_defined(void *, char *);
void *open_ssl_library();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  void *handle;
  int success = 0;
  handle = open_ssl_library();
  if (function_defined(handle, "SSLv23_method")) {
    printf("#define JSC_SSLv23_method\n");
    success++;
    ;
  } else {
    printf("#undef JSC_SSLv23_method\n");
    ;
  }
  if (function_defined(handle, "TLS_method")) {
    printf("#define JSC_TLS_method\n");
    success++;
    ;
  } else {
    printf("#undef JSC_TLS_method\n");
    ;
  }
  if (function_defined(handle, "SSLv3_method")) {
    printf("#define JSC_SSLv3_method\n");
    success++;
    ;
  } else {
    printf("#undef JSC_SSLv3_method\n");
    ;
  }
  if (function_defined(handle, "TLSv1_method")) {
    printf("#define JSC_TLSv1_method\n");
    success++;
    ;
  } else {
    printf("#undef JSC_TLSv1_method\n");
    ;
  }
  if (function_defined(handle, "TLSv1_1_method")) {
    printf("#define JSC_TLSv1_1_method\n");
    success++;
    ;
  } else {
    printf("#undef JSC_TLSv1_1_method\n");
    ;
  }
  if (function_defined(handle, "TLSv1_2_method")) {
    printf("#define JSC_TLSv1_2_method\n");
    success++;
    ;
  } else {
    printf("#undef JSC_TLSv1_2_method\n");
    ;
  }
  if (function_defined(handle, "TLSv1_3_method")) {
    printf("#define JSC_TLSv1_3_method\n");
    success++;
    ;
  } else {
    printf("#undef JSC_TLSv1_3_method\n");
    ;
  }
  printf("#undef JSC_SSL_OP_NO_SSLv2\n");
  printf("#undef JSC_SSL_OP_NO_SSLv3\n");
  printf("#undef JSC_SSL_OP_NO_TLSv1\n");
  printf("#undef JSC_SSL_OP_NO_TLSv1_1\n");
  printf("#undef JSC_SSL_OP_NO_TLSv1_2\n");
  printf("#undef JSC_SSL_OP_NO_TLSv1_3\n");
  if (success == 0) {
    fprintf(stderr,
            "Not openssl methods were found. Did you link with libssl ?\n");
    exit(1);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    $0x0,%al
call   1040 <open_ssl_library@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xe7d(%rip),%rsi
call   1050 <function_defined@plt>
cmp    $0x0,%rax
je     11ac <main+0x5c>
lea    0xe75(%rip),%rdi
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11b8 <main+0x68>
lea    0xe76(%rip),%rdi
call   1030 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xe80(%rip),%rsi
call   1050 <function_defined@plt>
cmp    $0x0,%rax
je     11ec <main+0x9c>
lea    0xe75(%rip),%rdi
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11f8 <main+0xa8>
lea    0xe73(%rip),%rdi
call   1030 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xe7a(%rip),%rsi
call   1050 <function_defined@plt>
cmp    $0x0,%rax
je     122c <main+0xdc>
lea    0xe71(%rip),%rdi
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1238 <main+0xe8>
lea    0xe71(%rip),%rdi
call   1030 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xe7a(%rip),%rsi
call   1050 <function_defined@plt>
cmp    $0x0,%rax
je     126c <main+0x11c>
lea    0xe71(%rip),%rdi
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1278 <main+0x128>
lea    0xe71(%rip),%rdi
call   1030 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xe7a(%rip),%rsi
call   1050 <function_defined@plt>
cmp    $0x0,%rax
je     12ac <main+0x15c>
lea    0xe73(%rip),%rdi
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12b8 <main+0x168>
lea    0xe75(%rip),%rdi
call   1030 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xe80(%rip),%rsi
call   1050 <function_defined@plt>
cmp    $0x0,%rax
je     12ec <main+0x19c>
lea    0xe79(%rip),%rdi
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12f8 <main+0x1a8>
lea    0xe7b(%rip),%rdi
call   1030 <printf@plt>
mov    -0x18(%rbp),%rdi
lea    0xe86(%rip),%rsi
call   1050 <function_defined@plt>
cmp    $0x0,%rax
je     132c <main+0x1dc>
lea    0xe7f(%rip),%rdi
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1338 <main+0x1e8>
lea    0xe81(%rip),%rdi
call   1030 <printf@plt>
lea    0xe90(%rip),%rdi
call   1030 <printf@plt>
lea    0xea0(%rip),%rdi
call   1030 <printf@plt>
lea    0xeb0(%rip),%rdi
call   1030 <printf@plt>
lea    0xec0(%rip),%rdi
call   1030 <printf@plt>
lea    0xed2(%rip),%rdi
call   1030 <printf@plt>
lea    0xee4(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x0,-0x1c(%rbp)
jne    13a9 <main+0x259>
mov    0x2c4f(%rip),%rax
mov    (%rax),%edi
lea    0xee3(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1070 <exit@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
xor    %eax,%eax
call   1040 <open_ssl_library@plt>
mov    %rax,%r14
lea    0x10d2(%rip),%rsi
mov    %rax,%rdi
call   1050 <function_defined@plt>
mov    %rax,%rbx
test   %rax,%rax
lea    0xec2(%rip),%rax
lea    0x10aa(%rip),%rdi
cmove  %rax,%rdi
call   1030 <puts@plt>
lea    0x108f(%rip),%rsi
mov    %r14,%rdi
call   1050 <function_defined@plt>
test   %rax,%rax
je     11b8 <main+0x68>
lea    0x106f(%rip),%rdi
call   1030 <puts@plt>
cmp    $0x1,%rbx
mov    $0x2,%ebp
sbb    $0x0,%ebp
jmp    11cd <main+0x7d>
xor    %ebp,%ebp
test   %rbx,%rbx
setne  %bpl
lea    0xe8d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1033(%rip),%rsi
mov    %r14,%rdi
call   1050 <function_defined@plt>
test   %rax,%rax
je     11f2 <main+0xa2>
lea    0x1013(%rip),%rdi
call   1030 <puts@plt>
add    $0x1,%ebp
jmp    11fe <main+0xae>
lea    0xe72(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe9(%rip),%rsi
mov    %r14,%rdi
call   1050 <function_defined@plt>
test   %rax,%rax
je     1223 <main+0xd3>
lea    0xfc9(%rip),%rdi
call   1030 <puts@plt>
add    $0x1,%ebp
jmp    122f <main+0xdf>
lea    0xe59(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9d(%rip),%rsi
mov    %r14,%rdi
call   1050 <function_defined@plt>
test   %rax,%rax
je     1254 <main+0x104>
lea    0xf7d(%rip),%rdi
call   1030 <puts@plt>
add    $0x1,%ebp
jmp    1260 <main+0x110>
lea    0xe40(%rip),%rdi
call   1030 <puts@plt>
lea    0xf51(%rip),%rsi
mov    %r14,%rdi
call   1050 <function_defined@plt>
test   %rax,%rax
je     1285 <main+0x135>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
add    $0x1,%ebp
jmp    1291 <main+0x141>
lea    0xe29(%rip),%rdi
call   1030 <puts@plt>
lea    0xf05(%rip),%rsi
mov    %r14,%rdi
call   1050 <function_defined@plt>
test   %rax,%rax
je     12b6 <main+0x166>
lea    0xee5(%rip),%rdi
call   1030 <puts@plt>
add    $0x1,%ebp
jmp    12c2 <main+0x172>
lea    0xe12(%rip),%rdi
call   1030 <puts@plt>
lea    0xe20(%rip),%rdi
call   1030 <puts@plt>
lea    0xe2f(%rip),%rdi
call   1030 <puts@plt>
lea    0xe3e(%rip),%rdi
call   1030 <puts@plt>
lea    0xe4d(%rip),%rdi
call   1030 <puts@plt>
lea    0xe5e(%rip),%rdi
call   1030 <puts@plt>
lea    0xe6f(%rip),%rdi
call   1030 <puts@plt>
test   %ebp,%ebp
je     1315 <main+0x1c5>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %rbp
ret
mov    0x2cc4(%rip),%rax
mov    (%rax),%edi
lea    0xcdb(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1070 <exit@plt>

LLVM IR (-O0):
@.str = [14 x i8] c"SSLv23_method\00"
@.str.1 = [27 x i8] c"#define JSC_SSLv23_method\0A\00"
@.str.2 = [26 x i8] c"#undef JSC_SSLv23_method\0A\00"
@.str.3 = [11 x i8] c"TLS_method\00"
@.str.4 = [24 x i8] c"#define JSC_TLS_method\0A\00"
@.str.5 = [23 x i8] c"#undef JSC_TLS_method\0A\00"
@.str.6 = [13 x i8] c"SSLv3_method\00"
@.str.7 = [26 x i8] c"#define JSC_SSLv3_method\0A\00"
@.str.8 = [25 x i8] c"#undef JSC_SSLv3_method\0A\00"
@.str.9 = [13 x i8] c"TLSv1_method\00"
@.str.10 = [26 x i8] c"#define JSC_TLSv1_method\0A\00"
@.str.11 = [25 x i8] c"#undef JSC_TLSv1_method\0A\00"
@.str.12 = [15 x i8] c"TLSv1_1_method\00"
@.str.13 = [28 x i8] c"#define JSC_TLSv1_1_method\0A\00"
@.str.14 = [27 x i8] c"#undef JSC_TLSv1_1_method\0A\00"
@.str.15 = [15 x i8] c"TLSv1_2_method\00"
@.str.16 = [28 x i8] c"#define JSC_TLSv1_2_method\0A\00"
@.str.17 = [27 x i8] c"#undef JSC_TLSv1_2_method\0A\00"
@.str.18 = [15 x i8] c"TLSv1_3_method\00"
@.str.19 = [28 x i8] c"#define JSC_TLSv1_3_method\0A\00"
@.str.20 = [27 x i8] c"#undef JSC_TLSv1_3_method\0A\00"
@.str.21 = [28 x i8] c"#undef JSC_SSL_OP_NO_SSLv2\0A\00"
@.str.22 = [28 x i8] c"#undef JSC_SSL_OP_NO_SSLv3\0A\00"
@.str.23 = [28 x i8] c"#undef JSC_SSL_OP_NO_TLSv1\0A\00"
@.str.24 = [30 x i8] c"#undef JSC_SSL_OP_NO_TLSv1_1\0A\00"
@.str.25 = [30 x i8] c"#undef JSC_SSL_OP_NO_TLSv1_2\0A\00"
@.str.26 = [30 x i8] c"#undef JSC_SSL_OP_NO_TLSv1_3\0A\00"
@stderr = global i32 0
@.str.27 = [60 x i8] c"Not openssl methods were found. Did you link with libssl ?\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
%8 = call i8* (...) @open_ssl_library()
store i8* %8, i8** %6
%9 = load i8*, i8** %6
%10 = call i64 @function_defined(i8* %9, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%14 = load i32, i32* %7
%15 = add nsw i32 %14, 1
store i32 %15, i32* %7
br label %18
16: ; preds = %2
%17 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
br label %18
18: ; preds = %16, %12
%19 = load i8*, i8** %6
%20 = call i64 @function_defined(i8* %19, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
%24 = load i32, i32* %7
%25 = add nsw i32 %24, 1
store i32 %25, i32* %7
br label %28
26: ; preds = %18
%27 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0))
br label %28
28: ; preds = %26, %22
%29 = load i8*, i8** %6
%30 = call i64 @function_defined(i8* %29, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
%34 = load i32, i32* %7
%35 = add nsw i32 %34, 1
store i32 %35, i32* %7
br label %38
36: ; preds = %28
%37 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0))
br label %38
38: ; preds = %36, %32
%39 = load i8*, i8** %6
%40 = call i64 @function_defined(i8* %39, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.10, i64 0, i64 0))
%44 = load i32, i32* %7
%45 = add nsw i32 %44, 1
store i32 %45, i32* %7
br label %48
46: ; preds = %38
%47 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0))
br label %48
48: ; preds = %46, %42
%49 = load i8*, i8** %6
%50 = call i64 @function_defined(i8* %49, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %48
%53 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.13, i64 0, i64 0))
%54 = load i32, i32* %7
%55 = add nsw i32 %54, 1
store i32 %55, i32* %7
br label %58
56: ; preds = %48
%57 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.14, i64 0, i64 0))
br label %58
58: ; preds = %56, %52
%59 = load i8*, i8** %6
%60 = call i64 @function_defined(i8* %59, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0))
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %58
%63 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0))
%64 = load i32, i32* %7
%65 = add nsw i32 %64, 1
store i32 %65, i32* %7
br label %68
66: ; preds = %58
%67 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.17, i64 0, i64 0))
br label %68
68: ; preds = %66, %62
%69 = load i8*, i8** %6
%70 = call i64 @function_defined(i8* %69, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.18, i64 0, i64 0))
%71 = icmp ne i64 %70, 0
br i1 %71, label %72, label %76
72: ; preds = %68
%73 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.19, i64 0, i64 0))
%74 = load i32, i32* %7
%75 = add nsw i32 %74, 1
store i32 %75, i32* %7
br label %78
76: ; preds = %68
%77 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.20, i64 0, i64 0))
br label %78
78: ; preds = %76, %72
%79 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.21, i64 0, i64 0))
%80 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.22, i64 0, i64 0))
%81 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.23, i64 0, i64 0))
%82 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.24, i64 0, i64 0))
%83 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.25, i64 0, i64 0))
%84 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.26, i64 0, i64 0))
%85 = load i32, i32* %7
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %91
87: ; preds = %78
%88 = load i32, i32* @stderr
%89 = call i32 @fprintf(i32 %88, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.27, i64 0, i64 0))
%90 = call i32 @exit(i32 1)
unreachable
91: ; preds = %78
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"SSLv23_method\00"
@.str.3 = [11 x i8] c"TLS_method\00"
@.str.6 = [13 x i8] c"SSLv3_method\00"
@.str.9 = [13 x i8] c"TLSv1_method\00"
@.str.12 = [15 x i8] c"TLSv1_1_method\00"
@.str.15 = [15 x i8] c"TLSv1_2_method\00"
@.str.18 = [15 x i8] c"TLSv1_3_method\00"
@stderr = global i32 0
@.str.27 = [60 x i8] c"Not openssl methods were found. Did you link with libssl ?\0A\00"
@str = [25 x i8] c"#undef JSC_SSLv23_method\00"
@str.28 = [22 x i8] c"#undef JSC_TLS_method\00"
@str.29 = [24 x i8] c"#undef JSC_SSLv3_method\00"
@str.30 = [24 x i8] c"#undef JSC_TLSv1_method\00"
@str.31 = [26 x i8] c"#undef JSC_TLSv1_1_method\00"
@str.32 = [26 x i8] c"#undef JSC_TLSv1_2_method\00"
@str.33 = [26 x i8] c"#undef JSC_TLSv1_3_method\00"
@str.34 = [27 x i8] c"#undef JSC_SSL_OP_NO_SSLv2\00"
@str.35 = [27 x i8] c"#undef JSC_SSL_OP_NO_SSLv3\00"
@str.36 = [27 x i8] c"#undef JSC_SSL_OP_NO_TLSv1\00"
@str.37 = [29 x i8] c"#undef JSC_SSL_OP_NO_TLSv1_1\00"
@str.38 = [29 x i8] c"#undef JSC_SSL_OP_NO_TLSv1_2\00"
@str.39 = [29 x i8] c"#undef JSC_SSL_OP_NO_TLSv1_3\00"
@str.40 = [27 x i8] c"#define JSC_TLSv1_3_method\00"
@str.41 = [27 x i8] c"#define JSC_TLSv1_2_method\00"
@str.42 = [27 x i8] c"#define JSC_TLSv1_1_method\00"
@str.43 = [25 x i8] c"#define JSC_TLSv1_method\00"
@str.44 = [25 x i8] c"#define JSC_SSLv3_method\00"
@str.45 = [23 x i8] c"#define JSC_TLS_method\00"
@str.46 = [26 x i8] c"#define JSC_SSLv23_method\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i8* (...) @open_ssl_library()
%4 = tail call i64 @function_defined(i8* %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%5 = icmp eq i64 %4, 0
%6 = select i1 %5, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @str.46, i64 0, i64 0)
%7 = tail call i32 @puts(i8* dereferenceable(1) %6)
%8 = tail call i64 @function_defined(i8* %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.45, i64 0, i64 0))
%12 = select i1 %5, i32 1, i32 2
br label %17
13: ; preds = %2
%14 = xor i1 %5, true
%15 = zext i1 %14 to i32
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.28, i64 0, i64 0))
br label %17
17: ; preds = %13, %10
%18 = phi i32 [ %12, %10 ], [ %15, %13 ]
%19 = tail call i64 @function_defined(i8* %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.44, i64 0, i64 0))
%23 = add nuw nsw i32 %18, 1
br label %26
24: ; preds = %17
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.29, i64 0, i64 0))
br label %26
26: ; preds = %24, %21
%27 = phi i32 [ %23, %21 ], [ %18, %24 ]
%28 = tail call i64 @function_defined(i8* %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %26
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.43, i64 0, i64 0))
%32 = add nuw nsw i32 %27, 1
br label %35
33: ; preds = %26
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.30, i64 0, i64 0))
br label %35
35: ; preds = %33, %30
%36 = phi i32 [ %32, %30 ], [ %27, %33 ]
%37 = tail call i64 @function_defined(i8* %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %35
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.42, i64 0, i64 0))
%41 = add nuw nsw i32 %36, 1
br label %44
42: ; preds = %35
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.31, i64 0, i64 0))
br label %44
44: ; preds = %42, %39
%45 = phi i32 [ %41, %39 ], [ %36, %42 ]
%46 = tail call i64 @function_defined(i8* %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %44
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.41, i64 0, i64 0))
%50 = add nuw nsw i32 %45, 1
br label %53
51: ; preds = %44
%52 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.32, i64 0, i64 0))
br label %53
53: ; preds = %51, %48
%54 = phi i32 [ %50, %48 ], [ %45, %51 ]
%55 = tail call i64 @function_defined(i8* %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.18, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %53
%58 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.40, i64 0, i64 0))
%59 = add nuw nsw i32 %54, 1
br label %62
60: ; preds = %53
%61 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.33, i64 0, i64 0))
br label %62
62: ; preds = %60, %57
%63 = phi i32 [ %59, %57 ], [ %54, %60 ]
%64 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.34, i64 0, i64 0))
%65 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.35, i64 0, i64 0))
%66 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.36, i64 0, i64 0))
%67 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.37, i64 0, i64 0))
%68 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.38, i64 0, i64 0))
%69 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.39, i64 0, i64 0))
%70 = icmp eq i32 %63, 0
br i1 %70, label %71, label %75
71: ; preds = %62
%72 = load i32, i32* @stderr
%73 = tail call i32 @fprintf(i32 %72, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.27, i64 0, i64 0))
%74 = tail call i32 @exit(i32 1)
unreachable
75: ; preds = %62
ret i32 0
}