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

; 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

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

; 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) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #3

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3A0x3ApushBackSlowPath0x28hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %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 i64, align 8
  %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 i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  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 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %21 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %21, ptr %12, align 4, !tbaa !9
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 6
  %24 = load i32, ptr %12, align 4, !tbaa !9
  %25 = zext i32 %24 to i64
  %26 = add i64 %25, 4
  %27 = call i32 @i32_load(ptr noundef %23, i64 noundef %26)
  store i32 %27, ptr %12, align 4, !tbaa !9
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 6
  %30 = load i32, ptr %12, align 4, !tbaa !9
  %31 = zext i32 %30 to i64
  %32 = call i64 @i64_load(ptr noundef %29, i64 noundef %31)
  store i64 %32, ptr %18, align 8, !tbaa !11
  %33 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %33, ptr %11, align 8, !tbaa !11
  store i64 48, ptr %19, align 8, !tbaa !11
  %34 = load i64, ptr %18, align 8, !tbaa !11
  %35 = load i64, ptr %19, align 8, !tbaa !11
  %36 = and i64 %35, 63
  %37 = ashr i64 %34, %36
  store i64 %37, ptr %18, align 8, !tbaa !11
  %38 = load i64, ptr %18, align 8, !tbaa !11
  %39 = trunc i64 %38 to i32
  store i32 %39, ptr %12, align 4, !tbaa !9
  store i32 -1, ptr %13, align 4, !tbaa !9
  %40 = load i32, ptr %12, align 4, !tbaa !9
  %41 = load i32, ptr %13, align 4, !tbaa !9
  %42 = icmp eq i32 %40, %41
  %43 = zext i1 %42 to i32
  store i32 %43, ptr %12, align 4, !tbaa !9
  %44 = load i32, ptr %12, align 4, !tbaa !9
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %230

46:                                               ; preds = %4
  %47 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %47, ptr %18, align 8, !tbaa !11
  store i64 -844424930131969, ptr %19, align 8, !tbaa !11
  %48 = load i64, ptr %18, align 8, !tbaa !11
  %49 = load i64, ptr %19, align 8, !tbaa !11
  %50 = icmp ule i64 %48, %49
  %51 = zext i1 %50 to i32
  store i32 %51, ptr %12, align 4, !tbaa !9
  %52 = load i32, ptr %12, align 4, !tbaa !9
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %46
  br label %248

55:                                               ; preds = %46
  %56 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %56, ptr %18, align 8, !tbaa !11
  %57 = load i64, ptr %18, align 8, !tbaa !11
  %58 = trunc i64 %57 to i32
  store i32 %58, ptr %12, align 4, !tbaa !9
  %59 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %59, ptr %9, align 4, !tbaa !9
  %60 = load i32, ptr %12, align 4, !tbaa !9
  %61 = icmp ne i32 %60, 0
  %62 = xor i1 %61, true
  %63 = zext i1 %62 to i32
  store i32 %63, ptr %12, align 4, !tbaa !9
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %67

66:                                               ; preds = %55
  br label %266

67:                                               ; preds = %55
  %68 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %68, ptr %12, align 4, !tbaa !9
  %69 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %69, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %70 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %70, ptr %16, align 4, !tbaa !9
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 12
  %76 = call i32 @i32_load(ptr noundef %72, i64 noundef %75)
  store i32 %76, ptr %16, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %77, ptr %9, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %78 = load i32, ptr %17, align 4, !tbaa !9
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = add i32 %79, %78
  store i32 %80, ptr %16, align 4, !tbaa !9
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = load i32, ptr %12, align 4, !tbaa !9
  %83 = load i32, ptr %13, align 4, !tbaa !9
  %84 = load i32, ptr %14, align 4, !tbaa !9
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = load i32, ptr %16, align 4, !tbaa !9
  %87 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3A0x3Ashift0x28hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x29(ptr noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %86)
  store i32 %87, ptr %12, align 4, !tbaa !9
  %88 = load i32, ptr %12, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %228

90:                                               ; preds = %67
  %91 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %91, ptr %12, align 4, !tbaa !9
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %12, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = add i64 %95, 4
  %97 = call i32 @i32_load(ptr noundef %93, i64 noundef %96)
  store i32 %97, ptr %12, align 4, !tbaa !9
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = call i64 @i64_load(ptr noundef %99, i64 noundef %101)
  store i64 %102, ptr %18, align 8, !tbaa !11
  %103 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %103, ptr %11, align 8, !tbaa !11
  store i64 48, ptr %19, align 8, !tbaa !11
  %104 = load i64, ptr %18, align 8, !tbaa !11
  %105 = load i64, ptr %19, align 8, !tbaa !11
  %106 = and i64 %105, 63
  %107 = ashr i64 %104, %106
  store i64 %107, ptr %18, align 8, !tbaa !11
  %108 = load i64, ptr %18, align 8, !tbaa !11
  %109 = trunc i64 %108 to i32
  store i32 %109, ptr %12, align 4, !tbaa !9
  store i32 -1, ptr %13, align 4, !tbaa !9
  %110 = load i32, ptr %12, align 4, !tbaa !9
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = icmp ne i32 %110, %111
  %113 = zext i1 %112 to i32
  store i32 %113, ptr %12, align 4, !tbaa !9
  %114 = load i32, ptr %12, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %117

116:                                              ; preds = %90
  br label %284

117:                                              ; preds = %90
  %118 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %118, ptr %18, align 8, !tbaa !11
  store i64 -844424930131969, ptr %19, align 8, !tbaa !11
  %119 = load i64, ptr %18, align 8, !tbaa !11
  %120 = load i64, ptr %19, align 8, !tbaa !11
  %121 = icmp ule i64 %119, %120
  %122 = zext i1 %121 to i32
  store i32 %122, ptr %12, align 4, !tbaa !9
  %123 = load i32, ptr %12, align 4, !tbaa !9
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %126

125:                                              ; preds = %117
  br label %302

126:                                              ; preds = %117
  %127 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %127, ptr %18, align 8, !tbaa !11
  %128 = load i64, ptr %18, align 8, !tbaa !11
  %129 = trunc i64 %128 to i32
  store i32 %129, ptr %12, align 4, !tbaa !9
  %130 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %130, ptr %6, align 4, !tbaa !9
  %131 = load i32, ptr %12, align 4, !tbaa !9
  %132 = icmp ne i32 %131, 0
  %133 = xor i1 %132, true
  %134 = zext i1 %133 to i32
  store i32 %134, ptr %12, align 4, !tbaa !9
  %135 = load i32, ptr %12, align 4, !tbaa !9
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %138

137:                                              ; preds = %126
  br label %320

138:                                              ; preds = %126
  %139 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %139, ptr %12, align 4, !tbaa !9
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %12, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = add i64 %143, 12
  %145 = call i32 @i32_load(ptr noundef %141, i64 noundef %144)
  store i32 %145, ptr %12, align 4, !tbaa !9
  %146 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %146, ptr %13, align 4, !tbaa !9
  %147 = load i32, ptr %12, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  %149 = icmp ule i32 %147, %148
  %150 = zext i1 %149 to i32
  store i32 %150, ptr %12, align 4, !tbaa !9
  %151 = load i32, ptr %12, align 4, !tbaa !9
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %138
  br label %338

154:                                              ; preds = %138
  %155 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %155, ptr %12, align 4, !tbaa !9
  %156 = load ptr, ptr %5, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.w2c_hermes, ptr %156, i32 0, i32 6
  %158 = load i32, ptr %12, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  %160 = add i64 %159, 4
  %161 = call i32 @i32_load(ptr noundef %157, i64 noundef %160)
  store i32 %161, ptr %12, align 4, !tbaa !9
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %12, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = call i64 @i64_load(ptr noundef %163, i64 noundef %165)
  store i64 %166, ptr %18, align 8, !tbaa !11
  %167 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %167, ptr %11, align 8, !tbaa !11
  %168 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %168, ptr %12, align 4, !tbaa !9
  store i32 808, ptr %13, align 4, !tbaa !9
  %169 = load i32, ptr %13, align 4, !tbaa !9
  %170 = load i32, ptr %12, align 4, !tbaa !9
  %171 = add i32 %170, %169
  store i32 %171, ptr %12, align 4, !tbaa !9
  %172 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %172, ptr %10, align 4, !tbaa !9
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = load i32, ptr %12, align 4, !tbaa !9
  %175 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef %173, i32 noundef %174)
  store i32 %175, ptr %12, align 4, !tbaa !9
  %176 = load i32, ptr %12, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %154
  br label %356

179:                                              ; preds = %154
  %180 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %180, ptr %12, align 4, !tbaa !9
  store i32 1396, ptr %13, align 4, !tbaa !9
  %181 = load i32, ptr %13, align 4, !tbaa !9
  %182 = load i32, ptr %12, align 4, !tbaa !9
  %183 = add i32 %182, %181
  store i32 %183, ptr %12, align 4, !tbaa !9
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %12, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = call i32 @i32_load(ptr noundef %185, i64 noundef %187)
  store i32 %188, ptr %12, align 4, !tbaa !9
  %189 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %189, ptr %13, align 4, !tbaa !9
  %190 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %190, ptr %14, align 4, !tbaa !9
  store i32 3, ptr %15, align 4, !tbaa !9
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = and i32 %191, 31
  %193 = load i32, ptr %14, align 4, !tbaa !9
  %194 = shl i32 %193, %192
  store i32 %194, ptr %14, align 4, !tbaa !9
  %195 = load i32, ptr %14, align 4, !tbaa !9
  %196 = load i32, ptr %13, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %13, align 4, !tbaa !9
  store i32 16, ptr %14, align 4, !tbaa !9
  %198 = load i32, ptr %14, align 4, !tbaa !9
  %199 = load i32, ptr %13, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %13, align 4, !tbaa !9
  %201 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %201, ptr %6, align 4, !tbaa !9
  store i32 -4194304, ptr %14, align 4, !tbaa !9
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = load i32, ptr %13, align 4, !tbaa !9
  %204 = and i32 %203, %202
  store i32 %204, ptr %13, align 4, !tbaa !9
  %205 = load i32, ptr %12, align 4, !tbaa !9
  %206 = load i32, ptr %13, align 4, !tbaa !9
  %207 = icmp ne i32 %205, %206
  %208 = zext i1 %207 to i32
  store i32 %208, ptr %12, align 4, !tbaa !9
  %209 = load i32, ptr %12, align 4, !tbaa !9
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %211, label %219

211:                                              ; preds = %179
  %212 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %212, ptr %12, align 4, !tbaa !9
  %213 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %213, ptr %13, align 4, !tbaa !9
  %214 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %214, ptr %20, align 8, !tbaa !11
  %215 = load ptr, ptr %5, align 8, !tbaa !5
  %216 = load i32, ptr %12, align 4, !tbaa !9
  %217 = load i32, ptr %13, align 4, !tbaa !9
  %218 = load i64, ptr %20, align 8, !tbaa !11
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %215, i32 noundef %216, i32 noundef %217, i64 noundef %218)
  br label %219

219:                                              ; preds = %211, %179
  %220 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %220, ptr %12, align 4, !tbaa !9
  %221 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %221, ptr %19, align 8, !tbaa !11
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %12, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = load i64, ptr %19, align 8, !tbaa !11
  call void @i64_store(ptr noundef %223, i64 noundef %225, i64 noundef %226)
  store i32 1, ptr %12, align 4, !tbaa !9
  %227 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %227, ptr %10, align 4, !tbaa !9
  br label %228

228:                                              ; preds = %219, %67
  %229 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %229, ptr %12, align 4, !tbaa !9
  br label %374

230:                                              ; preds = %4
  store i32 0, ptr %12, align 4, !tbaa !9
  %231 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %231, ptr %6, align 4, !tbaa !9
  store i32 118124, ptr %13, align 4, !tbaa !9
  %232 = load i32, ptr %13, align 4, !tbaa !9
  %233 = load i32, ptr %12, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %12, align 4, !tbaa !9
  %235 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %235, ptr %13, align 4, !tbaa !9
  store i32 83341, ptr %14, align 4, !tbaa !9
  %236 = load i32, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %13, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %13, align 4, !tbaa !9
  store i32 480, ptr %14, align 4, !tbaa !9
  %239 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %239, ptr %15, align 4, !tbaa !9
  store i32 38798, ptr %16, align 4, !tbaa !9
  %240 = load i32, ptr %16, align 4, !tbaa !9
  %241 = load i32, ptr %15, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %15, align 4, !tbaa !9
  %243 = load ptr, ptr %5, align 8, !tbaa !5
  %244 = load i32, ptr %12, align 4, !tbaa !9
  %245 = load i32, ptr %13, align 4, !tbaa !9
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %243, i32 noundef %244, i32 noundef %245, i32 noundef %246, i32 noundef %247)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

248:                                              ; preds = %54
  store i32 0, ptr %12, align 4, !tbaa !9
  %249 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %249, ptr %6, align 4, !tbaa !9
  store i32 118273, ptr %13, align 4, !tbaa !9
  %250 = load i32, ptr %13, align 4, !tbaa !9
  %251 = load i32, ptr %12, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %12, align 4, !tbaa !9
  %253 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %253, ptr %13, align 4, !tbaa !9
  store i32 83341, ptr %14, align 4, !tbaa !9
  %254 = load i32, ptr %14, align 4, !tbaa !9
  %255 = load i32, ptr %13, align 4, !tbaa !9
  %256 = add i32 %255, %254
  store i32 %256, ptr %13, align 4, !tbaa !9
  store i32 438, ptr %14, align 4, !tbaa !9
  %257 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %257, ptr %15, align 4, !tbaa !9
  store i32 49706, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  %259 = load i32, ptr %15, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %15, align 4, !tbaa !9
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  %262 = load i32, ptr %12, align 4, !tbaa !9
  %263 = load i32, ptr %13, align 4, !tbaa !9
  %264 = load i32, ptr %14, align 4, !tbaa !9
  %265 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

266:                                              ; preds = %66
  store i32 0, ptr %12, align 4, !tbaa !9
  %267 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %267, ptr %6, align 4, !tbaa !9
  store i32 168498, ptr %13, align 4, !tbaa !9
  %268 = load i32, ptr %13, align 4, !tbaa !9
  %269 = load i32, ptr %12, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %12, align 4, !tbaa !9
  %271 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %271, ptr %13, align 4, !tbaa !9
  store i32 78081, ptr %14, align 4, !tbaa !9
  %272 = load i32, ptr %14, align 4, !tbaa !9
  %273 = load i32, ptr %13, align 4, !tbaa !9
  %274 = add i32 %273, %272
  store i32 %274, ptr %13, align 4, !tbaa !9
  store i32 269, ptr %14, align 4, !tbaa !9
  %275 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %275, ptr %15, align 4, !tbaa !9
  store i32 20456, ptr %16, align 4, !tbaa !9
  %276 = load i32, ptr %16, align 4, !tbaa !9
  %277 = load i32, ptr %15, align 4, !tbaa !9
  %278 = add i32 %277, %276
  store i32 %278, ptr %15, align 4, !tbaa !9
  %279 = load ptr, ptr %5, align 8, !tbaa !5
  %280 = load i32, ptr %12, align 4, !tbaa !9
  %281 = load i32, ptr %13, align 4, !tbaa !9
  %282 = load i32, ptr %14, align 4, !tbaa !9
  %283 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %279, i32 noundef %280, i32 noundef %281, i32 noundef %282, i32 noundef %283)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

284:                                              ; preds = %116
  store i32 0, ptr %12, align 4, !tbaa !9
  %285 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %285, ptr %6, align 4, !tbaa !9
  store i32 118124, ptr %13, align 4, !tbaa !9
  %286 = load i32, ptr %13, align 4, !tbaa !9
  %287 = load i32, ptr %12, align 4, !tbaa !9
  %288 = add i32 %287, %286
  store i32 %288, ptr %12, align 4, !tbaa !9
  %289 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %289, ptr %13, align 4, !tbaa !9
  store i32 83341, ptr %14, align 4, !tbaa !9
  %290 = load i32, ptr %14, align 4, !tbaa !9
  %291 = load i32, ptr %13, align 4, !tbaa !9
  %292 = add i32 %291, %290
  store i32 %292, ptr %13, align 4, !tbaa !9
  store i32 480, ptr %14, align 4, !tbaa !9
  %293 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %293, ptr %15, align 4, !tbaa !9
  store i32 38798, 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 ptr, ptr %5, align 8, !tbaa !5
  %298 = load i32, ptr %12, align 4, !tbaa !9
  %299 = load i32, ptr %13, align 4, !tbaa !9
  %300 = load i32, ptr %14, align 4, !tbaa !9
  %301 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

302:                                              ; preds = %125
  store i32 0, ptr %12, align 4, !tbaa !9
  %303 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %303, ptr %6, align 4, !tbaa !9
  store i32 118273, ptr %13, align 4, !tbaa !9
  %304 = load i32, ptr %13, align 4, !tbaa !9
  %305 = load i32, ptr %12, align 4, !tbaa !9
  %306 = add i32 %305, %304
  store i32 %306, ptr %12, align 4, !tbaa !9
  %307 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %307, ptr %13, align 4, !tbaa !9
  store i32 83341, ptr %14, align 4, !tbaa !9
  %308 = load i32, ptr %14, align 4, !tbaa !9
  %309 = load i32, ptr %13, align 4, !tbaa !9
  %310 = add i32 %309, %308
  store i32 %310, ptr %13, align 4, !tbaa !9
  store i32 438, ptr %14, align 4, !tbaa !9
  %311 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %311, ptr %15, align 4, !tbaa !9
  store i32 49706, ptr %16, align 4, !tbaa !9
  %312 = load i32, ptr %16, align 4, !tbaa !9
  %313 = load i32, ptr %15, align 4, !tbaa !9
  %314 = add i32 %313, %312
  store i32 %314, ptr %15, align 4, !tbaa !9
  %315 = load ptr, ptr %5, align 8, !tbaa !5
  %316 = load i32, ptr %12, align 4, !tbaa !9
  %317 = load i32, ptr %13, align 4, !tbaa !9
  %318 = load i32, ptr %14, align 4, !tbaa !9
  %319 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %315, i32 noundef %316, i32 noundef %317, i32 noundef %318, i32 noundef %319)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

320:                                              ; preds = %137
  store i32 0, ptr %12, align 4, !tbaa !9
  %321 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %321, ptr %6, align 4, !tbaa !9
  store i32 168498, ptr %13, align 4, !tbaa !9
  %322 = load i32, ptr %13, align 4, !tbaa !9
  %323 = load i32, ptr %12, align 4, !tbaa !9
  %324 = add i32 %323, %322
  store i32 %324, ptr %12, align 4, !tbaa !9
  %325 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %325, ptr %13, align 4, !tbaa !9
  store i32 78081, ptr %14, align 4, !tbaa !9
  %326 = load i32, ptr %14, align 4, !tbaa !9
  %327 = load i32, ptr %13, align 4, !tbaa !9
  %328 = add i32 %327, %326
  store i32 %328, ptr %13, align 4, !tbaa !9
  store i32 269, ptr %14, align 4, !tbaa !9
  %329 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %329, ptr %15, align 4, !tbaa !9
  store i32 20456, ptr %16, align 4, !tbaa !9
  %330 = load i32, ptr %16, align 4, !tbaa !9
  %331 = load i32, ptr %15, align 4, !tbaa !9
  %332 = add i32 %331, %330
  store i32 %332, ptr %15, align 4, !tbaa !9
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  %334 = load i32, ptr %12, align 4, !tbaa !9
  %335 = load i32, ptr %13, align 4, !tbaa !9
  %336 = load i32, ptr %14, align 4, !tbaa !9
  %337 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %333, i32 noundef %334, i32 noundef %335, i32 noundef %336, i32 noundef %337)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

338:                                              ; preds = %153
  store i32 0, ptr %12, align 4, !tbaa !9
  %339 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %339, ptr %6, align 4, !tbaa !9
  store i32 169961, ptr %13, align 4, !tbaa !9
  %340 = load i32, ptr %13, align 4, !tbaa !9
  %341 = load i32, ptr %12, align 4, !tbaa !9
  %342 = add i32 %341, %340
  store i32 %342, ptr %12, align 4, !tbaa !9
  %343 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %343, ptr %13, align 4, !tbaa !9
  store i32 85168, ptr %14, align 4, !tbaa !9
  %344 = load i32, ptr %14, align 4, !tbaa !9
  %345 = load i32, ptr %13, align 4, !tbaa !9
  %346 = add i32 %345, %344
  store i32 %346, ptr %13, align 4, !tbaa !9
  store i32 157, ptr %14, align 4, !tbaa !9
  %347 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %347, ptr %15, align 4, !tbaa !9
  store i32 34798, ptr %16, align 4, !tbaa !9
  %348 = load i32, ptr %16, align 4, !tbaa !9
  %349 = load i32, ptr %15, align 4, !tbaa !9
  %350 = add i32 %349, %348
  store i32 %350, ptr %15, align 4, !tbaa !9
  %351 = load ptr, ptr %5, align 8, !tbaa !5
  %352 = load i32, ptr %12, align 4, !tbaa !9
  %353 = load i32, ptr %13, align 4, !tbaa !9
  %354 = load i32, ptr %14, align 4, !tbaa !9
  %355 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %351, i32 noundef %352, i32 noundef %353, i32 noundef %354, i32 noundef %355)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

356:                                              ; preds = %178
  store i32 0, ptr %12, align 4, !tbaa !9
  %357 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %357, ptr %6, align 4, !tbaa !9
  store i32 200002, ptr %13, align 4, !tbaa !9
  %358 = load i32, ptr %13, align 4, !tbaa !9
  %359 = load i32, ptr %12, align 4, !tbaa !9
  %360 = add i32 %359, %358
  store i32 %360, ptr %12, align 4, !tbaa !9
  %361 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %361, ptr %13, align 4, !tbaa !9
  store i32 86379, ptr %14, align 4, !tbaa !9
  %362 = load i32, ptr %14, align 4, !tbaa !9
  %363 = load i32, ptr %13, align 4, !tbaa !9
  %364 = add i32 %363, %362
  store i32 %364, ptr %13, align 4, !tbaa !9
  store i32 158, ptr %14, align 4, !tbaa !9
  %365 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %365, ptr %15, align 4, !tbaa !9
  store i32 50413, ptr %16, align 4, !tbaa !9
  %366 = load i32, ptr %16, align 4, !tbaa !9
  %367 = load i32, ptr %15, align 4, !tbaa !9
  %368 = add i32 %367, %366
  store i32 %368, ptr %15, align 4, !tbaa !9
  %369 = load ptr, ptr %5, align 8, !tbaa !5
  %370 = load i32, ptr %12, align 4, !tbaa !9
  %371 = load i32, ptr %13, align 4, !tbaa !9
  %372 = load i32, ptr %14, align 4, !tbaa !9
  %373 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %369, i32 noundef %370, i32 noundef %371, i32 noundef %372, i32 noundef %373)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

374:                                              ; preds = %228
  %375 = load i32, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 8, 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 %375
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 #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"

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 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 #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3A0x3ApushBackSlowPath0x28hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = zext i32 %1 to i64
  %7 = add nuw nsw i64 %6, 4
  %8 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %7)
  %9 = zext i32 %8 to i64
  %10 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef %9)
  %11 = icmp ugt i64 %10, -281474976710657
  br i1 %11, label %12, label %49

12:                                               ; preds = %4
  %13 = and i64 %10, 4294967295
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %50, label %14

14:                                               ; preds = %12
  %15 = add nuw nsw i64 %13, 12
  %16 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %15)
  %17 = add i32 %16, 1
  %18 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3A0x3Ashift0x28hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef 0, i32 noundef %17)
  %.not225 = icmp eq i32 %18, 0
  br i1 %.not225, label %48, label %19

19:                                               ; preds = %14
  %20 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %7)
  %21 = zext i32 %20 to i64
  %22 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef %21)
  %.not226 = icmp ugt i64 %22, -281474976710657
  br i1 %.not226, label %23, label %51

23:                                               ; preds = %19
  %24 = trunc i64 %22 to i32
  %.not227 = icmp eq i32 %24, 0
  br i1 %.not227, label %52, label %25

25:                                               ; preds = %23
  %26 = and i64 %22, 4294967295
  %27 = add nuw nsw i64 %26, 12
  %28 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %27)
  %.not228 = icmp ugt i32 %28, %16
  br i1 %.not228, label %29, label %53

29:                                               ; preds = %25
  %30 = zext i32 %3 to i64
  %31 = add nuw nsw i64 %30, 4
  %32 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %31)
  %33 = zext i32 %32 to i64
  %34 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef %33)
  %35 = add i32 %2, 808
  %36 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef %0, i32 noundef %35)
  %.not229 = icmp eq i32 %36, 0
  br i1 %.not229, label %37, label %54

37:                                               ; preds = %29
  %38 = add i32 %2, 1396
  %39 = zext i32 %38 to i64
  %40 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %39)
  %41 = shl i32 %16, 3
  %42 = add i32 %41, 16
  %43 = add i32 %42, %24
  %44 = and i32 %43, -4194304
  %.not230 = icmp eq i32 %40, %44
  br i1 %.not230, label %46, label %45

45:                                               ; preds = %37
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %0, i32 noundef %35, i32 noundef %43, i64 noundef %34)
  br label %46

46:                                               ; preds = %45, %37
  %47 = zext i32 %43 to i64
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %47, i64 noundef %34)
  br label %48

48:                                               ; preds = %46, %14
  %.0 = phi i32 [ 1, %46 ], [ 0, %14 ]
  ret i32 %.0

49:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

50:                                               ; preds = %12
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 168498, i32 noundef 78081, i32 noundef 269, i32 noundef 20456) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

51:                                               ; preds = %19
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

52:                                               ; preds = %23
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 168498, i32 noundef 78081, i32 noundef 269, i32 noundef 20456) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

53:                                               ; preds = %25
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 169961, i32 noundef 85168, i32 noundef 157, i32 noundef 34798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

54:                                               ; preds = %29
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 200002, i32 noundef 86379, i32 noundef 158, i32 noundef 50413) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

attributes #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 = { 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 = { nounwind }
attributes #5 = { noreturn nounwind }

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass