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

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

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

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

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

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

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

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

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

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

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

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

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

46:                                               ; preds = %4
  %47 = load i32, ptr %20, align 4, !tbaa !9
  br label %50

48:                                               ; preds = %4
  %49 = load i32, ptr %21, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %48, %46
  %51 = phi i32 [ %47, %46 ], [ %49, %48 ]
  store i32 %51, ptr %20, align 4, !tbaa !9
  %52 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %52, ptr %12, align 4, !tbaa !9
  %53 = load i32, ptr %20, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  %55 = xor i1 %54, true
  %56 = zext i1 %55 to i32
  store i32 %56, ptr %20, align 4, !tbaa !9
  %57 = load i32, ptr %20, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %66

59:                                               ; preds = %50
  %60 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %60, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %20, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %62, i64 noundef %64, i32 noundef %65)
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %367

66:                                               ; preds = %50
  %67 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %67, ptr %20, align 4, !tbaa !9
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.w2c_hermes, ptr %68, i32 0, i32 6
  %70 = load i32, ptr %20, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = add i64 %71, 8
  %73 = call i32 @i32_load(ptr noundef %69, i64 noundef %72)
  store i32 %73, ptr %20, align 4, !tbaa !9
  %74 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %74, ptr %10, align 4, !tbaa !9
  %75 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %75, ptr %20, align 4, !tbaa !9
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %20, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = call i32 @i32_load(ptr noundef %77, i64 noundef %79)
  store i32 %80, ptr %20, align 4, !tbaa !9
  store i32 -2, ptr %21, align 4, !tbaa !9
  %81 = load i32, ptr %21, align 4, !tbaa !9
  %82 = load i32, ptr %20, align 4, !tbaa !9
  %83 = and i32 %82, %81
  store i32 %83, ptr %20, align 4, !tbaa !9
  store i32 536870910, ptr %21, align 4, !tbaa !9
  %84 = load i32, ptr %20, align 4, !tbaa !9
  %85 = load i32, ptr %21, align 4, !tbaa !9
  %86 = icmp eq i32 %84, %85
  %87 = zext i1 %86 to i32
  store i32 %87, ptr %20, align 4, !tbaa !9
  %88 = load i32, ptr %20, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %106

90:                                               ; preds = %66
  %91 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %91, ptr %20, align 4, !tbaa !9
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %20, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = add i64 %95, 4
  %97 = call i32 @i32_load16_u(ptr noundef %93, i64 noundef %96)
  store i32 %97, ptr %20, align 4, !tbaa !9
  %98 = load i32, ptr %20, align 4, !tbaa !9
  %99 = icmp ne i32 %98, 0
  %100 = xor i1 %99, true
  %101 = zext i1 %100 to i32
  store i32 %101, ptr %20, align 4, !tbaa !9
  %102 = load i32, ptr %20, align 4, !tbaa !9
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %105

104:                                              ; preds = %90
  br label %349

105:                                              ; preds = %90
  br label %106

106:                                              ; preds = %105, %66
  %107 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %107, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %108 = load i32, ptr %21, align 4, !tbaa !9
  %109 = load i32, ptr %20, align 4, !tbaa !9
  %110 = add i32 %109, %108
  store i32 %110, ptr %20, align 4, !tbaa !9
  %111 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %111, ptr %21, align 4, !tbaa !9
  %112 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %112, ptr %22, align 4, !tbaa !9
  %113 = load i32, ptr %22, align 4, !tbaa !9
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %117

115:                                              ; preds = %106
  %116 = load i32, ptr %20, align 4, !tbaa !9
  br label %119

117:                                              ; preds = %106
  %118 = load i32, ptr %21, align 4, !tbaa !9
  br label %119

119:                                              ; preds = %117, %115
  %120 = phi i32 [ %116, %115 ], [ %118, %117 ]
  store i32 %120, ptr %20, align 4, !tbaa !9
  %121 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %121, ptr %16, align 4, !tbaa !9
  %122 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %122, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %123 = load i32, ptr %22, align 4, !tbaa !9
  %124 = load i32, ptr %21, align 4, !tbaa !9
  %125 = sub i32 %124, %123
  store i32 %125, ptr %21, align 4, !tbaa !9
  %126 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %126, ptr %17, align 4, !tbaa !9
  %127 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %127, ptr %22, align 4, !tbaa !9
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.w2c_hermes, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %22, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = call i64 @i64_load(ptr noundef %129, i64 noundef %131)
  store i64 %132, ptr %25, align 8, !tbaa !11
  %133 = load i64, ptr %25, align 8, !tbaa !11
  store i64 %133, ptr %19, align 8, !tbaa !11
  store i64 32, ptr %26, align 8, !tbaa !11
  %134 = load i64, ptr %26, align 8, !tbaa !11
  %135 = and i64 %134, 63
  %136 = load i64, ptr %25, align 8, !tbaa !11
  %137 = lshr i64 %136, %135
  store i64 %137, ptr %25, align 8, !tbaa !11
  %138 = load i64, ptr %25, align 8, !tbaa !11
  %139 = trunc i64 %138 to i32
  store i32 %139, ptr %22, align 4, !tbaa !9
  %140 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %140, ptr %18, align 4, !tbaa !9
  store i32 65535, ptr %23, align 4, !tbaa !9
  %141 = load i32, ptr %23, align 4, !tbaa !9
  %142 = load i32, ptr %22, align 4, !tbaa !9
  %143 = and i32 %142, %141
  store i32 %143, ptr %22, align 4, !tbaa !9
  %144 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %144, ptr %10, align 4, !tbaa !9
  %145 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %145, ptr %26, align 8, !tbaa !11
  %146 = load i64, ptr %26, align 8, !tbaa !11
  %147 = trunc i64 %146 to i32
  store i32 %147, ptr %23, align 4, !tbaa !9
  %148 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %148, ptr %11, align 4, !tbaa !9
  %149 = load i32, ptr %23, align 4, !tbaa !9
  %150 = load i32, ptr %22, align 4, !tbaa !9
  %151 = xor i32 %150, %149
  store i32 %151, ptr %22, align 4, !tbaa !9
  %152 = load i32, ptr %22, align 4, !tbaa !9
  %153 = load i32, ptr %21, align 4, !tbaa !9
  %154 = and i32 %153, %152
  store i32 %154, ptr %21, align 4, !tbaa !9
  %155 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %155, ptr %15, align 4, !tbaa !9
  store i32 12, ptr %22, align 4, !tbaa !9
  %156 = load i32, ptr %22, align 4, !tbaa !9
  %157 = load i32, ptr %21, align 4, !tbaa !9
  %158 = mul i32 %157, %156
  store i32 %158, ptr %21, align 4, !tbaa !9
  %159 = load i32, ptr %21, align 4, !tbaa !9
  %160 = load i32, ptr %20, align 4, !tbaa !9
  %161 = add i32 %160, %159
  store i32 %161, ptr %20, align 4, !tbaa !9
  %162 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %162, ptr %6, align 4, !tbaa !9
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %20, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = add i64 %166, 4
  %168 = call i32 @i32_load16_u(ptr noundef %164, i64 noundef %167)
  store i32 %168, ptr %20, align 4, !tbaa !9
  %169 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %169, ptr %7, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %170 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %170, ptr %13, align 4, !tbaa !9
  %171 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %171, ptr %20, align 4, !tbaa !9
  %172 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %172, ptr %21, align 4, !tbaa !9
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %21, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = call i32 @i32_load(ptr noundef %174, i64 noundef %176)
  store i32 %177, ptr %21, align 4, !tbaa !9
  %178 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %178, ptr %14, align 4, !tbaa !9
  %179 = load i32, ptr %20, align 4, !tbaa !9
  %180 = load i32, ptr %21, align 4, !tbaa !9
  %181 = icmp eq i32 %179, %180
  %182 = zext i1 %181 to i32
  store i32 %182, ptr %20, align 4, !tbaa !9
  %183 = load i32, ptr %20, align 4, !tbaa !9
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %185, label %200

185:                                              ; preds = %119
  store i32 1, ptr %20, align 4, !tbaa !9
  %186 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %186, ptr %12, align 4, !tbaa !9
  %187 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %187, ptr %20, align 4, !tbaa !9
  store i32 65535, ptr %21, align 4, !tbaa !9
  %188 = load i32, ptr %21, align 4, !tbaa !9
  %189 = load i32, ptr %20, align 4, !tbaa !9
  %190 = and i32 %189, %188
  store i32 %190, ptr %20, align 4, !tbaa !9
  %191 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %191, ptr %21, align 4, !tbaa !9
  %192 = load i32, ptr %20, align 4, !tbaa !9
  %193 = load i32, ptr %21, align 4, !tbaa !9
  %194 = icmp eq i32 %192, %193
  %195 = zext i1 %194 to i32
  store i32 %195, ptr %20, align 4, !tbaa !9
  %196 = load i32, ptr %20, align 4, !tbaa !9
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %198, label %199

198:                                              ; preds = %185
  br label %340

199:                                              ; preds = %185
  br label %200

200:                                              ; preds = %199, %119
  br label %201

201:                                              ; preds = %338, %322, %200
  %202 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %202, ptr %20, align 4, !tbaa !9
  store i32 536870911, ptr %21, align 4, !tbaa !9
  %203 = load i32, ptr %20, align 4, !tbaa !9
  %204 = load i32, ptr %21, align 4, !tbaa !9
  %205 = icmp ne i32 %203, %204
  %206 = zext i1 %205 to i32
  store i32 %206, ptr %20, align 4, !tbaa !9
  %207 = load i32, ptr %20, align 4, !tbaa !9
  %208 = icmp ne i32 %207, 0
  br i1 %208, label %209, label %210

209:                                              ; preds = %201
  br label %236

210:                                              ; preds = %201
  %211 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %211, ptr %20, align 4, !tbaa !9
  store i32 65535, ptr %21, align 4, !tbaa !9
  %212 = load i32, ptr %21, align 4, !tbaa !9
  %213 = load i32, ptr %20, align 4, !tbaa !9
  %214 = and i32 %213, %212
  store i32 %214, ptr %20, align 4, !tbaa !9
  %215 = load i32, ptr %20, align 4, !tbaa !9
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %218

217:                                              ; preds = %210
  br label %236

218:                                              ; preds = %210
  %219 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %219, ptr %20, align 4, !tbaa !9
  %220 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %220, ptr %21, align 4, !tbaa !9
  %221 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %221, ptr %22, align 4, !tbaa !9
  %222 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %222, ptr %23, align 4, !tbaa !9
  %223 = load i32, ptr %23, align 4, !tbaa !9
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %225, label %227

225:                                              ; preds = %218
  %226 = load i32, ptr %21, align 4, !tbaa !9
  br label %229

227:                                              ; preds = %218
  %228 = load i32, ptr %22, align 4, !tbaa !9
  br label %229

229:                                              ; preds = %227, %225
  %230 = phi i32 [ %226, %225 ], [ %228, %227 ]
  store i32 %230, ptr %21, align 4, !tbaa !9
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.w2c_hermes, ptr %231, i32 0, i32 6
  %233 = load i32, ptr %20, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %232, i64 noundef %234, i32 noundef %235)
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %367

236:                                              ; preds = %217, %209
  %237 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %237, ptr %20, align 4, !tbaa !9
  %238 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %238, ptr %21, align 4, !tbaa !9
  %239 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %239, ptr %22, align 4, !tbaa !9
  %240 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %240, ptr %23, align 4, !tbaa !9
  %241 = load i32, ptr %23, align 4, !tbaa !9
  %242 = icmp ne i32 %241, 0
  br i1 %242, label %243, label %245

243:                                              ; preds = %236
  %244 = load i32, ptr %21, align 4, !tbaa !9
  br label %247

245:                                              ; preds = %236
  %246 = load i32, ptr %22, align 4, !tbaa !9
  br label %247

247:                                              ; preds = %245, %243
  %248 = phi i32 [ %244, %243 ], [ %246, %245 ]
  store i32 %248, ptr %21, align 4, !tbaa !9
  %249 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %249, ptr %22, align 4, !tbaa !9
  store i32 65535, ptr %23, align 4, !tbaa !9
  %250 = load i32, ptr %23, align 4, !tbaa !9
  %251 = load i32, ptr %22, align 4, !tbaa !9
  %252 = and i32 %251, %250
  store i32 %252, ptr %22, align 4, !tbaa !9
  %253 = load i32, ptr %22, align 4, !tbaa !9
  %254 = icmp ne i32 %253, 0
  br i1 %254, label %255, label %257

255:                                              ; preds = %247
  %256 = load i32, ptr %20, align 4, !tbaa !9
  br label %259

257:                                              ; preds = %247
  %258 = load i32, ptr %21, align 4, !tbaa !9
  br label %259

259:                                              ; preds = %257, %255
  %260 = phi i32 [ %256, %255 ], [ %258, %257 ]
  store i32 %260, ptr %20, align 4, !tbaa !9
  %261 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %261, ptr %21, align 4, !tbaa !9
  %262 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %262, ptr %22, align 4, !tbaa !9
  store i32 536870910, ptr %23, align 4, !tbaa !9
  %263 = load i32, ptr %22, align 4, !tbaa !9
  %264 = load i32, ptr %23, align 4, !tbaa !9
  %265 = icmp eq i32 %263, %264
  %266 = zext i1 %265 to i32
  store i32 %266, ptr %22, align 4, !tbaa !9
  %267 = load i32, ptr %22, align 4, !tbaa !9
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %271

269:                                              ; preds = %259
  %270 = load i32, ptr %20, align 4, !tbaa !9
  br label %273

271:                                              ; preds = %259
  %272 = load i32, ptr %21, align 4, !tbaa !9
  br label %273

273:                                              ; preds = %271, %269
  %274 = phi i32 [ %270, %269 ], [ %272, %271 ]
  store i32 %274, ptr %20, align 4, !tbaa !9
  %275 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %275, ptr %9, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %276 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %276, ptr %12, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %277, ptr %20, align 4, !tbaa !9
  %278 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %278, ptr %21, align 4, !tbaa !9
  %279 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %279, ptr %22, align 4, !tbaa !9
  %280 = load i32, ptr %22, align 4, !tbaa !9
  %281 = load i32, ptr %21, align 4, !tbaa !9
  %282 = add i32 %281, %280
  store i32 %282, ptr %21, align 4, !tbaa !9
  %283 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %283, ptr %22, align 4, !tbaa !9
  %284 = load i32, ptr %22, align 4, !tbaa !9
  %285 = load i32, ptr %21, align 4, !tbaa !9
  %286 = and i32 %285, %284
  store i32 %286, ptr %21, align 4, !tbaa !9
  %287 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %287, ptr %15, align 4, !tbaa !9
  store i32 12, ptr %22, align 4, !tbaa !9
  %288 = load i32, ptr %22, align 4, !tbaa !9
  %289 = load i32, ptr %21, align 4, !tbaa !9
  %290 = mul i32 %289, %288
  store i32 %290, ptr %21, align 4, !tbaa !9
  %291 = load i32, ptr %21, align 4, !tbaa !9
  %292 = load i32, ptr %20, align 4, !tbaa !9
  %293 = add i32 %292, %291
  store i32 %293, ptr %20, align 4, !tbaa !9
  %294 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %294, ptr %6, align 4, !tbaa !9
  %295 = load ptr, ptr %5, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.w2c_hermes, ptr %295, i32 0, i32 6
  %297 = load i32, ptr %20, align 4, !tbaa !9
  %298 = zext i32 %297 to i64
  %299 = add i64 %298, 4
  %300 = call i32 @i32_load16_u(ptr noundef %296, i64 noundef %299)
  store i32 %300, ptr %20, align 4, !tbaa !9
  %301 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %301, ptr %7, align 4, !tbaa !9
  %302 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %302, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %303 = load i32, ptr %21, align 4, !tbaa !9
  %304 = load i32, ptr %20, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %20, align 4, !tbaa !9
  %306 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %306, ptr %10, align 4, !tbaa !9
  %307 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %307, ptr %13, align 4, !tbaa !9
  %308 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %308, ptr %20, align 4, !tbaa !9
  %309 = load ptr, ptr %5, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.w2c_hermes, ptr %309, i32 0, i32 6
  %311 = load i32, ptr %20, align 4, !tbaa !9
  %312 = zext i32 %311 to i64
  %313 = call i32 @i32_load(ptr noundef %310, i64 noundef %312)
  store i32 %313, ptr %20, align 4, !tbaa !9
  %314 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %314, ptr %14, align 4, !tbaa !9
  %315 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %315, ptr %21, align 4, !tbaa !9
  %316 = load i32, ptr %20, align 4, !tbaa !9
  %317 = load i32, ptr %21, align 4, !tbaa !9
  %318 = icmp ne i32 %316, %317
  %319 = zext i1 %318 to i32
  store i32 %319, ptr %20, align 4, !tbaa !9
  %320 = load i32, ptr %20, align 4, !tbaa !9
  %321 = icmp ne i32 %320, 0
  br i1 %321, label %322, label %323

322:                                              ; preds = %273
  br label %201

323:                                              ; preds = %273
  %324 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %324, ptr %20, align 4, !tbaa !9
  store i32 65535, ptr %21, align 4, !tbaa !9
  %325 = load i32, ptr %21, align 4, !tbaa !9
  %326 = load i32, ptr %20, align 4, !tbaa !9
  %327 = and i32 %326, %325
  store i32 %327, ptr %20, align 4, !tbaa !9
  %328 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %328, ptr %21, align 4, !tbaa !9
  store i32 65535, ptr %22, align 4, !tbaa !9
  %329 = load i32, ptr %22, align 4, !tbaa !9
  %330 = load i32, ptr %21, align 4, !tbaa !9
  %331 = and i32 %330, %329
  store i32 %331, ptr %21, align 4, !tbaa !9
  %332 = load i32, ptr %20, align 4, !tbaa !9
  %333 = load i32, ptr %21, align 4, !tbaa !9
  %334 = icmp ne i32 %332, %333
  %335 = zext i1 %334 to i32
  store i32 %335, ptr %20, align 4, !tbaa !9
  %336 = load i32, ptr %20, align 4, !tbaa !9
  %337 = icmp ne i32 %336, 0
  br i1 %337, label %338, label %339

338:                                              ; preds = %323
  br label %201

339:                                              ; preds = %323
  br label %340

340:                                              ; preds = %339, %198
  %341 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %341, ptr %20, align 4, !tbaa !9
  %342 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %342, ptr %21, align 4, !tbaa !9
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.w2c_hermes, ptr %343, i32 0, i32 6
  %345 = load i32, ptr %20, align 4, !tbaa !9
  %346 = zext i32 %345 to i64
  %347 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %344, i64 noundef %346, i32 noundef %347)
  %348 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %348, ptr %20, align 4, !tbaa !9
  br label %367

349:                                              ; preds = %104
  store i32 0, ptr %20, align 4, !tbaa !9
  %350 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %350, ptr %6, align 4, !tbaa !9
  store i32 204136, ptr %21, align 4, !tbaa !9
  %351 = load i32, ptr %21, align 4, !tbaa !9
  %352 = load i32, ptr %20, align 4, !tbaa !9
  %353 = add i32 %352, %351
  store i32 %353, ptr %20, align 4, !tbaa !9
  %354 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %354, ptr %21, align 4, !tbaa !9
  store i32 81389, ptr %22, align 4, !tbaa !9
  %355 = load i32, ptr %22, align 4, !tbaa !9
  %356 = load i32, ptr %21, align 4, !tbaa !9
  %357 = add i32 %356, %355
  store i32 %357, ptr %21, align 4, !tbaa !9
  store i32 597, ptr %22, align 4, !tbaa !9
  %358 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %358, ptr %23, align 4, !tbaa !9
  store i32 48929, ptr %24, align 4, !tbaa !9
  %359 = load i32, ptr %24, align 4, !tbaa !9
  %360 = load i32, ptr %23, align 4, !tbaa !9
  %361 = add i32 %360, %359
  store i32 %361, ptr %23, align 4, !tbaa !9
  %362 = load ptr, ptr %5, align 8, !tbaa !5
  %363 = load i32, ptr %20, align 4, !tbaa !9
  %364 = load i32, ptr %21, align 4, !tbaa !9
  %365 = load i32, ptr %22, align 4, !tbaa !9
  %366 = load i32, ptr %23, 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) #5
  unreachable

367:                                              ; preds = %340, %229, %59
  %368 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret i32 %368
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 }

!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"

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @w2c_hermes_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ASmallDenseMap0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x208u0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x3E0x3A0x3ALookupBucketFor0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x3E0x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ATransition0x2C0x20hermes0x3A0x3Avm0x3A0x3AWeakRef0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x20const0x2A0x260x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = zext i32 %1 to i64
  %7 = add nuw nsw i64 %6, 12
  %8 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %7)
  %9 = tail call i32 @i32_load8_u(ptr noundef nonnull %5, i64 noundef %6)
  %10 = and i32 %9, 1
  %.not = icmp eq i32 %10, 0
  %11 = select i1 %.not, i32 %8, i32 8
  %.not201 = icmp eq i32 %11, 0
  br i1 %.not201, label %.loopexit, label %12

12:                                               ; preds = %4
  %13 = add nuw nsw i64 %6, 8
  %14 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %13)
  %15 = zext i32 %2 to i64
  %16 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %15)
  %17 = and i32 %16, -2
  %18 = icmp eq i32 %17, 536870910
  br i1 %18, label %19, label %22

19:                                               ; preds = %12
  %20 = add nuw nsw i64 %15, 4
  %21 = tail call i32 @i32_load16_u(ptr noundef nonnull %5, i64 noundef %20)
  %.not202 = icmp eq i32 %21, 0
  br i1 %.not202, label %60, label %22

22:                                               ; preds = %19, %12
  %23 = add i32 %1, 8
  %24 = select i1 %.not, i32 %14, i32 %23
  %25 = add i32 %11, -1
  %26 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef %15)
  %27 = lshr i64 %26, 32
  %28 = trunc nuw i64 %27 to i32
  %29 = and i32 %28, 65535
  %30 = trunc i64 %26 to i32
  %31 = xor i32 %29, %30
  %32 = and i32 %31, %25
  %33 = mul i32 %32, 12
  %34 = add i32 %33, %24
  %35 = zext i32 %34 to i64
  %36 = add nuw nsw i64 %35, 4
  %37 = tail call i32 @i32_load16_u(ptr noundef nonnull %5, i64 noundef %36)
  %38 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %35)
  %39 = icmp eq i32 %38, %30
  %40 = and i32 %37, 65535
  %41 = icmp eq i32 %40, %29
  %or.cond = select i1 %39, i1 %41, i1 false
  br i1 %or.cond, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %22, %45
  %.0197 = phi i32 [ %57, %45 ], [ 1, %22 ]
  %.0196 = phi i32 [ %58, %45 ], [ %38, %22 ]
  %.0195 = phi i32 [ %51, %45 ], [ %32, %22 ]
  %.0193 = phi i32 [ %49, %45 ], [ 0, %22 ]
  %.0192 = phi i32 [ %56, %45 ], [ %37, %22 ]
  %.0 = phi i32 [ %53, %45 ], [ %34, %22 ]
  %.not203 = icmp eq i32 %.0196, 536870911
  %42 = and i32 %.0192, 65535
  %.not204 = icmp eq i32 %42, 0
  %or.cond211 = select i1 %.not203, i1 %.not204, i1 false
  %.not205 = icmp eq i32 %.0193, 0
  br i1 %or.cond211, label %43, label %45

43:                                               ; preds = %.preheader
  %44 = select i1 %.not205, i32 %.0, i32 %.0193
  br label %.loopexit

45:                                               ; preds = %.preheader
  %46 = icmp eq i32 %.0196, 536870910
  %47 = select i1 %46, i1 %.not204, i1 false
  %48 = select i1 %47, i1 %.not205, i1 false
  %49 = select i1 %48, i32 %.0, i32 %.0193
  %50 = add i32 %.0195, %.0197
  %51 = and i32 %50, %25
  %52 = mul i32 %51, 12
  %53 = add i32 %52, %24
  %54 = zext i32 %53 to i64
  %55 = add nuw nsw i64 %54, 4
  %56 = tail call i32 @i32_load16_u(ptr noundef nonnull %5, i64 noundef %55)
  %57 = add i32 %.0197, 1
  %58 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %54)
  %.not208 = icmp eq i32 %58, %30
  %59 = and i32 %56, 65535
  %.not209 = icmp eq i32 %59, %29
  %or.cond212 = select i1 %.not208, i1 %.not209, i1 false
  br i1 %or.cond212, label %.loopexit, label %.preheader

60:                                               ; preds = %19
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 204136, i32 noundef 81389, i32 noundef 597, i32 noundef 48929)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable

.loopexit:                                        ; preds = %45, %22, %4, %43
  %.1.sink = phi i32 [ %44, %43 ], [ 0, %4 ], [ %34, %22 ], [ %53, %45 ]
  %.0194 = phi i32 [ 0, %43 ], [ 0, %4 ], [ 1, %22 ], [ 1, %45 ]
  %61 = zext i32 %3 to i64
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %61, i32 noundef %.1.sink)
  ret i32 %.0194
}

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { 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 = { 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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass