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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #1

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) #3

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AConsecutiveStringStorage0x3A0x3AgetEntryHash0x28unsigned0x20long0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

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

declare void @w2c_hermes_abort(ptr noundef) #3

declare void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AStringLiteralTable0x3A0x3AgetIdentifierHashes0x280x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %21 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %21, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 6
  %24 = load i32, ptr %15, align 4, !tbaa !9
  %25 = zext i32 %24 to i64
  %26 = add i64 %25, 8
  %27 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %23, i64 noundef %26, i32 noundef %27)
  %28 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %28, ptr %15, align 4, !tbaa !9
  store i64 0, ptr %20, align 8, !tbaa !11
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.w2c_hermes, ptr %29, i32 0, i32 6
  %31 = load i32, ptr %15, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %30, i64 noundef %32, i64 noundef %33)
  %34 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %34, ptr %15, align 4, !tbaa !9
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %15, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = add i64 %38, 48
  %40 = call i32 @i32_load(ptr noundef %36, i64 noundef %39)
  store i32 %40, ptr %15, align 4, !tbaa !9
  %41 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %41, ptr %7, align 4, !tbaa !9
  %42 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %42, ptr %16, align 4, !tbaa !9
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.w2c_hermes, ptr %43, i32 0, i32 6
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = add i64 %46, 72
  %48 = call i32 @i32_load(ptr noundef %44, i64 noundef %47)
  store i32 %48, ptr %16, align 4, !tbaa !9
  %49 = load i32, ptr %15, align 4, !tbaa !9
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = icmp eq i32 %49, %50
  %52 = zext i1 %51 to i32
  store i32 %52, ptr %15, align 4, !tbaa !9
  %53 = load i32, ptr %15, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %314

55:                                               ; preds = %3
  %56 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %56, ptr %15, align 4, !tbaa !9
  %57 = load i32, ptr %15, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %313

59:                                               ; preds = %55
  store i32 0, ptr %15, align 4, !tbaa !9
  %60 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %60, ptr %7, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %311, %59
  %62 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %62, ptr %15, align 4, !tbaa !9
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.w2c_hermes, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %15, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = add i64 %66, 68
  %68 = call i32 @i32_load(ptr noundef %64, i64 noundef %67)
  store i32 %68, ptr %15, align 4, !tbaa !9
  %69 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %69, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = and i32 %70, 31
  %72 = load i32, ptr %16, align 4, !tbaa !9
  %73 = lshr i32 %72, %71
  store i32 %73, ptr %16, align 4, !tbaa !9
  store i32 536870908, ptr %17, align 4, !tbaa !9
  %74 = load i32, ptr %17, align 4, !tbaa !9
  %75 = load i32, ptr %16, align 4, !tbaa !9
  %76 = and i32 %75, %74
  store i32 %76, ptr %16, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = add i32 %78, %77
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %15, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = call i32 @i32_load(ptr noundef %81, i64 noundef %83)
  store i32 %84, ptr %15, align 4, !tbaa !9
  %85 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %85, ptr %16, align 4, !tbaa !9
  %86 = load i32, ptr %16, align 4, !tbaa !9
  %87 = and i32 %86, 31
  %88 = load i32, ptr %15, align 4, !tbaa !9
  %89 = lshr i32 %88, %87
  store i32 %89, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %90 = load i32, ptr %16, align 4, !tbaa !9
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = and i32 %91, %90
  store i32 %92, ptr %15, align 4, !tbaa !9
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  %95 = xor i1 %94, true
  %96 = zext i1 %95 to i32
  store i32 %96, ptr %15, align 4, !tbaa !9
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %61
  br label %292

100:                                              ; preds = %61
  %101 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %101, ptr %15, align 4, !tbaa !9
  %102 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %102, ptr %16, align 4, !tbaa !9
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = load i32, ptr %15, align 4, !tbaa !9
  %105 = load i32, ptr %16, align 4, !tbaa !9
  %106 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AConsecutiveStringStorage0x3A0x3AgetEntryHash0x28unsigned0x20long0x290x20const(ptr noundef %103, i32 noundef %104, i32 noundef %105)
  store i32 %106, ptr %15, align 4, !tbaa !9
  %107 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %107, ptr %11, align 4, !tbaa !9
  %108 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %108, ptr %15, align 4, !tbaa !9
  %109 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %109, ptr %16, align 4, !tbaa !9
  %110 = load i32, ptr %15, align 4, !tbaa !9
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = icmp ult i32 %110, %111
  %113 = zext i1 %112 to i32
  store i32 %113, ptr %15, align 4, !tbaa !9
  %114 = load i32, ptr %15, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %136

116:                                              ; preds = %100
  %117 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %117, ptr %15, align 4, !tbaa !9
  %118 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %118, ptr %16, align 4, !tbaa !9
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %15, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %120, i64 noundef %122, i32 noundef %123)
  %124 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %124, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %125, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %126 = load i32, ptr %17, align 4, !tbaa !9
  %127 = load i32, ptr %16, align 4, !tbaa !9
  %128 = add i32 %127, %126
  store i32 %128, ptr %16, align 4, !tbaa !9
  %129 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %129, ptr %7, align 4, !tbaa !9
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.w2c_hermes, ptr %130, i32 0, i32 6
  %132 = load i32, ptr %15, align 4, !tbaa !9
  %133 = zext i32 %132 to i64
  %134 = add i64 %133, 4
  %135 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %131, i64 noundef %134, i32 noundef %135)
  br label %292

136:                                              ; preds = %100
  %137 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %137, ptr %15, align 4, !tbaa !9
  %138 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %138, ptr %16, align 4, !tbaa !9
  %139 = load i32, ptr %16, align 4, !tbaa !9
  %140 = load i32, ptr %15, align 4, !tbaa !9
  %141 = sub i32 %140, %139
  store i32 %141, ptr %15, align 4, !tbaa !9
  %142 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %142, ptr %13, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %143 = load i32, ptr %15, align 4, !tbaa !9
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = and i32 %144, 31
  %146 = ashr i32 %143, %145
  store i32 %146, ptr %15, align 4, !tbaa !9
  %147 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %147, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = load i32, ptr %15, align 4, !tbaa !9
  %150 = add i32 %149, %148
  store i32 %150, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %151, ptr %7, align 4, !tbaa !9
  store i32 1073741824, ptr %16, align 4, !tbaa !9
  %152 = load i32, ptr %15, align 4, !tbaa !9
  %153 = load i32, ptr %16, align 4, !tbaa !9
  %154 = icmp uge i32 %152, %153
  %155 = zext i1 %154 to i32
  store i32 %155, ptr %15, align 4, !tbaa !9
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %158, label %159

158:                                              ; preds = %136
  br label %331

159:                                              ; preds = %136
  store i32 1073741823, ptr %15, align 4, !tbaa !9
  %160 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %161, ptr %17, align 4, !tbaa !9
  %162 = load i32, ptr %17, align 4, !tbaa !9
  %163 = load i32, ptr %16, align 4, !tbaa !9
  %164 = sub i32 %163, %162
  store i32 %164, ptr %16, align 4, !tbaa !9
  %165 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %165, ptr %9, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = load i32, ptr %17, align 4, !tbaa !9
  %168 = and i32 %167, 31
  %169 = ashr i32 %166, %168
  store i32 %169, ptr %16, align 4, !tbaa !9
  %170 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %170, ptr %14, align 4, !tbaa !9
  %171 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %171, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %172, ptr %18, align 4, !tbaa !9
  %173 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %173, ptr %19, align 4, !tbaa !9
  %174 = load i32, ptr %18, align 4, !tbaa !9
  %175 = load i32, ptr %19, align 4, !tbaa !9
  %176 = icmp ult i32 %174, %175
  %177 = zext i1 %176 to i32
  store i32 %177, ptr %18, align 4, !tbaa !9
  %178 = load i32, ptr %18, align 4, !tbaa !9
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %180, label %182

180:                                              ; preds = %159
  %181 = load i32, ptr %16, align 4, !tbaa !9
  br label %184

182:                                              ; preds = %159
  %183 = load i32, ptr %17, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %182, %180
  %185 = phi i32 [ %181, %180 ], [ %183, %182 ]
  store i32 %185, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %186, ptr %17, align 4, !tbaa !9
  store i32 2147483644, ptr %18, align 4, !tbaa !9
  %187 = load i32, ptr %17, align 4, !tbaa !9
  %188 = load i32, ptr %18, align 4, !tbaa !9
  %189 = icmp uge i32 %187, %188
  %190 = zext i1 %189 to i32
  store i32 %190, ptr %17, align 4, !tbaa !9
  %191 = load i32, ptr %17, align 4, !tbaa !9
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %195

193:                                              ; preds = %184
  %194 = load i32, ptr %15, align 4, !tbaa !9
  br label %197

195:                                              ; preds = %184
  %196 = load i32, ptr %16, align 4, !tbaa !9
  br label %197

197:                                              ; preds = %195, %193
  %198 = phi i32 [ %194, %193 ], [ %196, %195 ]
  store i32 %198, ptr %15, align 4, !tbaa !9
  %199 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %199, ptr %7, align 4, !tbaa !9
  %200 = load i32, ptr %15, align 4, !tbaa !9
  %201 = icmp ne i32 %200, 0
  br i1 %201, label %202, label %220

202:                                              ; preds = %197
  %203 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %203, ptr %15, align 4, !tbaa !9
  store i32 1073741824, ptr %16, align 4, !tbaa !9
  %204 = load i32, ptr %15, align 4, !tbaa !9
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = icmp uge i32 %204, %205
  %207 = zext i1 %206 to i32
  store i32 %207, ptr %15, align 4, !tbaa !9
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %210, label %211

210:                                              ; preds = %202
  br label %333

211:                                              ; preds = %202
  %212 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %212, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = and i32 %213, 31
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = shl i32 %215, %214
  store i32 %216, ptr %15, align 4, !tbaa !9
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = load i32, ptr %15, align 4, !tbaa !9
  %219 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %217, i32 noundef %218)
  store i32 %219, ptr %15, align 4, !tbaa !9
  br label %221

220:                                              ; preds = %197
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %221

221:                                              ; preds = %220, %211
  %222 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %222, ptr %9, align 4, !tbaa !9
  %223 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %223, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %224 = load i32, ptr %17, align 4, !tbaa !9
  %225 = and i32 %224, 31
  %226 = load i32, ptr %16, align 4, !tbaa !9
  %227 = shl i32 %226, %225
  store i32 %227, ptr %16, align 4, !tbaa !9
  %228 = load i32, ptr %16, align 4, !tbaa !9
  %229 = load i32, ptr %15, align 4, !tbaa !9
  %230 = add i32 %229, %228
  store i32 %230, ptr %15, align 4, !tbaa !9
  %231 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %231, ptr %12, align 4, !tbaa !9
  %232 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %232, ptr %16, align 4, !tbaa !9
  %233 = load ptr, ptr %4, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.w2c_hermes, ptr %233, i32 0, i32 6
  %235 = load i32, ptr %15, align 4, !tbaa !9
  %236 = zext i32 %235 to i64
  %237 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %234, i64 noundef %236, i32 noundef %237)
  %238 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %238, ptr %15, align 4, !tbaa !9
  %239 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %239, ptr %16, align 4, !tbaa !9
  %240 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %240, ptr %17, align 4, !tbaa !9
  %241 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %241, ptr %18, align 4, !tbaa !9
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = load i32, ptr %16, align 4, !tbaa !9
  %244 = load i32, ptr %17, align 4, !tbaa !9
  %245 = load i32, ptr %18, align 4, !tbaa !9
  %246 = call i32 @w2c_hermes_memmove(ptr noundef %242, i32 noundef %243, i32 noundef %244, i32 noundef %245)
  store i32 %246, ptr %16, align 4, !tbaa !9
  %247 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %247, ptr %11, align 4, !tbaa !9
  %248 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %248, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %249 = load i32, ptr %18, align 4, !tbaa !9
  %250 = and i32 %249, 31
  %251 = load i32, ptr %17, align 4, !tbaa !9
  %252 = shl i32 %251, %250
  store i32 %252, ptr %17, align 4, !tbaa !9
  %253 = load i32, ptr %17, align 4, !tbaa !9
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %255 = add i32 %254, %253
  store i32 %255, ptr %16, align 4, !tbaa !9
  %256 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %256, ptr %9, align 4, !tbaa !9
  %257 = load ptr, ptr %4, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.w2c_hermes, ptr %257, i32 0, i32 6
  %259 = load i32, ptr %15, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = add i64 %260, 8
  %262 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %258, i64 noundef %261, i32 noundef %262)
  %263 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %263, ptr %15, align 4, !tbaa !9
  %264 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %264, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %265 = load i32, ptr %17, align 4, !tbaa !9
  %266 = load i32, ptr %16, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %16, align 4, !tbaa !9
  %268 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %268, ptr %7, align 4, !tbaa !9
  %269 = load ptr, ptr %4, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.w2c_hermes, ptr %269, i32 0, i32 6
  %271 = load i32, ptr %15, align 4, !tbaa !9
  %272 = zext i32 %271 to i64
  %273 = add i64 %272, 4
  %274 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %270, i64 noundef %273, i32 noundef %274)
  %275 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %275, ptr %15, align 4, !tbaa !9
  %276 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %276, ptr %16, align 4, !tbaa !9
  %277 = load ptr, ptr %4, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.w2c_hermes, ptr %277, i32 0, i32 6
  %279 = load i32, ptr %15, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %278, i64 noundef %280, i32 noundef %281)
  %282 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %282, ptr %15, align 4, !tbaa !9
  %283 = load i32, ptr %15, align 4, !tbaa !9
  %284 = icmp ne i32 %283, 0
  br i1 %284, label %285, label %289

285:                                              ; preds = %221
  %286 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %286, ptr %15, align 4, !tbaa !9
  %287 = load ptr, ptr %4, align 8, !tbaa !5
  %288 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %287, i32 noundef %288)
  br label %289

289:                                              ; preds = %285, %221
  %290 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %290, ptr %15, align 4, !tbaa !9
  %291 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %291, ptr %10, align 4, !tbaa !9
  br label %292

292:                                              ; preds = %289, %116, %99
  %293 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %293, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %294 = load i32, ptr %16, align 4, !tbaa !9
  %295 = load i32, ptr %15, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %15, align 4, !tbaa !9
  %297 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %297, ptr %8, align 4, !tbaa !9
  %298 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %298, ptr %16, align 4, !tbaa !9
  %299 = load ptr, ptr %4, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.w2c_hermes, ptr %299, i32 0, i32 6
  %301 = load i32, ptr %16, align 4, !tbaa !9
  %302 = zext i32 %301 to i64
  %303 = add i64 %302, 48
  %304 = call i32 @i32_load(ptr noundef %300, i64 noundef %303)
  store i32 %304, ptr %16, align 4, !tbaa !9
  %305 = load i32, ptr %15, align 4, !tbaa !9
  %306 = load i32, ptr %16, align 4, !tbaa !9
  %307 = icmp ult i32 %305, %306
  %308 = zext i1 %307 to i32
  store i32 %308, ptr %15, align 4, !tbaa !9
  %309 = load i32, ptr %15, align 4, !tbaa !9
  %310 = icmp ne i32 %309, 0
  br i1 %310, label %311, label %312

311:                                              ; preds = %292
  br label %61

312:                                              ; preds = %292
  br label %313

313:                                              ; preds = %312, %55
  br label %335

314:                                              ; preds = %3
  store i32 0, ptr %15, align 4, !tbaa !9
  store i32 118542, ptr %16, align 4, !tbaa !9
  %315 = load i32, ptr %16, align 4, !tbaa !9
  %316 = load i32, ptr %15, align 4, !tbaa !9
  %317 = add i32 %316, %315
  store i32 %317, ptr %15, align 4, !tbaa !9
  %318 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %318, ptr %16, align 4, !tbaa !9
  store i32 61188, ptr %17, align 4, !tbaa !9
  %319 = load i32, ptr %17, align 4, !tbaa !9
  %320 = load i32, ptr %16, align 4, !tbaa !9
  %321 = add i32 %320, %319
  store i32 %321, ptr %16, align 4, !tbaa !9
  store i32 46, ptr %17, align 4, !tbaa !9
  %322 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %322, ptr %18, align 4, !tbaa !9
  store i32 45265, ptr %19, align 4, !tbaa !9
  %323 = load i32, ptr %19, align 4, !tbaa !9
  %324 = load i32, ptr %18, align 4, !tbaa !9
  %325 = add i32 %324, %323
  store i32 %325, ptr %18, align 4, !tbaa !9
  %326 = load ptr, ptr %4, align 8, !tbaa !5
  %327 = load i32, ptr %15, align 4, !tbaa !9
  %328 = load i32, ptr %16, align 4, !tbaa !9
  %329 = load i32, ptr %17, align 4, !tbaa !9
  %330 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %326, i32 noundef %327, i32 noundef %328, i32 noundef %329, i32 noundef %330)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

331:                                              ; preds = %158
  %332 = load ptr, ptr %4, align 8, !tbaa !5
  call void @w2c_hermes_abort(ptr noundef %332)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

333:                                              ; preds = %210
  %334 = load ptr, ptr %4, align 8, !tbaa !5
  call void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef %334)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

335:                                              ; preds = %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AConsecutiveStringStorage0x3A0x3AgetEntryHash0x28unsigned0x20long0x290x20const(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

declare void @w2c_hermes_abort(ptr noundef) local_unnamed_addr #2

declare void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AStringLiteralTable0x3A0x3AgetIdentifierHashes0x280x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = zext i32 %1 to i64
  %6 = add nuw nsw i64 %5, 8
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %6, i32 noundef 0)
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %5, i64 noundef 0)
  %7 = zext i32 %2 to i64
  %8 = add nuw nsw i64 %7, 48
  %9 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %8)
  %10 = add nuw nsw i64 %7, 72
  %11 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %10)
  %12 = icmp eq i32 %9, %11
  br i1 %12, label %13, label %59

13:                                               ; preds = %3
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %13
  %14 = add nuw nsw i64 %7, 68
  %15 = add nuw nsw i64 %5, 4
  br label %16

16:                                               ; preds = %.preheader, %55
  %.0189 = phi i32 [ %56, %55 ], [ 0, %.preheader ]
  %.0187 = phi i32 [ %.1188, %55 ], [ 0, %.preheader ]
  %.0185 = phi i32 [ %.1186, %55 ], [ 0, %.preheader ]
  %.0 = phi i32 [ %.1, %55 ], [ 0, %.preheader ]
  %17 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %14)
  %18 = lshr i32 %.0189, 3
  %19 = and i32 %18, 536870908
  %20 = add i32 %17, %19
  %21 = zext i32 %20 to i64
  %22 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %21)
  %23 = and i32 %.0189, 31
  %24 = shl nuw i32 1, %23
  %25 = and i32 %22, %24
  %.not194 = icmp eq i32 %25, 0
  br i1 %.not194, label %55, label %26

26:                                               ; preds = %16
  %27 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AConsecutiveStringStorage0x3A0x3AgetEntryHash0x28unsigned0x20long0x290x20const(ptr noundef %0, i32 noundef %2, i32 noundef %.0189)
  %28 = icmp ult i32 %.0, %.0187
  br i1 %28, label %29, label %32

29:                                               ; preds = %26
  %30 = zext i32 %.0 to i64
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %30, i32 noundef %27)
  %31 = add i32 %.0, 4
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %15, i32 noundef %31)
  br label %55

32:                                               ; preds = %26
  %33 = sub i32 %.0, %.0185
  %34 = ashr i32 %33, 2
  %35 = add nsw i32 %34, 1
  %36 = icmp ugt i32 %35, 1073741823
  br i1 %36, label %60, label %37

37:                                               ; preds = %32
  %38 = sub i32 %.0187, %.0185
  %39 = ashr i32 %38, 1
  %40 = tail call i32 @llvm.umax.i32(i32 %35, i32 %39)
  %41 = icmp ugt i32 %38, 2147483643
  %42 = select i1 %41, i32 1073741823, i32 %40
  %.not195 = icmp eq i32 %42, 0
  br i1 %.not195, label %._crit_edge, label %43

43:                                               ; preds = %37
  %44 = icmp ugt i32 %42, 1073741823
  br i1 %44, label %61, label %45

45:                                               ; preds = %43
  %46 = shl nuw i32 %42, 2
  %47 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef %46) #5
  br label %._crit_edge

._crit_edge:                                      ; preds = %37, %45
  %.pre-phi = phi i32 [ %46, %45 ], [ 0, %37 ]
  %.0184 = phi i32 [ %47, %45 ], [ 0, %37 ]
  %48 = and i32 %33, -4
  %49 = add i32 %.0184, %48
  %50 = zext i32 %49 to i64
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %50, i32 noundef %27)
  %51 = tail call i32 @w2c_hermes_memmove(ptr noundef %0, i32 noundef %.0184, i32 noundef %.0185, i32 noundef %33) #5
  %52 = add i32 %51, %.pre-phi
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %6, i32 noundef %52)
  %53 = add i32 %49, 4
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %15, i32 noundef %53)
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %5, i32 noundef %51)
  %.not196 = icmp eq i32 %.0185, 0
  br i1 %.not196, label %55, label %54

54:                                               ; preds = %._crit_edge
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %0, i32 noundef %.0185) #5
  br label %55

55:                                               ; preds = %._crit_edge, %54, %16, %29
  %.1188 = phi i32 [ %.0187, %16 ], [ %.0187, %29 ], [ %52, %54 ], [ %52, %._crit_edge ]
  %.1186 = phi i32 [ %.0185, %16 ], [ %.0185, %29 ], [ %51, %54 ], [ %51, %._crit_edge ]
  %.1 = phi i32 [ %.0, %16 ], [ %31, %29 ], [ %53, %54 ], [ %53, %._crit_edge ]
  %56 = add nuw i32 %.0189, 1
  %57 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %8)
  %58 = icmp ult i32 %56, %57
  br i1 %58, label %16, label %.loopexit

59:                                               ; preds = %3
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118542, i32 noundef 61188, i32 noundef 46, i32 noundef 45265) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

60:                                               ; preds = %32
  tail call void @w2c_hermes_abort(ptr noundef %0) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

61:                                               ; preds = %43
  tail call void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

.loopexit:                                        ; preds = %55, %13
  ret void
}

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass