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

; 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: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr 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

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 @i64_store(ptr noundef, i64 noundef, i64 noundef) #1

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

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

51:                                               ; preds = %4
  %52 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %52, ptr %17, align 4, !tbaa !9
  %53 = load i32, ptr %17, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %72

55:                                               ; preds = %51
  %56 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %56, ptr %17, 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 %17, 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 %17, align 4, !tbaa !9
  store i32 255, ptr %18, align 4, !tbaa !9
  %62 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %62, ptr %19, align 4, !tbaa !9
  store i32 2, ptr %20, align 4, !tbaa !9
  %63 = load i32, ptr %20, align 4, !tbaa !9
  %64 = and i32 %63, 31
  %65 = load i32, ptr %19, align 4, !tbaa !9
  %66 = shl i32 %65, %64
  store i32 %66, ptr %19, align 4, !tbaa !9
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = load i32, ptr %17, align 4, !tbaa !9
  %69 = load i32, ptr %18, align 4, !tbaa !9
  %70 = load i32, ptr %19, align 4, !tbaa !9
  %71 = call i32 @w2c_hermes_0x5F_memset(ptr noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70)
  store i32 %71, ptr %17, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %55, %51
  %73 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %73, ptr %17, align 4, !tbaa !9
  %74 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %74, ptr %18, align 4, !tbaa !9
  %75 = load i32, ptr %17, align 4, !tbaa !9
  %76 = load i32, ptr %18, align 4, !tbaa !9
  %77 = icmp ne i32 %75, %76
  %78 = zext i1 %77 to i32
  store i32 %78, ptr %17, align 4, !tbaa !9
  %79 = load i32, ptr %17, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %292

81:                                               ; preds = %72
  br label %82

82:                                               ; preds = %290, %81
  %83 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %83, ptr %17, align 4, !tbaa !9
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %17, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = call i32 @i32_load(ptr noundef %85, i64 noundef %87)
  store i32 %88, ptr %17, align 4, !tbaa !9
  %89 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %89, ptr %9, align 4, !tbaa !9
  store i32 -3, ptr %18, align 4, !tbaa !9
  %90 = load i32, ptr %17, align 4, !tbaa !9
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = icmp ugt i32 %90, %91
  %93 = zext i1 %92 to i32
  store i32 %93, ptr %17, align 4, !tbaa !9
  %94 = load i32, ptr %17, align 4, !tbaa !9
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %97

96:                                               ; preds = %82
  br label %277

97:                                               ; preds = %82
  %98 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %98, ptr %17, align 4, !tbaa !9
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.w2c_hermes, ptr %99, i32 0, i32 6
  %101 = load i32, ptr %17, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = call i32 @i32_load(ptr noundef %100, i64 noundef %102)
  store i32 %103, ptr %17, align 4, !tbaa !9
  %104 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %104, ptr %15, align 4, !tbaa !9
  %105 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %105, ptr %18, align 4, !tbaa !9
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %18, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = add i64 %109, 12
  %111 = call i32 @i32_load(ptr noundef %107, i64 noundef %110)
  store i32 %111, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %112 = load i32, ptr %19, align 4, !tbaa !9
  %113 = load i32, ptr %18, align 4, !tbaa !9
  %114 = sub i32 %113, %112
  store i32 %114, ptr %18, align 4, !tbaa !9
  %115 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %115, ptr %16, align 4, !tbaa !9
  %116 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %116, ptr %19, align 4, !tbaa !9
  store i32 37, ptr %20, align 4, !tbaa !9
  %117 = load i32, ptr %20, align 4, !tbaa !9
  %118 = load i32, ptr %19, align 4, !tbaa !9
  %119 = mul i32 %118, %117
  store i32 %119, ptr %19, align 4, !tbaa !9
  %120 = load i32, ptr %19, align 4, !tbaa !9
  %121 = load i32, ptr %18, align 4, !tbaa !9
  %122 = and i32 %121, %120
  store i32 %122, ptr %18, align 4, !tbaa !9
  %123 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %123, ptr %14, align 4, !tbaa !9
  store i32 2, ptr %19, align 4, !tbaa !9
  %124 = load i32, ptr %19, align 4, !tbaa !9
  %125 = and i32 %124, 31
  %126 = load i32, ptr %18, align 4, !tbaa !9
  %127 = shl i32 %126, %125
  store i32 %127, ptr %18, align 4, !tbaa !9
  %128 = load i32, ptr %18, align 4, !tbaa !9
  %129 = load i32, ptr %17, align 4, !tbaa !9
  %130 = add i32 %129, %128
  store i32 %130, ptr %17, align 4, !tbaa !9
  %131 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %131, ptr %12, align 4, !tbaa !9
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %17, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = call i32 @i32_load(ptr noundef %133, i64 noundef %135)
  store i32 %136, ptr %17, align 4, !tbaa !9
  %137 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %137, ptr %11, align 4, !tbaa !9
  %138 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %138, ptr %18, align 4, !tbaa !9
  %139 = load i32, ptr %17, align 4, !tbaa !9
  %140 = load i32, ptr %18, align 4, !tbaa !9
  %141 = icmp ne i32 %139, %140
  %142 = zext i1 %141 to i32
  store i32 %142, ptr %17, align 4, !tbaa !9
  %143 = load i32, ptr %17, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %259

