; 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_llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x2A0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x3E0x2C0x20hermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x3E0x3A0x3AInsertIntoBucketImpl0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x28hermes0x3A0x3ASwitchImmInst0x2A0x20const0x260x2C0x20hermes0x3A0x3ASwitchImmInst0x2A0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

36:                                               ; preds = %3
  br label %214

37:                                               ; preds = %3
  %38 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %38, ptr %15, align 4, !tbaa !9
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %15, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = call i32 @i32_load(ptr noundef %40, i64 noundef %42)
  store i32 %43, ptr %15, align 4, !tbaa !9
  %44 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %44, ptr %8, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = load i32, ptr %15, align 4, !tbaa !9
  %47 = add i32 %46, %45
  store i32 %47, ptr %15, align 4, !tbaa !9
  %48 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %48, label %54 [
    i32 0, label %49
    i32 1, label %50
    i32 2, label %51
    i32 3, label %52
    i32 4, label %53
  ]

49:                                               ; preds = %37
  br label %55

50:                                               ; preds = %37
  br label %73

51:                                               ; preds = %37
  br label %73

52:                                               ; preds = %37
  br label %73

53:                                               ; preds = %37
  br label %55

54:                                               ; preds = %37
  br label %73

55:                                               ; preds = %53, %49
  store i32 0, ptr %15, align 4, !tbaa !9
  %56 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %56, ptr %7, align 4, !tbaa !9
  store i32 204136, ptr %16, align 4, !tbaa !9
  %57 = load i32, ptr %16, align 4, !tbaa !9
  %58 = load i32, ptr %15, align 4, !tbaa !9
  %59 = add i32 %58, %57
  store i32 %59, ptr %15, align 4, !tbaa !9
  %60 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %60, ptr %16, align 4, !tbaa !9
  store i32 81389, ptr %17, align 4, !tbaa !9
  %61 = load i32, ptr %17, align 4, !tbaa !9
  %62 = load i32, ptr %16, align 4, !tbaa !9
  %63 = add i32 %62, %61
  store i32 %63, ptr %16, align 4, !tbaa !9
  store i32 597, ptr %17, align 4, !tbaa !9
  %64 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %64, ptr %18, align 4, !tbaa !9
  store i32 48929, ptr %19, align 4, !tbaa !9
  %65 = load i32, ptr %19, align 4, !tbaa !9
  %66 = load i32, ptr %18, align 4, !tbaa !9
  %67 = add i32 %66, %65
  store i32 %67, ptr %18, align 4, !tbaa !9
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = load i32, ptr %15, align 4, !tbaa !9
  %70 = load i32, ptr %16, align 4, !tbaa !9
  %71 = load i32, ptr %17, align 4, !tbaa !9
  %72 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

73:                                               ; preds = %54, %52, %51, %50
  %74 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %74, ptr %15, align 4, !tbaa !9
  %75 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %75, ptr %16, align 4, !tbaa !9
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %16, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = call i32 @i32_load(ptr noundef %77, i64 noundef %79)
  store i32 %80, ptr %16, align 4, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %81, ptr %13, align 4, !tbaa !9
  %82 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %82, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %83 = load i32, ptr %18, align 4, !tbaa !9
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = sub i32 %84, %83
  store i32 %85, ptr %17, align 4, !tbaa !9
  %86 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %86, ptr %14, align 4, !tbaa !9
  %87 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %87, ptr %18, align 4, !tbaa !9
  store i32 4, ptr %19, align 4, !tbaa !9
  %88 = load i32, ptr %19, align 4, !tbaa !9
  %89 = and i32 %88, 31
  %90 = load i32, ptr %18, align 4, !tbaa !9
  %91 = lshr i32 %90, %89
  store i32 %91, ptr %18, align 4, !tbaa !9
  %92 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %92, ptr %19, align 4, !tbaa !9
  store i32 9, ptr %20, align 4, !tbaa !9
  %93 = load i32, ptr %20, align 4, !tbaa !9
  %94 = and i32 %93, 31
  %95 = load i32, ptr %19, align 4, !tbaa !9
  %96 = lshr i32 %95, %94
  store i32 %96, ptr %19, align 4, !tbaa !9
  %97 = load i32, ptr %19, align 4, !tbaa !9
  %98 = load i32, ptr %18, align 4, !tbaa !9
  %99 = xor i32 %98, %97
  store i32 %99, ptr %18, align 4, !tbaa !9
  %100 = load i32, ptr %18, align 4, !tbaa !9
  %101 = load i32, ptr %17, align 4, !tbaa !9
  %102 = and i32 %101, %100
  store i32 %102, ptr %17, align 4, !tbaa !9
  %103 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %103, ptr %12, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %104 = load i32, ptr %18, align 4, !tbaa !9
  %105 = load i32, ptr %17, align 4, !tbaa !9
  %106 = mul i32 %105, %104
  store i32 %106, ptr %17, align 4, !tbaa !9
  %107 = load i32, ptr %17, align 4, !tbaa !9
  %108 = load i32, ptr %16, align 4, !tbaa !9
  %109 = add i32 %108, %107
  store i32 %109, ptr %16, align 4, !tbaa !9
  %110 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %110, ptr %7, align 4, !tbaa !9
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.w2c_hermes, ptr %111, i32 0, i32 6
  %113 = load i32, ptr %16, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = call i32 @i32_load(ptr noundef %112, i64 noundef %114)
  store i32 %115, ptr %16, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %116, ptr %10, align 4, !tbaa !9
  %117 = load i32, ptr %15, align 4, !tbaa !9
  %118 = load i32, ptr %16, align 4, !tbaa !9
  %119 = icmp eq i32 %117, %118
  %120 = zext i1 %119 to i32
  store i32 %120, ptr %15, align 4, !tbaa !9
  %121 = load i32, ptr %15, align 4, !tbaa !9
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %73
  br label %261

124:                                              ; preds = %73
  store i32 1, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %125, ptr %11, align 4, !tbaa !9
  br label %126

126:                                              ; preds = %212, %124
  %127 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %127, ptr %15, align 4, !tbaa !9
  store i32 -4, ptr %16, align 4, !tbaa !9
  %128 = load i32, ptr %15, align 4, !tbaa !9
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = icmp eq i32 %128, %129
  %131 = zext i1 %130 to i32
  store i32 %131, ptr %15, align 4, !tbaa !9
  %132 = load i32, ptr %15, align 4, !tbaa !9
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %147

134:                                              ; preds = %126
  %135 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %135, ptr %15, align 4, !tbaa !9
  %136 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %136, ptr %16, align 4, !tbaa !9
  %137 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %137, ptr %17, align 4, !tbaa !9
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %142

140:                                              ; preds = %134
  %141 = load i32, ptr %15, align 4, !tbaa !9
  br label %144

142:                                              ; preds = %134
  %143 = load i32, ptr %16, align 4, !tbaa !9
  br label %144

144:                                              ; preds = %142, %140
  %145 = phi i32 [ %141, %140 ], [ %143, %142 ]
  store i32 %145, ptr %15, align 4, !tbaa !9
  %146 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %146, ptr %8, align 4, !tbaa !9
  br label %214

147:                                              ; preds = %126
  %148 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %148, ptr %15, align 4, !tbaa !9
  %149 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %149, ptr %16, align 4, !tbaa !9
  %150 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %150, ptr %17, align 4, !tbaa !9
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %155

153:                                              ; preds = %147
  %154 = load i32, ptr %15, align 4, !tbaa !9
  br label %157

155:                                              ; preds = %147
  %156 = load i32, ptr %16, align 4, !tbaa !9
  br label %157

157:                                              ; preds = %155, %153
  %158 = phi i32 [ %154, %153 ], [ %156, %155 ]
  store i32 %158, ptr %15, align 4, !tbaa !9
  %159 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %159, ptr %16, align 4, !tbaa !9
  %160 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %160, ptr %17, align 4, !tbaa !9
  store i32 -8, ptr %18, align 4, !tbaa !9
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = load i32, ptr %18, align 4, !tbaa !9
  %163 = icmp eq i32 %161, %162
  %164 = zext i1 %163 to i32
  store i32 %164, ptr %17, align 4, !tbaa !9
  %165 = load i32, ptr %17, align 4, !tbaa !9
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %169

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

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

171:                                              ; preds = %169, %167
  %172 = phi i32 [ %168, %167 ], [ %170, %169 ]
  store i32 %172, ptr %15, align 4, !tbaa !9
  %173 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %173, ptr %9, align 4, !tbaa !9
  %174 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %174, ptr %15, align 4, !tbaa !9
  %175 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %175, ptr %16, align 4, !tbaa !9
  %176 = load i32, ptr %16, align 4, !tbaa !9
  %177 = load i32, ptr %15, align 4, !tbaa !9
  %178 = add i32 %177, %176
  store i32 %178, ptr %15, align 4, !tbaa !9
  %179 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %179, ptr %7, align 4, !tbaa !9
  %180 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %180, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %181 = load i32, ptr %16, align 4, !tbaa !9
  %182 = load i32, ptr %15, align 4, !tbaa !9
  %183 = add i32 %182, %181
  store i32 %183, ptr %15, align 4, !tbaa !9
  %184 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %184, ptr %11, align 4, !tbaa !9
  %185 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %185, ptr %15, align 4, !tbaa !9
  %186 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %186, ptr %16, align 4, !tbaa !9
  %187 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %187, ptr %17, align 4, !tbaa !9
  %188 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %188, ptr %18, align 4, !tbaa !9
  %189 = load i32, ptr %18, align 4, !tbaa !9
  %190 = load i32, ptr %17, align 4, !tbaa !9
  %191 = and i32 %190, %189
  store i32 %191, ptr %17, align 4, !tbaa !9
  %192 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %192, ptr %12, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %193 = load i32, ptr %18, align 4, !tbaa !9
  %194 = load i32, ptr %17, align 4, !tbaa !9
  %195 = mul i32 %194, %193
  store i32 %195, ptr %17, align 4, !tbaa !9
  %196 = load i32, ptr %17, align 4, !tbaa !9
  %197 = load i32, ptr %16, align 4, !tbaa !9
  %198 = add i32 %197, %196
  store i32 %198, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %199, ptr %7, align 4, !tbaa !9
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %16, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = call i32 @i32_load(ptr noundef %201, i64 noundef %203)
  store i32 %204, ptr %16, align 4, !tbaa !9
  %205 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %205, ptr %10, align 4, !tbaa !9
  %206 = load i32, ptr %15, align 4, !tbaa !9
  %207 = load i32, ptr %16, align 4, !tbaa !9
  %208 = icmp ne i32 %206, %207
  %209 = zext i1 %208 to i32
  store i32 %209, ptr %15, align 4, !tbaa !9
  %210 = load i32, ptr %15, align 4, !tbaa !9
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %213

212:                                              ; preds = %171
  br label %126

213:                                              ; preds = %171
  br label %261

214:                                              ; preds = %144, %36
  %215 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %215, ptr %15, align 4, !tbaa !9
  %216 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %216, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %217, ptr %17, align 4, !tbaa !9
  %218 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %218, ptr %18, align 4, !tbaa !9
  %219 = load ptr, ptr %4, align 8, !tbaa !5
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = load i32, ptr %16, align 4, !tbaa !9
  %222 = load i32, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %18, align 4, !tbaa !9
  %224 = call i32 @w2c_hermes_llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x2A0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x3E0x2C0x20hermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x3E0x3A0x3AInsertIntoBucketImpl0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x28hermes0x3A0x3ASwitchImmInst0x2A0x20const0x260x2C0x20hermes0x3A0x3ASwitchImmInst0x2A0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x2A0x29(ptr noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223)
  store i32 %224, ptr %15, align 4, !tbaa !9
  %225 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %225, ptr %7, align 4, !tbaa !9
  %226 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %226, ptr %15, align 4, !tbaa !9
  %227 = load ptr, ptr %4, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %15, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = call i32 @i32_load(ptr noundef %228, i64 noundef %230)
  store i32 %231, ptr %15, align 4, !tbaa !9
  %232 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %232, ptr %5, align 4, !tbaa !9
  %233 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %233, ptr %15, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %15, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = add i64 %237, 4
  %239 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %235, i64 noundef %238, i64 noundef %239)
  %240 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %240, ptr %15, align 4, !tbaa !9
  %241 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %241, ptr %16, align 4, !tbaa !9
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %15, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %243, i64 noundef %245, i32 noundef %246)
  %247 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %247, ptr %15, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %248 = load ptr, ptr %4, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 12
  %253 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %249, i64 noundef %252, i64 noundef %253)
  %254 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %254, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %255 = load ptr, ptr %4, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %15, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 20
  %260 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %256, i64 noundef %259, i32 noundef %260)
  br label %261

261:                                              ; preds = %214, %213, %123
  %262 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %262, ptr %15, align 4, !tbaa !9
  %263 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret i32 %263
}

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_llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x2A0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x3E0x2C0x20hermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x3E0x3A0x3AInsertIntoBucketImpl0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x28hermes0x3A0x3ASwitchImmInst0x2A0x20const0x260x2C0x20hermes0x3A0x3ASwitchImmInst0x2A0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

8:                                                ; preds = %3
  %9 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %.pre)
  switch i32 %9, label %11 [
    i32 -8, label %10
    i32 -4, label %10
  ]

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

11:                                               ; preds = %8
  %12 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %5)
  %13 = add i32 %7, -1
  %14 = lshr i32 %9, 4
  %15 = lshr i32 %9, 9
  %16 = xor i32 %14, %15
  %17 = and i32 %16, %13
  %18 = mul i32 %17, 24
  %19 = add i32 %12, %18
  %20 = zext i32 %19 to i64
  %21 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %20)
  %22 = icmp eq i32 %9, %21
  br i1 %22, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %11, %26
  %.0146 = phi i32 [ %29, %26 ], [ 0, %11 ]
  %.0145 = phi i32 [ %36, %26 ], [ %21, %11 ]
  %.0144 = phi i32 [ %31, %26 ], [ 1, %11 ]
  %.0143 = phi i32 [ %32, %26 ], [ %17, %11 ]
  %.0 = phi i32 [ %34, %26 ], [ %19, %11 ]
  %23 = icmp eq i32 %.0145, -4
  %.not153 = icmp eq i32 %.0146, 0
  br i1 %23, label %24, label %26

24:                                               ; preds = %.preheader
  %25 = select i1 %.not153, i32 %.0, i32 %.0146
  br label %._crit_edge

26:                                               ; preds = %.preheader
  %27 = icmp eq i32 %.0145, -8
  %28 = select i1 %27, i1 %.not153, i1 false
  %29 = select i1 %28, i32 %.0, i32 %.0146
  %30 = add i32 %.0143, %.0144
  %31 = add i32 %.0144, 1
  %32 = and i32 %30, %13
  %33 = mul i32 %32, 24
  %34 = add i32 %33, %12
  %35 = zext i32 %34 to i64
  %36 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %35)
  %.not152 = icmp eq i32 %9, %36
  br i1 %.not152, label %.loopexit, label %.preheader

._crit_edge:                                      ; preds = %3, %24
  %.0147 = phi i32 [ %25, %24 ], [ 0, %3 ]
  %37 = tail call i32 @w2c_hermes_llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x2A0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x3E0x2C0x20hermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x3E0x3A0x3AInsertIntoBucketImpl0x3Chermes0x3A0x3ASwitchImmInst0x2A0x3E0x28hermes0x3A0x3ASwitchImmInst0x2A0x20const0x260x2C0x20hermes0x3A0x3ASwitchImmInst0x2A0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ASwitchImmInst0x2A0x2C0x20hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3ASwitchImmInfo0x3E0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %2, i32 noundef %.0147) #4
  %38 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %.pre)
  %39 = zext i32 %37 to i64
  %40 = add nuw nsw i64 %39, 4
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %40, i64 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %39, i32 noundef %38)
  %41 = add nuw nsw i64 %39, 12
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %41, i64 noundef 0)
  %42 = add nuw nsw i64 %39, 20
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %42, i32 noundef 0)
  br label %.loopexit

.loopexit:                                        ; preds = %26, %11, %._crit_edge
  %.1 = phi i32 [ %37, %._crit_edge ], [ %19, %11 ], [ %34, %26 ]
  ret i32 %.1
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


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