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

; 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: nounwind uwtable
declare dso_local void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

37:                                               ; preds = %4
  store i32 0, ptr %18, align 4, !tbaa !9
  %38 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %38, ptr %6, align 4, !tbaa !9
  br label %258

39:                                               ; preds = %4
  store i32 1, ptr %18, align 4, !tbaa !9
  %40 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %40, ptr %11, align 4, !tbaa !9
  %41 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %41, ptr %18, align 4, !tbaa !9
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %18, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = call i32 @i32_load(ptr noundef %43, i64 noundef %45)
  store i32 %46, ptr %18, align 4, !tbaa !9
  %47 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %47, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %48 = load i32, ptr %18, align 4, !tbaa !9
  %49 = load i32, ptr %19, align 4, !tbaa !9
  %50 = icmp ugt i32 %48, %49
  %51 = zext i1 %50 to i32
  store i32 %51, ptr %18, align 4, !tbaa !9
  %52 = load i32, ptr %18, align 4, !tbaa !9
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %240

54:                                               ; preds = %39
  %55 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %55, ptr %18, align 4, !tbaa !9
  %56 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %56, ptr %19, align 4, !tbaa !9
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.w2c_hermes, ptr %57, i32 0, i32 6
  %59 = load i32, ptr %19, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = call i32 @i32_load(ptr noundef %58, i64 noundef %60)
  store i32 %61, ptr %19, align 4, !tbaa !9
  %62 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %62, ptr %15, align 4, !tbaa !9
  %63 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %63, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %64 = load i32, ptr %21, align 4, !tbaa !9
  %65 = load i32, ptr %20, align 4, !tbaa !9
  %66 = sub i32 %65, %64
  store i32 %66, ptr %20, align 4, !tbaa !9
  %67 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %67, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %68, ptr %21, align 4, !tbaa !9
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.w2c_hermes, ptr %69, i32 0, i32 6
  %71 = load i32, ptr %21, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = add i64 %72, 4
  %74 = call i32 @i32_load(ptr noundef %70, i64 noundef %73)
  store i32 %74, ptr %21, align 4, !tbaa !9
  %75 = load i32, ptr %21, align 4, !tbaa !9
  %76 = load i32, ptr %20, align 4, !tbaa !9
  %77 = and i32 %76, %75
  store i32 %77, ptr %20, align 4, !tbaa !9
  %78 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %78, ptr %13, align 4, !tbaa !9
  store i32 3, ptr %21, align 4, !tbaa !9
  %79 = load i32, ptr %21, align 4, !tbaa !9
  %80 = and i32 %79, 31
  %81 = load i32, ptr %20, align 4, !tbaa !9
  %82 = shl i32 %81, %80
  store i32 %82, ptr %20, align 4, !tbaa !9
  %83 = load i32, ptr %20, align 4, !tbaa !9
  %84 = load i32, ptr %19, align 4, !tbaa !9
  %85 = add i32 %84, %83
  store i32 %85, ptr %19, align 4, !tbaa !9
  %86 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %86, ptr %6, align 4, !tbaa !9
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 6
  %89 = load i32, ptr %19, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = call i32 @i32_load(ptr noundef %88, i64 noundef %90)
  store i32 %91, ptr %19, align 4, !tbaa !9
  %92 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %92, ptr %7, align 4, !tbaa !9
  %93 = load i32, ptr %18, align 4, !tbaa !9
  %94 = load i32, ptr %19, align 4, !tbaa !9
  %95 = icmp eq i32 %93, %94
  %96 = zext i1 %95 to i32
  store i32 %96, ptr %18, align 4, !tbaa !9
  %97 = load i32, ptr %18, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %54
  br label %260

100:                                              ; preds = %54
  store i32 1, ptr %18, align 4, !tbaa !9
  %101 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %101, ptr %9, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %238, %100
  %103 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %103, ptr %18, align 4, !tbaa !9
  %104 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %104, ptr %14, align 4, !tbaa !9
  %105 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %105, ptr %18, align 4, !tbaa !9
  store i32 2, ptr %19, align 4, !tbaa !9
  %106 = load i32, ptr %18, align 4, !tbaa !9
  %107 = load i32, ptr %19, align 4, !tbaa !9
  %108 = icmp ult i32 %106, %107
  %109 = zext i1 %108 to i32
  store i32 %109, ptr %18, align 4, !tbaa !9
  %110 = load i32, ptr %18, align 4, !tbaa !9
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %113

