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

; 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 i32 @i32_load(ptr noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 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_reinterpret_f64(double noundef) #2

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

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

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

72:                                               ; preds = %4
  %73 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %73, ptr %14, align 4, !tbaa !9
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %14, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = call i32 @i32_load(ptr noundef %75, i64 noundef %77)
  store i32 %78, ptr %14, align 4, !tbaa !9
  %79 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %79, ptr %6, align 4, !tbaa !9
  %80 = load i32, ptr %14, align 4, !tbaa !9
  %81 = icmp ne i32 %80, 0
  %82 = xor i1 %81, true
  %83 = zext i1 %82 to i32
  store i32 %83, ptr %14, align 4, !tbaa !9
  %84 = load i32, ptr %14, align 4, !tbaa !9
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %72
  br label %319

87:                                               ; preds = %72
  %88 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %88, ptr %14, align 4, !tbaa !9
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.w2c_hermes, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = add i64 %92, 3
  %94 = call i32 @i32_load8_u(ptr noundef %90, i64 noundef %93)
  store i32 %94, ptr %14, align 4, !tbaa !9
  store i32 24, ptr %15, align 4, !tbaa !9
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = and i32 %95, 31
  %97 = load i32, ptr %14, align 4, !tbaa !9
  %98 = shl i32 %97, %96
  store i32 %98, ptr %14, align 4, !tbaa !9
  store i32 704643072, ptr %15, align 4, !tbaa !9
  %99 = load i32, ptr %14, align 4, !tbaa !9
  %100 = load i32, ptr %15, align 4, !tbaa !9
  %101 = icmp ne i32 %99, %100
  %102 = zext i1 %101 to i32
  store i32 %102, ptr %14, align 4, !tbaa !9
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %106

105:                                              ; preds = %87
  br label %337

106:                                              ; preds = %87
  %107 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %107, ptr %14, align 4, !tbaa !9
  %108 = load ptr, ptr %5, 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 = add i64 %111, 28
  %113 = call i32 @i32_load(ptr noundef %109, i64 noundef %112)
  store i32 %113, ptr %14, align 4, !tbaa !9
  %114 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %114, ptr %11, align 4, !tbaa !9
  %115 = load i32, ptr %14, align 4, !tbaa !9
  %116 = icmp ne i32 %115, 0
  %117 = xor i1 %116, true
  %118 = zext i1 %117 to i32
  store i32 %118, ptr %14, align 4, !tbaa !9
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %122

121:                                              ; preds = %106
  br label %243

122:                                              ; preds = %106
  %123 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %123, ptr %14, align 4, !tbaa !9
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 3
  %129 = call i32 @i32_load8_u(ptr noundef %125, i64 noundef %128)
  store i32 %129, ptr %14, align 4, !tbaa !9
  store i32 24, ptr %15, align 4, !tbaa !9
  %130 = load i32, ptr %15, align 4, !tbaa !9
  %131 = and i32 %130, 31
  %132 = load i32, ptr %14, align 4, !tbaa !9
  %133 = shl i32 %132, %131
  store i32 %133, ptr %14, align 4, !tbaa !9
  store i32 553648128, ptr %15, align 4, !tbaa !9
  %134 = load i32, ptr %14, align 4, !tbaa !9
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = icmp ne i32 %134, %135
  %137 = zext i1 %136 to i32
  store i32 %137, ptr %14, align 4, !tbaa !9
  %138 = load i32, ptr %14, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %122
  br label %355

141:                                              ; preds = %122
  %142 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %142, ptr %14, align 4, !tbaa !9
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.w2c_hermes, ptr %143, i32 0, i32 6
  %145 = load i32, ptr %14, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  %147 = add i64 %146, 37
  %148 = call i32 @i32_load8_u(ptr noundef %144, i64 noundef %147)
  store i32 %148, ptr %14, align 4, !tbaa !9
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = icmp ne i32 %149, 0
  %151 = xor i1 %150, true
  %152 = zext i1 %151 to i32
  store i32 %152, ptr %14, align 4, !tbaa !9
  %153 = load i32, ptr %14, align 4, !tbaa !9
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %155, label %156

155:                                              ; preds = %141
  br label %243

156:                                              ; preds = %141
  %157 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %157, ptr %14, align 4, !tbaa !9
  %158 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %158, ptr %15, align 4, !tbaa !9
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %15, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = add i64 %162, 32
  %164 = call i32 @i32_load(ptr noundef %160, i64 noundef %163)
  store i32 %164, ptr %15, align 4, !tbaa !9
  %165 = load i32, ptr %14, align 4, !tbaa !9
  %166 = load i32, ptr %15, align 4, !tbaa !9
  %167 = icmp uge i32 %165, %166
  %168 = zext i1 %167 to i32
  store i32 %168, ptr %14, align 4, !tbaa !9
  %169 = load i32, ptr %14, align 4, !tbaa !9
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %173

171:                                              ; preds = %156
  store i64 -1688849860263936, ptr %19, align 8, !tbaa !11
  %172 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %172, ptr %12, align 8, !tbaa !11
  br label %266

173:                                              ; preds = %156
  %174 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %174, ptr %14, align 4, !tbaa !9
  %175 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %175, ptr %15, align 4, !tbaa !9
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = load i32, ptr %14, align 4, !tbaa !9
  %178 = load i32, ptr %15, align 4, !tbaa !9
  %179 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3Abegin0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %176, i32 noundef %177, i32 noundef %178)
  store i32 %179, ptr %14, align 4, !tbaa !9
  %180 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %180, ptr %6, align 4, !tbaa !9
  %181 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %181, ptr %14, align 4, !tbaa !9
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %14, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 1312
  %187 = call i32 @i32_load(ptr noundef %183, i64 noundef %186)
  store i32 %187, ptr %14, align 4, !tbaa !9
  %188 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %188, ptr %7, align 4, !tbaa !9
  %189 = load i32, ptr %14, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  %191 = xor i1 %190, true
  %192 = zext i1 %191 to i32
  store i32 %192, ptr %14, align 4, !tbaa !9
  %193 = load i32, ptr %14, align 4, !tbaa !9
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %196

195:                                              ; preds = %173
  br label %373

196:                                              ; preds = %173
  %197 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %197, ptr %14, align 4, !tbaa !9
  %198 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %198, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %16, align 4, !tbaa !9
  %200 = and i32 %199, 31
  %201 = load i32, ptr %15, align 4, !tbaa !9
  %202 = shl i32 %201, %200
  store i32 %202, ptr %15, align 4, !tbaa !9
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = load i32, ptr %14, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %14, align 4, !tbaa !9
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %14, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = call float @f32_load(ptr noundef %207, i64 noundef %209)
  store float %210, ptr %21, align 4, !tbaa !13
  %211 = load float, ptr %21, align 4, !tbaa !13
  store float %211, ptr %13, align 4, !tbaa !13
  %212 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %212, ptr %14, align 4, !tbaa !9
  %213 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %213, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = sub i32 %215, %214
  store i32 %216, ptr %15, align 4, !tbaa !9
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.w2c_hermes, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %14, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %218, i64 noundef %220, i32 noundef %221)
  store i64 9221120237041090560, ptr %19, align 8, !tbaa !11
  %222 = load float, ptr %13, align 4, !tbaa !13
  store float %222, ptr %22, align 4, !tbaa !13
  %223 = load float, ptr %22, align 4, !tbaa !13
  %224 = call float @wasm_quietf(float noundef %223)
  %225 = fpext float %224 to double
  store double %225, ptr %25, align 8, !tbaa !20
  %226 = load double, ptr %25, align 8, !tbaa !20
  %227 = call i64 @i64_reinterpret_f64(double noundef %226)
  store i64 %227, ptr %20, align 8, !tbaa !11
  %228 = load float, ptr %13, align 4, !tbaa !13
  store float %228, ptr %23, align 4, !tbaa !13
  %229 = load float, ptr %13, align 4, !tbaa !13
  store float %229, ptr %24, align 4, !tbaa !13
  %230 = load float, ptr %23, align 4, !tbaa !13
  %231 = load float, ptr %24, align 4, !tbaa !13
  %232 = fcmp une float %230, %231
  %233 = zext i1 %232 to i32
  store i32 %233, ptr %16, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %238

236:                                              ; preds = %196
  %237 = load i64, ptr %19, align 8, !tbaa !11
  br label %240

238:                                              ; preds = %196
  %239 = load i64, ptr %20, align 8, !tbaa !11
  br label %240

240:                                              ; preds = %238, %236
  %241 = phi i64 [ %237, %236 ], [ %239, %238 ]
  store i64 %241, ptr %19, align 8, !tbaa !11
  %242 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %242, ptr %12, align 8, !tbaa !11
  br label %292

243:                                              ; preds = %155, %121
  %244 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %244, ptr %14, align 4, !tbaa !9
  store i32 12, ptr %15, align 4, !tbaa !9
  %245 = load i32, ptr %15, align 4, !tbaa !9
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = add i32 %246, %245
  store i32 %247, ptr %14, align 4, !tbaa !9
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABaseNoScope0x3A0x3Arelease0x280x29(ptr noundef %248, i32 noundef %249)
  %250 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %250, ptr %14, align 4, !tbaa !9
  %251 = load ptr, ptr %5, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.w2c_hermes, ptr %251, i32 0, i32 6
  %253 = load i32, ptr %14, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  %255 = add i64 %254, 12
  %256 = call i32 @i32_load(ptr noundef %252, i64 noundef %255)
  store i32 %256, ptr %14, align 4, !tbaa !9
  %257 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %257, ptr %9, align 4, !tbaa !9
  %258 = load i32, ptr %14, align 4, !tbaa !9
  %259 = icmp ne i32 %258, 0
  %260 = xor i1 %259, true
  %261 = zext i1 %260 to i32
  store i32 %261, ptr %14, align 4, !tbaa !9
  %262 = load i32, ptr %14, align 4, !tbaa !9
  %263 = icmp ne i32 %262, 0
  br i1 %263, label %264, label %265

264:                                              ; preds = %243
  br label %292

265:                                              ; preds = %243
  br label %266

266:                                              ; preds = %265, %171
  %267 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %267, ptr %14, align 4, !tbaa !9
  %268 = load ptr, ptr %5, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.w2c_hermes, ptr %268, i32 0, i32 6
  %270 = load i32, ptr %14, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = call i32 @i32_load(ptr noundef %269, i64 noundef %271)
  store i32 %272, ptr %14, align 4, !tbaa !9
  %273 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %273, ptr %6, align 4, !tbaa !9
  %274 = load i32, ptr %14, align 4, !tbaa !9
  %275 = icmp ne i32 %274, 0
  %276 = xor i1 %275, true
  %277 = zext i1 %276 to i32
  store i32 %277, ptr %14, align 4, !tbaa !9
  %278 = load i32, ptr %14, align 4, !tbaa !9
  %279 = icmp ne i32 %278, 0
  br i1 %279, label %280, label %281

280:                                              ; preds = %266
  br label %391

281:                                              ; preds = %266
  %282 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %282, ptr %14, align 4, !tbaa !9
  %283 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %283, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %284 = load i32, ptr %16, align 4, !tbaa !9
  %285 = load i32, ptr %15, align 4, !tbaa !9
  %286 = sub i32 %285, %284
  store i32 %286, ptr %15, align 4, !tbaa !9
  %287 = load ptr, ptr %5, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.w2c_hermes, ptr %287, i32 0, i32 6
  %289 = load i32, ptr %14, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  %291 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %288, i64 noundef %290, i32 noundef %291)
  br label %292

292:                                              ; preds = %281, %264, %240
  %293 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %293, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %294 = load i32, ptr %15, align 4, !tbaa !9
  %295 = load i32, ptr %14, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %14, align 4, !tbaa !9
  %297 = load i32, ptr %14, align 4, !tbaa !9
  %298 = load ptr, ptr %5, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.w2c_hermes, ptr %298, i32 0, i32 3
  store i32 %297, ptr %299, align 8, !tbaa !15
  %300 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %300, ptr %19, align 8, !tbaa !11
  br label %409

301:                                              ; preds = %4
  store i32 0, ptr %14, align 4, !tbaa !9
  %302 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %302, ptr %6, align 4, !tbaa !9
  store i32 179505, ptr %15, align 4, !tbaa !9
  %303 = load i32, ptr %15, align 4, !tbaa !9
  %304 = load i32, ptr %14, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %14, align 4, !tbaa !9
  %306 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %306, ptr %15, align 4, !tbaa !9
  store i32 84574, ptr %16, align 4, !tbaa !9
  %307 = load i32, ptr %16, align 4, !tbaa !9
  %308 = load i32, ptr %15, align 4, !tbaa !9
  %309 = add i32 %308, %307
  store i32 %309, ptr %15, align 4, !tbaa !9
  store i32 127, ptr %16, align 4, !tbaa !9
  %310 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %310, ptr %17, align 4, !tbaa !9
  store i32 35614, ptr %18, align 4, !tbaa !9
  %311 = load i32, ptr %18, align 4, !tbaa !9
  %312 = load i32, ptr %17, align 4, !tbaa !9
  %313 = add i32 %312, %311
  store i32 %313, ptr %17, align 4, !tbaa !9
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = load i32, ptr %14, align 4, !tbaa !9
  %316 = load i32, ptr %15, align 4, !tbaa !9
  %317 = load i32, ptr %16, align 4, !tbaa !9
  %318 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %314, i32 noundef %315, i32 noundef %316, i32 noundef %317, i32 noundef %318)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

319:                                              ; preds = %86
  store i32 0, ptr %14, align 4, !tbaa !9
  %320 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %320, ptr %6, align 4, !tbaa !9
  store i32 147142, ptr %15, align 4, !tbaa !9
  %321 = load i32, ptr %15, align 4, !tbaa !9
  %322 = load i32, ptr %14, align 4, !tbaa !9
  %323 = add i32 %322, %321
  store i32 %323, ptr %14, align 4, !tbaa !9
  %324 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %324, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %325 = load i32, ptr %16, align 4, !tbaa !9
  %326 = load i32, ptr %15, align 4, !tbaa !9
  %327 = add i32 %326, %325
  store i32 %327, ptr %15, align 4, !tbaa !9
  store i32 106, ptr %16, align 4, !tbaa !9
  %328 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %328, ptr %17, align 4, !tbaa !9
  store i32 28119, ptr %18, align 4, !tbaa !9
  %329 = load i32, ptr %18, align 4, !tbaa !9
  %330 = load i32, ptr %17, align 4, !tbaa !9
  %331 = add i32 %330, %329
  store i32 %331, ptr %17, align 4, !tbaa !9
  %332 = load ptr, ptr %5, align 8, !tbaa !5
  %333 = load i32, ptr %14, align 4, !tbaa !9
  %334 = load i32, ptr %15, align 4, !tbaa !9
  %335 = load i32, ptr %16, align 4, !tbaa !9
  %336 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %332, i32 noundef %333, i32 noundef %334, i32 noundef %335, i32 noundef %336)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

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

355:                                              ; preds = %140
  store i32 0, ptr %14, align 4, !tbaa !9
  %356 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %356, ptr %6, align 4, !tbaa !9
  store i32 205012, ptr %15, align 4, !tbaa !9
  %357 = load i32, ptr %15, align 4, !tbaa !9
  %358 = load i32, ptr %14, align 4, !tbaa !9
  %359 = add i32 %358, %357
  store i32 %359, ptr %14, align 4, !tbaa !9
  %360 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %360, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %361 = load i32, ptr %16, align 4, !tbaa !9
  %362 = load i32, ptr %15, align 4, !tbaa !9
  %363 = add i32 %362, %361
  store i32 %363, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %364 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %364, ptr %17, align 4, !tbaa !9
  store i32 24720, ptr %18, align 4, !tbaa !9
  %365 = load i32, ptr %18, align 4, !tbaa !9
  %366 = load i32, ptr %17, align 4, !tbaa !9
  %367 = add i32 %366, %365
  store i32 %367, ptr %17, align 4, !tbaa !9
  %368 = load ptr, ptr %5, align 8, !tbaa !5
  %369 = load i32, ptr %14, align 4, !tbaa !9
  %370 = load i32, ptr %15, align 4, !tbaa !9
  %371 = load i32, ptr %16, align 4, !tbaa !9
  %372 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %368, i32 noundef %369, i32 noundef %370, i32 noundef %371, i32 noundef %372)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

373:                                              ; preds = %195
  store i32 0, ptr %14, align 4, !tbaa !9
  %374 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %374, ptr %6, align 4, !tbaa !9
  store i32 184072, ptr %15, align 4, !tbaa !9
  %375 = load i32, ptr %15, align 4, !tbaa !9
  %376 = load i32, ptr %14, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %14, align 4, !tbaa !9
  %378 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %378, ptr %15, align 4, !tbaa !9
  store i32 84373, ptr %16, align 4, !tbaa !9
  %379 = load i32, ptr %16, align 4, !tbaa !9
  %380 = load i32, ptr %15, align 4, !tbaa !9
  %381 = add i32 %380, %379
  store i32 %381, ptr %15, align 4, !tbaa !9
  store i32 1874, ptr %16, align 4, !tbaa !9
  %382 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %382, ptr %17, align 4, !tbaa !9
  store i32 92157, ptr %18, align 4, !tbaa !9
  %383 = load i32, ptr %18, align 4, !tbaa !9
  %384 = load i32, ptr %17, align 4, !tbaa !9
  %385 = add i32 %384, %383
  store i32 %385, ptr %17, align 4, !tbaa !9
  %386 = load ptr, ptr %5, align 8, !tbaa !5
  %387 = load i32, ptr %14, align 4, !tbaa !9
  %388 = load i32, ptr %15, align 4, !tbaa !9
  %389 = load i32, ptr %16, align 4, !tbaa !9
  %390 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %386, i32 noundef %387, i32 noundef %388, i32 noundef %389, i32 noundef %390)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

391:                                              ; preds = %280
  store i32 0, ptr %14, align 4, !tbaa !9
  %392 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %392, ptr %6, align 4, !tbaa !9
  store i32 184072, ptr %15, align 4, !tbaa !9
  %393 = load i32, ptr %15, align 4, !tbaa !9
  %394 = load i32, ptr %14, align 4, !tbaa !9
  %395 = add i32 %394, %393
  store i32 %395, ptr %14, align 4, !tbaa !9
  %396 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %396, ptr %15, align 4, !tbaa !9
  store i32 84373, ptr %16, align 4, !tbaa !9
  %397 = load i32, ptr %16, align 4, !tbaa !9
  %398 = load i32, ptr %15, align 4, !tbaa !9
  %399 = add i32 %398, %397
  store i32 %399, ptr %15, align 4, !tbaa !9
  store i32 1874, ptr %16, align 4, !tbaa !9
  %400 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %400, ptr %17, align 4, !tbaa !9
  store i32 92157, ptr %18, align 4, !tbaa !9
  %401 = load i32, ptr %18, align 4, !tbaa !9
  %402 = load i32, ptr %17, align 4, !tbaa !9
  %403 = add i32 %402, %401
  store i32 %403, ptr %17, align 4, !tbaa !9
  %404 = load ptr, ptr %5, align 8, !tbaa !5
  %405 = load i32, ptr %14, align 4, !tbaa !9
  %406 = load i32, ptr %15, align 4, !tbaa !9
  %407 = load i32, ptr %16, align 4, !tbaa !9
  %408 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %404, i32 noundef %405, i32 noundef %406, i32 noundef %407, i32 noundef %408)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

409:                                              ; preds = %292
  %410 = load i64, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 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 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret i64 %410
}

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

; Function Attrs: nounwind uwtable
declare hidden float @wasm_quietf(float noundef) #4

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 = { "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, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !10, i64 24}
!16 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !17, i64 40, !19, i64 80}
!17 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !18, i64 32}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!20 = !{!21, !21, i64 0}
!21 = !{!"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: 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 i32 @i32_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

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_reinterpret_f64(double noundef) local_unnamed_addr #1

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

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

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

18:                                               ; preds = %4
  %19 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %15)
  %.not223 = icmp eq i32 %19, 0
  br i1 %.not223, label %62, label %20

20:                                               ; preds = %18
  %21 = zext i32 %19 to i64
  %22 = add nuw nsw i64 %21, 3
  %23 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %22)
  %.mask = and i32 %23, 255
  %.not224 = icmp eq i32 %.mask, 42
  br i1 %.not224, label %24, label %63

24:                                               ; preds = %20
  %25 = add nuw nsw i64 %21, 28
  %26 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %25)
  %.not225 = icmp eq i32 %26, 0
  br i1 %.not225, label %53, label %27

27:                                               ; preds = %24
  %28 = zext i32 %26 to i64
  %29 = add nuw nsw i64 %28, 3
  %30 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %29)
  %.mask227 = and i32 %30, 255
  %.not226 = icmp eq i32 %.mask227, 33
  br i1 %.not226, label %31, label %64

31:                                               ; preds = %27
  %32 = add nuw nsw i64 %28, 37
  %33 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %32)
  %.not228 = icmp eq i32 %33, 0
  br i1 %.not228, label %53, label %34

34:                                               ; preds = %31
  %35 = add nuw nsw i64 %21, 32
  %36 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %35)
  %.not229 = icmp ugt i32 %36, %3
  br i1 %.not229, label %37, label %56

37:                                               ; preds = %34
  %38 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3Abegin0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %2)
  %39 = zext i32 %2 to i64
  %40 = add nuw nsw i64 %39, 1312
  %41 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %40)
  %.not230 = icmp eq i32 %41, 0
  br i1 %.not230, label %65, label %42

42:                                               ; preds = %37
  %43 = shl i32 %3, 2
  %44 = add i32 %38, %43
  %45 = zext i32 %44 to i64
  %46 = tail call float @f32_load(ptr noundef nonnull %9, i64 noundef %45)
  %47 = add i32 %41, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %12, i32 noundef %47)
  %48 = tail call float @wasm_quietf(float noundef %46)
  %49 = fpext float %48 to double
  %50 = tail call i64 @i64_reinterpret_f64(double noundef %49)
  %51 = fcmp uno float %46, 0.000000e+00
  %52 = select i1 %51, i64 9221120237041090560, i64 %50
  br label %60

53:                                               ; preds = %31, %24
  %54 = add i32 %6, -4
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABaseNoScope0x3A0x3Arelease0x280x29(ptr noundef nonnull %0, i32 noundef %54) #4
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %.not231 = icmp eq i32 %55, 0
  br i1 %.not231, label %60, label %._crit_edge

._crit_edge:                                      ; preds = %53
  %.pre = zext i32 %55 to i64
  br label %56

56:                                               ; preds = %._crit_edge, %34
  %.pre-phi = phi i64 [ %.pre, %._crit_edge ], [ %12, %34 ]
  %.0221 = phi i64 [ 0, %._crit_edge ], [ -1688849860263936, %34 ]
  %57 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %.pre-phi)
  %.not232 = icmp eq i32 %57, 0
  br i1 %.not232, label %66, label %58

58:                                               ; preds = %56
  %59 = add i32 %57, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %.pre-phi, i32 noundef %59)
  br label %60

60:                                               ; preds = %53, %58, %42
  %.1 = phi i64 [ 0, %53 ], [ %.0221, %58 ], [ %52, %42 ]
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret i64 %.1

61:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 179505, i32 noundef 84574, i32 noundef 127, i32 noundef 35614) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

62:                                               ; preds = %18
  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

63:                                               ; preds = %20
  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 = %27
  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

65:                                               ; preds = %37
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 184072, i32 noundef 84373, i32 noundef 1874, i32 noundef 92157) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

66:                                               ; preds = %56
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 184072, i32 noundef 84373, i32 noundef 1874, i32 noundef 92157) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

; Function Attrs: nounwind uwtable
declare hidden float @wasm_quietf(float noundef) local_unnamed_addr #3

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 = { "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: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass