; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_compiled_6)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }
%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t7 = external constant ptr, align 8

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #2

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store16(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load16_u(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3AaddOccurrence0x28unsigned0x20int0x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3AStringRef0x2C0x20bool0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #4 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i64, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 3
  %24 = load i32, ptr %23, align 8, !tbaa !13
  store i32 %24, ptr %16, align 4, !tbaa !9
  store i32 80, ptr %17, align 4, !tbaa !9
  %25 = load i32, ptr %17, align 4, !tbaa !9
  %26 = load i32, ptr %16, align 4, !tbaa !9
  %27 = sub i32 %26, %25
  store i32 %27, ptr %16, align 4, !tbaa !9
  %28 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %28, ptr %13, align 4, !tbaa !9
  %29 = load i32, ptr %16, align 4, !tbaa !9
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 3
  store i32 %29, ptr %31, align 8, !tbaa !13
  %32 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %32, ptr %16, align 4, !tbaa !9
  %33 = load i32, ptr %16, align 4, !tbaa !9
  %34 = icmp ne i32 %33, 0
  %35 = xor i1 %34, true
  %36 = zext i1 %35 to i32
  store i32 %36, ptr %16, align 4, !tbaa !9
  %37 = load i32, ptr %16, align 4, !tbaa !9
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %57

39:                                               ; preds = %6
  %40 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %40, ptr %16, align 4, !tbaa !9
  %41 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %41, ptr %17, align 4, !tbaa !9
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %17, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = add i64 %45, 4
  %47 = call i32 @i32_load(ptr noundef %43, i64 noundef %46)
  store i32 %47, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %48 = load i32, ptr %18, align 4, !tbaa !9
  %49 = load i32, ptr %17, align 4, !tbaa !9
  %50 = add i32 %49, %48
  store i32 %50, ptr %17, align 4, !tbaa !9
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.w2c_hermes, ptr %51, i32 0, i32 6
  %53 = load i32, ptr %16, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = add i64 %54, 4
  %56 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %52, i64 noundef %55, i32 noundef %56)
  br label %57

57:                                               ; preds = %39, %6
  %58 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %58, ptr %16, align 4, !tbaa !9
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = add i64 %62, 8
  %64 = call i32 @i32_load16_u(ptr noundef %60, i64 noundef %63)
  store i32 %64, ptr %16, align 4, !tbaa !9
  store i32 7, ptr %17, align 4, !tbaa !9
  %65 = load i32, ptr %17, align 4, !tbaa !9
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = and i32 %66, %65
  store i32 %67, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %68, label %72 [
    i32 0, label %69
    i32 1, label %70
    i32 2, label %71
  ]

69:                                               ; preds = %57
  br label %73

70:                                               ; preds = %57
  br label %225

71:                                               ; preds = %57
  br label %149

72:                                               ; preds = %57
  br label %225

73:                                               ; preds = %69
  %74 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %74, ptr %16, align 4, !tbaa !9
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 4
  %80 = call i32 @i32_load(ptr noundef %76, i64 noundef %79)
  store i32 %80, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !9
  %82 = load i32, ptr %17, align 4, !tbaa !9
  %83 = icmp slt i32 %81, %82
  %84 = zext i1 %83 to i32
  store i32 %84, ptr %16, align 4, !tbaa !9
  %85 = load i32, ptr %16, align 4, !tbaa !9
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %88

87:                                               ; preds = %73
  br label %225

88:                                               ; preds = %73
  %89 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %89, ptr %16, align 4, !tbaa !9
  store i32 259, ptr %17, align 4, !tbaa !9
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 76
  %95 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %91, i64 noundef %94, i32 noundef %95)
  %96 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %96, ptr %16, align 4, !tbaa !9
  store i32 207951, ptr %17, align 4, !tbaa !9
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.w2c_hermes, ptr %97, i32 0, i32 6
  %99 = load i32, ptr %16, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = add i64 %100, 68
  %102 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %98, i64 noundef %101, i32 noundef %102)
  %103 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %103, ptr %16, align 4, !tbaa !9
  %104 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %104, ptr %17, align 4, !tbaa !9
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.w2c_hermes, ptr %105, i32 0, i32 6
  %107 = load i32, ptr %17, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = call i64 @i64_load(ptr noundef %106, i64 noundef %108)
  store i64 %109, ptr %21, align 8, !tbaa !11
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %16, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = add i64 %113, 56
  %115 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %111, i64 noundef %114, i64 noundef %115)
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = call i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef %116)
  store i32 %117, ptr %16, align 4, !tbaa !9
  %118 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %118, ptr %10, align 4, !tbaa !9
  %119 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %119, ptr %16, align 4, !tbaa !9
  %120 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %120, ptr %17, align 4, !tbaa !9
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.w2c_hermes, ptr %121, i32 0, i32 6
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = add i64 %124, 56
  %126 = call i64 @i64_load(ptr noundef %122, i64 noundef %125)
  store i64 %126, ptr %21, align 8, !tbaa !11
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.w2c_hermes, ptr %127, i32 0, i32 6
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = add i64 %130, 16
  %132 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %128, i64 noundef %131, i64 noundef %132)
  %133 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %133, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %134, ptr %17, align 4, !tbaa !9
  store i32 68, ptr %18, align 4, !tbaa !9
  %135 = load i32, ptr %18, align 4, !tbaa !9
  %136 = load i32, ptr %17, align 4, !tbaa !9
  %137 = add i32 %136, %135
  store i32 %137, ptr %17, align 4, !tbaa !9
  %138 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %138, ptr %18, align 4, !tbaa !9
  store i32 16, ptr %19, align 4, !tbaa !9
  %139 = load i32, ptr %19, align 4, !tbaa !9
  %140 = load i32, ptr %18, align 4, !tbaa !9
  %141 = add i32 %140, %139
  store i32 %141, ptr %18, align 4, !tbaa !9
  %142 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %142, ptr %19, align 4, !tbaa !9
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = load i32, ptr %17, align 4, !tbaa !9
  %146 = load i32, ptr %18, align 4, !tbaa !9
  %147 = load i32, ptr %19, align 4, !tbaa !9
  %148 = call i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef %143, i32 noundef %144, i32 noundef %145, i32 noundef %146, i32 noundef %147)
  store i32 %148, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %354

149:                                              ; preds = %71
  %150 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %150, ptr %16, align 4, !tbaa !9
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %16, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 4
  %156 = call i32 @i32_load(ptr noundef %152, i64 noundef %155)
  store i32 %156, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = icmp slt i32 %157, %158
  %160 = zext i1 %159 to i32
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %164

163:                                              ; preds = %149
  br label %225

164:                                              ; preds = %149
  %165 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %165, ptr %16, align 4, !tbaa !9
  store i32 259, ptr %17, align 4, !tbaa !9
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.w2c_hermes, ptr %166, i32 0, i32 6
  %168 = load i32, ptr %16, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = add i64 %169, 76
  %171 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %167, i64 noundef %170, i32 noundef %171)
  %172 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %172, ptr %16, align 4, !tbaa !9
  store i32 208101, ptr %17, align 4, !tbaa !9
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %16, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = add i64 %176, 68
  %178 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %174, i64 noundef %177, i32 noundef %178)
  %179 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %179, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %180, ptr %17, align 4, !tbaa !9
  %181 = load ptr, ptr %7, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %17, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = call i64 @i64_load(ptr noundef %182, i64 noundef %184)
  store i64 %185, ptr %21, align 8, !tbaa !11
  %186 = load ptr, ptr %7, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %16, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 48
  %191 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %187, i64 noundef %190, i64 noundef %191)
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = call i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef %192)
  store i32 %193, ptr %16, align 4, !tbaa !9
  %194 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %194, ptr %10, align 4, !tbaa !9
  %195 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %195, ptr %16, align 4, !tbaa !9
  %196 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %196, ptr %17, align 4, !tbaa !9
  %197 = load ptr, ptr %7, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.w2c_hermes, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %17, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = add i64 %200, 48
  %202 = call i64 @i64_load(ptr noundef %198, i64 noundef %201)
  store i64 %202, ptr %21, align 8, !tbaa !11
  %203 = load ptr, ptr %7, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = add i64 %206, 24
  %208 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %204, i64 noundef %207, i64 noundef %208)
  %209 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %209, ptr %16, align 4, !tbaa !9
  %210 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %210, ptr %17, align 4, !tbaa !9
  store i32 68, ptr %18, align 4, !tbaa !9
  %211 = load i32, ptr %18, align 4, !tbaa !9
  %212 = load i32, ptr %17, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %17, align 4, !tbaa !9
  %214 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %214, ptr %18, align 4, !tbaa !9
  store i32 24, ptr %19, align 4, !tbaa !9
  %215 = load i32, ptr %19, align 4, !tbaa !9
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %18, align 4, !tbaa !9
  %218 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %218, ptr %19, align 4, !tbaa !9
  %219 = load ptr, ptr %7, align 8, !tbaa !5
  %220 = load i32, ptr %16, align 4, !tbaa !9
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = load i32, ptr %18, align 4, !tbaa !9
  %223 = load i32, ptr %19, align 4, !tbaa !9
  %224 = call i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223)
  store i32 %224, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %354

225:                                              ; preds = %163, %87, %72, %70
  %226 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %226, ptr %16, align 4, !tbaa !9
  %227 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %227, ptr %17, align 4, !tbaa !9
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %17, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = call i64 @i64_load(ptr noundef %229, i64 noundef %231)
  store i64 %232, ptr %21, align 8, !tbaa !11
  %233 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %233, ptr %14, align 8, !tbaa !11
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %16, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = add i64 %237, 40
  %239 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %235, i64 noundef %238, i64 noundef %239)
  %240 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %240, ptr %16, align 4, !tbaa !9
  %241 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %241, ptr %17, align 4, !tbaa !9
  %242 = load ptr, ptr %7, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %17, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = call i64 @i64_load(ptr noundef %243, i64 noundef %245)
  store i64 %246, ptr %21, align 8, !tbaa !11
  %247 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %247, ptr %15, align 8, !tbaa !11
  %248 = load ptr, ptr %7, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %16, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 32
  %253 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %249, i64 noundef %252, i64 noundef %253)
  %254 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %254, ptr %16, align 4, !tbaa !9
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = call i32 @i32_load(ptr noundef %256, i64 noundef %258)
  store i32 %259, ptr %16, align 4, !tbaa !9
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 6
  %262 = load i32, ptr %16, align 4, !tbaa !9
  %263 = zext i32 %262 to i64
  %264 = call i32 @i32_load(ptr noundef %261, i64 noundef %263)
  store i32 %264, ptr %16, align 4, !tbaa !9
  %265 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %265, ptr %10, align 4, !tbaa !9
  %266 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %266, ptr %16, align 4, !tbaa !9
  %267 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %267, ptr %21, align 8, !tbaa !11
  %268 = load ptr, ptr %7, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.w2c_hermes, ptr %268, i32 0, i32 6
  %270 = load i32, ptr %16, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = add i64 %271, 8
  %273 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %269, i64 noundef %272, i64 noundef %273)
  %274 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %274, ptr %16, align 4, !tbaa !9
  %275 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %275, ptr %21, align 8, !tbaa !11
  %276 = load ptr, ptr %7, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.w2c_hermes, ptr %276, i32 0, i32 6
  %278 = load i32, ptr %16, align 4, !tbaa !9
  %279 = zext i32 %278 to i64
  %280 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %277, i64 noundef %279, i64 noundef %280)
  %281 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %281, ptr %16, align 4, !tbaa !9
  %282 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %282, ptr %17, align 4, !tbaa !9
  %283 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %283, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %284 = load i32, ptr %19, align 4, !tbaa !9
  %285 = load i32, ptr %18, align 4, !tbaa !9
  %286 = add i32 %285, %284
  store i32 %286, ptr %18, align 4, !tbaa !9
  %287 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %287, ptr %19, align 4, !tbaa !9
  %288 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %288, ptr %20, align 4, !tbaa !9
  %289 = load i32, ptr %20, align 4, !tbaa !9
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.w2c_hermes, ptr %290, i32 0, i32 7
  %292 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %291, i32 0, i32 2
  %293 = load i32, ptr %292, align 4, !tbaa !18
  %294 = icmp ult i32 %289, %293
  br i1 %294, label %295, label %318

295:                                              ; preds = %225
  %296 = load ptr, ptr %7, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.w2c_hermes, ptr %296, i32 0, i32 7
  %298 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %297, i32 0, i32 0
  %299 = load ptr, ptr %298, align 8, !tbaa !19
  %300 = load i32, ptr %20, align 4, !tbaa !9
  %301 = zext i32 %300 to i64
  %302 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %299, i64 %301
  %303 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %302, i32 0, i32 1
  %304 = load ptr, ptr %303, align 8, !tbaa !20
  %305 = icmp ne ptr %304, null
  br i1 %305, label %306, label %318

306:                                              ; preds = %295
  %307 = load ptr, ptr @w2c_hermes_t7, align 8, !tbaa !5
  %308 = load ptr, ptr %7, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.w2c_hermes, ptr %308, i32 0, i32 7
  %310 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %309, i32 0, i32 0
  %311 = load ptr, ptr %310, align 8, !tbaa !19
  %312 = load i32, ptr %20, align 4, !tbaa !9
  %313 = zext i32 %312 to i64
  %314 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %311, i64 %313
  %315 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %314, i32 0, i32 0
  %316 = load ptr, ptr %315, align 8, !tbaa !22
  %317 = call zeroext i1 @func_types_eq(ptr noundef %307, ptr noundef %316)
  br label %318

318:                                              ; preds = %306, %295, %225
  %319 = phi i1 [ false, %295 ], [ false, %225 ], [ %317, %306 ]
  %320 = xor i1 %319, true
  %321 = xor i1 %320, true
  %322 = zext i1 %321 to i32
  %323 = sext i32 %322 to i64
  %324 = call i64 @llvm.expect.i64(i64 %323, i64 1)
  %325 = icmp ne i64 %324, 0
  br i1 %325, label %328, label %326

326:                                              ; preds = %318
  call void @wasm_rt_trap(i32 noundef 6) #6
  unreachable

327:                                              ; No predecessors!
  br label %328

328:                                              ; preds = %327, %318
  %329 = phi i1 [ true, %318 ], [ false, %327 ]
  %330 = zext i1 %329 to i32
  %331 = load ptr, ptr %7, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.w2c_hermes, ptr %331, i32 0, i32 7
  %333 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %332, i32 0, i32 0
  %334 = load ptr, ptr %333, align 8, !tbaa !19
  %335 = load i32, ptr %20, align 4, !tbaa !9
  %336 = zext i32 %335 to i64
  %337 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %334, i64 %336
  %338 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %337, i32 0, i32 1
  %339 = load ptr, ptr %338, align 8, !tbaa !20
  %340 = load ptr, ptr %7, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.w2c_hermes, ptr %340, i32 0, i32 7
  %342 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %341, i32 0, i32 0
  %343 = load ptr, ptr %342, align 8, !tbaa !19
  %344 = load i32, ptr %20, align 4, !tbaa !9
  %345 = zext i32 %344 to i64
  %346 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %343, i64 %345
  %347 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %346, i32 0, i32 2
  %348 = load ptr, ptr %347, align 8, !tbaa !23
  %349 = load i32, ptr %16, align 4, !tbaa !9
  %350 = load i32, ptr %17, align 4, !tbaa !9
  %351 = load i32, ptr %18, align 4, !tbaa !9
  %352 = load i32, ptr %19, align 4, !tbaa !9
  %353 = call i32 %339(ptr noundef %348, i32 noundef %349, i32 noundef %350, i32 noundef %351, i32 noundef %352)
  store i32 %353, ptr %16, align 4, !tbaa !9
  br label %354

354:                                              ; preds = %328, %164, %88
  %355 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %355, ptr %8, align 4, !tbaa !9
  %356 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %356, ptr %16, align 4, !tbaa !9
  store i32 80, ptr %17, align 4, !tbaa !9
  %357 = load i32, ptr %17, align 4, !tbaa !9
  %358 = load i32, ptr %16, align 4, !tbaa !9
  %359 = add i32 %358, %357
  store i32 %359, ptr %16, align 4, !tbaa !9
  %360 = load i32, ptr %16, align 4, !tbaa !9
  %361 = load ptr, ptr %7, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.w2c_hermes, ptr %361, i32 0, i32 3
  store i32 %360, ptr %362, align 8, !tbaa !13
  %363 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %363, ptr %16, align 4, !tbaa !9
  %364 = load i32, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  ret i32 %364
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!18 = !{!14, !10, i64 92}
!19 = !{!14, !6, i64 80}
!20 = !{!21, !6, i64 8}
!21 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!21, !6, i64 0}
!23 = !{!21, !6, i64 16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t7 = external local_unnamed_addr constant ptr, align 8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store16(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load16_u(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3AaddOccurrence0x28unsigned0x20int0x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3AStringRef0x2C0x20bool0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -80
  store i32 %9, ptr %7, align 8, !tbaa !5
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %10, label %._crit_edge

._crit_edge:                                      ; preds = %6
  %.pre = zext i32 %1 to i64
  br label %16

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  %12 = zext i32 %1 to i64
  %13 = add nuw nsw i64 %12, 4
  %14 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %13)
  %15 = add i32 %14, 1
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %13, i32 noundef %15)
  br label %16

16:                                               ; preds = %._crit_edge, %10
  %.pre-phi = phi i64 [ %.pre, %._crit_edge ], [ %12, %10 ]
  %17 = getelementptr inbounds i8, ptr %0, i64 40
  %18 = add nuw nsw i64 %.pre-phi, 8
  %19 = tail call i32 @i32_load16_u(ptr noundef nonnull %17, i64 noundef %18)
  %20 = and i32 %19, 7
  switch i32 %20, label %55 [
    i32 0, label %21
    i32 2, label %38
  ]

21:                                               ; preds = %16
  %22 = add nuw nsw i64 %.pre-phi, 4
  %23 = tail call i32 @i32_load(ptr noundef nonnull %17, i64 noundef %22)
  %24 = icmp slt i32 %23, 2
  br i1 %24, label %55, label %25

25:                                               ; preds = %21
  %26 = zext i32 %9 to i64
  %27 = add nuw nsw i64 %26, 76
  tail call void @i32_store16(ptr noundef nonnull %17, i64 noundef %27, i32 noundef 259)
  %28 = add nuw nsw i64 %26, 68
  tail call void @i32_store(ptr noundef nonnull %17, i64 noundef %28, i32 noundef 207951)
  %29 = zext i32 %3 to i64
  %30 = tail call i64 @i64_load(ptr noundef nonnull %17, i64 noundef %29)
  %31 = add nuw nsw i64 %26, 56
  tail call void @i64_store(ptr noundef nonnull %17, i64 noundef %31, i64 noundef %30)
  %32 = tail call i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef nonnull %0)
  %33 = tail call i64 @i64_load(ptr noundef nonnull %17, i64 noundef %31)
  %34 = add nuw nsw i64 %26, 16
  tail call void @i64_store(ptr noundef nonnull %17, i64 noundef %34, i64 noundef %33)
  %35 = add i32 %8, -12
  %36 = add i32 %8, -64
  %37 = tail call i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %35, i32 noundef %36, i32 noundef %32)
  br label %90

38:                                               ; preds = %16
  %39 = add nuw nsw i64 %.pre-phi, 4
  %40 = tail call i32 @i32_load(ptr noundef nonnull %17, i64 noundef %39)
  %41 = icmp slt i32 %40, 2
  br i1 %41, label %55, label %42

42:                                               ; preds = %38
  %43 = zext i32 %9 to i64
  %44 = add nuw nsw i64 %43, 76
  tail call void @i32_store16(ptr noundef nonnull %17, i64 noundef %44, i32 noundef 259)
  %45 = add nuw nsw i64 %43, 68
  tail call void @i32_store(ptr noundef nonnull %17, i64 noundef %45, i32 noundef 208101)
  %46 = zext i32 %3 to i64
  %47 = tail call i64 @i64_load(ptr noundef nonnull %17, i64 noundef %46)
  %48 = add nuw nsw i64 %43, 48
  tail call void @i64_store(ptr noundef nonnull %17, i64 noundef %48, i64 noundef %47)
  %49 = tail call i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef nonnull %0)
  %50 = tail call i64 @i64_load(ptr noundef nonnull %17, i64 noundef %48)
  %51 = add nuw nsw i64 %43, 24
  tail call void @i64_store(ptr noundef nonnull %17, i64 noundef %51, i64 noundef %50)
  %52 = add i32 %8, -12
  %53 = add i32 %8, -56
  %54 = tail call i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %52, i32 noundef %53, i32 noundef %49)
  br label %90

55:                                               ; preds = %38, %21, %16
  %56 = zext i32 %3 to i64
  %57 = tail call i64 @i64_load(ptr noundef nonnull %17, i64 noundef %56)
  %58 = zext i32 %9 to i64
  %59 = add nuw nsw i64 %58, 40
  tail call void @i64_store(ptr noundef nonnull %17, i64 noundef %59, i64 noundef %57)
  %60 = zext i32 %4 to i64
  %61 = tail call i64 @i64_load(ptr noundef nonnull %17, i64 noundef %60)
  %62 = add nuw nsw i64 %58, 32
  tail call void @i64_store(ptr noundef nonnull %17, i64 noundef %62, i64 noundef %61)
  %63 = tail call i32 @i32_load(ptr noundef nonnull %17, i64 noundef %.pre-phi)
  %64 = zext i32 %63 to i64
  %65 = tail call i32 @i32_load(ptr noundef nonnull %17, i64 noundef %64)
  %66 = add nuw nsw i64 %58, 8
  tail call void @i64_store(ptr noundef nonnull %17, i64 noundef %66, i64 noundef %57)
  tail call void @i64_store(ptr noundef nonnull %17, i64 noundef %58, i64 noundef %61)
  %67 = add i32 %8, -72
  %68 = getelementptr inbounds i8, ptr %0, i64 80
  %69 = getelementptr inbounds i8, ptr %0, i64 92
  %70 = load i32, ptr %69, align 4, !tbaa !15
  %71 = icmp ult i32 %65, %70
  br i1 %71, label %72, label %.critedge, !prof !16

72:                                               ; preds = %55
  %73 = load ptr, ptr %68, align 8, !tbaa !17
  %74 = zext i32 %65 to i64
  %75 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %73, i64 %74
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = load ptr, ptr %76, align 8, !tbaa !18
  %.not171 = icmp eq ptr %77, null
  br i1 %.not171, label %.critedge, label %78, !prof !20

78:                                               ; preds = %72
  %79 = load ptr, ptr @w2c_hermes_t7, align 8, !tbaa !21
  %80 = load ptr, ptr %75, align 8, !tbaa !22
  %81 = tail call zeroext i1 @func_types_eq(ptr noundef %79, ptr noundef %80)
  br i1 %81, label %82, label %.critedge, !prof !16

.critedge:                                        ; preds = %72, %55, %78
  tail call void @wasm_rt_trap(i32 noundef 6) #3
  unreachable

82:                                               ; preds = %78
  %83 = load ptr, ptr %68, align 8, !tbaa !17
  %84 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %83, i64 %74
  %85 = getelementptr inbounds i8, ptr %84, i64 8
  %86 = load ptr, ptr %85, align 8, !tbaa !18
  %87 = getelementptr inbounds i8, ptr %84, i64 16
  %88 = load ptr, ptr %87, align 8, !tbaa !23
  %89 = tail call i32 %86(ptr noundef %88, i32 noundef %1, i32 noundef %2, i32 noundef %67, i32 noundef %9) #4
  br label %90

90:                                               ; preds = %82, %42, %25
  %.0 = phi i32 [ %89, %82 ], [ 1, %42 ], [ 1, %25 ]
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret i32 %.0
}

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn nounwind }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}
!15 = !{!6, !10, i64 92}
!16 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!17 = !{!6, !7, i64 80}
!18 = !{!19, !7, i64 8}
!19 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!21 = !{!7, !7, i64 0}
!22 = !{!19, !7, i64 0}
!23 = !{!19, !7, i64 16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,SROAPass,SimplifyCFGPass,TailCallElimPass