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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

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

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

; Function Attrs: nounwind uwtable
declare hidden double @wasm_fabs(double noundef) #4

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3ACallBuiltinInst0x3A0x3ACallBuiltinInst0x28hermes0x3A0x3ALiteralNumber0x2A0x2C0x20hermes0x3A0x3ALiteralUndefined0x2A0x2C0x20hermes0x3A0x3ALiteralUndefined0x2A0x2C0x20llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3AValue0x2A0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 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 i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca double, 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 double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = 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 i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store double 0.000000e+00, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %26 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %26, ptr %15, align 4, !tbaa !9
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.w2c_hermes, ptr %27, i32 0, i32 6
  %29 = load i32, ptr %15, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  %31 = call i64 @i64_load(ptr noundef %28, i64 noundef %30)
  store i64 %31, ptr %20, align 8, !tbaa !11
  %32 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %32, ptr %13, align 8, !tbaa !11
  %33 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %33, ptr %15, align 4, !tbaa !9
  store i64 8589934592, ptr %21, align 8, !tbaa !11
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %15, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = add i64 %37, 20
  %39 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %35, i64 noundef %38, i64 noundef %39)
  %40 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %40, ptr %15, align 4, !tbaa !9
  %41 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %41, ptr %16, align 4, !tbaa !9
  store i32 28, ptr %17, align 4, !tbaa !9
  %42 = load i32, ptr %17, align 4, !tbaa !9
  %43 = load i32, ptr %16, align 4, !tbaa !9
  %44 = add i32 %43, %42
  store i32 %44, ptr %16, align 4, !tbaa !9
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.w2c_hermes, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %15, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = add i64 %48, 16
  %50 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %46, i64 noundef %49, i32 noundef %50)
  %51 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %51, ptr %15, align 4, !tbaa !9
  store i32 459775, ptr %16, align 4, !tbaa !9
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.w2c_hermes, ptr %52, i32 0, i32 6
  %54 = load i32, ptr %15, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = add i64 %55, 10
  %57 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %53, i64 noundef %56, i32 noundef %57)
  %58 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %58, ptr %15, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %15, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %60, i64 noundef %62, i64 noundef %63)
  %64 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %64, ptr %15, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.w2c_hermes, ptr %65, i32 0, i32 6
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = add i64 %68, 68
  %70 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %66, i64 noundef %69, i64 noundef %70)
  %71 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %71, ptr %15, align 4, !tbaa !9
  store i64 8589934592, ptr %21, align 8, !tbaa !11
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.w2c_hermes, ptr %72, i32 0, i32 6
  %74 = load i32, ptr %15, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = add i64 %75, 44
  %77 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %73, i64 noundef %76, i64 noundef %77)
  %78 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %78, ptr %15, align 4, !tbaa !9
  %79 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %79, ptr %16, align 4, !tbaa !9
  store i32 52, 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 ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = add i64 %86, 40
  %88 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %84, i64 noundef %87, i32 noundef %88)
  %89 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %89, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 36
  %95 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %91, i64 noundef %94, i32 noundef %95)
  %96 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %96, ptr %15, align 4, !tbaa !9
  store i32 93, ptr %16, align 4, !tbaa !9
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.w2c_hermes, ptr %97, i32 0, i32 6
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = add i64 %100, 8
  %102 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %98, i64 noundef %101, i32 noundef %102)
  %103 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %103, ptr %15, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %15, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 76
  %109 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %105, i64 noundef %108, i64 noundef %109)
  %110 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %110, ptr %15, align 4, !tbaa !9
  %111 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %111, ptr %16, align 4, !tbaa !9
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = load i32, ptr %15, align 4, !tbaa !9
  %114 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %112, i32 noundef %113, i32 noundef %114)
  %115 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  %116 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %116, ptr %16, align 4, !tbaa !9
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %117, i32 noundef %118, i32 noundef %119)
  %120 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %120, ptr %15, align 4, !tbaa !9
  %121 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %121, ptr %16, align 4, !tbaa !9
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = load i32, ptr %15, align 4, !tbaa !9
  %124 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %122, i32 noundef %123, i32 noundef %124)
  %125 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %125, ptr %20, align 8, !tbaa !11
  store i64 32, ptr %21, align 8, !tbaa !11
  %126 = load i64, ptr %21, align 8, !tbaa !11
  %127 = and i64 %126, 63
  %128 = load i64, ptr %20, align 8, !tbaa !11
  %129 = lshr i64 %128, %127
  store i64 %129, ptr %20, align 8, !tbaa !11
  %130 = load i64, ptr %20, align 8, !tbaa !11
  %131 = trunc i64 %130 to i32
  store i32 %131, ptr %15, align 4, !tbaa !9
  %132 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %132, ptr %10, align 4, !tbaa !9
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %174

135:                                              ; preds = %6
  %136 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %136, ptr %20, align 8, !tbaa !11
  %137 = load i64, ptr %20, align 8, !tbaa !11
  %138 = trunc i64 %137 to i32
  store i32 %138, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %139, ptr %12, align 4, !tbaa !9
  %140 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %140, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %141 = load i32, ptr %17, align 4, !tbaa !9
  %142 = and i32 %141, 31
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = shl i32 %143, %142
  store i32 %144, ptr %16, align 4, !tbaa !9
  %145 = load i32, ptr %16, align 4, !tbaa !9
  %146 = load i32, ptr %15, align 4, !tbaa !9
  %147 = add i32 %146, %145
  store i32 %147, ptr %15, align 4, !tbaa !9
  %148 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %148, ptr %10, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %172, %135
  %150 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %150, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %151, ptr %16, align 4, !tbaa !9
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %16, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = call i32 @i32_load(ptr noundef %153, i64 noundef %155)
  store i32 %156, ptr %16, align 4, !tbaa !9
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = load i32, ptr %15, align 4, !tbaa !9
  %159 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %157, i32 noundef %158, i32 noundef %159)
  %160 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %160, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = load i32, ptr %15, align 4, !tbaa !9
  %163 = add i32 %162, %161
  store i32 %163, ptr %15, align 4, !tbaa !9
  %164 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %164, ptr %12, align 4, !tbaa !9
  %165 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %165, ptr %16, align 4, !tbaa !9
  %166 = load i32, ptr %15, align 4, !tbaa !9
  %167 = load i32, ptr %16, align 4, !tbaa !9
  %168 = icmp ne i32 %166, %167
  %169 = zext i1 %168 to i32
  store i32 %169, ptr %15, align 4, !tbaa !9
  %170 = load i32, ptr %15, align 4, !tbaa !9
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %173

172:                                              ; preds = %149
  br label %149

173:                                              ; preds = %149
  br label %174

174:                                              ; preds = %173, %6
  %175 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %175, ptr %15, align 4, !tbaa !9
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %15, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = add i64 %179, 32
  %181 = call double @f64_load(ptr noundef %177, i64 noundef %180)
  store double %181, ptr %22, align 8, !tbaa !13
  %182 = load double, ptr %22, align 8, !tbaa !13
  store double %182, ptr %14, align 8, !tbaa !13
  store double 5.300000e+01, ptr %23, align 8, !tbaa !13
  %183 = load double, ptr %22, align 8, !tbaa !13
  %184 = load double, ptr %23, align 8, !tbaa !13
  %185 = fcmp olt double %183, %184
  %186 = zext i1 %185 to i32
  store i32 %186, ptr %15, align 4, !tbaa !9
  %187 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %187, ptr %12, align 4, !tbaa !9
  %188 = load double, ptr %14, align 8, !tbaa !13
  store double %188, ptr %23, align 8, !tbaa !13
  %189 = load double, ptr %14, align 8, !tbaa !13
  store double %189, ptr %24, align 8, !tbaa !13
  %190 = load double, ptr %24, align 8, !tbaa !13
  %191 = call double @wasm_fabs(double noundef %190)
  store double %191, ptr %24, align 8, !tbaa !13
  store double 0x41E0000000000000, ptr %25, align 8, !tbaa !13
  %192 = load double, ptr %24, align 8, !tbaa !13
  %193 = load double, ptr %25, align 8, !tbaa !13
  %194 = fcmp olt double %192, %193
  %195 = zext i1 %194 to i32
  store i32 %195, ptr %17, align 4, !tbaa !9
  %196 = load i32, ptr %17, align 4, !tbaa !9
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %198, label %235

198:                                              ; preds = %174
  %199 = load double, ptr %14, align 8, !tbaa !13
  store double %199, ptr %24, align 8, !tbaa !13
  %200 = load double, ptr %24, align 8, !tbaa !13
  %201 = load double, ptr %24, align 8, !tbaa !13
  %202 = fcmp une double %200, %201
  %203 = xor i1 %202, true
  %204 = xor i1 %203, true
  %205 = zext i1 %204 to i32
  %206 = sext i32 %205 to i64
  %207 = call i64 @llvm.expect.i64(i64 %206, i64 0)
  %208 = icmp ne i64 %207, 0
  br i1 %208, label %209, label %211

209:                                              ; preds = %198
  call void @wasm_rt_trap(i32 noundef 4) #7
  unreachable

210:                                              ; No predecessors!
  br label %233

211:                                              ; preds = %198
  %212 = load double, ptr %24, align 8, !tbaa !13
  %213 = fcmp ogt double %212, 0xC1E0000000200000
  br i1 %213, label %214, label %217

214:                                              ; preds = %211
  %215 = load double, ptr %24, align 8, !tbaa !13
  %216 = fcmp olt double %215, 0x41E0000000000000
  br label %217

217:                                              ; preds = %214, %211
  %218 = phi i1 [ false, %211 ], [ %216, %214 ]
  %219 = xor i1 %218, true
  %220 = xor i1 %219, true
  %221 = xor i1 %220, true
  %222 = zext i1 %221 to i32
  %223 = sext i32 %222 to i64
  %224 = call i64 @llvm.expect.i64(i64 %223, i64 0)
  %225 = icmp ne i64 %224, 0
  br i1 %225, label %226, label %228

226:                                              ; preds = %217
  call void @wasm_rt_trap(i32 noundef 2) #7
  unreachable

227:                                              ; No predecessors!
  br label %231

228:                                              ; preds = %217
  %229 = load double, ptr %24, align 8, !tbaa !13
  %230 = fptosi double %229 to i32
  br label %231

231:                                              ; preds = %228, %227
  %232 = phi i32 [ 0, %227 ], [ %230, %228 ]
  br label %233

233:                                              ; preds = %231, %210
  %234 = phi i32 [ 0, %210 ], [ %232, %231 ]
  store i32 %234, ptr %17, align 4, !tbaa !9
  br label %236

235:                                              ; preds = %174
  store i32 -2147483648, ptr %17, align 4, !tbaa !9
  br label %236

236:                                              ; preds = %235, %233
  %237 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %237, ptr %10, align 4, !tbaa !9
  %238 = load i32, ptr %17, align 4, !tbaa !9
  %239 = sitofp i32 %238 to double
  store double %239, ptr %24, align 8, !tbaa !13
  %240 = load double, ptr %23, align 8, !tbaa !13
  %241 = load double, ptr %24, align 8, !tbaa !13
  %242 = fcmp oeq double %240, %241
  %243 = zext i1 %242 to i32
  store i32 %243, 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 = and i32 %245, %244
  store i32 %246, ptr %15, align 4, !tbaa !9
  %247 = load i32, ptr %15, align 4, !tbaa !9
  %248 = icmp ne i32 %247, 0
  %249 = xor i1 %248, true
  %250 = zext i1 %249 to i32
  store i32 %250, ptr %15, align 4, !tbaa !9
  %251 = load i32, ptr %15, align 4, !tbaa !9
  %252 = icmp ne i32 %251, 0
  br i1 %252, label %253, label %271

253:                                              ; preds = %236
  store i32 0, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %254, ptr %12, align 4, !tbaa !9
  store i32 157944, ptr %16, align 4, !tbaa !9
  %255 = load i32, ptr %16, align 4, !tbaa !9
  %256 = load i32, ptr %15, align 4, !tbaa !9
  %257 = add i32 %256, %255
  store i32 %257, ptr %15, align 4, !tbaa !9
  %258 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %258, ptr %16, align 4, !tbaa !9
  store i32 78223, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %17, align 4, !tbaa !9
  %260 = load i32, ptr %16, align 4, !tbaa !9
  %261 = add i32 %260, %259
  store i32 %261, ptr %16, align 4, !tbaa !9
  store i32 978, ptr %17, align 4, !tbaa !9
  %262 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %262, ptr %18, align 4, !tbaa !9
  store i32 23252, ptr %19, align 4, !tbaa !9
  %263 = load i32, ptr %19, align 4, !tbaa !9
  %264 = load i32, ptr %18, align 4, !tbaa !9
  %265 = add i32 %264, %263
  store i32 %265, ptr %18, align 4, !tbaa !9
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = load i32, ptr %15, align 4, !tbaa !9
  %268 = load i32, ptr %16, align 4, !tbaa !9
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %266, i32 noundef %267, i32 noundef %268, i32 noundef %269, i32 noundef %270)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

271:                                              ; preds = %236
  %272 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %272, ptr %15, align 4, !tbaa !9
  %273 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  ret i32 %273
}

declare void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #5

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 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 = { "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 #6 = { nounwind }
attributes #7 = { 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
declare hidden double @wasm_fabs(double noundef) local_unnamed_addr #2

; 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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @w2c_hermes_hermes0x3A0x3ACallBuiltinInst0x3A0x3ACallBuiltinInst0x28hermes0x3A0x3ALiteralNumber0x2A0x2C0x20hermes0x3A0x3ALiteralUndefined0x2A0x2C0x20hermes0x3A0x3ALiteralUndefined0x2A0x2C0x20llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3AValue0x2A0x3E0x29(ptr noundef %0, i32 noundef returned %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %5 to i64
  %9 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %8)
  %10 = zext i32 %1 to i64
  %11 = add nuw nsw i64 %10, 20
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %11, i64 noundef 8589934592)
  %12 = add i32 %1, 28
  %13 = add nuw nsw i64 %10, 16
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %13, i32 noundef %12)
  %14 = add nuw nsw i64 %10, 10
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %14, i32 noundef 459775)
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %10, i64 noundef 0)
  %15 = add nuw nsw i64 %10, 68
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %15, i64 noundef 0)
  %16 = add nuw nsw i64 %10, 44
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %16, i64 noundef 8589934592)
  %17 = add i32 %1, 52
  %18 = add nuw nsw i64 %10, 40
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %18, i32 noundef %17)
  %19 = add nuw nsw i64 %10, 36
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %19, i32 noundef 0)
  %20 = add nuw nsw i64 %10, 8
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %20, i32 noundef 93)
  %21 = add nuw nsw i64 %10, 76
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %21, i64 noundef 0)
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %3) #4
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %4) #4
  %.not = icmp ult i64 %9, 4294967296
  br i1 %.not, label %.loopexit, label %22

22:                                               ; preds = %6
  %23 = trunc i64 %9 to i32
  %sh.diff = lshr i64 %9, 30
  %tr.sh.diff = trunc i64 %sh.diff to i32
  %24 = and i32 %tr.sh.diff, -4
  %25 = add i32 %24, %23
  br label %26

26:                                               ; preds = %26, %22
  %.0 = phi i32 [ %23, %22 ], [ %29, %26 ]
  %27 = zext i32 %.0 to i64
  %28 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %27)
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %28) #4
  %29 = add i32 %.0, 4
  %.not139 = icmp eq i32 %29, %25
  br i1 %.not139, label %.loopexit, label %26

.loopexit:                                        ; preds = %26, %6
  %30 = zext i32 %2 to i64
  %31 = add nuw nsw i64 %30, 32
  %32 = tail call double @f64_load(ptr noundef nonnull %7, i64 noundef %31)
  %33 = fcmp uge double %32, 5.300000e+01
  %34 = tail call double @wasm_fabs(double noundef %32)
  %35 = fcmp olt double %34, 0x41E0000000000000
  br i1 %35, label %36, label %46

36:                                               ; preds = %.loopexit
  %37 = fcmp uno double %32, 0.000000e+00
  br i1 %37, label %38, label %39, !prof !5

38:                                               ; preds = %36
  tail call void @wasm_rt_trap(i32 noundef 4) #5
  unreachable

39:                                               ; preds = %36
  %40 = fcmp ule double %32, 0xC1E0000000200000
  %41 = fcmp uge double %32, 0x41E0000000000000
  %.not142 = or i1 %40, %41
  br i1 %.not142, label %42, label %43, !prof !5

42:                                               ; preds = %39
  tail call void @wasm_rt_trap(i32 noundef 2) #5
  unreachable

43:                                               ; preds = %39
  %44 = fptosi double %32 to i32
  %45 = sitofp i32 %44 to double
  br label %46

46:                                               ; preds = %.loopexit, %43
  %.0137 = phi double [ %45, %43 ], [ 0xC1E0000000000000, %.loopexit ]
  %47 = fcmp une double %32, %.0137
  %.not145 = or i1 %33, %47
  br i1 %.not145, label %48, label %49

48:                                               ; preds = %46
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 157944, i32 noundef 78223, i32 noundef 978, i32 noundef 23252)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

49:                                               ; preds = %46
  ret i32 %1
}

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

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 }
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 = !{!"branch_weights", !"expected", i32 1, i32 2000}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass