; 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_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x3E0x3E0x2C0x20hermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x3E0x3E0x3A0x3ALookupBucketFor0x3Chermes0x3A0x3ARegister0x3E0x28hermes0x3A0x3ARegister0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x3E0x20const0x2A0x260x290x20const(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
  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
  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
  %19 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %19, ptr %14, align 4, !tbaa !9
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.w2c_hermes, ptr %20, i32 0, i32 6
  %22 = load i32, ptr %14, align 4, !tbaa !9
  %23 = zext i32 %22 to i64
  %24 = add i64 %23, 12
  %25 = call i32 @i32_load(ptr noundef %21, i64 noundef %24)
  store i32 %25, ptr %14, align 4, !tbaa !9
  %26 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %26, ptr %10, align 4, !tbaa !9
  %27 = load i32, ptr %14, align 4, !tbaa !9
  %28 = icmp ne i32 %27, 0
  %29 = xor i1 %28, true
  %30 = zext i1 %29 to i32
  store i32 %30, ptr %14, align 4, !tbaa !9
  %31 = load i32, ptr %14, align 4, !tbaa !9
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %40

33:                                               ; preds = %4
  %34 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %34, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %14, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %36, i64 noundef %38, i32 noundef %39)
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %269

40:                                               ; preds = %4
  %41 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %41, ptr %14, 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 %14, 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 %14, align 4, !tbaa !9
  %47 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %47, ptr %12, align 4, !tbaa !9
  %48 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %48, ptr %14, align 4, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %14, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = call i32 @i32_load(ptr noundef %50, i64 noundef %52)
  store i32 %53, ptr %14, align 4, !tbaa !9
  store i32 -1, ptr %15, align 4, !tbaa !9
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = load i32, ptr %14, align 4, !tbaa !9
  %56 = load i32, ptr %15, align 4, !tbaa !9
  %57 = call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %54, i32 noundef %55, i32 noundef %56)
  store i32 %57, ptr %14, align 4, !tbaa !9
  %58 = load i32, ptr %14, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %40
  br label %251

61:                                               ; preds = %40
  %62 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %62, ptr %14, align 4, !tbaa !9
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.w2c_hermes, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %14, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = call i32 @i32_load(ptr noundef %64, i64 noundef %66)
  store i32 %67, ptr %14, align 4, !tbaa !9
  store i32 -2, ptr %15, align 4, !tbaa !9
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = load i32, ptr %14, align 4, !tbaa !9
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %68, i32 noundef %69, i32 noundef %70)
  store i32 %71, ptr %14, align 4, !tbaa !9
  %72 = load i32, ptr %14, align 4, !tbaa !9
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %61
  br label %251

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

123:                                              ; preds = %75
  %124 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %124, ptr %14, align 4, !tbaa !9
  %125 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %125, ptr %15, align 4, !tbaa !9
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %14, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %127, i64 noundef %129, i32 noundef %130)
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %269

131:                                              ; preds = %75
  br label %132

132:                                              ; preds = %242, %131
  %133 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %133, ptr %14, align 4, !tbaa !9
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %14, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = call i32 @i32_load(ptr noundef %135, i64 noundef %137)
  store i32 %138, ptr %14, align 4, !tbaa !9
  store i32 -1, ptr %15, align 4, !tbaa !9
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = load i32, ptr %14, align 4, !tbaa !9
  %141 = load i32, ptr %15, align 4, !tbaa !9
  %142 = call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %139, i32 noundef %140, i32 noundef %141)
  store i32 %142, ptr %14, align 4, !tbaa !9
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %163

145:                                              ; preds = %132
  %146 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %146, ptr %14, align 4, !tbaa !9
  %147 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %147, ptr %15, align 4, !tbaa !9
  %148 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %148, ptr %16, align 4, !tbaa !9
  %149 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %149, ptr %17, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %154

152:                                              ; preds = %145
  %153 = load i32, ptr %15, align 4, !tbaa !9
  br label %156

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

156:                                              ; preds = %154, %152
  %157 = phi i32 [ %153, %152 ], [ %155, %154 ]
  store i32 %157, ptr %15, align 4, !tbaa !9
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %159, i64 noundef %161, i32 noundef %162)
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %269

163:                                              ; preds = %132
  %164 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %164, ptr %14, align 4, !tbaa !9
  %165 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %165, ptr %15, align 4, !tbaa !9
  %166 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %166, ptr %16, align 4, !tbaa !9
  %167 = load i32, ptr %16, align 4, !tbaa !9
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %171

169:                                              ; preds = %163
  %170 = load i32, ptr %14, align 4, !tbaa !9
  br label %173

171:                                              ; preds = %163
  %172 = load i32, ptr %15, align 4, !tbaa !9
  br label %173

173:                                              ; preds = %171, %169
  %174 = phi i32 [ %170, %169 ], [ %172, %171 ]
  store i32 %174, ptr %14, align 4, !tbaa !9
  %175 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %175, ptr %15, align 4, !tbaa !9
  %176 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %176, ptr %16, align 4, !tbaa !9
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.w2c_hermes, ptr %177, i32 0, i32 6
  %179 = load i32, ptr %16, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = call i32 @i32_load(ptr noundef %178, i64 noundef %180)
  store i32 %181, ptr %16, align 4, !tbaa !9
  store i32 -2, ptr %17, align 4, !tbaa !9
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = load i32, ptr %16, align 4, !tbaa !9
  %184 = load i32, ptr %17, align 4, !tbaa !9
  %185 = call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %182, i32 noundef %183, i32 noundef %184)
  store i32 %185, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %16, align 4, !tbaa !9
  %187 = icmp ne i32 %186, 0
  br i1 %187, label %188, label %190

188:                                              ; preds = %173
  %189 = load i32, ptr %14, align 4, !tbaa !9
  br label %192

190:                                              ; preds = %173
  %191 = load i32, ptr %15, align 4, !tbaa !9
  br label %192

192:                                              ; preds = %190, %188
  %193 = phi i32 [ %189, %188 ], [ %191, %190 ]
  store i32 %193, ptr %14, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %194, ptr %9, align 4, !tbaa !9
  %195 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %195, ptr %14, align 4, !tbaa !9
  %196 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %196, ptr %15, align 4, !tbaa !9
  %197 = load i32, ptr %15, align 4, !tbaa !9
  %198 = load i32, ptr %14, align 4, !tbaa !9
  %199 = add i32 %198, %197
  store i32 %199, ptr %14, align 4, !tbaa !9
  %200 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %200, ptr %6, align 4, !tbaa !9
  %201 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %201, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %15, align 4, !tbaa !9
  %203 = load i32, ptr %14, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %14, align 4, !tbaa !9
  %205 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %205, ptr %11, align 4, !tbaa !9
  %206 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %206, ptr %14, align 4, !tbaa !9
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.w2c_hermes, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %14, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = call i32 @i32_load(ptr noundef %208, i64 noundef %210)
  store i32 %211, ptr %14, align 4, !tbaa !9
  %212 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %212, ptr %15, align 4, !tbaa !9
  %213 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %213, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %214, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %17, align 4, !tbaa !9
  %216 = load i32, ptr %16, align 4, !tbaa !9
  %217 = and i32 %216, %215
  store i32 %217, ptr %16, align 4, !tbaa !9
  %218 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %218, ptr %10, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %219 = load i32, ptr %17, align 4, !tbaa !9
  %220 = and i32 %219, 31
  %221 = load i32, ptr %16, align 4, !tbaa !9
  %222 = shl i32 %221, %220
  store i32 %222, ptr %16, align 4, !tbaa !9
  %223 = load i32, ptr %16, align 4, !tbaa !9
  %224 = load i32, ptr %15, align 4, !tbaa !9
  %225 = add i32 %224, %223
  store i32 %225, ptr %15, align 4, !tbaa !9
  %226 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %226, ptr %6, align 4, !tbaa !9
  %227 = load ptr, ptr %5, 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 ptr, ptr %5, align 8, !tbaa !5
  %233 = load i32, ptr %14, align 4, !tbaa !9
  %234 = load i32, ptr %15, align 4, !tbaa !9
  %235 = call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %232, i32 noundef %233, i32 noundef %234)
  store i32 %235, ptr %14, align 4, !tbaa !9
  %236 = load i32, ptr %14, align 4, !tbaa !9
  %237 = icmp ne i32 %236, 0
  %238 = xor i1 %237, true
  %239 = zext i1 %238 to i32
  store i32 %239, ptr %14, align 4, !tbaa !9
  %240 = load i32, ptr %14, align 4, !tbaa !9
  %241 = icmp ne i32 %240, 0
  br i1 %241, label %242, label %243

242:                                              ; preds = %192
  br label %132

243:                                              ; preds = %192
  %244 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %244, ptr %14, align 4, !tbaa !9
  %245 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %245, ptr %15, align 4, !tbaa !9
  %246 = load ptr, ptr %5, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 6
  %248 = load i32, ptr %14, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %247, i64 noundef %249, i32 noundef %250)
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %269

251:                                              ; preds = %74, %60
  store i32 0, ptr %14, align 4, !tbaa !9
  %252 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %252, ptr %7, align 4, !tbaa !9
  store i32 204136, ptr %15, align 4, !tbaa !9
  %253 = load i32, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %14, align 4, !tbaa !9
  %255 = add i32 %254, %253
  store i32 %255, ptr %14, align 4, !tbaa !9
  %256 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %256, ptr %15, align 4, !tbaa !9
  store i32 81389, ptr %16, align 4, !tbaa !9
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %15, align 4, !tbaa !9
  %259 = add i32 %258, %257
  store i32 %259, ptr %15, align 4, !tbaa !9
  store i32 597, ptr %16, align 4, !tbaa !9
  %260 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %260, ptr %17, align 4, !tbaa !9
  store i32 48929, 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 ptr, ptr %5, align 8, !tbaa !5
  %265 = load i32, ptr %14, align 4, !tbaa !9
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = load i32, ptr %16, align 4, !tbaa !9
  %268 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %264, i32 noundef %265, i32 noundef %266, i32 noundef %267, i32 noundef %268)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

269:                                              ; preds = %243, %156, %123, %33
  %270 = load i32, ptr %14, align 4, !tbaa !9
  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 i32 %270
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { "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}


; 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_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x3E0x3E0x2C0x20hermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x3E0x3E0x3A0x3ALookupBucketFor0x3Chermes0x3A0x3ARegister0x3E0x28hermes0x3A0x3ARegister0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3ARegister0x2C0x20unsigned0x20int0x3E0x20const0x2A0x260x290x20const(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 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %6)
  %11 = zext i32 %2 to i64
  %12 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %11)
  %13 = tail call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %0, i32 noundef %12, i32 noundef -1) #4
  %.not150 = icmp eq i32 %13, 0
  br i1 %.not150, label %14, label %45

14:                                               ; preds = %9
  %15 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %11)
  %16 = tail call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %0, i32 noundef %15, i32 noundef -2) #4
  %.not151 = icmp eq i32 %16, 0
  br i1 %.not151, label %17, label %45

17:                                               ; preds = %14
  %18 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %11)
  %19 = tail call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AgetHashValue0x28hermes0x3A0x3ARegister0x29(ptr noundef %0, i32 noundef %18) #4
  %20 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %11)
  %21 = add i32 %8, -1
  %22 = and i32 %19, %21
  %23 = shl i32 %22, 3
  %24 = add i32 %23, %10
  %25 = zext i32 %24 to i64
  %26 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %25)
  %27 = tail call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %0, i32 noundef %20, i32 noundef %26) #4
  %.not152 = icmp eq i32 %27, 0
  br i1 %.not152, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %17, %32
  %.0149 = phi i32 [ %41, %32 ], [ %24, %17 ]
  %.0148 = phi i32 [ %35, %32 ], [ 0, %17 ]
  %.0147 = phi i32 [ %39, %32 ], [ %22, %17 ]
  %.0146 = phi i32 [ %37, %32 ], [ 1, %17 ]
  %28 = zext i32 %.0149 to i64
  %29 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %28)
  %30 = tail call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %0, i32 noundef %29, i32 noundef -1) #4
  %.not153 = icmp eq i32 %30, 0
  %.not154 = icmp eq i32 %.0148, 0
  %31 = select i1 %.not154, i32 %.0149, i32 %.0148
  br i1 %.not153, label %32, label %.loopexit

32:                                               ; preds = %.preheader
  %33 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %28)
  %34 = tail call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %0, i32 noundef %33, i32 noundef -2) #4
  %.not155 = icmp eq i32 %34, 0
  %35 = select i1 %.not155, i32 %.0148, i32 %31
  %36 = add i32 %.0146, %.0147
  %37 = add i32 %.0146, 1
  %38 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %11)
  %39 = and i32 %36, %21
  %40 = shl i32 %39, 3
  %41 = add i32 %40, %10
  %42 = zext i32 %41 to i64
  %43 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %42)
  %44 = tail call i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef %0, i32 noundef %38, i32 noundef %43) #4
  %.not156 = icmp eq i32 %44, 0
  br i1 %.not156, label %.preheader, label %.loopexit

45:                                               ; preds = %14, %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) #5
  unreachable

.loopexit:                                        ; preds = %32, %.preheader, %17, %4
  %.lcssa.sink = phi i32 [ 0, %4 ], [ %24, %17 ], [ %41, %32 ], [ %31, %.preheader ]
  %.0 = phi i32 [ 0, %4 ], [ 1, %17 ], [ 1, %32 ], [ 0, %.preheader ]
  %46 = zext i32 %3 to i64
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %46, i32 noundef %.lcssa.sink)
  ret i32 %.0
}

declare i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AisEqual0x28hermes0x3A0x3ARegister0x2C0x20hermes0x3A0x3ARegister0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3ARegister0x3E0x3A0x3AgetHashValue0x28hermes0x3A0x3ARegister0x29(ptr noundef, i32 noundef) local_unnamed_addr #3

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