112:                                              ; preds = %102
  br label %156

113:                                              ; preds = %102
  %114 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %114, ptr %18, align 4, !tbaa !9
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %18, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = add i64 %118, 8
  %120 = call i32 @i32_load(ptr noundef %116, i64 noundef %119)
  store i32 %120, ptr %18, align 4, !tbaa !9
  %121 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %121, ptr %9, align 4, !tbaa !9
  %122 = load i32, ptr %18, align 4, !tbaa !9
  %123 = icmp ne i32 %122, 0
  %124 = xor i1 %123, true
  %125 = zext i1 %124 to i32
  store i32 %125, ptr %18, align 4, !tbaa !9
  %126 = load i32, ptr %18, align 4, !tbaa !9
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %129

128:                                              ; preds = %113
  br label %156

129:                                              ; preds = %113
  %130 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %130, ptr %18, align 4, !tbaa !9
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %18, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = add i64 %134, 8
  %136 = call i32 @i32_load(ptr noundef %132, i64 noundef %135)
  store i32 %136, ptr %18, align 4, !tbaa !9
  %137 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %137, ptr %17, align 4, !tbaa !9
  %138 = load i32, ptr %18, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  %140 = xor i1 %139, true
  %141 = zext i1 %140 to i32
  store i32 %141, ptr %18, align 4, !tbaa !9
  %142 = load i32, ptr %18, align 4, !tbaa !9
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %145

144:                                              ; preds = %129
  br label %174

145:                                              ; preds = %129
  %146 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %146, ptr %18, align 4, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %147, ptr %19, align 4, !tbaa !9
  %148 = load i32, ptr %18, align 4, !tbaa !9
  %149 = load i32, ptr %19, align 4, !tbaa !9
  %150 = icmp eq i32 %148, %149
  %151 = zext i1 %150 to i32
  store i32 %151, ptr %18, align 4, !tbaa !9
  %152 = load i32, ptr %18, align 4, !tbaa !9
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %155

154:                                              ; preds = %145
  br label %260

155:                                              ; preds = %145
  br label %174

156:                                              ; preds = %128, %112
  %157 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %157, ptr %18, align 4, !tbaa !9
  %158 = load i32, ptr %18, align 4, !tbaa !9
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %161

160:                                              ; preds = %156
  br label %174

161:                                              ; preds = %156
  %162 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %162, ptr %18, align 4, !tbaa !9
  %163 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %163, ptr %19, align 4, !tbaa !9
  %164 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %164, ptr %20, align 4, !tbaa !9
  %165 = load i32, ptr %20, align 4, !tbaa !9
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %169

167:                                              ; preds = %161
  %168 = load i32, ptr %18, align 4, !tbaa !9
  br label %171

169:                                              ; preds = %161
  %170 = load i32, ptr %19, align 4, !tbaa !9
  br label %171

171:                                              ; preds = %169, %167
  %172 = phi i32 [ %168, %167 ], [ %170, %169 ]
  store i32 %172, ptr %18, align 4, !tbaa !9
  %173 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %173, ptr %6, align 4, !tbaa !9
  br label %258

174:                                              ; preds = %160, %155, %144
  %175 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %175, ptr %18, align 4, !tbaa !9
  %176 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %176, ptr %19, align 4, !tbaa !9
  %177 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %177, ptr %20, align 4, !tbaa !9
  %178 = load i32, ptr %20, align 4, !tbaa !9
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %180, label %182

180:                                              ; preds = %174
  %181 = load i32, ptr %18, align 4, !tbaa !9
  br label %184

182:                                              ; preds = %174
  %183 = load i32, ptr %19, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %182, %180
  %185 = phi i32 [ %181, %180 ], [ %183, %182 ]
  store i32 %185, ptr %18, align 4, !tbaa !9
  %186 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %186, ptr %19, align 4, !tbaa !9
  %187 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %187, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %188 = load i32, ptr %20, align 4, !tbaa !9
  %189 = load i32, ptr %21, align 4, !tbaa !9
  %190 = icmp eq i32 %188, %189
  %191 = zext i1 %190 to i32
  store i32 %191, ptr %20, align 4, !tbaa !9
  %192 = load i32, ptr %20, align 4, !tbaa !9
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %194, label %196

194:                                              ; preds = %184
  %195 = load i32, ptr %18, align 4, !tbaa !9
  br label %198

196:                                              ; preds = %184
  %197 = load i32, ptr %19, align 4, !tbaa !9
  br label %198

198:                                              ; preds = %196, %194
  %199 = phi i32 [ %195, %194 ], [ %197, %196 ]
  store i32 %199, ptr %18, align 4, !tbaa !9
  %200 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %200, ptr %10, align 4, !tbaa !9
  %201 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %201, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %202 = load i32, ptr %19, align 4, !tbaa !9
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %18, align 4, !tbaa !9
  %205 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %205, ptr %9, align 4, !tbaa !9
  %206 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %206, ptr %18, align 4, !tbaa !9
  %207 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %207, ptr %19, align 4, !tbaa !9
  %208 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %208, ptr %20, align 4, !tbaa !9
  %209 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %209, ptr %21, align 4, !tbaa !9
  %210 = load i32, ptr %21, align 4, !tbaa !9
  %211 = load i32, ptr %20, align 4, !tbaa !9
  %212 = add i32 %211, %210
  store i32 %212, ptr %20, align 4, !tbaa !9
  %213 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %213, ptr %21, align 4, !tbaa !9
  %214 = load i32, ptr %21, align 4, !tbaa !9
  %215 = load i32, ptr %20, align 4, !tbaa !9
  %216 = and i32 %215, %214
  store i32 %216, ptr %20, align 4, !tbaa !9
  %217 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %217, ptr %13, align 4, !tbaa !9
  store i32 3, ptr %21, align 4, !tbaa !9
  %218 = load i32, ptr %21, align 4, !tbaa !9
  %219 = and i32 %218, 31
  %220 = load i32, ptr %20, align 4, !tbaa !9
  %221 = shl i32 %220, %219
  store i32 %221, ptr %20, align 4, !tbaa !9
  %222 = load i32, ptr %20, align 4, !tbaa !9
  %223 = load i32, ptr %19, align 4, !tbaa !9
  %224 = add i32 %223, %222
  store i32 %224, ptr %19, align 4, !tbaa !9
  %225 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %225, ptr %6, align 4, !tbaa !9
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %19, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = call i32 @i32_load(ptr noundef %227, i64 noundef %229)
  store i32 %230, ptr %19, align 4, !tbaa !9
  %231 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %231, ptr %7, align 4, !tbaa !9
  %232 = load i32, ptr %18, align 4, !tbaa !9
  %233 = load i32, ptr %19, align 4, !tbaa !9
  %234 = icmp ne i32 %232, %233
  %235 = zext i1 %234 to i32
  store i32 %235, ptr %18, align 4, !tbaa !9
  %236 = load i32, ptr %18, align 4, !tbaa !9
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %238, label %239

238:                                              ; preds = %198
  br label %102

239:                                              ; preds = %198
  br label %260

240:                                              ; preds = %39
  store i32 0, ptr %18, align 4, !tbaa !9
  %241 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %241, ptr %6, align 4, !tbaa !9
  store i32 204136, ptr %19, align 4, !tbaa !9
  %242 = load i32, ptr %19, align 4, !tbaa !9
  %243 = load i32, ptr %18, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %18, align 4, !tbaa !9
  %245 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %245, ptr %19, align 4, !tbaa !9
  store i32 81389, ptr %20, align 4, !tbaa !9
  %246 = load i32, ptr %20, align 4, !tbaa !9
  %247 = load i32, ptr %19, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %19, align 4, !tbaa !9
  store i32 597, ptr %20, align 4, !tbaa !9
  %249 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %249, ptr %21, align 4, !tbaa !9
  store i32 48929, ptr %22, align 4, !tbaa !9
  %250 = load i32, ptr %22, align 4, !tbaa !9
  %251 = load i32, ptr %21, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %21, align 4, !tbaa !9
  %253 = load ptr, ptr %5, align 8, !tbaa !5
  %254 = load i32, ptr %18, align 4, !tbaa !9
  %255 = load i32, ptr %19, align 4, !tbaa !9
  %256 = load i32, ptr %20, align 4, !tbaa !9
  %257 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256, i32 noundef %257)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

258:                                              ; preds = %171, %37
  store i32 0, ptr %18, align 4, !tbaa !9
  %259 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %259, ptr %11, align 4, !tbaa !9
  br label %260

260:                                              ; preds = %258, %239, %154, %99
  %261 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %261, ptr %18, align 4, !tbaa !9
  %262 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %262, ptr %19, align 4, !tbaa !9
  %263 = load ptr, ptr %5, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.w2c_hermes, ptr %263, i32 0, i32 6
  %265 = load i32, ptr %18, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %264, i64 noundef %266, i32 noundef %267)
  %268 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %268, ptr %18, align 4, !tbaa !9
  %269 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret i32 %269
}

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 = { 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 }

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


; 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: nounwind uwtable
declare dso_local void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @w2c_hermes_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3AWeakRefKey0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetEmpty0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3AWeakRefInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3AWeakRefKey0x3E0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3AWeakRefKey0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetEmpty0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3AWeakRefInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3AWeakRefKey0x3E0x3E0x3A0x3ALookupBucketFor0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3AWeakRefKey0x3E0x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3AWeakRefKey0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3AWeakRefKey0x3E0x2A0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = zext i32 %1 to i64
  %7 = add nuw nsw i64 %6, 12
  %8 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %7)
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %.loopexit, label %9

9:                                                ; preds = %4
  %10 = zext i32 %2 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %10)
  %12 = icmp ugt i32 %11, 1
  br i1 %12, label %13, label %48

13:                                               ; preds = %9
  %14 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %6)
  %15 = add i32 %8, -1
  %16 = add nuw nsw i64 %10, 4
  %17 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %16)
  %18 = and i32 %17, %15
  %19 = shl i32 %18, 3
  %20 = add i32 %19, %14
  %21 = zext i32 %20 to i64
  %22 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %21)
  %23 = icmp eq i32 %11, %22
  br i1 %23, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %13
  %24 = zext i32 %11 to i64
  %25 = add nuw nsw i64 %24, 8
  br label %26

26:                                               ; preds = %.preheader, %.thread
  %.0138 = phi i32 [ %47, %.thread ], [ %22, %.preheader ]
  %.0137 = phi i32 [ %41, %.thread ], [ 1, %.preheader ]
  %.0136 = phi i32 [ %40, %.thread ], [ 0, %.preheader ]
  %.0134 = phi i32 [ %43, %.thread ], [ %18, %.preheader ]
  %.0 = phi i32 [ %45, %.thread ], [ %20, %.preheader ]
  %27 = icmp ult i32 %.0138, 2
  br i1 %27, label %35, label %28

28:                                               ; preds = %26
  %29 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %25)
  %.not142 = icmp eq i32 %29, 0
  br i1 %.not142, label %.thread, label %30

30:                                               ; preds = %28
  %31 = zext i32 %.0138 to i64
  %32 = add nuw nsw i64 %31, 8
  %33 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %32)
  %34 = icmp eq i32 %29, %33
  br i1 %34, label %.loopexit, label %.thread

35:                                               ; preds = %26
  %.not144 = icmp eq i32 %.0138, 0
  br i1 %.not144, label %36, label %.thread

36:                                               ; preds = %35
  %.not145 = icmp eq i32 %.0136, 0
  %37 = select i1 %.not145, i32 %.0, i32 %.0136
  br label %.loopexit

.thread:                                          ; preds = %28, %35, %30
  %.not146 = icmp eq i32 %.0136, 0
  %38 = icmp eq i32 %.0138, 1
  %39 = select i1 %38, i1 %.not146, i1 false
  %40 = select i1 %39, i32 %.0, i32 %.0136
  %41 = add i32 %.0137, 1
  %42 = add i32 %.0134, %.0137
  %43 = and i32 %42, %15
  %44 = shl i32 %43, 3
  %45 = add i32 %44, %14
  %46 = zext i32 %45 to i64
  %47 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %46)
  %.not147 = icmp eq i32 %11, %47
  br i1 %.not147, label %.loopexit, label %26

48:                                               ; preds = %9
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 204136, i32 noundef 81389, i32 noundef 597, i32 noundef 48929)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable

.loopexit:                                        ; preds = %30, %.thread, %36, %4, %13
  %.0135 = phi i32 [ 1, %13 ], [ 0, %4 ], [ 0, %36 ], [ 1, %.thread ], [ 1, %30 ]
  %.2 = phi i32 [ %20, %13 ], [ 0, %4 ], [ %37, %36 ], [ %.0, %30 ], [ %45, %.thread ]
  %49 = zext i32 %3 to i64
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %49, i32 noundef %.2)
  ret i32 %.0135
}

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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn nounwind }

!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)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass