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

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

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

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

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

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

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

; 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_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

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

51:                                               ; preds = %2
  br label %52

52:                                               ; preds = %278, %51
  %53 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %53, ptr %16, align 4, !tbaa !9
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 20
  %59 = call i32 @i32_load(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %16, align 4, !tbaa !9
  %60 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %60, ptr %5, align 4, !tbaa !9
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %259

63:                                               ; preds = %52
  %64 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %64, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %65 = load i32, ptr %17, align 4, !tbaa !9
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = add i32 %66, %65
  store i32 %67, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %68, ptr %8, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %249, %63
  %70 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %70, ptr %16, align 4, !tbaa !9
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 16
  %76 = call i32 @i32_load(ptr noundef %72, i64 noundef %75)
  store i32 %76, ptr %16, align 4, !tbaa !9
  %77 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %77, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %78 = load i32, ptr %18, align 4, !tbaa !9
  %79 = and i32 %78, 31
  %80 = load i32, ptr %17, align 4, !tbaa !9
  %81 = shl i32 %80, %79
  store i32 %81, ptr %17, align 4, !tbaa !9
  %82 = load i32, ptr %17, align 4, !tbaa !9
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = add i32 %83, %82
  store i32 %84, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %85 = load i32, ptr %17, align 4, !tbaa !9
  %86 = load i32, ptr %16, align 4, !tbaa !9
  %87 = sub i32 %86, %85
  store i32 %87, ptr %16, align 4, !tbaa !9
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %16, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = call i32 @i32_load(ptr noundef %89, i64 noundef %91)
  store i32 %92, ptr %16, align 4, !tbaa !9
  %93 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %93, ptr %9, align 4, !tbaa !9
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %16, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = add i64 %97, 44
  %99 = call i32 @i32_load(ptr noundef %95, i64 noundef %98)
  store i32 %99, ptr %16, align 4, !tbaa !9
  %100 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %100, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %101 = load i32, ptr %16, align 4, !tbaa !9
  %102 = load i32, ptr %17, align 4, !tbaa !9
  %103 = icmp sgt i32 %101, %102
  %104 = zext i1 %103 to i32
  store i32 %104, ptr %16, align 4, !tbaa !9
  %105 = load i32, ptr %16, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %157

107:                                              ; preds = %69
  %108 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %108, ptr %16, align 4, !tbaa !9
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = add i64 %112, 40
  %114 = call i32 @i32_load(ptr noundef %110, i64 noundef %113)
  store i32 %114, ptr %16, align 4, !tbaa !9
  %115 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %115, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %116, ptr %5, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %155, %107
  %118 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %118, ptr %16, align 4, !tbaa !9
  %119 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %119, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %18, align 4, !tbaa !9
  %120 = load i32, ptr %18, align 4, !tbaa !9
  %121 = and i32 %120, 31
  %122 = load i32, ptr %17, align 4, !tbaa !9
  %123 = shl i32 %122, %121
  store i32 %123, ptr %17, align 4, !tbaa !9
  %124 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %124, ptr %13, align 4, !tbaa !9
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = load i32, ptr %16, align 4, !tbaa !9
  %127 = add i32 %126, %125
  store i32 %127, ptr %16, align 4, !tbaa !9
  %128 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %128, ptr %14, align 4, !tbaa !9
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.w2c_hermes, ptr %129, i32 0, i32 6
  %131 = load i32, ptr %16, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = call i32 @i32_load(ptr noundef %130, i64 noundef %132)
  store i32 %133, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %134, ptr %17, align 4, !tbaa !9
  %135 = load i32, ptr %16, align 4, !tbaa !9
  %136 = load i32, ptr %17, align 4, !tbaa !9
  %137 = icmp eq i32 %135, %136
  %138 = zext i1 %137 to i32
  store i32 %138, ptr %16, align 4, !tbaa !9
  %139 = load i32, ptr %16, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %142

141:                                              ; preds = %117
  br label %170

142:                                              ; preds = %117
  %143 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %143, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %17, align 4, !tbaa !9
  %145 = load i32, ptr %16, align 4, !tbaa !9
  %146 = add i32 %145, %144
  store i32 %146, ptr %16, align 4, !tbaa !9
  %147 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %147, ptr %5, align 4, !tbaa !9
  %148 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %148, ptr %17, align 4, !tbaa !9
  %149 = load i32, ptr %16, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = icmp ne i32 %149, %150
  %152 = zext i1 %151 to i32
  store i32 %152, ptr %16, align 4, !tbaa !9
  %153 = load i32, ptr %16, align 4, !tbaa !9
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %155, label %156

155:                                              ; preds = %142
  br label %117

156:                                              ; preds = %142
  br label %157

157:                                              ; preds = %156, %69
  store i32 0, ptr %16, align 4, !tbaa !9
  %158 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %158, ptr %5, align 4, !tbaa !9
  store i32 113124, ptr %17, align 4, !tbaa !9
  %159 = load i32, ptr %17, align 4, !tbaa !9
  %160 = load i32, ptr %16, align 4, !tbaa !9
  %161 = add i32 %160, %159
  store i32 %161, ptr %16, align 4, !tbaa !9
  %162 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %162, ptr %17, align 4, !tbaa !9
  store i32 62264, ptr %18, align 4, !tbaa !9
  %163 = load i32, ptr %18, align 4, !tbaa !9
  %164 = load i32, ptr %17, align 4, !tbaa !9
  %165 = add i32 %164, %163
  store i32 %165, ptr %17, align 4, !tbaa !9
  store i32 348, ptr %18, align 4, !tbaa !9
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = load i32, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %17, align 4, !tbaa !9
  %169 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %166, i32 noundef %167, i32 noundef %168, i32 noundef %169)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

170:                                              ; preds = %141
  %171 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %171, ptr %16, align 4, !tbaa !9
  %172 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %172, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = load i32, ptr %17, align 4, !tbaa !9
  %175 = icmp uge i32 %173, %174
  %176 = zext i1 %175 to i32
  store i32 %176, ptr %16, align 4, !tbaa !9
  %177 = load i32, ptr %16, align 4, !tbaa !9
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %180

179:                                              ; preds = %170
  br label %333

180:                                              ; preds = %170
  %181 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %181, ptr %16, align 4, !tbaa !9
  %182 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %182, ptr %17, align 4, !tbaa !9
  %183 = load ptr, ptr %3, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.w2c_hermes, ptr %183, i32 0, i32 6
  %185 = load i32, ptr %17, align 4, !tbaa !9
  %186 = zext i32 %185 to i64
  %187 = call i64 @i64_load(ptr noundef %184, i64 noundef %186)
  store i64 %187, ptr %21, align 8, !tbaa !11
  %188 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %188, ptr %15, align 8, !tbaa !11
  %189 = load ptr, ptr %3, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %16, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %190, i64 noundef %192, i64 noundef %193)
  %194 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %194, ptr %16, align 4, !tbaa !9
  %195 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %195, ptr %21, align 8, !tbaa !11
  %196 = load ptr, ptr %3, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %16, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = add i64 %199, 8
  %201 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %197, i64 noundef %200, i64 noundef %201)
  %202 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %202, ptr %16, align 4, !tbaa !9
  %203 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %203, ptr %17, align 4, !tbaa !9
  %204 = load ptr, ptr %3, align 8, !tbaa !5
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AValue0x3A0x3AremoveUse0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AValue0x2A0x2C0x20unsigned0x20int0x3E0x29(ptr noundef %204, i32 noundef %205, i32 noundef %206)
  %207 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %207, ptr %16, align 4, !tbaa !9
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.w2c_hermes, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %16, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = add i64 %211, 44
  %213 = call i32 @i32_load(ptr noundef %209, i64 noundef %212)
  store i32 %213, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %214, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %16, align 4, !tbaa !9
  %216 = load i32, ptr %17, align 4, !tbaa !9
  %217 = icmp ule i32 %215, %216
  %218 = zext i1 %217 to i32
  store i32 %218, ptr %16, align 4, !tbaa !9
  %219 = load i32, ptr %16, align 4, !tbaa !9
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %221, label %222

221:                                              ; preds = %180
  br label %351

222:                                              ; preds = %180
  %223 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %223, ptr %16, align 4, !tbaa !9
  %224 = load ptr, ptr %3, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.w2c_hermes, ptr %224, i32 0, i32 6
  %226 = load i32, ptr %16, align 4, !tbaa !9
  %227 = zext i32 %226 to i64
  %228 = add i64 %227, 40
  %229 = call i32 @i32_load(ptr noundef %225, i64 noundef %228)
  store i32 %229, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %230, ptr %17, align 4, !tbaa !9
  %231 = load i32, ptr %17, align 4, !tbaa !9
  %232 = load i32, ptr %16, align 4, !tbaa !9
  %233 = add i32 %232, %231
  store i32 %233, ptr %16, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %234 = load ptr, ptr %3, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %16, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %235, i64 noundef %237, i64 noundef %238)
  %239 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %239, ptr %16, align 4, !tbaa !9
  %240 = load ptr, ptr %3, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = add i64 %243, 20
  %245 = call i32 @i32_load(ptr noundef %241, i64 noundef %244)
  store i32 %245, ptr %16, align 4, !tbaa !9
  %246 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %246, ptr %5, align 4, !tbaa !9
  %247 = load i32, ptr %16, align 4, !tbaa !9
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %250

249:                                              ; preds = %222
  br label %69

250:                                              ; preds = %222
  %251 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %251, ptr %16, align 4, !tbaa !9
  %252 = load ptr, ptr %3, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.w2c_hermes, ptr %252, i32 0, i32 6
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %255 = zext i32 %254 to i64
  %256 = add i64 %255, 52
  %257 = call i32 @i32_load(ptr noundef %253, i64 noundef %256)
  store i32 %257, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %258, ptr %6, align 4, !tbaa !9
  br label %259

259:                                              ; preds = %250, %52
  %260 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %260, ptr %16, align 4, !tbaa !9
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3ABasicBlock0x3A0x3AeraseFromParent0x280x29(ptr noundef %261, i32 noundef %262)
  %263 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %263, ptr %16, align 4, !tbaa !9
  %264 = load ptr, ptr %3, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %16, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = add i64 %267, 52
  %269 = call i32 @i32_load(ptr noundef %265, i64 noundef %268)
  store i32 %269, ptr %16, align 4, !tbaa !9
  %270 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %270, ptr %6, align 4, !tbaa !9
  %271 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %271, ptr %17, align 4, !tbaa !9
  %272 = load i32, ptr %16, align 4, !tbaa !9
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = icmp ne i32 %272, %273
  %275 = zext i1 %274 to i32
  store i32 %275, ptr %16, align 4, !tbaa !9
  %276 = load i32, ptr %16, align 4, !tbaa !9
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %278, label %279

278:                                              ; preds = %259
  br label %52

279:                                              ; preds = %259
  br label %280

280:                                              ; preds = %279, %2
  %281 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %281, ptr %16, align 4, !tbaa !9
  %282 = load ptr, ptr %3, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.w2c_hermes, ptr %282, i32 0, i32 6
  %284 = load i32, ptr %16, align 4, !tbaa !9
  %285 = zext i32 %284 to i64
  %286 = add i64 %285, 20
  %287 = call i32 @i32_load(ptr noundef %283, i64 noundef %286)
  store i32 %287, ptr %16, align 4, !tbaa !9
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %290, label %291

290:                                              ; preds = %280
  br label %369

291:                                              ; preds = %280
  %292 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %292, ptr %16, align 4, !tbaa !9
  %293 = load ptr, ptr %3, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.w2c_hermes, ptr %293, i32 0, i32 6
  %295 = load i32, ptr %16, align 4, !tbaa !9
  %296 = zext i32 %295 to i64
  %297 = add i64 %296, 4
  %298 = call i32 @i32_load(ptr noundef %294, i64 noundef %297)
  store i32 %298, ptr %16, align 4, !tbaa !9
  %299 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %299, ptr %5, align 4, !tbaa !9
  %300 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %300, ptr %17, align 4, !tbaa !9
  %301 = load ptr, ptr %3, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.w2c_hermes, ptr %301, i32 0, i32 6
  %303 = load i32, ptr %17, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = call i32 @i32_load(ptr noundef %302, i64 noundef %304)
  store i32 %305, ptr %17, align 4, !tbaa !9
  %306 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %306, ptr %8, align 4, !tbaa !9
  %307 = load ptr, ptr %3, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.w2c_hermes, ptr %307, i32 0, i32 6
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = zext i32 %309 to i64
  %311 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %308, i64 noundef %310, i32 noundef %311)
  %312 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %312, ptr %16, align 4, !tbaa !9
  %313 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %313, ptr %17, align 4, !tbaa !9
  %314 = load ptr, ptr %3, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.w2c_hermes, ptr %314, i32 0, i32 6
  %316 = load i32, ptr %16, align 4, !tbaa !9
  %317 = zext i32 %316 to i64
  %318 = add i64 %317, 4
  %319 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %315, i64 noundef %318, i32 noundef %319)
  %320 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %320, ptr %16, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %321 = load ptr, ptr %3, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.w2c_hermes, ptr %321, i32 0, i32 6
  %323 = load i32, ptr %16, align 4, !tbaa !9
  %324 = zext i32 %323 to i64
  %325 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %322, i64 noundef %324, i64 noundef %325)
  %326 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %326, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %327 = load i32, ptr %17, align 4, !tbaa !9
  %328 = load i32, ptr %16, align 4, !tbaa !9
  %329 = add i32 %328, %327
  store i32 %329, ptr %16, align 4, !tbaa !9
  %330 = load i32, ptr %16, align 4, !tbaa !9
  %331 = load ptr, ptr %3, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.w2c_hermes, ptr %331, i32 0, i32 3
  store i32 %330, ptr %332, align 8, !tbaa !13
  br label %387

333:                                              ; preds = %179
  store i32 0, ptr %16, align 4, !tbaa !9
  %334 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %334, ptr %5, align 4, !tbaa !9
  store i32 206609, ptr %17, align 4, !tbaa !9
  %335 = load i32, ptr %17, align 4, !tbaa !9
  %336 = load i32, ptr %16, align 4, !tbaa !9
  %337 = add i32 %336, %335
  store i32 %337, ptr %16, align 4, !tbaa !9
  %338 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %338, ptr %17, align 4, !tbaa !9
  store i32 62264, ptr %18, align 4, !tbaa !9
  %339 = load i32, ptr %18, align 4, !tbaa !9
  %340 = load i32, ptr %17, align 4, !tbaa !9
  %341 = add i32 %340, %339
  store i32 %341, ptr %17, align 4, !tbaa !9
  store i32 303, ptr %18, align 4, !tbaa !9
  %342 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %342, ptr %19, align 4, !tbaa !9
  store i32 102977, ptr %20, align 4, !tbaa !9
  %343 = load i32, ptr %20, align 4, !tbaa !9
  %344 = load i32, ptr %19, align 4, !tbaa !9
  %345 = add i32 %344, %343
  store i32 %345, ptr %19, align 4, !tbaa !9
  %346 = load ptr, ptr %3, align 8, !tbaa !5
  %347 = load i32, ptr %16, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %346, i32 noundef %347, i32 noundef %348, i32 noundef %349, i32 noundef %350)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

351:                                              ; preds = %221
  store i32 0, ptr %16, align 4, !tbaa !9
  %352 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %352, ptr %5, align 4, !tbaa !9
  store i32 118701, ptr %17, align 4, !tbaa !9
  %353 = load i32, ptr %17, align 4, !tbaa !9
  %354 = load i32, ptr %16, align 4, !tbaa !9
  %355 = add i32 %354, %353
  store i32 %355, ptr %16, align 4, !tbaa !9
  %356 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %356, ptr %17, align 4, !tbaa !9
  store i32 79572, ptr %18, align 4, !tbaa !9
  %357 = load i32, ptr %18, align 4, !tbaa !9
  %358 = load i32, ptr %17, align 4, !tbaa !9
  %359 = add i32 %358, %357
  store i32 %359, ptr %17, align 4, !tbaa !9
  store i32 161, ptr %18, align 4, !tbaa !9
  %360 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %360, ptr %19, align 4, !tbaa !9
  store i32 108367, ptr %20, align 4, !tbaa !9
  %361 = load i32, ptr %20, align 4, !tbaa !9
  %362 = load i32, ptr %19, align 4, !tbaa !9
  %363 = add i32 %362, %361
  store i32 %363, ptr %19, align 4, !tbaa !9
  %364 = load ptr, ptr %3, align 8, !tbaa !5
  %365 = load i32, ptr %16, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %364, i32 noundef %365, i32 noundef %366, i32 noundef %367, i32 noundef %368)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

369:                                              ; preds = %290
  store i32 0, ptr %16, align 4, !tbaa !9
  %370 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %370, ptr %5, align 4, !tbaa !9
  store i32 123529, ptr %17, align 4, !tbaa !9
  %371 = load i32, ptr %17, align 4, !tbaa !9
  %372 = load i32, ptr %16, align 4, !tbaa !9
  %373 = add i32 %372, %371
  store i32 %373, ptr %16, align 4, !tbaa !9
  %374 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %374, ptr %17, align 4, !tbaa !9
  store i32 62264, ptr %18, align 4, !tbaa !9
  %375 = load i32, ptr %18, align 4, !tbaa !9
  %376 = load i32, ptr %17, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %17, align 4, !tbaa !9
  store i32 409, ptr %18, align 4, !tbaa !9
  %378 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %378, ptr %19, align 4, !tbaa !9
  store i32 17873, ptr %20, align 4, !tbaa !9
  %379 = load i32, ptr %20, align 4, !tbaa !9
  %380 = load i32, ptr %19, align 4, !tbaa !9
  %381 = add i32 %380, %379
  store i32 %381, ptr %19, align 4, !tbaa !9
  %382 = load ptr, ptr %3, align 8, !tbaa !5
  %383 = load i32, ptr %16, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %382, i32 noundef %383, i32 noundef %384, i32 noundef %385, i32 noundef %386)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

387:                                              ; preds = %291
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret void
}

declare void @w2c_hermes_hermes0x3A0x3ABasicBlock0x3A0x3AeraseFromParent0x280x29(ptr noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { "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"

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

declare void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AeraseFromParentNoDestroy0x280x29(ptr noundef %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %0, i64 24
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = add i32 %4, -16
  store i32 %5, ptr %3, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = zext i32 %1 to i64
  %8 = add nuw nsw i64 %7, 52
  %9 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  %10 = add i32 %1, 48
  %.not = icmp eq i32 %9, %10
  br i1 %.not, label %.loopexit228, label %.preheader

.preheader:                                       ; preds = %2
  %11 = zext i32 %5 to i64
  %12 = add nuw nsw i64 %11, 8
  br label %13

13:                                               ; preds = %.preheader, %54
  %.0 = phi i32 [ %55, %54 ], [ %9, %.preheader ]
  %14 = zext i32 %.0 to i64
  %15 = add nuw nsw i64 %14, 20
  %16 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %15)
  %.not220 = icmp eq i32 %16, 0
  br i1 %.not220, label %54, label %17

17:                                               ; preds = %13
  %18 = add i32 %.0, 8
  %19 = add nuw nsw i64 %14, 16
  br label %20

20:                                               ; preds = %47, %17
  %.0211 = phi i32 [ %16, %17 ], [ %51, %47 ]
  %21 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %19)
  %22 = shl i32 %.0211, 2
  %23 = add i32 %22, -4
  %24 = add i32 %23, %21
  %25 = zext i32 %24 to i64
  %26 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %25)
  %27 = zext i32 %26 to i64
  %28 = add nuw nsw i64 %27, 44
  %29 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %28)
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %31, label %.loopexit

31:                                               ; preds = %20
  %32 = add nuw nsw i64 %27, 40
  %33 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %32)
  %34 = zext nneg i32 %29 to i64
  br label %35

35:                                               ; preds = %42, %31
  %indvars.iv = phi i64 [ %indvars.iv.next, %42 ], [ 0, %31 ]
  %36 = trunc nuw nsw i64 %indvars.iv to i32
  %37 = shl i32 %36, 3
  %38 = add i32 %37, %33
  %39 = zext i32 %38 to i64
  %40 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %39)
  %41 = icmp eq i32 %40, %18
  br i1 %41, label %43, label %42

42:                                               ; preds = %35
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not221 = icmp eq i64 %indvars.iv.next, %34
  br i1 %.not221, label %.loopexit, label %35

.loopexit:                                        ; preds = %20, %42
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 113124, i32 noundef 62264, i32 noundef 348) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

43:                                               ; preds = %35
  %.not222 = icmp ugt i32 %29, %36
  br i1 %.not222, label %44, label %65

44:                                               ; preds = %43
  %45 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %39)
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %11, i64 noundef %45)
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %12, i64 noundef %45)
  tail call void @w2c_hermes_hermes0x3A0x3AValue0x3A0x3AremoveUse0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AValue0x2A0x2C0x20unsigned0x20int0x3E0x29(ptr noundef %0, i32 noundef %18, i32 noundef %5)
  %46 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %28)
  %.not223 = icmp ugt i32 %46, %36
  br i1 %.not223, label %47, label %66

47:                                               ; preds = %44
  %48 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %32)
  %49 = add i32 %48, %37
  %50 = zext i32 %49 to i64
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %50, i64 noundef 0)
  %51 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %15)
  %.not224 = icmp eq i32 %51, 0
  br i1 %.not224, label %52, label %20

52:                                               ; preds = %47
  %53 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  br label %54

54:                                               ; preds = %52, %13
  %.1 = phi i32 [ %53, %52 ], [ %.0, %13 ]
  tail call void @w2c_hermes_hermes0x3A0x3ABasicBlock0x3A0x3AeraseFromParent0x280x29(ptr noundef %0, i32 noundef %.1) #4
  %55 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  %.not225 = icmp eq i32 %55, %10
  br i1 %.not225, label %.loopexit228, label %13

.loopexit228:                                     ; preds = %54, %2
  %56 = add nuw nsw i64 %7, 20
  %57 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %56)
  %.not226 = icmp eq i32 %57, 0
  br i1 %.not226, label %58, label %67

58:                                               ; preds = %.loopexit228
  %59 = add nuw nsw i64 %7, 4
  %60 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %59)
  %61 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %7)
  %62 = zext i32 %60 to i64
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %62, i32 noundef %61)
  %63 = zext i32 %61 to i64
  %64 = add nuw nsw i64 %63, 4
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %64, i32 noundef %60)
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %7, i64 noundef 0)
  store i32 %4, ptr %3, align 8, !tbaa !5
  ret void

65:                                               ; preds = %43
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 206609, i32 noundef 62264, i32 noundef 303, i32 noundef 102977) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

66:                                               ; preds = %44
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118701, i32 noundef 79572, i32 noundef 161, i32 noundef 108367) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

67:                                               ; preds = %.loopexit228
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 123529, i32 noundef 62264, i32 noundef 409, i32 noundef 17873) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare void @w2c_hermes_hermes0x3A0x3ABasicBlock0x3A0x3AeraseFromParent0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

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