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

; 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_t9 = 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: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 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: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr 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: 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) #3

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoPropertyKey0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef, i32 noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetOwnComputedPrimitiveDescriptor0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AIgnoreProxy0x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AgetOwnProperty0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetOwnComputedDescriptor0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #5 {
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store i32 %2, ptr %11, align 4, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !9
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store i64 0, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  %33 = load i32, ptr %32, align 8, !tbaa !13
  store i32 %33, ptr %20, align 4, !tbaa !9
  store i32 16, ptr %21, align 4, !tbaa !9
  %34 = load i32, ptr %21, align 4, !tbaa !9
  %35 = load i32, ptr %20, align 4, !tbaa !9
  %36 = sub i32 %35, %34
  store i32 %36, ptr %20, align 4, !tbaa !9
  %37 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %37, ptr %17, align 4, !tbaa !9
  %38 = load i32, ptr %20, align 4, !tbaa !9
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 3
  store i32 %38, ptr %40, align 8, !tbaa !13
  %41 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %41, ptr %20, align 4, !tbaa !9
  %42 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %42, ptr %18, align 4, !tbaa !9
  %43 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %43, ptr %20, align 4, !tbaa !9
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.w2c_hermes, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %20, align 4, !tbaa !9
  %47 = zext i32 %46 to i64
  %48 = add i64 %47, 6
  %49 = call i32 @i32_load16_s(ptr noundef %45, i64 noundef %48)
  store i32 %49, ptr %20, align 4, !tbaa !9
  store i32 -1, ptr %21, align 4, !tbaa !9
  %50 = load i32, ptr %20, align 4, !tbaa !9
  %51 = load i32, ptr %21, align 4, !tbaa !9
  %52 = icmp eq i32 %50, %51
  %53 = zext i1 %52 to i32
  store i32 %53, ptr %20, align 4, !tbaa !9
  %54 = load i32, ptr %20, align 4, !tbaa !9
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %64

56:                                               ; preds = %8
  %57 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %57, ptr %20, align 4, !tbaa !9
  %58 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %58, ptr %21, align 4, !tbaa !9
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = load i32, ptr %20, align 4, !tbaa !9
  %61 = load i32, ptr %21, align 4, !tbaa !9
  %62 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoPropertyKey0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %59, i32 noundef %60, i32 noundef %61)
  store i32 %62, ptr %20, align 4, !tbaa !9
  %63 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %63, ptr %18, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %56, %8
  %65 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %65, ptr %20, align 4, !tbaa !9
  store i32 -1, ptr %21, align 4, !tbaa !9
  %66 = load i32, ptr %20, align 4, !tbaa !9
  %67 = load i32, ptr %21, align 4, !tbaa !9
  %68 = icmp eq i32 %66, %67
  %69 = zext i1 %68 to i32
  store i32 %69, ptr %20, align 4, !tbaa !9
  %70 = load i32, ptr %20, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %90

72:                                               ; preds = %64
  %73 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %73, ptr %20, align 4, !tbaa !9
  %74 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %74, ptr %21, align 4, !tbaa !9
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %21, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 1
  %80 = call i32 @i32_load8_u(ptr noundef %76, i64 noundef %79)
  store i32 %80, ptr %21, align 4, !tbaa !9
  store i32 8, ptr %22, align 4, !tbaa !9
  %81 = load i32, ptr %22, align 4, !tbaa !9
  %82 = and i32 %81, 31
  %83 = load i32, ptr %21, align 4, !tbaa !9
  %84 = shl i32 %83, %82
  store i32 %84, ptr %21, align 4, !tbaa !9
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %20, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %86, i64 noundef %88, i32 noundef %89)
  br label %420

90:                                               ; preds = %64
  %91 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %91, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %92 = load i32, ptr %21, align 4, !tbaa !9
  %93 = load i32, ptr %20, align 4, !tbaa !9
  %94 = add i32 %93, %92
  store i32 %94, ptr %20, align 4, !tbaa !9
  %95 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %95, ptr %21, align 4, !tbaa !9
  %96 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %96, ptr %22, align 4, !tbaa !9
  %97 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %97, ptr %23, align 4, !tbaa !9
  store i32 1, ptr %24, align 4, !tbaa !9
  %98 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %98, ptr %25, align 4, !tbaa !9
  %99 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %99, ptr %26, align 4, !tbaa !9
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = load i32, ptr %20, align 4, !tbaa !9
  %102 = load i32, ptr %21, align 4, !tbaa !9
  %103 = load i32, ptr %22, align 4, !tbaa !9
  %104 = load i32, ptr %23, align 4, !tbaa !9
  %105 = load i32, ptr %24, align 4, !tbaa !9
  %106 = load i32, ptr %25, align 4, !tbaa !9
  %107 = load i32, ptr %26, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetOwnComputedPrimitiveDescriptor0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AIgnoreProxy0x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x29(ptr noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107)
  %108 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %108, ptr %20, align 4, !tbaa !9
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %20, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = add i64 %112, 8
  %114 = call i32 @i32_load16_u(ptr noundef %110, i64 noundef %113)
  store i32 %114, ptr %20, align 4, !tbaa !9
  %115 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %115, ptr %18, align 4, !tbaa !9
  store i32 255, ptr %21, align 4, !tbaa !9
  %116 = load i32, ptr %21, align 4, !tbaa !9
  %117 = load i32, ptr %20, align 4, !tbaa !9
  %118 = and i32 %117, %116
  store i32 %118, ptr %20, align 4, !tbaa !9
  %119 = load i32, ptr %20, align 4, !tbaa !9
  %120 = icmp ne i32 %119, 0
  %121 = xor i1 %120, true
  %122 = zext i1 %121 to i32
  store i32 %122, ptr %20, align 4, !tbaa !9
  %123 = load i32, ptr %20, align 4, !tbaa !9
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %143

125:                                              ; preds = %90
  %126 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %126, ptr %20, align 4, !tbaa !9
  %127 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %127, ptr %21, align 4, !tbaa !9
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.w2c_hermes, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %21, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = add i64 %131, 1
  %133 = call i32 @i32_load8_u(ptr noundef %129, i64 noundef %132)
  store i32 %133, ptr %21, align 4, !tbaa !9
  store i32 8, ptr %22, align 4, !tbaa !9
  %134 = load i32, ptr %22, align 4, !tbaa !9
  %135 = and i32 %134, 31
  %136 = load i32, ptr %21, align 4, !tbaa !9
  %137 = shl i32 %136, %135
  store i32 %137, ptr %21, align 4, !tbaa !9
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %20, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %139, i64 noundef %141, i32 noundef %142)
  br label %420

143:                                              ; preds = %90
  %144 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %144, ptr %20, align 4, !tbaa !9
  %145 = load ptr, ptr %9, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.w2c_hermes, ptr %145, i32 0, i32 6
  %147 = load i32, ptr %20, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = call i32 @i32_load(ptr noundef %146, i64 noundef %148)
  store i32 %149, ptr %20, align 4, !tbaa !9
  %150 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %150, ptr %14, align 4, !tbaa !9
  %151 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %151, ptr %20, align 4, !tbaa !9
  store i32 256, ptr %21, align 4, !tbaa !9
  %152 = load i32, ptr %21, align 4, !tbaa !9
  %153 = load i32, ptr %20, align 4, !tbaa !9
  %154 = and i32 %153, %152
  store i32 %154, ptr %20, align 4, !tbaa !9
  %155 = load i32, ptr %20, align 4, !tbaa !9
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %374

157:                                              ; preds = %143
  %158 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %158, ptr %20, align 4, !tbaa !9
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %20, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = call i64 @i64_load(ptr noundef %160, i64 noundef %162)
  store i64 %163, ptr %27, align 8, !tbaa !11
  %164 = load i64, ptr %27, align 8, !tbaa !11
  store i64 %164, ptr %19, align 8, !tbaa !11
  store i64 32, ptr %28, align 8, !tbaa !11
  %165 = load i64, ptr %28, align 8, !tbaa !11
  %166 = load i64, ptr %27, align 8, !tbaa !11
  %167 = and i64 %166, %165
  store i64 %167, ptr %27, align 8, !tbaa !11
  store i64 0, ptr %28, align 8, !tbaa !11
  %168 = load i64, ptr %27, align 8, !tbaa !11
  %169 = load i64, ptr %28, align 8, !tbaa !11
  %170 = icmp ne i64 %168, %169
  %171 = zext i1 %170 to i32
  store i32 %171, ptr %20, align 4, !tbaa !9
  %172 = load i32, ptr %20, align 4, !tbaa !9
  %173 = icmp ne i32 %172, 0
  br i1 %173, label %174, label %275

174:                                              ; preds = %157
  %175 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %175, ptr %20, align 4, !tbaa !9
  %176 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %176, ptr %21, align 4, !tbaa !9
  %177 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %177, ptr %29, align 8, !tbaa !11
  store i64 32, ptr %30, align 8, !tbaa !11
  %178 = load i64, ptr %30, align 8, !tbaa !11
  %179 = and i64 %178, 63
  %180 = load i64, ptr %29, align 8, !tbaa !11
  %181 = lshr i64 %180, %179
  store i64 %181, ptr %29, align 8, !tbaa !11
  %182 = load i64, ptr %29, align 8, !tbaa !11
  %183 = trunc i64 %182 to i32
  store i32 %183, ptr %22, align 4, !tbaa !9
  %184 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %184, ptr %23, align 4, !tbaa !9
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %23, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = call i32 @i32_load(ptr noundef %186, i64 noundef %188)
  store i32 %189, ptr %23, align 4, !tbaa !9
  store i32 22, ptr %24, align 4, !tbaa !9
  %190 = load i32, ptr %24, align 4, !tbaa !9
  %191 = and i32 %190, 31
  %192 = load i32, ptr %23, align 4, !tbaa !9
  %193 = lshr i32 %192, %191
  store i32 %193, ptr %23, align 4, !tbaa !9
  store i32 1020, ptr %24, align 4, !tbaa !9
  %194 = load i32, ptr %24, align 4, !tbaa !9
  %195 = load i32, ptr %23, align 4, !tbaa !9
  %196 = and i32 %195, %194
  store i32 %196, ptr %23, align 4, !tbaa !9
  store i32 138008, ptr %24, align 4, !tbaa !9
  %197 = load i32, ptr %24, align 4, !tbaa !9
  %198 = load i32, ptr %23, align 4, !tbaa !9
  %199 = add i32 %198, %197
  store i32 %199, ptr %23, align 4, !tbaa !9
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %23, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = call i32 @i32_load(ptr noundef %201, i64 noundef %203)
  store i32 %204, ptr %23, align 4, !tbaa !9
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %23, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 40
  %210 = call i32 @i32_load(ptr noundef %206, i64 noundef %209)
  store i32 %210, ptr %23, align 4, !tbaa !9
  %211 = load i32, ptr %23, align 4, !tbaa !9
  %212 = load ptr, ptr %9, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.w2c_hermes, ptr %212, i32 0, i32 7
  %214 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %213, i32 0, i32 2
  %215 = load i32, ptr %214, align 4, !tbaa !18
  %216 = icmp ult i32 %211, %215
  br i1 %216, label %217, label %240

217:                                              ; preds = %174
  %218 = load ptr, ptr %9, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 7
  %220 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %219, i32 0, i32 0
  %221 = load ptr, ptr %220, align 8, !tbaa !19
  %222 = load i32, ptr %23, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %221, i64 %223
  %225 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %224, i32 0, i32 1
  %226 = load ptr, ptr %225, align 8, !tbaa !20
  %227 = icmp ne ptr %226, null
  br i1 %227, label %228, label %240

228:                                              ; preds = %217
  %229 = load ptr, ptr @w2c_hermes_t9, align 8, !tbaa !5
  %230 = load ptr, ptr %9, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.w2c_hermes, ptr %230, i32 0, i32 7
  %232 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %231, i32 0, i32 0
  %233 = load ptr, ptr %232, align 8, !tbaa !19
  %234 = load i32, ptr %23, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %233, i64 %235
  %237 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %236, i32 0, i32 0
  %238 = load ptr, ptr %237, align 8, !tbaa !22
  %239 = call zeroext i1 @func_types_eq(ptr noundef %229, ptr noundef %238)
  br label %240

240:                                              ; preds = %228, %217, %174
  %241 = phi i1 [ false, %217 ], [ false, %174 ], [ %239, %228 ]
  %242 = xor i1 %241, true
  %243 = xor i1 %242, true
  %244 = zext i1 %243 to i32
  %245 = sext i32 %244 to i64
  %246 = call i64 @llvm.expect.i64(i64 %245, i64 1)
  %247 = icmp ne i64 %246, 0
  br i1 %247, label %250, label %248

248:                                              ; preds = %240
  call void @wasm_rt_trap(i32 noundef 6) #7
  unreachable

249:                                              ; No predecessors!
  br label %250

250:                                              ; preds = %249, %240
  %251 = phi i1 [ true, %240 ], [ false, %249 ]
  %252 = zext i1 %251 to i32
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.w2c_hermes, ptr %253, i32 0, i32 7
  %255 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %254, i32 0, i32 0
  %256 = load ptr, ptr %255, align 8, !tbaa !19
  %257 = load i32, ptr %23, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %256, i64 %258
  %260 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %259, i32 0, i32 1
  %261 = load ptr, ptr %260, align 8, !tbaa !20
  %262 = load ptr, ptr %9, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.w2c_hermes, ptr %262, i32 0, i32 7
  %264 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %263, i32 0, i32 0
  %265 = load ptr, ptr %264, align 8, !tbaa !19
  %266 = load i32, ptr %23, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %265, i64 %267
  %269 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %268, i32 0, i32 2
  %270 = load ptr, ptr %269, align 8, !tbaa !23
  %271 = load i32, ptr %20, align 4, !tbaa !9
  %272 = load i32, ptr %21, align 4, !tbaa !9
  %273 = load i32, ptr %22, align 4, !tbaa !9
  %274 = call i64 %261(ptr noundef %270, i32 noundef %271, i32 noundef %272, i32 noundef %273)
  store i64 %274, ptr %27, align 8, !tbaa !11
  br label %342

275:                                              ; preds = %157
  %276 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %276, ptr %20, align 4, !tbaa !9
  %277 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %277, ptr %28, align 8, !tbaa !11
  store i64 32, ptr %29, align 8, !tbaa !11
  %278 = load i64, ptr %29, align 8, !tbaa !11
  %279 = and i64 %278, 63
  %280 = load i64, ptr %28, align 8, !tbaa !11
  %281 = lshr i64 %280, %279
  store i64 %281, ptr %28, align 8, !tbaa !11
  %282 = load i64, ptr %28, align 8, !tbaa !11
  %283 = trunc i64 %282 to i32
  store i32 %283, ptr %21, align 4, !tbaa !9
  %284 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %284, ptr %11, align 4, !tbaa !9
  store i32 4, ptr %22, align 4, !tbaa !9
  %285 = load i32, ptr %21, align 4, !tbaa !9
  %286 = load i32, ptr %22, align 4, !tbaa !9
  %287 = icmp ule i32 %285, %286
  %288 = zext i1 %287 to i32
  store i32 %288, ptr %21, align 4, !tbaa !9
  %289 = load i32, ptr %21, align 4, !tbaa !9
  %290 = icmp ne i32 %289, 0
  br i1 %290, label %291, label %304

291:                                              ; preds = %275
  %292 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %292, ptr %21, align 4, !tbaa !9
  %293 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %293, ptr %22, align 4, !tbaa !9
  store i32 2, ptr %23, align 4, !tbaa !9
  %294 = load i32, ptr %23, align 4, !tbaa !9
  %295 = and i32 %294, 31
  %296 = load i32, ptr %22, align 4, !tbaa !9
  %297 = shl i32 %296, %295
  store i32 %297, ptr %22, align 4, !tbaa !9
  %298 = load i32, ptr %22, align 4, !tbaa !9
  %299 = load i32, ptr %21, align 4, !tbaa !9
  %300 = add i32 %299, %298
  store i32 %300, ptr %21, align 4, !tbaa !9
  store i32 20, ptr %22, align 4, !tbaa !9
  %301 = load i32, ptr %22, align 4, !tbaa !9
  %302 = load i32, ptr %21, align 4, !tbaa !9
  %303 = add i32 %302, %301
  store i32 %303, ptr %21, align 4, !tbaa !9
  br label %323

304:                                              ; preds = %275
  %305 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %305, ptr %21, align 4, !tbaa !9
  %306 = load ptr, ptr %9, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.w2c_hermes, ptr %306, i32 0, i32 6
  %308 = load i32, ptr %21, align 4, !tbaa !9
  %309 = zext i32 %308 to i64
  %310 = add i64 %309, 16
  %311 = call i32 @i32_load(ptr noundef %307, i64 noundef %310)
  store i32 %311, ptr %21, align 4, !tbaa !9
  %312 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %312, ptr %22, align 4, !tbaa !9
  store i32 2, ptr %23, align 4, !tbaa !9
  %313 = load i32, ptr %23, align 4, !tbaa !9
  %314 = and i32 %313, 31
  %315 = load i32, ptr %22, align 4, !tbaa !9
  %316 = shl i32 %315, %314
  store i32 %316, ptr %22, align 4, !tbaa !9
  %317 = load i32, ptr %22, align 4, !tbaa !9
  %318 = load i32, ptr %21, align 4, !tbaa !9
  %319 = add i32 %318, %317
  store i32 %319, ptr %21, align 4, !tbaa !9
  store i32 12, ptr %22, align 4, !tbaa !9
  %320 = load i32, ptr %22, align 4, !tbaa !9
  %321 = load i32, ptr %21, align 4, !tbaa !9
  %322 = sub i32 %321, %320
  store i32 %322, ptr %21, align 4, !tbaa !9
  br label %323

323:                                              ; preds = %304, %291
  %324 = load ptr, ptr %9, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.w2c_hermes, ptr %324, i32 0, i32 6
  %326 = load i32, ptr %21, align 4, !tbaa !9
  %327 = zext i32 %326 to i64
  %328 = call i32 @i32_load(ptr noundef %325, i64 noundef %327)
  store i32 %328, ptr %21, align 4, !tbaa !9
  %329 = load ptr, ptr %9, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.w2c_hermes, ptr %329, i32 0, i32 6
  %331 = load i32, ptr %20, align 4, !tbaa !9
  %332 = zext i32 %331 to i64
  %333 = add i64 %332, 12
  %334 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %330, i64 noundef %333, i32 noundef %334)
  %335 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %335, ptr %20, align 4, !tbaa !9
  store i32 12, ptr %21, align 4, !tbaa !9
  %336 = load i32, ptr %21, align 4, !tbaa !9
  %337 = load i32, ptr %20, align 4, !tbaa !9
  %338 = add i32 %337, %336
  store i32 %338, ptr %20, align 4, !tbaa !9
  %339 = load ptr, ptr %9, align 8, !tbaa !5
  %340 = load i32, ptr %20, align 4, !tbaa !9
  %341 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef %339, i32 noundef %340)
  store i64 %341, ptr %27, align 8, !tbaa !11
  br label %342

342:                                              ; preds = %323, %250
  %343 = load i64, ptr %27, align 8, !tbaa !11
  store i64 %343, ptr %19, align 8, !tbaa !11
  %344 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %344, ptr %20, align 4, !tbaa !9
  %345 = load ptr, ptr %9, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.w2c_hermes, ptr %345, i32 0, i32 6
  %347 = load i32, ptr %20, align 4, !tbaa !9
  %348 = zext i32 %347 to i64
  %349 = call i32 @i32_load(ptr noundef %346, i64 noundef %348)
  store i32 %349, ptr %20, align 4, !tbaa !9
  %350 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %350, ptr %28, align 8, !tbaa !11
  %351 = load ptr, ptr %9, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.w2c_hermes, ptr %351, i32 0, i32 6
  %353 = load i32, ptr %20, align 4, !tbaa !9
  %354 = zext i32 %353 to i64
  %355 = load i64, ptr %28, align 8, !tbaa !11
  call void @i64_store(ptr noundef %352, i64 noundef %354, i64 noundef %355)
  %356 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %356, ptr %20, align 4, !tbaa !9
  %357 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %357, ptr %21, align 4, !tbaa !9
  %358 = load ptr, ptr %9, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.w2c_hermes, ptr %358, i32 0, i32 6
  %360 = load i32, ptr %21, align 4, !tbaa !9
  %361 = zext i32 %360 to i64
  %362 = call i32 @i32_load16_u(ptr noundef %359, i64 noundef %361)
  store i32 %362, ptr %21, align 4, !tbaa !9
  store i32 65024, ptr %22, align 4, !tbaa !9
  %363 = load i32, ptr %22, align 4, !tbaa !9
  %364 = load i32, ptr %21, align 4, !tbaa !9
  %365 = and i32 %364, %363
  store i32 %365, ptr %21, align 4, !tbaa !9
  store i32 257, ptr %22, align 4, !tbaa !9
  %366 = load i32, ptr %22, align 4, !tbaa !9
  %367 = load i32, ptr %21, align 4, !tbaa !9
  %368 = or i32 %367, %366
  store i32 %368, ptr %21, align 4, !tbaa !9
  %369 = load ptr, ptr %9, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.w2c_hermes, ptr %369, i32 0, i32 6
  %371 = load i32, ptr %20, align 4, !tbaa !9
  %372 = zext i32 %371 to i64
  %373 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %370, i64 noundef %372, i32 noundef %373)
  br label %420

374:                                              ; preds = %143
  %375 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %375, ptr %20, align 4, !tbaa !9
  %376 = load ptr, ptr %9, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.w2c_hermes, ptr %376, i32 0, i32 6
  %378 = load i32, ptr %20, align 4, !tbaa !9
  %379 = zext i32 %378 to i64
  %380 = add i64 %379, 4
  %381 = call i32 @i32_load8_u(ptr noundef %377, i64 noundef %380)
  store i32 %381, ptr %20, align 4, !tbaa !9
  store i32 128, ptr %21, align 4, !tbaa !9
  %382 = load i32, ptr %21, align 4, !tbaa !9
  %383 = load i32, ptr %20, align 4, !tbaa !9
  %384 = and i32 %383, %382
  store i32 %384, ptr %20, align 4, !tbaa !9
  %385 = load i32, ptr %20, align 4, !tbaa !9
  %386 = icmp ne i32 %385, 0
  br i1 %386, label %387, label %401

387:                                              ; preds = %374
  %388 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %388, ptr %20, align 4, !tbaa !9
  %389 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %389, ptr %21, align 4, !tbaa !9
  %390 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %390, ptr %22, align 4, !tbaa !9
  %391 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %391, ptr %23, align 4, !tbaa !9
  %392 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %392, ptr %24, align 4, !tbaa !9
  %393 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %393, ptr %25, align 4, !tbaa !9
  %394 = load ptr, ptr %9, align 8, !tbaa !5
  %395 = load i32, ptr %20, align 4, !tbaa !9
  %396 = load i32, ptr %21, align 4, !tbaa !9
  %397 = load i32, ptr %22, align 4, !tbaa !9
  %398 = load i32, ptr %23, align 4, !tbaa !9
  %399 = load i32, ptr %24, align 4, !tbaa !9
  %400 = load i32, ptr %25, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AgetOwnProperty0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2A0x29(ptr noundef %394, i32 noundef %395, i32 noundef %396, i32 noundef %397, i32 noundef %398, i32 noundef %399, i32 noundef %400)
  br label %420

401:                                              ; preds = %374
  %402 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %402, ptr %20, align 4, !tbaa !9
  %403 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %403, ptr %21, align 4, !tbaa !9
  %404 = load ptr, ptr %9, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.w2c_hermes, ptr %404, i32 0, i32 6
  %406 = load i32, ptr %21, align 4, !tbaa !9
  %407 = zext i32 %406 to i64
  %408 = call i32 @i32_load16_u(ptr noundef %405, i64 noundef %407)
  store i32 %408, ptr %21, align 4, !tbaa !9
  store i32 65024, ptr %22, align 4, !tbaa !9
  %409 = load i32, ptr %22, align 4, !tbaa !9
  %410 = load i32, ptr %21, align 4, !tbaa !9
  %411 = and i32 %410, %409
  store i32 %411, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %412 = load i32, ptr %22, align 4, !tbaa !9
  %413 = load i32, ptr %21, align 4, !tbaa !9
  %414 = or i32 %413, %412
  store i32 %414, ptr %21, align 4, !tbaa !9
  %415 = load ptr, ptr %9, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.w2c_hermes, ptr %415, i32 0, i32 6
  %417 = load i32, ptr %20, align 4, !tbaa !9
  %418 = zext i32 %417 to i64
  %419 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %416, i64 noundef %418, i32 noundef %419)
  br label %420

