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

; 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 }

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

; 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) #1

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

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

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

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

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

60:                                               ; preds = %5
  %61 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %61, ptr %15, align 4, !tbaa !9
  %62 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %62, ptr %16, align 4, !tbaa !9
  %63 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %63, ptr %17, align 4, !tbaa !9
  %64 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %64, ptr %18, align 4, !tbaa !9
  %65 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %65, ptr %19, align 4, !tbaa !9
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  %69 = load i32, ptr %17, align 4, !tbaa !9
  %70 = load i32, ptr %18, align 4, !tbaa !9
  %71 = load i32, ptr %19, align 4, !tbaa !9
  %72 = call i32 @w2c_hermes_llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x2A0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ASmallDenseMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x208u0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x3A0x3AInsertIntoBucket0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x3E0x28llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x29(ptr noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %71)
  store i32 %72, ptr %15, align 4, !tbaa !9
  br label %228

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

88:                                               ; preds = %73
  br label %247

89:                                               ; preds = %73
  %90 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %90, ptr %15, align 4, !tbaa !9
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = add i64 %94, 4
  %96 = call i32 @i32_load8_u(ptr noundef %92, i64 noundef %95)
  store i32 %96, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = load i32, ptr %15, align 4, !tbaa !9
  %99 = and i32 %98, %97
  store i32 %99, ptr %15, align 4, !tbaa !9
  %100 = load i32, ptr %15, align 4, !tbaa !9
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %103

102:                                              ; preds = %89
  br label %265

103:                                              ; preds = %89
  store i32 0, ptr %15, align 4, !tbaa !9
  %104 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %104, ptr %9, align 4, !tbaa !9
  %105 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %105, ptr %16, align 4, !tbaa !9
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %16, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = call i32 @i32_load(ptr noundef %107, i64 noundef %109)
  store i32 %110, ptr %16, align 4, !tbaa !9
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %114

113:                                              ; preds = %103
  br label %237

114:                                              ; preds = %103
  %115 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 4
  %121 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %117, i64 noundef %120, i32 noundef %121)
  %122 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %122, ptr %15, align 4, !tbaa !9
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %15, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = add i64 %126, 4
  %128 = call i32 @i32_load(ptr noundef %124, i64 noundef %127)
  store i32 %128, ptr %15, align 4, !tbaa !9
  %129 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %129, ptr %12, align 4, !tbaa !9
  %130 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %130, ptr %15, align 4, !tbaa !9
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = call i32 @i32_load(ptr noundef %132, i64 noundef %134)
  store i32 %135, ptr %15, align 4, !tbaa !9
  %136 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %136, ptr %9, align 4, !tbaa !9
  %137 = load i32, ptr %15, align 4, !tbaa !9
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %155

139:                                              ; preds = %114
  %140 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %140, ptr %15, align 4, !tbaa !9
  %141 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %141, ptr %16, align 4, !tbaa !9
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = call i32 @i32_load(ptr noundef %143, i64 noundef %145)
  store i32 %146, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = add i32 %148, %147
  store i32 %149, ptr %16, align 4, !tbaa !9
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.w2c_hermes, ptr %150, i32 0, i32 6
  %152 = load i32, ptr %15, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %151, i64 noundef %153, i32 noundef %154)
  br label %155

155:                                              ; preds = %139, %114
  %156 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %156, ptr %15, align 4, !tbaa !9
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.w2c_hermes, ptr %157, i32 0, i32 6
  %159 = load i32, ptr %15, align 4, !tbaa !9
  %160 = zext i32 %159 to i64
  %161 = call i64 @i64_load(ptr noundef %158, i64 noundef %160)
  store i64 %161, ptr %20, align 8, !tbaa !11
  %162 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %162, ptr %14, align 8, !tbaa !11
  store i64 48, ptr %21, align 8, !tbaa !11
  %163 = load i64, ptr %20, align 8, !tbaa !11
  %164 = load i64, ptr %21, align 8, !tbaa !11
  %165 = and i64 %164, 63
  %166 = ashr i64 %163, %165
  store i64 %166, ptr %20, align 8, !tbaa !11
  %167 = load i64, ptr %20, align 8, !tbaa !11
  %168 = trunc i64 %167 to i32
  store i32 %168, ptr %15, align 4, !tbaa !9
  store i32 -1, ptr %16, align 4, !tbaa !9
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = load i32, ptr %16, align 4, !tbaa !9
  %171 = icmp ne i32 %169, %170
  %172 = zext i1 %171 to i32
  store i32 %172, ptr %15, align 4, !tbaa !9
  %173 = load i32, ptr %15, align 4, !tbaa !9
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %176

175:                                              ; preds = %155
  br label %283

176:                                              ; preds = %155
  %177 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %177, ptr %20, align 8, !tbaa !11
  store i64 -844424930131969, ptr %21, align 8, !tbaa !11
  %178 = load i64, ptr %20, align 8, !tbaa !11
  %179 = load i64, ptr %21, align 8, !tbaa !11
  %180 = icmp ule i64 %178, %179
  %181 = zext i1 %180 to i32
  store i32 %181, ptr %15, align 4, !tbaa !9
  %182 = load i32, ptr %15, align 4, !tbaa !9
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %184, label %185

184:                                              ; preds = %176
  br label %301

185:                                              ; preds = %176
  %186 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %186, ptr %15, align 4, !tbaa !9
  %187 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %187, ptr %16, align 4, !tbaa !9
  store i32 808, ptr %17, align 4, !tbaa !9
  %188 = load i32, ptr %17, align 4, !tbaa !9
  %189 = load i32, ptr %16, align 4, !tbaa !9
  %190 = add i32 %189, %188
  store i32 %190, ptr %16, align 4, !tbaa !9
  %191 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %191, ptr %22, align 8, !tbaa !11
  %192 = load i64, ptr %22, align 8, !tbaa !11
  %193 = trunc i64 %192 to i32
  store i32 %193, ptr %17, align 4, !tbaa !9
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = load i32, ptr %16, align 4, !tbaa !9
  %196 = load i32, ptr %17, align 4, !tbaa !9
  %197 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AallocWeakSlot0x28hermes0x3A0x3Avm0x3A0x3ACompressedPointer0x29(ptr noundef %194, i32 noundef %195, i32 noundef %196)
  store i32 %197, ptr %16, align 4, !tbaa !9
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %15, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = add i64 %201, 8
  %203 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %199, i64 noundef %202, i32 noundef %203)
  %204 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %204, ptr %15, align 4, !tbaa !9
  %205 = load i32, ptr %15, align 4, !tbaa !9
  %206 = icmp ne i32 %205, 0
  %207 = xor i1 %206, true
  %208 = zext i1 %207 to i32
  store i32 %208, ptr %15, align 4, !tbaa !9
  %209 = load i32, ptr %15, align 4, !tbaa !9
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %211, label %212

211:                                              ; preds = %185
  br label %228

212:                                              ; preds = %185
  %213 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %213, ptr %15, align 4, !tbaa !9
  %214 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %214, ptr %16, align 4, !tbaa !9
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.w2c_hermes, ptr %215, i32 0, i32 6
  %217 = load i32, ptr %16, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = call i32 @i32_load(ptr noundef %216, i64 noundef %218)
  store i32 %219, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %220 = load i32, ptr %17, align 4, !tbaa !9
  %221 = load i32, ptr %16, align 4, !tbaa !9
  %222 = sub i32 %221, %220
  store i32 %222, ptr %16, align 4, !tbaa !9
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %15, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %224, i64 noundef %226, i32 noundef %227)
  br label %228

228:                                              ; preds = %212, %211, %60
  %229 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %229, ptr %15, align 4, !tbaa !9
  %230 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %230, ptr %16, align 4, !tbaa !9
  store i32 808, ptr %17, align 4, !tbaa !9
  %231 = load i32, ptr %17, align 4, !tbaa !9
  %232 = load i32, ptr %16, align 4, !tbaa !9
  %233 = add i32 %232, %231
  store i32 %233, ptr %16, align 4, !tbaa !9
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  %235 = load i32, ptr %15, align 4, !tbaa !9
  %236 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AWeakValueMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3ApruneInvalid0x28hermes0x3A0x3Avm0x3A0x3AHadesGC0x260x29(ptr noundef %234, i32 noundef %235, i32 noundef %236)
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %237

237:                                              ; preds = %228, %113
  %238 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %238, ptr %9, align 4, !tbaa !9
  %239 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %239, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %240 = load i32, ptr %16, align 4, !tbaa !9
  %241 = load i32, ptr %15, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %15, align 4, !tbaa !9
  %243 = load i32, ptr %15, align 4, !tbaa !9
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.w2c_hermes, ptr %244, i32 0, i32 3
  store i32 %243, ptr %245, align 8, !tbaa !13
  %246 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %246, ptr %15, align 4, !tbaa !9
  br label %319

247:                                              ; preds = %88
  store i32 0, ptr %15, align 4, !tbaa !9
  %248 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %248, ptr %11, align 4, !tbaa !9
  store i32 156754, ptr %16, align 4, !tbaa !9
  %249 = load i32, ptr %16, align 4, !tbaa !9
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = add i32 %250, %249
  store i32 %251, ptr %15, align 4, !tbaa !9
  %252 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %252, ptr %16, align 4, !tbaa !9
  store i32 82911, ptr %17, align 4, !tbaa !9
  %253 = load i32, ptr %17, align 4, !tbaa !9
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %255 = add i32 %254, %253
  store i32 %255, ptr %16, align 4, !tbaa !9
  store i32 38, ptr %17, align 4, !tbaa !9
  %256 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %256, ptr %18, align 4, !tbaa !9
  store i32 103443, ptr %19, align 4, !tbaa !9
  %257 = load i32, ptr %19, align 4, !tbaa !9
  %258 = load i32, ptr %18, align 4, !tbaa !9
  %259 = add i32 %258, %257
  store i32 %259, ptr %18, align 4, !tbaa !9
  %260 = load ptr, ptr %6, align 8, !tbaa !5
  %261 = load i32, ptr %15, align 4, !tbaa !9
  %262 = load i32, ptr %16, align 4, !tbaa !9
  %263 = load i32, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %260, i32 noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

265:                                              ; preds = %102
  store i32 0, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %266, ptr %11, align 4, !tbaa !9
  store i32 163361, ptr %16, align 4, !tbaa !9
  %267 = load i32, ptr %16, align 4, !tbaa !9
  %268 = load i32, ptr %15, align 4, !tbaa !9
  %269 = add i32 %268, %267
  store i32 %269, ptr %15, align 4, !tbaa !9
  %270 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %270, ptr %16, align 4, !tbaa !9
  store i32 77346, ptr %17, align 4, !tbaa !9
  %271 = load i32, ptr %17, align 4, !tbaa !9
  %272 = load i32, ptr %16, align 4, !tbaa !9
  %273 = add i32 %272, %271
  store i32 %273, ptr %16, align 4, !tbaa !9
  store i32 30, ptr %17, align 4, !tbaa !9
  %274 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %274, ptr %18, align 4, !tbaa !9
  store i32 90558, ptr %19, align 4, !tbaa !9
  %275 = load i32, ptr %19, align 4, !tbaa !9
  %276 = load i32, ptr %18, align 4, !tbaa !9
  %277 = add i32 %276, %275
  store i32 %277, ptr %18, align 4, !tbaa !9
  %278 = load ptr, ptr %6, align 8, !tbaa !5
  %279 = load i32, ptr %15, align 4, !tbaa !9
  %280 = load i32, ptr %16, align 4, !tbaa !9
  %281 = load i32, ptr %17, align 4, !tbaa !9
  %282 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %278, i32 noundef %279, i32 noundef %280, i32 noundef %281, i32 noundef %282)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

283:                                              ; preds = %175
  store i32 0, ptr %15, align 4, !tbaa !9
  %284 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %284, ptr %11, align 4, !tbaa !9
  store i32 118124, ptr %16, align 4, !tbaa !9
  %285 = load i32, ptr %16, align 4, !tbaa !9
  %286 = load i32, ptr %15, align 4, !tbaa !9
  %287 = add i32 %286, %285
  store i32 %287, ptr %15, align 4, !tbaa !9
  %288 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %288, ptr %16, align 4, !tbaa !9
  store i32 83341, ptr %17, align 4, !tbaa !9
  %289 = load i32, ptr %17, align 4, !tbaa !9
  %290 = load i32, ptr %16, align 4, !tbaa !9
  %291 = add i32 %290, %289
  store i32 %291, ptr %16, align 4, !tbaa !9
  store i32 480, ptr %17, align 4, !tbaa !9
  %292 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %292, ptr %18, align 4, !tbaa !9
  store i32 38798, ptr %19, align 4, !tbaa !9
  %293 = load i32, ptr %19, align 4, !tbaa !9
  %294 = load i32, ptr %18, align 4, !tbaa !9
  %295 = add i32 %294, %293
  store i32 %295, ptr %18, align 4, !tbaa !9
  %296 = load ptr, ptr %6, align 8, !tbaa !5
  %297 = load i32, ptr %15, align 4, !tbaa !9
  %298 = load i32, ptr %16, align 4, !tbaa !9
  %299 = load i32, ptr %17, align 4, !tbaa !9
  %300 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %296, i32 noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

301:                                              ; preds = %184
  store i32 0, ptr %15, align 4, !tbaa !9
  %302 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %302, ptr %11, align 4, !tbaa !9
  store i32 118273, ptr %16, align 4, !tbaa !9
  %303 = load i32, ptr %16, align 4, !tbaa !9
  %304 = load i32, ptr %15, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %15, align 4, !tbaa !9
  %306 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %306, ptr %16, align 4, !tbaa !9
  store i32 83341, ptr %17, align 4, !tbaa !9
  %307 = load i32, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %16, align 4, !tbaa !9
  %309 = add i32 %308, %307
  store i32 %309, ptr %16, align 4, !tbaa !9
  store i32 438, ptr %17, align 4, !tbaa !9
  %310 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %310, ptr %18, align 4, !tbaa !9
  store i32 49706, ptr %19, align 4, !tbaa !9
  %311 = load i32, ptr %19, align 4, !tbaa !9
  %312 = load i32, ptr %18, align 4, !tbaa !9
  %313 = add i32 %312, %311
  store i32 %313, ptr %18, align 4, !tbaa !9
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = load i32, ptr %15, align 4, !tbaa !9
  %316 = load i32, ptr %16, align 4, !tbaa !9
  %317 = load i32, ptr %17, align 4, !tbaa !9
  %318 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %314, i32 noundef %315, i32 noundef %316, i32 noundef %317, i32 noundef %318)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

319:                                              ; preds = %237
  %320 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret i32 %320
}

declare i32 @w2c_hermes_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ASmallDenseMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x208u0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x3A0x3ALookupBucketFor0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x20const0x2A0x260x290x20const(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x2A0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ASmallDenseMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x208u0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x3A0x3AInsertIntoBucket0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x3E0x28llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AallocWeakSlot0x28hermes0x3A0x3Avm0x3A0x3ACompressedPointer0x29(ptr noundef, i32 noundef, i32 noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { "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}


; 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"

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

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

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

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

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

15:                                               ; preds = %5
  %16 = tail call i32 @w2c_hermes_llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x2A0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ASmallDenseMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x208u0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x3A0x3AInsertIntoBucket0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x3E0x28llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %14, i32 noundef %3, i32 noundef %2, i32 noundef %4) #4
  %.pre = add i32 %2, 808
  br label %48

17:                                               ; preds = %5
  %18 = zext i32 %14 to i64
  %19 = add nuw nsw i64 %18, 8
  %20 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %19)
  %.not183 = icmp eq i32 %20, 0
  br i1 %.not183, label %50, label %21

21:                                               ; preds = %17
  %22 = zext i32 %20 to i64
  %23 = add nuw nsw i64 %22, 4
  %24 = tail call i32 @i32_load8_u(ptr noundef nonnull %11, i64 noundef %23)
  %25 = and i32 %24, 1
  %.not184 = icmp eq i32 %25, 0
  br i1 %.not184, label %26, label %51

26:                                               ; preds = %21
  %27 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %22)
  %.not185 = icmp eq i32 %27, 0
  br i1 %.not185, label %28, label %49

28:                                               ; preds = %26
  tail call void @i32_store8(ptr noundef nonnull %11, i64 noundef %23, i32 noundef 1)
  %29 = zext i32 %4 to i64
  %30 = add nuw nsw i64 %29, 4
  %31 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %30)
  %32 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %29)
  %.not186 = icmp eq i32 %32, 0
  br i1 %.not186, label %37, label %33

33:                                               ; preds = %28
  %34 = zext i32 %32 to i64
  %35 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %34)
  %36 = add i32 %35, 1
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %34, i32 noundef %36)
  br label %37

37:                                               ; preds = %33, %28
  %38 = zext i32 %31 to i64
  %39 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %38)
  %.not187 = icmp ugt i64 %39, -281474976710657
  br i1 %.not187, label %40, label %52

40:                                               ; preds = %37
  %41 = add i32 %2, 808
  %42 = trunc i64 %39 to i32
  %43 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AallocWeakSlot0x28hermes0x3A0x3Avm0x3A0x3ACompressedPointer0x29(ptr noundef nonnull %0, i32 noundef %41, i32 noundef %42) #4
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %19, i32 noundef %43)
  br i1 %.not186, label %48, label %44

44:                                               ; preds = %40
  %45 = zext i32 %32 to i64
  %46 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %45)
  %47 = add i32 %46, -1
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %45, i32 noundef %47)
  br label %48

48:                                               ; preds = %40, %44, %15
  %.pre-phi = phi i32 [ %41, %40 ], [ %41, %44 ], [ %.pre, %15 ]
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AWeakValueMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3ApruneInvalid0x28hermes0x3A0x3Avm0x3A0x3AHadesGC0x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %.pre-phi)
  br label %49

49:                                               ; preds = %26, %48
  %.0 = phi i32 [ 1, %48 ], [ 0, %26 ]
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret i32 %.0

50:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 156754, i32 noundef 82911, i32 noundef 38, i32 noundef 103443) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

51:                                               ; preds = %21
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 163361, i32 noundef 77346, i32 noundef 30, i32 noundef 90558) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

52:                                               ; preds = %37
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

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

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

attributes #0 = { 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 #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 = { "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}


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