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

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

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

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

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

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

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

51:                                               ; preds = %5
  %52 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %52, ptr %19, align 8, !tbaa !11
  %53 = load i64, ptr %19, align 8, !tbaa !11
  %54 = trunc i64 %53 to i32
  store i32 %54, ptr %14, align 4, !tbaa !9
  %55 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %55, ptr %10, align 4, !tbaa !9
  %56 = load i32, ptr %14, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  %58 = xor i1 %57, true
  %59 = zext i1 %58 to i32
  store i32 %59, ptr %14, align 4, !tbaa !9
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %51
  br label %293

63:                                               ; preds = %51
  %64 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %64, ptr %14, align 4, !tbaa !9
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.w2c_hermes, ptr %65, i32 0, i32 6
  %67 = load i32, ptr %14, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = add i64 %68, 3
  %70 = call i32 @i32_load8_u(ptr noundef %66, i64 noundef %69)
  store i32 %70, ptr %14, align 4, !tbaa !9
  store i32 24, ptr %15, align 4, !tbaa !9
  %71 = load i32, ptr %15, align 4, !tbaa !9
  %72 = and i32 %71, 31
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = shl i32 %73, %72
  store i32 %74, ptr %14, align 4, !tbaa !9
  store i32 553648128, ptr %15, align 4, !tbaa !9
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = icmp eq i32 %75, %76
  %78 = zext i1 %77 to i32
  store i32 %78, ptr %14, align 4, !tbaa !9
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %63
  br label %129

82:                                               ; preds = %63
  br label %83

83:                                               ; preds = %82, %5
  store i32 217520, ptr %14, align 4, !tbaa !9
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %14, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = call i64 @i64_load(ptr noundef %85, i64 noundef %87)
  store i64 %88, ptr %19, align 8, !tbaa !11
  %89 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %89, ptr %12, align 8, !tbaa !11
  store i64 -844424930131969, ptr %20, align 8, !tbaa !11
  %90 = load i64, ptr %19, align 8, !tbaa !11
  %91 = load i64, ptr %20, align 8, !tbaa !11
  %92 = icmp ule i64 %90, %91
  %93 = zext i1 %92 to i32
  store i32 %93, ptr %14, align 4, !tbaa !9
  %94 = load i32, ptr %14, align 4, !tbaa !9
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %97

96:                                               ; preds = %83
  br label %311

97:                                               ; preds = %83
  %98 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %98, ptr %19, align 8, !tbaa !11
  %99 = load i64, ptr %19, align 8, !tbaa !11
  %100 = trunc i64 %99 to i32
  store i32 %100, ptr %14, align 4, !tbaa !9
  %101 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %101, ptr %10, align 4, !tbaa !9
  %102 = load i32, ptr %14, align 4, !tbaa !9
  %103 = icmp ne i32 %102, 0
  %104 = xor i1 %103, true
  %105 = zext i1 %104 to i32
  store i32 %105, ptr %14, align 4, !tbaa !9
  %106 = load i32, ptr %14, align 4, !tbaa !9
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %97
  br label %129

109:                                              ; preds = %97
  %110 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %110, ptr %14, align 4, !tbaa !9
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.w2c_hermes, ptr %111, i32 0, i32 6
  %113 = load i32, ptr %14, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = add i64 %114, 3
  %116 = call i32 @i32_load8_u(ptr noundef %112, i64 noundef %115)
  store i32 %116, ptr %14, align 4, !tbaa !9
  store i32 24, ptr %15, align 4, !tbaa !9
  %117 = load i32, ptr %15, align 4, !tbaa !9
  %118 = and i32 %117, 31
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = shl i32 %119, %118
  store i32 %120, ptr %14, align 4, !tbaa !9
  store i32 553648128, ptr %15, align 4, !tbaa !9
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = load i32, ptr %15, align 4, !tbaa !9
  %123 = icmp ne i32 %121, %122
  %124 = zext i1 %123 to i32
  store i32 %124, ptr %14, align 4, !tbaa !9
  %125 = load i32, ptr %14, align 4, !tbaa !9
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %127, label %128

