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

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

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

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

81:                                               ; preds = %67
  br label %320

82:                                               ; preds = %67
  %83 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %83, ptr %13, align 4, !tbaa !9
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = add i64 %87, 3
  %89 = call i32 @i32_load8_u(ptr noundef %85, i64 noundef %88)
  store i32 %89, ptr %13, align 4, !tbaa !9
  store i32 24, ptr %14, align 4, !tbaa !9
  %90 = load i32, ptr %14, align 4, !tbaa !9
  %91 = and i32 %90, 31
  %92 = load i32, ptr %13, align 4, !tbaa !9
  %93 = shl i32 %92, %91
  store i32 %93, ptr %13, align 4, !tbaa !9
  store i32 587202560, ptr %14, align 4, !tbaa !9
  %94 = load i32, ptr %13, align 4, !tbaa !9
  %95 = load i32, ptr %14, align 4, !tbaa !9
  %96 = icmp ne i32 %94, %95
  %97 = zext i1 %96 to i32
  store i32 %97, ptr %13, align 4, !tbaa !9
  %98 = load i32, ptr %13, align 4, !tbaa !9
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %101

100:                                              ; preds = %82
  br label %338

101:                                              ; preds = %82
  %102 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %102, ptr %13, align 4, !tbaa !9
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.w2c_hermes, ptr %103, i32 0, i32 6
  %105 = load i32, ptr %13, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = add i64 %106, 28
  %108 = call i32 @i32_load(ptr noundef %104, i64 noundef %107)
  store i32 %108, ptr %13, align 4, !tbaa !9
  %109 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %109, ptr %11, align 4, !tbaa !9
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = icmp ne i32 %110, 0
  %112 = xor i1 %111, true
  %113 = zext i1 %112 to i32
  store i32 %113, ptr %13, align 4, !tbaa !9
  %114 = load i32, ptr %13, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %117

116:                                              ; preds = %101
  br label %244

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

135:                                              ; preds = %117
  br label %356

136:                                              ; preds = %117
  %137 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %137, ptr %13, align 4, !tbaa !9
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %13, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = add i64 %141, 37
  %143 = call i32 @i32_load8_u(ptr noundef %139, i64 noundef %142)
  store i32 %143, ptr %13, align 4, !tbaa !9
  %144 = load i32, ptr %13, align 4, !tbaa !9
  %145 = icmp ne i32 %144, 0
  %146 = xor i1 %145, true
  %147 = zext i1 %146 to i32
  store i32 %147, ptr %13, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %151

150:                                              ; preds = %136
  br label %244

151:                                              ; preds = %136
  %152 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %152, ptr %13, align 4, !tbaa !9
  %153 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %153, ptr %14, align 4, !tbaa !9
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %14, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = add i64 %157, 32
  %159 = call i32 @i32_load(ptr noundef %155, i64 noundef %158)
  store i32 %159, ptr %14, align 4, !tbaa !9
  %160 = load i32, ptr %13, align 4, !tbaa !9
  %161 = load i32, ptr %14, align 4, !tbaa !9
  %162 = icmp uge i32 %160, %161
  %163 = zext i1 %162 to i32
  store i32 %163, ptr %13, align 4, !tbaa !9
  %164 = load i32, ptr %13, align 4, !tbaa !9
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %168

166:                                              ; preds = %151
  store i64 -1688849860263936, ptr %18, align 8, !tbaa !11
  %167 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %167, ptr %12, align 8, !tbaa !11
  br label %267

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

190:                                              ; preds = %168
  br label %374

191:                                              ; preds = %168
  %192 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %192, ptr %13, align 4, !tbaa !9
  %193 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %193, ptr %14, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = load i32, ptr %13, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %13, align 4, !tbaa !9
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.w2c_hermes, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %13, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = call i32 @i32_load8_s(ptr noundef %198, i64 noundef %200)
  store i32 %201, ptr %13, align 4, !tbaa !9
  %202 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %202, ptr %6, align 4, !tbaa !9
  %203 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %203, ptr %13, align 4, !tbaa !9
  %204 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %204, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %205 = load i32, ptr %15, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = sub i32 %206, %205
  store i32 %207, ptr %14, align 4, !tbaa !9
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.w2c_hermes, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %13, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %209, i64 noundef %211, i32 noundef %212)
  %213 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %213, ptr %13, align 4, !tbaa !9
  %214 = load i32, ptr %13, align 4, !tbaa !9
  %215 = sitofp i32 %214 to double
  store double %215, ptr %20, align 8, !tbaa !18
  %216 = load double, ptr %20, align 8, !tbaa !18
  %217 = call i64 @i64_reinterpret_f64(double noundef %216)
  store i64 %217, ptr %18, align 8, !tbaa !11
  %218 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %218, ptr %12, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %19, align 8, !tbaa !11
  %219 = load i64, ptr %18, align 8, !tbaa !11
  %220 = load i64, ptr %19, align 8, !tbaa !11
  %221 = icmp ult i64 %219, %220
  %222 = zext i1 %221 to i32
  store i32 %222, ptr %13, align 4, !tbaa !9
  %223 = load i32, ptr %13, align 4, !tbaa !9
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %225, label %226

225:                                              ; preds = %191
  br label %293

226:                                              ; preds = %191
  store i32 0, ptr %13, align 4, !tbaa !9
  %227 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %227, ptr %6, align 4, !tbaa !9
  store i32 168600, ptr %14, align 4, !tbaa !9
  %228 = load i32, ptr %14, align 4, !tbaa !9
  %229 = load i32, ptr %13, align 4, !tbaa !9
  %230 = add i32 %229, %228
  store i32 %230, ptr %13, align 4, !tbaa !9
  %231 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %231, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %232 = load i32, ptr %15, align 4, !tbaa !9
  %233 = load i32, ptr %14, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %14, align 4, !tbaa !9
  store i32 341, ptr %15, align 4, !tbaa !9
  %235 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %235, ptr %16, align 4, !tbaa !9
  store i32 90577, ptr %17, align 4, !tbaa !9
  %236 = load i32, ptr %17, align 4, !tbaa !9
  %237 = load i32, ptr %16, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %16, align 4, !tbaa !9
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = load i32, ptr %13, align 4, !tbaa !9
  %241 = load i32, ptr %14, align 4, !tbaa !9
  %242 = load i32, ptr %15, align 4, !tbaa !9
  %243 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %239, i32 noundef %240, i32 noundef %241, i32 noundef %242, i32 noundef %243)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

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

265:                                              ; preds = %244
  br label %293

266:                                              ; preds = %244
  br label %267

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

281:                                              ; preds = %267
  br label %392

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

293:                                              ; preds = %282, %265, %225
  %294 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %294, ptr %13, align 4, !tbaa !9
  store i32 16, ptr %14, align 4, !tbaa !9
  %295 = load i32, ptr %14, align 4, !tbaa !9
  %296 = load i32, ptr %13, align 4, !tbaa !9
  %297 = add i32 %296, %295
  store i32 %297, ptr %13, align 4, !tbaa !9
  %298 = load i32, ptr %13, align 4, !tbaa !9
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.w2c_hermes, ptr %299, i32 0, i32 3
  store i32 %298, ptr %300, align 8, !tbaa !13
  %301 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %301, ptr %18, align 8, !tbaa !11
  br label %410

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

320:                                              ; preds = %81
  store i32 0, ptr %13, align 4, !tbaa !9
  %321 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %321, ptr %6, align 4, !tbaa !9
  store i32 147142, ptr %14, align 4, !tbaa !9
  %322 = load i32, ptr %14, align 4, !tbaa !9
  %323 = load i32, ptr %13, align 4, !tbaa !9
  %324 = add i32 %323, %322
  store i32 %324, ptr %13, align 4, !tbaa !9
  %325 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %325, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %326 = load i32, ptr %15, align 4, !tbaa !9
  %327 = load i32, ptr %14, align 4, !tbaa !9
  %328 = add i32 %327, %326
  store i32 %328, ptr %14, align 4, !tbaa !9
  store i32 106, ptr %15, align 4, !tbaa !9
  %329 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %329, ptr %16, align 4, !tbaa !9
  store i32 28119, ptr %17, align 4, !tbaa !9
  %330 = load i32, ptr %17, align 4, !tbaa !9
  %331 = load i32, ptr %16, align 4, !tbaa !9
  %332 = add i32 %331, %330
  store i32 %332, ptr %16, align 4, !tbaa !9
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  %334 = load i32, ptr %13, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %333, i32 noundef %334, i32 noundef %335, i32 noundef %336, i32 noundef %337)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

338:                                              ; preds = %100
  store i32 0, ptr %13, align 4, !tbaa !9
  %339 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %339, ptr %6, align 4, !tbaa !9
  store i32 205012, ptr %14, align 4, !tbaa !9
  %340 = load i32, ptr %14, align 4, !tbaa !9
  %341 = load i32, ptr %13, align 4, !tbaa !9
  %342 = add i32 %341, %340
  store i32 %342, ptr %13, align 4, !tbaa !9
  %343 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %343, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %344 = load i32, ptr %15, align 4, !tbaa !9
  %345 = load i32, ptr %14, align 4, !tbaa !9
  %346 = add i32 %345, %344
  store i32 %346, ptr %14, align 4, !tbaa !9
  store i32 255, ptr %15, align 4, !tbaa !9
  %347 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %347, ptr %16, align 4, !tbaa !9
  store i32 24720, ptr %17, align 4, !tbaa !9
  %348 = load i32, ptr %17, align 4, !tbaa !9
  %349 = load i32, ptr %16, align 4, !tbaa !9
  %350 = add i32 %349, %348
  store i32 %350, ptr %16, align 4, !tbaa !9
  %351 = load ptr, ptr %5, align 8, !tbaa !5
  %352 = load i32, ptr %13, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %351, i32 noundef %352, i32 noundef %353, i32 noundef %354, i32 noundef %355)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

356:                                              ; preds = %135
  store i32 0, ptr %13, align 4, !tbaa !9
  %357 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %357, ptr %6, align 4, !tbaa !9
  store i32 205012, ptr %14, align 4, !tbaa !9
  %358 = load i32, ptr %14, align 4, !tbaa !9
  %359 = load i32, ptr %13, align 4, !tbaa !9
  %360 = add i32 %359, %358
  store i32 %360, ptr %13, align 4, !tbaa !9
  %361 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %361, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %362 = load i32, ptr %15, align 4, !tbaa !9
  %363 = load i32, ptr %14, align 4, !tbaa !9
  %364 = add i32 %363, %362
  store i32 %364, ptr %14, align 4, !tbaa !9
  store i32 255, ptr %15, align 4, !tbaa !9
  %365 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %365, ptr %16, align 4, !tbaa !9
  store i32 24720, ptr %17, align 4, !tbaa !9
  %366 = load i32, ptr %17, align 4, !tbaa !9
  %367 = load i32, ptr %16, align 4, !tbaa !9
  %368 = add i32 %367, %366
  store i32 %368, ptr %16, align 4, !tbaa !9
  %369 = load ptr, ptr %5, align 8, !tbaa !5
  %370 = load i32, ptr %13, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %369, i32 noundef %370, i32 noundef %371, i32 noundef %372, i32 noundef %373)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

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

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

410:                                              ; preds = %293
  %411 = load i64, ptr %18, align 8, !tbaa !11
  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 8, 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 %411
}

; 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

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, !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: 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 i32 @i32_load8_s(ptr noundef, i64 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArray0x3Csigned0x20char0x2C0x200x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29350x3E0x3A0x3A_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 %59, label %18

18:                                               ; preds = %4
  %19 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %15)
  %.not232 = icmp eq i32 %19, 0
  br i1 %.not232, label %60, 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
  %.not233 = icmp eq i32 %.mask, 35
  br i1 %.not233, label %24, label %61

24:                                               ; preds = %20
  %25 = add nuw nsw i64 %21, 28
  %26 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %25)
  %.not234 = icmp eq i32 %26, 0
  br i1 %.not234, label %51, 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)
  %.mask236 = and i32 %30, 255
  %.not235 = icmp eq i32 %.mask236, 33
  br i1 %.not235, label %31, label %62

31:                                               ; preds = %27
  %32 = add nuw nsw i64 %28, 37
  %33 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %32)
  %.not237 = icmp eq i32 %33, 0
  br i1 %.not237, label %51, 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)
  %.not238 = icmp ugt i32 %36, %3
  br i1 %.not238, label %37, label %54

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)
  %.not239 = icmp eq i32 %41, 0
  br i1 %.not239, label %63, label %42

42:                                               ; preds = %37
  %43 = add i32 %38, %3
  %44 = zext i32 %43 to i64
  %45 = tail call i32 @i32_load8_s(ptr noundef nonnull %9, i64 noundef %44)
  %46 = add i32 %41, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %12, i32 noundef %46)
  %47 = sitofp i32 %45 to double
  %48 = tail call i64 @i64_reinterpret_f64(double noundef %47)
  %49 = icmp ult i64 %48, -1970324836974592
  br i1 %49, label %58, label %50

50:                                               ; preds = %42
  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

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

._crit_edge:                                      ; preds = %51
  %.pre = zext i32 %53 to i64
  br label %54

54:                                               ; preds = %._crit_edge, %34
  %.pre-phi = phi i64 [ %.pre, %._crit_edge ], [ %12, %34 ]
  %.0 = phi i64 [ 0, %._crit_edge ], [ -1688849860263936, %34 ]
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %.pre-phi)
  %.not241 = icmp eq i32 %55, 0
  br i1 %.not241, label %64, label %56

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

58:                                               ; preds = %51, %42, %56
  %.1 = phi i64 [ 0, %51 ], [ %.0, %56 ], [ %48, %42 ]
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret i64 %.1

59:                                               ; 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

60:                                               ; 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

61:                                               ; 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

62:                                               ; 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

63:                                               ; 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

64:                                               ; preds = %54
  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: 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

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,SROAPass,SimplifyCFGPass,TailCallElimPass