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

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

; 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) #2

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

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

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

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr noundef, i32 noundef) #4

declare i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef, i32 noundef) #4

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

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

47:                                               ; preds = %4
  %48 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %48, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %49 = load i32, ptr %20, align 4, !tbaa !9
  %50 = load i32, ptr %19, align 4, !tbaa !9
  %51 = add i32 %50, %49
  store i32 %51, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %52 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %52, ptr %21, align 4, !tbaa !9
  %53 = load i32, ptr %21, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %57

55:                                               ; preds = %47
  %56 = load i32, ptr %19, align 4, !tbaa !9
  br label %59

57:                                               ; preds = %47
  %58 = load i32, ptr %20, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %57, %55
  %60 = phi i32 [ %56, %55 ], [ %58, %57 ]
  store i32 %60, ptr %19, align 4, !tbaa !9
  %61 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %61, ptr %9, align 4, !tbaa !9
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %19, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = call i32 @i32_load8_u(ptr noundef %63, i64 noundef %65)
  store i32 %66, ptr %19, align 4, !tbaa !9
  %67 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %67, ptr %11, align 4, !tbaa !9
  store i32 2, ptr %20, align 4, !tbaa !9
  %68 = load i32, ptr %20, align 4, !tbaa !9
  %69 = load i32, ptr %19, align 4, !tbaa !9
  %70 = sub i32 %69, %68
  store i32 %70, ptr %19, align 4, !tbaa !9
  store i32 255, ptr %20, align 4, !tbaa !9
  %71 = load i32, ptr %20, align 4, !tbaa !9
  %72 = load i32, ptr %19, align 4, !tbaa !9
  %73 = and i32 %72, %71
  store i32 %73, ptr %19, align 4, !tbaa !9
  store i32 106, ptr %20, align 4, !tbaa !9
  %74 = load i32, ptr %19, align 4, !tbaa !9
  %75 = load i32, ptr %20, align 4, !tbaa !9
  %76 = icmp ule i32 %74, %75
  %77 = zext i1 %76 to i32
  store i32 %77, ptr %19, align 4, !tbaa !9
  %78 = load i32, ptr %19, align 4, !tbaa !9
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %80, label %93

80:                                               ; preds = %59
  %81 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %81, ptr %19, align 4, !tbaa !9
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.w2c_hermes, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %19, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = add i64 %85, 8
  %87 = call i32 @i32_load(ptr noundef %83, i64 noundef %86)
  store i32 %87, ptr %19, align 4, !tbaa !9
  %88 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %88, ptr %20, align 4, !tbaa !9
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = load i32, ptr %19, align 4, !tbaa !9
  %91 = load i32, ptr %20, align 4, !tbaa !9
  %92 = call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %89, i32 noundef %90, i32 noundef %91)
  store i32 %92, ptr %19, align 4, !tbaa !9
  br label %110

93:                                               ; preds = %59
  %94 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %94, ptr %19, align 4, !tbaa !9
  store i32 255, ptr %20, align 4, !tbaa !9
  %95 = load i32, ptr %20, align 4, !tbaa !9
  %96 = load i32, ptr %19, align 4, !tbaa !9
  %97 = and i32 %96, %95
  store i32 %97, ptr %19, align 4, !tbaa !9
  store i32 124, ptr %20, align 4, !tbaa !9
  %98 = load i32, ptr %19, align 4, !tbaa !9
  %99 = load i32, ptr %20, align 4, !tbaa !9
  %100 = icmp ne i32 %98, %99
  %101 = zext i1 %100 to i32
  store i32 %101, ptr %19, align 4, !tbaa !9
  %102 = load i32, ptr %19, align 4, !tbaa !9
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %105

104:                                              ; preds = %93
  br label %420

105:                                              ; preds = %93
  %106 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %106, ptr %19, align 4, !tbaa !9
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = load i32, ptr %19, align 4, !tbaa !9
  %109 = call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %107, i32 noundef %108)
  store i32 %109, ptr %19, align 4, !tbaa !9
  br label %110