420:                                              ; preds = %401, %387, %342, %125, %72
  %421 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %421, ptr %20, align 4, !tbaa !9
  store i32 16, ptr %21, align 4, !tbaa !9
  %422 = load i32, ptr %21, align 4, !tbaa !9
  %423 = load i32, ptr %20, align 4, !tbaa !9
  %424 = add i32 %423, %422
  store i32 %424, ptr %20, align 4, !tbaa !9
  %425 = load i32, ptr %20, align 4, !tbaa !9
  %426 = load ptr, ptr %9, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.w2c_hermes, ptr %426, i32 0, i32 3
  store i32 %425, ptr %427, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  ret void
}

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 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #4 = { "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 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 #6 = { nounwind }
attributes #7 = { 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_t9 = 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 void @i64_store(ptr noundef, i64 noundef, i64 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 i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #0

; 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 @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: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) local_unnamed_addr #0

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoPropertyKey0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetOwnComputedPrimitiveDescriptor0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AIgnoreProxy0x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AgetOwnProperty0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetOwnComputedDescriptor0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #3 {
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = add i32 %10, -16
  store i32 %11, ptr %9, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = zext i32 %4 to i64
  %14 = add nuw nsw i64 %13, 6
  %15 = tail call i32 @i32_load16_s(ptr noundef nonnull %12, i64 noundef %14)
  %16 = icmp eq i32 %15, -1
  br i1 %16, label %17, label %19

17:                                               ; preds = %8
  %18 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoPropertyKey0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4) #4
  br label %19

19:                                               ; preds = %17, %8
  %.0206 = phi i32 [ %18, %17 ], [ %4, %8 ]
  %20 = icmp eq i32 %.0206, -1
  br i1 %20, label %21, label %26

21:                                               ; preds = %19
  %22 = zext i32 %1 to i64
  %23 = add nuw nsw i64 %22, 1
  %24 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %23)
  %25 = shl i32 %24, 8
  tail call void @i32_store16(ptr noundef nonnull %12, i64 noundef %22, i32 noundef %25)
  br label %118

26:                                               ; preds = %19
  %27 = add i32 %10, -8
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetOwnComputedPrimitiveDescriptor0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AIgnoreProxy0x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x29(ptr noundef nonnull %0, i32 noundef %27, i32 noundef %2, i32 noundef %3, i32 noundef %.0206, i32 noundef 1, i32 noundef %5, i32 noundef %6)
  %28 = zext i32 %11 to i64
  %29 = add nuw nsw i64 %28, 8
  %30 = tail call i32 @i32_load16_u(ptr noundef nonnull %12, i64 noundef %29)
  %31 = and i32 %30, 255
  %.not = icmp eq i32 %31, 0
  br i1 %.not, label %32, label %37

32:                                               ; preds = %26
  %33 = zext i32 %1 to i64
  %34 = add nuw nsw i64 %33, 1
  %35 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %34)
  %36 = shl i32 %35, 8
  tail call void @i32_store16(ptr noundef nonnull %12, i64 noundef %33, i32 noundef %36)
  br label %118

37:                                               ; preds = %26
  %38 = zext i32 %2 to i64
  %39 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %38)
  %40 = and i32 %30, 256
  %.not209 = icmp eq i32 %40, 0
  br i1 %.not209, label %107, label %41

41:                                               ; preds = %37
  %42 = zext i32 %6 to i64
  %43 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %42)
  %44 = and i64 %43, 32
  %.not211 = icmp eq i64 %44, 0
  %45 = lshr i64 %43, 32
  %46 = trunc nuw i64 %45 to i32
  br i1 %.not211, label %80, label %47

47:                                               ; preds = %41
  %48 = zext i32 %39 to i64
  %49 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %48)
  %50 = lshr i32 %49, 22
  %51 = and i32 %50, 1020
  %52 = add nuw nsw i32 %51, 138008
  %53 = zext nneg i32 %52 to i64
  %54 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %53)
  %55 = zext i32 %54 to i64
  %56 = add nuw nsw i64 %55, 40
  %57 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %56)
  %58 = getelementptr inbounds i8, ptr %0, i64 80
  %59 = getelementptr inbounds i8, ptr %0, i64 92
  %60 = load i32, ptr %59, align 4, !tbaa !15
  %61 = icmp ult i32 %57, %60
  br i1 %61, label %62, label %.critedge, !prof !16

62:                                               ; preds = %47
  %63 = load ptr, ptr %58, align 8, !tbaa !17
  %64 = zext i32 %57 to i64
  %65 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %63, i64 %64
  %66 = getelementptr inbounds i8, ptr %65, i64 8
  %67 = load ptr, ptr %66, align 8, !tbaa !18
  %.not212 = icmp eq ptr %67, null
  br i1 %.not212, label %.critedge, label %68, !prof !20

68:                                               ; preds = %62
  %69 = load ptr, ptr @w2c_hermes_t9, align 8, !tbaa !21
  %70 = load ptr, ptr %65, align 8, !tbaa !22
  %71 = tail call zeroext i1 @func_types_eq(ptr noundef %69, ptr noundef %70)
  br i1 %71, label %72, label %.critedge, !prof !16

.critedge:                                        ; preds = %62, %47, %68
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

72:                                               ; preds = %68
  %73 = load ptr, ptr %58, align 8, !tbaa !17
  %74 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %73, i64 %64
  %75 = getelementptr inbounds i8, ptr %74, i64 8
  %76 = load ptr, ptr %75, align 8, !tbaa !18
  %77 = getelementptr inbounds i8, ptr %74, i64 16
  %78 = load ptr, ptr %77, align 8, !tbaa !23
  %79 = tail call i64 %76(ptr noundef %78, i32 noundef %39, i32 noundef %3, i32 noundef %46) #4
  br label %99

80:                                               ; preds = %41
  %81 = icmp ult i64 %43, 21474836480
  br i1 %81, label %82, label %86

82:                                               ; preds = %80
  %83 = shl nuw nsw i32 %46, 2
  %84 = add i32 %39, 20
  %85 = add i32 %84, %83
  br label %93

86:                                               ; preds = %80
  %87 = zext i32 %39 to i64
  %88 = add nuw nsw i64 %87, 16
  %89 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %88)
  %90 = shl i32 %46, 2
  %91 = add i32 %90, -12
  %92 = add i32 %91, %89
  br label %93

93:                                               ; preds = %86, %82
  %.0205 = phi i32 [ %85, %82 ], [ %92, %86 ]
  %94 = zext i32 %.0205 to i64
  %95 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %94)
  %96 = add nuw nsw i64 %28, 12
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %96, i32 noundef %95)
  %97 = add i32 %10, -4
  %98 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef nonnull %0, i32 noundef %97)
  br label %99

99:                                               ; preds = %93, %72
  %.0 = phi i64 [ %79, %72 ], [ %98, %93 ]
  %100 = zext i32 %7 to i64
  %101 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %100)
  %102 = zext i32 %101 to i64
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %102, i64 noundef %.0)
  %103 = zext i32 %1 to i64
  %104 = tail call i32 @i32_load16_u(ptr noundef nonnull %12, i64 noundef %103)
  %105 = and i32 %104, 65024
  %106 = or disjoint i32 %105, 257
  tail call void @i32_store16(ptr noundef nonnull %12, i64 noundef %103, i32 noundef %106)
  br label %118

107:                                              ; preds = %37
  %108 = zext i32 %39 to i64
  %109 = add nuw nsw i64 %108, 4
  %110 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %109)
  %111 = and i32 %110, 128
  %.not210 = icmp eq i32 %111, 0
  br i1 %.not210, label %113, label %112

112:                                              ; preds = %107
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AgetOwnProperty0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AComputedPropertyDescriptor0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2A0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %6, i32 noundef %7)
  br label %118

113:                                              ; preds = %107
  %114 = zext i32 %1 to i64
  %115 = tail call i32 @i32_load16_u(ptr noundef nonnull %12, i64 noundef %114)
  %116 = and i32 %115, 65024
  %117 = or disjoint i32 %116, 1
  tail call void @i32_store16(ptr noundef nonnull %12, i64 noundef %114, i32 noundef %117)
  br label %118

118:                                              ; preds = %113, %112, %99, %32, %21
  store i32 %10, ptr %9, align 8, !tbaa !5
  ret void
}

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 = { "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 = { 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 #4 = { nounwind }
attributes #5 = { noreturn 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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass