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

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

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

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

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

46:                                               ; preds = %6
  %47 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %47, ptr %16, align 4, !tbaa !9
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = add i64 %51, 16
  %53 = call i32 @i32_load(ptr noundef %49, i64 noundef %52)
  store i32 %53, ptr %16, align 4, !tbaa !9
  %54 = load i32, ptr %16, align 4, !tbaa !9
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %57

56:                                               ; preds = %46
  br label %339

57:                                               ; preds = %46
  %58 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %58, ptr %16, align 4, !tbaa !9
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = add i64 %62, 504
  %64 = call i32 @i32_load(ptr noundef %60, i64 noundef %63)
  store i32 %64, ptr %16, align 4, !tbaa !9
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %57
  br label %357

68:                                               ; preds = %57
  %69 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %69, ptr %16, align 4, !tbaa !9
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %16, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = add i64 %73, 588
  %75 = call i32 @i32_load(ptr noundef %71, i64 noundef %74)
  store i32 %75, ptr %16, align 4, !tbaa !9
  %76 = load i32, ptr %16, align 4, !tbaa !9
  %77 = icmp ne i32 %76, 0
  %78 = xor i1 %77, true
  %79 = zext i1 %78 to i32
  store i32 %79, ptr %16, align 4, !tbaa !9
  %80 = load i32, ptr %16, align 4, !tbaa !9
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %83

82:                                               ; preds = %68
  br label %375

83:                                               ; preds = %68
  %84 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %84, ptr %16, align 4, !tbaa !9
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %16, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 600
  %90 = call i32 @i32_load(ptr noundef %86, i64 noundef %89)
  store i32 %90, ptr %16, align 4, !tbaa !9
  %91 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %91, ptr %17, align 4, !tbaa !9
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %17, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = add i64 %95, 596
  %97 = call i32 @i32_load(ptr noundef %93, i64 noundef %96)
  store i32 %97, ptr %17, align 4, !tbaa !9
  %98 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %98, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %17, align 4, !tbaa !9
  %100 = load i32, ptr %16, align 4, !tbaa !9
  %101 = sub i32 %100, %99
  store i32 %101, ptr %16, align 4, !tbaa !9
  store i32 47, ptr %17, align 4, !tbaa !9
  %102 = load i32, ptr %16, align 4, !tbaa !9
  %103 = load i32, ptr %17, align 4, !tbaa !9
  %104 = icmp ule i32 %102, %103
  %105 = zext i1 %104 to i32
  store i32 %105, ptr %16, align 4, !tbaa !9
  %106 = load i32, ptr %16, align 4, !tbaa !9
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %115

108:                                              ; preds = %83
  %109 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %109, ptr %16, align 4, !tbaa !9
  store i32 48, ptr %17, align 4, !tbaa !9
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = load i32, ptr %17, align 4, !tbaa !9
  %113 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %110, i32 noundef %111, i32 noundef %112)
  store i32 %113, ptr %16, align 4, !tbaa !9
  %114 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %114, ptr %14, align 4, !tbaa !9
  br label %133

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

133:                                              ; preds = %115, %108
  %134 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %134, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %135, ptr %17, align 4, !tbaa !9
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.w2c_hermes, ptr %136, i32 0, i32 6
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = add i64 %139, 4
  %141 = call i32 @i32_load(ptr noundef %137, i64 noundef %140)
  store i32 %141, ptr %17, align 4, !tbaa !9
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 12
  %147 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %143, i64 noundef %146, i32 noundef %147)
  %148 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %148, ptr %16, align 4, !tbaa !9
  %149 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %149, ptr %17, align 4, !tbaa !9
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.w2c_hermes, ptr %150, i32 0, i32 6
  %152 = load i32, ptr %17, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = call i32 @i32_load(ptr noundef %151, i64 noundef %153)
  store i32 %154, ptr %17, align 4, !tbaa !9
  %155 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %155, ptr %10, align 4, !tbaa !9
  %156 = load ptr, ptr %7, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.w2c_hermes, ptr %156, i32 0, i32 6
  %158 = load i32, ptr %16, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  %160 = add i64 %159, 8
  %161 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %157, i64 noundef %160, i32 noundef %161)
  %162 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %162, ptr %16, align 4, !tbaa !9
  %163 = load i32, ptr %16, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %181

165:                                              ; preds = %133
  %166 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %166, ptr %16, align 4, !tbaa !9
  %167 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %167, ptr %17, align 4, !tbaa !9
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %17, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = call i32 @i32_load(ptr noundef %169, i64 noundef %171)
  store i32 %172, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %173 = load i32, ptr %18, align 4, !tbaa !9
  %174 = load i32, ptr %17, align 4, !tbaa !9
  %175 = add i32 %174, %173
  store i32 %175, ptr %17, align 4, !tbaa !9
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %177, i64 noundef %179, i32 noundef %180)
  br label %181

181:                                              ; preds = %165, %133
  %182 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %182, ptr %16, align 4, !tbaa !9
  %183 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %183, ptr %17, align 4, !tbaa !9
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %17, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = add i64 %187, 4
  %189 = call i32 @i32_load(ptr noundef %185, i64 noundef %188)
  store i32 %189, ptr %17, align 4, !tbaa !9
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = add i64 %193, 4
  %195 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %191, i64 noundef %194, i32 noundef %195)
  %196 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %196, ptr %16, align 4, !tbaa !9
  %197 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %197, ptr %17, align 4, !tbaa !9
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %17, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = call i32 @i32_load(ptr noundef %199, i64 noundef %201)
  store i32 %202, ptr %17, align 4, !tbaa !9
  %203 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %203, ptr %10, align 4, !tbaa !9
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.w2c_hermes, ptr %204, i32 0, i32 6
  %206 = load i32, ptr %16, align 4, !tbaa !9
  %207 = zext i32 %206 to i64
  %208 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %205, i64 noundef %207, i32 noundef %208)
  %209 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %209, ptr %16, align 4, !tbaa !9
  %210 = load i32, ptr %16, align 4, !tbaa !9
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %228

212:                                              ; preds = %181
  %213 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %213, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %214, ptr %17, align 4, !tbaa !9
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.w2c_hermes, ptr %215, i32 0, i32 6
  %217 = load i32, ptr %17, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = call i32 @i32_load(ptr noundef %216, i64 noundef %218)
  store i32 %219, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = add i32 %221, %220
  store i32 %222, ptr %17, align 4, !tbaa !9
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %16, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %224, i64 noundef %226, i32 noundef %227)
  br label %228

228:                                              ; preds = %212, %181
  %229 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %229, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %230, ptr %17, align 4, !tbaa !9
  %231 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %231, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %232 = load i32, ptr %19, align 4, !tbaa !9
  %233 = load i32, ptr %18, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %18, align 4, !tbaa !9
  %235 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %235, ptr %19, align 4, !tbaa !9
  %236 = load ptr, ptr %7, align 8, !tbaa !5
  %237 = load i32, ptr %16, align 4, !tbaa !9
  %238 = load i32, ptr %17, align 4, !tbaa !9
  %239 = load i32, ptr %18, align 4, !tbaa !9
  %240 = load i32, ptr %19, align 4, !tbaa !9
  %241 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArray0x3A0x3AJSArray0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef %236, i32 noundef %237, i32 noundef %238, i32 noundef %239, i32 noundef %240)
  store i32 %241, ptr %16, align 4, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %242, ptr %14, align 4, !tbaa !9
  %243 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %243, ptr %16, align 4, !tbaa !9
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.w2c_hermes, ptr %244, i32 0, i32 6
  %246 = load i32, ptr %16, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = call i32 @i32_load(ptr noundef %245, i64 noundef %247)
  store i32 %248, ptr %16, align 4, !tbaa !9
  %249 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %249, ptr %10, align 4, !tbaa !9
  %250 = load i32, ptr %16, align 4, !tbaa !9
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %268

252:                                              ; preds = %228
  %253 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %253, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %254, ptr %17, align 4, !tbaa !9
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %17, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = call i32 @i32_load(ptr noundef %256, i64 noundef %258)
  store i32 %259, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %260 = load i32, ptr %18, align 4, !tbaa !9
  %261 = load i32, ptr %17, align 4, !tbaa !9
  %262 = sub i32 %261, %260
  store i32 %262, ptr %17, align 4, !tbaa !9
  %263 = load ptr, ptr %7, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.w2c_hermes, ptr %263, i32 0, i32 6
  %265 = load i32, ptr %16, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %264, i64 noundef %266, i32 noundef %267)
  br label %268

268:                                              ; preds = %252, %228
  %269 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %269, ptr %16, align 4, !tbaa !9
  %270 = load ptr, ptr %7, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.w2c_hermes, ptr %270, i32 0, i32 6
  %272 = load i32, ptr %16, align 4, !tbaa !9
  %273 = zext i32 %272 to i64
  %274 = add i64 %273, 8
  %275 = call i32 @i32_load(ptr noundef %271, i64 noundef %274)
  store i32 %275, ptr %16, align 4, !tbaa !9
  %276 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %276, ptr %10, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %279, label %295

279:                                              ; preds = %268
  %280 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %280, ptr %16, align 4, !tbaa !9
  %281 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %281, ptr %17, align 4, !tbaa !9
  %282 = load ptr, ptr %7, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.w2c_hermes, ptr %282, i32 0, i32 6
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = zext i32 %284 to i64
  %286 = call i32 @i32_load(ptr noundef %283, i64 noundef %285)
  store i32 %286, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %287 = load i32, ptr %18, align 4, !tbaa !9
  %288 = load i32, ptr %17, align 4, !tbaa !9
  %289 = sub i32 %288, %287
  store i32 %289, ptr %17, align 4, !tbaa !9
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.w2c_hermes, ptr %290, i32 0, i32 6
  %292 = load i32, ptr %16, align 4, !tbaa !9
  %293 = zext i32 %292 to i64
  %294 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %291, i64 noundef %293, i32 noundef %294)
  br label %295

295:                                              ; preds = %279, %268
  %296 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %296, ptr %16, align 4, !tbaa !9
  store i32 536870960, ptr %17, align 4, !tbaa !9
  %297 = load ptr, ptr %7, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.w2c_hermes, ptr %297, i32 0, i32 6
  %299 = load i32, ptr %16, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %298, i64 noundef %300, i32 noundef %301)
  %302 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %302, ptr %16, align 4, !tbaa !9
  %303 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %303, ptr %17, align 4, !tbaa !9
  %304 = load ptr, ptr %7, align 8, !tbaa !5
  %305 = load i32, ptr %17, align 4, !tbaa !9
  %306 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef %304, i32 noundef %305)
  store i64 %306, ptr %21, align 8, !tbaa !17
  %307 = load ptr, ptr %7, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.w2c_hermes, ptr %307, i32 0, i32 6
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = zext i32 %309 to i64
  %311 = add i64 %310, 8
  %312 = load i64, ptr %21, align 8, !tbaa !17
  call void @i64_store32(ptr noundef %308, i64 noundef %311, i64 noundef %312)
  %313 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %313, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = load i32, ptr %16, align 4, !tbaa !9
  %316 = add i32 %315, %314
  store i32 %316, ptr %16, align 4, !tbaa !9
  %317 = load i32, ptr %16, align 4, !tbaa !9
  %318 = load ptr, ptr %7, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.w2c_hermes, ptr %318, i32 0, i32 3
  store i32 %317, ptr %319, align 8, !tbaa !11
  %320 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %320, ptr %16, align 4, !tbaa !9
  br label %393

