; 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_load8_u(ptr noundef, i64 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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x2C0x20llvh0x3A0x3ADenseMapInfo0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x3E0x3E0x2C0x200x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x2C0x20llvh0x3A0x3ADenseMapInfo0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x3E0x3E0x3A0x3ALookupBucketFor0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x3E0x280x28anonymous0x20namespace0x290x3A0x3ACSEValue0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x3E0x20const0x2A0x260x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #3 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  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
  %22 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %22, ptr %17, align 4, !tbaa !9
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 6
  %25 = load i32, ptr %17, 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 %17, align 4, !tbaa !9
  %29 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %29, ptr %11, align 4, !tbaa !9
  %30 = load i32, ptr %17, align 4, !tbaa !9
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %250

32:                                               ; preds = %4
  %33 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %33, ptr %17, align 4, !tbaa !9
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %17, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = call i32 @i32_load(ptr noundef %35, i64 noundef %37)
  store i32 %38, ptr %17, align 4, !tbaa !9
  %39 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %39, ptr %9, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %40 = load i32, ptr %18, align 4, !tbaa !9
  %41 = load i32, ptr %17, align 4, !tbaa !9
  %42 = add i32 %41, %40
  store i32 %42, ptr %17, align 4, !tbaa !9
  %43 = load i32, ptr %17, align 4, !tbaa !9
  switch i32 %43, label %49 [
    i32 0, label %44
    i32 1, label %45
    i32 2, label %46
    i32 3, label %47
    i32 4, label %48
  ]

44:                                               ; preds = %32
  br label %50

45:                                               ; preds = %32
  br label %68

46:                                               ; preds = %32
  br label %68

47:                                               ; preds = %32
  br label %68

48:                                               ; preds = %32
  br label %50

49:                                               ; preds = %32
  br label %68

50:                                               ; preds = %48, %44
  store i32 0, ptr %17, align 4, !tbaa !9
  %51 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %51, ptr %6, align 4, !tbaa !9
  store i32 204136, ptr %18, align 4, !tbaa !9
  %52 = load i32, ptr %18, align 4, !tbaa !9
  %53 = load i32, ptr %17, align 4, !tbaa !9
  %54 = add i32 %53, %52
  store i32 %54, ptr %17, align 4, !tbaa !9
  %55 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %55, ptr %18, align 4, !tbaa !9
  store i32 81389, ptr %19, align 4, !tbaa !9
  %56 = load i32, ptr %19, align 4, !tbaa !9
  %57 = load i32, ptr %18, align 4, !tbaa !9
  %58 = add i32 %57, %56
  store i32 %58, ptr %18, align 4, !tbaa !9
  store i32 597, ptr %19, align 4, !tbaa !9
  %59 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %59, ptr %20, align 4, !tbaa !9
  store i32 48929, ptr %21, align 4, !tbaa !9
  %60 = load i32, ptr %21, align 4, !tbaa !9
  %61 = load i32, ptr %20, align 4, !tbaa !9
  %62 = add i32 %61, %60
  store i32 %62, ptr %20, align 4, !tbaa !9
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = load i32, ptr %18, align 4, !tbaa !9
  %66 = load i32, ptr %19, align 4, !tbaa !9
  %67 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

68:                                               ; preds = %49, %47, %46, %45
  %69 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %69, ptr %17, align 4, !tbaa !9
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %17, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = call i32 @i32_load(ptr noundef %71, i64 noundef %73)
  store i32 %74, ptr %17, align 4, !tbaa !9
  %75 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %75, ptr %14, align 4, !tbaa !9
  %76 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %76, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %77 = load i32, ptr %18, align 4, !tbaa !9
  %78 = load i32, ptr %17, align 4, !tbaa !9
  %79 = sub i32 %78, %77
  store i32 %79, ptr %17, align 4, !tbaa !9
  %80 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %80, ptr %15, align 4, !tbaa !9
  %81 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %81, ptr %17, align 4, !tbaa !9
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = load i32, ptr %17, align 4, !tbaa !9
  %84 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetHashCode0x280x290x20const(ptr noundef %82, i32 noundef %83)
  store i32 %84, ptr %17, align 4, !tbaa !9
  %85 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %85, ptr %6, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %86 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %86, ptr %12, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %235, %68
  %88 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %88, ptr %17, align 4, !tbaa !9
  %89 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %89, ptr %18, align 4, !tbaa !9
  %90 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %90, ptr %19, align 4, !tbaa !9
  %91 = load i32, ptr %19, align 4, !tbaa !9
  %92 = load i32, ptr %18, align 4, !tbaa !9
  %93 = and i32 %92, %91
  store i32 %93, ptr %18, align 4, !tbaa !9
  %94 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %94, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %19, align 4, !tbaa !9
  %95 = load i32, ptr %19, align 4, !tbaa !9
  %96 = and i32 %95, 31
  %97 = load i32, ptr %18, align 4, !tbaa !9
  %98 = shl i32 %97, %96
  store i32 %98, ptr %18, align 4, !tbaa !9
  %99 = load i32, ptr %18, align 4, !tbaa !9
  %100 = load i32, ptr %17, align 4, !tbaa !9
  %101 = add i32 %100, %99
  store i32 %101, ptr %17, align 4, !tbaa !9
  %102 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %102, ptr %6, align 4, !tbaa !9
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.w2c_hermes, ptr %103, i32 0, i32 6
  %105 = load i32, ptr %17, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = call i32 @i32_load(ptr noundef %104, i64 noundef %106)
  store i32 %107, ptr %17, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %108, ptr %9, align 4, !tbaa !9
  %109 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %109, ptr %17, align 4, !tbaa !9
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %17, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = call i32 @i32_load(ptr noundef %111, i64 noundef %113)
  store i32 %114, ptr %17, align 4, !tbaa !9
  %115 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %115, ptr %13, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %116 = load i32, ptr %18, align 4, !tbaa !9
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = add i32 %117, %116
  store i32 %118, ptr %17, align 4, !tbaa !9
  %119 = load i32, ptr %17, align 4, !tbaa !9
  switch i32 %119, label %125 [
    i32 0, label %120
    i32 1, label %121
    i32 2, label %122
    i32 3, label %123
    i32 4, label %124
  ]

120:                                              ; preds = %87
  br label %138

121:                                              ; preds = %87
  br label %126

122:                                              ; preds = %87
  br label %126

123:                                              ; preds = %87
  br label %126

124:                                              ; preds = %87
  br label %138

125:                                              ; preds = %87
  br label %126

126:                                              ; preds = %125, %123, %122, %121
  %127 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %127, ptr %17, align 4, !tbaa !9
  store i32 8, 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
  switch i32 %131, label %137 [
    i32 0, label %132
    i32 1, label %133
    i32 2, label %134
    i32 3, label %135
    i32 4, label %136
  ]

132:                                              ; preds = %126
  br label %138

133:                                              ; preds = %126
  br label %150

134:                                              ; preds = %126
  br label %150

135:                                              ; preds = %126
  br label %150

136:                                              ; preds = %126
  br label %138

137:                                              ; preds = %126
  br label %150

138:                                              ; preds = %136, %132, %124, %120
  store i32 1, ptr %17, align 4, !tbaa !9
  %139 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %139, ptr %11, align 4, !tbaa !9
  %140 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %140, ptr %17, align 4, !tbaa !9
  %141 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %141, ptr %18, align 4, !tbaa !9
  %142 = load i32, ptr %17, align 4, !tbaa !9
  %143 = load i32, ptr %18, align 4, !tbaa !9
  %144 = icmp ne i32 %142, %143
  %145 = zext i1 %144 to i32
  store i32 %145, ptr %17, align 4, !tbaa !9
  %146 = load i32, ptr %17, align 4, !tbaa !9
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %149

148:                                              ; preds = %138
  br label %191

149:                                              ; preds = %138
  br label %254

150:                                              ; preds = %137, %135, %134, %133
  %151 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %151, ptr %17, align 4, !tbaa !9
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %17, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = add i64 %155, 8
  %157 = call i32 @i32_load8_u(ptr noundef %153, i64 noundef %156)
  store i32 %157, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %158, ptr %18, align 4, !tbaa !9
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %18, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = add i64 %162, 8
  %164 = call i32 @i32_load8_u(ptr noundef %160, i64 noundef %163)
  store i32 %164, ptr %18, align 4, !tbaa !9
  %165 = load i32, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %18, align 4, !tbaa !9
  %167 = icmp ne i32 %165, %166
  %168 = zext i1 %167 to i32
  store i32 %168, ptr %17, align 4, !tbaa !9
  %169 = load i32, ptr %17, align 4, !tbaa !9
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %172

171:                                              ; preds = %150
  br label %191

172:                                              ; preds = %150
  store i32 1, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %173, ptr %11, align 4, !tbaa !9
  %174 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %174, ptr %17, align 4, !tbaa !9
  %175 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %175, ptr %18, align 4, !tbaa !9
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = load i32, ptr %18, align 4, !tbaa !9
  %179 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AisIdenticalTo0x28hermes0x3A0x3AInstruction0x20const0x2A0x290x20const(ptr noundef %176, i32 noundef %177, i32 noundef %178)
  store i32 %179, ptr %17, align 4, !tbaa !9
  %180 = load i32, ptr %17, align 4, !tbaa !9
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %182, label %183

182:                                              ; preds = %172
  br label %254

183:                                              ; preds = %172
  %184 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %184, ptr %17, 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 = call i32 @i32_load(ptr noundef %186, i64 noundef %188)
  store i32 %189, ptr %17, align 4, !tbaa !9
  %190 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %190, ptr %9, align 4, !tbaa !9
  br label %191

191:                                              ; preds = %183, %171, %148
  %192 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %192, ptr %17, align 4, !tbaa !9
  store i32 -4, ptr %18, align 4, !tbaa !9
  %193 = load i32, ptr %17, align 4, !tbaa !9
  %194 = load i32, ptr %18, align 4, !tbaa !9
  %195 = icmp eq i32 %193, %194
  %196 = zext i1 %195 to i32
  store i32 %196, ptr %17, align 4, !tbaa !9
  %197 = load i32, ptr %17, align 4, !tbaa !9
  %198 = icmp ne i32 %197, 0
  br i1 %198, label %199, label %211

199:                                              ; preds = %191
  %200 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %200, ptr %17, align 4, !tbaa !9
  %201 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %201, ptr %18, align 4, !tbaa !9
  %202 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %202, ptr %19, align 4, !tbaa !9
  %203 = load i32, ptr %19, align 4, !tbaa !9
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %205, label %207

205:                                              ; preds = %199
  %206 = load i32, ptr %17, align 4, !tbaa !9
  br label %209

207:                                              ; preds = %199
  %208 = load i32, ptr %18, align 4, !tbaa !9
  br label %209

209:                                              ; preds = %207, %205
  %210 = phi i32 [ %206, %205 ], [ %208, %207 ]
  store i32 %210, ptr %17, align 4, !tbaa !9
  br label %249

211:                                              ; preds = %191
  %212 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %212, ptr %17, align 4, !tbaa !9
  %213 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %213, ptr %18, align 4, !tbaa !9
  %214 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %214, ptr %19, align 4, !tbaa !9
  %215 = load i32, ptr %19, align 4, !tbaa !9
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %219

217:                                              ; preds = %211
  %218 = load i32, ptr %17, align 4, !tbaa !9
  br label %221

219:                                              ; preds = %211
  %220 = load i32, ptr %18, align 4, !tbaa !9
  br label %221

221:                                              ; preds = %219, %217
  %222 = phi i32 [ %218, %217 ], [ %220, %219 ]
  store i32 %222, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %223, ptr %18, align 4, !tbaa !9
  %224 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %224, ptr %19, align 4, !tbaa !9
  store i32 -8, ptr %20, align 4, !tbaa !9
  %225 = load i32, ptr %19, align 4, !tbaa !9
  %226 = load i32, ptr %20, align 4, !tbaa !9
  %227 = icmp eq i32 %225, %226
  %228 = zext i1 %227 to i32
  store i32 %228, ptr %19, align 4, !tbaa !9
  %229 = load i32, ptr %19, align 4, !tbaa !9
  %230 = icmp ne i32 %229, 0
  br i1 %230, label %231, label %233

231:                                              ; preds = %221
  %232 = load i32, ptr %17, align 4, !tbaa !9
  br label %235

233:                                              ; preds = %221
  %234 = load i32, ptr %18, align 4, !tbaa !9
  br label %235

235:                                              ; preds = %233, %231
  %236 = phi i32 [ %232, %231 ], [ %234, %233 ]
  store i32 %236, ptr %17, align 4, !tbaa !9
  %237 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %237, ptr %10, align 4, !tbaa !9
  %238 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %238, ptr %17, align 4, !tbaa !9
  %239 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %239, ptr %18, align 4, !tbaa !9
  %240 = load i32, ptr %18, align 4, !tbaa !9
  %241 = load i32, ptr %17, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %17, align 4, !tbaa !9
  %243 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %243, ptr %6, align 4, !tbaa !9
  %244 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %244, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %245 = load i32, ptr %18, align 4, !tbaa !9
  %246 = load i32, ptr %17, align 4, !tbaa !9
  %247 = add i32 %246, %245
  store i32 %247, ptr %17, align 4, !tbaa !9
  %248 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %248, ptr %12, align 4, !tbaa !9
  br label %87

249:                                              ; preds = %209
  br label %251

250:                                              ; preds = %4
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %251

251:                                              ; preds = %250, %249
  %252 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %252, ptr %6, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %253 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %253, ptr %11, align 4, !tbaa !9
  br label %254

254:                                              ; preds = %251, %182, %149
  %255 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %255, ptr %17, align 4, !tbaa !9
  %256 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %256, ptr %18, align 4, !tbaa !9
  %257 = load ptr, ptr %5, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.w2c_hermes, ptr %257, i32 0, i32 6
  %259 = load i32, ptr %17, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %258, i64 noundef %260, i32 noundef %261)
  %262 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %262, ptr %17, align 4, !tbaa !9
  %263 = load i32, ptr %17, align 4, !tbaa !9
  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 i32 %263
}

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetHashCode0x280x290x20const(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_load8_u(ptr noundef, i64 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

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

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

9:                                                ; preds = %4
  %10 = zext i32 %2 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %10)
  switch i32 %11, label %13 [
    i32 -8, label %12
    i32 -4, label %12
  ]

12:                                               ; preds = %9, %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) #4
  unreachable

13:                                               ; preds = %9
  %14 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %6)
  %15 = add i32 %8, -1
  %16 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetHashCode0x280x290x20const(ptr noundef %0, i32 noundef %11) #5
  br label %17

17:                                               ; preds = %.thread, %13
  %.0134 = phi i32 [ 0, %13 ], [ %43, %.thread ]
  %.0132 = phi i32 [ 1, %13 ], [ %45, %.thread ]
  %.0 = phi i32 [ %16, %13 ], [ %44, %.thread ]
  %18 = and i32 %.0, %15
  %19 = shl i32 %18, 3
  %20 = add i32 %19, %14
  %21 = zext i32 %20 to i64
  %22 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %21)
  %23 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %10)
  switch i32 %23, label %24 [
    i32 -8, label %25
    i32 -4, label %25
  ]

24:                                               ; preds = %17
  switch i32 %22, label %26 [
    i32 -8, label %25
    i32 -4, label %25
  ]

25:                                               ; preds = %24, %17, %24, %17
  %.not138 = icmp eq i32 %22, %23
  br i1 %.not138, label %.loopexit, label %37

26:                                               ; preds = %24
  %27 = zext i32 %23 to i64
  %28 = add nuw nsw i64 %27, 8
  %29 = tail call i32 @i32_load8_u(ptr noundef nonnull %5, i64 noundef %28)
  %30 = zext i32 %22 to i64
  %31 = add nuw nsw i64 %30, 8
  %32 = tail call i32 @i32_load8_u(ptr noundef nonnull %5, i64 noundef %31)
  %.not139 = icmp eq i32 %29, %32
  br i1 %.not139, label %33, label %.thread

33:                                               ; preds = %26
  %34 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AisIdenticalTo0x28hermes0x3A0x3AInstruction0x20const0x2A0x290x20const(ptr noundef %0, i32 noundef %23, i32 noundef %22) #5
  %.not140 = icmp eq i32 %34, 0
  br i1 %.not140, label %35, label %.loopexit

35:                                               ; preds = %33
  %36 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %21)
  br label %37

37:                                               ; preds = %25, %35
  %.0135 = phi i32 [ %36, %35 ], [ %22, %25 ]
  %38 = icmp eq i32 %.0135, -4
  br i1 %38, label %39, label %.thread

39:                                               ; preds = %37
  %.not142 = icmp eq i32 %.0134, 0
  %40 = select i1 %.not142, i32 %20, i32 %.0134
  br label %.loopexit

.thread:                                          ; preds = %26, %37
  %.0135144 = phi i32 [ %.0135, %37 ], [ %22, %26 ]
  %.not141 = icmp eq i32 %.0134, 0
  %41 = icmp eq i32 %.0135144, -8
  %42 = select i1 %41, i1 %.not141, i1 false
  %43 = select i1 %42, i32 %20, i32 %.0134
  %44 = add i32 %18, %.0132
  %45 = add i32 %.0132, 1
  br label %17

.loopexit:                                        ; preds = %33, %25, %39, %4
  %.0133 = phi i32 [ 0, %4 ], [ 0, %39 ], [ 1, %25 ], [ 1, %33 ]
  %.1 = phi i32 [ 0, %4 ], [ %40, %39 ], [ %20, %25 ], [ %20, %33 ]
  %46 = zext i32 %3 to i64
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %46, i32 noundef %.1)
  ret i32 %.0133
}

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetHashCode0x280x290x20const(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 = { noreturn nounwind }
attributes #5 = { 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