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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

51:                                               ; preds = %3
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %268

52:                                               ; preds = %3
  %53 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %53, ptr %12, align 4, !tbaa !9
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %12, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 12
  %59 = call i32 @i32_load8_u(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %12, align 4, !tbaa !9
  %60 = load i32, ptr %12, align 4, !tbaa !9
  %61 = icmp ne i32 %60, 0
  %62 = xor i1 %61, true
  %63 = zext i1 %62 to i32
  store i32 %63, ptr %12, align 4, !tbaa !9
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %67

66:                                               ; preds = %52
  br label %278

67:                                               ; preds = %52
  %68 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %68, ptr %12, align 4, !tbaa !9
  %69 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %69, ptr %13, align 4, !tbaa !9
  %70 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %70, ptr %14, align 4, !tbaa !9
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = load i32, ptr %12, align 4, !tbaa !9
  %73 = load i32, ptr %13, align 4, !tbaa !9
  %74 = load i32, ptr %14, align 4, !tbaa !9
  %75 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x2A0x29(ptr noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
  store i32 %75, ptr %12, align 4, !tbaa !9
  %76 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %76, ptr %8, align 4, !tbaa !9
  %77 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %77, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %12, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = add i64 %81, 12
  %83 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %79, i64 noundef %82, i32 noundef %83)
  %84 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %84, ptr %12, align 4, !tbaa !9
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %12, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 4
  %90 = call i32 @i32_load(ptr noundef %86, i64 noundef %89)
  store i32 %90, ptr %12, align 4, !tbaa !9
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = call i64 @i64_load(ptr noundef %92, i64 noundef %94)
  store i64 %95, ptr %17, align 8, !tbaa !11
  %96 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %96, ptr %11, align 8, !tbaa !11
  store i64 48, ptr %18, align 8, !tbaa !11
  %97 = load i64, ptr %17, align 8, !tbaa !11
  %98 = load i64, ptr %18, align 8, !tbaa !11
  %99 = and i64 %98, 63
  %100 = ashr i64 %97, %99
  store i64 %100, ptr %17, align 8, !tbaa !11
  %101 = load i64, ptr %17, align 8, !tbaa !11
  %102 = trunc i64 %101 to i32
  store i32 %102, ptr %12, align 4, !tbaa !9
  store i32 -1, ptr %13, align 4, !tbaa !9
  %103 = load i32, ptr %12, align 4, !tbaa !9
  %104 = load i32, ptr %13, align 4, !tbaa !9
  %105 = icmp ne i32 %103, %104
  %106 = zext i1 %105 to i32
  store i32 %106, ptr %12, align 4, !tbaa !9
  %107 = load i32, ptr %12, align 4, !tbaa !9
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %67
  br label %296

110:                                              ; preds = %67
  %111 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %111, ptr %17, align 8, !tbaa !11
  store i64 -844424930131969, ptr %18, align 8, !tbaa !11
  %112 = load i64, ptr %17, align 8, !tbaa !11
  %113 = load i64, ptr %18, align 8, !tbaa !11
  %114 = icmp ule i64 %112, %113
  %115 = zext i1 %114 to i32
  store i32 %115, ptr %12, align 4, !tbaa !9
  %116 = load i32, ptr %12, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %119

118:                                              ; preds = %110
  br label %314

119:                                              ; preds = %110
  %120 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %120, ptr %17, align 8, !tbaa !11
  %121 = load i64, ptr %17, align 8, !tbaa !11
  %122 = trunc i64 %121 to i32
  store i32 %122, ptr %12, align 4, !tbaa !9
  %123 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %123, ptr %10, align 4, !tbaa !9
  %124 = load i32, ptr %12, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  %126 = xor i1 %125, true
  %127 = zext i1 %126 to i32
  store i32 %127, ptr %12, align 4, !tbaa !9
  %128 = load i32, ptr %12, align 4, !tbaa !9
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %131

130:                                              ; preds = %119
  br label %332

131:                                              ; preds = %119
  %132 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %132, ptr %12, align 4, !tbaa !9
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.w2c_hermes, ptr %133, i32 0, i32 6
  %135 = load i32, ptr %12, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = add i64 %136, 4
  %138 = call i32 @i32_load(ptr noundef %134, i64 noundef %137)
  store i32 %138, ptr %12, align 4, !tbaa !9
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.w2c_hermes, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %12, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = call i64 @i64_load(ptr noundef %140, i64 noundef %142)
  store i64 %143, ptr %17, align 8, !tbaa !11
  %144 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %144, ptr %11, align 8, !tbaa !11
  store i64 48, ptr %18, align 8, !tbaa !11
  %145 = load i64, ptr %17, align 8, !tbaa !11
  %146 = load i64, ptr %18, align 8, !tbaa !11
  %147 = and i64 %146, 63
  %148 = ashr i64 %145, %147
  store i64 %148, ptr %17, align 8, !tbaa !11
  %149 = load i64, ptr %17, align 8, !tbaa !11
  %150 = trunc i64 %149 to i32
  store i32 %150, ptr %12, align 4, !tbaa !9
  store i32 -1, ptr %13, align 4, !tbaa !9
  %151 = load i32, ptr %12, align 4, !tbaa !9
  %152 = load i32, ptr %13, align 4, !tbaa !9
  %153 = icmp ne i32 %151, %152
  %154 = zext i1 %153 to i32
  store i32 %154, ptr %12, align 4, !tbaa !9
  %155 = load i32, ptr %12, align 4, !tbaa !9
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %158

157:                                              ; preds = %131
  br label %350

158:                                              ; preds = %131
  %159 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %159, ptr %17, align 8, !tbaa !11
  store i64 -844424930131969, ptr %18, align 8, !tbaa !11
  %160 = load i64, ptr %17, align 8, !tbaa !11
  %161 = load i64, ptr %18, align 8, !tbaa !11
  %162 = icmp ule i64 %160, %161
  %163 = zext i1 %162 to i32
  store i32 %163, ptr %12, align 4, !tbaa !9
  %164 = load i32, ptr %12, align 4, !tbaa !9
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %167

166:                                              ; preds = %158
  br label %368

167:                                              ; preds = %158
  %168 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %168, ptr %12, align 4, !tbaa !9
  store i32 808, ptr %13, align 4, !tbaa !9
  %169 = load i32, ptr %13, align 4, !tbaa !9
  %170 = load i32, ptr %12, align 4, !tbaa !9
  %171 = add i32 %170, %169
  store i32 %171, ptr %12, align 4, !tbaa !9
  %172 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %172, ptr %5, align 4, !tbaa !9
  %173 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %173, ptr %17, align 8, !tbaa !11
  %174 = load i64, ptr %17, align 8, !tbaa !11
  %175 = trunc i64 %174 to i32
  store i32 %175, ptr %12, align 4, !tbaa !9
  %176 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %176, ptr %9, align 4, !tbaa !9
  %177 = load i32, ptr %12, align 4, !tbaa !9
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %194

179:                                              ; preds = %167
  %180 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %180, ptr %12, align 4, !tbaa !9
  %181 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %181, ptr %13, align 4, !tbaa !9
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = load i32, ptr %12, align 4, !tbaa !9
  %184 = load i32, ptr %13, align 4, !tbaa !9
  %185 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %182, i32 noundef %183, i32 noundef %184)
  store i32 %185, ptr %12, align 4, !tbaa !9
  %186 = load i32, ptr %12, align 4, !tbaa !9
  %187 = icmp ne i32 %186, 0
  %188 = xor i1 %187, true
  %189 = zext i1 %188 to i32
  store i32 %189, ptr %12, align 4, !tbaa !9
  %190 = load i32, ptr %12, align 4, !tbaa !9
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %193

192:                                              ; preds = %179
  br label %386

193:                                              ; preds = %179
  br label %194

194:                                              ; preds = %193, %167
  %195 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %195, ptr %12, align 4, !tbaa !9
  %196 = load ptr, ptr %4, align 8, !tbaa !5
  %197 = load i32, ptr %12, align 4, !tbaa !9
  %198 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef %196, i32 noundef %197)
  store i32 %198, ptr %12, align 4, !tbaa !9
  %199 = load i32, ptr %12, align 4, !tbaa !9
  %200 = icmp ne i32 %199, 0
  br i1 %200, label %201, label %202

201:                                              ; preds = %194
  br label %404

202:                                              ; preds = %194
  %203 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %203, ptr %12, align 4, !tbaa !9
  store i32 1396, ptr %13, align 4, !tbaa !9
  %204 = load i32, ptr %13, align 4, !tbaa !9
  %205 = load i32, ptr %12, align 4, !tbaa !9
  %206 = add i32 %205, %204
  store i32 %206, ptr %12, align 4, !tbaa !9
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.w2c_hermes, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %12, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = call i32 @i32_load(ptr noundef %208, i64 noundef %210)
  store i32 %211, ptr %12, align 4, !tbaa !9
  %212 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %212, ptr %13, align 4, !tbaa !9
  store i32 28, ptr %14, align 4, !tbaa !9
  %213 = load i32, ptr %14, align 4, !tbaa !9
  %214 = load i32, ptr %13, align 4, !tbaa !9
  %215 = add i32 %214, %213
  store i32 %215, ptr %13, align 4, !tbaa !9
  %216 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %216, ptr %6, align 4, !tbaa !9
  store i32 -4194304, ptr %14, align 4, !tbaa !9
  %217 = load i32, ptr %14, align 4, !tbaa !9
  %218 = load i32, ptr %13, align 4, !tbaa !9
  %219 = and i32 %218, %217
  store i32 %219, ptr %13, align 4, !tbaa !9
  %220 = load i32, ptr %12, align 4, !tbaa !9
  %221 = load i32, ptr %13, align 4, !tbaa !9
  %222 = icmp ne i32 %220, %221
  %223 = zext i1 %222 to i32
  store i32 %223, ptr %12, align 4, !tbaa !9
  %224 = load i32, ptr %12, align 4, !tbaa !9
  %225 = icmp ne i32 %224, 0
  br i1 %225, label %226, label %234

226:                                              ; preds = %202
  %227 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %227, ptr %12, align 4, !tbaa !9
  %228 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %228, ptr %13, align 4, !tbaa !9
  %229 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %229, ptr %14, align 4, !tbaa !9
  %230 = load ptr, ptr %4, align 8, !tbaa !5
  %231 = load i32, ptr %12, align 4, !tbaa !9
  %232 = load i32, ptr %13, align 4, !tbaa !9
  %233 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef %230, i32 noundef %231, i32 noundef %232, i32 noundef %233)
  br label %234

234:                                              ; preds = %226, %202
  %235 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %235, ptr %12, align 4, !tbaa !9
  %236 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %236, ptr %13, align 4, !tbaa !9
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.w2c_hermes, ptr %237, i32 0, i32 6
  %239 = load i32, ptr %12, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %238, i64 noundef %240, i32 noundef %241)
  %242 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %242, ptr %12, align 4, !tbaa !9
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.w2c_hermes, ptr %243, i32 0, i32 6
  %245 = load i32, ptr %12, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = call i32 @i32_load(ptr noundef %244, i64 noundef %246)
  store i32 %247, ptr %12, align 4, !tbaa !9
  %248 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %248, ptr %6, align 4, !tbaa !9
  %249 = load i32, ptr %12, align 4, !tbaa !9
  %250 = icmp ne i32 %249, 0
  br i1 %250, label %251, label %267

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

267:                                              ; preds = %251, %234
  store i32 1, ptr %12, align 4, !tbaa !9
  br label %268

268:                                              ; preds = %267, %51
  %269 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %269, ptr %6, align 4, !tbaa !9
  %270 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %270, ptr %12, align 4, !tbaa !9
  store i32 16, ptr %13, align 4, !tbaa !9
  %271 = load i32, ptr %13, align 4, !tbaa !9
  %272 = load i32, ptr %12, align 4, !tbaa !9
  %273 = add i32 %272, %271
  store i32 %273, ptr %12, align 4, !tbaa !9
  %274 = load i32, ptr %12, align 4, !tbaa !9
  %275 = load ptr, ptr %4, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.w2c_hermes, ptr %275, i32 0, i32 3
  store i32 %274, ptr %276, align 8, !tbaa !13
  %277 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %277, ptr %12, align 4, !tbaa !9
  br label %422

278:                                              ; preds = %66
  store i32 0, ptr %12, align 4, !tbaa !9
  %279 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %279, ptr %7, align 4, !tbaa !9
  store i32 179505, ptr %13, align 4, !tbaa !9
  %280 = load i32, ptr %13, align 4, !tbaa !9
  %281 = load i32, ptr %12, align 4, !tbaa !9
  %282 = add i32 %281, %280
  store i32 %282, ptr %12, align 4, !tbaa !9
  %283 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %283, ptr %13, align 4, !tbaa !9
  store i32 84574, ptr %14, align 4, !tbaa !9
  %284 = load i32, ptr %14, align 4, !tbaa !9
  %285 = load i32, ptr %13, align 4, !tbaa !9
  %286 = add i32 %285, %284
  store i32 %286, ptr %13, align 4, !tbaa !9
  store i32 127, ptr %14, align 4, !tbaa !9
  %287 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %287, ptr %15, align 4, !tbaa !9
  store i32 35614, ptr %16, align 4, !tbaa !9
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = load i32, ptr %15, align 4, !tbaa !9
  %290 = add i32 %289, %288
  store i32 %290, ptr %15, align 4, !tbaa !9
  %291 = load ptr, ptr %4, align 8, !tbaa !5
  %292 = load i32, ptr %12, align 4, !tbaa !9
  %293 = load i32, ptr %13, align 4, !tbaa !9
  %294 = load i32, ptr %14, align 4, !tbaa !9
  %295 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %291, i32 noundef %292, i32 noundef %293, i32 noundef %294, i32 noundef %295)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

296:                                              ; preds = %109
  store i32 0, ptr %12, align 4, !tbaa !9
  %297 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %297, ptr %7, align 4, !tbaa !9
  store i32 118124, ptr %13, align 4, !tbaa !9
  %298 = load i32, ptr %13, align 4, !tbaa !9
  %299 = load i32, ptr %12, align 4, !tbaa !9
  %300 = add i32 %299, %298
  store i32 %300, ptr %12, align 4, !tbaa !9
  %301 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %301, ptr %13, align 4, !tbaa !9
  store i32 83341, ptr %14, align 4, !tbaa !9
  %302 = load i32, ptr %14, align 4, !tbaa !9
  %303 = load i32, ptr %13, align 4, !tbaa !9
  %304 = add i32 %303, %302
  store i32 %304, ptr %13, align 4, !tbaa !9
  store i32 480, ptr %14, align 4, !tbaa !9
  %305 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %305, ptr %15, align 4, !tbaa !9
  store i32 38798, ptr %16, align 4, !tbaa !9
  %306 = load i32, ptr %16, align 4, !tbaa !9
  %307 = load i32, ptr %15, align 4, !tbaa !9
  %308 = add i32 %307, %306
  store i32 %308, ptr %15, align 4, !tbaa !9
  %309 = load ptr, ptr %4, align 8, !tbaa !5
  %310 = load i32, ptr %12, align 4, !tbaa !9
  %311 = load i32, ptr %13, align 4, !tbaa !9
  %312 = load i32, ptr %14, align 4, !tbaa !9
  %313 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %309, i32 noundef %310, i32 noundef %311, i32 noundef %312, i32 noundef %313)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

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

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

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

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

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

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

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

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

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

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

13:                                               ; preds = %3
  %14 = add nuw nsw i64 %9, 12
  %15 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %14)
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %53, label %16

16:                                               ; preds = %13
  %17 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x2A0x29(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %2, i32 noundef %11)
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %14, i32 noundef 0)
  %18 = zext i32 %1 to i64
  %19 = add nuw nsw i64 %18, 4
  %20 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %19)
  %21 = zext i32 %20 to i64
  %22 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %21)
  %.not257 = icmp ugt i64 %22, -281474976710657
  br i1 %.not257, label %23, label %54

23:                                               ; preds = %16
  %24 = trunc i64 %22 to i32
  %.not258 = icmp eq i32 %24, 0
  br i1 %.not258, label %55, label %25

25:                                               ; preds = %23
  %26 = zext i32 %17 to i64
  %27 = add nuw nsw i64 %26, 4
  %28 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %27)
  %29 = zext i32 %28 to i64
  %30 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %29)
  %.not259 = icmp ugt i64 %30, -281474976710657
  br i1 %.not259, label %31, label %56

31:                                               ; preds = %25
  %32 = add i32 %2, 808
  %33 = trunc i64 %30 to i32
  %.not260 = icmp eq i32 %33, 0
  br i1 %.not260, label %36, label %34

34:                                               ; preds = %31
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %33)
  %.not261 = icmp eq i32 %35, 0
  br i1 %.not261, label %57, label %36

36:                                               ; preds = %34, %31
  %37 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef nonnull %0, i32 noundef %32)
  %.not262 = icmp eq i32 %37, 0
  br i1 %.not262, label %38, label %58

38:                                               ; preds = %36
  %39 = add i32 %2, 1396
  %40 = zext i32 %39 to i64
  %41 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %40)
  %42 = add i32 %24, 28
  %43 = and i32 %42, -4194304
  %.not263 = icmp eq i32 %41, %43
  br i1 %.not263, label %45, label %44

44:                                               ; preds = %38
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %42, i32 noundef %33)
  br label %45

45:                                               ; preds = %44, %38
  %46 = zext i32 %42 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %46, i32 noundef %33)
  %47 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %26)
  %.not264 = icmp eq i32 %47, 0
  br i1 %.not264, label %52, label %48

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

52:                                               ; preds = %45, %48, %3
  %.0 = phi i32 [ 0, %3 ], [ 1, %48 ], [ 1, %45 ]
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret i32 %.0

53:                                               ; preds = %13
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 179505, i32 noundef 84574, i32 noundef 127, i32 noundef 35614) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

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

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

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

57:                                               ; preds = %34
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147378, i32 noundef 83763, i32 noundef 39, i32 noundef 34798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

58:                                               ; preds = %36
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 200002, i32 noundef 86379, i32 noundef 182, i32 noundef 50413) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

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