321:                                              ; preds = %6
  store i32 0, ptr %16, align 4, !tbaa !9
  %322 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %322, ptr %13, align 4, !tbaa !9
  store i32 195321, ptr %17, align 4, !tbaa !9
  %323 = load i32, ptr %17, align 4, !tbaa !9
  %324 = load i32, ptr %16, align 4, !tbaa !9
  %325 = add i32 %324, %323
  store i32 %325, ptr %16, align 4, !tbaa !9
  %326 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %326, ptr %17, align 4, !tbaa !9
  store i32 84070, ptr %18, align 4, !tbaa !9
  %327 = load i32, ptr %18, align 4, !tbaa !9
  %328 = load i32, ptr %17, align 4, !tbaa !9
  %329 = add i32 %328, %327
  store i32 %329, ptr %17, align 4, !tbaa !9
  store i32 30, ptr %18, align 4, !tbaa !9
  %330 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %330, ptr %19, align 4, !tbaa !9
  store i32 103662, ptr %20, align 4, !tbaa !9
  %331 = load i32, ptr %20, align 4, !tbaa !9
  %332 = load i32, ptr %19, align 4, !tbaa !9
  %333 = add i32 %332, %331
  store i32 %333, ptr %19, align 4, !tbaa !9
  %334 = load ptr, ptr %7, align 8, !tbaa !5
  %335 = load i32, ptr %16, align 4, !tbaa !9
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = load i32, ptr %18, align 4, !tbaa !9
  %338 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %334, i32 noundef %335, i32 noundef %336, i32 noundef %337, i32 noundef %338)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

339:                                              ; preds = %56
  store i32 0, ptr %16, align 4, !tbaa !9
  %340 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %340, ptr %13, align 4, !tbaa !9
  store i32 192953, ptr %17, align 4, !tbaa !9
  %341 = load i32, ptr %17, align 4, !tbaa !9
  %342 = load i32, ptr %16, align 4, !tbaa !9
  %343 = add i32 %342, %341
  store i32 %343, ptr %16, align 4, !tbaa !9
  %344 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %344, ptr %17, align 4, !tbaa !9
  store i32 84070, ptr %18, align 4, !tbaa !9
  %345 = load i32, ptr %18, align 4, !tbaa !9
  %346 = load i32, ptr %17, align 4, !tbaa !9
  %347 = add i32 %346, %345
  store i32 %347, ptr %17, align 4, !tbaa !9
  store i32 63, ptr %18, align 4, !tbaa !9
  %348 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %348, ptr %19, align 4, !tbaa !9
  store i32 109843, ptr %20, align 4, !tbaa !9
  %349 = load i32, ptr %20, align 4, !tbaa !9
  %350 = load i32, ptr %19, align 4, !tbaa !9
  %351 = add i32 %350, %349
  store i32 %351, ptr %19, align 4, !tbaa !9
  %352 = load ptr, ptr %7, align 8, !tbaa !5
  %353 = load i32, ptr %16, align 4, !tbaa !9
  %354 = load i32, ptr %17, align 4, !tbaa !9
  %355 = load i32, ptr %18, align 4, !tbaa !9
  %356 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %352, i32 noundef %353, i32 noundef %354, i32 noundef %355, i32 noundef %356)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

357:                                              ; preds = %67
  store i32 0, ptr %16, align 4, !tbaa !9
  %358 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %358, ptr %13, align 4, !tbaa !9
  store i32 189195, ptr %17, align 4, !tbaa !9
  %359 = load i32, ptr %17, align 4, !tbaa !9
  %360 = load i32, ptr %16, align 4, !tbaa !9
  %361 = add i32 %360, %359
  store i32 %361, ptr %16, align 4, !tbaa !9
  %362 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %362, ptr %17, align 4, !tbaa !9
  store i32 86379, ptr %18, align 4, !tbaa !9
  %363 = load i32, ptr %18, align 4, !tbaa !9
  %364 = load i32, ptr %17, align 4, !tbaa !9
  %365 = add i32 %364, %363
  store i32 %365, ptr %17, align 4, !tbaa !9
  store i32 1091, ptr %18, align 4, !tbaa !9
  %366 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %366, ptr %19, align 4, !tbaa !9
  store i32 109843, ptr %20, align 4, !tbaa !9
  %367 = load i32, ptr %20, align 4, !tbaa !9
  %368 = load i32, ptr %19, align 4, !tbaa !9
  %369 = add i32 %368, %367
  store i32 %369, ptr %19, align 4, !tbaa !9
  %370 = load ptr, ptr %7, align 8, !tbaa !5
  %371 = load i32, ptr %16, align 4, !tbaa !9
  %372 = load i32, ptr %17, align 4, !tbaa !9
  %373 = load i32, ptr %18, align 4, !tbaa !9
  %374 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %370, i32 noundef %371, i32 noundef %372, i32 noundef %373, i32 noundef %374)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

375:                                              ; preds = %82
  store i32 0, ptr %16, align 4, !tbaa !9
  %376 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %376, ptr %13, align 4, !tbaa !9
  store i32 131267, ptr %17, align 4, !tbaa !9
  %377 = load i32, ptr %17, align 4, !tbaa !9
  %378 = load i32, ptr %16, align 4, !tbaa !9
  %379 = add i32 %378, %377
  store i32 %379, ptr %16, align 4, !tbaa !9
  %380 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %380, ptr %17, align 4, !tbaa !9
  store i32 77414, ptr %18, align 4, !tbaa !9
  %381 = load i32, ptr %18, align 4, !tbaa !9
  %382 = load i32, ptr %17, align 4, !tbaa !9
  %383 = add i32 %382, %381
  store i32 %383, ptr %17, align 4, !tbaa !9
  store i32 307, ptr %18, align 4, !tbaa !9
  %384 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %384, ptr %19, align 4, !tbaa !9
  store i32 107220, ptr %20, align 4, !tbaa !9
  %385 = load i32, ptr %20, align 4, !tbaa !9
  %386 = load i32, ptr %19, align 4, !tbaa !9
  %387 = add i32 %386, %385
  store i32 %387, ptr %19, align 4, !tbaa !9
  %388 = load ptr, ptr %7, align 8, !tbaa !5
  %389 = load i32, ptr %16, align 4, !tbaa !9
  %390 = load i32, ptr %17, align 4, !tbaa !9
  %391 = load i32, ptr %18, align 4, !tbaa !9
  %392 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %388, i32 noundef %389, i32 noundef %390, i32 noundef %391, i32 noundef %392)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

393:                                              ; preds = %295
  %394 = load i32, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  ret i32 %394
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArray0x3A0x3AJSArray0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr 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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!14, !14, 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 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: nounwind uwtable
declare dso_local i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AAlignedHeapSegment0x3A0x3AcheckUnwritten0x28char0x2A0x2C0x20char0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArray0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3AJSArray0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x260x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #3 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -16
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef 297640)
  %12 = zext i32 %11 to i64
  %13 = add nuw nsw i64 %12, 12
  %14 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %13)
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %76, label %15

15:                                               ; preds = %6
  %16 = add nuw nsw i64 %12, 16
  %17 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %16)
  %.not224 = icmp eq i32 %17, 0
  br i1 %.not224, label %18, label %77

18:                                               ; preds = %15
  %19 = zext i32 %1 to i64
  %20 = add nuw nsw i64 %19, 504
  %21 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %20)
  %.not225 = icmp eq i32 %21, 0
  br i1 %.not225, label %22, label %78

22:                                               ; preds = %18
  %23 = add nuw nsw i64 %19, 588
  %24 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %23)
  %.not226 = icmp eq i32 %24, 0
  br i1 %.not226, label %79, label %25

25:                                               ; preds = %22
  %26 = add nuw nsw i64 %19, 600
  %27 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %26)
  %28 = add nuw nsw i64 %19, 596
  %29 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %28)
  %30 = sub i32 %27, %29
  %31 = icmp ult i32 %30, 48
  br i1 %31, label %32, label %34

32:                                               ; preds = %25
  %33 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef 48)
  br label %36

34:                                               ; preds = %25
  %35 = add i32 %29, 48
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %28, i32 noundef %35)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AAlignedHeapSegment0x3A0x3AcheckUnwritten0x28char0x2A0x2C0x20char0x2A0x29(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %35) #4
  br label %36

36:                                               ; preds = %34, %32
  %.0 = phi i32 [ %33, %32 ], [ %29, %34 ]
  %37 = zext i32 %3 to i64
  %38 = add nuw nsw i64 %37, 4
  %39 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %38)
  %40 = zext i32 %9 to i64
  %41 = add nuw nsw i64 %40, 12
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %41, i32 noundef %39)
  %42 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %37)
  %43 = add nuw nsw i64 %40, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %43, i32 noundef %42)
  %.not227 = icmp eq i32 %42, 0
  br i1 %.not227, label %48, label %44

44:                                               ; preds = %36
  %45 = zext i32 %42 to i64
  %46 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %45)
  %47 = add i32 %46, 1
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %45, i32 noundef %47)
  br label %48

48:                                               ; preds = %44, %36
  %49 = zext i32 %4 to i64
  %50 = add nuw nsw i64 %49, 4
  %51 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %50)
  %52 = add nuw nsw i64 %40, 4
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %52, i32 noundef %51)
  %53 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %49)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %40, i32 noundef %53)
  %.not228 = icmp eq i32 %53, 0
  br i1 %.not228, label %58, label %54

54:                                               ; preds = %48
  %55 = zext i32 %53 to i64
  %56 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %55)
  %57 = add i32 %56, 1
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %55, i32 noundef %57)
  br label %58

58:                                               ; preds = %54, %48
  %59 = add i32 %8, -8
  %60 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArray0x3A0x3AJSArray0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef nonnull %0, i32 noundef %.0, i32 noundef %2, i32 noundef %59, i32 noundef %9)
  %61 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %40)
  %.not229 = icmp eq i32 %61, 0
  br i1 %.not229, label %66, label %62

62:                                               ; preds = %58
  %63 = zext i32 %61 to i64
  %64 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %63)
  %65 = add i32 %64, -1
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %63, i32 noundef %65)
  br label %66

66:                                               ; preds = %62, %58
  %67 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %43)
  %.not230 = icmp eq i32 %67, 0
  br i1 %.not230, label %72, label %68

68:                                               ; preds = %66
  %69 = zext i32 %67 to i64
  %70 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %69)
  %71 = add i32 %70, -1
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %69, i32 noundef %71)
  br label %72

72:                                               ; preds = %68, %66
  %73 = zext i32 %60 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %73, i32 noundef 536870960)
  %74 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef nonnull %0, i32 noundef %1)
  %75 = add nuw nsw i64 %73, 8
  tail call void @i64_store32(ptr noundef nonnull %10, i64 noundef %75, i64 noundef %74)
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret i32 %60

76:                                               ; preds = %6
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 195321, i32 noundef 84070, i32 noundef 30, i32 noundef 103662) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

77:                                               ; preds = %15
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 192953, i32 noundef 84070, i32 noundef 63, i32 noundef 109843) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

78:                                               ; preds = %18
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 189195, i32 noundef 86379, i32 noundef 1091, i32 noundef 109843) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

79:                                               ; preds = %22
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 131267, i32 noundef 77414, i32 noundef 307, i32 noundef 107220) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArray0x3A0x3AJSArray0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr 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)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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