110:                                              ; preds = %105, %80
  %111 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %111, ptr %11, align 4, !tbaa !9
  %112 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %112, ptr %19, align 4, !tbaa !9
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = load i32, ptr %19, align 4, !tbaa !9
  %115 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr noundef %113, i32 noundef %114)
  store i32 %115, ptr %19, align 4, !tbaa !9
  %116 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %116, ptr %12, align 4, !tbaa !9
  %117 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %117, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = load i32, ptr %19, align 4, !tbaa !9
  %120 = load i32, ptr %20, align 4, !tbaa !9
  %121 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %118, i32 noundef %119, i32 noundef %120)
  store i32 %121, ptr %19, align 4, !tbaa !9
  %122 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %122, ptr %9, align 4, !tbaa !9
  %123 = load i32, ptr %19, align 4, !tbaa !9
  %124 = icmp ne i32 %123, 0
  %125 = xor i1 %124, true
  %126 = zext i1 %125 to i32
  store i32 %126, ptr %19, align 4, !tbaa !9
  %127 = load i32, ptr %19, align 4, !tbaa !9
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %130

129:                                              ; preds = %110
  br label %433

130:                                              ; preds = %110
  %131 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %131, ptr %19, align 4, !tbaa !9
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %19, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = call i32 @i32_load8_u(ptr noundef %133, i64 noundef %135)
  store i32 %136, ptr %19, align 4, !tbaa !9
  store i32 114, ptr %20, align 4, !tbaa !9
  %137 = load i32, ptr %19, align 4, !tbaa !9
  %138 = load i32, ptr %20, align 4, !tbaa !9
  %139 = icmp ne i32 %137, %138
  %140 = zext i1 %139 to i32
  store i32 %140, ptr %19, align 4, !tbaa !9
  %141 = load i32, ptr %19, align 4, !tbaa !9
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %130
  br label %451

144:                                              ; preds = %130
  %145 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %145, ptr %19, align 4, !tbaa !9
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %19, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 32
  %151 = call double @f64_load(ptr noundef %147, i64 noundef %150)
  store double %151, ptr %30, align 8, !tbaa !13
  %152 = load double, ptr %30, align 8, !tbaa !13
  store double %152, ptr %18, align 8, !tbaa !13
  %153 = load double, ptr %18, align 8, !tbaa !13
  store double %153, ptr %31, align 8, !tbaa !13
  %154 = load double, ptr %30, align 8, !tbaa !13
  %155 = load double, ptr %31, align 8, !tbaa !13
  %156 = fcmp une double %154, %155
  %157 = zext i1 %156 to i32
  store i32 %157, ptr %19, align 4, !tbaa !9
  %158 = load i32, ptr %19, align 4, !tbaa !9
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %161

160:                                              ; preds = %144
  br label %469

161:                                              ; preds = %144
  %162 = load double, ptr %18, align 8, !tbaa !13
  store double %162, ptr %30, align 8, !tbaa !13
  store double 0x41EFFFFFFFE00000, ptr %31, align 8, !tbaa !13
  %163 = load double, ptr %30, align 8, !tbaa !13
  %164 = load double, ptr %31, align 8, !tbaa !13
  %165 = fcmp ogt double %163, %164
  %166 = zext i1 %165 to i32
  store i32 %166, ptr %19, align 4, !tbaa !9
  %167 = load i32, ptr %19, align 4, !tbaa !9
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %170

169:                                              ; preds = %161
  br label %469

170:                                              ; preds = %161
  %171 = load double, ptr %18, align 8, !tbaa !13
  store double %171, ptr %30, align 8, !tbaa !13
  store double 0.000000e+00, ptr %31, align 8, !tbaa !13
  %172 = load double, ptr %30, align 8, !tbaa !13
  %173 = load double, ptr %31, align 8, !tbaa !13
  %174 = fcmp olt double %172, %173
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %19, align 4, !tbaa !9
  %176 = load i32, ptr %19, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %170
  br label %469

179:                                              ; preds = %170
  %180 = load double, ptr %18, align 8, !tbaa !13
  store double %180, ptr %30, align 8, !tbaa !13
  %181 = load double, ptr %18, align 8, !tbaa !13
  store double %181, ptr %31, align 8, !tbaa !13
  store double 0x41F0000000000000, ptr %32, align 8, !tbaa !13
  %182 = load double, ptr %31, align 8, !tbaa !13
  %183 = load double, ptr %32, align 8, !tbaa !13
  %184 = fcmp olt double %182, %183
  %185 = zext i1 %184 to i32
  store i32 %185, ptr %20, align 4, !tbaa !9
  %186 = load double, ptr %18, align 8, !tbaa !13
  store double %186, ptr %32, align 8, !tbaa !13
  store double 0.000000e+00, ptr %33, align 8, !tbaa !13
  %187 = load double, ptr %32, align 8, !tbaa !13
  %188 = load double, ptr %33, align 8, !tbaa !13
  %189 = fcmp oge double %187, %188
  %190 = zext i1 %189 to i32
  store i32 %190, ptr %21, align 4, !tbaa !9
  %191 = load i32, ptr %21, align 4, !tbaa !9
  %192 = load i32, ptr %20, align 4, !tbaa !9
  %193 = and i32 %192, %191
  store i32 %193, ptr %20, align 4, !tbaa !9
  %194 = load i32, ptr %20, align 4, !tbaa !9
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %233

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

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

208:                                              ; No predecessors!
  br label %231

209:                                              ; preds = %196
  %210 = load double, ptr %31, align 8, !tbaa !13
  %211 = fcmp ogt double %210, -1.000000e+00
  br i1 %211, label %212, label %215

212:                                              ; preds = %209
  %213 = load double, ptr %31, align 8, !tbaa !13
  %214 = fcmp olt double %213, 0x41F0000000000000
  br label %215

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

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

225:                                              ; No predecessors!
  br label %229

226:                                              ; preds = %215
  %227 = load double, ptr %31, align 8, !tbaa !13
  %228 = fptoui double %227 to i32
  br label %229

229:                                              ; preds = %226, %225
  %230 = phi i32 [ 0, %225 ], [ %228, %226 ]
  br label %231

231:                                              ; preds = %229, %208
  %232 = phi i32 [ 0, %208 ], [ %230, %229 ]
  store i32 %232, ptr %20, align 4, !tbaa !9
  br label %234

233:                                              ; preds = %179
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %234

234:                                              ; preds = %233, %231
  %235 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %235, ptr %9, align 4, !tbaa !9
  %236 = load i32, ptr %20, align 4, !tbaa !9
  %237 = uitofp i32 %236 to double
  store double %237, ptr %31, align 8, !tbaa !13
  %238 = load double, ptr %30, align 8, !tbaa !13
  %239 = load double, ptr %31, align 8, !tbaa !13
  %240 = fcmp une double %238, %239
  %241 = zext i1 %240 to i32
  store i32 %241, ptr %19, align 4, !tbaa !9
  %242 = load i32, ptr %19, align 4, !tbaa !9
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %245

244:                                              ; preds = %234
  br label %469

245:                                              ; preds = %234
  %246 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %246, ptr %19, align 4, !tbaa !9
  %247 = load i32, ptr %19, 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 %19, align 4, !tbaa !9
  %251 = load double, ptr %18, align 8, !tbaa !13
  store double %251, ptr %31, align 8, !tbaa !13
  %252 = load double, ptr %31, align 8, !tbaa !13
  %253 = call i64 @i64_reinterpret_f64(double noundef %252)
  store i64 %253, ptr %25, align 8, !tbaa !11
  store i64 0, ptr %26, align 8, !tbaa !11
  %254 = load i64, ptr %25, align 8, !tbaa !11
  %255 = load i64, ptr %26, align 8, !tbaa !11
  %256 = icmp slt i64 %254, %255
  %257 = zext i1 %256 to i32
  %258 = sext i32 %257 to i64
  %259 = trunc i64 %258 to i32
  store i32 %259, ptr %20, align 4, !tbaa !9
  %260 = load i32, ptr %20, align 4, !tbaa !9
  %261 = load i32, ptr %19, align 4, !tbaa !9
  %262 = and i32 %261, %260
  store i32 %262, ptr %19, align 4, !tbaa !9
  %263 = load i32, ptr %19, align 4, !tbaa !9
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %265, label %266

265:                                              ; preds = %245
  br label %469

266:                                              ; preds = %245
  %267 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %267, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %268 = load i32, ptr %20, align 4, !tbaa !9
  %269 = load i32, ptr %19, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %19, align 4, !tbaa !9
  %271 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %271, ptr %20, align 4, !tbaa !9
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 6
  %274 = load i32, ptr %20, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = add i64 %275, 4
  %277 = call i32 @i32_load(ptr noundef %273, i64 noundef %276)
  store i32 %277, ptr %20, align 4, !tbaa !9
  %278 = load ptr, ptr %5, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 6
  %280 = load i32, ptr %20, align 4, !tbaa !9
  %281 = zext i32 %280 to i64
  %282 = add i64 %281, 16
  %283 = call i32 @i32_load(ptr noundef %279, i64 noundef %282)
  store i32 %283, ptr %20, align 4, !tbaa !9
  %284 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %284, ptr %21, align 4, !tbaa !9
  %285 = load ptr, ptr %5, align 8, !tbaa !5
  %286 = load i32, ptr %19, align 4, !tbaa !9
  %287 = load i32, ptr %20, align 4, !tbaa !9
  %288 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeModuleGenerator0x3A0x3AserializedLiteralOffsetFor0x28hermes0x3A0x3AInstruction0x20const0x2A0x29(ptr noundef %285, i32 noundef %286, i32 noundef %287, i32 noundef %288)
  store i32 65535, ptr %19, align 4, !tbaa !9
  %289 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %289, ptr %20, align 4, !tbaa !9
  %290 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %290, ptr %21, align 4, !tbaa !9
  store i32 65535, ptr %22, align 4, !tbaa !9
  %291 = load i32, ptr %21, align 4, !tbaa !9
  %292 = load i32, ptr %22, align 4, !tbaa !9
  %293 = icmp uge i32 %291, %292
  %294 = zext i1 %293 to i32
  store i32 %294, ptr %21, align 4, !tbaa !9
  %295 = load i32, ptr %21, align 4, !tbaa !9
  %296 = icmp ne i32 %295, 0
  br i1 %296, label %297, label %299

297:                                              ; preds = %266
  %298 = load i32, ptr %19, align 4, !tbaa !9
  br label %301

299:                                              ; preds = %266
  %300 = load i32, ptr %20, align 4, !tbaa !9
  br label %301

301:                                              ; preds = %299, %297
  %302 = phi i32 [ %298, %297 ], [ %300, %299 ]
  store i32 %302, ptr %19, align 4, !tbaa !9
  %303 = load i32, ptr %19, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  store i64 %304, ptr %24, align 8, !tbaa !11
  %305 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %305, ptr %13, align 8, !tbaa !11
  %306 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %306, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %307 = load i32, ptr %20, align 4, !tbaa !9
  %308 = load i32, ptr %19, align 4, !tbaa !9
  %309 = sub i32 %308, %307
  store i32 %309, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %310 = load i32, ptr %20, align 4, !tbaa !9
  %311 = and i32 %310, 31
  %312 = load i32, ptr %19, align 4, !tbaa !9
  %313 = lshr i32 %312, %311
  store i32 %313, ptr %19, align 4, !tbaa !9
  %314 = load i32, ptr %19, align 4, !tbaa !9
  %315 = zext i32 %314 to i64
  store i64 %315, ptr %24, align 8, !tbaa !11
  %316 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %316, ptr %14, align 8, !tbaa !11
  %317 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %317, ptr %19, align 4, !tbaa !9
  %318 = load i32, ptr %19, align 4, !tbaa !9
  %319 = zext i32 %318 to i64
  store i64 %319, ptr %24, align 8, !tbaa !11
  %320 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %320, ptr %15, align 8, !tbaa !11
  %321 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %321, ptr %19, align 4, !tbaa !9
  %322 = load ptr, ptr %5, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.w2c_hermes, ptr %322, i32 0, i32 6
  %324 = load i32, ptr %19, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = add i64 %325, 4
  %327 = call i32 @i32_load(ptr noundef %323, i64 noundef %326)
  store i32 %327, ptr %19, align 4, !tbaa !9
  %328 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %328, ptr %7, align 4, !tbaa !9
  %329 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %329, ptr %19, align 4, !tbaa !9
  %330 = load ptr, ptr %5, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.w2c_hermes, ptr %330, i32 0, i32 6
  %332 = load i32, ptr %19, align 4, !tbaa !9
  %333 = zext i32 %332 to i64
  %334 = add i64 %333, 12
  %335 = call i32 @i32_load(ptr noundef %331, i64 noundef %334)
  store i32 %335, ptr %19, align 4, !tbaa !9
  %336 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %336, ptr %9, align 4, !tbaa !9
  %337 = load i32, ptr %19, align 4, !tbaa !9
  %338 = zext i32 %337 to i64
  store i64 %338, ptr %24, align 8, !tbaa !11
  %339 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %339, ptr %16, align 8, !tbaa !11
  %340 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %340, ptr %19, align 4, !tbaa !9
  %341 = load ptr, ptr %5, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.w2c_hermes, ptr %341, i32 0, i32 6
  %343 = load i32, ptr %19, align 4, !tbaa !9
  %344 = zext i32 %343 to i64
  %345 = add i64 %344, 8
  %346 = call i64 @i64_load32_u(ptr noundef %342, i64 noundef %345)
  store i64 %346, ptr %24, align 8, !tbaa !11
  %347 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %347, ptr %17, align 8, !tbaa !11
  store i64 65535, ptr %25, align 8, !tbaa !11
  %348 = load i64, ptr %24, align 8, !tbaa !11
  %349 = load i64, ptr %25, align 8, !tbaa !11
  %350 = icmp ugt i64 %348, %349
  %351 = zext i1 %350 to i32
  store i32 %351, ptr %19, align 4, !tbaa !9
  %352 = load i32, ptr %19, align 4, !tbaa !9
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %354, label %355

354:                                              ; preds = %301
  br label %379

355:                                              ; preds = %301
  %356 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %356, ptr %19, align 4, !tbaa !9
  store i32 65535, ptr %20, align 4, !tbaa !9
  %357 = load i32, ptr %19, align 4, !tbaa !9
  %358 = load i32, ptr %20, align 4, !tbaa !9
  %359 = icmp ugt i32 %357, %358
  %360 = zext i1 %359 to i32
  store i32 %360, ptr %19, align 4, !tbaa !9
  %361 = load i32, ptr %19, align 4, !tbaa !9
  %362 = icmp ne i32 %361, 0
  br i1 %362, label %363, label %364

363:                                              ; preds = %355
  br label %379

364:                                              ; preds = %355
  %365 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %365, ptr %19, align 4, !tbaa !9
  %366 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %366, ptr %25, align 8, !tbaa !11
  %367 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %367, ptr %26, align 8, !tbaa !11
  %368 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %368, ptr %27, align 8, !tbaa !11
  %369 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %369, ptr %28, align 8, !tbaa !11
  %370 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %370, ptr %29, align 8, !tbaa !11
  %371 = load ptr, ptr %5, align 8, !tbaa !5
  %372 = load i32, ptr %19, align 4, !tbaa !9
  %373 = load i64, ptr %25, align 8, !tbaa !11
  %374 = load i64, ptr %26, align 8, !tbaa !11
  %375 = load i64, ptr %27, align 8, !tbaa !11
  %376 = load i64, ptr %28, align 8, !tbaa !11
  %377 = load i64, ptr %29, align 8, !tbaa !11
  %378 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitNewObjectWithBuffer0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %371, i32 noundef %372, i64 noundef %373, i64 noundef %374, i64 noundef %375, i64 noundef %376, i64 noundef %377)
  store i32 %378, ptr %19, align 4, !tbaa !9
  br label %394

379:                                              ; preds = %363, %354
  %380 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %380, ptr %19, align 4, !tbaa !9
  %381 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %381, ptr %25, align 8, !tbaa !11
  %382 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %382, ptr %26, align 8, !tbaa !11
  %383 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %383, ptr %27, align 8, !tbaa !11
  %384 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %384, ptr %28, align 8, !tbaa !11
  %385 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %385, ptr %29, align 8, !tbaa !11
  %386 = load ptr, ptr %5, align 8, !tbaa !5
  %387 = load i32, ptr %19, align 4, !tbaa !9
  %388 = load i64, ptr %25, align 8, !tbaa !11
  %389 = load i64, ptr %26, align 8, !tbaa !11
  %390 = load i64, ptr %27, align 8, !tbaa !11
  %391 = load i64, ptr %28, align 8, !tbaa !11
  %392 = load i64, ptr %29, align 8, !tbaa !11
  %393 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitNewObjectWithBufferLong0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %386, i32 noundef %387, i64 noundef %388, i64 noundef %389, i64 noundef %390, i64 noundef %391, i64 noundef %392)
  store i32 %393, ptr %19, align 4, !tbaa !9
  br label %394

394:                                              ; preds = %379, %364
  %395 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %395, ptr %19, align 4, !tbaa !9
  store i32 16, ptr %20, align 4, !tbaa !9
  %396 = load i32, ptr %20, align 4, !tbaa !9
  %397 = load i32, ptr %19, align 4, !tbaa !9
  %398 = add i32 %397, %396
  store i32 %398, ptr %19, align 4, !tbaa !9
  %399 = load i32, ptr %19, align 4, !tbaa !9
  %400 = load ptr, ptr %5, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.w2c_hermes, ptr %400, i32 0, i32 3
  store i32 %399, ptr %401, align 8, !tbaa !15
  br label %487

402:                                              ; preds = %4
  store i32 0, ptr %19, align 4, !tbaa !9
  %403 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %403, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %20, align 4, !tbaa !9
  %404 = load i32, ptr %20, align 4, !tbaa !9
  %405 = load i32, ptr %19, align 4, !tbaa !9
  %406 = add i32 %405, %404
  store i32 %406, ptr %19, align 4, !tbaa !9
  %407 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %407, ptr %20, align 4, !tbaa !9
  store i32 82611, ptr %21, align 4, !tbaa !9
  %408 = load i32, ptr %21, align 4, !tbaa !9
  %409 = load i32, ptr %20, align 4, !tbaa !9
  %410 = add i32 %409, %408
  store i32 %410, ptr %20, align 4, !tbaa !9
  store i32 106, ptr %21, align 4, !tbaa !9
  %411 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %411, ptr %22, align 4, !tbaa !9
  store i32 28119, ptr %23, align 4, !tbaa !9
  %412 = load i32, ptr %23, align 4, !tbaa !9
  %413 = load i32, ptr %22, align 4, !tbaa !9
  %414 = add i32 %413, %412
  store i32 %414, ptr %22, align 4, !tbaa !9
  %415 = load ptr, ptr %5, align 8, !tbaa !5
  %416 = load i32, ptr %19, align 4, !tbaa !9
  %417 = load i32, ptr %20, align 4, !tbaa !9
  %418 = load i32, ptr %21, align 4, !tbaa !9
  %419 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %415, i32 noundef %416, i32 noundef %417, i32 noundef %418, i32 noundef %419)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

420:                                              ; preds = %104
  store i32 0, ptr %19, align 4, !tbaa !9
  %421 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %421, ptr %7, align 4, !tbaa !9
  store i32 44604, ptr %20, align 4, !tbaa !9
  %422 = load i32, ptr %20, align 4, !tbaa !9
  %423 = load i32, ptr %19, align 4, !tbaa !9
  %424 = add i32 %423, %422
  store i32 %424, ptr %19, align 4, !tbaa !9
  %425 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %425, ptr %20, align 4, !tbaa !9
  store i32 59600, ptr %21, align 4, !tbaa !9
  %426 = load i32, ptr %21, align 4, !tbaa !9
  %427 = load i32, ptr %20, align 4, !tbaa !9
  %428 = add i32 %427, %426
  store i32 %428, ptr %20, align 4, !tbaa !9
  store i32 79, ptr %21, align 4, !tbaa !9
  %429 = load ptr, ptr %5, align 8, !tbaa !5
  %430 = load i32, ptr %19, align 4, !tbaa !9
  %431 = load i32, ptr %20, align 4, !tbaa !9
  %432 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %429, i32 noundef %430, i32 noundef %431, i32 noundef %432)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

433:                                              ; preds = %129
  store i32 0, ptr %19, align 4, !tbaa !9
  %434 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %434, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %20, align 4, !tbaa !9
  %435 = load i32, ptr %20, align 4, !tbaa !9
  %436 = load i32, ptr %19, align 4, !tbaa !9
  %437 = add i32 %436, %435
  store i32 %437, ptr %19, align 4, !tbaa !9
  %438 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %438, ptr %20, align 4, !tbaa !9
  store i32 82611, ptr %21, align 4, !tbaa !9
  %439 = load i32, ptr %21, align 4, !tbaa !9
  %440 = load i32, ptr %20, align 4, !tbaa !9
  %441 = add i32 %440, %439
  store i32 %441, ptr %20, align 4, !tbaa !9
  store i32 106, ptr %21, align 4, !tbaa !9
  %442 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %442, ptr %22, align 4, !tbaa !9
  store i32 28119, ptr %23, align 4, !tbaa !9
  %443 = load i32, ptr %23, align 4, !tbaa !9
  %444 = load i32, ptr %22, align 4, !tbaa !9
  %445 = add i32 %444, %443
  store i32 %445, ptr %22, align 4, !tbaa !9
  %446 = load ptr, ptr %5, align 8, !tbaa !5
  %447 = load i32, ptr %19, align 4, !tbaa !9
  %448 = load i32, ptr %20, align 4, !tbaa !9
  %449 = load i32, ptr %21, align 4, !tbaa !9
  %450 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %446, i32 noundef %447, i32 noundef %448, i32 noundef %449, i32 noundef %450)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

451:                                              ; preds = %143
  store i32 0, ptr %19, align 4, !tbaa !9
  %452 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %452, ptr %7, align 4, !tbaa !9
  store i32 205012, ptr %20, align 4, !tbaa !9
  %453 = load i32, ptr %20, align 4, !tbaa !9
  %454 = load i32, ptr %19, align 4, !tbaa !9
  %455 = add i32 %454, %453
  store i32 %455, ptr %19, align 4, !tbaa !9
  %456 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %456, ptr %20, align 4, !tbaa !9
  store i32 82611, ptr %21, align 4, !tbaa !9
  %457 = load i32, ptr %21, align 4, !tbaa !9
  %458 = load i32, ptr %20, align 4, !tbaa !9
  %459 = add i32 %458, %457
  store i32 %459, ptr %20, align 4, !tbaa !9
  store i32 255, ptr %21, align 4, !tbaa !9
  %460 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %460, ptr %22, align 4, !tbaa !9
  store i32 24720, ptr %23, align 4, !tbaa !9
  %461 = load i32, ptr %23, align 4, !tbaa !9
  %462 = load i32, ptr %22, align 4, !tbaa !9
  %463 = add i32 %462, %461
  store i32 %463, ptr %22, align 4, !tbaa !9
  %464 = load ptr, ptr %5, align 8, !tbaa !5
  %465 = load i32, ptr %19, align 4, !tbaa !9
  %466 = load i32, ptr %20, align 4, !tbaa !9
  %467 = load i32, ptr %21, align 4, !tbaa !9
  %468 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %464, i32 noundef %465, i32 noundef %466, i32 noundef %467, i32 noundef %468)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

469:                                              ; preds = %265, %244, %178, %169, %160
  store i32 0, ptr %19, align 4, !tbaa !9
  %470 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %470, ptr %7, align 4, !tbaa !9
  store i32 136349, ptr %20, align 4, !tbaa !9
  %471 = load i32, ptr %20, align 4, !tbaa !9
  %472 = load i32, ptr %19, align 4, !tbaa !9
  %473 = add i32 %472, %471
  store i32 %473, ptr %19, align 4, !tbaa !9
  %474 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %474, ptr %20, align 4, !tbaa !9
  store i32 85918, ptr %21, align 4, !tbaa !9
  %475 = load i32, ptr %21, align 4, !tbaa !9
  %476 = load i32, ptr %20, align 4, !tbaa !9
  %477 = add i32 %476, %475
  store i32 %477, ptr %20, align 4, !tbaa !9
  store i32 902, ptr %21, align 4, !tbaa !9
  %478 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %478, ptr %22, align 4, !tbaa !9
  store i32 111096, ptr %23, align 4, !tbaa !9
  %479 = load i32, ptr %23, align 4, !tbaa !9
  %480 = load i32, ptr %22, align 4, !tbaa !9
  %481 = add i32 %480, %479
  store i32 %481, ptr %22, align 4, !tbaa !9
  %482 = load ptr, ptr %5, align 8, !tbaa !5
  %483 = load i32, ptr %19, align 4, !tbaa !9
  %484 = load i32, ptr %20, align 4, !tbaa !9
  %485 = load i32, ptr %21, align 4, !tbaa !9
  %486 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %482, i32 noundef %483, i32 noundef %484, i32 noundef %485, i32 noundef %486)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

487:                                              ; preds = %394
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  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 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  ret void
}

declare i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitNewObjectWithBuffer0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #4

declare i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitNewObjectWithBufferLong0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #4

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 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 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 #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}
!15 = !{!16, !10, i64 24}
!16 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !17, i64 40, !19, i64 80}
!17 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !18, i64 32}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


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

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

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

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

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

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AgenerateHBCAllocObjectFromBufferInst0x28hermes0x3A0x3AHBCAllocObjectFromBufferInst0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -16
  store i32 %7, ptr %5, align 8, !tbaa !5
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %77, label %8

8:                                                ; preds = %4
  %9 = add i32 %2, 8
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %9 to i64
  %12 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %11)
  %13 = add i32 %12, 254
  %14 = and i32 %13, 255
  %15 = icmp ult i32 %14, 107
  br i1 %15, label %16, label %21

16:                                               ; preds = %8
  %17 = zext i32 %1 to i64
  %18 = add nuw nsw i64 %17, 8
  %19 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %18)
  %20 = tail call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %9) #5
  br label %25

21:                                               ; preds = %8
  %22 = and i32 %12, 255
  %.not259 = icmp eq i32 %22, 124
  br i1 %.not259, label %23, label %78

23:                                               ; preds = %21
  %24 = tail call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef nonnull %0, i32 noundef %9) #5
  br label %25

25:                                               ; preds = %23, %16
  %.0255 = phi i32 [ %20, %16 ], [ %24, %23 ]
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr noundef nonnull %0, i32 noundef %2) #5
  %27 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef nonnull %0, i32 noundef %2, i32 noundef 0) #5
  %.not260 = icmp eq i32 %27, 0
  br i1 %.not260, label %79, label %28

28:                                               ; preds = %25
  %29 = zext i32 %27 to i64
  %30 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %29)
  %.not261 = icmp eq i32 %30, 114
  br i1 %.not261, label %31, label %80

31:                                               ; preds = %28
  %32 = add nuw nsw i64 %29, 32
  %33 = tail call double @f64_load(ptr noundef nonnull %10, i64 noundef %32)
  %34 = fcmp uno double %33, 0.000000e+00
  %35 = fcmp ogt double %33, 0x41EFFFFFFFE00000
  %or.cond = or i1 %34, %35
  %36 = fcmp olt double %33, 0.000000e+00
  %or.cond268 = or i1 %36, %or.cond
  br i1 %or.cond268, label %81, label %37

37:                                               ; preds = %31
  %38 = fcmp uge double %33, 0x41F0000000000000
  br i1 %38, label %44, label %39

39:                                               ; preds = %37
  %40 = fcmp ule double %33, -1.000000e+00
  br i1 %40, label %41, label %42, !prof !15

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

42:                                               ; preds = %39
  %43 = fptoui double %33 to i32
  br label %44

44:                                               ; preds = %37, %42
  %.0 = phi i32 [ %43, %42 ], [ 0, %37 ]
  %45 = uitofp i32 %.0 to double
  %46 = fcmp une double %33, %45
  br i1 %46, label %81, label %47

47:                                               ; preds = %44
  %.not265 = icmp ne i32 %.0, 0
  %48 = tail call i64 @i64_reinterpret_f64(double noundef %33)
  %.not266267 = icmp sgt i64 %48, -1
  %.not266 = select i1 %.not265, i1 true, i1 %.not266267
  br i1 %.not266, label %49, label %81

49:                                               ; preds = %47
  %50 = add i32 %6, -8
  %51 = zext i32 %1 to i64
  %52 = add nuw nsw i64 %51, 4
  %53 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %52)
  %54 = zext i32 %53 to i64
  %55 = add nuw nsw i64 %54, 16
  %56 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %55)
  tail call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeModuleGenerator0x3A0x3AserializedLiteralOffsetFor0x28hermes0x3A0x3AInstruction0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef %50, i32 noundef %56, i32 noundef %2)
  %57 = tail call i32 @llvm.umin.i32(i32 %.0, i32 65535)
  %58 = zext nneg i32 %57 to i64
  %59 = add i32 %26, -1
  %60 = lshr i32 %59, 1
  %61 = zext nneg i32 %60 to i64
  %62 = zext i32 %.0255 to i64
  %63 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %52)
  %64 = zext i32 %7 to i64
  %65 = add nuw nsw i64 %64, 12
  %66 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %65)
  %67 = zext i32 %66 to i64
  %68 = add nuw nsw i64 %64, 8
  %69 = tail call i64 @i64_load32_u(ptr noundef nonnull %10, i64 noundef %68)
  %70 = icmp ugt i64 %69, 65535
  %71 = icmp ugt i32 %66, 65535
  %or.cond269 = select i1 %70, i1 true, i1 %71
  br i1 %or.cond269, label %74, label %72

72:                                               ; preds = %49
  %73 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitNewObjectWithBuffer0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef nonnull %0, i32 noundef %63, i64 noundef %62, i64 noundef %58, i64 noundef %61, i64 noundef %69, i64 noundef %67) #5
  br label %76

74:                                               ; preds = %49
  %75 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitNewObjectWithBufferLong0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef nonnull %0, i32 noundef %63, i64 noundef %62, i64 noundef %58, i64 noundef %61, i64 noundef %69, i64 noundef %67) #5
  br label %76

76:                                               ; preds = %74, %72
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

77:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

78:                                               ; preds = %21
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef 44604, i32 noundef 59600, i32 noundef 79) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

79:                                               ; preds = %25
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

80:                                               ; preds = %28
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

81:                                               ; preds = %47, %44, %31
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 136349, i32 noundef 85918, i32 noundef 902, i32 noundef 111096) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable
}

declare i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitNewObjectWithBuffer0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitNewObjectWithBufferLong0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #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)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}
!15 = !{!"branch_weights", !"expected", i32 1, i32 2000}


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