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

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

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

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

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

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

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

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

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

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

declare i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef, i32 noundef) #3

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

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

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

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

54:                                               ; preds = %44
  br label %307

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

65:                                               ; preds = %55
  br label %325

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

80:                                               ; preds = %66
  br label %343

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

106:                                              ; preds = %81
  %107 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %107, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = load i32, ptr %15, align 4, !tbaa !9
  %111 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %108, i32 noundef %109, i32 noundef %110)
  store i32 %111, ptr %14, align 4, !tbaa !9
  %112 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %112, ptr %12, align 4, !tbaa !9
  br label %131

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

131:                                              ; preds = %113, %106
  %132 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %132, ptr %14, align 4, !tbaa !9
  %133 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %133, ptr %15, align 4, !tbaa !9
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %15, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = add i64 %137, 4
  %139 = call i32 @i32_load(ptr noundef %135, i64 noundef %138)
  store i32 %139, ptr %15, align 4, !tbaa !9
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %14, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = add i64 %143, 12
  %145 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %141, i64 noundef %144, i32 noundef %145)
  %146 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %146, ptr %14, align 4, !tbaa !9
  %147 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %147, ptr %15, align 4, !tbaa !9
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.w2c_hermes, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = call i32 @i32_load(ptr noundef %149, i64 noundef %151)
  store i32 %152, ptr %15, align 4, !tbaa !9
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %14, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = add i64 %156, 8
  %158 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %154, i64 noundef %157, i32 noundef %158)
  %159 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %159, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.w2c_hermes, ptr %160, i32 0, i32 6
  %162 = load i32, ptr %14, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %161, i64 noundef %163, i32 noundef %164)
  %165 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %165, ptr %14, align 4, !tbaa !9
  %166 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %166, ptr %15, align 4, !tbaa !9
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 4
  %172 = call i32 @i32_load(ptr noundef %168, i64 noundef %171)
  store i32 %172, ptr %15, align 4, !tbaa !9
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %14, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = add i64 %176, 4
  %178 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %174, i64 noundef %177, i32 noundef %178)
  %179 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %179, ptr %14, align 4, !tbaa !9
  %180 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %180, ptr %15, align 4, !tbaa !9
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %15, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = call i32 @i32_load(ptr noundef %182, i64 noundef %184)
  store i32 %185, ptr %15, align 4, !tbaa !9
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %14, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %187, i64 noundef %189, i32 noundef %190)
  %191 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %191, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %193, i64 noundef %195, i32 noundef %196)
  %197 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %197, ptr %14, align 4, !tbaa !9
  %198 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %198, ptr %15, align 4, !tbaa !9
  %199 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %199, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %200 = load i32, ptr %17, align 4, !tbaa !9
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = add i32 %201, %200
  store i32 %202, ptr %16, align 4, !tbaa !9
  %203 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %203, ptr %17, align 4, !tbaa !9
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  %205 = load i32, ptr %14, align 4, !tbaa !9
  %206 = load i32, ptr %15, align 4, !tbaa !9
  %207 = load i32, ptr %16, align 4, !tbaa !9
  %208 = load i32, ptr %17, align 4, !tbaa !9
  %209 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AJSProxy0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(ptr noundef %204, i32 noundef %205, i32 noundef %206, i32 noundef %207, i32 noundef %208)
  store i32 %209, ptr %14, align 4, !tbaa !9
  %210 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %210, ptr %10, align 4, !tbaa !9
  %211 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %211, ptr %14, align 4, !tbaa !9
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.w2c_hermes, ptr %212, i32 0, i32 6
  %214 = load i32, ptr %14, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = call i32 @i32_load(ptr noundef %213, i64 noundef %215)
  store i32 %216, ptr %14, align 4, !tbaa !9
  %217 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %217, ptr %9, align 4, !tbaa !9
  %218 = load i32, ptr %14, align 4, !tbaa !9
  %219 = icmp ne i32 %218, 0
  br i1 %219, label %220, label %236

220:                                              ; preds = %131
  %221 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %221, ptr %14, align 4, !tbaa !9
  %222 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %222, ptr %15, align 4, !tbaa !9
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %15, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = call i32 @i32_load(ptr noundef %224, i64 noundef %226)
  store i32 %227, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %228 = load i32, ptr %16, align 4, !tbaa !9
  %229 = load i32, ptr %15, align 4, !tbaa !9
  %230 = sub i32 %229, %228
  store i32 %230, ptr %15, align 4, !tbaa !9
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.w2c_hermes, ptr %231, i32 0, i32 6
  %233 = load i32, ptr %14, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %232, i64 noundef %234, i32 noundef %235)
  br label %236

236:                                              ; preds = %220, %131
  %237 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %237, ptr %14, align 4, !tbaa !9
  %238 = load ptr, ptr %6, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.w2c_hermes, ptr %238, i32 0, i32 6
  %240 = load i32, ptr %14, align 4, !tbaa !9
  %241 = zext i32 %240 to i64
  %242 = add i64 %241, 8
  %243 = call i32 @i32_load(ptr noundef %239, i64 noundef %242)
  store i32 %243, ptr %14, align 4, !tbaa !9
  %244 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %244, ptr %9, align 4, !tbaa !9
  %245 = load i32, ptr %14, align 4, !tbaa !9
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %247, label %263

247:                                              ; preds = %236
  %248 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %248, ptr %14, align 4, !tbaa !9
  %249 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %249, ptr %15, align 4, !tbaa !9
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.w2c_hermes, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %15, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = call i32 @i32_load(ptr noundef %251, i64 noundef %253)
  store i32 %254, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %255 = load i32, ptr %16, align 4, !tbaa !9
  %256 = load i32, ptr %15, align 4, !tbaa !9
  %257 = sub i32 %256, %255
  store i32 %257, ptr %15, align 4, !tbaa !9
  %258 = load ptr, ptr %6, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.w2c_hermes, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %14, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %259, i64 noundef %261, i32 noundef %262)
  br label %263

263:                                              ; preds = %247, %236
  %264 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %264, ptr %14, align 4, !tbaa !9
  store i32 1107296304, ptr %15, align 4, !tbaa !9
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.w2c_hermes, ptr %265, i32 0, i32 6
  %267 = load i32, ptr %14, align 4, !tbaa !9
  %268 = zext i32 %267 to i64
  %269 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %266, i64 noundef %268, i32 noundef %269)
  %270 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %270, ptr %14, align 4, !tbaa !9
  %271 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %271, ptr %15, align 4, !tbaa !9
  %272 = load ptr, ptr %6, align 8, !tbaa !5
  %273 = load i32, ptr %15, align 4, !tbaa !9
  %274 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef %272, i32 noundef %273)
  store i64 %274, ptr %19, align 8, !tbaa !17
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.w2c_hermes, ptr %275, i32 0, i32 6
  %277 = load i32, ptr %14, align 4, !tbaa !9
  %278 = zext i32 %277 to i64
  %279 = add i64 %278, 8
  %280 = load i64, ptr %19, align 8, !tbaa !17
  call void @i64_store32(ptr noundef %276, i64 noundef %279, i64 noundef %280)
  %281 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %281, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %282 = load i32, ptr %15, align 4, !tbaa !9
  %283 = load i32, ptr %14, align 4, !tbaa !9
  %284 = add i32 %283, %282
  store i32 %284, ptr %14, align 4, !tbaa !9
  %285 = load i32, ptr %14, align 4, !tbaa !9
  %286 = load ptr, ptr %6, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.w2c_hermes, ptr %286, i32 0, i32 3
  store i32 %285, ptr %287, align 8, !tbaa !11
  %288 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %288, ptr %14, align 4, !tbaa !9
  br label %361

289:                                              ; preds = %5
  store i32 0, ptr %14, align 4, !tbaa !9
  %290 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %290, ptr %11, align 4, !tbaa !9
  store i32 195321, ptr %15, align 4, !tbaa !9
  %291 = load i32, ptr %15, align 4, !tbaa !9
  %292 = load i32, ptr %14, align 4, !tbaa !9
  %293 = add i32 %292, %291
  store i32 %293, ptr %14, align 4, !tbaa !9
  %294 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %294, ptr %15, align 4, !tbaa !9
  store i32 84070, ptr %16, align 4, !tbaa !9
  %295 = load i32, ptr %16, align 4, !tbaa !9
  %296 = load i32, ptr %15, align 4, !tbaa !9
  %297 = add i32 %296, %295
  store i32 %297, ptr %15, align 4, !tbaa !9
  store i32 30, ptr %16, align 4, !tbaa !9
  %298 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %298, ptr %17, align 4, !tbaa !9
  store i32 103662, ptr %18, align 4, !tbaa !9
  %299 = load i32, ptr %18, align 4, !tbaa !9
  %300 = load i32, ptr %17, align 4, !tbaa !9
  %301 = add i32 %300, %299
  store i32 %301, ptr %17, align 4, !tbaa !9
  %302 = load ptr, ptr %6, align 8, !tbaa !5
  %303 = load i32, ptr %14, align 4, !tbaa !9
  %304 = load i32, ptr %15, align 4, !tbaa !9
  %305 = load i32, ptr %16, align 4, !tbaa !9
  %306 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %302, i32 noundef %303, i32 noundef %304, i32 noundef %305, i32 noundef %306)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

307:                                              ; preds = %54
  store i32 0, ptr %14, align 4, !tbaa !9
  %308 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %308, ptr %11, align 4, !tbaa !9
  store i32 192953, ptr %15, align 4, !tbaa !9
  %309 = load i32, ptr %15, align 4, !tbaa !9
  %310 = load i32, ptr %14, align 4, !tbaa !9
  %311 = add i32 %310, %309
  store i32 %311, ptr %14, align 4, !tbaa !9
  %312 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %312, ptr %15, align 4, !tbaa !9
  store i32 84070, ptr %16, align 4, !tbaa !9
  %313 = load i32, ptr %16, align 4, !tbaa !9
  %314 = load i32, ptr %15, align 4, !tbaa !9
  %315 = add i32 %314, %313
  store i32 %315, ptr %15, align 4, !tbaa !9
  store i32 63, ptr %16, align 4, !tbaa !9
  %316 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %316, ptr %17, align 4, !tbaa !9
  store i32 109843, ptr %18, align 4, !tbaa !9
  %317 = load i32, ptr %18, align 4, !tbaa !9
  %318 = load i32, ptr %17, align 4, !tbaa !9
  %319 = add i32 %318, %317
  store i32 %319, ptr %17, align 4, !tbaa !9
  %320 = load ptr, ptr %6, align 8, !tbaa !5
  %321 = load i32, ptr %14, align 4, !tbaa !9
  %322 = load i32, ptr %15, align 4, !tbaa !9
  %323 = load i32, ptr %16, align 4, !tbaa !9
  %324 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %320, i32 noundef %321, i32 noundef %322, i32 noundef %323, i32 noundef %324)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

325:                                              ; preds = %65
  store i32 0, ptr %14, align 4, !tbaa !9
  %326 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %326, ptr %11, align 4, !tbaa !9
  store i32 189195, ptr %15, align 4, !tbaa !9
  %327 = load i32, ptr %15, align 4, !tbaa !9
  %328 = load i32, ptr %14, align 4, !tbaa !9
  %329 = add i32 %328, %327
  store i32 %329, ptr %14, align 4, !tbaa !9
  %330 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %330, ptr %15, align 4, !tbaa !9
  store i32 86379, ptr %16, align 4, !tbaa !9
  %331 = load i32, ptr %16, align 4, !tbaa !9
  %332 = load i32, ptr %15, align 4, !tbaa !9
  %333 = add i32 %332, %331
  store i32 %333, ptr %15, align 4, !tbaa !9
  store i32 1091, ptr %16, align 4, !tbaa !9
  %334 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %334, ptr %17, align 4, !tbaa !9
  store i32 109843, ptr %18, align 4, !tbaa !9
  %335 = load i32, ptr %18, align 4, !tbaa !9
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = add i32 %336, %335
  store i32 %337, ptr %17, align 4, !tbaa !9
  %338 = load ptr, ptr %6, align 8, !tbaa !5
  %339 = load i32, ptr %14, align 4, !tbaa !9
  %340 = load i32, ptr %15, align 4, !tbaa !9
  %341 = load i32, ptr %16, align 4, !tbaa !9
  %342 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %338, i32 noundef %339, i32 noundef %340, i32 noundef %341, i32 noundef %342)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

343:                                              ; preds = %80
  store i32 0, ptr %14, align 4, !tbaa !9
  %344 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %344, ptr %11, align 4, !tbaa !9
  store i32 131267, ptr %15, align 4, !tbaa !9
  %345 = load i32, ptr %15, align 4, !tbaa !9
  %346 = load i32, ptr %14, align 4, !tbaa !9
  %347 = add i32 %346, %345
  store i32 %347, ptr %14, align 4, !tbaa !9
  %348 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %348, ptr %15, align 4, !tbaa !9
  store i32 77414, ptr %16, align 4, !tbaa !9
  %349 = load i32, ptr %16, align 4, !tbaa !9
  %350 = load i32, ptr %15, align 4, !tbaa !9
  %351 = add i32 %350, %349
  store i32 %351, ptr %15, align 4, !tbaa !9
  store i32 307, ptr %16, align 4, !tbaa !9
  %352 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %352, ptr %17, align 4, !tbaa !9
  store i32 107220, ptr %18, align 4, !tbaa !9
  %353 = load i32, ptr %18, align 4, !tbaa !9
  %354 = load i32, ptr %17, align 4, !tbaa !9
  %355 = add i32 %354, %353
  store i32 %355, ptr %17, align 4, !tbaa !9
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  %357 = load i32, ptr %14, align 4, !tbaa !9
  %358 = load i32, ptr %15, align 4, !tbaa !9
  %359 = load i32, ptr %16, align 4, !tbaa !9
  %360 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %356, i32 noundef %357, i32 noundef %358, i32 noundef %359, i32 noundef %360)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

361:                                              ; preds = %263
  %362 = load i32, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret i32 %362
}

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

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

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

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

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

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

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

declare i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

14:                                               ; preds = %5
  %15 = add nuw nsw i64 %11, 16
  %16 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %15)
  %.not206 = icmp eq i32 %16, 0
  br i1 %.not206, label %17, label %66

17:                                               ; preds = %14
  %18 = zext i32 %1 to i64
  %19 = add nuw nsw i64 %18, 504
  %20 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %19)
  %.not207 = icmp eq i32 %20, 0
  br i1 %.not207, label %21, label %67

21:                                               ; preds = %17
  %22 = add nuw nsw i64 %18, 588
  %23 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %22)
  %.not208 = icmp eq i32 %23, 0
  br i1 %.not208, label %68, label %24

24:                                               ; preds = %21
  %25 = add nuw nsw i64 %18, 600
  %26 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %25)
  %27 = add nuw nsw i64 %18, 596
  %28 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %27)
  %29 = sub i32 %26, %28
  %30 = icmp ult i32 %29, 48
  br i1 %30, label %31, label %33

31:                                               ; preds = %24
  %32 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef 48) #4
  br label %35

33:                                               ; preds = %24
  %34 = add i32 %28, 48
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %27, i32 noundef %34)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AAlignedHeapSegment0x3A0x3AcheckUnwritten0x28char0x2A0x2C0x20char0x2A0x29(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %34) #4
  br label %35

35:                                               ; preds = %33, %31
  %.0 = phi i32 [ %32, %31 ], [ %28, %33 ]
  %36 = zext i32 %3 to i64
  %37 = add nuw nsw i64 %36, 4
  %38 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %37)
  %39 = zext i32 %8 to i64
  %40 = add nuw nsw i64 %39, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %40, i32 noundef %38)
  %41 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %36)
  %42 = add nuw nsw i64 %39, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %42, i32 noundef %41)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %36, i32 noundef 0)
  %43 = zext i32 %4 to i64
  %44 = add nuw nsw i64 %43, 4
  %45 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %44)
  %46 = add nuw nsw i64 %39, 4
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %46, i32 noundef %45)
  %47 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %43)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %39, i32 noundef %47)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %43, i32 noundef 0)
  %48 = add i32 %7, -8
  %49 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AJSProxy0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(ptr noundef nonnull %0, i32 noundef %.0, i32 noundef %2, i32 noundef %48, i32 noundef %8)
  %50 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %39)
  %.not209 = icmp eq i32 %50, 0
  br i1 %.not209, label %55, label %51

51:                                               ; preds = %35
  %52 = zext i32 %50 to i64
  %53 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %52)
  %54 = add i32 %53, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %52, i32 noundef %54)
  br label %55

55:                                               ; preds = %51, %35
  %56 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %42)
  %.not210 = icmp eq i32 %56, 0
  br i1 %.not210, label %61, label %57

57:                                               ; preds = %55
  %58 = zext i32 %56 to i64
  %59 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %58)
  %60 = add i32 %59, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %58, i32 noundef %60)
  br label %61

61:                                               ; preds = %57, %55
  %62 = zext i32 %49 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %62, i32 noundef 1107296304)
  %63 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef nonnull %0, i32 noundef %1) #4
  %64 = add nuw nsw i64 %62, 8
  tail call void @i64_store32(ptr noundef nonnull %9, i64 noundef %64, i64 noundef %63)
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret i32 %49

65:                                               ; preds = %5
  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

66:                                               ; preds = %14
  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

67:                                               ; preds = %17
  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

68:                                               ; preds = %21
  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_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AJSProxy0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { 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 #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
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