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

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

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

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

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

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

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

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

37:                                               ; preds = %6
  %38 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %38, ptr %15, align 4, !tbaa !9
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %15, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = add i64 %42, 3
  %44 = call i32 @i32_load8_u(ptr noundef %40, i64 noundef %43)
  store i32 %44, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = and i32 %45, 31
  %47 = load i32, ptr %15, align 4, !tbaa !9
  %48 = shl i32 %47, %46
  store i32 %48, ptr %15, align 4, !tbaa !9
  store i32 553648128, ptr %16, align 4, !tbaa !9
  %49 = load i32, ptr %15, align 4, !tbaa !9
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = icmp ne i32 %49, %50
  %52 = zext i1 %51 to i32
  store i32 %52, ptr %15, align 4, !tbaa !9
  %53 = load i32, ptr %15, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %56

55:                                               ; preds = %37
  br label %257

56:                                               ; preds = %37
  %57 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %57, ptr %15, align 4, !tbaa !9
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %15, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = add i64 %61, 37
  %63 = call i32 @i32_load8_u(ptr noundef %59, i64 noundef %62)
  store i32 %63, ptr %15, align 4, !tbaa !9
  %64 = load i32, ptr %15, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  %66 = xor i1 %65, true
  %67 = zext i1 %66 to i32
  store i32 %67, ptr %15, align 4, !tbaa !9
  %68 = load i32, ptr %15, align 4, !tbaa !9
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %56
  br label %275

71:                                               ; preds = %56
  %72 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %72, ptr %15, align 4, !tbaa !9
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.w2c_hermes, ptr %73, i32 0, i32 6
  %75 = load i32, ptr %15, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = add i64 %76, 36
  %78 = call i32 @i32_load(ptr noundef %74, i64 noundef %77)
  store i32 %78, ptr %15, align 4, !tbaa !9
  %79 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %79, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %80 = load i32, ptr %17, align 4, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !9
  %82 = add i32 %81, %80
  store i32 %82, ptr %16, align 4, !tbaa !9
  %83 = load i32, ptr %15, align 4, !tbaa !9
  %84 = load i32, ptr %16, align 4, !tbaa !9
  %85 = icmp ult i32 %83, %84
  %86 = zext i1 %85 to i32
  store i32 %86, ptr %15, align 4, !tbaa !9
  %87 = load i32, ptr %15, align 4, !tbaa !9
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %71
  br label %293

90:                                               ; preds = %71
  %91 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %91, ptr %15, align 4, !tbaa !9
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = icmp ne i32 %92, 0
  %94 = xor i1 %93, true
  %95 = zext i1 %94 to i32
  store i32 %95, ptr %15, align 4, !tbaa !9
  %96 = load i32, ptr %15, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %184

98:                                               ; preds = %90
  %99 = load double, ptr %11, align 8, !tbaa !11
  store double %99, ptr %25, align 8, !tbaa !11
  %100 = load double, ptr %25, align 8, !tbaa !11
  %101 = call i64 @i64_reinterpret_f64(double noundef %100)
  store i64 %101, ptr %20, align 8, !tbaa !13
  %102 = load i64, ptr %20, align 8, !tbaa !13
  store i64 %102, ptr %14, align 8, !tbaa !13
  store i64 56, ptr %21, align 8, !tbaa !13
  %103 = load i64, ptr %21, align 8, !tbaa !13
  %104 = and i64 %103, 63
  %105 = load i64, ptr %20, align 8, !tbaa !13
  %106 = shl i64 %105, %104
  store i64 %106, ptr %20, align 8, !tbaa !13
  %107 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %107, ptr %21, align 8, !tbaa !13
  store i64 65280, ptr %22, align 8, !tbaa !13
  %108 = load i64, ptr %22, align 8, !tbaa !13
  %109 = load i64, ptr %21, align 8, !tbaa !13
  %110 = and i64 %109, %108
  store i64 %110, ptr %21, align 8, !tbaa !13
  store i64 40, ptr %22, align 8, !tbaa !13
  %111 = load i64, ptr %22, align 8, !tbaa !13
  %112 = and i64 %111, 63
  %113 = load i64, ptr %21, align 8, !tbaa !13
  %114 = shl i64 %113, %112
  store i64 %114, ptr %21, align 8, !tbaa !13
  %115 = load i64, ptr %21, align 8, !tbaa !13
  %116 = load i64, ptr %20, align 8, !tbaa !13
  %117 = or i64 %116, %115
  store i64 %117, ptr %20, align 8, !tbaa !13
  %118 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %118, ptr %21, align 8, !tbaa !13
  store i64 16711680, ptr %22, align 8, !tbaa !13
  %119 = load i64, ptr %22, align 8, !tbaa !13
  %120 = load i64, ptr %21, align 8, !tbaa !13
  %121 = and i64 %120, %119
  store i64 %121, ptr %21, align 8, !tbaa !13
  store i64 24, ptr %22, align 8, !tbaa !13
  %122 = load i64, ptr %22, align 8, !tbaa !13
  %123 = and i64 %122, 63
  %124 = load i64, ptr %21, align 8, !tbaa !13
  %125 = shl i64 %124, %123
  store i64 %125, ptr %21, align 8, !tbaa !13
  %126 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %126, ptr %22, align 8, !tbaa !13
  store i64 4278190080, ptr %23, align 8, !tbaa !13
  %127 = load i64, ptr %23, align 8, !tbaa !13
  %128 = load i64, ptr %22, align 8, !tbaa !13
  %129 = and i64 %128, %127
  store i64 %129, ptr %22, align 8, !tbaa !13
  store i64 8, ptr %23, align 8, !tbaa !13
  %130 = load i64, ptr %23, align 8, !tbaa !13
  %131 = and i64 %130, 63
  %132 = load i64, ptr %22, align 8, !tbaa !13
  %133 = shl i64 %132, %131
  store i64 %133, ptr %22, align 8, !tbaa !13
  %134 = load i64, ptr %22, align 8, !tbaa !13
  %135 = load i64, ptr %21, align 8, !tbaa !13
  %136 = or i64 %135, %134
  store i64 %136, ptr %21, align 8, !tbaa !13
  %137 = load i64, ptr %21, align 8, !tbaa !13
  %138 = load i64, ptr %20, align 8, !tbaa !13
  %139 = or i64 %138, %137
  store i64 %139, ptr %20, align 8, !tbaa !13
  %140 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %140, ptr %21, align 8, !tbaa !13
  store i64 8, ptr %22, align 8, !tbaa !13
  %141 = load i64, ptr %22, align 8, !tbaa !13
  %142 = and i64 %141, 63
  %143 = load i64, ptr %21, align 8, !tbaa !13
  %144 = lshr i64 %143, %142
  store i64 %144, ptr %21, align 8, !tbaa !13
  store i64 4278190080, ptr %22, align 8, !tbaa !13
  %145 = load i64, ptr %22, align 8, !tbaa !13
  %146 = load i64, ptr %21, align 8, !tbaa !13
  %147 = and i64 %146, %145
  store i64 %147, ptr %21, align 8, !tbaa !13
  %148 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %148, ptr %22, align 8, !tbaa !13
  store i64 24, ptr %23, align 8, !tbaa !13
  %149 = load i64, ptr %23, align 8, !tbaa !13
  %150 = and i64 %149, 63
  %151 = load i64, ptr %22, align 8, !tbaa !13
  %152 = lshr i64 %151, %150
  store i64 %152, ptr %22, align 8, !tbaa !13
  store i64 16711680, ptr %23, align 8, !tbaa !13
  %153 = load i64, ptr %23, align 8, !tbaa !13
  %154 = load i64, ptr %22, align 8, !tbaa !13
  %155 = and i64 %154, %153
  store i64 %155, ptr %22, align 8, !tbaa !13
  %156 = load i64, ptr %22, align 8, !tbaa !13
  %157 = load i64, ptr %21, align 8, !tbaa !13
  %158 = or i64 %157, %156
  store i64 %158, ptr %21, align 8, !tbaa !13
  %159 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %159, ptr %22, align 8, !tbaa !13
  store i64 40, ptr %23, align 8, !tbaa !13
  %160 = load i64, ptr %23, align 8, !tbaa !13
  %161 = and i64 %160, 63
  %162 = load i64, ptr %22, align 8, !tbaa !13
  %163 = lshr i64 %162, %161
  store i64 %163, ptr %22, align 8, !tbaa !13
  store i64 65280, ptr %23, align 8, !tbaa !13
  %164 = load i64, ptr %23, align 8, !tbaa !13
  %165 = load i64, ptr %22, align 8, !tbaa !13
  %166 = and i64 %165, %164
  store i64 %166, ptr %22, align 8, !tbaa !13
  %167 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %167, ptr %23, align 8, !tbaa !13
  store i64 56, ptr %24, align 8, !tbaa !13
  %168 = load i64, ptr %24, align 8, !tbaa !13
  %169 = and i64 %168, 63
  %170 = load i64, ptr %23, align 8, !tbaa !13
  %171 = lshr i64 %170, %169
  store i64 %171, ptr %23, align 8, !tbaa !13
  %172 = load i64, ptr %23, align 8, !tbaa !13
  %173 = load i64, ptr %22, align 8, !tbaa !13
  %174 = or i64 %173, %172
  store i64 %174, ptr %22, align 8, !tbaa !13
  %175 = load i64, ptr %22, align 8, !tbaa !13
  %176 = load i64, ptr %21, align 8, !tbaa !13
  %177 = or i64 %176, %175
  store i64 %177, ptr %21, align 8, !tbaa !13
  %178 = load i64, ptr %21, align 8, !tbaa !13
  %179 = load i64, ptr %20, align 8, !tbaa !13
  %180 = or i64 %179, %178
  store i64 %180, ptr %20, align 8, !tbaa !13
  %181 = load i64, ptr %20, align 8, !tbaa !13
  %182 = call double @f64_reinterpret_i64(i64 noundef %181)
  store double %182, ptr %25, align 8, !tbaa !11
  %183 = load double, ptr %25, align 8, !tbaa !11
  store double %183, ptr %11, align 8, !tbaa !11
  br label %184

184:                                              ; preds = %98, %90
  %185 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %185, ptr %15, align 4, !tbaa !9
  %186 = load ptr, ptr %7, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %15, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 5348
  %191 = call i32 @i32_load8_u(ptr noundef %187, i64 noundef %190)
  store i32 %191, ptr %15, align 4, !tbaa !9
  %192 = load i32, ptr %15, align 4, !tbaa !9
  %193 = icmp ne i32 %192, 0
  %194 = xor i1 %193, true
  %195 = zext i1 %194 to i32
  store i32 %195, ptr %15, align 4, !tbaa !9
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %198, label %199

198:                                              ; preds = %184
  br label %311

199:                                              ; preds = %184
  %200 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %200, ptr %15, align 4, !tbaa !9
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = add i64 %204, 32
  %206 = call i32 @i32_load(ptr noundef %202, i64 noundef %205)
  store i32 %206, ptr %15, align 4, !tbaa !9
  %207 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %207, ptr %16, align 4, !tbaa !9
  store i32 1316, ptr %17, align 4, !tbaa !9
  %208 = load i32, ptr %17, align 4, !tbaa !9
  %209 = load i32, ptr %16, align 4, !tbaa !9
  %210 = add i32 %209, %208
  store i32 %210, ptr %16, align 4, !tbaa !9
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.w2c_hermes, ptr %211, i32 0, i32 6
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = call i32 @i32_load(ptr noundef %212, i64 noundef %214)
  store i32 %215, ptr %16, align 4, !tbaa !9
  %216 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %216, ptr %17, align 4, !tbaa !9
  %217 = load ptr, ptr %7, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.w2c_hermes, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %17, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = add i64 %220, 28
  %222 = call i32 @i32_load(ptr noundef %218, i64 noundef %221)
  store i32 %222, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = xor i32 %224, %223
  store i32 %225, ptr %16, align 4, !tbaa !9
  %226 = load i32, ptr %16, align 4, !tbaa !9
  %227 = load i32, ptr %15, align 4, !tbaa !9
  %228 = add i32 %227, %226
  store i32 %228, ptr %15, align 4, !tbaa !9
  %229 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %229, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = load i32, ptr %15, align 4, !tbaa !9
  %232 = add i32 %231, %230
  store i32 %232, ptr %15, align 4, !tbaa !9
  %233 = load double, ptr %11, align 8, !tbaa !11
  store double %233, ptr %26, align 8, !tbaa !11
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %15, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = load double, ptr %26, align 8, !tbaa !11
  call void @f64_store(ptr noundef %235, i64 noundef %237, double noundef %238)
  br label %314

239:                                              ; preds = %6
  store i32 0, ptr %15, align 4, !tbaa !9
  %240 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %240, ptr %8, align 4, !tbaa !9
  store i32 133213, ptr %16, align 4, !tbaa !9
  %241 = load i32, ptr %16, align 4, !tbaa !9
  %242 = load i32, ptr %15, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %15, align 4, !tbaa !9
  %244 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %244, ptr %16, align 4, !tbaa !9
  store i32 76981, ptr %17, align 4, !tbaa !9
  %245 = load i32, ptr %17, align 4, !tbaa !9
  %246 = load i32, ptr %16, align 4, !tbaa !9
  %247 = add i32 %246, %245
  store i32 %247, ptr %16, align 4, !tbaa !9
  store i32 83, ptr %17, align 4, !tbaa !9
  %248 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %248, ptr %18, align 4, !tbaa !9
  store i32 106250, ptr %19, align 4, !tbaa !9
  %249 = load i32, ptr %19, align 4, !tbaa !9
  %250 = load i32, ptr %18, align 4, !tbaa !9
  %251 = add i32 %250, %249
  store i32 %251, ptr %18, align 4, !tbaa !9
  %252 = load ptr, ptr %7, align 8, !tbaa !5
  %253 = load i32, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %255 = load i32, ptr %17, align 4, !tbaa !9
  %256 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

257:                                              ; preds = %55
  store i32 0, ptr %15, align 4, !tbaa !9
  %258 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %258, ptr %8, align 4, !tbaa !9
  store i32 205012, ptr %16, align 4, !tbaa !9
  %259 = load i32, ptr %16, align 4, !tbaa !9
  %260 = load i32, ptr %15, align 4, !tbaa !9
  %261 = add i32 %260, %259
  store i32 %261, ptr %15, align 4, !tbaa !9
  %262 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %262, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %263 = load i32, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %16, align 4, !tbaa !9
  %265 = add i32 %264, %263
  store i32 %265, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %266 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %266, ptr %18, align 4, !tbaa !9
  store i32 24720, ptr %19, align 4, !tbaa !9
  %267 = load i32, ptr %19, align 4, !tbaa !9
  %268 = load i32, ptr %18, align 4, !tbaa !9
  %269 = add i32 %268, %267
  store i32 %269, ptr %18, align 4, !tbaa !9
  %270 = load ptr, ptr %7, align 8, !tbaa !5
  %271 = load i32, ptr %15, align 4, !tbaa !9
  %272 = load i32, ptr %16, align 4, !tbaa !9
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %270, i32 noundef %271, i32 noundef %272, i32 noundef %273, i32 noundef %274)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

275:                                              ; preds = %70
  store i32 0, ptr %15, align 4, !tbaa !9
  %276 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %276, ptr %8, align 4, !tbaa !9
  store i32 149041, ptr %16, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  %278 = load i32, ptr %15, align 4, !tbaa !9
  %279 = add i32 %278, %277
  store i32 %279, ptr %15, align 4, !tbaa !9
  %280 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %280, ptr %16, align 4, !tbaa !9
  store i32 76981, ptr %17, align 4, !tbaa !9
  %281 = load i32, ptr %17, align 4, !tbaa !9
  %282 = load i32, ptr %16, align 4, !tbaa !9
  %283 = add i32 %282, %281
  store i32 %283, ptr %16, align 4, !tbaa !9
  store i32 147, ptr %17, align 4, !tbaa !9
  %284 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %284, ptr %18, align 4, !tbaa !9
  store i32 34798, ptr %19, align 4, !tbaa !9
  %285 = load i32, ptr %19, align 4, !tbaa !9
  %286 = load i32, ptr %18, align 4, !tbaa !9
  %287 = add i32 %286, %285
  store i32 %287, ptr %18, align 4, !tbaa !9
  %288 = load ptr, ptr %7, align 8, !tbaa !5
  %289 = load i32, ptr %15, align 4, !tbaa !9
  %290 = load i32, ptr %16, align 4, !tbaa !9
  %291 = load i32, ptr %17, align 4, !tbaa !9
  %292 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %288, i32 noundef %289, i32 noundef %290, i32 noundef %291, i32 noundef %292)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

293:                                              ; preds = %89
  store i32 0, ptr %15, align 4, !tbaa !9
  %294 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %294, ptr %8, align 4, !tbaa !9
  store i32 171572, ptr %16, align 4, !tbaa !9
  %295 = load i32, ptr %16, align 4, !tbaa !9
  %296 = load i32, ptr %15, align 4, !tbaa !9
  %297 = add i32 %296, %295
  store i32 %297, ptr %15, align 4, !tbaa !9
  %298 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %298, ptr %16, align 4, !tbaa !9
  store i32 76981, ptr %17, align 4, !tbaa !9
  %299 = load i32, ptr %17, align 4, !tbaa !9
  %300 = load i32, ptr %16, align 4, !tbaa !9
  %301 = add i32 %300, %299
  store i32 %301, ptr %16, align 4, !tbaa !9
  store i32 150, ptr %17, align 4, !tbaa !9
  %302 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %302, ptr %18, align 4, !tbaa !9
  store i32 34798, ptr %19, align 4, !tbaa !9
  %303 = load i32, ptr %19, align 4, !tbaa !9
  %304 = load i32, ptr %18, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %18, align 4, !tbaa !9
  %306 = load ptr, ptr %7, align 8, !tbaa !5
  %307 = load i32, ptr %15, align 4, !tbaa !9
  %308 = load i32, ptr %16, align 4, !tbaa !9
  %309 = load i32, ptr %17, align 4, !tbaa !9
  %310 = load i32, ptr %18, 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 = %198
  store i32 51727, ptr %15, align 4, !tbaa !9
  %312 = load ptr, ptr %7, align 8, !tbaa !5
  %313 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %312, i32 noundef %313)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

314:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  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 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  ret void
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20hermes0x3A0x3Avm0x3A0x3AJSDataView0x3A0x3Aset0x3Cdouble0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20double0x2C0x20bool0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5) local_unnamed_addr #3 {
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %1 to i64
  %9 = add nuw nsw i64 %8, 28
  %10 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %9)
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %44, label %11

11:                                               ; preds = %6
  %12 = zext i32 %10 to i64
  %13 = add nuw nsw i64 %12, 3
  %14 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %13)
  %.mask = and i32 %14, 255
  %.not169 = icmp eq i32 %.mask, 33
  br i1 %.not169, label %15, label %45

15:                                               ; preds = %11
  %16 = add nuw nsw i64 %12, 37
  %17 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %16)
  %.not170 = icmp eq i32 %17, 0
  br i1 %.not170, label %46, label %18

18:                                               ; preds = %15
  %19 = add nuw nsw i64 %8, 36
  %20 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %19)
  %21 = add i32 %3, 8
  %22 = icmp ult i32 %20, %21
  br i1 %22, label %47, label %23

23:                                               ; preds = %18
  %.not171 = icmp eq i32 %5, 0
  br i1 %.not171, label %24, label %28

24:                                               ; preds = %23
  %25 = tail call i64 @i64_reinterpret_f64(double noundef %4)
  %26 = tail call i64 @llvm.bswap.i64(i64 %25)
  %27 = tail call double @f64_reinterpret_i64(i64 noundef %26)
  br label %28

28:                                               ; preds = %24, %23
  %.0 = phi double [ %27, %24 ], [ %4, %23 ]
  %29 = zext i32 %2 to i64
  %30 = add nuw nsw i64 %29, 5348
  %31 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %30)
  %.not172 = icmp eq i32 %31, 0
  br i1 %.not172, label %48, label %32

32:                                               ; preds = %28
  %33 = add nuw nsw i64 %8, 32
  %34 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %33)
  %35 = add i32 %2, 1316
  %36 = zext i32 %35 to i64
  %37 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %36)
  %38 = add nuw nsw i64 %12, 28
  %39 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %38)
  %40 = xor i32 %39, %37
  %41 = add i32 %34, %3
  %42 = add i32 %41, %40
  %43 = zext i32 %42 to i64
  tail call void @f64_store(ptr noundef nonnull %7, i64 noundef %43, double noundef %.0)
  ret void

44:                                               ; preds = %6
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 133213, i32 noundef 76981, i32 noundef 83, i32 noundef 106250) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

45:                                               ; preds = %11
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

46:                                               ; preds = %15
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 149041, i32 noundef 76981, i32 noundef 147, i32 noundef 34798) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

47:                                               ; preds = %18
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 171572, i32 noundef 76981, i32 noundef 150, i32 noundef 34798) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

48:                                               ; preds = %28
  tail call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %0, i32 noundef 51727) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable
}

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.bswap.i64(i64) #4

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { 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)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass