; 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
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABoundFunction0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AconstructCell0x3Chermes0x3A0x3Avm0x3A0x3ABoundFunction0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x260x3E0x28void0x2A0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #4 {
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store i32 %2, ptr %11, align 4, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !9
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.w2c_hermes, ptr %24, i32 0, i32 3
  %26 = load i32, ptr %25, align 8, !tbaa !11
  store i32 %26, ptr %18, align 4, !tbaa !9
  store i32 32, ptr %19, align 4, !tbaa !9
  %27 = load i32, ptr %19, align 4, !tbaa !9
  %28 = load i32, ptr %18, align 4, !tbaa !9
  %29 = sub i32 %28, %27
  store i32 %29, ptr %18, align 4, !tbaa !9
  %30 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %30, ptr %17, align 4, !tbaa !9
  %31 = load i32, ptr %18, align 4, !tbaa !9
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.w2c_hermes, ptr %32, i32 0, i32 3
  store i32 %31, ptr %33, align 8, !tbaa !11
  %34 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %34, ptr %18, align 4, !tbaa !9
  %35 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %35, ptr %19, align 4, !tbaa !9
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 6
  %38 = load i32, ptr %19, align 4, !tbaa !9
  %39 = zext i32 %38 to i64
  %40 = add i64 %39, 4
  %41 = call i32 @i32_load(ptr noundef %37, i64 noundef %40)
  store i32 %41, ptr %19, align 4, !tbaa !9
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %18, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = add i64 %45, 28
  %47 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %43, i64 noundef %46, i32 noundef %47)
  %48 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %48, ptr %18, align 4, !tbaa !9
  %49 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %49, ptr %19, align 4, !tbaa !9
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.w2c_hermes, ptr %50, i32 0, i32 6
  %52 = load i32, ptr %19, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = call i32 @i32_load(ptr noundef %51, i64 noundef %53)
  store i32 %54, ptr %19, align 4, !tbaa !9
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.w2c_hermes, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %18, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = add i64 %58, 24
  %60 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %56, i64 noundef %59, i32 noundef %60)
  %61 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %61, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %18, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %63, i64 noundef %65, i32 noundef %66)
  %67 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %67, ptr %18, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %68, ptr %19, align 4, !tbaa !9
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.w2c_hermes, ptr %69, i32 0, i32 6
  %71 = load i32, ptr %19, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = add i64 %72, 4
  %74 = call i32 @i32_load(ptr noundef %70, i64 noundef %73)
  store i32 %74, ptr %19, align 4, !tbaa !9
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %18, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 20
  %80 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %76, i64 noundef %79, i32 noundef %80)
  %81 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %81, ptr %18, align 4, !tbaa !9
  %82 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %82, ptr %19, align 4, !tbaa !9
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %19, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = call i32 @i32_load(ptr noundef %84, i64 noundef %86)
  store i32 %87, ptr %19, align 4, !tbaa !9
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %18, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 16
  %93 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %89, i64 noundef %92, i32 noundef %93)
  %94 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %94, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.w2c_hermes, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %18, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %96, i64 noundef %98, i32 noundef %99)
  %100 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %100, ptr %18, align 4, !tbaa !9
  %101 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %101, ptr %19, align 4, !tbaa !9
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %19, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 4
  %107 = call i32 @i32_load(ptr noundef %103, i64 noundef %106)
  store i32 %107, ptr %19, align 4, !tbaa !9
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %18, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 12
  %113 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %109, i64 noundef %112, i32 noundef %113)
  %114 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %114, ptr %18, align 4, !tbaa !9
  %115 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %115, ptr %19, align 4, !tbaa !9
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %19, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = call i32 @i32_load(ptr noundef %117, i64 noundef %119)
  store i32 %120, ptr %19, align 4, !tbaa !9
  %121 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %121, ptr %13, align 4, !tbaa !9
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = add i64 %125, 8
  %127 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %123, i64 noundef %126, i32 noundef %127)
  %128 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %128, ptr %18, align 4, !tbaa !9
  %129 = load i32, ptr %18, align 4, !tbaa !9
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %147

131:                                              ; preds = %8
  %132 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %132, ptr %18, align 4, !tbaa !9
  %133 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %133, ptr %19, align 4, !tbaa !9
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %19, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = call i32 @i32_load(ptr noundef %135, i64 noundef %137)
  store i32 %138, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %139 = load i32, ptr %20, align 4, !tbaa !9
  %140 = load i32, ptr %19, align 4, !tbaa !9
  %141 = add i32 %140, %139
  store i32 %141, ptr %19, align 4, !tbaa !9
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %18, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %143, i64 noundef %145, i32 noundef %146)
  br label %147

147:                                              ; preds = %131, %8
  %148 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %148, ptr %18, align 4, !tbaa !9
  %149 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %149, ptr %19, align 4, !tbaa !9
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.w2c_hermes, ptr %150, i32 0, i32 6
  %152 = load i32, ptr %19, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = add i64 %153, 4
  %155 = call i32 @i32_load(ptr noundef %151, i64 noundef %154)
  store i32 %155, ptr %19, align 4, !tbaa !9
  %156 = load ptr, ptr %9, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.w2c_hermes, ptr %156, i32 0, i32 6
  %158 = load i32, ptr %18, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  %160 = add i64 %159, 4
  %161 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %157, i64 noundef %160, i32 noundef %161)
  %162 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %162, ptr %18, align 4, !tbaa !9
  %163 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %163, ptr %19, align 4, !tbaa !9
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.w2c_hermes, ptr %164, i32 0, i32 6
  %166 = load i32, ptr %19, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = call i32 @i32_load(ptr noundef %165, i64 noundef %167)
  store i32 %168, ptr %19, align 4, !tbaa !9
  %169 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %169, ptr %13, align 4, !tbaa !9
  %170 = load ptr, ptr %9, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %18, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %171, i64 noundef %173, i32 noundef %174)
  %175 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %175, ptr %18, align 4, !tbaa !9
  %176 = load i32, ptr %18, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %194

178:                                              ; preds = %147
  %179 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %179, ptr %18, align 4, !tbaa !9
  %180 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %180, ptr %19, align 4, !tbaa !9
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %19, 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 %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %186 = load i32, ptr %20, align 4, !tbaa !9
  %187 = load i32, ptr %19, align 4, !tbaa !9
  %188 = add i32 %187, %186
  store i32 %188, ptr %19, align 4, !tbaa !9
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %18, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %190, i64 noundef %192, i32 noundef %193)
  br label %194

194:                                              ; preds = %178, %147
  %195 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %195, ptr %18, align 4, !tbaa !9
  %196 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %196, ptr %19, align 4, !tbaa !9
  %197 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %197, ptr %20, align 4, !tbaa !9
  store i32 24, ptr %21, align 4, !tbaa !9
  %198 = load i32, ptr %21, align 4, !tbaa !9
  %199 = load i32, ptr %20, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %20, align 4, !tbaa !9
  %201 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %201, ptr %21, align 4, !tbaa !9
  store i32 16, ptr %22, align 4, !tbaa !9
  %202 = load i32, ptr %22, align 4, !tbaa !9
  %203 = load i32, ptr %21, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %21, align 4, !tbaa !9
  %205 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %205, ptr %22, align 4, !tbaa !9
  store i32 8, ptr %23, align 4, !tbaa !9
  %206 = load i32, ptr %23, align 4, !tbaa !9
  %207 = load i32, ptr %22, align 4, !tbaa !9
  %208 = add i32 %207, %206
  store i32 %208, ptr %22, align 4, !tbaa !9
  %209 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %209, ptr %23, align 4, !tbaa !9
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = load i32, ptr %18, align 4, !tbaa !9
  %212 = load i32, ptr %19, align 4, !tbaa !9
  %213 = load i32, ptr %20, align 4, !tbaa !9
  %214 = load i32, ptr %21, align 4, !tbaa !9
  %215 = load i32, ptr %22, align 4, !tbaa !9
  %216 = load i32, ptr %23, align 4, !tbaa !9
  %217 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABoundFunction0x3A0x3ABoundFunction0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x29(ptr noundef %210, i32 noundef %211, i32 noundef %212, i32 noundef %213, i32 noundef %214, i32 noundef %215, i32 noundef %216)
  store i32 %217, ptr %18, align 4, !tbaa !9
  %218 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %218, ptr %13, align 4, !tbaa !9
  %219 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %219, ptr %18, align 4, !tbaa !9
  %220 = load ptr, ptr %9, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.w2c_hermes, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %18, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = call i32 @i32_load(ptr noundef %221, i64 noundef %223)
  store i32 %224, ptr %18, align 4, !tbaa !9
  %225 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %225, ptr %14, align 4, !tbaa !9
  %226 = load i32, ptr %18, align 4, !tbaa !9
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %228, label %244

228:                                              ; preds = %194
  %229 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %229, ptr %18, align 4, !tbaa !9
  %230 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %230, ptr %19, align 4, !tbaa !9
  %231 = load ptr, ptr %9, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.w2c_hermes, ptr %231, i32 0, i32 6
  %233 = load i32, ptr %19, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = call i32 @i32_load(ptr noundef %232, i64 noundef %234)
  store i32 %235, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %236 = load i32, ptr %20, align 4, !tbaa !9
  %237 = load i32, ptr %19, align 4, !tbaa !9
  %238 = sub i32 %237, %236
  store i32 %238, ptr %19, align 4, !tbaa !9
  %239 = load ptr, ptr %9, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.w2c_hermes, ptr %239, i32 0, i32 6
  %241 = load i32, ptr %18, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %240, i64 noundef %242, i32 noundef %243)
  br label %244

244:                                              ; preds = %228, %194
  %245 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %245, ptr %18, align 4, !tbaa !9
  %246 = load ptr, ptr %9, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 6
  %248 = load i32, ptr %18, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = add i64 %249, 8
  %251 = call i32 @i32_load(ptr noundef %247, i64 noundef %250)
  store i32 %251, ptr %18, align 4, !tbaa !9
  %252 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %252, ptr %14, align 4, !tbaa !9
  %253 = load i32, ptr %18, align 4, !tbaa !9
  %254 = icmp ne i32 %253, 0
  br i1 %254, label %255, label %271

255:                                              ; preds = %244
  %256 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %256, ptr %18, align 4, !tbaa !9
  %257 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %257, ptr %19, align 4, !tbaa !9
  %258 = load ptr, ptr %9, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.w2c_hermes, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %19, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = call i32 @i32_load(ptr noundef %259, i64 noundef %261)
  store i32 %262, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %263 = load i32, ptr %20, align 4, !tbaa !9
  %264 = load i32, ptr %19, align 4, !tbaa !9
  %265 = sub i32 %264, %263
  store i32 %265, ptr %19, align 4, !tbaa !9
  %266 = load ptr, ptr %9, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %18, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %267, i64 noundef %269, i32 noundef %270)
  br label %271

271:                                              ; preds = %255, %244
  %272 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %272, ptr %18, align 4, !tbaa !9
  %273 = load ptr, ptr %9, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %18, align 4, !tbaa !9
  %276 = zext i32 %275 to i64
  %277 = add i64 %276, 16
  %278 = call i32 @i32_load(ptr noundef %274, i64 noundef %277)
  store i32 %278, ptr %18, align 4, !tbaa !9
  %279 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %279, ptr %14, align 4, !tbaa !9
  %280 = load i32, ptr %18, align 4, !tbaa !9
  %281 = icmp ne i32 %280, 0
  br i1 %281, label %282, label %298

282:                                              ; preds = %271
  %283 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %283, ptr %18, align 4, !tbaa !9
  %284 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %284, ptr %19, align 4, !tbaa !9
  %285 = load ptr, ptr %9, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.w2c_hermes, ptr %285, i32 0, i32 6
  %287 = load i32, ptr %19, align 4, !tbaa !9
  %288 = zext i32 %287 to i64
  %289 = call i32 @i32_load(ptr noundef %286, i64 noundef %288)
  store i32 %289, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %290 = load i32, ptr %20, align 4, !tbaa !9
  %291 = load i32, ptr %19, align 4, !tbaa !9
  %292 = sub i32 %291, %290
  store i32 %292, ptr %19, align 4, !tbaa !9
  %293 = load ptr, ptr %9, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.w2c_hermes, ptr %293, i32 0, i32 6
  %295 = load i32, ptr %18, align 4, !tbaa !9
  %296 = zext i32 %295 to i64
  %297 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %294, i64 noundef %296, i32 noundef %297)
  br label %298

298:                                              ; preds = %282, %271
  %299 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %299, ptr %18, align 4, !tbaa !9
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.w2c_hermes, ptr %300, i32 0, i32 6
  %302 = load i32, ptr %18, align 4, !tbaa !9
  %303 = zext i32 %302 to i64
  %304 = add i64 %303, 24
  %305 = call i32 @i32_load(ptr noundef %301, i64 noundef %304)
  store i32 %305, ptr %18, align 4, !tbaa !9
  %306 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %306, ptr %14, align 4, !tbaa !9
  %307 = load i32, ptr %18, align 4, !tbaa !9
  %308 = icmp ne i32 %307, 0
  br i1 %308, label %309, label %325

309:                                              ; preds = %298
  %310 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %310, ptr %18, align 4, !tbaa !9
  %311 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %311, ptr %19, align 4, !tbaa !9
  %312 = load ptr, ptr %9, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.w2c_hermes, ptr %312, i32 0, i32 6
  %314 = load i32, ptr %19, align 4, !tbaa !9
  %315 = zext i32 %314 to i64
  %316 = call i32 @i32_load(ptr noundef %313, i64 noundef %315)
  store i32 %316, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %317 = load i32, ptr %20, align 4, !tbaa !9
  %318 = load i32, ptr %19, align 4, !tbaa !9
  %319 = sub i32 %318, %317
  store i32 %319, ptr %19, align 4, !tbaa !9
  %320 = load ptr, ptr %9, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.w2c_hermes, ptr %320, i32 0, i32 6
  %322 = load i32, ptr %18, align 4, !tbaa !9
  %323 = zext i32 %322 to i64
  %324 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %321, i64 noundef %323, i32 noundef %324)
  br label %325

325:                                              ; preds = %309, %298
  %326 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %326, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %327 = load i32, ptr %19, align 4, !tbaa !9
  %328 = load i32, ptr %18, align 4, !tbaa !9
  %329 = and i32 %328, %327
  store i32 %329, ptr %18, align 4, !tbaa !9
  %330 = load i32, ptr %18, align 4, !tbaa !9
  %331 = icmp ne i32 %330, 0
  %332 = xor i1 %331, true
  %333 = zext i1 %332 to i32
  store i32 %333, ptr %18, align 4, !tbaa !9
  %334 = load i32, ptr %18, align 4, !tbaa !9
  %335 = icmp ne i32 %334, 0
  br i1 %335, label %336, label %364

336:                                              ; preds = %325
  %337 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %337, ptr %18, align 4, !tbaa !9
  store i32 16777216, ptr %19, align 4, !tbaa !9
  %338 = load i32, ptr %18, align 4, !tbaa !9
  %339 = load i32, ptr %19, align 4, !tbaa !9
  %340 = icmp uge i32 %338, %339
  %341 = zext i1 %340 to i32
  store i32 %341, ptr %18, align 4, !tbaa !9
  %342 = load i32, ptr %18, align 4, !tbaa !9
  %343 = icmp ne i32 %342, 0
  br i1 %343, label %344, label %345

344:                                              ; preds = %336
  br label %382

345:                                              ; preds = %336
  %346 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %346, ptr %18, align 4, !tbaa !9
  %347 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %347, ptr %19, align 4, !tbaa !9
  store i32 1140850688, ptr %20, align 4, !tbaa !9
  %348 = load i32, ptr %20, align 4, !tbaa !9
  %349 = load i32, ptr %19, align 4, !tbaa !9
  %350 = or i32 %349, %348
  store i32 %350, ptr %19, align 4, !tbaa !9
  %351 = load ptr, ptr %9, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.w2c_hermes, ptr %351, i32 0, i32 6
  %353 = load i32, ptr %18, align 4, !tbaa !9
  %354 = zext i32 %353 to i64
  %355 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %352, i64 noundef %354, i32 noundef %355)
  %356 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %356, ptr %18, align 4, !tbaa !9
  store i32 32, ptr %19, align 4, !tbaa !9
  %357 = load i32, ptr %19, align 4, !tbaa !9
  %358 = load i32, ptr %18, align 4, !tbaa !9
  %359 = add i32 %358, %357
  store i32 %359, ptr %18, align 4, !tbaa !9
  %360 = load i32, ptr %18, align 4, !tbaa !9
  %361 = load ptr, ptr %9, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.w2c_hermes, ptr %361, i32 0, i32 3
  store i32 %360, ptr %362, align 8, !tbaa !11
  %363 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %363, ptr %18, align 4, !tbaa !9
  br label %400

364:                                              ; preds = %325
  store i32 0, ptr %18, align 4, !tbaa !9
  %365 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %365, ptr %17, align 4, !tbaa !9
  store i32 193621, ptr %19, align 4, !tbaa !9
  %366 = load i32, ptr %19, align 4, !tbaa !9
  %367 = load i32, ptr %18, align 4, !tbaa !9
  %368 = add i32 %367, %366
  store i32 %368, ptr %18, align 4, !tbaa !9
  %369 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %369, ptr %19, align 4, !tbaa !9
  store i32 82339, ptr %20, align 4, !tbaa !9
  %370 = load i32, ptr %20, align 4, !tbaa !9
  %371 = load i32, ptr %19, align 4, !tbaa !9
  %372 = add i32 %371, %370
  store i32 %372, ptr %19, align 4, !tbaa !9
  store i32 57, ptr %20, align 4, !tbaa !9
  %373 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %373, ptr %21, align 4, !tbaa !9
  store i32 88934, ptr %22, align 4, !tbaa !9
  %374 = load i32, ptr %22, align 4, !tbaa !9
  %375 = load i32, ptr %21, align 4, !tbaa !9
  %376 = add i32 %375, %374
  store i32 %376, ptr %21, align 4, !tbaa !9
  %377 = load ptr, ptr %9, align 8, !tbaa !5
  %378 = load i32, ptr %18, align 4, !tbaa !9
  %379 = load i32, ptr %19, align 4, !tbaa !9
  %380 = load i32, ptr %20, align 4, !tbaa !9
  %381 = load i32, ptr %21, 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 = %344
  store i32 0, ptr %18, align 4, !tbaa !9
  %383 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %383, ptr %17, align 4, !tbaa !9
  store i32 196840, ptr %19, align 4, !tbaa !9
  %384 = load i32, ptr %19, align 4, !tbaa !9
  %385 = load i32, ptr %18, align 4, !tbaa !9
  %386 = add i32 %385, %384
  store i32 %386, ptr %18, align 4, !tbaa !9
  %387 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %387, ptr %19, align 4, !tbaa !9
  store i32 82339, ptr %20, align 4, !tbaa !9
  %388 = load i32, ptr %20, align 4, !tbaa !9
  %389 = load i32, ptr %19, align 4, !tbaa !9
  %390 = add i32 %389, %388
  store i32 %390, ptr %19, align 4, !tbaa !9
  store i32 58, ptr %20, align 4, !tbaa !9
  %391 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %391, ptr %21, align 4, !tbaa !9
  store i32 88934, ptr %22, align 4, !tbaa !9
  %392 = load i32, ptr %22, align 4, !tbaa !9
  %393 = load i32, ptr %21, align 4, !tbaa !9
  %394 = add i32 %393, %392
  store i32 %394, ptr %21, align 4, !tbaa !9
  %395 = load ptr, ptr %9, align 8, !tbaa !5
  %396 = load i32, ptr %18, align 4, !tbaa !9
  %397 = load i32, ptr %19, align 4, !tbaa !9
  %398 = load i32, ptr %20, align 4, !tbaa !9
  %399 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %395, i32 noundef %396, i32 noundef %397, i32 noundef %398, i32 noundef %399)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

400:                                              ; preds = %345
  %401 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  ret i32 %401
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABoundFunction0x3A0x3ABoundFunction0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x29(ptr noundef, i32 noundef, i32 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}


; 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
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABoundFunction0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AconstructCell0x3Chermes0x3A0x3Avm0x3A0x3ABoundFunction0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x260x3E0x28void0x2A0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AMutableHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #3 {
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = add i32 %10, -32
  store i32 %11, ptr %9, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = zext i32 %4 to i64
  %14 = add nuw nsw i64 %13, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %16 = zext i32 %11 to i64
  %17 = add nuw nsw i64 %16, 28
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %17, i32 noundef %15)
  %18 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %13)
  %19 = add nuw nsw i64 %16, 24
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %19, i32 noundef %18)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %13, i32 noundef 0)
  %20 = zext i32 %5 to i64
  %21 = add nuw nsw i64 %20, 4
  %22 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %21)
  %23 = add nuw nsw i64 %16, 20
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %23, i32 noundef %22)
  %24 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %20)
  %25 = add nuw nsw i64 %16, 16
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %25, i32 noundef %24)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %20, i32 noundef 0)
  %26 = zext i32 %6 to i64
  %27 = add nuw nsw i64 %26, 4
  %28 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %27)
  %29 = add nuw nsw i64 %16, 12
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %29, i32 noundef %28)
  %30 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %26)
  %31 = add nuw nsw i64 %16, 8
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %31, i32 noundef %30)
  %.not = icmp eq i32 %30, 0
  br i1 %.not, label %36, label %32

32:                                               ; preds = %8
  %33 = zext i32 %30 to i64
  %34 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %33)
  %35 = add i32 %34, 1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %33, i32 noundef %35)
  br label %36

36:                                               ; preds = %32, %8
  %37 = zext i32 %7 to i64
  %38 = add nuw nsw i64 %37, 4
  %39 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %38)
  %40 = add nuw nsw i64 %16, 4
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %40, i32 noundef %39)
  %41 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %37)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %16, i32 noundef %41)
  %.not226 = icmp eq i32 %41, 0
  br i1 %.not226, label %46, label %42

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

46:                                               ; preds = %42, %36
  %47 = add i32 %10, -8
  %48 = add i32 %10, -16
  %49 = add i32 %10, -24
  %50 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABoundFunction0x3A0x3ABoundFunction0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %11)
  %51 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %16)
  %.not227 = icmp eq i32 %51, 0
  br i1 %.not227, label %56, label %52

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

56:                                               ; preds = %52, %46
  %57 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %31)
  %.not228 = icmp eq i32 %57, 0
  br i1 %.not228, label %62, label %58

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

62:                                               ; preds = %58, %56
  %63 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %25)
  %.not229 = icmp eq i32 %63, 0
  br i1 %.not229, label %68, label %64

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

68:                                               ; preds = %64, %62
  %69 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %19)
  %.not230 = icmp eq i32 %69, 0
  br i1 %.not230, label %74, label %70

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

74:                                               ; preds = %70, %68
  %75 = and i32 %2, 1
  %.not231 = icmp eq i32 %75, 0
  br i1 %.not231, label %76, label %81

76:                                               ; preds = %74
  %77 = icmp ugt i32 %2, 16777215
  br i1 %77, label %82, label %78

78:                                               ; preds = %76
  %79 = or disjoint i32 %2, 1140850688
  %80 = zext i32 %50 to i64
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %80, i32 noundef %79)
  store i32 %10, ptr %9, align 8, !tbaa !5
  ret i32 %50

81:                                               ; preds = %74
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 193621, i32 noundef 82339, i32 noundef 57, i32 noundef 88934) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

82:                                               ; preds = %76
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 196840, i32 noundef 82339, i32 noundef 58, i32 noundef 88934) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABoundFunction0x3A0x3ABoundFunction0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x29(ptr noundef, i32 noundef, i32 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