127:                                              ; preds = %109
  br label %329

128:                                              ; preds = %109
  br label %129

129:                                              ; preds = %128, %108, %81
  %130 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %130, ptr %19, align 8, !tbaa !11
  %131 = load i64, ptr %19, align 8, !tbaa !11
  %132 = trunc i64 %131 to i32
  store i32 %132, ptr %14, align 4, !tbaa !9
  %133 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %133, ptr %10, align 4, !tbaa !9
  %134 = load i32, ptr %14, align 4, !tbaa !9
  %135 = icmp ne i32 %134, 0
  %136 = xor i1 %135, true
  %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 %211

140:                                              ; preds = %129
  %141 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %141, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %14, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 40
  %147 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %143, i64 noundef %146, i32 noundef %147)
  %148 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %148, ptr %14, align 4, !tbaa !9
  store i64 193273528321, ptr %20, align 8, !tbaa !11
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.w2c_hermes, ptr %149, i32 0, i32 6
  %151 = load i32, ptr %14, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = add i64 %152, 32
  %154 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %150, i64 noundef %153, i64 noundef %154)
  %155 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %155, ptr %14, align 4, !tbaa !9
  store i32 3, ptr %15, align 4, !tbaa !9
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.w2c_hermes, ptr %156, i32 0, i32 6
  %158 = load i32, ptr %14, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  %160 = add i64 %159, 16
  %161 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %157, i64 noundef %160, i32 noundef %161)
  %162 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %162, ptr %14, align 4, !tbaa !9
  store i32 36754, ptr %15, align 4, !tbaa !9
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %14, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = add i64 %166, 8
  %168 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %164, i64 noundef %167, i32 noundef %168)
  %169 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %169, ptr %14, align 4, !tbaa !9
  %170 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %170, ptr %15, align 4, !tbaa !9
  %171 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %171, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = add i32 %173, %172
  store i32 %174, ptr %16, align 4, !tbaa !9
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = load i32, ptr %15, align 4, !tbaa !9
  %177 = load i32, ptr %16, align 4, !tbaa !9
  %178 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %175, i32 noundef %176, i32 noundef %177)
  store i32 %178, ptr %15, align 4, !tbaa !9
  %179 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %179, ptr %10, align 4, !tbaa !9
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.w2c_hermes, ptr %180, i32 0, i32 6
  %182 = load i32, ptr %14, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %181, i64 noundef %183, i32 noundef %184)
  %185 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %185, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %186 = load i32, ptr %14, align 4, !tbaa !9
  %187 = load i32, ptr %15, align 4, !tbaa !9
  %188 = icmp ne i32 %186, %187
  %189 = zext i1 %188 to i32
  store i32 %189, ptr %14, align 4, !tbaa !9
  %190 = load i32, ptr %14, align 4, !tbaa !9
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %193

192:                                              ; preds = %140
  br label %285

193:                                              ; preds = %140
  store i32 0, ptr %14, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %194, ptr %11, align 4, !tbaa !9
  store i32 109717, ptr %15, align 4, !tbaa !9
  %195 = load i32, ptr %15, align 4, !tbaa !9
  %196 = load i32, ptr %14, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %14, align 4, !tbaa !9
  %198 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %198, ptr %15, align 4, !tbaa !9
  store i32 77564, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %16, align 4, !tbaa !9
  %200 = load i32, ptr %15, align 4, !tbaa !9
  %201 = add i32 %200, %199
  store i32 %201, ptr %15, align 4, !tbaa !9
  store i32 168, ptr %16, align 4, !tbaa !9
  %202 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %202, ptr %17, align 4, !tbaa !9
  store i32 28083, ptr %18, align 4, !tbaa !9
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = load i32, ptr %17, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %17, align 4, !tbaa !9
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = load i32, ptr %14, align 4, !tbaa !9
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = load i32, ptr %16, align 4, !tbaa !9
  %210 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %206, i32 noundef %207, i32 noundef %208, i32 noundef %209, i32 noundef %210)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

211:                                              ; preds = %129
  %212 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %212, ptr %19, align 8, !tbaa !11
  store i64 48, ptr %20, align 8, !tbaa !11
  %213 = load i64, ptr %19, align 8, !tbaa !11
  %214 = load i64, ptr %20, align 8, !tbaa !11
  %215 = and i64 %214, 63
  %216 = ashr i64 %213, %215
  store i64 %216, ptr %19, align 8, !tbaa !11
  %217 = load i64, ptr %19, align 8, !tbaa !11
  %218 = trunc i64 %217 to i32
  store i32 %218, ptr %14, align 4, !tbaa !9
  store i32 -1, ptr %15, align 4, !tbaa !9
  %219 = load i32, ptr %14, align 4, !tbaa !9
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = icmp ne i32 %219, %220
  %222 = zext i1 %221 to i32
  store i32 %222, ptr %14, align 4, !tbaa !9
  %223 = load i32, ptr %14, align 4, !tbaa !9
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %225, label %226

225:                                              ; preds = %211
  br label %347

226:                                              ; preds = %211
  %227 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %227, ptr %14, align 4, !tbaa !9
  %228 = load i32, ptr %14, align 4, !tbaa !9
  %229 = icmp ne i32 %228, 0
  %230 = xor i1 %229, true
  %231 = zext i1 %230 to i32
  store i32 %231, ptr %14, align 4, !tbaa !9
  %232 = load i32, ptr %14, align 4, !tbaa !9
  %233 = icmp ne i32 %232, 0
  br i1 %233, label %234, label %235

234:                                              ; preds = %226
  br label %365

235:                                              ; preds = %226
  %236 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %236, ptr %14, align 4, !tbaa !9
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.w2c_hermes, ptr %237, i32 0, i32 6
  %239 = load i32, ptr %14, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = add i64 %240, 37
  %242 = call i32 @i32_load8_u(ptr noundef %238, i64 noundef %241)
  store i32 %242, ptr %14, align 4, !tbaa !9
  %243 = load i32, ptr %14, align 4, !tbaa !9
  %244 = icmp ne i32 %243, 0
  %245 = xor i1 %244, true
  %246 = zext i1 %245 to i32
  store i32 %246, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %14, align 4, !tbaa !9
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %250

249:                                              ; preds = %235
  br label %383

250:                                              ; preds = %235
  %251 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %251, ptr %14, align 4, !tbaa !9
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.w2c_hermes, ptr %252, i32 0, i32 6
  %254 = load i32, ptr %14, align 4, !tbaa !9
  %255 = zext i32 %254 to i64
  %256 = add i64 %255, 32
  %257 = call i32 @i32_load(ptr noundef %253, i64 noundef %256)
  store i32 %257, ptr %14, align 4, !tbaa !9
  %258 = load i32, ptr %14, align 4, !tbaa !9
  %259 = uitofp i32 %258 to double
  store double %259, ptr %21, align 8, !tbaa !13
  %260 = load double, ptr %21, align 8, !tbaa !13
  store double %260, ptr %13, align 8, !tbaa !13
  %261 = load double, ptr %21, align 8, !tbaa !13
  %262 = call i64 @i64_reinterpret_f64(double noundef %261)
  store i64 %262, ptr %19, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %20, align 8, !tbaa !11
  %263 = load i64, ptr %19, align 8, !tbaa !11
  %264 = load i64, ptr %20, align 8, !tbaa !11
  %265 = icmp uge i64 %263, %264
  %266 = zext i1 %265 to i32
  store i32 %266, ptr %14, align 4, !tbaa !9
  %267 = load i32, ptr %14, align 4, !tbaa !9
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %270

269:                                              ; preds = %250
  br label %401

270:                                              ; preds = %250
  %271 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %271, ptr %14, align 4, !tbaa !9
  %272 = load double, ptr %13, align 8, !tbaa !13
  store double %272, ptr %22, align 8, !tbaa !13
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %14, align 4, !tbaa !9
  %276 = zext i32 %275 to i64
  %277 = add i64 %276, 8
  %278 = load double, ptr %22, align 8, !tbaa !13
  call void @f64_store(ptr noundef %274, i64 noundef %277, double noundef %278)
  %279 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %279, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %14, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %281, i64 noundef %283, i32 noundef %284)
  br label %285

285:                                              ; preds = %270, %192
  %286 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %286, ptr %14, align 4, !tbaa !9
  store i32 48, 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 %14, align 4, !tbaa !9
  %291 = load ptr, ptr %6, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.w2c_hermes, ptr %291, i32 0, i32 3
  store i32 %290, ptr %292, align 8, !tbaa !15
  br label %419

293:                                              ; preds = %62
  store i32 0, ptr %14, align 4, !tbaa !9
  %294 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %294, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %15, align 4, !tbaa !9
  %295 = load i32, ptr %15, align 4, !tbaa !9
  %296 = load i32, ptr %14, align 4, !tbaa !9
  %297 = add i32 %296, %295
  store i32 %297, ptr %14, align 4, !tbaa !9
  %298 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %298, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %299 = load i32, ptr %16, align 4, !tbaa !9
  %300 = load i32, ptr %15, align 4, !tbaa !9
  %301 = add i32 %300, %299
  store i32 %301, ptr %15, align 4, !tbaa !9
  store i32 106, ptr %16, align 4, !tbaa !9
  %302 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %302, ptr %17, align 4, !tbaa !9
  store i32 28119, ptr %18, align 4, !tbaa !9
  %303 = load i32, ptr %18, align 4, !tbaa !9
  %304 = load i32, ptr %17, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %17, align 4, !tbaa !9
  %306 = load ptr, ptr %6, align 8, !tbaa !5
  %307 = load i32, ptr %14, align 4, !tbaa !9
  %308 = load i32, ptr %15, align 4, !tbaa !9
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %306, i32 noundef %307, i32 noundef %308, i32 noundef %309, i32 noundef %310)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

311:                                              ; preds = %96
  store i32 0, ptr %14, align 4, !tbaa !9
  %312 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %312, ptr %11, align 4, !tbaa !9
  store i32 146777, ptr %15, align 4, !tbaa !9
  %313 = load i32, ptr %15, align 4, !tbaa !9
  %314 = load i32, ptr %14, align 4, !tbaa !9
  %315 = add i32 %314, %313
  store i32 %315, ptr %14, align 4, !tbaa !9
  %316 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %316, ptr %15, align 4, !tbaa !9
  store i32 82692, ptr %16, align 4, !tbaa !9
  %317 = load i32, ptr %16, align 4, !tbaa !9
  %318 = load i32, ptr %15, align 4, !tbaa !9
  %319 = add i32 %318, %317
  store i32 %319, ptr %15, align 4, !tbaa !9
  store i32 61, ptr %16, align 4, !tbaa !9
  %320 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %320, ptr %17, align 4, !tbaa !9
  store i32 72547, ptr %18, align 4, !tbaa !9
  %321 = load i32, ptr %18, align 4, !tbaa !9
  %322 = load i32, ptr %17, align 4, !tbaa !9
  %323 = add i32 %322, %321
  store i32 %323, ptr %17, align 4, !tbaa !9
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = load i32, ptr %14, align 4, !tbaa !9
  %326 = load i32, ptr %15, align 4, !tbaa !9
  %327 = load i32, ptr %16, align 4, !tbaa !9
  %328 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %324, i32 noundef %325, i32 noundef %326, i32 noundef %327, i32 noundef %328)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

329:                                              ; preds = %127
  store i32 0, ptr %14, align 4, !tbaa !9
  %330 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %330, ptr %11, align 4, !tbaa !9
  store i32 205071, ptr %15, align 4, !tbaa !9
  %331 = load i32, ptr %15, align 4, !tbaa !9
  %332 = load i32, ptr %14, align 4, !tbaa !9
  %333 = add i32 %332, %331
  store i32 %333, ptr %14, align 4, !tbaa !9
  %334 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %334, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %335 = load i32, ptr %16, align 4, !tbaa !9
  %336 = load i32, ptr %15, align 4, !tbaa !9
  %337 = add i32 %336, %335
  store i32 %337, ptr %15, align 4, !tbaa !9
  store i32 299, ptr %16, align 4, !tbaa !9
  %338 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %338, ptr %17, align 4, !tbaa !9
  store i32 72549, ptr %18, align 4, !tbaa !9
  %339 = load i32, ptr %18, align 4, !tbaa !9
  %340 = load i32, ptr %17, align 4, !tbaa !9
  %341 = add i32 %340, %339
  store i32 %341, ptr %17, align 4, !tbaa !9
  %342 = load ptr, ptr %6, align 8, !tbaa !5
  %343 = load i32, ptr %14, align 4, !tbaa !9
  %344 = load i32, ptr %15, align 4, !tbaa !9
  %345 = load i32, ptr %16, align 4, !tbaa !9
  %346 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %342, i32 noundef %343, i32 noundef %344, i32 noundef %345, i32 noundef %346)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

347:                                              ; preds = %225
  store i32 0, ptr %14, align 4, !tbaa !9
  %348 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %348, ptr %11, align 4, !tbaa !9
  store i32 118124, ptr %15, align 4, !tbaa !9
  %349 = load i32, ptr %15, align 4, !tbaa !9
  %350 = load i32, ptr %14, align 4, !tbaa !9
  %351 = add i32 %350, %349
  store i32 %351, ptr %14, align 4, !tbaa !9
  %352 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %352, ptr %15, align 4, !tbaa !9
  store i32 83341, ptr %16, align 4, !tbaa !9
  %353 = load i32, ptr %16, align 4, !tbaa !9
  %354 = load i32, ptr %15, align 4, !tbaa !9
  %355 = add i32 %354, %353
  store i32 %355, ptr %15, align 4, !tbaa !9
  store i32 480, ptr %16, align 4, !tbaa !9
  %356 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %356, ptr %17, align 4, !tbaa !9
  store i32 38798, ptr %18, align 4, !tbaa !9
  %357 = load i32, ptr %18, align 4, !tbaa !9
  %358 = load i32, ptr %17, align 4, !tbaa !9
  %359 = add i32 %358, %357
  store i32 %359, ptr %17, align 4, !tbaa !9
  %360 = load ptr, ptr %6, align 8, !tbaa !5
  %361 = load i32, ptr %14, align 4, !tbaa !9
  %362 = load i32, ptr %15, align 4, !tbaa !9
  %363 = load i32, ptr %16, align 4, !tbaa !9
  %364 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %360, i32 noundef %361, i32 noundef %362, i32 noundef %363, i32 noundef %364)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

365:                                              ; preds = %234
  store i32 0, ptr %14, align 4, !tbaa !9
  %366 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %366, ptr %11, align 4, !tbaa !9
  store i32 168498, ptr %15, align 4, !tbaa !9
  %367 = load i32, ptr %15, align 4, !tbaa !9
  %368 = load i32, ptr %14, align 4, !tbaa !9
  %369 = add i32 %368, %367
  store i32 %369, ptr %14, align 4, !tbaa !9
  %370 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %370, ptr %15, align 4, !tbaa !9
  store i32 78081, ptr %16, align 4, !tbaa !9
  %371 = load i32, ptr %16, align 4, !tbaa !9
  %372 = load i32, ptr %15, align 4, !tbaa !9
  %373 = add i32 %372, %371
  store i32 %373, ptr %15, align 4, !tbaa !9
  store i32 269, ptr %16, align 4, !tbaa !9
  %374 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %374, ptr %17, align 4, !tbaa !9
  store i32 20456, ptr %18, align 4, !tbaa !9
  %375 = load i32, ptr %18, align 4, !tbaa !9
  %376 = load i32, ptr %17, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %17, align 4, !tbaa !9
  %378 = load ptr, ptr %6, align 8, !tbaa !5
  %379 = load i32, ptr %14, align 4, !tbaa !9
  %380 = load i32, ptr %15, align 4, !tbaa !9
  %381 = load i32, ptr %16, align 4, !tbaa !9
  %382 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %378, i32 noundef %379, i32 noundef %380, i32 noundef %381, i32 noundef %382)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

383:                                              ; preds = %249
  store i32 0, ptr %14, align 4, !tbaa !9
  %384 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %384, ptr %11, align 4, !tbaa !9
  store i32 149314, ptr %15, align 4, !tbaa !9
  %385 = load i32, ptr %15, align 4, !tbaa !9
  %386 = load i32, ptr %14, align 4, !tbaa !9
  %387 = add i32 %386, %385
  store i32 %387, ptr %14, align 4, !tbaa !9
  %388 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %388, ptr %15, align 4, !tbaa !9
  store i32 80711, ptr %16, align 4, !tbaa !9
  %389 = load i32, ptr %16, align 4, !tbaa !9
  %390 = load i32, ptr %15, align 4, !tbaa !9
  %391 = add i32 %390, %389
  store i32 %391, ptr %15, align 4, !tbaa !9
  store i32 97, ptr %16, align 4, !tbaa !9
  %392 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %392, ptr %17, align 4, !tbaa !9
  store i32 88770, ptr %18, align 4, !tbaa !9
  %393 = load i32, ptr %18, align 4, !tbaa !9
  %394 = load i32, ptr %17, align 4, !tbaa !9
  %395 = add i32 %394, %393
  store i32 %395, ptr %17, align 4, !tbaa !9
  %396 = load ptr, ptr %6, align 8, !tbaa !5
  %397 = load i32, ptr %14, align 4, !tbaa !9
  %398 = load i32, ptr %15, align 4, !tbaa !9
  %399 = load i32, ptr %16, align 4, !tbaa !9
  %400 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %396, i32 noundef %397, i32 noundef %398, i32 noundef %399, i32 noundef %400)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

401:                                              ; preds = %269
  store i32 0, ptr %14, align 4, !tbaa !9
  %402 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %402, ptr %11, align 4, !tbaa !9
  store i32 168600, ptr %15, align 4, !tbaa !9
  %403 = load i32, ptr %15, align 4, !tbaa !9
  %404 = load i32, ptr %14, align 4, !tbaa !9
  %405 = add i32 %404, %403
  store i32 %405, ptr %14, align 4, !tbaa !9
  %406 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %406, ptr %15, align 4, !tbaa !9
  store i32 83341, ptr %16, align 4, !tbaa !9
  %407 = load i32, ptr %16, align 4, !tbaa !9
  %408 = load i32, ptr %15, align 4, !tbaa !9
  %409 = add i32 %408, %407
  store i32 %409, ptr %15, align 4, !tbaa !9
  store i32 341, ptr %16, align 4, !tbaa !9
  %410 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %410, ptr %17, align 4, !tbaa !9
  store i32 90577, ptr %18, align 4, !tbaa !9
  %411 = load i32, ptr %18, align 4, !tbaa !9
  %412 = load i32, ptr %17, align 4, !tbaa !9
  %413 = add i32 %412, %411
  store i32 %413, ptr %17, align 4, !tbaa !9
  %414 = load ptr, ptr %6, align 8, !tbaa !5
  %415 = load i32, ptr %14, align 4, !tbaa !9
  %416 = load i32, ptr %15, align 4, !tbaa !9
  %417 = load i32, ptr %16, align 4, !tbaa !9
  %418 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %414, i32 noundef %415, i32 noundef %416, i32 noundef %417, i32 noundef %418)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

419:                                              ; preds = %285
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  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 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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 = !{!"double", !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}


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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_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_load(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: inlinehint nounwind uwtable
declare hidden void @f64_store(ptr noundef, i64 noundef, double noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AarrayBufferPrototypeByteLength0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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, -48
  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 %11 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %12)
  %14 = icmp ugt i64 %13, -844424930131969
  br i1 %14, label %15, label %21

15:                                               ; preds = %5
  %16 = and i64 %13, 4294967295
  %.not = icmp eq i64 %16, 0
  br i1 %.not, label %55, label %17

17:                                               ; preds = %15
  %18 = add nuw nsw i64 %16, 3
  %19 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %18)
  %.mask = and i32 %19, 255
  %20 = icmp eq i32 %.mask, 33
  br i1 %20, label %29, label %21

21:                                               ; preds = %17, %5
  %22 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef 217520)
  %23 = icmp ult i64 %22, -844424930131968
  br i1 %23, label %56, label %24

24:                                               ; preds = %21
  %25 = and i64 %22, 4294967295
  %.not235 = icmp eq i64 %25, 0
  br i1 %.not235, label %29, label %26

26:                                               ; preds = %24
  %27 = add nuw nsw i64 %25, 3
  %28 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %27)
  %.mask237 = and i32 %28, 255
  %.not236 = icmp eq i32 %.mask237, 33
  br i1 %.not236, label %29, label %57

29:                                               ; preds = %26, %24, %17
  %.0 = phi i64 [ %13, %17 ], [ %22, %24 ], [ %22, %26 ]
  %30 = and i64 %.0, 4294967295
  %.not238 = icmp eq i64 %30, 0
  br i1 %.not238, label %31, label %41

31:                                               ; preds = %29
  %32 = zext i32 %8 to i64
  %33 = add nuw nsw i64 %32, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %33, i32 noundef 0)
  %34 = add nuw nsw i64 %32, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %34, i64 noundef 193273528321)
  %35 = add nuw nsw i64 %32, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %35, i32 noundef 3)
  %36 = add nuw nsw i64 %32, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %36, i32 noundef 36754)
  %37 = add i32 %7, -40
  %38 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %37)
  %39 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %39, i32 noundef %38)
  %.not242 = icmp eq i32 %38, 1
  br i1 %.not242, label %40, label %54

40:                                               ; preds = %31
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109717, i32 noundef 77564, i32 noundef 168, i32 noundef 28083) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

41:                                               ; preds = %29
  %.not239 = icmp ugt i64 %.0, -281474976710657
  br i1 %.not239, label %42, label %58

42:                                               ; preds = %41
  %43 = add nuw nsw i64 %30, 37
  %44 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %43)
  %.not241 = icmp eq i32 %44, 0
  br i1 %.not241, label %59, label %45

45:                                               ; preds = %42
  %46 = add nuw nsw i64 %30, 32
  %47 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %46)
  %48 = uitofp i32 %47 to double
  %49 = tail call i64 @i64_reinterpret_f64(double noundef %48)
  %50 = icmp ugt i64 %49, -1970324836974593
  br i1 %50, label %60, label %51

51:                                               ; preds = %45
  %52 = zext i32 %1 to i64
  %53 = add nuw nsw i64 %52, 8
  tail call void @f64_store(ptr noundef nonnull %9, i64 noundef %53, double noundef %48)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %52, i32 noundef 1)
  br label %54

54:                                               ; preds = %31, %51
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

55:                                               ; preds = %15
  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

56:                                               ; preds = %21
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 146777, i32 noundef 82692, i32 noundef 61, i32 noundef 72547) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

57:                                               ; preds = %26
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 205071, i32 noundef 82611, i32 noundef 299, i32 noundef 72549) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

58:                                               ; preds = %41
  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

59:                                               ; preds = %42
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 149314, i32 noundef 80711, i32 noundef 97, i32 noundef 88770) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

60:                                               ; preds = %45
  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
}

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: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass