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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABoundFunction0x3A0x3ABoundFunction0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 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 i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %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 i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = 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 i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !11
  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 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, 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
  %26 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %26, ptr %17, align 4, !tbaa !9
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.w2c_hermes, ptr %27, i32 0, i32 6
  %29 = load i32, ptr %17, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  %31 = add i64 %30, 4
  %32 = call i32 @i32_load(ptr noundef %28, i64 noundef %31)
  store i32 %32, ptr %17, align 4, !tbaa !9
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %17, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = call i64 @i64_load(ptr noundef %34, i64 noundef %36)
  store i64 %37, ptr %22, align 8, !tbaa !11
  %38 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %38, ptr %15, align 8, !tbaa !11
  store i64 48, ptr %23, align 8, !tbaa !11
  %39 = load i64, ptr %22, align 8, !tbaa !11
  %40 = load i64, ptr %23, align 8, !tbaa !11
  %41 = and i64 %40, 63
  %42 = ashr i64 %39, %41
  store i64 %42, ptr %22, align 8, !tbaa !11
  %43 = load i64, ptr %22, align 8, !tbaa !11
  %44 = trunc i64 %43 to i32
  store i32 %44, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %45 = load i32, ptr %17, align 4, !tbaa !9
  %46 = load i32, ptr %18, align 4, !tbaa !9
  %47 = icmp eq i32 %45, %46
  %48 = zext i1 %47 to i32
  store i32 %48, ptr %17, align 4, !tbaa !9
  %49 = load i32, ptr %17, align 4, !tbaa !9
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %316

51:                                               ; preds = %7
  %52 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %52, ptr %22, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %53 = load i64, ptr %22, align 8, !tbaa !11
  %54 = load i64, ptr %23, align 8, !tbaa !11
  %55 = icmp ule i64 %53, %54
  %56 = zext i1 %55 to i32
  store i32 %56, ptr %17, align 4, !tbaa !9
  %57 = load i32, ptr %17, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %51
  br label %334

60:                                               ; preds = %51
  %61 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %61, ptr %17, align 4, !tbaa !9
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = add i64 %65, 4
  %67 = call i32 @i32_load(ptr noundef %63, i64 noundef %66)
  store i32 %67, ptr %17, 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 %17, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = call i64 @i64_load(ptr noundef %69, i64 noundef %71)
  store i64 %72, ptr %22, align 8, !tbaa !11
  %73 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %73, ptr %16, align 8, !tbaa !11
  store i64 48, ptr %23, align 8, !tbaa !11
  %74 = load i64, ptr %22, align 8, !tbaa !11
  %75 = load i64, ptr %23, align 8, !tbaa !11
  %76 = and i64 %75, 63
  %77 = ashr i64 %74, %76
  store i64 %77, ptr %22, align 8, !tbaa !11
  %78 = load i64, ptr %22, align 8, !tbaa !11
  %79 = trunc i64 %78 to i32
  store i32 %79, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %80 = load i32, ptr %17, align 4, !tbaa !9
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = icmp ne i32 %80, %81
  %83 = zext i1 %82 to i32
  store i32 %83, ptr %17, align 4, !tbaa !9
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %60
  br label %352

87:                                               ; preds = %60
  %88 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %88, ptr %22, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %89 = load i64, ptr %22, align 8, !tbaa !11
  %90 = load i64, ptr %23, align 8, !tbaa !11
  %91 = icmp ule i64 %89, %90
  %92 = zext i1 %91 to i32
  store i32 %92, ptr %17, align 4, !tbaa !9
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %87
  br label %370

96:                                               ; preds = %87
  %97 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %97, ptr %17, align 4, !tbaa !9
  %98 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %98, ptr %18, align 4, !tbaa !9
  %99 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %99, ptr %24, align 8, !tbaa !11
  %100 = load i64, ptr %24, align 8, !tbaa !11
  %101 = trunc i64 %100 to i32
  store i32 %101, ptr %19, align 4, !tbaa !9
  %102 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %102, ptr %25, align 8, !tbaa !11
  %103 = load i64, ptr %25, align 8, !tbaa !11
  %104 = trunc i64 %103 to i32
  store i32 %104, ptr %20, align 4, !tbaa !9
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = load i32, ptr %17, align 4, !tbaa !9
  %107 = load i32, ptr %18, align 4, !tbaa !9
  %108 = load i32, ptr %19, align 4, !tbaa !9
  %109 = load i32, ptr %20, align 4, !tbaa !9
  %110 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AJSObject0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109)
  store i32 %110, ptr %17, align 4, !tbaa !9
  %111 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %111, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %17, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = add i64 %115, 28
  %117 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %113, i64 noundef %116, i32 noundef %117)
  %118 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %118, ptr %17, align 4, !tbaa !9
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %17, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 4
  %124 = call i32 @i32_load(ptr noundef %120, i64 noundef %123)
  store i32 %124, ptr %17, align 4, !tbaa !9
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = call i64 @i64_load(ptr noundef %126, i64 noundef %128)
  store i64 %129, ptr %22, align 8, !tbaa !11
  %130 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %130, ptr %15, align 8, !tbaa !11
  store i64 48, ptr %23, align 8, !tbaa !11
  %131 = load i64, ptr %22, align 8, !tbaa !11
  %132 = load i64, ptr %23, align 8, !tbaa !11
  %133 = and i64 %132, 63
  %134 = ashr i64 %131, %133
  store i64 %134, ptr %22, align 8, !tbaa !11
  %135 = load i64, ptr %22, align 8, !tbaa !11
  %136 = trunc i64 %135 to i32
  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 = %96
  br label %388

144:                                              ; preds = %96
  %145 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %145, ptr %22, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %146 = load i64, ptr %22, align 8, !tbaa !11
  %147 = load i64, ptr %23, align 8, !tbaa !11
  %148 = icmp ule i64 %146, %147
  %149 = zext i1 %148 to i32
  store i32 %149, ptr %17, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %153

152:                                              ; preds = %144
  br label %406

153:                                              ; preds = %144
  %154 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %154, ptr %17, align 4, !tbaa !9
  store i32 32, ptr %18, align 4, !tbaa !9
  %155 = load i32, ptr %18, align 4, !tbaa !9
  %156 = load i32, ptr %17, align 4, !tbaa !9
  %157 = add i32 %156, %155
  store i32 %157, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %158, ptr %9, align 4, !tbaa !9
  %159 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %159, ptr %23, align 8, !tbaa !11
  %160 = load i64, ptr %23, align 8, !tbaa !11
  %161 = trunc i64 %160 to i32
  store i32 %161, ptr %18, align 4, !tbaa !9
  %162 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %162, ptr %12, align 4, !tbaa !9
  %163 = load ptr, ptr %8, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %17, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %164, i64 noundef %166, i32 noundef %167)
  %168 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %168, ptr %17, align 4, !tbaa !9
  store i32 808, ptr %18, align 4, !tbaa !9
  %169 = load i32, ptr %18, align 4, !tbaa !9
  %170 = load i32, ptr %17, align 4, !tbaa !9
  %171 = add i32 %170, %169
  store i32 %171, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %172, ptr %13, align 4, !tbaa !9
  %173 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %173, ptr %17, align 4, !tbaa !9
  %174 = load i32, ptr %17, align 4, !tbaa !9
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %191

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

189:                                              ; preds = %176
  br label %424

190:                                              ; preds = %176
  br label %191

191:                                              ; preds = %190, %153
  %192 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %192, ptr %17, align 4, !tbaa !9
  store i32 1396, ptr %18, align 4, !tbaa !9
  %193 = load i32, ptr %18, align 4, !tbaa !9
  %194 = load i32, ptr %17, align 4, !tbaa !9
  %195 = add i32 %194, %193
  store i32 %195, ptr %17, align 4, !tbaa !9
  %196 = load ptr, ptr %8, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = call i32 @i32_load(ptr noundef %197, i64 noundef %199)
  store i32 %200, ptr %17, align 4, !tbaa !9
  %201 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %201, ptr %18, align 4, !tbaa !9
  store i32 -4194304, ptr %19, align 4, !tbaa !9
  %202 = load i32, ptr %19, align 4, !tbaa !9
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = and i32 %203, %202
  store i32 %204, ptr %18, align 4, !tbaa !9
  %205 = load i32, ptr %17, align 4, !tbaa !9
  %206 = load i32, ptr %18, align 4, !tbaa !9
  %207 = icmp ne i32 %205, %206
  %208 = zext i1 %207 to i32
  store i32 %208, ptr %17, align 4, !tbaa !9
  %209 = load i32, ptr %17, align 4, !tbaa !9
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %211, label %219

211:                                              ; preds = %191
  %212 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %212, ptr %17, align 4, !tbaa !9
  %213 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %213, ptr %18, align 4, !tbaa !9
  %214 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %214, ptr %19, align 4, !tbaa !9
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = load i32, ptr %17, align 4, !tbaa !9
  %217 = load i32, ptr %18, align 4, !tbaa !9
  %218 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218)
  br label %219

219:                                              ; preds = %211, %191
  %220 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %220, ptr %17, align 4, !tbaa !9
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.w2c_hermes, ptr %221, i32 0, i32 6
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  %225 = add i64 %224, 4
  %226 = call i32 @i32_load(ptr noundef %222, i64 noundef %225)
  store i32 %226, ptr %17, align 4, !tbaa !9
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %17, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = call i64 @i64_load(ptr noundef %228, i64 noundef %230)
  store i64 %231, ptr %22, align 8, !tbaa !11
  %232 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %232, ptr %15, align 8, !tbaa !11
  store i64 48, ptr %23, align 8, !tbaa !11
  %233 = load i64, ptr %22, align 8, !tbaa !11
  %234 = load i64, ptr %23, align 8, !tbaa !11
  %235 = and i64 %234, 63
  %236 = ashr i64 %233, %235
  store i64 %236, ptr %22, align 8, !tbaa !11
  %237 = load i64, ptr %22, align 8, !tbaa !11
  %238 = trunc i64 %237 to i32
  store i32 %238, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %239 = load i32, ptr %17, align 4, !tbaa !9
  %240 = load i32, ptr %18, align 4, !tbaa !9
  %241 = icmp ne i32 %239, %240
  %242 = zext i1 %241 to i32
  store i32 %242, ptr %17, align 4, !tbaa !9
  %243 = load i32, ptr %17, align 4, !tbaa !9
  %244 = icmp ne i32 %243, 0
  br i1 %244, label %245, label %246

245:                                              ; preds = %219
  br label %442

246:                                              ; preds = %219
  %247 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %247, ptr %22, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %248 = load i64, ptr %22, align 8, !tbaa !11
  %249 = load i64, ptr %23, align 8, !tbaa !11
  %250 = icmp ule i64 %248, %249
  %251 = zext i1 %250 to i32
  store i32 %251, ptr %17, align 4, !tbaa !9
  %252 = load i32, ptr %17, align 4, !tbaa !9
  %253 = icmp ne i32 %252, 0
  br i1 %253, label %254, label %255

254:                                              ; preds = %246
  br label %460

255:                                              ; preds = %246
  %256 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %256, ptr %17, align 4, !tbaa !9
  store i32 36, ptr %18, align 4, !tbaa !9
  %257 = load i32, ptr %18, align 4, !tbaa !9
  %258 = load i32, ptr %17, align 4, !tbaa !9
  %259 = add i32 %258, %257
  store i32 %259, ptr %17, align 4, !tbaa !9
  %260 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %260, ptr %9, align 4, !tbaa !9
  %261 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %261, ptr %23, align 8, !tbaa !11
  %262 = load i64, ptr %23, align 8, !tbaa !11
  %263 = trunc i64 %262 to i32
  store i32 %263, ptr %18, align 4, !tbaa !9
  %264 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %264, ptr %12, align 4, !tbaa !9
  %265 = load ptr, ptr %8, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.w2c_hermes, ptr %265, i32 0, i32 6
  %267 = load i32, ptr %17, align 4, !tbaa !9
  %268 = zext i32 %267 to i64
  %269 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %266, i64 noundef %268, i32 noundef %269)
  %270 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %270, ptr %17, align 4, !tbaa !9
  %271 = load i32, ptr %17, align 4, !tbaa !9
  %272 = icmp ne i32 %271, 0
  br i1 %272, label %273, label %288

273:                                              ; preds = %255
  %274 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %274, ptr %17, align 4, !tbaa !9
  %275 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %275, ptr %18, align 4, !tbaa !9
  %276 = load ptr, ptr %8, align 8, !tbaa !5
  %277 = load i32, ptr %17, align 4, !tbaa !9
  %278 = load i32, ptr %18, align 4, !tbaa !9
  %279 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %276, i32 noundef %277, i32 noundef %278)
  store i32 %279, ptr %17, align 4, !tbaa !9
  %280 = load i32, ptr %17, align 4, !tbaa !9
  %281 = icmp ne i32 %280, 0
  %282 = xor i1 %281, true
  %283 = zext i1 %282 to i32
  store i32 %283, ptr %17, align 4, !tbaa !9
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %287

286:                                              ; preds = %273
  br label %478

287:                                              ; preds = %273
  br label %288

288:                                              ; preds = %287, %255
  %289 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %289, ptr %17, align 4, !tbaa !9
  %290 = load ptr, ptr %8, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.w2c_hermes, ptr %290, i32 0, i32 6
  %292 = load i32, ptr %17, align 4, !tbaa !9
  %293 = zext i32 %292 to i64
  %294 = add i64 %293, 1396
  %295 = call i32 @i32_load(ptr noundef %291, i64 noundef %294)
  store i32 %295, ptr %17, align 4, !tbaa !9
  %296 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %296, ptr %18, align 4, !tbaa !9
  store i32 -4194304, ptr %19, align 4, !tbaa !9
  %297 = load i32, ptr %19, align 4, !tbaa !9
  %298 = load i32, ptr %18, align 4, !tbaa !9
  %299 = and i32 %298, %297
  store i32 %299, ptr %18, align 4, !tbaa !9
  %300 = load i32, ptr %17, align 4, !tbaa !9
  %301 = load i32, ptr %18, align 4, !tbaa !9
  %302 = icmp ne i32 %300, %301
  %303 = zext i1 %302 to i32
  store i32 %303, ptr %17, align 4, !tbaa !9
  %304 = load i32, ptr %17, align 4, !tbaa !9
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %306, label %314

306:                                              ; preds = %288
  %307 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %307, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %308, ptr %18, align 4, !tbaa !9
  %309 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %309, ptr %19, align 4, !tbaa !9
  %310 = load ptr, ptr %8, align 8, !tbaa !5
  %311 = load i32, ptr %17, align 4, !tbaa !9
  %312 = load i32, ptr %18, align 4, !tbaa !9
  %313 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %310, i32 noundef %311, i32 noundef %312, i32 noundef %313)
  br label %314

314:                                              ; preds = %306, %288
  %315 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %315, ptr %17, align 4, !tbaa !9
  br label %496

316:                                              ; preds = %7
  store i32 0, ptr %17, align 4, !tbaa !9
  %317 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %317, ptr %10, align 4, !tbaa !9
  store i32 118124, ptr %18, align 4, !tbaa !9
  %318 = load i32, ptr %18, align 4, !tbaa !9
  %319 = load i32, ptr %17, align 4, !tbaa !9
  %320 = add i32 %319, %318
  store i32 %320, ptr %17, align 4, !tbaa !9
  %321 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %321, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %322 = load i32, ptr %19, align 4, !tbaa !9
  %323 = load i32, ptr %18, align 4, !tbaa !9
  %324 = add i32 %323, %322
  store i32 %324, ptr %18, align 4, !tbaa !9
  store i32 480, ptr %19, align 4, !tbaa !9
  %325 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %325, ptr %20, align 4, !tbaa !9
  store i32 38798, ptr %21, align 4, !tbaa !9
  %326 = load i32, ptr %21, align 4, !tbaa !9
  %327 = load i32, ptr %20, align 4, !tbaa !9
  %328 = add i32 %327, %326
  store i32 %328, ptr %20, align 4, !tbaa !9
  %329 = load ptr, ptr %8, align 8, !tbaa !5
  %330 = load i32, ptr %17, align 4, !tbaa !9
  %331 = load i32, ptr %18, align 4, !tbaa !9
  %332 = load i32, ptr %19, align 4, !tbaa !9
  %333 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %329, i32 noundef %330, i32 noundef %331, i32 noundef %332, i32 noundef %333)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

334:                                              ; preds = %59
  store i32 0, ptr %17, align 4, !tbaa !9
  %335 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %335, ptr %10, align 4, !tbaa !9
  store i32 118273, ptr %18, align 4, !tbaa !9
  %336 = load i32, ptr %18, align 4, !tbaa !9
  %337 = load i32, ptr %17, align 4, !tbaa !9
  %338 = add i32 %337, %336
  store i32 %338, ptr %17, align 4, !tbaa !9
  %339 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %339, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %340 = load i32, ptr %19, align 4, !tbaa !9
  %341 = load i32, ptr %18, align 4, !tbaa !9
  %342 = add i32 %341, %340
  store i32 %342, ptr %18, align 4, !tbaa !9
  store i32 438, ptr %19, align 4, !tbaa !9
  %343 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %343, ptr %20, align 4, !tbaa !9
  store i32 49706, ptr %21, align 4, !tbaa !9
  %344 = load i32, ptr %21, align 4, !tbaa !9
  %345 = load i32, ptr %20, align 4, !tbaa !9
  %346 = add i32 %345, %344
  store i32 %346, ptr %20, align 4, !tbaa !9
  %347 = load ptr, ptr %8, align 8, !tbaa !5
  %348 = load i32, ptr %17, align 4, !tbaa !9
  %349 = load i32, ptr %18, align 4, !tbaa !9
  %350 = load i32, ptr %19, align 4, !tbaa !9
  %351 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %347, i32 noundef %348, i32 noundef %349, i32 noundef %350, i32 noundef %351)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

352:                                              ; preds = %86
  store i32 0, ptr %17, align 4, !tbaa !9
  %353 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %353, ptr %10, align 4, !tbaa !9
  store i32 118124, ptr %18, align 4, !tbaa !9
  %354 = load i32, ptr %18, align 4, !tbaa !9
  %355 = load i32, ptr %17, align 4, !tbaa !9
  %356 = add i32 %355, %354
  store i32 %356, ptr %17, align 4, !tbaa !9
  %357 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %357, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %358 = load i32, ptr %19, align 4, !tbaa !9
  %359 = load i32, ptr %18, align 4, !tbaa !9
  %360 = add i32 %359, %358
  store i32 %360, ptr %18, align 4, !tbaa !9
  store i32 480, ptr %19, align 4, !tbaa !9
  %361 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %361, ptr %20, align 4, !tbaa !9
  store i32 38798, ptr %21, align 4, !tbaa !9
  %362 = load i32, ptr %21, align 4, !tbaa !9
  %363 = load i32, ptr %20, align 4, !tbaa !9
  %364 = add i32 %363, %362
  store i32 %364, ptr %20, align 4, !tbaa !9
  %365 = load ptr, ptr %8, align 8, !tbaa !5
  %366 = load i32, ptr %17, align 4, !tbaa !9
  %367 = load i32, ptr %18, align 4, !tbaa !9
  %368 = load i32, ptr %19, align 4, !tbaa !9
  %369 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %365, i32 noundef %366, i32 noundef %367, i32 noundef %368, i32 noundef %369)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

370:                                              ; preds = %95
  store i32 0, ptr %17, align 4, !tbaa !9
  %371 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %371, ptr %10, align 4, !tbaa !9
  store i32 118273, ptr %18, align 4, !tbaa !9
  %372 = load i32, ptr %18, align 4, !tbaa !9
  %373 = load i32, ptr %17, align 4, !tbaa !9
  %374 = add i32 %373, %372
  store i32 %374, ptr %17, align 4, !tbaa !9
  %375 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %375, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %376 = load i32, ptr %19, align 4, !tbaa !9
  %377 = load i32, ptr %18, align 4, !tbaa !9
  %378 = add i32 %377, %376
  store i32 %378, ptr %18, align 4, !tbaa !9
  store i32 438, ptr %19, align 4, !tbaa !9
  %379 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %379, ptr %20, align 4, !tbaa !9
  store i32 49706, ptr %21, align 4, !tbaa !9
  %380 = load i32, ptr %21, align 4, !tbaa !9
  %381 = load i32, ptr %20, align 4, !tbaa !9
  %382 = add i32 %381, %380
  store i32 %382, ptr %20, align 4, !tbaa !9
  %383 = load ptr, ptr %8, align 8, !tbaa !5
  %384 = load i32, ptr %17, align 4, !tbaa !9
  %385 = load i32, ptr %18, align 4, !tbaa !9
  %386 = load i32, ptr %19, align 4, !tbaa !9
  %387 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %383, i32 noundef %384, i32 noundef %385, i32 noundef %386, i32 noundef %387)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

388:                                              ; preds = %143
  store i32 0, ptr %17, align 4, !tbaa !9
  %389 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %389, ptr %10, align 4, !tbaa !9
  store i32 118124, ptr %18, align 4, !tbaa !9
  %390 = load i32, ptr %18, align 4, !tbaa !9
  %391 = load i32, ptr %17, align 4, !tbaa !9
  %392 = add i32 %391, %390
  store i32 %392, ptr %17, align 4, !tbaa !9
  %393 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %393, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %394 = load i32, ptr %19, align 4, !tbaa !9
  %395 = load i32, ptr %18, align 4, !tbaa !9
  %396 = add i32 %395, %394
  store i32 %396, ptr %18, align 4, !tbaa !9
  store i32 480, ptr %19, align 4, !tbaa !9
  %397 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %397, ptr %20, align 4, !tbaa !9
  store i32 38798, ptr %21, align 4, !tbaa !9
  %398 = load i32, ptr %21, align 4, !tbaa !9
  %399 = load i32, ptr %20, align 4, !tbaa !9
  %400 = add i32 %399, %398
  store i32 %400, ptr %20, align 4, !tbaa !9
  %401 = load ptr, ptr %8, align 8, !tbaa !5
  %402 = load i32, ptr %17, align 4, !tbaa !9
  %403 = load i32, ptr %18, align 4, !tbaa !9
  %404 = load i32, ptr %19, align 4, !tbaa !9
  %405 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %401, i32 noundef %402, i32 noundef %403, i32 noundef %404, i32 noundef %405)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

406:                                              ; preds = %152
  store i32 0, ptr %17, align 4, !tbaa !9
  %407 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %407, ptr %10, align 4, !tbaa !9
  store i32 118273, ptr %18, align 4, !tbaa !9
  %408 = load i32, ptr %18, align 4, !tbaa !9
  %409 = load i32, ptr %17, align 4, !tbaa !9
  %410 = add i32 %409, %408
  store i32 %410, ptr %17, align 4, !tbaa !9
  %411 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %411, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %412 = load i32, ptr %19, align 4, !tbaa !9
  %413 = load i32, ptr %18, align 4, !tbaa !9
  %414 = add i32 %413, %412
  store i32 %414, ptr %18, align 4, !tbaa !9
  store i32 438, ptr %19, align 4, !tbaa !9
  %415 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %415, ptr %20, align 4, !tbaa !9
  store i32 49706, ptr %21, align 4, !tbaa !9
  %416 = load i32, ptr %21, align 4, !tbaa !9
  %417 = load i32, ptr %20, align 4, !tbaa !9
  %418 = add i32 %417, %416
  store i32 %418, ptr %20, align 4, !tbaa !9
  %419 = load ptr, ptr %8, align 8, !tbaa !5
  %420 = load i32, ptr %17, align 4, !tbaa !9
  %421 = load i32, ptr %18, align 4, !tbaa !9
  %422 = load i32, ptr %19, align 4, !tbaa !9
  %423 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %419, i32 noundef %420, i32 noundef %421, i32 noundef %422, i32 noundef %423)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

424:                                              ; preds = %189
  store i32 0, ptr %17, align 4, !tbaa !9
  %425 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %425, ptr %10, align 4, !tbaa !9
  store i32 147550, ptr %18, align 4, !tbaa !9
  %426 = load i32, ptr %18, align 4, !tbaa !9
  %427 = load i32, ptr %17, align 4, !tbaa !9
  %428 = add i32 %427, %426
  store i32 %428, ptr %17, align 4, !tbaa !9
  %429 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %429, ptr %18, align 4, !tbaa !9
  store i32 83763, ptr %19, align 4, !tbaa !9
  %430 = load i32, ptr %19, align 4, !tbaa !9
  %431 = load i32, ptr %18, align 4, !tbaa !9
  %432 = add i32 %431, %430
  store i32 %432, ptr %18, align 4, !tbaa !9
  store i32 28, ptr %19, align 4, !tbaa !9
  %433 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %433, ptr %20, align 4, !tbaa !9
  store i32 92238, ptr %21, align 4, !tbaa !9
  %434 = load i32, ptr %21, align 4, !tbaa !9
  %435 = load i32, ptr %20, align 4, !tbaa !9
  %436 = add i32 %435, %434
  store i32 %436, ptr %20, align 4, !tbaa !9
  %437 = load ptr, ptr %8, align 8, !tbaa !5
  %438 = load i32, ptr %17, align 4, !tbaa !9
  %439 = load i32, ptr %18, align 4, !tbaa !9
  %440 = load i32, ptr %19, align 4, !tbaa !9
  %441 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %437, i32 noundef %438, i32 noundef %439, i32 noundef %440, i32 noundef %441)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

442:                                              ; preds = %245
  store i32 0, ptr %17, align 4, !tbaa !9
  %443 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %443, ptr %10, align 4, !tbaa !9
  store i32 118124, ptr %18, align 4, !tbaa !9
  %444 = load i32, ptr %18, align 4, !tbaa !9
  %445 = load i32, ptr %17, align 4, !tbaa !9
  %446 = add i32 %445, %444
  store i32 %446, ptr %17, align 4, !tbaa !9
  %447 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %447, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %448 = load i32, ptr %19, align 4, !tbaa !9
  %449 = load i32, ptr %18, align 4, !tbaa !9
  %450 = add i32 %449, %448
  store i32 %450, ptr %18, align 4, !tbaa !9
  store i32 480, ptr %19, align 4, !tbaa !9
  %451 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %451, ptr %20, align 4, !tbaa !9
  store i32 38798, ptr %21, align 4, !tbaa !9
  %452 = load i32, ptr %21, align 4, !tbaa !9
  %453 = load i32, ptr %20, align 4, !tbaa !9
  %454 = add i32 %453, %452
  store i32 %454, ptr %20, align 4, !tbaa !9
  %455 = load ptr, ptr %8, align 8, !tbaa !5
  %456 = load i32, ptr %17, align 4, !tbaa !9
  %457 = load i32, ptr %18, align 4, !tbaa !9
  %458 = load i32, ptr %19, align 4, !tbaa !9
  %459 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %455, i32 noundef %456, i32 noundef %457, i32 noundef %458, i32 noundef %459)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

460:                                              ; preds = %254
  store i32 0, ptr %17, align 4, !tbaa !9
  %461 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %461, ptr %10, align 4, !tbaa !9
  store i32 118273, ptr %18, align 4, !tbaa !9
  %462 = load i32, ptr %18, align 4, !tbaa !9
  %463 = load i32, ptr %17, align 4, !tbaa !9
  %464 = add i32 %463, %462
  store i32 %464, ptr %17, align 4, !tbaa !9
  %465 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %465, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %466 = load i32, ptr %19, align 4, !tbaa !9
  %467 = load i32, ptr %18, align 4, !tbaa !9
  %468 = add i32 %467, %466
  store i32 %468, ptr %18, align 4, !tbaa !9
  store i32 438, ptr %19, align 4, !tbaa !9
  %469 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %469, ptr %20, align 4, !tbaa !9
  store i32 49706, ptr %21, align 4, !tbaa !9
  %470 = load i32, ptr %21, align 4, !tbaa !9
  %471 = load i32, ptr %20, align 4, !tbaa !9
  %472 = add i32 %471, %470
  store i32 %472, ptr %20, align 4, !tbaa !9
  %473 = load ptr, ptr %8, align 8, !tbaa !5
  %474 = load i32, ptr %17, align 4, !tbaa !9
  %475 = load i32, ptr %18, align 4, !tbaa !9
  %476 = load i32, ptr %19, align 4, !tbaa !9
  %477 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %473, i32 noundef %474, i32 noundef %475, i32 noundef %476, i32 noundef %477)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

478:                                              ; preds = %286
  store i32 0, ptr %17, align 4, !tbaa !9
  %479 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %479, ptr %10, align 4, !tbaa !9
  store i32 147550, ptr %18, align 4, !tbaa !9
  %480 = load i32, ptr %18, align 4, !tbaa !9
  %481 = load i32, ptr %17, align 4, !tbaa !9
  %482 = add i32 %481, %480
  store i32 %482, ptr %17, align 4, !tbaa !9
  %483 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %483, ptr %18, align 4, !tbaa !9
  store i32 83763, ptr %19, align 4, !tbaa !9
  %484 = load i32, ptr %19, align 4, !tbaa !9
  %485 = load i32, ptr %18, align 4, !tbaa !9
  %486 = add i32 %485, %484
  store i32 %486, ptr %18, align 4, !tbaa !9
  store i32 28, ptr %19, align 4, !tbaa !9
  %487 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %487, ptr %20, align 4, !tbaa !9
  store i32 92238, ptr %21, align 4, !tbaa !9
  %488 = load i32, ptr %21, align 4, !tbaa !9
  %489 = load i32, ptr %20, align 4, !tbaa !9
  %490 = add i32 %489, %488
  store i32 %490, ptr %20, align 4, !tbaa !9
  %491 = load ptr, ptr %8, align 8, !tbaa !5
  %492 = load i32, ptr %17, align 4, !tbaa !9
  %493 = load i32, ptr %18, align 4, !tbaa !9
  %494 = load i32, ptr %19, align 4, !tbaa !9
  %495 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %491, i32 noundef %492, i32 noundef %493, i32 noundef %494, i32 noundef %495)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

496:                                              ; preds = %314
  %497 = load i32, ptr %17, align 4, !tbaa !9
  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 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %15) #5
  ret i32 %497
}

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}


; 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: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABoundFunction0x3A0x3ABoundFunction0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayStorageBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #3 {
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = add nuw nsw i64 %9, 4
  %11 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %12)
  %14 = icmp ugt i64 %13, -281474976710657
  br i1 %14, label %15, label %64

15:                                               ; preds = %7
  %16 = zext i32 %4 to i64
  %17 = add nuw nsw i64 %16, 4
  %18 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %17)
  %19 = zext i32 %18 to i64
  %20 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %19)
  %.not = icmp ugt i64 %20, -281474976710657
  br i1 %.not, label %21, label %65

21:                                               ; preds = %15
  %22 = trunc i64 %13 to i32
  %23 = trunc i64 %20 to i32
  %24 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AJSObject0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %22, i32 noundef %23) #4
  %25 = zext i32 %24 to i64
  %26 = add nuw nsw i64 %25, 28
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %26, i32 noundef 0)
  %27 = zext i32 %5 to i64
  %28 = add nuw nsw i64 %27, 4
  %29 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %28)
  %30 = zext i32 %29 to i64
  %31 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %30)
  %.not301 = icmp ugt i64 %31, -281474976710657
  br i1 %.not301, label %32, label %66

32:                                               ; preds = %21
  %33 = add i32 %24, 32
  %34 = trunc i64 %31 to i32
  %35 = zext i32 %33 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %35, i32 noundef %34)
  %36 = add i32 %2, 808
  %.not302 = icmp eq i32 %34, 0
  br i1 %.not302, label %39, label %37

37:                                               ; preds = %32
  %38 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %0, i32 noundef %36, i32 noundef %34)
  %.not303 = icmp eq i32 %38, 0
  br i1 %.not303, label %67, label %39

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

44:                                               ; preds = %39
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %0, i32 noundef %36, i32 noundef %33, i32 noundef %34)
  br label %45

45:                                               ; preds = %44, %39
  %46 = zext i32 %6 to i64
  %47 = add nuw nsw i64 %46, 4
  %48 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %47)
  %49 = zext i32 %48 to i64
  %50 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %49)
  %.not305 = icmp ugt i64 %50, -281474976710657
  br i1 %.not305, label %51, label %68

51:                                               ; preds = %45
  %52 = add i32 %24, 36
  %53 = trunc i64 %50 to i32
  %54 = zext i32 %52 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %54, i32 noundef %53)
  %.not306 = icmp eq i32 %53, 0
  br i1 %.not306, label %57, label %55

55:                                               ; preds = %51
  %56 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %0, i32 noundef %36, i32 noundef %53)
  %.not307 = icmp eq i32 %56, 0
  br i1 %.not307, label %69, label %57

57:                                               ; preds = %55, %51
  %58 = zext i32 %2 to i64
  %59 = add nuw nsw i64 %58, 1396
  %60 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %59)
  %61 = and i32 %52, -4194304
  %.not308 = icmp eq i32 %60, %61
  br i1 %.not308, label %63, label %62

62:                                               ; preds = %57
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %0, i32 noundef %36, i32 noundef %52, i32 noundef %53)
  br label %63

63:                                               ; preds = %62, %57
  ret i32 %24

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

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

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

67:                                               ; preds = %37
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147550, i32 noundef 83763, i32 noundef 28, i32 noundef 92238) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

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

69:                                               ; preds = %55
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147550, i32 noundef 83763, i32 noundef 28, i32 noundef 92238) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass