; 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

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, 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 void @i64_store(ptr noundef, i64 noundef, i64 noundef) #3

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

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

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AweakRefReadBarrier0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #2

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransitionMap0x3A0x3AuncleanMakeLarge0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(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 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 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 4, ptr %11) #5
  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
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.w2c_hermes, ptr %18, i32 0, i32 3
  %20 = load i32, ptr %19, align 8, !tbaa !11
  store i32 %20, ptr %11, align 4, !tbaa !9
  store i32 16, ptr %12, align 4, !tbaa !9
  %21 = load i32, ptr %12, align 4, !tbaa !9
  %22 = load i32, ptr %11, align 4, !tbaa !9
  %23 = sub i32 %22, %21
  store i32 %23, ptr %11, align 4, !tbaa !9
  %24 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %24, ptr %9, align 4, !tbaa !9
  %25 = load i32, ptr %11, align 4, !tbaa !9
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 3
  store i32 %25, ptr %27, align 8, !tbaa !11
  %28 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %28, ptr %11, align 4, !tbaa !9
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.w2c_hermes, ptr %29, i32 0, i32 6
  %31 = load i32, ptr %11, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = call i32 @i32_load(ptr noundef %30, i64 noundef %32)
  store i32 %33, ptr %11, align 4, !tbaa !9
  store i32 536870910, ptr %12, align 4, !tbaa !9
  %34 = load i32, ptr %12, align 4, !tbaa !9
  %35 = load i32, ptr %11, align 4, !tbaa !9
  %36 = sub i32 %35, %34
  store i32 %36, ptr %11, align 4, !tbaa !9
  %37 = load i32, ptr %11, align 4, !tbaa !9
  switch i32 %37, label %40 [
    i32 0, label %38
    i32 1, label %39
  ]

38:                                               ; preds = %3
  br label %58

39:                                               ; preds = %3
  br label %41

40:                                               ; preds = %3
  br label %75

41:                                               ; preds = %39
  store i32 0, ptr %11, align 4, !tbaa !9
  store i32 155684, ptr %12, align 4, !tbaa !9
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr %11, align 4, !tbaa !9
  %44 = add i32 %43, %42
  store i32 %44, ptr %11, align 4, !tbaa !9
  %45 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %45, ptr %12, align 4, !tbaa !9
  store i32 55536, ptr %13, align 4, !tbaa !9
  %46 = load i32, ptr %13, align 4, !tbaa !9
  %47 = load i32, ptr %12, align 4, !tbaa !9
  %48 = add i32 %47, %46
  store i32 %48, ptr %12, align 4, !tbaa !9
  store i32 85, ptr %13, align 4, !tbaa !9
  %49 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %49, ptr %14, align 4, !tbaa !9
  store i32 99642, ptr %15, align 4, !tbaa !9
  %50 = load i32, ptr %15, align 4, !tbaa !9
  %51 = load i32, ptr %14, align 4, !tbaa !9
  %52 = add i32 %51, %50
  store i32 %52, ptr %14, align 4, !tbaa !9
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = load i32, ptr %12, align 4, !tbaa !9
  %56 = load i32, ptr %13, align 4, !tbaa !9
  %57 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

58:                                               ; preds = %38
  store i32 0, ptr %11, align 4, !tbaa !9
  store i32 169610, ptr %12, align 4, !tbaa !9
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = load i32, ptr %11, align 4, !tbaa !9
  %61 = add i32 %60, %59
  store i32 %61, ptr %11, align 4, !tbaa !9
  %62 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %62, ptr %12, align 4, !tbaa !9
  store i32 55536, ptr %13, align 4, !tbaa !9
  %63 = load i32, ptr %13, align 4, !tbaa !9
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = add i32 %64, %63
  store i32 %65, ptr %12, align 4, !tbaa !9
  store i32 86, ptr %13, align 4, !tbaa !9
  %66 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %66, ptr %14, align 4, !tbaa !9
  store i32 99642, ptr %15, align 4, !tbaa !9
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = add i32 %68, %67
  store i32 %69, ptr %14, align 4, !tbaa !9
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = load i32, ptr %11, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

75:                                               ; preds = %40
  store i32 108, ptr %11, align 4, !tbaa !9
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %76, i32 noundef %77)
  store i32 %78, ptr %11, align 4, !tbaa !9
  %79 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %79, ptr %7, align 4, !tbaa !9
  store i32 5, ptr %12, align 4, !tbaa !9
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = add i64 %83, 104
  %85 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %81, i64 noundef %84, i32 noundef %85)
  %86 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %86, ptr %11, align 4, !tbaa !9
  store i64 536870911, ptr %17, align 8, !tbaa !17
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 6
  %89 = load i32, ptr %11, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = add i64 %90, 8
  %92 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %88, i64 noundef %91, i64 noundef %92)
  %93 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %93, ptr %11, align 4, !tbaa !9
  store i64 1, ptr %17, align 8, !tbaa !17
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %11, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %95, i64 noundef %97, i64 noundef %98)
  %99 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %99, ptr %11, align 4, !tbaa !9
  store i64 536870911, ptr %17, align 8, !tbaa !17
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %11, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = add i64 %103, 92
  %105 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %101, i64 noundef %104, i64 noundef %105)
  %106 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %106, ptr %11, align 4, !tbaa !9
  store i64 536870911, ptr %17, align 8, !tbaa !17
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.w2c_hermes, ptr %107, i32 0, i32 6
  %109 = load i32, ptr %11, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = add i64 %110, 80
  %112 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %108, i64 noundef %111, i64 noundef %112)
  %113 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %113, ptr %11, align 4, !tbaa !9
  store i64 536870911, ptr %17, align 8, !tbaa !17
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.w2c_hermes, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %11, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = add i64 %117, 68
  %119 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %115, i64 noundef %118, i64 noundef %119)
  %120 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %120, ptr %11, align 4, !tbaa !9
  store i64 536870911, ptr %17, align 8, !tbaa !17
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.w2c_hermes, ptr %121, i32 0, i32 6
  %123 = load i32, ptr %11, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = add i64 %124, 56
  %126 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %122, i64 noundef %125, i64 noundef %126)
  %127 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %127, ptr %11, align 4, !tbaa !9
  store i64 536870911, ptr %17, align 8, !tbaa !17
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.w2c_hermes, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %11, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = add i64 %131, 44
  %133 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %129, i64 noundef %132, i64 noundef %133)
  %134 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %134, ptr %11, align 4, !tbaa !9
  store i64 536870911, ptr %17, align 8, !tbaa !17
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %11, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = add i64 %138, 32
  %140 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %136, i64 noundef %139, i64 noundef %140)
  %141 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %141, ptr %11, align 4, !tbaa !9
  store i64 536870911, ptr %17, align 8, !tbaa !17
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %11, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 20
  %147 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %143, i64 noundef %146, i64 noundef %147)
  %148 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %148, ptr %11, align 4, !tbaa !9
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.w2c_hermes, ptr %149, i32 0, i32 6
  %151 = load i32, ptr %11, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = add i64 %152, 8
  %154 = call i32 @i32_load(ptr noundef %150, i64 noundef %153)
  store i32 %154, ptr %11, align 4, !tbaa !9
  %155 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %155, ptr %8, align 4, !tbaa !9
  %156 = load i32, ptr %11, align 4, !tbaa !9
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %158, label %310

158:                                              ; preds = %75
  %159 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %159, ptr %11, align 4, !tbaa !9
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.w2c_hermes, ptr %160, i32 0, i32 6
  %162 = load i32, ptr %11, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = add i64 %163, 4
  %165 = call i32 @i32_load8_u(ptr noundef %161, i64 noundef %164)
  store i32 %165, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %166 = load i32, ptr %12, align 4, !tbaa !9
  %167 = load i32, ptr %11, align 4, !tbaa !9
  %168 = and i32 %167, %166
  store i32 %168, ptr %11, align 4, !tbaa !9
  %169 = load i32, ptr %11, align 4, !tbaa !9
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %172

171:                                              ; preds = %158
  br label %328

172:                                              ; preds = %158
  %173 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %173, ptr %11, align 4, !tbaa !9
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %11, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = call i32 @i32_load(ptr noundef %175, i64 noundef %177)
  store i32 %178, ptr %11, align 4, !tbaa !9
  %179 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %179, ptr %10, align 4, !tbaa !9
  %180 = load i32, ptr %11, align 4, !tbaa !9
  %181 = icmp ne i32 %180, 0
  %182 = xor i1 %181, true
  %183 = zext i1 %182 to i32
  store i32 %183, ptr %11, align 4, !tbaa !9
  %184 = load i32, ptr %11, align 4, !tbaa !9
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %187

186:                                              ; preds = %172
  br label %261

187:                                              ; preds = %172
  %188 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %188, ptr %11, align 4, !tbaa !9
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %11, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 4
  %194 = call i32 @i32_load8_u(ptr noundef %190, i64 noundef %193)
  store i32 %194, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %195 = load i32, ptr %12, align 4, !tbaa !9
  %196 = load i32, ptr %11, align 4, !tbaa !9
  %197 = and i32 %196, %195
  store i32 %197, ptr %11, align 4, !tbaa !9
  %198 = load i32, ptr %11, align 4, !tbaa !9
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %201

200:                                              ; preds = %187
  br label %346

201:                                              ; preds = %187
  %202 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %202, ptr %11, align 4, !tbaa !9
  store i32 808, ptr %12, align 4, !tbaa !9
  %203 = load i32, ptr %12, align 4, !tbaa !9
  %204 = load i32, ptr %11, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %11, align 4, !tbaa !9
  %206 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %206, ptr %12, align 4, !tbaa !9
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = load i32, ptr %11, align 4, !tbaa !9
  %209 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AweakRefReadBarrier0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x29(ptr noundef %207, i32 noundef %208, i32 noundef %209)
  %210 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %210, ptr %11, align 4, !tbaa !9
  %211 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %211, ptr %12, align 4, !tbaa !9
  %212 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %212, ptr %13, align 4, !tbaa !9
  %213 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %213, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %214 = load i32, ptr %15, align 4, !tbaa !9
  %215 = load i32, ptr %14, align 4, !tbaa !9
  %216 = add i32 %215, %214
  store i32 %216, ptr %14, align 4, !tbaa !9
  %217 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %217, ptr %15, align 4, !tbaa !9
  %218 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %218, ptr %16, align 4, !tbaa !9
  %219 = load ptr, ptr %4, 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 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x29(ptr noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222)
  store i32 %223, ptr %14, align 4, !tbaa !9
  %224 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %224, ptr %8, align 4, !tbaa !9
  %225 = load ptr, ptr %4, align 8, !tbaa !5
  %226 = load i32, ptr %11, align 4, !tbaa !9
  %227 = load i32, ptr %12, align 4, !tbaa !9
  %228 = load i32, ptr %13, align 4, !tbaa !9
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AWeakValueMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AinsertNew0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(ptr noundef %225, i32 noundef %226, i32 noundef %227, i32 noundef %228, i32 noundef %229)
  store i32 %230, ptr %11, align 4, !tbaa !9
  %231 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %231, ptr %11, align 4, !tbaa !9
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %11, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = call i32 @i32_load(ptr noundef %233, i64 noundef %235)
  store i32 %236, ptr %11, align 4, !tbaa !9
  %237 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %237, ptr %6, align 4, !tbaa !9
  %238 = load i32, ptr %11, align 4, !tbaa !9
  %239 = icmp ne i32 %238, 0
  %240 = xor i1 %239, true
  %241 = zext i1 %240 to i32
  store i32 %241, ptr %11, align 4, !tbaa !9
  %242 = load i32, ptr %11, align 4, !tbaa !9
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %245

244:                                              ; preds = %201
  br label %261

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

261:                                              ; preds = %245, %244, %186
  %262 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %262, ptr %11, align 4, !tbaa !9
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.w2c_hermes, ptr %263, i32 0, i32 6
  %265 = load i32, ptr %11, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = call i32 @i32_load(ptr noundef %264, i64 noundef %266)
  store i32 %267, ptr %11, align 4, !tbaa !9
  store i32 536870910, ptr %12, align 4, !tbaa !9
  %268 = load i32, ptr %11, align 4, !tbaa !9
  %269 = load i32, ptr %12, align 4, !tbaa !9
  %270 = icmp eq i32 %268, %269
  %271 = zext i1 %270 to i32
  store i32 %271, ptr %11, align 4, !tbaa !9
  %272 = load i32, ptr %11, align 4, !tbaa !9
  %273 = icmp ne i32 %272, 0
  br i1 %273, label %274, label %275

274:                                              ; preds = %261
  br label %364

275:                                              ; preds = %261
  %276 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %276, ptr %11, align 4, !tbaa !9
  %277 = load ptr, ptr %4, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.w2c_hermes, ptr %277, i32 0, i32 6
  %279 = load i32, ptr %11, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = add i64 %280, 8
  %282 = call i32 @i32_load(ptr noundef %278, i64 noundef %281)
  store i32 %282, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %283 = load ptr, ptr %4, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.w2c_hermes, ptr %283, i32 0, i32 6
  %285 = load i32, ptr %11, align 4, !tbaa !9
  %286 = zext i32 %285 to i64
  %287 = add i64 %286, 4
  %288 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %284, i64 noundef %287, i32 noundef %288)
  %289 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %289, ptr %11, align 4, !tbaa !9
  store i32 536870910, ptr %12, align 4, !tbaa !9
  %290 = load ptr, ptr %4, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.w2c_hermes, ptr %290, i32 0, i32 6
  %292 = load i32, ptr %11, align 4, !tbaa !9
  %293 = zext i32 %292 to i64
  %294 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %291, i64 noundef %293, i32 noundef %294)
  %295 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %295, ptr %11, align 4, !tbaa !9
  %296 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %296, ptr %12, align 4, !tbaa !9
  %297 = load ptr, ptr %4, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.w2c_hermes, ptr %297, i32 0, i32 6
  %299 = load i32, ptr %11, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = add i64 %300, 8
  %302 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %298, i64 noundef %301, i32 noundef %302)
  %303 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %303, ptr %11, align 4, !tbaa !9
  store i32 16, ptr %12, align 4, !tbaa !9
  %304 = load i32, ptr %12, align 4, !tbaa !9
  %305 = load i32, ptr %11, align 4, !tbaa !9
  %306 = add i32 %305, %304
  store i32 %306, ptr %11, align 4, !tbaa !9
  %307 = load i32, ptr %11, align 4, !tbaa !9
  %308 = load ptr, ptr %4, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.w2c_hermes, ptr %308, i32 0, i32 3
  store i32 %307, ptr %309, align 8, !tbaa !11
  br label %382

310:                                              ; preds = %75
  store i32 0, ptr %11, align 4, !tbaa !9
  %311 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %311, ptr %7, align 4, !tbaa !9
  store i32 156754, ptr %12, align 4, !tbaa !9
  %312 = load i32, ptr %12, align 4, !tbaa !9
  %313 = load i32, ptr %11, align 4, !tbaa !9
  %314 = add i32 %313, %312
  store i32 %314, ptr %11, align 4, !tbaa !9
  %315 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %315, ptr %12, align 4, !tbaa !9
  store i32 82911, 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
  store i32 38, ptr %13, align 4, !tbaa !9
  %319 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %319, ptr %14, align 4, !tbaa !9
  store i32 103443, ptr %15, align 4, !tbaa !9
  %320 = load i32, ptr %15, align 4, !tbaa !9
  %321 = load i32, ptr %14, align 4, !tbaa !9
  %322 = add i32 %321, %320
  store i32 %322, ptr %14, align 4, !tbaa !9
  %323 = load ptr, ptr %4, align 8, !tbaa !5
  %324 = load i32, ptr %11, align 4, !tbaa !9
  %325 = load i32, ptr %12, align 4, !tbaa !9
  %326 = load i32, ptr %13, align 4, !tbaa !9
  %327 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %323, i32 noundef %324, i32 noundef %325, i32 noundef %326, i32 noundef %327)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

328:                                              ; preds = %171
  store i32 0, ptr %11, align 4, !tbaa !9
  %329 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %329, ptr %7, align 4, !tbaa !9
  store i32 163361, ptr %12, align 4, !tbaa !9
  %330 = load i32, ptr %12, align 4, !tbaa !9
  %331 = load i32, ptr %11, align 4, !tbaa !9
  %332 = add i32 %331, %330
  store i32 %332, ptr %11, align 4, !tbaa !9
  %333 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %333, ptr %12, align 4, !tbaa !9
  store i32 77346, 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
  store i32 30, ptr %13, align 4, !tbaa !9
  %337 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %337, ptr %14, align 4, !tbaa !9
  store i32 90558, ptr %15, align 4, !tbaa !9
  %338 = load i32, ptr %15, align 4, !tbaa !9
  %339 = load i32, ptr %14, align 4, !tbaa !9
  %340 = add i32 %339, %338
  store i32 %340, ptr %14, align 4, !tbaa !9
  %341 = load ptr, ptr %4, align 8, !tbaa !5
  %342 = load i32, ptr %11, align 4, !tbaa !9
  %343 = load i32, ptr %12, align 4, !tbaa !9
  %344 = load i32, ptr %13, align 4, !tbaa !9
  %345 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %341, i32 noundef %342, i32 noundef %343, i32 noundef %344, i32 noundef %345)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

346:                                              ; preds = %200
  store i32 0, ptr %11, align 4, !tbaa !9
  %347 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %347, ptr %7, align 4, !tbaa !9
  store i32 163361, ptr %12, align 4, !tbaa !9
  %348 = load i32, ptr %12, align 4, !tbaa !9
  %349 = load i32, ptr %11, align 4, !tbaa !9
  %350 = add i32 %349, %348
  store i32 %350, ptr %11, align 4, !tbaa !9
  %351 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %351, ptr %12, align 4, !tbaa !9
  store i32 77346, 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
  store i32 30, ptr %13, align 4, !tbaa !9
  %355 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %355, ptr %14, align 4, !tbaa !9
  store i32 90558, ptr %15, align 4, !tbaa !9
  %356 = load i32, ptr %15, align 4, !tbaa !9
  %357 = load i32, ptr %14, align 4, !tbaa !9
  %358 = add i32 %357, %356
  store i32 %358, ptr %14, align 4, !tbaa !9
  %359 = load ptr, ptr %4, align 8, !tbaa !5
  %360 = load i32, ptr %11, align 4, !tbaa !9
  %361 = load i32, ptr %12, align 4, !tbaa !9
  %362 = load i32, ptr %13, align 4, !tbaa !9
  %363 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %359, i32 noundef %360, i32 noundef %361, i32 noundef %362, i32 noundef %363)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

364:                                              ; preds = %274
  store i32 0, ptr %11, align 4, !tbaa !9
  %365 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %365, ptr %7, align 4, !tbaa !9
  store i32 118752, ptr %12, align 4, !tbaa !9
  %366 = load i32, ptr %12, align 4, !tbaa !9
  %367 = load i32, ptr %11, align 4, !tbaa !9
  %368 = add i32 %367, %366
  store i32 %368, ptr %11, align 4, !tbaa !9
  %369 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %369, ptr %12, align 4, !tbaa !9
  store i32 78155, 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
  store i32 236, ptr %13, align 4, !tbaa !9
  %373 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %373, ptr %14, align 4, !tbaa !9
  store i32 90602, ptr %15, align 4, !tbaa !9
  %374 = load i32, ptr %15, align 4, !tbaa !9
  %375 = load i32, ptr %14, align 4, !tbaa !9
  %376 = add i32 %375, %374
  store i32 %376, ptr %14, align 4, !tbaa !9
  %377 = load ptr, ptr %4, align 8, !tbaa !5
  %378 = load i32, ptr %11, align 4, !tbaa !9
  %379 = load i32, ptr %12, align 4, !tbaa !9
  %380 = load i32, ptr %13, align 4, !tbaa !9
  %381 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %377, i32 noundef %378, i32 noundef %379, i32 noundef %380, i32 noundef %381)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

382:                                              ; preds = %275
  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 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AWeakValueMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AinsertNew0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(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 = { "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"

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

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, 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 void @i64_store(ptr noundef, i64 noundef, i64 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 i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AweakRefReadBarrier0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransitionMap0x3A0x3AuncleanMakeLarge0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(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 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %1 to i64
  %9 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %8)
  switch i32 %9, label %12 [
    i32 536870910, label %11
    i32 536870911, label %10
  ]

10:                                               ; preds = %3
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 155684, i32 noundef 55536, i32 noundef 85, i32 noundef 99642) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

11:                                               ; preds = %3
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 169610, i32 noundef 55536, i32 noundef 86, i32 noundef 99642) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

12:                                               ; preds = %3
  %13 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef 108) #4
  %14 = zext i32 %13 to i64
  %15 = add nuw nsw i64 %14, 104
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %15, i32 noundef 5)
  %16 = add nuw nsw i64 %14, 8
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %16, i64 noundef 536870911)
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %14, i64 noundef 1)
  %17 = add nuw nsw i64 %14, 92
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %17, i64 noundef 536870911)
  %18 = add nuw nsw i64 %14, 80
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %18, i64 noundef 536870911)
  %19 = add nuw nsw i64 %14, 68
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %19, i64 noundef 536870911)
  %20 = add nuw nsw i64 %14, 56
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %20, i64 noundef 536870911)
  %21 = add nuw nsw i64 %14, 44
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %21, i64 noundef 536870911)
  %22 = add nuw nsw i64 %14, 32
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %22, i64 noundef 536870911)
  %23 = add nuw nsw i64 %14, 20
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %23, i64 noundef 536870911)
  %24 = add nuw nsw i64 %8, 8
  %25 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %24)
  %.not = icmp eq i32 %25, 0
  br i1 %.not, label %54, label %26

26:                                               ; preds = %12
  %27 = zext i32 %25 to i64
  %28 = add nuw nsw i64 %27, 4
  %29 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %28)
  %30 = and i32 %29, 1
  %.not224 = icmp eq i32 %30, 0
  br i1 %.not224, label %31, label %55

31:                                               ; preds = %26
  %32 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %27)
  %.not225 = icmp eq i32 %32, 0
  br i1 %.not225, label %47, label %33

33:                                               ; preds = %31
  %34 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %28)
  %35 = and i32 %34, 1
  %.not226 = icmp eq i32 %35, 0
  br i1 %.not226, label %36, label %56

36:                                               ; preds = %33
  %37 = add i32 %2, 808
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AweakRefReadBarrier0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x29(ptr noundef nonnull %0, i32 noundef %37, i32 noundef %32) #4
  %38 = add i32 %5, -8
  %39 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x29(ptr noundef nonnull %0, i32 noundef %38, i32 noundef %2, i32 noundef %32) #4
  %40 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AWeakValueMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AinsertNew0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %2, i32 noundef %1, i32 noundef %39)
  %41 = zext i32 %39 to i64
  %42 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %41)
  %.not227 = icmp eq i32 %42, 0
  br i1 %.not227, label %47, label %43

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

47:                                               ; preds = %36, %31, %43
  %48 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %8)
  %49 = icmp eq i32 %48, 536870910
  br i1 %49, label %57, label %50

50:                                               ; preds = %47
  %51 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %24)
  %52 = zext i32 %51 to i64
  %53 = add nuw nsw i64 %52, 4
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %53, i32 noundef 1)
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %8, i32 noundef 536870910)
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %24, i32 noundef %13)
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret void

54:                                               ; preds = %12
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 156754, i32 noundef 82911, i32 noundef 38, i32 noundef 103443) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

55:                                               ; preds = %26
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 163361, i32 noundef 77346, i32 noundef 30, i32 noundef 90558) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

56:                                               ; preds = %33
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 163361, i32 noundef 77346, i32 noundef 30, i32 noundef 90558) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

57:                                               ; preds = %47
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118752, i32 noundef 78155, i32 noundef 236, i32 noundef 90602) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AWeakValueMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AinsertNew0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(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 = { "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