; 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_hermes0x3A0x3Avm0x3A0x3AArguments0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3AArguments0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x29(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 297636, 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 %304

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 %322

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 %340

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 %358

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 i32, ptr %15, align 4, !tbaa !9
  store i32 %186, ptr %9, align 4, !tbaa !9
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.w2c_hermes, ptr %187, i32 0, i32 6
  %189 = load i32, ptr %14, align 4, !tbaa !9
  %190 = zext i32 %189 to i64
  %191 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %188, i64 noundef %190, i32 noundef %191)
  %192 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %192, ptr %14, align 4, !tbaa !9
  %193 = load i32, ptr %14, align 4, !tbaa !9
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %211

195:                                              ; preds = %131
  %196 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %196, ptr %14, align 4, !tbaa !9
  %197 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %197, ptr %15, align 4, !tbaa !9
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %15, 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 %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %203 = load i32, ptr %16, align 4, !tbaa !9
  %204 = load i32, ptr %15, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %15, align 4, !tbaa !9
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %14, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %207, i64 noundef %209, i32 noundef %210)
  br label %211

211:                                              ; preds = %195, %131
  %212 = load i32, ptr %12, 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
  store i32 8, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %17, align 4, !tbaa !9
  %216 = load i32, ptr %16, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %16, align 4, !tbaa !9
  %218 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %218, ptr %17, align 4, !tbaa !9
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = load i32, ptr %14, align 4, !tbaa !9
  %221 = load i32, ptr %15, align 4, !tbaa !9
  %222 = load i32, ptr %16, align 4, !tbaa !9
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArguments0x3A0x3AArguments0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(ptr noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223)
  store i32 %224, ptr %14, align 4, !tbaa !9
  %225 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %225, ptr %9, align 4, !tbaa !9
  %226 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %226, ptr %14, align 4, !tbaa !9
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = call i32 @i32_load(ptr noundef %228, i64 noundef %230)
  store i32 %231, ptr %14, align 4, !tbaa !9
  %232 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %232, ptr %12, align 4, !tbaa !9
  %233 = load i32, ptr %14, align 4, !tbaa !9
  %234 = icmp ne i32 %233, 0
  br i1 %234, label %235, label %251

235:                                              ; preds = %211
  %236 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %236, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %237, ptr %15, 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 %15, align 4, !tbaa !9
  %241 = zext i32 %240 to i64
  %242 = call i32 @i32_load(ptr noundef %239, i64 noundef %241)
  store i32 %242, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %243 = load i32, ptr %16, align 4, !tbaa !9
  %244 = load i32, ptr %15, align 4, !tbaa !9
  %245 = sub i32 %244, %243
  store i32 %245, ptr %15, align 4, !tbaa !9
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 6
  %248 = load i32, ptr %14, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %247, i64 noundef %249, i32 noundef %250)
  br label %251

251:                                              ; preds = %235, %211
  %252 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %252, ptr %14, align 4, !tbaa !9
  %253 = load ptr, ptr %6, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.w2c_hermes, ptr %253, i32 0, i32 6
  %255 = load i32, ptr %14, align 4, !tbaa !9
  %256 = zext i32 %255 to i64
  %257 = add i64 %256, 8
  %258 = call i32 @i32_load(ptr noundef %254, i64 noundef %257)
  store i32 %258, ptr %14, align 4, !tbaa !9
  %259 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %259, ptr %12, align 4, !tbaa !9
  %260 = load i32, ptr %14, align 4, !tbaa !9
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %278

262:                                              ; preds = %251
  %263 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %263, ptr %14, align 4, !tbaa !9
  %264 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %264, 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 %15, align 4, !tbaa !9
  %268 = zext i32 %267 to i64
  %269 = call i32 @i32_load(ptr noundef %266, i64 noundef %268)
  store i32 %269, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %270 = load i32, ptr %16, align 4, !tbaa !9
  %271 = load i32, ptr %15, align 4, !tbaa !9
  %272 = sub i32 %271, %270
  store i32 %272, ptr %15, align 4, !tbaa !9
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %14, align 4, !tbaa !9
  %276 = zext i32 %275 to i64
  %277 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %274, i64 noundef %276, i32 noundef %277)
  br label %278

278:                                              ; preds = %262, %251
  %279 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %279, ptr %14, align 4, !tbaa !9
  store i32 520093744, ptr %15, align 4, !tbaa !9
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %14, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %281, i64 noundef %283, i32 noundef %284)
  %285 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %285, ptr %14, align 4, !tbaa !9
  %286 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %286, ptr %15, align 4, !tbaa !9
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = load i32, ptr %15, align 4, !tbaa !9
  %289 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef %287, i32 noundef %288)
  store i64 %289, ptr %19, align 8, !tbaa !17
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.w2c_hermes, ptr %290, i32 0, i32 6
  %292 = load i32, ptr %14, align 4, !tbaa !9
  %293 = zext i32 %292 to i64
  %294 = add i64 %293, 8
  %295 = load i64, ptr %19, align 8, !tbaa !17
  call void @i64_store32(ptr noundef %291, i64 noundef %294, i64 noundef %295)
  %296 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %296, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %297 = load i32, ptr %15, align 4, !tbaa !9
  %298 = load i32, ptr %14, align 4, !tbaa !9
  %299 = add i32 %298, %297
  store i32 %299, ptr %14, align 4, !tbaa !9
  %300 = load i32, ptr %14, align 4, !tbaa !9
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.w2c_hermes, ptr %301, i32 0, i32 3
  store i32 %300, ptr %302, align 8, !tbaa !11
  %303 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %303, ptr %14, align 4, !tbaa !9
  br label %376

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

322:                                              ; preds = %54
  store i32 0, ptr %14, align 4, !tbaa !9
  %323 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %323, ptr %11, align 4, !tbaa !9
  store i32 192953, ptr %15, align 4, !tbaa !9
  %324 = load i32, ptr %15, align 4, !tbaa !9
  %325 = load i32, ptr %14, align 4, !tbaa !9
  %326 = add i32 %325, %324
  store i32 %326, ptr %14, align 4, !tbaa !9
  %327 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %327, ptr %15, align 4, !tbaa !9
  store i32 84070, ptr %16, align 4, !tbaa !9
  %328 = load i32, ptr %16, align 4, !tbaa !9
  %329 = load i32, ptr %15, align 4, !tbaa !9
  %330 = add i32 %329, %328
  store i32 %330, ptr %15, align 4, !tbaa !9
  store i32 63, ptr %16, align 4, !tbaa !9
  %331 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %331, ptr %17, align 4, !tbaa !9
  store i32 109843, ptr %18, align 4, !tbaa !9
  %332 = load i32, ptr %18, align 4, !tbaa !9
  %333 = load i32, ptr %17, align 4, !tbaa !9
  %334 = add i32 %333, %332
  store i32 %334, ptr %17, align 4, !tbaa !9
  %335 = load ptr, ptr %6, align 8, !tbaa !5
  %336 = load i32, ptr %14, align 4, !tbaa !9
  %337 = load i32, ptr %15, align 4, !tbaa !9
  %338 = load i32, ptr %16, align 4, !tbaa !9
  %339 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %335, i32 noundef %336, i32 noundef %337, i32 noundef %338, i32 noundef %339)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

340:                                              ; preds = %65
  store i32 0, ptr %14, align 4, !tbaa !9
  %341 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %341, ptr %11, align 4, !tbaa !9
  store i32 189195, ptr %15, align 4, !tbaa !9
  %342 = load i32, ptr %15, align 4, !tbaa !9
  %343 = load i32, ptr %14, align 4, !tbaa !9
  %344 = add i32 %343, %342
  store i32 %344, ptr %14, align 4, !tbaa !9
  %345 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %345, ptr %15, align 4, !tbaa !9
  store i32 86379, ptr %16, align 4, !tbaa !9
  %346 = load i32, ptr %16, align 4, !tbaa !9
  %347 = load i32, ptr %15, align 4, !tbaa !9
  %348 = add i32 %347, %346
  store i32 %348, ptr %15, align 4, !tbaa !9
  store i32 1091, ptr %16, align 4, !tbaa !9
  %349 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %349, ptr %17, align 4, !tbaa !9
  store i32 109843, ptr %18, align 4, !tbaa !9
  %350 = load i32, ptr %18, align 4, !tbaa !9
  %351 = load i32, ptr %17, align 4, !tbaa !9
  %352 = add i32 %351, %350
  store i32 %352, ptr %17, align 4, !tbaa !9
  %353 = load ptr, ptr %6, align 8, !tbaa !5
  %354 = load i32, ptr %14, align 4, !tbaa !9
  %355 = load i32, ptr %15, align 4, !tbaa !9
  %356 = load i32, ptr %16, align 4, !tbaa !9
  %357 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %353, i32 noundef %354, i32 noundef %355, i32 noundef %356, i32 noundef %357)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

358:                                              ; preds = %80
  store i32 0, ptr %14, align 4, !tbaa !9
  %359 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %359, ptr %11, align 4, !tbaa !9
  store i32 131267, ptr %15, align 4, !tbaa !9
  %360 = load i32, ptr %15, align 4, !tbaa !9
  %361 = load i32, ptr %14, align 4, !tbaa !9
  %362 = add i32 %361, %360
  store i32 %362, ptr %14, align 4, !tbaa !9
  %363 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %363, ptr %15, align 4, !tbaa !9
  store i32 77414, ptr %16, align 4, !tbaa !9
  %364 = load i32, ptr %16, align 4, !tbaa !9
  %365 = load i32, ptr %15, align 4, !tbaa !9
  %366 = add i32 %365, %364
  store i32 %366, ptr %15, align 4, !tbaa !9
  store i32 307, ptr %16, align 4, !tbaa !9
  %367 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %367, ptr %17, align 4, !tbaa !9
  store i32 107220, ptr %18, align 4, !tbaa !9
  %368 = load i32, ptr %18, align 4, !tbaa !9
  %369 = load i32, ptr %17, align 4, !tbaa !9
  %370 = add i32 %369, %368
  store i32 %370, ptr %17, align 4, !tbaa !9
  %371 = load ptr, ptr %6, align 8, !tbaa !5
  %372 = load i32, ptr %14, align 4, !tbaa !9
  %373 = load i32, ptr %15, align 4, !tbaa !9
  %374 = load i32, ptr %16, align 4, !tbaa !9
  %375 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %371, i32 noundef %372, i32 noundef %373, i32 noundef %374, i32 noundef %375)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

376:                                              ; preds = %278
  %377 = 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 %377
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArguments0x3A0x3AArguments0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(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_hermes0x3A0x3Avm0x3A0x3AArguments0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3AArguments0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x29(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 297636)
  %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 %70, 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)
  %.not215 = icmp eq i32 %16, 0
  br i1 %.not215, label %17, label %71

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)
  %.not216 = icmp eq i32 %20, 0
  br i1 %.not216, label %21, label %72

21:                                               ; preds = %17
  %22 = add nuw nsw i64 %18, 588
  %23 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %22)
  %.not217 = icmp eq i32 %23, 0
  br i1 %.not217, label %73, 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)
  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)
  %.not218 = icmp eq i32 %47, 0
  br i1 %.not218, label %52, label %48

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

52:                                               ; preds = %48, %35
  %53 = add i32 %7, -8
  %54 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArguments0x3A0x3AArguments0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(ptr noundef nonnull %0, i32 noundef %.0, i32 noundef %2, i32 noundef %53, i32 noundef %8)
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %39)
  %.not219 = icmp eq i32 %55, 0
  br i1 %.not219, label %60, label %56

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

60:                                               ; preds = %56, %52
  %61 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %42)
  %.not220 = icmp eq i32 %61, 0
  br i1 %.not220, label %66, label %62

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

66:                                               ; preds = %62, %60
  %67 = zext i32 %54 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %67, i32 noundef 520093744)
  %68 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef nonnull %0, i32 noundef %1)
  %69 = add nuw nsw i64 %67, 8
  tail call void @i64_store32(ptr noundef nonnull %9, i64 noundef %69, i64 noundef %68)
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret i32 %54

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

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

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

73:                                               ; 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_hermes0x3A0x3Avm0x3A0x3AArguments0x3A0x3AArguments0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(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