; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x2C0x20llvh0x3A0x3ADenseMapInfo0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x3E0x3E0x2C0x200x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x2C0x20llvh0x3A0x3ADenseMapInfo0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x3E0x3E0x3A0x3ALookupBucketFor0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x3E0x280x28anonymous0x20namespace0x290x3A0x3ACSEValue0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20llvh0x3A0x3AScopedHashTableVal0x3C0x28anonymous0x20namespace0x290x3A0x3ACSEValue0x2C0x20hermes0x3A0x3AValue0x2A0x3E0x2A0x3E0x20const0x2A0x260x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 {
  %6 = alloca ptr, align 8
  %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 %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %22 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %22, ptr %18, align 4, !tbaa !9
  %23 = load i32, ptr %18, align 4, !tbaa !9
  %24 = icmp ne i32 %23, 0
  br i1 %24, label %25, label %205

25:                                               ; preds = %5
  %26 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %26, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %27 = load i32, ptr %19, align 4, !tbaa !9
  %28 = load i32, ptr %18, align 4, !tbaa !9
  %29 = sub i32 %28, %27
  store i32 %29, ptr %18, align 4, !tbaa !9
  %30 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %30, ptr %16, align 4, !tbaa !9
  %31 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %31, ptr %18, align 4, !tbaa !9
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.w2c_hermes, ptr %32, i32 0, i32 6
  %34 = load i32, ptr %18, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  %36 = call i32 @i32_load(ptr noundef %33, i64 noundef %35)
  store i32 %36, ptr %18, align 4, !tbaa !9
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = load i32, ptr %18, align 4, !tbaa !9
  %39 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetHashCode0x280x290x20const(ptr noundef %37, i32 noundef %38)
  store i32 %39, ptr %18, align 4, !tbaa !9
  %40 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %40, ptr %8, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %41 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %41, ptr %13, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %190, %25
  %43 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %43, ptr %18, align 4, !tbaa !9
  %44 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %44, ptr %19, align 4, !tbaa !9
  %45 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %45, ptr %20, align 4, !tbaa !9
  %46 = load i32, ptr %20, align 4, !tbaa !9
  %47 = load i32, ptr %19, align 4, !tbaa !9
  %48 = and i32 %47, %46
  store i32 %48, ptr %19, align 4, !tbaa !9
  %49 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %49, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %20, align 4, !tbaa !9
  %50 = load i32, ptr %20, align 4, !tbaa !9
  %51 = and i32 %50, 31
  %52 = load i32, ptr %19, align 4, !tbaa !9
  %53 = shl i32 %52, %51
  store i32 %53, ptr %19, align 4, !tbaa !9
  %54 = load i32, ptr %19, align 4, !tbaa !9
  %55 = load i32, ptr %18, align 4, !tbaa !9
  %56 = add i32 %55, %54
  store i32 %56, ptr %18, align 4, !tbaa !9
  %57 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %57, ptr %8, align 4, !tbaa !9
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %18, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = call i32 @i32_load(ptr noundef %59, i64 noundef %61)
  store i32 %62, ptr %18, align 4, !tbaa !9
  %63 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %63, ptr %11, align 4, !tbaa !9
  %64 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %64, ptr %18, align 4, !tbaa !9
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.w2c_hermes, ptr %65, i32 0, i32 6
  %67 = load i32, ptr %18, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = call i32 @i32_load(ptr noundef %66, i64 noundef %68)
  store i32 %69, ptr %18, align 4, !tbaa !9
  %70 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %70, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %71 = load i32, ptr %19, align 4, !tbaa !9
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = add i32 %72, %71
  store i32 %73, ptr %18, align 4, !tbaa !9
  %74 = load i32, ptr %18, align 4, !tbaa !9
  switch i32 %74, label %80 [
    i32 0, label %75
    i32 1, label %76
    i32 2, label %77
    i32 3, label %78
    i32 4, label %79
  ]

75:                                               ; preds = %42
  br label %93

76:                                               ; preds = %42
  br label %81

77:                                               ; preds = %42
  br label %81

78:                                               ; preds = %42
  br label %81

79:                                               ; preds = %42
  br label %93

80:                                               ; preds = %42
  br label %81

81:                                               ; preds = %80, %78, %77, %76
  %82 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %82, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %83 = load i32, ptr %19, align 4, !tbaa !9
  %84 = load i32, ptr %18, align 4, !tbaa !9
  %85 = add i32 %84, %83
  store i32 %85, ptr %18, align 4, !tbaa !9
  %86 = load i32, ptr %18, align 4, !tbaa !9
  switch i32 %86, label %92 [
    i32 0, label %87
    i32 1, label %88
    i32 2, label %89
    i32 3, label %90
    i32 4, label %91
  ]

87:                                               ; preds = %81
  br label %93

88:                                               ; preds = %81
  br label %105

89:                                               ; preds = %81
  br label %105

90:                                               ; preds = %81
  br label %105

91:                                               ; preds = %81
  br label %93

92:                                               ; preds = %81
  br label %105

93:                                               ; preds = %91, %87, %79, %75
  store i32 1, ptr %18, align 4, !tbaa !9
  %94 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %94, ptr %15, align 4, !tbaa !9
  %95 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %95, ptr %18, align 4, !tbaa !9
  %96 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %96, ptr %19, align 4, !tbaa !9
  %97 = load i32, ptr %18, align 4, !tbaa !9
  %98 = load i32, ptr %19, align 4, !tbaa !9
  %99 = icmp ne i32 %97, %98
  %100 = zext i1 %99 to i32
  store i32 %100, ptr %18, align 4, !tbaa !9
  %101 = load i32, ptr %18, align 4, !tbaa !9
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %104

103:                                              ; preds = %93
  br label %146

104:                                              ; preds = %93
  br label %209

105:                                              ; preds = %92, %90, %89, %88
  %106 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %106, ptr %18, align 4, !tbaa !9
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.w2c_hermes, ptr %107, i32 0, i32 6
  %109 = load i32, ptr %18, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = add i64 %110, 8
  %112 = call i32 @i32_load8_u(ptr noundef %108, i64 noundef %111)
  store i32 %112, ptr %18, align 4, !tbaa !9
  %113 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %113, ptr %19, align 4, !tbaa !9
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.w2c_hermes, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %19, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = add i64 %117, 8
  %119 = call i32 @i32_load8_u(ptr noundef %115, i64 noundef %118)
  store i32 %119, ptr %19, align 4, !tbaa !9
  %120 = load i32, ptr %18, align 4, !tbaa !9
  %121 = load i32, ptr %19, align 4, !tbaa !9
  %122 = icmp ne i32 %120, %121
  %123 = zext i1 %122 to i32
  store i32 %123, ptr %18, align 4, !tbaa !9
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %105
  br label %146

127:                                              ; preds = %105
  store i32 1, ptr %18, align 4, !tbaa !9
  %128 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %128, ptr %15, align 4, !tbaa !9
  %129 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %129, ptr %18, align 4, !tbaa !9
  %130 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %130, ptr %19, align 4, !tbaa !9
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = load i32, ptr %18, align 4, !tbaa !9
  %133 = load i32, ptr %19, align 4, !tbaa !9
  %134 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AisIdenticalTo0x28hermes0x3A0x3AInstruction0x20const0x2A0x290x20const(ptr noundef %131, i32 noundef %132, i32 noundef %133)
  store i32 %134, ptr %18, align 4, !tbaa !9
  %135 = load i32, ptr %18, align 4, !tbaa !9
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %138

137:                                              ; preds = %127
  br label %209

138:                                              ; preds = %127
  %139 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %139, ptr %18, align 4, !tbaa !9
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %18, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = call i32 @i32_load(ptr noundef %141, i64 noundef %143)
  store i32 %144, ptr %18, align 4, !tbaa !9
  %145 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %145, ptr %11, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %138, %126, %103
  %147 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %147, ptr %18, align 4, !tbaa !9
  store i32 -4, ptr %19, align 4, !tbaa !9
  %148 = load i32, ptr %18, align 4, !tbaa !9
  %149 = load i32, ptr %19, align 4, !tbaa !9
  %150 = icmp eq i32 %148, %149
  %151 = zext i1 %150 to i32
  store i32 %151, ptr %18, align 4, !tbaa !9
  %152 = load i32, ptr %18, align 4, !tbaa !9
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %166

154:                                              ; preds = %146
  %155 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %155, ptr %18, align 4, !tbaa !9
  %156 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %156, ptr %19, align 4, !tbaa !9
  %157 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %157, ptr %20, align 4, !tbaa !9
  %158 = load i32, ptr %20, align 4, !tbaa !9
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %162

160:                                              ; preds = %154
  %161 = load i32, ptr %18, align 4, !tbaa !9
  br label %164

162:                                              ; preds = %154
  %163 = load i32, ptr %19, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %162, %160
  %165 = phi i32 [ %161, %160 ], [ %163, %162 ]
  store i32 %165, ptr %18, align 4, !tbaa !9
  br label %204

166:                                              ; preds = %146
  %167 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %167, ptr %18, align 4, !tbaa !9
  %168 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %168, ptr %19, align 4, !tbaa !9
  %169 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %169, ptr %20, align 4, !tbaa !9
  %170 = load i32, ptr %20, align 4, !tbaa !9
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %174

172:                                              ; preds = %166
  %173 = load i32, ptr %18, align 4, !tbaa !9
  br label %176

174:                                              ; preds = %166
  %175 = load i32, ptr %19, align 4, !tbaa !9
  br label %176

176:                                              ; preds = %174, %172
  %177 = phi i32 [ %173, %172 ], [ %175, %174 ]
  store i32 %177, ptr %18, align 4, !tbaa !9
  %178 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %178, ptr %19, align 4, !tbaa !9
  %179 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %179, ptr %20, align 4, !tbaa !9
  store i32 -8, ptr %21, align 4, !tbaa !9
  %180 = load i32, ptr %20, align 4, !tbaa !9
  %181 = load i32, ptr %21, align 4, !tbaa !9
  %182 = icmp eq i32 %180, %181
  %183 = zext i1 %182 to i32
  store i32 %183, ptr %20, align 4, !tbaa !9
  %184 = load i32, ptr %20, align 4, !tbaa !9
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %188

186:                                              ; preds = %176
  %187 = load i32, ptr %18, align 4, !tbaa !9
  br label %190

188:                                              ; preds = %176
  %189 = load i32, ptr %19, align 4, !tbaa !9
  br label %190

190:                                              ; preds = %188, %186
  %191 = phi i32 [ %187, %186 ], [ %189, %188 ]
  store i32 %191, ptr %18, align 4, !tbaa !9
  %192 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %192, ptr %12, align 4, !tbaa !9
  %193 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %193, ptr %18, align 4, !tbaa !9
  %194 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %194, ptr %19, align 4, !tbaa !9
  %195 = load i32, ptr %19, align 4, !tbaa !9
  %196 = load i32, ptr %18, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %18, align 4, !tbaa !9
  %198 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %198, ptr %8, align 4, !tbaa !9
  %199 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %199, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %200 = load i32, ptr %19, align 4, !tbaa !9
  %201 = load i32, ptr %18, align 4, !tbaa !9
  %202 = add i32 %201, %200
  store i32 %202, ptr %18, align 4, !tbaa !9
  %203 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %203, ptr %13, align 4, !tbaa !9
  br label %42

204:                                              ; preds = %164
  br label %206

205:                                              ; preds = %5
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %206

206:                                              ; preds = %205, %204
  %207 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %207, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %208 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %208, ptr %15, align 4, !tbaa !9
  br label %209

209:                                              ; preds = %206, %137, %104
  %210 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %210, ptr %18, align 4, !tbaa !9
  %211 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %211, ptr %19, align 4, !tbaa !9
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.w2c_hermes, ptr %212, i32 0, i32 6
  %214 = load i32, ptr %18, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %213, i64 noundef %215, i32 noundef %216)
  %217 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %217, ptr %18, align 4, !tbaa !9
  %218 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret i32 %218
}

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetHashCode0x280x290x20const(ptr noundef, i32 noundef) #2

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

!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: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; 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_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #0

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

; 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, i32 noundef %4) local_unnamed_addr #2 {
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %.loopexit, label %6

6:                                                ; preds = %5
  %7 = add i32 %2, -1
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %9)
  %11 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetHashCode0x280x290x20const(ptr noundef %0, i32 noundef %10) #3
  br label %12

12:                                               ; preds = %.thread, %6
  %.0108 = phi i32 [ 0, %6 ], [ %38, %.thread ]
  %.0107 = phi i32 [ 1, %6 ], [ %40, %.thread ]
  %.0 = phi i32 [ %11, %6 ], [ %39, %.thread ]
  %13 = and i32 %.0, %7
  %14 = shl i32 %13, 3
  %15 = add i32 %14, %1
  %16 = zext i32 %15 to i64
  %17 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %16)
  %18 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %9)
  switch i32 %18, label %19 [
    i32 -8, label %20
    i32 -4, label %20
  ]

19:                                               ; preds = %12
  switch i32 %17, label %21 [
    i32 -8, label %20
    i32 -4, label %20
  ]

20:                                               ; preds = %19, %12, %19, %12
  %.not112 = icmp eq i32 %17, %18
  br i1 %.not112, label %.loopexit, label %32

21:                                               ; preds = %19
  %22 = zext i32 %18 to i64
  %23 = add nuw nsw i64 %22, 8
  %24 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %23)
  %25 = zext i32 %17 to i64
  %26 = add nuw nsw i64 %25, 8
  %27 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %26)
  %.not113 = icmp eq i32 %24, %27
  br i1 %.not113, label %28, label %.thread

28:                                               ; preds = %21
  %29 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AisIdenticalTo0x28hermes0x3A0x3AInstruction0x20const0x2A0x290x20const(ptr noundef %0, i32 noundef %18, i32 noundef %17) #3
  %.not114 = icmp eq i32 %29, 0
  br i1 %.not114, label %30, label %.loopexit

30:                                               ; preds = %28
  %31 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %16)
  br label %32

32:                                               ; preds = %20, %30
  %.0109 = phi i32 [ %31, %30 ], [ %17, %20 ]
  %33 = icmp eq i32 %.0109, -4
  br i1 %33, label %34, label %.thread

34:                                               ; preds = %32
  %.not116 = icmp eq i32 %.0108, 0
  %35 = select i1 %.not116, i32 %15, i32 %.0108
  br label %.loopexit

.thread:                                          ; preds = %21, %32
  %.0109118 = phi i32 [ %.0109, %32 ], [ %17, %21 ]
  %.not115 = icmp eq i32 %.0108, 0
  %36 = icmp eq i32 %.0109118, -8
  %37 = select i1 %36, i1 %.not115, i1 false
  %38 = select i1 %37, i32 %15, i32 %.0108
  %39 = add i32 %13, %.0107
  %40 = add i32 %.0107, 1
  br label %12

.loopexit:                                        ; preds = %28, %20, %34, %5
  %.0106 = phi i32 [ 0, %5 ], [ 0, %34 ], [ 1, %20 ], [ 1, %28 ]
  %.1 = phi i32 [ 0, %5 ], [ %35, %34 ], [ %15, %20 ], [ %15, %28 ]
  %41 = getelementptr inbounds i8, ptr %0, i64 40
  %42 = zext i32 %4 to i64
  tail call void @i32_store(ptr noundef nonnull %41, i64 noundef %42, i32 noundef %.1)
  ret i32 %.0106
}

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetHashCode0x280x290x20const(ptr noundef, i32 noundef) local_unnamed_addr #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 = { "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 = { 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