; 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: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #3

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseStackOverflow0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AStackOverflowKind0x29(ptr noundef, i32 noundef, i32 noundef) #1

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

61:                                               ; preds = %7
  %62 = load i64, ptr %27, align 8, !tbaa !11
  br label %65

63:                                               ; preds = %7
  %64 = load i64, ptr %28, align 8, !tbaa !11
  br label %65

65:                                               ; preds = %63, %61
  %66 = phi i64 [ %62, %61 ], [ %64, %63 ]
  store i64 %66, ptr %27, align 8, !tbaa !11
  %67 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %67, ptr %22, align 4, !tbaa !9
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.w2c_hermes, ptr %68, i32 0, i32 6
  %70 = load i32, ptr %22, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = add i64 %71, 4
  %73 = call i32 @i32_load(ptr noundef %69, i64 noundef %72)
  store i32 %73, ptr %22, align 4, !tbaa !9
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %22, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = call i64 @i64_load(ptr noundef %75, i64 noundef %77)
  store i64 %78, ptr %28, align 8, !tbaa !11
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = load i32, ptr %17, align 4, !tbaa !9
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = load i32, ptr %19, align 4, !tbaa !9
  %83 = load i64, ptr %26, align 8, !tbaa !11
  %84 = load i64, ptr %27, align 8, !tbaa !11
  %85 = load i64, ptr %28, align 8, !tbaa !11
  %86 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AScopedNativeCallFrame0x3A0x3AScopedNativeCallFrame0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %79, i32 noundef %80, i32 noundef %81, i32 noundef %82, i64 noundef %83, i64 noundef %84, i64 noundef %85)
  store i32 %86, ptr %17, align 4, !tbaa !9
  %87 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %87, ptr %14, align 4, !tbaa !9
  %88 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %88, ptr %18, align 4, !tbaa !9
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.w2c_hermes, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = add i64 %92, 12
  %94 = call i32 @i32_load8_u(ptr noundef %90, i64 noundef %93)
  store i32 %94, ptr %18, align 4, !tbaa !9
  %95 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %95, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %96 = load i32, ptr %19, align 4, !tbaa !9
  %97 = load i32, ptr %18, align 4, !tbaa !9
  %98 = xor i32 %97, %96
  store i32 %98, ptr %18, align 4, !tbaa !9
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.w2c_hermes, ptr %99, i32 0, i32 6
  %101 = load i32, ptr %17, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = add i64 %102, 13
  %104 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %100, i64 noundef %103, i32 noundef %104)
  %105 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %105, ptr %17, align 4, !tbaa !9
  %106 = load i32, ptr %17, align 4, !tbaa !9
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %162

108:                                              ; preds = %65
  %109 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %109, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load i32, ptr %17, align 4, !tbaa !9
  %112 = load i32, ptr %18, align 4, !tbaa !9
  %113 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseStackOverflow0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AStackOverflowKind0x29(ptr noundef %110, i32 noundef %111, i32 noundef %112)
  store i32 %113, ptr %17, align 4, !tbaa !9
  %114 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %114, ptr %10, align 4, !tbaa !9
  %115 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %115, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %17, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 16
  %121 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %117, i64 noundef %120, i32 noundef %121)
  %122 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %122, ptr %17, align 4, !tbaa !9
  store i64 -1688849860263936, ptr %25, align 8, !tbaa !11
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = add i64 %126, 8
  %128 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %124, i64 noundef %127, i64 noundef %128)
  %129 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %129, ptr %17, align 4, !tbaa !9
  %130 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %130, ptr %18, align 4, !tbaa !9
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %17, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %132, i64 noundef %134, i32 noundef %135)
  %136 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %136, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %137 = load i32, ptr %17, align 4, !tbaa !9
  %138 = load i32, ptr %18, align 4, !tbaa !9
  %139 = icmp ne i32 %137, %138
  %140 = zext i1 %139 to i32
  store i32 %140, ptr %17, align 4, !tbaa !9
  %141 = load i32, ptr %17, align 4, !tbaa !9
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %108
  br label %304

144:                                              ; preds = %108
  store i32 0, ptr %17, align 4, !tbaa !9
  %145 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %145, ptr %15, align 4, !tbaa !9
  store i32 109717, ptr %18, align 4, !tbaa !9
  %146 = load i32, ptr %18, align 4, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !9
  %148 = add i32 %147, %146
  store i32 %148, ptr %17, align 4, !tbaa !9
  %149 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %149, ptr %18, align 4, !tbaa !9
  store i32 77564, ptr %19, align 4, !tbaa !9
  %150 = load i32, ptr %19, align 4, !tbaa !9
  %151 = load i32, ptr %18, align 4, !tbaa !9
  %152 = add i32 %151, %150
  store i32 %152, ptr %18, align 4, !tbaa !9
  store i32 322, ptr %19, align 4, !tbaa !9
  %153 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %153, ptr %20, align 4, !tbaa !9
  store i32 28083, ptr %21, align 4, !tbaa !9
  %154 = load i32, ptr %21, align 4, !tbaa !9
  %155 = load i32, ptr %20, align 4, !tbaa !9
  %156 = add i32 %155, %154
  store i32 %156, ptr %20, align 4, !tbaa !9
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = load i32, ptr %18, align 4, !tbaa !9
  %160 = load i32, ptr %19, align 4, !tbaa !9
  %161 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %160, i32 noundef %161)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

162:                                              ; preds = %65
  %163 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %163, ptr %17, align 4, !tbaa !9
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.w2c_hermes, ptr %164, i32 0, i32 6
  %166 = load i32, ptr %17, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = add i64 %167, 8
  %169 = call i32 @i32_load(ptr noundef %165, i64 noundef %168)
  store i32 %169, ptr %17, align 4, !tbaa !9
  %170 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %170, ptr %12, align 4, !tbaa !9
  store i32 32, ptr %18, align 4, !tbaa !9
  %171 = load i32, ptr %18, align 4, !tbaa !9
  %172 = load i32, ptr %17, align 4, !tbaa !9
  %173 = sub i32 %172, %171
  store i32 %173, ptr %17, align 4, !tbaa !9
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %17, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = call i64 @i64_load(ptr noundef %175, i64 noundef %177)
  store i64 %178, ptr %24, align 8, !tbaa !11
  %179 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %179, ptr %16, align 8, !tbaa !11
  store i64 48, ptr %25, align 8, !tbaa !11
  %180 = load i64, ptr %24, align 8, !tbaa !11
  %181 = load i64, ptr %25, align 8, !tbaa !11
  %182 = and i64 %181, 63
  %183 = ashr i64 %180, %182
  store i64 %183, ptr %24, align 8, !tbaa !11
  %184 = load i64, ptr %24, align 8, !tbaa !11
  %185 = trunc i64 %184 to i32
  store i32 %185, ptr %17, align 4, !tbaa !9
  store i32 -4, ptr %18, align 4, !tbaa !9
  %186 = load i32, ptr %17, align 4, !tbaa !9
  %187 = load i32, ptr %18, align 4, !tbaa !9
  %188 = icmp ne i32 %186, %187
  %189 = zext i1 %188 to i32
  store i32 %189, ptr %17, align 4, !tbaa !9
  %190 = load i32, ptr %17, align 4, !tbaa !9
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %193

192:                                              ; preds = %162
  br label %349

193:                                              ; preds = %162
  %194 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %194, ptr %24, align 8, !tbaa !11
  %195 = load i64, ptr %24, align 8, !tbaa !11
  %196 = trunc i64 %195 to i32
  store i32 %196, ptr %17, align 4, !tbaa !9
  %197 = load i32, ptr %17, align 4, !tbaa !9
  %198 = icmp ne i32 %197, 0
  %199 = xor i1 %198, true
  %200 = zext i1 %199 to i32
  store i32 %200, ptr %17, align 4, !tbaa !9
  %201 = load i32, ptr %17, align 4, !tbaa !9
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %204

203:                                              ; preds = %193
  br label %367

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

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

262:                                              ; preds = %246, %204
  %263 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %263, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %264, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %265 = load i32, ptr %19, align 4, !tbaa !9
  %266 = load i32, ptr %18, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %18, align 4, !tbaa !9
  %268 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %268, ptr %19, align 4, !tbaa !9
  %269 = load ptr, ptr %8, align 8, !tbaa !5
  %270 = load i32, ptr %17, align 4, !tbaa !9
  %271 = load i32, ptr %18, align 4, !tbaa !9
  %272 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallable0x3A0x3Acall0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %269, i32 noundef %270, i32 noundef %271, i32 noundef %272)
  %273 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %273, ptr %17, align 4, !tbaa !9
  %274 = load ptr, ptr %8, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.w2c_hermes, ptr %274, i32 0, i32 6
  %276 = load i32, ptr %17, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = add i64 %277, 8
  %279 = call i32 @i32_load(ptr noundef %275, i64 noundef %278)
  store i32 %279, ptr %17, align 4, !tbaa !9
  %280 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %280, ptr %10, align 4, !tbaa !9
  %281 = load i32, ptr %17, align 4, !tbaa !9
  %282 = icmp ne i32 %281, 0
  %283 = xor i1 %282, true
  %284 = zext i1 %283 to i32
  store i32 %284, ptr %17, align 4, !tbaa !9
  %285 = load i32, ptr %17, align 4, !tbaa !9
  %286 = icmp ne i32 %285, 0
  br i1 %286, label %287, label %288

287:                                              ; preds = %262
  br label %304

288:                                              ; preds = %262
  %289 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %289, ptr %17, align 4, !tbaa !9
  %290 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %290, ptr %18, align 4, !tbaa !9
  %291 = load ptr, ptr %8, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.w2c_hermes, ptr %291, i32 0, i32 6
  %293 = load i32, ptr %18, align 4, !tbaa !9
  %294 = zext i32 %293 to i64
  %295 = call i32 @i32_load(ptr noundef %292, i64 noundef %294)
  store i32 %295, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %296 = load i32, ptr %19, align 4, !tbaa !9
  %297 = load i32, ptr %18, align 4, !tbaa !9
  %298 = sub i32 %297, %296
  store i32 %298, ptr %18, align 4, !tbaa !9
  %299 = load ptr, ptr %8, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.w2c_hermes, ptr %299, i32 0, i32 6
  %301 = load i32, ptr %17, align 4, !tbaa !9
  %302 = zext i32 %301 to i64
  %303 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %300, i64 noundef %302, i32 noundef %303)
  br label %304

304:                                              ; preds = %288, %287, %143
  %305 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %305, ptr %17, align 4, !tbaa !9
  %306 = load ptr, ptr %8, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.w2c_hermes, ptr %306, i32 0, i32 6
  %308 = load i32, ptr %17, align 4, !tbaa !9
  %309 = zext i32 %308 to i64
  %310 = call i32 @i32_load(ptr noundef %307, i64 noundef %309)
  store i32 %310, ptr %17, align 4, !tbaa !9
  %311 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %311, ptr %10, align 4, !tbaa !9
  %312 = load ptr, ptr %8, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.w2c_hermes, ptr %312, i32 0, i32 6
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = zext i32 %314 to i64
  %316 = add i64 %315, 5636
  %317 = call i32 @i32_load(ptr noundef %313, i64 noundef %316)
  store i32 %317, ptr %17, align 4, !tbaa !9
  %318 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %318, ptr %18, align 4, !tbaa !9
  %319 = load ptr, ptr %8, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.w2c_hermes, ptr %319, i32 0, i32 6
  %321 = load i32, ptr %18, align 4, !tbaa !9
  %322 = zext i32 %321 to i64
  %323 = add i64 %322, 4
  %324 = call i32 @i32_load(ptr noundef %320, i64 noundef %323)
  store i32 %324, ptr %18, align 4, !tbaa !9
  %325 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %325, ptr %14, align 4, !tbaa !9
  %326 = load i32, ptr %17, align 4, !tbaa !9
  %327 = load i32, ptr %18, align 4, !tbaa !9
  %328 = icmp ult i32 %326, %327
  %329 = zext i1 %328 to i32
  store i32 %329, ptr %17, align 4, !tbaa !9
  %330 = load i32, ptr %17, align 4, !tbaa !9
  %331 = icmp ne i32 %330, 0
  br i1 %331, label %332, label %333

332:                                              ; preds = %304
  br label %385

333:                                              ; preds = %304
  %334 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %334, ptr %17, align 4, !tbaa !9
  %335 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %335, ptr %18, align 4, !tbaa !9
  %336 = load ptr, ptr %8, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.w2c_hermes, ptr %336, i32 0, i32 6
  %338 = load i32, ptr %17, align 4, !tbaa !9
  %339 = zext i32 %338 to i64
  %340 = add i64 %339, 5636
  %341 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %337, i64 noundef %340, i32 noundef %341)
  %342 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %342, ptr %17, align 4, !tbaa !9
  store i32 32, ptr %18, align 4, !tbaa !9
  %343 = load i32, ptr %18, align 4, !tbaa !9
  %344 = load i32, ptr %17, align 4, !tbaa !9
  %345 = add i32 %344, %343
  store i32 %345, ptr %17, align 4, !tbaa !9
  %346 = load i32, ptr %17, align 4, !tbaa !9
  %347 = load ptr, ptr %8, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.w2c_hermes, ptr %347, i32 0, i32 3
  store i32 %346, ptr %348, align 8, !tbaa !13
  br label %403

349:                                              ; preds = %192
  store i32 0, ptr %17, align 4, !tbaa !9
  %350 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %350, ptr %15, align 4, !tbaa !9
  store i32 118725, ptr %18, align 4, !tbaa !9
  %351 = load i32, ptr %18, align 4, !tbaa !9
  %352 = load i32, ptr %17, align 4, !tbaa !9
  %353 = add i32 %352, %351
  store i32 %353, ptr %17, align 4, !tbaa !9
  %354 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %354, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %355 = load i32, ptr %19, align 4, !tbaa !9
  %356 = load i32, ptr %18, align 4, !tbaa !9
  %357 = add i32 %356, %355
  store i32 %357, ptr %18, align 4, !tbaa !9
  store i32 449, ptr %19, align 4, !tbaa !9
  %358 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %358, ptr %20, align 4, !tbaa !9
  store i32 111105, ptr %21, align 4, !tbaa !9
  %359 = load i32, ptr %21, align 4, !tbaa !9
  %360 = load i32, ptr %20, align 4, !tbaa !9
  %361 = add i32 %360, %359
  store i32 %361, ptr %20, align 4, !tbaa !9
  %362 = load ptr, ptr %8, align 8, !tbaa !5
  %363 = load i32, ptr %17, align 4, !tbaa !9
  %364 = load i32, ptr %18, align 4, !tbaa !9
  %365 = load i32, ptr %19, align 4, !tbaa !9
  %366 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %362, i32 noundef %363, i32 noundef %364, i32 noundef %365, i32 noundef %366)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

367:                                              ; preds = %203
  store i32 0, ptr %17, align 4, !tbaa !9
  %368 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %368, ptr %15, align 4, !tbaa !9
  store i32 126656, ptr %18, align 4, !tbaa !9
  %369 = load i32, ptr %18, align 4, !tbaa !9
  %370 = load i32, ptr %17, align 4, !tbaa !9
  %371 = add i32 %370, %369
  store i32 %371, ptr %17, align 4, !tbaa !9
  %372 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %372, ptr %18, align 4, !tbaa !9
  store i32 84437, ptr %19, align 4, !tbaa !9
  %373 = load i32, ptr %19, align 4, !tbaa !9
  %374 = load i32, ptr %18, align 4, !tbaa !9
  %375 = add i32 %374, %373
  store i32 %375, ptr %18, align 4, !tbaa !9
  store i32 180, ptr %19, align 4, !tbaa !9
  %376 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %376, ptr %20, align 4, !tbaa !9
  store i32 88064, ptr %21, align 4, !tbaa !9
  %377 = load i32, ptr %21, align 4, !tbaa !9
  %378 = load i32, ptr %20, align 4, !tbaa !9
  %379 = add i32 %378, %377
  store i32 %379, ptr %20, align 4, !tbaa !9
  %380 = load ptr, ptr %8, align 8, !tbaa !5
  %381 = load i32, ptr %17, align 4, !tbaa !9
  %382 = load i32, ptr %18, align 4, !tbaa !9
  %383 = load i32, ptr %19, align 4, !tbaa !9
  %384 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %380, i32 noundef %381, i32 noundef %382, i32 noundef %383, i32 noundef %384)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

385:                                              ; preds = %332
  store i32 0, ptr %17, align 4, !tbaa !9
  %386 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %386, ptr %15, align 4, !tbaa !9
  store i32 159110, ptr %18, align 4, !tbaa !9
  %387 = load i32, ptr %18, align 4, !tbaa !9
  %388 = load i32, ptr %17, align 4, !tbaa !9
  %389 = add i32 %388, %387
  store i32 %389, ptr %17, align 4, !tbaa !9
  %390 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %390, ptr %18, align 4, !tbaa !9
  store i32 84373, ptr %19, align 4, !tbaa !9
  %391 = load i32, ptr %19, align 4, !tbaa !9
  %392 = load i32, ptr %18, align 4, !tbaa !9
  %393 = add i32 %392, %391
  store i32 %393, ptr %18, align 4, !tbaa !9
  store i32 2038, ptr %19, align 4, !tbaa !9
  %394 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %394, ptr %20, align 4, !tbaa !9
  store i32 49738, ptr %21, align 4, !tbaa !9
  %395 = load i32, ptr %21, align 4, !tbaa !9
  %396 = load i32, ptr %20, align 4, !tbaa !9
  %397 = add i32 %396, %395
  store i32 %397, ptr %20, align 4, !tbaa !9
  %398 = load ptr, ptr %8, align 8, !tbaa !5
  %399 = load i32, ptr %17, align 4, !tbaa !9
  %400 = load i32, ptr %18, align 4, !tbaa !9
  %401 = load i32, ptr %19, align 4, !tbaa !9
  %402 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %398, i32 noundef %399, i32 noundef %400, i32 noundef %401, i32 noundef %402)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

403:                                              ; preds = %333
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  ret void
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AScopedNativeCallFrame0x3A0x3AScopedNativeCallFrame0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallable0x3A0x3Acall0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr 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, !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: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseStackOverflow0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AStackOverflowKind0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

30:                                               ; preds = %7
  %31 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseStackOverflow0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AStackOverflowKind0x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef 1) #4
  %32 = zext i32 %1 to i64
  %33 = add nuw nsw i64 %32, 16
  tail call void @i32_store8(ptr noundef nonnull %12, i64 noundef %33, i32 noundef 1)
  %34 = add nuw nsw i64 %32, 8
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %34, i64 noundef -1688849860263936)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %32, i32 noundef %31)
  %.not227 = icmp eq i32 %31, 1
  br i1 %.not227, label %35, label %63

35:                                               ; preds = %30
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109717, i32 noundef 77564, i32 noundef 322, i32 noundef 28083) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

36:                                               ; preds = %7
  %37 = add nuw nsw i64 %25, 8
  %38 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %37)
  %39 = add i32 %38, -32
  %40 = zext i32 %39 to i64
  %41 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %40)
  %.mask = and i64 %41, -281474976710656
  %.not223 = icmp eq i64 %.mask, -1125899906842624
  br i1 %.not223, label %42, label %72

42:                                               ; preds = %36
  %43 = and i64 %41, 4294967295
  %.not224 = icmp eq i64 %43, 0
  br i1 %.not224, label %73, label %44

44:                                               ; preds = %42
  %45 = add i32 %38, -64
  %46 = zext i32 %45 to i64
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %46, i64 noundef %5)
  %47 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %48 = zext i32 %10 to i64
  %49 = add nuw nsw i64 %48, 12
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %49, i32 noundef %47)
  %50 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %13)
  %51 = add nuw nsw i64 %48, 8
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %51, i32 noundef %50)
  %.not225 = icmp eq i32 %50, 0
  br i1 %.not225, label %56, label %52

52:                                               ; preds = %44
  %53 = zext i32 %50 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, %44
  %57 = add i32 %9, -24
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallable0x3A0x3Acall0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %57, i32 noundef %3)
  %58 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %51)
  %.not226 = icmp eq i32 %58, 0
  br i1 %.not226, label %63, label %59

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

63:                                               ; preds = %56, %30, %59
  %64 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %25)
  %65 = zext i32 %64 to i64
  %66 = add nuw nsw i64 %65, 5636
  %67 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %66)
  %68 = add nuw nsw i64 %25, 4
  %69 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %68)
  %70 = icmp ult i32 %67, %69
  br i1 %70, label %74, label %71

71:                                               ; preds = %63
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %66, i32 noundef %69)
  store i32 %9, ptr %8, align 8, !tbaa !5
  ret void

72:                                               ; preds = %36
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118725, i32 noundef 83341, i32 noundef 449, i32 noundef 111105) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

73:                                               ; preds = %42
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 126656, i32 noundef 84437, i32 noundef 180, i32 noundef 88064) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

74:                                               ; preds = %63
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 159110, i32 noundef 84373, i32 noundef 2038, i32 noundef 49738) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AScopedNativeCallFrame0x3A0x3AScopedNativeCallFrame0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallable0x3A0x3Acall0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr 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