145:                                              ; preds = %97
  store i32 0, ptr %17, align 4, !tbaa !9
  %146 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %146, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %147, ptr %13, align 4, !tbaa !9
  br label %148

148:                                              ; preds = %257, %145
  %149 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %149, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = load i32, ptr %18, align 4, !tbaa !9
  %152 = icmp eq i32 %150, %151
  %153 = zext i1 %152 to i32
  store i32 %153, ptr %17, align 4, !tbaa !9
  %154 = load i32, ptr %17, align 4, !tbaa !9
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %191

156:                                              ; preds = %148
  %157 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %157, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %158, ptr %18, align 4, !tbaa !9
  %159 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %159, ptr %19, align 4, !tbaa !9
  %160 = load i32, ptr %19, align 4, !tbaa !9
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %162, label %164

162:                                              ; preds = %156
  %163 = load i32, ptr %17, align 4, !tbaa !9
  br label %166

164:                                              ; preds = %156
  %165 = load i32, ptr %18, align 4, !tbaa !9
  br label %166

166:                                              ; preds = %164, %162
  %167 = phi i32 [ %163, %162 ], [ %165, %164 ]
  store i32 %167, ptr %17, align 4, !tbaa !9
  %168 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %168, ptr %18, align 4, !tbaa !9
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %17, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %170, i64 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %174, ptr %17, align 4, !tbaa !9
  %175 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %175, ptr %18, align 4, !tbaa !9
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %18, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = add i64 %179, 4
  %181 = call i32 @i32_load(ptr noundef %177, i64 noundef %180)
  store i32 %181, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %182 = load i32, ptr %19, align 4, !tbaa !9
  %183 = load i32, ptr %18, align 4, !tbaa !9
  %184 = add i32 %183, %182
  store i32 %184, ptr %18, align 4, !tbaa !9
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %17, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = add i64 %188, 4
  %190 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %186, i64 noundef %189, i32 noundef %190)
  br label %277

191:                                              ; preds = %148
  %192 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %192, ptr %17, align 4, !tbaa !9
  %193 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %193, ptr %18, align 4, !tbaa !9
  %194 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %194, ptr %19, align 4, !tbaa !9
  %195 = load i32, ptr %19, align 4, !tbaa !9
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %199

197:                                              ; preds = %191
  %198 = load i32, ptr %17, align 4, !tbaa !9
  br label %201

199:                                              ; preds = %191
  %200 = load i32, ptr %18, align 4, !tbaa !9
  br label %201

201:                                              ; preds = %199, %197
  %202 = phi i32 [ %198, %197 ], [ %200, %199 ]
  store i32 %202, ptr %17, align 4, !tbaa !9
  %203 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %203, ptr %18, align 4, !tbaa !9
  %204 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %204, ptr %19, align 4, !tbaa !9
  store i32 -2, ptr %20, align 4, !tbaa !9
  %205 = load i32, ptr %19, align 4, !tbaa !9
  %206 = load i32, ptr %20, align 4, !tbaa !9
  %207 = icmp eq i32 %205, %206
  %208 = zext i1 %207 to i32
  store i32 %208, ptr %19, align 4, !tbaa !9
  %209 = load i32, ptr %19, align 4, !tbaa !9
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %211, label %213

211:                                              ; preds = %201
  %212 = load i32, ptr %17, align 4, !tbaa !9
  br label %215

213:                                              ; preds = %201
  %214 = load i32, ptr %18, align 4, !tbaa !9
  br label %215

215:                                              ; preds = %213, %211
  %216 = phi i32 [ %212, %211 ], [ %214, %213 ]
  store i32 %216, ptr %17, align 4, !tbaa !9
  %217 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %217, ptr %10, align 4, !tbaa !9
  %218 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %218, ptr %17, align 4, !tbaa !9
  %219 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %219, ptr %18, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = add i32 %221, %220
  store i32 %222, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %223, ptr %11, align 4, !tbaa !9
  %224 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %224, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %225 = load i32, ptr %18, align 4, !tbaa !9
  %226 = load i32, ptr %17, align 4, !tbaa !9
  %227 = add i32 %226, %225
  store i32 %227, ptr %17, align 4, !tbaa !9
  %228 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %228, ptr %13, align 4, !tbaa !9
  %229 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %229, ptr %17, align 4, !tbaa !9
  %230 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %230, ptr %18, align 4, !tbaa !9
  %231 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %231, ptr %19, align 4, !tbaa !9
  %232 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %232, ptr %20, align 4, !tbaa !9
  %233 = load i32, ptr %20, align 4, !tbaa !9
  %234 = load i32, ptr %19, align 4, !tbaa !9
  %235 = and i32 %234, %233
  store i32 %235, ptr %19, align 4, !tbaa !9
  %236 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %236, ptr %14, align 4, !tbaa !9
  store i32 2, ptr %20, align 4, !tbaa !9
  %237 = load i32, ptr %20, align 4, !tbaa !9
  %238 = and i32 %237, 31
  %239 = load i32, ptr %19, align 4, !tbaa !9
  %240 = shl i32 %239, %238
  store i32 %240, ptr %19, align 4, !tbaa !9
  %241 = load i32, ptr %19, align 4, !tbaa !9
  %242 = load i32, ptr %18, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %18, align 4, !tbaa !9
  %244 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %244, ptr %12, align 4, !tbaa !9
  %245 = load ptr, ptr %5, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.w2c_hermes, ptr %245, i32 0, i32 6
  %247 = load i32, ptr %18, align 4, !tbaa !9
  %248 = zext i32 %247 to i64
  %249 = call i32 @i32_load(ptr noundef %246, i64 noundef %248)
  store i32 %249, ptr %18, align 4, !tbaa !9
  %250 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %250, ptr %11, align 4, !tbaa !9
  %251 = load i32, ptr %17, align 4, !tbaa !9
  %252 = load i32, ptr %18, align 4, !tbaa !9
  %253 = icmp ne i32 %251, %252
  %254 = zext i1 %253 to i32
  store i32 %254, ptr %17, align 4, !tbaa !9
  %255 = load i32, ptr %17, align 4, !tbaa !9
  %256 = icmp ne i32 %255, 0
  br i1 %256, label %257, label %258

257:                                              ; preds = %215
  br label %148

258:                                              ; preds = %215
  br label %259

259:                                              ; preds = %258, %97
  store i32 0, ptr %17, align 4, !tbaa !9
  %260 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %260, ptr %6, align 4, !tbaa !9
  store i32 186403, ptr %18, align 4, !tbaa !9
  %261 = load i32, ptr %18, align 4, !tbaa !9
  %262 = load i32, ptr %17, align 4, !tbaa !9
  %263 = add i32 %262, %261
  store i32 %263, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %264, ptr %18, align 4, !tbaa !9
  store i32 81389, ptr %19, align 4, !tbaa !9
  %265 = load i32, ptr %19, align 4, !tbaa !9
  %266 = load i32, ptr %18, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %18, align 4, !tbaa !9
  store i32 382, ptr %19, align 4, !tbaa !9
  %268 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %268, ptr %20, align 4, !tbaa !9
  store i32 40783, ptr %21, align 4, !tbaa !9
  %269 = load i32, ptr %21, align 4, !tbaa !9
  %270 = load i32, ptr %20, align 4, !tbaa !9
  %271 = add i32 %270, %269
  store i32 %271, ptr %20, align 4, !tbaa !9
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = load i32, ptr %18, align 4, !tbaa !9
  %275 = load i32, ptr %19, align 4, !tbaa !9
  %276 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %272, i32 noundef %273, i32 noundef %274, i32 noundef %275, i32 noundef %276)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

277:                                              ; preds = %166, %96
  %278 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %278, ptr %17, align 4, !tbaa !9
  store i32 4, ptr %18, align 4, !tbaa !9
  %279 = load i32, ptr %18, align 4, !tbaa !9
  %280 = load i32, ptr %17, align 4, !tbaa !9
  %281 = add i32 %280, %279
  store i32 %281, ptr %17, align 4, !tbaa !9
  %282 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %282, ptr %7, align 4, !tbaa !9
  %283 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %283, ptr %18, align 4, !tbaa !9
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = load i32, ptr %18, align 4, !tbaa !9
  %286 = icmp ne i32 %284, %285
  %287 = zext i1 %286 to i32
  store i32 %287, ptr %17, align 4, !tbaa !9
  %288 = load i32, ptr %17, align 4, !tbaa !9
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %290, label %291

290:                                              ; preds = %277
  br label %82

291:                                              ; preds = %277
  br label %292

292:                                              ; preds = %291, %72
  br label %311

293:                                              ; preds = %4
  store i32 0, ptr %17, align 4, !tbaa !9
  %294 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %294, ptr %6, align 4, !tbaa !9
  store i32 204356, ptr %18, align 4, !tbaa !9
  %295 = load i32, ptr %18, align 4, !tbaa !9
  %296 = load i32, ptr %17, align 4, !tbaa !9
  %297 = add i32 %296, %295
  store i32 %297, ptr %17, align 4, !tbaa !9
  %298 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %298, ptr %18, align 4, !tbaa !9
  store i32 81389, ptr %19, align 4, !tbaa !9
  %299 = load i32, ptr %19, align 4, !tbaa !9
  %300 = load i32, ptr %18, align 4, !tbaa !9
  %301 = add i32 %300, %299
  store i32 %301, ptr %18, align 4, !tbaa !9
  store i32 352, ptr %19, align 4, !tbaa !9
  %302 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %302, ptr %20, align 4, !tbaa !9
  store i32 17267, ptr %21, align 4, !tbaa !9
  %303 = load i32, ptr %21, align 4, !tbaa !9
  %304 = load i32, ptr %20, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %20, align 4, !tbaa !9
  %306 = load ptr, ptr %5, align 8, !tbaa !5
  %307 = load i32, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %18, align 4, !tbaa !9
  %309 = load i32, ptr %19, align 4, !tbaa !9
  %310 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %306, i32 noundef %307, i32 noundef %308, i32 noundef %309, i32 noundef %310)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

311:                                              ; preds = %292
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  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 = { "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}


; 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: 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 i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 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 @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cunsigned0x20int0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetEmpty0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetPair0x3Cunsigned0x20int0x3E0x3E0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetEmpty0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Cunsigned0x20int0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetPair0x3Cunsigned0x20int0x3E0x3E0x3A0x3AmoveFromOldBuckets0x28llvh0x3A0x3Adetail0x3A0x3ADenseSetPair0x3Cunsigned0x20int0x3E0x2A0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseSetPair0x3Cunsigned0x20int0x3E0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = zext i32 %1 to i64
  %7 = add nuw nsw i64 %6, 4
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %7, i64 noundef 0)
  %8 = add nuw nsw i64 %6, 12
  %9 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %8)
  %10 = tail call range(i32 0, 33) i32 @llvm.ctpop.i32(i32 %9)
  %.not = icmp ult i32 %10, 2
  br i1 %.not, label %11, label %49

11:                                               ; preds = %4
  %.not179 = icmp eq i32 %9, 0
  br i1 %.not179, label %16, label %12

12:                                               ; preds = %11
  %13 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %6)
  %14 = shl i32 %9, 2
  %15 = tail call i32 @w2c_hermes_0x5F_memset(ptr noundef %0, i32 noundef %13, i32 noundef 255, i32 noundef %14) #5
  br label %16

16:                                               ; preds = %12, %11
  %.not180 = icmp eq i32 %2, %3
  br i1 %.not180, label %.loopexit188, label %.preheader186

.preheader186:                                    ; preds = %16, %47
  %.0172 = phi i32 [ %48, %47 ], [ %2, %16 ]
  %17 = zext i32 %.0172 to i64
  %18 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %17)
  %19 = icmp ugt i32 %18, -3
  br i1 %19, label %47, label %20

20:                                               ; preds = %.preheader186
  %21 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %6)
  %22 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %8)
  %23 = add i32 %22, -1
  %24 = mul i32 %18, 37
  %25 = and i32 %23, %24
  %26 = shl i32 %25, 2
  %27 = add i32 %26, %21
  %28 = zext i32 %27 to i64
  %29 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %28)
  %.not181 = icmp eq i32 %29, %18
  br i1 %.not181, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %20, %36
  %.0171 = phi i32 [ %39, %36 ], [ 0, %20 ]
  %.0170 = phi i32 [ %46, %36 ], [ %29, %20 ]
  %.0169 = phi i32 [ %44, %36 ], [ %27, %20 ]
  %.0168 = phi i32 [ %41, %36 ], [ 1, %20 ]
  %.0 = phi i32 [ %42, %36 ], [ %25, %20 ]
  %30 = icmp eq i32 %.0170, -1
  %.not184 = icmp eq i32 %.0171, 0
  br i1 %30, label %31, label %36

31:                                               ; preds = %.preheader
  %32 = select i1 %.not184, i32 %.0169, i32 %.0171
  %33 = zext i32 %32 to i64
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %33, i32 noundef %18)
  %34 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %7)
  %35 = add i32 %34, 1
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %7, i32 noundef %35)
  br label %47

36:                                               ; preds = %.preheader
  %37 = icmp eq i32 %.0170, -2
  %38 = select i1 %37, i1 %.not184, i1 false
  %39 = select i1 %38, i32 %.0169, i32 %.0171
  %40 = add i32 %.0, %.0168
  %41 = add i32 %.0168, 1
  %42 = and i32 %40, %23
  %43 = shl i32 %42, 2
  %44 = add i32 %43, %21
  %45 = zext i32 %44 to i64
  %46 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %45)
  %.not183 = icmp eq i32 %18, %46
  br i1 %.not183, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %20, %36
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 186403, i32 noundef 81389, i32 noundef 382, i32 noundef 40783) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

47:                                               ; preds = %.preheader186, %31
  %48 = add i32 %.0172, 4
  %.not185 = icmp eq i32 %48, %3
  br i1 %.not185, label %.loopexit188, label %.preheader186

49:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 204356, i32 noundef 81389, i32 noundef 352, i32 noundef 17267) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

.loopexit188:                                     ; preds = %47, %16
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.ctpop.i32(i32) #4

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { 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,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass