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

; 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr 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

; 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 void @i64_store(ptr noundef, i64 noundef, i64 noundef) #1

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_reinterpret_f64(double noundef) #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3AvalidateTypedArray0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20bool0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtypedArrayPrototypeByteLength0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %6 = alloca ptr, align 8
  %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 i64, align 8
  %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 i64, align 8
  %21 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, 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 8, ptr %13) #5
  store i64 0, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  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 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %22 = load ptr, ptr %6, 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 %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %25 = load i32, ptr %15, align 4, !tbaa !9
  %26 = load i32, ptr %14, align 4, !tbaa !9
  %27 = sub i32 %26, %25
  store i32 %27, ptr %14, align 4, !tbaa !9
  %28 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %28, ptr %11, align 4, !tbaa !9
  %29 = load i32, ptr %14, align 4, !tbaa !9
  %30 = load ptr, ptr %6, 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 %10, align 4, !tbaa !9
  store i32 %32, ptr %14, align 4, !tbaa !9
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %14, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = call i32 @i32_load(ptr noundef %34, i64 noundef %36)
  store i32 %37, ptr %14, align 4, !tbaa !9
  %38 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %38, ptr %10, align 4, !tbaa !9
  %39 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %39, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.w2c_hermes, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %14, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = add i64 %43, 8
  %45 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %41, i64 noundef %44, i32 noundef %45)
  %46 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %46, ptr %14, align 4, !tbaa !9
  %47 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %47, ptr %15, align 4, !tbaa !9
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %14, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = add i64 %51, 12
  %53 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %49, i64 noundef %52, i32 noundef %53)
  %54 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %54, ptr %14, align 4, !tbaa !9
  %55 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %55, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = load i32, ptr %15, align 4, !tbaa !9
  %58 = add i32 %57, %56
  store i32 %58, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = load i32, ptr %15, align 4, !tbaa !9
  %62 = load i32, ptr %16, align 4, !tbaa !9
  %63 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3AvalidateTypedArray0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20bool0x29(ptr noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef %62)
  store i32 %63, ptr %14, align 4, !tbaa !9
  %64 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %64, ptr %12, align 4, !tbaa !9
  %65 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %65, ptr %14, align 4, !tbaa !9
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.w2c_hermes, ptr %66, i32 0, i32 6
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = zext i32 %68 to i64
  %70 = add i64 %69, 8
  %71 = call i32 @i32_load(ptr noundef %67, i64 noundef %70)
  store i32 %71, ptr %14, align 4, !tbaa !9
  %72 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %72, ptr %9, align 4, !tbaa !9
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %91

75:                                               ; preds = %5
  %76 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %76, ptr %14, align 4, !tbaa !9
  %77 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %77, ptr %15, align 4, !tbaa !9
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %15, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = call i32 @i32_load(ptr noundef %79, i64 noundef %81)
  store i32 %82, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = load i32, ptr %15, align 4, !tbaa !9
  %85 = sub i32 %84, %83
  store i32 %85, ptr %15, align 4, !tbaa !9
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %14, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %87, i64 noundef %89, i32 noundef %90)
  br label %91

91:                                               ; preds = %75, %5
  %92 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %92, ptr %14, align 4, !tbaa !9
  %93 = load i32, ptr %14, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  %95 = xor i1 %94, true
  %96 = zext i1 %95 to i32
  store i32 %96, ptr %14, align 4, !tbaa !9
  %97 = load i32, ptr %14, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %106

99:                                               ; preds = %91
  %100 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %100, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %102, i64 noundef %104, i32 noundef %105)
  br label %259

106:                                              ; preds = %91
  %107 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %107, ptr %14, align 4, !tbaa !9
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %14, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = call i64 @i64_load(ptr noundef %109, i64 noundef %111)
  store i64 %112, ptr %19, align 8, !tbaa !11
  %113 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %113, ptr %13, align 8, !tbaa !11
  store i64 -844424930131969, ptr %20, align 8, !tbaa !11
  %114 = load i64, ptr %19, align 8, !tbaa !11
  %115 = load i64, ptr %20, align 8, !tbaa !11
  %116 = icmp ule i64 %114, %115
  %117 = zext i1 %116 to i32
  store i32 %117, ptr %14, align 4, !tbaa !9
  %118 = load i32, ptr %14, align 4, !tbaa !9
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %106
  br label %267

121:                                              ; preds = %106
  %122 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %122, ptr %19, align 8, !tbaa !11
  %123 = load i64, ptr %19, align 8, !tbaa !11
  %124 = trunc i64 %123 to i32
  store i32 %124, ptr %14, align 4, !tbaa !9
  %125 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %125, ptr %10, align 4, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = icmp ne i32 %126, 0
  %128 = xor i1 %127, true
  %129 = zext i1 %128 to i32
  store i32 %129, ptr %14, align 4, !tbaa !9
  %130 = load i32, ptr %14, align 4, !tbaa !9
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %121
  br label %285

133:                                              ; preds = %121
  %134 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %134, ptr %14, align 4, !tbaa !9
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %14, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = call i32 @i32_load(ptr noundef %136, i64 noundef %138)
  store i32 %139, ptr %14, align 4, !tbaa !9
  store i32 587202560, ptr %15, align 4, !tbaa !9
  %140 = load i32, ptr %15, align 4, !tbaa !9
  %141 = load i32, ptr %14, align 4, !tbaa !9
  %142 = sub i32 %141, %140
  store i32 %142, ptr %14, align 4, !tbaa !9
  store i32 184549376, ptr %15, align 4, !tbaa !9
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = load i32, ptr %15, align 4, !tbaa !9
  %145 = icmp uge i32 %143, %144
  %146 = zext i1 %145 to i32
  store i32 %146, ptr %14, align 4, !tbaa !9
  %147 = load i32, ptr %14, align 4, !tbaa !9
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %150

149:                                              ; preds = %133
  br label %303

150:                                              ; preds = %133
  %151 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %151, ptr %19, align 8, !tbaa !11
  store i64 48, ptr %20, align 8, !tbaa !11
  %152 = load i64, ptr %19, align 8, !tbaa !11
  %153 = load i64, ptr %20, align 8, !tbaa !11
  %154 = and i64 %153, 63
  %155 = ashr i64 %152, %154
  store i64 %155, ptr %19, align 8, !tbaa !11
  %156 = load i64, ptr %19, align 8, !tbaa !11
  %157 = trunc i64 %156 to i32
  store i32 %157, ptr %14, align 4, !tbaa !9
  store i32 -1, ptr %15, align 4, !tbaa !9
  %158 = load i32, ptr %14, align 4, !tbaa !9
  %159 = load i32, ptr %15, align 4, !tbaa !9
  %160 = icmp ne i32 %158, %159
  %161 = zext i1 %160 to i32
  store i32 %161, ptr %14, align 4, !tbaa !9
  %162 = load i32, ptr %14, align 4, !tbaa !9
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %165

164:                                              ; preds = %150
  br label %321

165:                                              ; preds = %150
  store i64 0, ptr %19, align 8, !tbaa !11
  %166 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %166, ptr %13, align 8, !tbaa !11
  %167 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %167, ptr %14, align 4, !tbaa !9
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %14, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 28
  %173 = call i32 @i32_load(ptr noundef %169, i64 noundef %172)
  store i32 %173, ptr %14, align 4, !tbaa !9
  %174 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %174, ptr %9, align 4, !tbaa !9
  %175 = load i32, ptr %14, align 4, !tbaa !9
  %176 = icmp ne i32 %175, 0
  %177 = xor i1 %176, true
  %178 = zext i1 %177 to i32
  store i32 %178, ptr %14, align 4, !tbaa !9
  %179 = load i32, ptr %14, align 4, !tbaa !9
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %182

181:                                              ; preds = %165
  br label %244

182:                                              ; preds = %165
  %183 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %183, ptr %14, align 4, !tbaa !9
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %14, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = add i64 %187, 3
  %189 = call i32 @i32_load8_u(ptr noundef %185, i64 noundef %188)
  store i32 %189, ptr %14, align 4, !tbaa !9
  store i32 24, ptr %15, align 4, !tbaa !9
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = and i32 %190, 31
  %192 = load i32, ptr %14, align 4, !tbaa !9
  %193 = shl i32 %192, %191
  store i32 %193, ptr %14, align 4, !tbaa !9
  store i32 553648128, ptr %15, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = load i32, ptr %15, align 4, !tbaa !9
  %196 = icmp ne i32 %194, %195
  %197 = zext i1 %196 to i32
  store i32 %197, ptr %14, align 4, !tbaa !9
  %198 = load i32, ptr %14, align 4, !tbaa !9
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %201

200:                                              ; preds = %182
  br label %339

201:                                              ; preds = %182
  %202 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %202, ptr %14, align 4, !tbaa !9
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %14, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = add i64 %206, 37
  %208 = call i32 @i32_load8_u(ptr noundef %204, i64 noundef %207)
  store i32 %208, ptr %14, align 4, !tbaa !9
  %209 = load i32, ptr %14, align 4, !tbaa !9
  %210 = icmp ne i32 %209, 0
  %211 = xor i1 %210, true
  %212 = zext i1 %211 to i32
  store i32 %212, ptr %14, align 4, !tbaa !9
  %213 = load i32, ptr %14, align 4, !tbaa !9
  %214 = icmp ne i32 %213, 0
  br i1 %214, label %215, label %216

215:                                              ; preds = %201
  br label %244

216:                                              ; preds = %201
  %217 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %217, ptr %14, align 4, !tbaa !9
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 6
  %220 = load i32, ptr %14, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = add i64 %221, 32
  %223 = call i32 @i32_load(ptr noundef %219, i64 noundef %222)
  store i32 %223, ptr %14, align 4, !tbaa !9
  %224 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %224, ptr %15, align 4, !tbaa !9
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = load i32, ptr %15, align 4, !tbaa !9
  %227 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3AgetByteWidth0x280x290x20const(ptr noundef %225, i32 noundef %226)
  store i32 %227, ptr %15, align 4, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = mul i32 %229, %228
  store i32 %230, ptr %14, align 4, !tbaa !9
  %231 = load i32, ptr %14, align 4, !tbaa !9
  %232 = uitofp i32 %231 to double
  store double %232, ptr %21, align 8, !tbaa !18
  %233 = load double, ptr %21, align 8, !tbaa !18
  %234 = call i64 @i64_reinterpret_f64(double noundef %233)
  store i64 %234, ptr %19, align 8, !tbaa !11
  %235 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %235, ptr %13, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %20, align 8, !tbaa !11
  %236 = load i64, ptr %19, align 8, !tbaa !11
  %237 = load i64, ptr %20, align 8, !tbaa !11
  %238 = icmp uge i64 %236, %237
  %239 = zext i1 %238 to i32
  store i32 %239, ptr %14, align 4, !tbaa !9
  %240 = load i32, ptr %14, align 4, !tbaa !9
  %241 = icmp ne i32 %240, 0
  br i1 %241, label %242, label %243

242:                                              ; preds = %216
  br label %357

243:                                              ; preds = %216
  br label %244

244:                                              ; preds = %243, %215, %181
  %245 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %245, ptr %14, align 4, !tbaa !9
  %246 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %246, ptr %20, align 8, !tbaa !11
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.w2c_hermes, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %14, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = add i64 %250, 8
  %252 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %248, i64 noundef %251, i64 noundef %252)
  %253 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %253, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.w2c_hermes, ptr %254, i32 0, i32 6
  %256 = load i32, ptr %14, align 4, !tbaa !9
  %257 = zext i32 %256 to i64
  %258 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %255, i64 noundef %257, i32 noundef %258)
  br label %259

259:                                              ; preds = %244, %99
  %260 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %260, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %261 = load i32, ptr %15, align 4, !tbaa !9
  %262 = load i32, ptr %14, align 4, !tbaa !9
  %263 = add i32 %262, %261
  store i32 %263, ptr %14, align 4, !tbaa !9
  %264 = load i32, ptr %14, align 4, !tbaa !9
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.w2c_hermes, ptr %265, i32 0, i32 3
  store i32 %264, ptr %266, align 8, !tbaa !13
  br label %375

267:                                              ; preds = %120
  store i32 0, ptr %14, align 4, !tbaa !9
  %268 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %268, ptr %11, align 4, !tbaa !9
  store i32 146777, ptr %15, align 4, !tbaa !9
  %269 = load i32, ptr %15, align 4, !tbaa !9
  %270 = load i32, ptr %14, align 4, !tbaa !9
  %271 = add i32 %270, %269
  store i32 %271, ptr %14, align 4, !tbaa !9
  %272 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %272, ptr %15, align 4, !tbaa !9
  store i32 82692, ptr %16, align 4, !tbaa !9
  %273 = load i32, ptr %16, align 4, !tbaa !9
  %274 = load i32, ptr %15, align 4, !tbaa !9
  %275 = add i32 %274, %273
  store i32 %275, ptr %15, align 4, !tbaa !9
  store i32 43, ptr %16, align 4, !tbaa !9
  %276 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %276, ptr %17, align 4, !tbaa !9
  store i32 24718, ptr %18, align 4, !tbaa !9
  %277 = load i32, ptr %18, align 4, !tbaa !9
  %278 = load i32, ptr %17, align 4, !tbaa !9
  %279 = add i32 %278, %277
  store i32 %279, ptr %17, align 4, !tbaa !9
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = load i32, ptr %14, align 4, !tbaa !9
  %282 = load i32, ptr %15, align 4, !tbaa !9
  %283 = load i32, ptr %16, align 4, !tbaa !9
  %284 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %280, i32 noundef %281, i32 noundef %282, i32 noundef %283, i32 noundef %284)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

285:                                              ; preds = %132
  store i32 0, ptr %14, align 4, !tbaa !9
  %286 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %286, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %15, align 4, !tbaa !9
  %287 = load i32, ptr %15, align 4, !tbaa !9
  %288 = load i32, ptr %14, align 4, !tbaa !9
  %289 = add i32 %288, %287
  store i32 %289, ptr %14, align 4, !tbaa !9
  %290 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %290, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %291 = load i32, ptr %16, align 4, !tbaa !9
  %292 = load i32, ptr %15, align 4, !tbaa !9
  %293 = add i32 %292, %291
  store i32 %293, ptr %15, align 4, !tbaa !9
  store i32 106, ptr %16, align 4, !tbaa !9
  %294 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %294, ptr %17, align 4, !tbaa !9
  store i32 28119, ptr %18, align 4, !tbaa !9
  %295 = load i32, ptr %18, align 4, !tbaa !9
  %296 = load i32, ptr %17, align 4, !tbaa !9
  %297 = add i32 %296, %295
  store i32 %297, ptr %17, align 4, !tbaa !9
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  %299 = load i32, ptr %14, align 4, !tbaa !9
  %300 = load i32, ptr %15, align 4, !tbaa !9
  %301 = load i32, ptr %16, align 4, !tbaa !9
  %302 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301, i32 noundef %302)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

303:                                              ; preds = %149
  store i32 0, ptr %14, align 4, !tbaa !9
  %304 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %304, ptr %11, align 4, !tbaa !9
  store i32 205012, ptr %15, align 4, !tbaa !9
  %305 = load i32, ptr %15, align 4, !tbaa !9
  %306 = load i32, ptr %14, align 4, !tbaa !9
  %307 = add i32 %306, %305
  store i32 %307, ptr %14, align 4, !tbaa !9
  %308 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %308, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = load i32, ptr %15, align 4, !tbaa !9
  %311 = add i32 %310, %309
  store i32 %311, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %312 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %312, ptr %17, align 4, !tbaa !9
  store i32 24720, ptr %18, align 4, !tbaa !9
  %313 = load i32, ptr %18, align 4, !tbaa !9
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = add i32 %314, %313
  store i32 %315, ptr %17, align 4, !tbaa !9
  %316 = load ptr, ptr %6, align 8, !tbaa !5
  %317 = load i32, ptr %14, align 4, !tbaa !9
  %318 = load i32, ptr %15, align 4, !tbaa !9
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %316, i32 noundef %317, i32 noundef %318, i32 noundef %319, i32 noundef %320)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

321:                                              ; preds = %164
  store i32 0, ptr %14, align 4, !tbaa !9
  %322 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %322, ptr %11, align 4, !tbaa !9
  store i32 118124, ptr %15, align 4, !tbaa !9
  %323 = load i32, ptr %15, align 4, !tbaa !9
  %324 = load i32, ptr %14, align 4, !tbaa !9
  %325 = add i32 %324, %323
  store i32 %325, ptr %14, align 4, !tbaa !9
  %326 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %326, ptr %15, align 4, !tbaa !9
  store i32 83341, ptr %16, align 4, !tbaa !9
  %327 = load i32, ptr %16, align 4, !tbaa !9
  %328 = load i32, ptr %15, align 4, !tbaa !9
  %329 = add i32 %328, %327
  store i32 %329, ptr %15, align 4, !tbaa !9
  store i32 480, ptr %16, align 4, !tbaa !9
  %330 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %330, ptr %17, align 4, !tbaa !9
  store i32 38798, ptr %18, align 4, !tbaa !9
  %331 = load i32, ptr %18, align 4, !tbaa !9
  %332 = load i32, ptr %17, align 4, !tbaa !9
  %333 = add i32 %332, %331
  store i32 %333, ptr %17, align 4, !tbaa !9
  %334 = load ptr, ptr %6, align 8, !tbaa !5
  %335 = load i32, ptr %14, align 4, !tbaa !9
  %336 = load i32, ptr %15, align 4, !tbaa !9
  %337 = load i32, ptr %16, align 4, !tbaa !9
  %338 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %334, i32 noundef %335, i32 noundef %336, i32 noundef %337, i32 noundef %338)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

339:                                              ; preds = %200
  store i32 0, ptr %14, align 4, !tbaa !9
  %340 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %340, ptr %11, align 4, !tbaa !9
  store i32 205012, ptr %15, align 4, !tbaa !9
  %341 = load i32, ptr %15, align 4, !tbaa !9
  %342 = load i32, ptr %14, align 4, !tbaa !9
  %343 = add i32 %342, %341
  store i32 %343, ptr %14, align 4, !tbaa !9
  %344 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %344, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %345 = load i32, ptr %16, align 4, !tbaa !9
  %346 = load i32, ptr %15, align 4, !tbaa !9
  %347 = add i32 %346, %345
  store i32 %347, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %348 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %348, ptr %17, align 4, !tbaa !9
  store i32 24720, ptr %18, align 4, !tbaa !9
  %349 = load i32, ptr %18, align 4, !tbaa !9
  %350 = load i32, ptr %17, align 4, !tbaa !9
  %351 = add i32 %350, %349
  store i32 %351, ptr %17, align 4, !tbaa !9
  %352 = load ptr, ptr %6, align 8, !tbaa !5
  %353 = load i32, ptr %14, align 4, !tbaa !9
  %354 = load i32, ptr %15, align 4, !tbaa !9
  %355 = load i32, ptr %16, align 4, !tbaa !9
  %356 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %352, i32 noundef %353, i32 noundef %354, i32 noundef %355, i32 noundef %356)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

357:                                              ; preds = %242
  store i32 0, ptr %14, align 4, !tbaa !9
  %358 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %358, ptr %11, align 4, !tbaa !9
  store i32 168600, ptr %15, align 4, !tbaa !9
  %359 = load i32, ptr %15, align 4, !tbaa !9
  %360 = load i32, ptr %14, align 4, !tbaa !9
  %361 = add i32 %360, %359
  store i32 %361, ptr %14, align 4, !tbaa !9
  %362 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %362, ptr %15, align 4, !tbaa !9
  store i32 83341, ptr %16, align 4, !tbaa !9
  %363 = load i32, ptr %16, align 4, !tbaa !9
  %364 = load i32, ptr %15, align 4, !tbaa !9
  %365 = add i32 %364, %363
  store i32 %365, ptr %15, align 4, !tbaa !9
  store i32 341, ptr %16, align 4, !tbaa !9
  %366 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %366, ptr %17, align 4, !tbaa !9
  store i32 90577, ptr %18, align 4, !tbaa !9
  %367 = load i32, ptr %18, align 4, !tbaa !9
  %368 = load i32, ptr %17, align 4, !tbaa !9
  %369 = add i32 %368, %367
  store i32 %369, ptr %17, align 4, !tbaa !9
  %370 = load ptr, ptr %6, align 8, !tbaa !5
  %371 = load i32, ptr %14, align 4, !tbaa !9
  %372 = load i32, ptr %15, align 4, !tbaa !9
  %373 = load i32, ptr %16, align 4, !tbaa !9
  %374 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %370, i32 noundef %371, i32 noundef %372, i32 noundef %373, i32 noundef %374)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

375:                                              ; preds = %259
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret void
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3AgetByteWidth0x280x290x20const(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}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !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: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

; 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 i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_reinterpret_f64(double noundef) local_unnamed_addr #0

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3AvalidateTypedArray0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20bool0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtypedArrayPrototypeByteLength0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -16
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %4 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %12 = zext i32 %8 to i64
  %13 = add nuw nsw i64 %12, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %13, i32 noundef 0)
  %14 = add nuw nsw i64 %12, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %14, i32 noundef %11)
  %15 = add i32 %7, -8
  %16 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3AvalidateTypedArray0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20bool0x29(ptr noundef %0, i32 noundef %3, i32 noundef %15, i32 noundef 0) #4
  %17 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %22, label %18

18:                                               ; preds = %5
  %19 = zext i32 %17 to i64
  %20 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %19)
  %21 = add i32 %20, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %19, i32 noundef %21)
  br label %22

22:                                               ; preds = %18, %5
  %.not210 = icmp eq i32 %16, 0
  br i1 %.not210, label %23, label %25

23:                                               ; preds = %22
  %24 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %24, i32 noundef 0)
  br label %58

25:                                               ; preds = %22
  %26 = zext i32 %11 to i64
  %27 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %26)
  %28 = icmp ult i64 %27, -844424930131968
  br i1 %28, label %59, label %29

29:                                               ; preds = %25
  %30 = trunc i64 %27 to i32
  %.not211 = icmp eq i32 %30, 0
  br i1 %.not211, label %60, label %31

31:                                               ; preds = %29
  %32 = and i64 %27, 4294967295
  %33 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %32)
  %34 = add i32 %33, -771751936
  %35 = icmp ult i32 %34, -184549376
  br i1 %35, label %61, label %36

36:                                               ; preds = %31
  %.not212 = icmp ugt i64 %27, -281474976710657
  br i1 %.not212, label %37, label %62

37:                                               ; preds = %36
  %38 = add nuw nsw i64 %32, 28
  %39 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %38)
  %.not213 = icmp eq i32 %39, 0
  br i1 %.not213, label %55, label %40

40:                                               ; preds = %37
  %41 = zext i32 %39 to i64
  %42 = add nuw nsw i64 %41, 3
  %43 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %42)
  %.mask = and i32 %43, 255
  %.not214 = icmp eq i32 %.mask, 33
  br i1 %.not214, label %44, label %63

44:                                               ; preds = %40
  %45 = add nuw nsw i64 %41, 37
  %46 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %45)
  %.not215 = icmp eq i32 %46, 0
  br i1 %.not215, label %55, label %47

47:                                               ; preds = %44
  %48 = add nuw nsw i64 %32, 32
  %49 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %48)
  %50 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3AgetByteWidth0x280x290x20const(ptr noundef nonnull %0, i32 noundef %30) #4
  %51 = mul i32 %50, %49
  %52 = uitofp i32 %51 to double
  %53 = tail call i64 @i64_reinterpret_f64(double noundef %52)
  %54 = icmp ugt i64 %53, -1970324836974593
  br i1 %54, label %64, label %55

55:                                               ; preds = %47, %44, %37
  %.0 = phi i64 [ 0, %37 ], [ 0, %44 ], [ %53, %47 ]
  %56 = zext i32 %1 to i64
  %57 = add nuw nsw i64 %56, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %57, i64 noundef %.0)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %56, i32 noundef 1)
  br label %58

58:                                               ; preds = %55, %23
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

59:                                               ; preds = %25
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 146777, i32 noundef 82692, i32 noundef 43, i32 noundef 24718) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

60:                                               ; preds = %29
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

61:                                               ; preds = %31
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

62:                                               ; preds = %36
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

63:                                               ; preds = %40
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

64:                                               ; preds = %47
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 168600, i32 noundef 83341, i32 noundef 341, i32 noundef 90577) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3AgetByteWidth0x280x290x20const(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: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass