#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 uint8_t;
typedef int /*<<< orphan*/ uint32_t;

/* Variables and functions */
scalar_t__ is_jump_symbol(int const *, char *);
int /*<<< orphan*/ memcmp(int const *, char *, int);
int /*<<< orphan*/ report(char *, ...);
int /*<<< orphan*/ symbol(int const *);
int native(const uint8_t *fn) {
  if (*fn == 0xff && fn[1] == 0x25) {
    const uint8_t *addr = **(uint8_t ***)(fn + 2);
    report("[x] Calling imported function.. %z", symbol(addr));
    return 0;
  }
  if (*fn == 0xba && fn[5] == 0xb9 && fn[10] == 0xff && fn[11] == 0xe1) {
    const uint8_t *addr = *(uint8_t **)(fn + 6);
    if (is_jump_symbol(addr, "MSVBVM60.DLL!ProcCallEngine") != 0) {
      report("[x] Calling VB6 Procedure.. 0x%x", *(uint32_t *)(fn + 1));
      return 0;
    }
  }
  if (*fn == 0x33 && fn[1] == 0xc0 && fn[2] == 0xba && fn[7] == 0x68 &&
      fn[12] == 0xc3) {
    const uint8_t *addr = *(uint8_t **)(fn + 8);
    if (is_jump_symbol(addr, "MSVBVM60.DLL!MethCallEngine") != 0) {
      report("[x] Calling VB6 Method.. 0x%x", *(uint32_t *)(fn + 3));
      return 0;
    }
  }
  if (*fn == 0xa1 && !memcmp(&fn[5], "\x0b\xc0\x74\x02\xff\xe0\x68", 7) &&
      fn[16] == 0xb8 && !memcmp(&fn[21], "\xff\xd0\xff\xe0", 4)) {
    const uint8_t *addr = *(uint8_t **)(fn + 17);
    if (is_jump_symbol(addr, "MSVBVM60.DLL!DllFunctionCall") != 0) {
      addr = *(uint8_t **)(fn + 12);
      const char *mod = *(const char **)(addr);
      const char *func = *(const char **)(addr + 4);
      report("[x] Calling dynamic function.. %z!%z", mod, func);
      return 0;
    }
  }
  report(".. unknown x86");
  return -1;
}


x86 assembly (clang, -O0):
<native>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
cmpl   $0xff,(%rax)
jne    119e <native+0x5e>
mov    -0x10(%rbp),%rax
cmpl   $0x25,0x4(%rax)
jne    119e <native+0x5e>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    (%rax),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
call   1060 <symbol@plt>
mov    %eax,%esi
lea    0xe75(%rip),%rdi
mov    $0x0,%al
call   1050 <report@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b1 <native+0x271>
mov    -0x10(%rbp),%rax
cmpl   $0xba,(%rax)
jne    122d <native+0xed>
mov    -0x10(%rbp),%rax
cmpl   $0xb9,0x14(%rax)
jne    122d <native+0xed>
mov    -0x10(%rbp),%rax
cmpl   $0xff,0x28(%rax)
jne    122d <native+0xed>
mov    -0x10(%rbp),%rax
cmpl   $0xe1,0x2c(%rax)
jne    122d <native+0xed>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
lea    0xe2b(%rip),%rsi
call   1030 <is_jump_symbol@plt>
cmp    $0x0,%rax
je     1228 <native+0xe8>
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%esi
lea    0xe2a(%rip),%rdi
mov    $0x0,%al
call   1050 <report@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b1 <native+0x271>
jmp    122d <native+0xed>
mov    -0x10(%rbp),%rax
cmpl   $0x33,(%rax)
jne    12c7 <native+0x187>
mov    -0x10(%rbp),%rax
cmpl   $0xc0,0x4(%rax)
jne    12c7 <native+0x187>
mov    -0x10(%rbp),%rax
cmpl   $0xba,0x8(%rax)
jne    12c7 <native+0x187>
mov    -0x10(%rbp),%rax
cmpl   $0x68,0x1c(%rax)
jne    12c7 <native+0x187>
mov    -0x10(%rbp),%rax
cmpl   $0xc3,0x30(%rax)
jne    12c7 <native+0x187>
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
lea    0xdce(%rip),%rsi
call   1030 <is_jump_symbol@plt>
cmp    $0x0,%rax
je     12c2 <native+0x182>
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%esi
lea    0xdcd(%rip),%rdi
mov    $0x0,%al
call   1050 <report@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b1 <native+0x271>
jmp    12c7 <native+0x187>
mov    -0x10(%rbp),%rax
cmpl   $0xa1,(%rax)
jne    139c <native+0x25c>
mov    -0x10(%rbp),%rdi
add    $0x14,%rdi
lea    0xdb4(%rip),%rsi
mov    $0x7,%edx
call   1040 <memcmp@plt>
cmp    $0x0,%eax
jne    139c <native+0x25c>
mov    -0x10(%rbp),%rax
cmpl   $0xb8,0x40(%rax)
jne    139c <native+0x25c>
mov    -0x10(%rbp),%rdi
add    $0x54,%rdi
lea    0xd89(%rip),%rsi
mov    $0x4,%edx
call   1040 <memcmp@plt>
cmp    $0x0,%eax
jne    139c <native+0x25c>
mov    -0x10(%rbp),%rax
mov    0x44(%rax),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
lea    0xd64(%rip),%rsi
call   1030 <is_jump_symbol@plt>
cmp    $0x0,%rax
je     1397 <native+0x257>
mov    -0x10(%rbp),%rax
mov    0x30(%rax),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x38(%rbp)
mov    -0x30(%rbp),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x40(%rbp)
mov    -0x38(%rbp),%rsi
mov    -0x40(%rbp),%rdx
lea    0xd40(%rip),%rdi
mov    $0x0,%al
call   1050 <report@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b1 <native+0x271>
jmp    139c <native+0x25c>
lea    0xd46(%rip),%rdi
mov    $0x0,%al
call   1050 <report@plt>
movl   $0xffffffff,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<native>:
push   %rbx
mov    %rdi,%rbx
mov    (%rdi),%eax
cmp    $0xba,%eax
je     1181 <native+0x41>
cmp    $0xff,%eax
jne    11cb <native+0x8b>
cmpl   $0x25,0x4(%rbx)
jne    125f <native+0x11f>
mov    0x8(%rbx),%rax
mov    (%rax),%rdi
call   1060 <symbol@plt>
lea    0xe8f(%rip),%rdi
xor    %ebx,%ebx
mov    %eax,%esi
xor    %eax,%eax
call   1050 <report@plt>
jmp    1272 <native+0x132>
cmpl   $0xb9,0x14(%rbx)
jne    125f <native+0x11f>
cmpl   $0xff,0x28(%rbx)
jne    125f <native+0x11f>
cmpl   $0xe1,0x2c(%rbx)
jne    125f <native+0x11f>
mov    0x18(%rbx),%rdi
lea    0xe70(%rip),%rsi
call   1030 <is_jump_symbol@plt>
test   %rax,%rax
je     11c9 <native+0x89>
mov    0x4(%rbx),%esi
lea    0xe78(%rip),%rdi
jmp    1214 <native+0xd4>
mov    (%rbx),%eax
cmp    $0x33,%eax
jne    121d <native+0xdd>
cmpl   $0xc0,0x4(%rbx)
jne    125f <native+0x11f>
cmpl   $0xba,0x8(%rbx)
jne    125f <native+0x11f>
cmpl   $0x68,0x1c(%rbx)
jne    125f <native+0x11f>
cmpl   $0xc3,0x30(%rbx)
jne    125f <native+0x11f>
mov    0x20(%rbx),%rdi
lea    0xe60(%rip),%rsi
call   1030 <is_jump_symbol@plt>
test   %rax,%rax
je     121b <native+0xdb>
mov    0xc(%rbx),%esi
lea    0xe68(%rip),%rdi
xor    %ebx,%ebx
jmp    1175 <native+0x35>
mov    (%rbx),%eax
cmp    $0xa1,%eax
jne    125f <native+0x11f>
lea    0x14(%rbx),%rdi
lea    0xe6b(%rip),%rsi
mov    $0x7,%edx
call   1040 <memcmp@plt>
test   %eax,%eax
jne    125f <native+0x11f>
cmpl   $0xb8,0x40(%rbx)
jne    125f <native+0x11f>
lea    0x54(%rbx),%rdi
lea    0xe51(%rip),%rsi
mov    $0x4,%edx
call   1040 <memcmp@plt>
test   %eax,%eax
je     1276 <native+0x136>
lea    0xe83(%rip),%rdi
xor    %eax,%eax
call   1050 <report@plt>
mov    $0xffffffff,%ebx
mov    %ebx,%eax
pop    %rbx
ret
mov    0x44(%rbx),%rdi
lea    0xe26(%rip),%rsi
call   1030 <is_jump_symbol@plt>
test   %rax,%rax
je     125f <native+0x11f>
mov    0x30(%rbx),%rax
mov    (%rax),%rsi
mov    0x10(%rax),%rdx
lea    0xe27(%rip),%rdi
xor    %ebx,%ebx
xor    %eax,%eax
call   1050 <report@plt>
jmp    1272 <native+0x132>

LLVM IR (-O0):
@.str = [35 x i8] c"[x] Calling imported function.. %z\00"
@.str.1 = [28 x i8] c"MSVBVM60.DLL!ProcCallEngine\00"
@.str.2 = [33 x i8] c"[x] Calling VB6 Procedure.. 0x%x\00"
@.str.3 = [28 x i8] c"MSVBVM60.DLL!MethCallEngine\00"
@.str.4 = [30 x i8] c"[x] Calling VB6 Method.. 0x%x\00"
@.str.5 = [8 x i8] c"\0B\C0t\02\FF\E0h\00"
@.str.6 = [5 x i8] c"\FF\D0\FF\E0\00"
@.str.7 = [29 x i8] c"MSVBVM60.DLL!DllFunctionCall\00"
@.str.8 = [37 x i8] c"[x] Calling dynamic function.. %z!%z\00"
@.str.9 = [15 x i8] c".. unknown x86\00"
define i32 @native(i32* %0) {
%2 = alloca i32
%3 = alloca i32*
%4 = alloca i32*
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32*
%8 = alloca i8*
%9 = alloca i8*
store i32* %0, i32** %3
%10 = load i32*, i32** %3
%11 = load i32, i32* %10
%12 = icmp eq i32 %11, 255
br i1 %12, label %13, label %27
13: ; preds = %1
%14 = load i32*, i32** %3
%15 = getelementptr inbounds i32, i32* %14, i64 1
%16 = load i32, i32* %15
%17 = icmp eq i32 %16, 37
br i1 %17, label %18, label %27
18: ; preds = %13
%19 = load i32*, i32** %3
%20 = getelementptr inbounds i32, i32* %19, i64 2
%21 = bitcast i32* %20 to i32***
%22 = load i32**, i32*** %21
%23 = load i32*, i32** %22
store i32* %23, i32** %4
%24 = load i32*, i32** %4
%25 = call i32 @symbol(i32* %24)
%26 = call i32 (i8*, ...) @report(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0), i32 %25)
store i32 0, i32* %2
br label %143
27: ; preds = %13, %1
%28 = load i32*, i32** %3
%29 = load i32, i32* %28
%30 = icmp eq i32 %29, 186
br i1 %30, label %31, label %60
31: ; preds = %27
%32 = load i32*, i32** %3
%33 = getelementptr inbounds i32, i32* %32, i64 5
%34 = load i32, i32* %33
%35 = icmp eq i32 %34, 185
br i1 %35, label %36, label %60
36: ; preds = %31
%37 = load i32*, i32** %3
%38 = getelementptr inbounds i32, i32* %37, i64 10
%39 = load i32, i32* %38
%40 = icmp eq i32 %39, 255
br i1 %40, label %41, label %60
41: ; preds = %36
%42 = load i32*, i32** %3
%43 = getelementptr inbounds i32, i32* %42, i64 11
%44 = load i32, i32* %43
%45 = icmp eq i32 %44, 225
br i1 %45, label %46, label %60
46: ; preds = %41
%47 = load i32*, i32** %3
%48 = getelementptr inbounds i32, i32* %47, i64 6
%49 = bitcast i32* %48 to i32**
%50 = load i32*, i32** %49
store i32* %50, i32** %5
%51 = load i32*, i32** %5
%52 = call i64 @is_jump_symbol(i32* %51, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %59
54: ; preds = %46
%55 = load i32*, i32** %3
%56 = getelementptr inbounds i32, i32* %55, i64 1
%57 = load i32, i32* %56
%58 = call i32 (i8*, ...) @report(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i32 %57)
store i32 0, i32* %2
br label %143
59: ; preds = %46
br label %60
60: ; preds = %59, %41, %36, %31, %27
%61 = load i32*, i32** %3
%62 = load i32, i32* %61
%63 = icmp eq i32 %62, 51
br i1 %63, label %64, label %98
64: ; preds = %60
%65 = load i32*, i32** %3
%66 = getelementptr inbounds i32, i32* %65, i64 1
%67 = load i32, i32* %66
%68 = icmp eq i32 %67, 192
br i1 %68, label %69, label %98
69: ; preds = %64
%70 = load i32*, i32** %3
%71 = getelementptr inbounds i32, i32* %70, i64 2
%72 = load i32, i32* %71
%73 = icmp eq i32 %72, 186
br i1 %73, label %74, label %98
74: ; preds = %69
%75 = load i32*, i32** %3
%76 = getelementptr inbounds i32, i32* %75, i64 7
%77 = load i32, i32* %76
%78 = icmp eq i32 %77, 104
br i1 %78, label %79, label %98
79: ; preds = %74
%80 = load i32*, i32** %3
%81 = getelementptr inbounds i32, i32* %80, i64 12
%82 = load i32, i32* %81
%83 = icmp eq i32 %82, 195
br i1 %83, label %84, label %98
84: ; preds = %79
%85 = load i32*, i32** %3
%86 = getelementptr inbounds i32, i32* %85, i64 8
%87 = bitcast i32* %86 to i32**
%88 = load i32*, i32** %87
store i32* %88, i32** %6
%89 = load i32*, i32** %6
%90 = call i64 @is_jump_symbol(i32* %89, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %97
92: ; preds = %84
%93 = load i32*, i32** %3
%94 = getelementptr inbounds i32, i32* %93, i64 3
%95 = load i32, i32* %94
%96 = call i32 (i8*, ...) @report(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i32 %95)
store i32 0, i32* %2
br label %143
97: ; preds = %84
br label %98
98: ; preds = %97, %79, %74, %69, %64, %60
%99 = load i32*, i32** %3
%100 = load i32, i32* %99
%101 = icmp eq i32 %100, 161
br i1 %101, label %102, label %141
102: ; preds = %98
%103 = load i32*, i32** %3
%104 = getelementptr inbounds i32, i32* %103, i64 5
%105 = call i32 @memcmp(i32* %104, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 7)
%106 = icmp ne i32 %105, 0
br i1 %106, label %141, label %107
107: ; preds = %102
%108 = load i32*, i32** %3
%109 = getelementptr inbounds i32, i32* %108, i64 16
%110 = load i32, i32* %109
%111 = icmp eq i32 %110, 184
br i1 %111, label %112, label %141
112: ; preds = %107
%113 = load i32*, i32** %3
%114 = getelementptr inbounds i32, i32* %113, i64 21
%115 = call i32 @memcmp(i32* %114, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 4)
%116 = icmp ne i32 %115, 0
br i1 %116, label %141, label %117
117: ; preds = %112
%118 = load i32*, i32** %3
%119 = getelementptr inbounds i32, i32* %118, i64 17
%120 = bitcast i32* %119 to i32**
%121 = load i32*, i32** %120
store i32* %121, i32** %7
%122 = load i32*, i32** %7
%123 = call i64 @is_jump_symbol(i32* %122, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0))
%124 = icmp ne i64 %123, 0
br i1 %124, label %125, label %140
125: ; preds = %117
%126 = load i32*, i32** %3
%127 = getelementptr inbounds i32, i32* %126, i64 12
%128 = bitcast i32* %127 to i32**
%129 = load i32*, i32** %128
store i32* %129, i32** %7
%130 = load i32*, i32** %7
%131 = bitcast i32* %130 to i8**
%132 = load i8*, i8** %131
store i8* %132, i8** %8
%133 = load i32*, i32** %7
%134 = getelementptr inbounds i32, i32* %133, i64 4
%135 = bitcast i32* %134 to i8**
%136 = load i8*, i8** %135
store i8* %136, i8** %9
%137 = load i8*, i8** %8
%138 = load i8*, i8** %9
%139 = call i32 (i8*, ...) @report(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i8* %137, i8* %138)
store i32 0, i32* %2
br label %143
140: ; preds = %117
br label %141
141: ; preds = %140, %112, %107, %102, %98
%142 = call i32 (i8*, ...) @report(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
store i32 -1, i32* %2
br label %143
143: ; preds = %141, %125, %92, %54, %18
%144 = load i32, i32* %2
ret i32 %144
}

LLVM IR (-O2):
@.str = [35 x i8] c"[x] Calling imported function.. %z\00"
@.str.1 = [28 x i8] c"MSVBVM60.DLL!ProcCallEngine\00"
@.str.2 = [33 x i8] c"[x] Calling VB6 Procedure.. 0x%x\00"
@.str.3 = [28 x i8] c"MSVBVM60.DLL!MethCallEngine\00"
@.str.4 = [30 x i8] c"[x] Calling VB6 Method.. 0x%x\00"
@.str.5 = [8 x i8] c"\0B\C0t\02\FF\E0h\00"
@.str.6 = [5 x i8] c"\FF\D0\FF\E0\00"
@.str.7 = [29 x i8] c"MSVBVM60.DLL!DllFunctionCall\00"
@.str.8 = [37 x i8] c"[x] Calling dynamic function.. %z!%z\00"
@.str.9 = [15 x i8] c".. unknown x86\00"
define i32 @native(i32* %0) {
%2 = load i32, i32* %0
switch i32 %2, label %38 [
i32 255, label %3
i32 186, label %14
]
3: ; preds = %1
%4 = getelementptr inbounds i32, i32* %0, i64 1
%5 = load i32, i32* %4
%6 = icmp eq i32 %5, 37
br i1 %6, label %7, label %100
7: ; preds = %3
%8 = getelementptr inbounds i32, i32* %0, i64 2
%9 = bitcast i32* %8 to i32***
%10 = load i32**, i32*** %9
%11 = load i32*, i32** %10
%12 = tail call i32 @symbol(i32* %11)
%13 = tail call i32 (i8*, ...) @report(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0), i32 %12)
br label %102
14: ; preds = %1
%15 = getelementptr inbounds i32, i32* %0, i64 5
%16 = load i32, i32* %15
%17 = icmp eq i32 %16, 185
br i1 %17, label %18, label %100
18: ; preds = %14
%19 = getelementptr inbounds i32, i32* %0, i64 10
%20 = load i32, i32* %19
%21 = icmp eq i32 %20, 255
br i1 %21, label %22, label %100
22: ; preds = %18
%23 = getelementptr inbounds i32, i32* %0, i64 11
%24 = load i32, i32* %23
%25 = icmp eq i32 %24, 225
br i1 %25, label %26, label %100
26: ; preds = %22
%27 = getelementptr inbounds i32, i32* %0, i64 6
%28 = bitcast i32* %27 to i32**
%29 = load i32*, i32** %28
%30 = tail call i64 @is_jump_symbol(i32* %29, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %26
%33 = load i32, i32* %0
br label %38
34: ; preds = %26
%35 = getelementptr inbounds i32, i32* %0, i64 1
%36 = load i32, i32* %35
%37 = tail call i32 (i8*, ...) @report(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i32 %36)
br label %102
38: ; preds = %32, %1
%39 = phi i32 [ %2, %1 ], [ %33, %32 ]
%40 = icmp eq i32 %39, 51
br i1 %40, label %41, label %69
41: ; preds = %38
%42 = getelementptr inbounds i32, i32* %0, i64 1
%43 = load i32, i32* %42
%44 = icmp eq i32 %43, 192
br i1 %44, label %45, label %100
45: ; preds = %41
%46 = getelementptr inbounds i32, i32* %0, i64 2
%47 = load i32, i32* %46
%48 = icmp eq i32 %47, 186
br i1 %48, label %49, label %100
49: ; preds = %45
%50 = getelementptr inbounds i32, i32* %0, i64 7
%51 = load i32, i32* %50
%52 = icmp eq i32 %51, 104
br i1 %52, label %53, label %100
53: ; preds = %49
%54 = getelementptr inbounds i32, i32* %0, i64 12
%55 = load i32, i32* %54
%56 = icmp eq i32 %55, 195
br i1 %56, label %57, label %100
57: ; preds = %53
%58 = getelementptr inbounds i32, i32* %0, i64 8
%59 = bitcast i32* %58 to i32**
%60 = load i32*, i32** %59
%61 = tail call i64 @is_jump_symbol(i32* %60, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %57
%64 = load i32, i32* %0
br label %69
65: ; preds = %57
%66 = getelementptr inbounds i32, i32* %0, i64 3
%67 = load i32, i32* %66
%68 = tail call i32 (i8*, ...) @report(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i32 %67)
br label %102
69: ; preds = %63, %38
%70 = phi i32 [ %64, %63 ], [ %39, %38 ]
%71 = icmp eq i32 %70, 161
br i1 %71, label %72, label %100
72: ; preds = %69
%73 = getelementptr inbounds i32, i32* %0, i64 5
%74 = tail call i32 @memcmp(i32* %73, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 7)
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %100
76: ; preds = %72
%77 = getelementptr inbounds i32, i32* %0, i64 16
%78 = load i32, i32* %77
%79 = icmp eq i32 %78, 184
br i1 %79, label %80, label %100
80: ; preds = %76
%81 = getelementptr inbounds i32, i32* %0, i64 21
%82 = tail call i32 @memcmp(i32* %81, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 4)
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %100
84: ; preds = %80
%85 = getelementptr inbounds i32, i32* %0, i64 17
%86 = bitcast i32* %85 to i32**
%87 = load i32*, i32** %86
%88 = tail call i64 @is_jump_symbol(i32* %87, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0))
%89 = icmp eq i64 %88, 0
br i1 %89, label %100, label %90
90: ; preds = %84
%91 = getelementptr inbounds i32, i32* %0, i64 12
%92 = bitcast i32* %91 to i32**
%93 = load i32*, i32** %92
%94 = bitcast i32* %93 to i8**
%95 = load i8*, i8** %94
%96 = getelementptr inbounds i32, i32* %93, i64 4
%97 = bitcast i32* %96 to i8**
%98 = load i8*, i8** %97
%99 = tail call i32 (i8*, ...) @report(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i8* %95, i8* %98)
br label %102
100: ; preds = %22, %18, %14, %3, %41, %45, %49, %53, %84, %80, %76, %72, %69
%101 = tail call i32 (i8*, ...) @report(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
br label %102
102: ; preds = %90, %65, %34, %100, %7
%103 = phi i32 [ 0, %7 ], [ 0, %34 ], [ 0, %65 ], [ -1, %100 ], [ 0, %90 ]
ret i32 %103
}