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

; 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 i32 @i32_load8_u(ptr 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 i64 @i64_reinterpret_f64(double noundef) #2

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

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

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

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

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

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

53:                                               ; preds = %35
  br label %256

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

68:                                               ; preds = %54
  br label %274

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

87:                                               ; preds = %69
  br label %292

88:                                               ; preds = %69
  %89 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %89, ptr %14, align 4, !tbaa !9
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %14, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 5348
  %95 = call i32 @i32_load8_u(ptr noundef %91, i64 noundef %94)
  store i32 %95, ptr %14, align 4, !tbaa !9
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  %98 = xor i1 %97, true
  %99 = zext i1 %98 to i32
  store i32 %99, ptr %14, align 4, !tbaa !9
  %100 = load i32, ptr %14, align 4, !tbaa !9
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %103

102:                                              ; preds = %88
  br label %310

103:                                              ; preds = %88
  %104 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %104, ptr %14, align 4, !tbaa !9
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.w2c_hermes, ptr %105, i32 0, i32 6
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = add i64 %108, 32
  %110 = call i32 @i32_load(ptr noundef %106, i64 noundef %109)
  store i32 %110, ptr %14, align 4, !tbaa !9
  %111 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %111, ptr %15, align 4, !tbaa !9
  store i32 1316, ptr %16, align 4, !tbaa !9
  %112 = load i32, ptr %16, align 4, !tbaa !9
  %113 = load i32, ptr %15, align 4, !tbaa !9
  %114 = add i32 %113, %112
  store i32 %114, ptr %15, align 4, !tbaa !9
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %15, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = call i32 @i32_load(ptr noundef %116, i64 noundef %118)
  store i32 %119, ptr %15, align 4, !tbaa !9
  %120 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %120, ptr %16, align 4, !tbaa !9
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.w2c_hermes, ptr %121, i32 0, i32 6
  %123 = load i32, ptr %16, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = add i64 %124, 28
  %126 = call i32 @i32_load(ptr noundef %122, i64 noundef %125)
  store i32 %126, ptr %16, align 4, !tbaa !9
  %127 = load i32, ptr %16, align 4, !tbaa !9
  %128 = load i32, ptr %15, align 4, !tbaa !9
  %129 = xor i32 %128, %127
  store i32 %129, ptr %15, align 4, !tbaa !9
  %130 = load i32, ptr %15, align 4, !tbaa !9
  %131 = load i32, ptr %14, align 4, !tbaa !9
  %132 = add i32 %131, %130
  store i32 %132, ptr %14, align 4, !tbaa !9
  %133 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %133, ptr %15, align 4, !tbaa !9
  %134 = load i32, ptr %15, align 4, !tbaa !9
  %135 = load i32, ptr %14, align 4, !tbaa !9
  %136 = add i32 %135, %134
  store i32 %136, ptr %14, align 4, !tbaa !9
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.w2c_hermes, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %14, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = call double @f64_load(ptr noundef %138, i64 noundef %140)
  store double %141, ptr %24, align 8, !tbaa !13
  %142 = load double, ptr %24, align 8, !tbaa !13
  store double %142, ptr %13, align 8, !tbaa !13
  %143 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %143, ptr %14, align 4, !tbaa !9
  %144 = load i32, ptr %14, 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 %14, align 4, !tbaa !9
  %148 = load i32, ptr %14, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %236

150:                                              ; preds = %103
  %151 = load double, ptr %13, align 8, !tbaa !13
  store double %151, ptr %24, align 8, !tbaa !13
  %152 = load double, ptr %24, align 8, !tbaa !13
  %153 = call i64 @i64_reinterpret_f64(double noundef %152)
  store i64 %153, ptr %19, align 8, !tbaa !11
  %154 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %154, ptr %12, align 8, !tbaa !11
  store i64 56, ptr %20, align 8, !tbaa !11
  %155 = load i64, ptr %20, align 8, !tbaa !11
  %156 = and i64 %155, 63
  %157 = load i64, ptr %19, align 8, !tbaa !11
  %158 = shl i64 %157, %156
  store i64 %158, ptr %19, align 8, !tbaa !11
  %159 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %159, ptr %20, align 8, !tbaa !11
  store i64 65280, ptr %21, align 8, !tbaa !11
  %160 = load i64, ptr %21, align 8, !tbaa !11
  %161 = load i64, ptr %20, align 8, !tbaa !11
  %162 = and i64 %161, %160
  store i64 %162, ptr %20, align 8, !tbaa !11
  store i64 40, ptr %21, align 8, !tbaa !11
  %163 = load i64, ptr %21, align 8, !tbaa !11
  %164 = and i64 %163, 63
  %165 = load i64, ptr %20, align 8, !tbaa !11
  %166 = shl i64 %165, %164
  store i64 %166, ptr %20, align 8, !tbaa !11
  %167 = load i64, ptr %20, align 8, !tbaa !11
  %168 = load i64, ptr %19, align 8, !tbaa !11
  %169 = or i64 %168, %167
  store i64 %169, ptr %19, align 8, !tbaa !11
  %170 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %170, ptr %20, align 8, !tbaa !11
  store i64 16711680, ptr %21, align 8, !tbaa !11
  %171 = load i64, ptr %21, align 8, !tbaa !11
  %172 = load i64, ptr %20, align 8, !tbaa !11
  %173 = and i64 %172, %171
  store i64 %173, ptr %20, align 8, !tbaa !11
  store i64 24, ptr %21, align 8, !tbaa !11
  %174 = load i64, ptr %21, align 8, !tbaa !11
  %175 = and i64 %174, 63
  %176 = load i64, ptr %20, align 8, !tbaa !11
  %177 = shl i64 %176, %175
  store i64 %177, ptr %20, align 8, !tbaa !11
  %178 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %178, ptr %21, align 8, !tbaa !11
  store i64 4278190080, ptr %22, align 8, !tbaa !11
  %179 = load i64, ptr %22, align 8, !tbaa !11
  %180 = load i64, ptr %21, align 8, !tbaa !11
  %181 = and i64 %180, %179
  store i64 %181, ptr %21, align 8, !tbaa !11
  store i64 8, ptr %22, align 8, !tbaa !11
  %182 = load i64, ptr %22, align 8, !tbaa !11
  %183 = and i64 %182, 63
  %184 = load i64, ptr %21, align 8, !tbaa !11
  %185 = shl i64 %184, %183
  store i64 %185, ptr %21, align 8, !tbaa !11
  %186 = load i64, ptr %21, align 8, !tbaa !11
  %187 = load i64, ptr %20, align 8, !tbaa !11
  %188 = or i64 %187, %186
  store i64 %188, ptr %20, align 8, !tbaa !11
  %189 = load i64, ptr %20, align 8, !tbaa !11
  %190 = load i64, ptr %19, align 8, !tbaa !11
  %191 = or i64 %190, %189
  store i64 %191, ptr %19, align 8, !tbaa !11
  %192 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %192, ptr %20, align 8, !tbaa !11
  store i64 8, ptr %21, align 8, !tbaa !11
  %193 = load i64, ptr %21, align 8, !tbaa !11
  %194 = and i64 %193, 63
  %195 = load i64, ptr %20, align 8, !tbaa !11
  %196 = lshr i64 %195, %194
  store i64 %196, ptr %20, align 8, !tbaa !11
  store i64 4278190080, ptr %21, align 8, !tbaa !11
  %197 = load i64, ptr %21, align 8, !tbaa !11
  %198 = load i64, ptr %20, align 8, !tbaa !11
  %199 = and i64 %198, %197
  store i64 %199, ptr %20, align 8, !tbaa !11
  %200 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %200, ptr %21, align 8, !tbaa !11
  store i64 24, ptr %22, align 8, !tbaa !11
  %201 = load i64, ptr %22, align 8, !tbaa !11
  %202 = and i64 %201, 63
  %203 = load i64, ptr %21, align 8, !tbaa !11
  %204 = lshr i64 %203, %202
  store i64 %204, ptr %21, align 8, !tbaa !11
  store i64 16711680, ptr %22, align 8, !tbaa !11
  %205 = load i64, ptr %22, align 8, !tbaa !11
  %206 = load i64, ptr %21, align 8, !tbaa !11
  %207 = and i64 %206, %205
  store i64 %207, ptr %21, align 8, !tbaa !11
  %208 = load i64, ptr %21, align 8, !tbaa !11
  %209 = load i64, ptr %20, align 8, !tbaa !11
  %210 = or i64 %209, %208
  store i64 %210, ptr %20, align 8, !tbaa !11
  %211 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %211, ptr %21, align 8, !tbaa !11
  store i64 40, ptr %22, align 8, !tbaa !11
  %212 = load i64, ptr %22, align 8, !tbaa !11
  %213 = and i64 %212, 63
  %214 = load i64, ptr %21, align 8, !tbaa !11
  %215 = lshr i64 %214, %213
  store i64 %215, ptr %21, align 8, !tbaa !11
  store i64 65280, ptr %22, align 8, !tbaa !11
  %216 = load i64, ptr %22, align 8, !tbaa !11
  %217 = load i64, ptr %21, align 8, !tbaa !11
  %218 = and i64 %217, %216
  store i64 %218, ptr %21, align 8, !tbaa !11
  %219 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %219, ptr %22, align 8, !tbaa !11
  store i64 56, ptr %23, align 8, !tbaa !11
  %220 = load i64, ptr %23, align 8, !tbaa !11
  %221 = and i64 %220, 63
  %222 = load i64, ptr %22, align 8, !tbaa !11
  %223 = lshr i64 %222, %221
  store i64 %223, ptr %22, align 8, !tbaa !11
  %224 = load i64, ptr %22, align 8, !tbaa !11
  %225 = load i64, ptr %21, align 8, !tbaa !11
  %226 = or i64 %225, %224
  store i64 %226, ptr %21, align 8, !tbaa !11
  %227 = load i64, ptr %21, align 8, !tbaa !11
  %228 = load i64, ptr %20, align 8, !tbaa !11
  %229 = or i64 %228, %227
  store i64 %229, ptr %20, align 8, !tbaa !11
  %230 = load i64, ptr %20, align 8, !tbaa !11
  %231 = load i64, ptr %19, align 8, !tbaa !11
  %232 = or i64 %231, %230
  store i64 %232, ptr %19, align 8, !tbaa !11
  %233 = load i64, ptr %19, align 8, !tbaa !11
  %234 = call double @f64_reinterpret_i64(i64 noundef %233)
  store double %234, ptr %24, align 8, !tbaa !13
  %235 = load double, ptr %24, align 8, !tbaa !13
  store double %235, ptr %13, align 8, !tbaa !13
  br label %236

236:                                              ; preds = %150, %103
  %237 = load double, ptr %13, align 8, !tbaa !13
  store double %237, ptr %24, align 8, !tbaa !13
  br label %313

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

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

274:                                              ; preds = %68
  store i32 0, ptr %14, align 4, !tbaa !9
  %275 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %275, ptr %7, align 4, !tbaa !9
  store i32 149096, ptr %15, align 4, !tbaa !9
  %276 = load i32, ptr %15, align 4, !tbaa !9
  %277 = load i32, ptr %14, align 4, !tbaa !9
  %278 = add i32 %277, %276
  store i32 %278, ptr %14, align 4, !tbaa !9
  %279 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %279, ptr %15, align 4, !tbaa !9
  store i32 76981, ptr %16, align 4, !tbaa !9
  %280 = load i32, ptr %16, align 4, !tbaa !9
  %281 = load i32, ptr %15, align 4, !tbaa !9
  %282 = add i32 %281, %280
  store i32 %282, ptr %15, align 4, !tbaa !9
  store i32 126, ptr %16, align 4, !tbaa !9
  %283 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %283, ptr %17, align 4, !tbaa !9
  store i32 35614, ptr %18, align 4, !tbaa !9
  %284 = load i32, ptr %18, align 4, !tbaa !9
  %285 = load i32, ptr %17, align 4, !tbaa !9
  %286 = add i32 %285, %284
  store i32 %286, ptr %17, align 4, !tbaa !9
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = load i32, ptr %14, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %287, i32 noundef %288, i32 noundef %289, i32 noundef %290, i32 noundef %291)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

292:                                              ; preds = %87
  store i32 0, ptr %14, align 4, !tbaa !9
  %293 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %293, ptr %7, align 4, !tbaa !9
  store i32 171651, ptr %15, align 4, !tbaa !9
  %294 = load i32, ptr %15, align 4, !tbaa !9
  %295 = load i32, ptr %14, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %14, align 4, !tbaa !9
  %297 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %297, ptr %15, align 4, !tbaa !9
  store i32 76981, ptr %16, align 4, !tbaa !9
  %298 = load i32, ptr %16, align 4, !tbaa !9
  %299 = load i32, ptr %15, align 4, !tbaa !9
  %300 = add i32 %299, %298
  store i32 %300, ptr %15, align 4, !tbaa !9
  store i32 129, ptr %16, align 4, !tbaa !9
  %301 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %301, ptr %17, align 4, !tbaa !9
  store i32 35614, ptr %18, align 4, !tbaa !9
  %302 = load i32, ptr %18, align 4, !tbaa !9
  %303 = load i32, ptr %17, align 4, !tbaa !9
  %304 = add i32 %303, %302
  store i32 %304, ptr %17, align 4, !tbaa !9
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  %306 = load i32, ptr %14, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %305, i32 noundef %306, i32 noundef %307, i32 noundef %308, i32 noundef %309)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

310:                                              ; preds = %102
  store i32 51727, ptr %14, align 4, !tbaa !9
  %311 = load ptr, ptr %6, align 8, !tbaa !5
  %312 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %311, i32 noundef %312)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

313:                                              ; preds = %236
  %314 = load double, ptr %24, align 8, !tbaa !13
  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 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 double %314
}

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


; 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 i32 @i32_load8_u(ptr 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 i64 @i64_reinterpret_f64(double noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local 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 double @f64_load(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

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

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

22:                                               ; preds = %17
  %23 = zext i32 %2 to i64
  %24 = add nuw nsw i64 %23, 5348
  %25 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %24)
  %.not172 = icmp eq i32 %25, 0
  br i1 %.not172, label %48, label %26

26:                                               ; preds = %22
  %27 = add nuw nsw i64 %7, 32
  %28 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %27)
  %29 = add i32 %2, 1316
  %30 = zext i32 %29 to i64
  %31 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %30)
  %32 = add nuw nsw i64 %11, 28
  %33 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %32)
  %34 = xor i32 %33, %31
  %35 = add i32 %28, %3
  %36 = add i32 %35, %34
  %37 = zext i32 %36 to i64
  %38 = tail call double @f64_load(ptr noundef nonnull %6, i64 noundef %37)
  %.not173 = icmp eq i32 %4, 0
  br i1 %.not173, label %39, label %43

39:                                               ; preds = %26
  %40 = tail call i64 @i64_reinterpret_f64(double noundef %38)
  %41 = tail call i64 @llvm.bswap.i64(i64 %40)
  %42 = tail call double @f64_reinterpret_i64(i64 noundef %41)
  br label %43

43:                                               ; preds = %39, %26
  %.0 = phi double [ %42, %39 ], [ %38, %26 ]
  ret double %.0

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

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

46:                                               ; preds = %14
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 149096, i32 noundef 76981, i32 noundef 126, i32 noundef 35614)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

47:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 171651, i32 noundef 76981, i32 noundef 129, i32 noundef 35614)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

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

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

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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { noreturn nounwind }
attributes #6 = { 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