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

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

; 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: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AsnapshotWriteBarrierInternal0x28hermes0x3A0x3Avm0x3A0x3AHermesValue320x29(ptr noundef, i32 noundef, i32 noundef) #4

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

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

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

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

53:                                               ; preds = %45
  br label %332

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

65:                                               ; preds = %54
  br label %350

66:                                               ; preds = %54
  %67 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %67, ptr %13, align 4, !tbaa !9
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.w2c_hermes, ptr %68, i32 0, i32 6
  %70 = load i32, ptr %13, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = call i32 @i32_load(ptr noundef %69, i64 noundef %71)
  store i32 %72, ptr %13, align 4, !tbaa !9
  store i32 520093696, ptr %14, align 4, !tbaa !9
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = load i32, ptr %13, align 4, !tbaa !9
  %75 = sub i32 %74, %73
  store i32 %75, ptr %13, align 4, !tbaa !9
  store i32 33554432, ptr %14, align 4, !tbaa !9
  %76 = load i32, ptr %13, align 4, !tbaa !9
  %77 = load i32, ptr %14, align 4, !tbaa !9
  %78 = icmp uge i32 %76, %77
  %79 = zext i1 %78 to i32
  store i32 %79, ptr %13, align 4, !tbaa !9
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %83

82:                                               ; preds = %66
  br label %368

83:                                               ; preds = %66
  store i32 1, ptr %13, align 4, !tbaa !9
  %84 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %84, ptr %10, align 4, !tbaa !9
  %85 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %85, ptr %13, align 4, !tbaa !9
  store i32 1312, ptr %14, align 4, !tbaa !9
  %86 = load i32, ptr %14, align 4, !tbaa !9
  %87 = load i32, ptr %13, align 4, !tbaa !9
  %88 = add i32 %87, %86
  store i32 %88, ptr %13, align 4, !tbaa !9
  %89 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %89, ptr %9, align 4, !tbaa !9
  %90 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %90, ptr %14, align 4, !tbaa !9
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %14, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = call i32 @i32_load(ptr noundef %92, i64 noundef %94)
  store i32 %95, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %96 = load i32, ptr %15, align 4, !tbaa !9
  %97 = load i32, ptr %14, align 4, !tbaa !9
  %98 = add i32 %97, %96
  store i32 %98, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %99, ptr %9, align 4, !tbaa !9
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %13, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %101, i64 noundef %103, i32 noundef %104)
  %105 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %105, ptr %13, align 4, !tbaa !9
  %106 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %106, ptr %14, align 4, !tbaa !9
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.w2c_hermes, ptr %107, i32 0, i32 6
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = add i64 %110, 28
  %112 = call i32 @i32_load(ptr noundef %108, i64 noundef %111)
  store i32 %112, ptr %14, align 4, !tbaa !9
  %113 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %113, ptr %11, align 4, !tbaa !9
  %114 = load i32, ptr %13, align 4, !tbaa !9
  %115 = load i32, ptr %14, align 4, !tbaa !9
  %116 = icmp uge i32 %114, %115
  %117 = zext i1 %116 to i32
  store i32 %117, ptr %13, align 4, !tbaa !9
  %118 = load i32, ptr %13, align 4, !tbaa !9
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %292

120:                                              ; preds = %83
  store i32 1, ptr %13, align 4, !tbaa !9
  %121 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %121, ptr %14, align 4, !tbaa !9
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %14, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = add i64 %125, 32
  %127 = call i32 @i32_load(ptr noundef %123, i64 noundef %126)
  store i32 %127, ptr %14, align 4, !tbaa !9
  %128 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %128, ptr %15, align 4, !tbaa !9
  %129 = load i32, ptr %14, align 4, !tbaa !9
  %130 = load i32, ptr %15, align 4, !tbaa !9
  %131 = icmp ule i32 %129, %130
  %132 = zext i1 %131 to i32
  store i32 %132, ptr %14, align 4, !tbaa !9
  %133 = load i32, ptr %14, align 4, !tbaa !9
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %136

135:                                              ; preds = %120
  br label %282

136:                                              ; preds = %120
  %137 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %137, ptr %13, align 4, !tbaa !9
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %13, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = add i64 %141, 36
  %143 = call i32 @i32_load(ptr noundef %139, i64 noundef %142)
  store i32 %143, ptr %13, align 4, !tbaa !9
  %144 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %144, ptr %9, align 4, !tbaa !9
  %145 = load i32, ptr %13, align 4, !tbaa !9
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %167

147:                                              ; preds = %136
  %148 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %148, ptr %13, align 4, !tbaa !9
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.w2c_hermes, ptr %149, i32 0, i32 6
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = add i64 %152, 3
  %154 = call i32 @i32_load8_u(ptr noundef %150, i64 noundef %153)
  store i32 %154, ptr %13, align 4, !tbaa !9
  store i32 24, ptr %14, align 4, !tbaa !9
  %155 = load i32, ptr %14, align 4, !tbaa !9
  %156 = and i32 %155, 31
  %157 = load i32, ptr %13, align 4, !tbaa !9
  %158 = shl i32 %157, %156
  store i32 %158, ptr %13, align 4, !tbaa !9
  store i32 285212672, ptr %14, align 4, !tbaa !9
  %159 = load i32, ptr %13, align 4, !tbaa !9
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = icmp ne i32 %159, %160
  %162 = zext i1 %161 to i32
  store i32 %162, ptr %13, align 4, !tbaa !9
  %163 = load i32, ptr %13, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %166

165:                                              ; preds = %147
  br label %386

166:                                              ; preds = %147
  br label %167

167:                                              ; preds = %166, %136
  %168 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %168, ptr %13, align 4, !tbaa !9
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %13, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = add i64 %172, 12
  %174 = call i32 @i32_load8_u(ptr noundef %170, i64 noundef %173)
  store i32 %174, ptr %13, align 4, !tbaa !9
  store i32 2, ptr %14, align 4, !tbaa !9
  %175 = load i32, ptr %14, align 4, !tbaa !9
  %176 = load i32, ptr %13, align 4, !tbaa !9
  %177 = and i32 %176, %175
  store i32 %177, ptr %13, align 4, !tbaa !9
  %178 = load i32, ptr %13, align 4, !tbaa !9
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %180, label %210

180:                                              ; preds = %167
  store i32 0, ptr %13, align 4, !tbaa !9
  %181 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %181, ptr %10, align 4, !tbaa !9
  %182 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %182, ptr %14, align 4, !tbaa !9
  %183 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %183, ptr %15, align 4, !tbaa !9
  %184 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %184, ptr %16, align 4, !tbaa !9
  %185 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %185, ptr %17, align 4, !tbaa !9
  %186 = load i32, ptr %17, align 4, !tbaa !9
  %187 = load i32, ptr %16, align 4, !tbaa !9
  %188 = sub i32 %187, %186
  store i32 %188, ptr %16, align 4, !tbaa !9
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  %190 = load i32, ptr %14, align 4, !tbaa !9
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x20hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3Aat0x3C0x28hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AInline0x2900x3E0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x2C0x20unsigned0x20int0x290x20const(ptr noundef %189, i32 noundef %190, i32 noundef %191, i32 noundef %192)
  store i32 %193, ptr %14, align 4, !tbaa !9
  store i32 7, ptr %15, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = load i32, ptr %15, align 4, !tbaa !9
  %196 = icmp ne i32 %194, %195
  %197 = zext i1 %196 to i32
  store i32 %197, ptr %14, align 4, !tbaa !9
  %198 = load i32, ptr %14, align 4, !tbaa !9
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %201

200:                                              ; preds = %180
  br label %282

201:                                              ; preds = %180
  %202 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %202, ptr %13, align 4, !tbaa !9
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %13, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = add i64 %206, 28
  %208 = call i32 @i32_load(ptr noundef %204, i64 noundef %207)
  store i32 %208, ptr %13, align 4, !tbaa !9
  %209 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %209, ptr %11, align 4, !tbaa !9
  br label %210

210:                                              ; preds = %201, %167
  %211 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %211, ptr %13, align 4, !tbaa !9
  %212 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %212, ptr %14, align 4, !tbaa !9
  %213 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %213, ptr %15, align 4, !tbaa !9
  %214 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %214, ptr %16, align 4, !tbaa !9
  %215 = load i32, ptr %16, align 4, !tbaa !9
  %216 = load i32, ptr %15, align 4, !tbaa !9
  %217 = sub i32 %216, %215
  store i32 %217, ptr %15, align 4, !tbaa !9
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = load i32, ptr %13, align 4, !tbaa !9
  %220 = load i32, ptr %14, align 4, !tbaa !9
  %221 = load i32, ptr %15, align 4, !tbaa !9
  %222 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x260x20hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AatRef0x3C0x28hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AInline0x2900x3E0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x2C0x20unsigned0x20int0x29(ptr noundef %218, i32 noundef %219, i32 noundef %220, i32 noundef %221)
  store i32 %222, ptr %13, align 4, !tbaa !9
  %223 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %223, ptr %6, align 4, !tbaa !9
  %224 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %224, ptr %13, align 4, !tbaa !9
  store i32 1396, ptr %14, align 4, !tbaa !9
  %225 = load i32, ptr %14, align 4, !tbaa !9
  %226 = load i32, ptr %13, align 4, !tbaa !9
  %227 = add i32 %226, %225
  store i32 %227, ptr %13, align 4, !tbaa !9
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %13, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = call i32 @i32_load(ptr noundef %229, i64 noundef %231)
  store i32 %232, ptr %13, align 4, !tbaa !9
  %233 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %233, ptr %14, align 4, !tbaa !9
  store i32 -4194304, ptr %15, align 4, !tbaa !9
  %234 = load i32, ptr %15, align 4, !tbaa !9
  %235 = load i32, ptr %14, align 4, !tbaa !9
  %236 = and i32 %235, %234
  store i32 %236, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %13, align 4, !tbaa !9
  %238 = load i32, ptr %14, align 4, !tbaa !9
  %239 = icmp eq i32 %237, %238
  %240 = zext i1 %239 to i32
  store i32 %240, ptr %13, align 4, !tbaa !9
  %241 = load i32, ptr %13, align 4, !tbaa !9
  %242 = icmp ne i32 %241, 0
  br i1 %242, label %243, label %244

243:                                              ; preds = %210
  br label %275

244:                                              ; preds = %210
  %245 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %245, ptr %13, align 4, !tbaa !9
  store i32 4861, ptr %14, align 4, !tbaa !9
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %13, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %13, align 4, !tbaa !9
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %13, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = call i32 @i32_load8_u(ptr noundef %250, i64 noundef %252)
  store i32 %253, ptr %13, align 4, !tbaa !9
  %254 = load i32, ptr %13, align 4, !tbaa !9
  %255 = icmp ne i32 %254, 0
  %256 = xor i1 %255, true
  %257 = zext i1 %256 to i32
  store i32 %257, ptr %13, align 4, !tbaa !9
  %258 = load i32, ptr %13, align 4, !tbaa !9
  %259 = icmp ne i32 %258, 0
  br i1 %259, label %260, label %261

260:                                              ; preds = %244
  br label %275

261:                                              ; preds = %244
  %262 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %262, ptr %13, align 4, !tbaa !9
  store i32 808, ptr %14, align 4, !tbaa !9
  %263 = load i32, ptr %14, align 4, !tbaa !9
  %264 = load i32, ptr %13, align 4, !tbaa !9
  %265 = add i32 %264, %263
  store i32 %265, ptr %13, align 4, !tbaa !9
  %266 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %266, ptr %14, align 4, !tbaa !9
  %267 = load ptr, ptr %5, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.w2c_hermes, ptr %267, i32 0, i32 6
  %269 = load i32, ptr %14, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = call i32 @i32_load(ptr noundef %268, i64 noundef %270)
  store i32 %271, ptr %14, align 4, !tbaa !9
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = load i32, ptr %13, align 4, !tbaa !9
  %274 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AsnapshotWriteBarrierInternal0x28hermes0x3A0x3Avm0x3A0x3AHermesValue320x29(ptr noundef %272, i32 noundef %273, i32 noundef %274)
  br label %275

275:                                              ; preds = %261, %260, %243
  %276 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %276, ptr %13, align 4, !tbaa !9
  store i32 7, ptr %14, align 4, !tbaa !9
  %277 = load ptr, ptr %5, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.w2c_hermes, ptr %277, i32 0, i32 6
  %279 = load i32, ptr %13, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %278, i64 noundef %280, i32 noundef %281)
  store i32 1, ptr %13, align 4, !tbaa !9
  br label %282

282:                                              ; preds = %275, %200, %135
  %283 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %283, ptr %10, align 4, !tbaa !9
  %284 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %284, ptr %13, align 4, !tbaa !9
  %285 = load ptr, ptr %5, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.w2c_hermes, ptr %285, i32 0, i32 6
  %287 = load i32, ptr %13, align 4, !tbaa !9
  %288 = zext i32 %287 to i64
  %289 = add i64 %288, 1312
  %290 = call i32 @i32_load(ptr noundef %286, i64 noundef %289)
  store i32 %290, ptr %13, align 4, !tbaa !9
  %291 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %291, ptr %9, align 4, !tbaa !9
  br label %292

292:                                              ; preds = %282, %83
  %293 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %293, ptr %13, align 4, !tbaa !9
  %294 = load i32, ptr %13, align 4, !tbaa !9
  %295 = icmp ne i32 %294, 0
  %296 = xor i1 %295, true
  %297 = zext i1 %296 to i32
  store i32 %297, ptr %13, align 4, !tbaa !9
  %298 = load i32, ptr %13, align 4, !tbaa !9
  %299 = icmp ne i32 %298, 0
  br i1 %299, label %300, label %301

300:                                              ; preds = %292
  br label %404

301:                                              ; preds = %292
  %302 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %302, ptr %13, align 4, !tbaa !9
  %303 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %303, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %304 = load i32, ptr %15, align 4, !tbaa !9
  %305 = load i32, ptr %14, align 4, !tbaa !9
  %306 = sub i32 %305, %304
  store i32 %306, ptr %14, align 4, !tbaa !9
  %307 = load ptr, ptr %5, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.w2c_hermes, ptr %307, i32 0, i32 6
  %309 = load i32, ptr %13, align 4, !tbaa !9
  %310 = zext i32 %309 to i64
  %311 = add i64 %310, 1312
  %312 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %308, i64 noundef %311, i32 noundef %312)
  %313 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %313, ptr %13, align 4, !tbaa !9
  br label %422

314:                                              ; preds = %4
  store i32 0, ptr %13, align 4, !tbaa !9
  %315 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %315, ptr %7, align 4, !tbaa !9
  store i32 118124, ptr %14, align 4, !tbaa !9
  %316 = load i32, ptr %14, align 4, !tbaa !9
  %317 = load i32, ptr %13, align 4, !tbaa !9
  %318 = add i32 %317, %316
  store i32 %318, ptr %13, align 4, !tbaa !9
  %319 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %319, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %320 = load i32, ptr %15, align 4, !tbaa !9
  %321 = load i32, ptr %14, align 4, !tbaa !9
  %322 = add i32 %321, %320
  store i32 %322, ptr %14, align 4, !tbaa !9
  store i32 480, ptr %15, align 4, !tbaa !9
  %323 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %323, ptr %16, align 4, !tbaa !9
  store i32 38798, ptr %17, align 4, !tbaa !9
  %324 = load i32, ptr %17, align 4, !tbaa !9
  %325 = load i32, ptr %16, align 4, !tbaa !9
  %326 = add i32 %325, %324
  store i32 %326, ptr %16, align 4, !tbaa !9
  %327 = load ptr, ptr %5, align 8, !tbaa !5
  %328 = load i32, ptr %13, align 4, !tbaa !9
  %329 = load i32, ptr %14, align 4, !tbaa !9
  %330 = load i32, ptr %15, align 4, !tbaa !9
  %331 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %327, i32 noundef %328, i32 noundef %329, i32 noundef %330, i32 noundef %331)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

332:                                              ; preds = %53
  store i32 0, ptr %13, align 4, !tbaa !9
  %333 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %333, ptr %7, align 4, !tbaa !9
  store i32 118273, ptr %14, align 4, !tbaa !9
  %334 = load i32, ptr %14, align 4, !tbaa !9
  %335 = load i32, ptr %13, align 4, !tbaa !9
  %336 = add i32 %335, %334
  store i32 %336, ptr %13, align 4, !tbaa !9
  %337 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %337, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %338 = load i32, ptr %15, align 4, !tbaa !9
  %339 = load i32, ptr %14, align 4, !tbaa !9
  %340 = add i32 %339, %338
  store i32 %340, ptr %14, align 4, !tbaa !9
  store i32 438, ptr %15, align 4, !tbaa !9
  %341 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %341, ptr %16, align 4, !tbaa !9
  store i32 49706, ptr %17, align 4, !tbaa !9
  %342 = load i32, ptr %17, align 4, !tbaa !9
  %343 = load i32, ptr %16, align 4, !tbaa !9
  %344 = add i32 %343, %342
  store i32 %344, ptr %16, align 4, !tbaa !9
  %345 = load ptr, ptr %5, align 8, !tbaa !5
  %346 = load i32, ptr %13, align 4, !tbaa !9
  %347 = load i32, ptr %14, align 4, !tbaa !9
  %348 = load i32, ptr %15, align 4, !tbaa !9
  %349 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %345, i32 noundef %346, i32 noundef %347, i32 noundef %348, i32 noundef %349)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

350:                                              ; preds = %65
  store i32 0, ptr %13, align 4, !tbaa !9
  %351 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %351, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %14, align 4, !tbaa !9
  %352 = load i32, ptr %14, align 4, !tbaa !9
  %353 = load i32, ptr %13, align 4, !tbaa !9
  %354 = add i32 %353, %352
  store i32 %354, ptr %13, align 4, !tbaa !9
  %355 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %355, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %356 = load i32, ptr %15, align 4, !tbaa !9
  %357 = load i32, ptr %14, align 4, !tbaa !9
  %358 = add i32 %357, %356
  store i32 %358, ptr %14, align 4, !tbaa !9
  store i32 106, ptr %15, align 4, !tbaa !9
  %359 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %359, ptr %16, align 4, !tbaa !9
  store i32 28119, ptr %17, align 4, !tbaa !9
  %360 = load i32, ptr %17, align 4, !tbaa !9
  %361 = load i32, ptr %16, align 4, !tbaa !9
  %362 = add i32 %361, %360
  store i32 %362, ptr %16, align 4, !tbaa !9
  %363 = load ptr, ptr %5, align 8, !tbaa !5
  %364 = load i32, ptr %13, align 4, !tbaa !9
  %365 = load i32, ptr %14, align 4, !tbaa !9
  %366 = load i32, ptr %15, align 4, !tbaa !9
  %367 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %363, i32 noundef %364, i32 noundef %365, i32 noundef %366, i32 noundef %367)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

368:                                              ; preds = %82
  store i32 0, ptr %13, align 4, !tbaa !9
  %369 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %369, ptr %7, align 4, !tbaa !9
  store i32 205012, ptr %14, align 4, !tbaa !9
  %370 = load i32, ptr %14, align 4, !tbaa !9
  %371 = load i32, ptr %13, align 4, !tbaa !9
  %372 = add i32 %371, %370
  store i32 %372, ptr %13, align 4, !tbaa !9
  %373 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %373, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %374 = load i32, ptr %15, align 4, !tbaa !9
  %375 = load i32, ptr %14, align 4, !tbaa !9
  %376 = add i32 %375, %374
  store i32 %376, ptr %14, align 4, !tbaa !9
  store i32 255, ptr %15, align 4, !tbaa !9
  %377 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %377, ptr %16, align 4, !tbaa !9
  store i32 24720, ptr %17, align 4, !tbaa !9
  %378 = load i32, ptr %17, align 4, !tbaa !9
  %379 = load i32, ptr %16, align 4, !tbaa !9
  %380 = add i32 %379, %378
  store i32 %380, ptr %16, align 4, !tbaa !9
  %381 = load ptr, ptr %5, align 8, !tbaa !5
  %382 = load i32, ptr %13, align 4, !tbaa !9
  %383 = load i32, ptr %14, align 4, !tbaa !9
  %384 = load i32, ptr %15, align 4, !tbaa !9
  %385 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %381, i32 noundef %382, i32 noundef %383, i32 noundef %384, i32 noundef %385)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

386:                                              ; preds = %165
  store i32 0, ptr %13, align 4, !tbaa !9
  %387 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %387, ptr %7, align 4, !tbaa !9
  store i32 205071, ptr %14, align 4, !tbaa !9
  %388 = load i32, ptr %14, align 4, !tbaa !9
  %389 = load i32, ptr %13, align 4, !tbaa !9
  %390 = add i32 %389, %388
  store i32 %390, ptr %13, align 4, !tbaa !9
  %391 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %391, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %392 = load i32, ptr %15, align 4, !tbaa !9
  %393 = load i32, ptr %14, align 4, !tbaa !9
  %394 = add i32 %393, %392
  store i32 %394, ptr %14, align 4, !tbaa !9
  store i32 299, ptr %15, align 4, !tbaa !9
  %395 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %395, ptr %16, align 4, !tbaa !9
  store i32 72549, ptr %17, align 4, !tbaa !9
  %396 = load i32, ptr %17, align 4, !tbaa !9
  %397 = load i32, ptr %16, align 4, !tbaa !9
  %398 = add i32 %397, %396
  store i32 %398, ptr %16, align 4, !tbaa !9
  %399 = load ptr, ptr %5, align 8, !tbaa !5
  %400 = load i32, ptr %13, align 4, !tbaa !9
  %401 = load i32, ptr %14, align 4, !tbaa !9
  %402 = load i32, ptr %15, align 4, !tbaa !9
  %403 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %399, i32 noundef %400, i32 noundef %401, i32 noundef %402, i32 noundef %403)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

404:                                              ; preds = %300
  store i32 0, ptr %13, align 4, !tbaa !9
  %405 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %405, ptr %7, align 4, !tbaa !9
  store i32 184072, ptr %14, align 4, !tbaa !9
  %406 = load i32, ptr %14, align 4, !tbaa !9
  %407 = load i32, ptr %13, align 4, !tbaa !9
  %408 = add i32 %407, %406
  store i32 %408, ptr %13, align 4, !tbaa !9
  %409 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %409, ptr %14, align 4, !tbaa !9
  store i32 84373, ptr %15, align 4, !tbaa !9
  %410 = load i32, ptr %15, align 4, !tbaa !9
  %411 = load i32, ptr %14, align 4, !tbaa !9
  %412 = add i32 %411, %410
  store i32 %412, ptr %14, align 4, !tbaa !9
  store i32 1874, ptr %15, align 4, !tbaa !9
  %413 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %413, ptr %16, align 4, !tbaa !9
  store i32 92157, ptr %17, align 4, !tbaa !9
  %414 = load i32, ptr %17, align 4, !tbaa !9
  %415 = load i32, ptr %16, align 4, !tbaa !9
  %416 = add i32 %415, %414
  store i32 %416, ptr %16, align 4, !tbaa !9
  %417 = load ptr, ptr %5, align 8, !tbaa !5
  %418 = load i32, ptr %13, align 4, !tbaa !9
  %419 = load i32, ptr %14, align 4, !tbaa !9
  %420 = load i32, ptr %15, align 4, !tbaa !9
  %421 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %417, i32 noundef %418, i32 noundef %419, i32 noundef %420, i32 noundef %421)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

422:                                              ; preds = %301
  %423 = load i32, ptr %13, align 4, !tbaa !9
  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 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret i32 %423
}

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

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

; 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: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AsnapshotWriteBarrierInternal0x28hermes0x3A0x3Avm0x3A0x3AHermesValue320x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayImpl0x3A0x3A_deleteOwnIndexedImpl0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x29(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 %71

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

14:                                               ; preds = %12
  %15 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %13)
  %16 = add i32 %15, -553648128
  %17 = icmp ult i32 %16, -33554432
  br i1 %17, label %73, label %18

18:                                               ; preds = %14
  %19 = add i32 %2, 1312
  %20 = zext i32 %19 to i64
  %21 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %20)
  %22 = add i32 %21, 1
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %20, i32 noundef %22)
  %23 = add nuw nsw i64 %13, 28
  %24 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %23)
  %.not244 = icmp ugt i32 %24, %3
  br i1 %.not244, label %66, label %25

25:                                               ; preds = %18
  %26 = add nuw nsw i64 %13, 32
  %27 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %26)
  %.not245 = icmp ugt i32 %27, %3
  br i1 %.not245, label %28, label %62

28:                                               ; preds = %25
  %29 = add nuw nsw i64 %13, 36
  %30 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %29)
  %.not246 = icmp eq i32 %30, 0
  br i1 %.not246, label %35, label %31

31:                                               ; preds = %28
  %32 = zext i32 %30 to i64
  %33 = add nuw nsw i64 %32, 3
  %34 = tail call i32 @i32_load8_u(ptr noundef nonnull %5, i64 noundef %33)
  %.mask = and i32 %34, 255
  %.not247 = icmp eq i32 %.mask, 17
  br i1 %.not247, label %35, label %74

35:                                               ; preds = %31, %28
  %36 = add nuw nsw i64 %13, 12
  %37 = tail call i32 @i32_load8_u(ptr noundef nonnull %5, i64 noundef %36)
  %38 = and i32 %37, 2
  %.not248 = icmp eq i32 %38, 0
  br i1 %.not248, label %44, label %39

39:                                               ; preds = %35
  %40 = sub i32 %3, %24
  %41 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x20hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3Aat0x3C0x28hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AInline0x2900x3E0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x2C0x20unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %30, i32 noundef %2, i32 noundef %40)
  %.not249 = icmp eq i32 %41, 7
  br i1 %.not249, label %42, label %62

42:                                               ; preds = %39
  %43 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %23)
  br label %44

44:                                               ; preds = %42, %35
  %.0237 = phi i32 [ %43, %42 ], [ %24, %35 ]
  %45 = sub i32 %3, %.0237
  %46 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x260x20hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AatRef0x3C0x28hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AInline0x2900x3E0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %30, i32 noundef %2, i32 noundef %45)
  %47 = add i32 %2, 1396
  %48 = zext i32 %47 to i64
  %49 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %48)
  %50 = and i32 %46, -4194304
  %51 = icmp eq i32 %49, %50
  br i1 %51, label %60, label %52

52:                                               ; preds = %44
  %53 = add i32 %2, 4861
  %54 = zext i32 %53 to i64
  %55 = tail call i32 @i32_load8_u(ptr noundef nonnull %5, i64 noundef %54)
  %.not250 = icmp eq i32 %55, 0
  br i1 %.not250, label %60, label %56

56:                                               ; preds = %52
  %57 = add i32 %2, 808
  %58 = zext i32 %46 to i64
  %59 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %58)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AsnapshotWriteBarrierInternal0x28hermes0x3A0x3Avm0x3A0x3AHermesValue320x29(ptr noundef %0, i32 noundef %57, i32 noundef %59)
  br label %60

60:                                               ; preds = %52, %44, %56
  %61 = zext i32 %46 to i64
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %61, i32 noundef 7)
  br label %62

62:                                               ; preds = %39, %25, %60
  %.0 = phi i32 [ 1, %25 ], [ 0, %39 ], [ 1, %60 ]
  %63 = zext i32 %2 to i64
  %64 = add nuw nsw i64 %63, 1312
  %65 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %64)
  br label %66

66:                                               ; preds = %62, %18
  %.0239 = phi i32 [ %65, %62 ], [ %22, %18 ]
  %.0238 = phi i32 [ %.0, %62 ], [ 1, %18 ]
  %.not251 = icmp eq i32 %.0239, 0
  br i1 %.not251, label %75, label %67

67:                                               ; preds = %66
  %68 = add i32 %.0239, -1
  %69 = zext i32 %2 to i64
  %70 = add nuw nsw i64 %69, 1312
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %70, i32 noundef %68)
  ret i32 %.0238

71:                                               ; 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

72:                                               ; preds = %12
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

73:                                               ; preds = %14
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

74:                                               ; preds = %31
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205071, i32 noundef 82611, i32 noundef 299, i32 noundef 72549) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

75:                                               ; preds = %66
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 184072, i32 noundef 84373, i32 noundef 1874, i32 noundef 92157) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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,SROAPass,SimplifyCFGPass,TailCallElimPass