; LLVM IR from jrouwe/JoltPhysics :: Jolt/Geometry/OrientedBox.ll (ZNK3JPH11OrientedBox8OverlapsERKS0_f)

; 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"

%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::OrientedBox" = type { %"class.JPH::Mat44", %"class.JPH::Vec3" }

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef) #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat448GetAxisXEv(ptr noundef nonnull align 16 dereferenceable(64)) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16)) #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat448GetAxisYEv(ptr noundef nonnull align 16 dereferenceable(64)) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat448GetAxisZEv(ptr noundef nonnull align 16 dereferenceable(64)) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16), i32 noundef) #3 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3absf(float noundef) #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64), i32 noundef, i32 noundef) #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat4414GetTranslationEv(ptr noundef nonnull align 16 dereferenceable(64)) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat4410GetColumn3Ej(ptr noundef nonnull align 16 dereferenceable(64), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3JPH11OrientedBox8OverlapsERKS0_f(ptr noundef nonnull align 16 dereferenceable(80) %0, ptr noundef nonnull align 16 dereferenceable(80) %1, float noundef %2) #7 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca %"class.JPH::Mat44", align 16
  %9 = alloca %"class.JPH::Mat44", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca [3 x %"class.JPH::Vec3"], align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store float %2, ptr %7, align 4, !tbaa !9
  %29 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %8) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #9
  %30 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 0
  call void @_ZNK3JPH5Mat4427InversedRotationTranslationEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %9, ptr noundef nonnull align 16 dereferenceable(64) %30)
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %31, i32 0, i32 0
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %8, ptr noundef nonnull align 16 dereferenceable(64) %9, ptr noundef nonnull align 16 dereferenceable(64) %32)
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #9
  %33 = load float, ptr %7, align 4, !tbaa !9
  %34 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef %33)
  %35 = getelementptr inbounds %"class.JPH::Vec3", ptr %10, i32 0, i32 0
  %36 = getelementptr inbounds %union.anon, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %38 = extractvalue { double, double } %34, 0
  store double %38, ptr %37, align 16
  %39 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %40 = extractvalue { double, double } %34, 1
  store double %40, ptr %39, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  %41 = call { double, double } @_ZNK3JPH5Mat448GetAxisXEv(ptr noundef nonnull align 16 dereferenceable(64) %8)
  %42 = getelementptr inbounds %"class.JPH::Vec3", ptr %13, i32 0, i32 0
  %43 = getelementptr inbounds %union.anon, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %45 = extractvalue { double, double } %41, 0
  store double %45, ptr %44, align 16
  %46 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %47 = extractvalue { double, double } %41, 1
  store double %47, ptr %46, align 8
  %48 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %13)
  %49 = getelementptr inbounds %"class.JPH::Vec3", ptr %12, i32 0, i32 0
  %50 = getelementptr inbounds %union.anon, ptr %49, i32 0, i32 0
  %51 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %52 = extractvalue { double, double } %48, 0
  store double %52, ptr %51, align 16
  %53 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %54 = extractvalue { double, double } %48, 1
  store double %54, ptr %53, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !11
  %55 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %56 = load double, ptr %55, align 16
  %57 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %58 = load double, ptr %57, align 8
  %59 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %12, double %56, double %58)
  %60 = getelementptr inbounds %"class.JPH::Vec3", ptr %11, i32 0, i32 0
  %61 = getelementptr inbounds %union.anon, ptr %60, i32 0, i32 0
  %62 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 0
  %63 = extractvalue { double, double } %59, 0
  store double %63, ptr %62, align 16
  %64 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 1
  %65 = extractvalue { double, double } %59, 1
  store double %65, ptr %64, align 8
  %66 = getelementptr inbounds %"class.JPH::Vec3", ptr %11, i64 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #9
  %67 = call { double, double } @_ZNK3JPH5Mat448GetAxisYEv(ptr noundef nonnull align 16 dereferenceable(64) %8)
  %68 = getelementptr inbounds %"class.JPH::Vec3", ptr %16, i32 0, i32 0
  %69 = getelementptr inbounds %union.anon, ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds { double, double }, ptr %69, i32 0, i32 0
  %71 = extractvalue { double, double } %67, 0
  store double %71, ptr %70, align 16
  %72 = getelementptr inbounds { double, double }, ptr %69, i32 0, i32 1
  %73 = extractvalue { double, double } %67, 1
  store double %73, ptr %72, align 8
  %74 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %16)
  %75 = getelementptr inbounds %"class.JPH::Vec3", ptr %15, i32 0, i32 0
  %76 = getelementptr inbounds %union.anon, ptr %75, i32 0, i32 0
  %77 = getelementptr inbounds { double, double }, ptr %76, i32 0, i32 0
  %78 = extractvalue { double, double } %74, 0
  store double %78, ptr %77, align 16
  %79 = getelementptr inbounds { double, double }, ptr %76, i32 0, i32 1
  %80 = extractvalue { double, double } %74, 1
  store double %80, ptr %79, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !11
  %81 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %82 = load double, ptr %81, align 16
  %83 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %84 = load double, ptr %83, align 8
  %85 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %82, double %84)
  %86 = getelementptr inbounds %"class.JPH::Vec3", ptr %66, i32 0, i32 0
  %87 = getelementptr inbounds %union.anon, ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds { double, double }, ptr %87, i32 0, i32 0
  %89 = extractvalue { double, double } %85, 0
  store double %89, ptr %88, align 16
  %90 = getelementptr inbounds { double, double }, ptr %87, i32 0, i32 1
  %91 = extractvalue { double, double } %85, 1
  store double %91, ptr %90, align 8
  %92 = getelementptr inbounds %"class.JPH::Vec3", ptr %11, i64 2
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #9
  %93 = call { double, double } @_ZNK3JPH5Mat448GetAxisZEv(ptr noundef nonnull align 16 dereferenceable(64) %8)
  %94 = getelementptr inbounds %"class.JPH::Vec3", ptr %19, i32 0, i32 0
  %95 = getelementptr inbounds %union.anon, ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds { double, double }, ptr %95, i32 0, i32 0
  %97 = extractvalue { double, double } %93, 0
  store double %97, ptr %96, align 16
  %98 = getelementptr inbounds { double, double }, ptr %95, i32 0, i32 1
  %99 = extractvalue { double, double } %93, 1
  store double %99, ptr %98, align 8
  %100 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %19)
  %101 = getelementptr inbounds %"class.JPH::Vec3", ptr %18, i32 0, i32 0
  %102 = getelementptr inbounds %union.anon, ptr %101, i32 0, i32 0
  %103 = getelementptr inbounds { double, double }, ptr %102, i32 0, i32 0
  %104 = extractvalue { double, double } %100, 0
  store double %104, ptr %103, align 16
  %105 = getelementptr inbounds { double, double }, ptr %102, i32 0, i32 1
  %106 = extractvalue { double, double } %100, 1
  store double %106, ptr %105, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !11
  %107 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %108 = load double, ptr %107, align 16
  %109 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %110 = load double, ptr %109, align 8
  %111 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %18, double %108, double %110)
  %112 = getelementptr inbounds %"class.JPH::Vec3", ptr %92, i32 0, i32 0
  %113 = getelementptr inbounds %union.anon, ptr %112, i32 0, i32 0
  %114 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 0
  %115 = extractvalue { double, double } %111, 0
  store double %115, ptr %114, align 16
  %116 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 1
  %117 = extractvalue { double, double } %111, 1
  store double %117, ptr %116, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  store i32 0, ptr %23, align 4, !tbaa !13
  br label %118

118:                                              ; preds = %157, %3
  %119 = load i32, ptr %23, align 4, !tbaa !13
  %120 = icmp slt i32 %119, 3
  br i1 %120, label %122, label %121

121:                                              ; preds = %118
  store i32 2, ptr %24, align 4
  br label %160

122:                                              ; preds = %118
  %123 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %124 = load i32, ptr %23, align 4, !tbaa !13
  %125 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %123, i32 noundef %124)
  store float %125, ptr %21, align 4, !tbaa !9
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %126, i32 0, i32 1
  %128 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %127, i32 noundef 0)
  %129 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %130 = load i32, ptr %23, align 4, !tbaa !13
  %131 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %129, i32 noundef %130)
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %132, i32 0, i32 1
  %134 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %133, i32 noundef 1)
  %135 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %136 = load i32, ptr %23, align 4, !tbaa !13
  %137 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %135, i32 noundef %136)
  %138 = fmul float %134, %137
  %139 = call float @llvm.fmuladd.f32(float %128, float %131, float %138)
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %140, i32 0, i32 1
  %142 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %141, i32 noundef 2)
  %143 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %144 = load i32, ptr %23, align 4, !tbaa !13
  %145 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %143, i32 noundef %144)
  %146 = call float @llvm.fmuladd.f32(float %142, float %145, float %139)
  store float %146, ptr %22, align 4, !tbaa !9
  %147 = load i32, ptr %23, align 4, !tbaa !13
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef %147, i32 noundef 3)
  %149 = load float, ptr %148, align 4, !tbaa !9
  %150 = call noundef float @_ZSt3absf(float noundef %149)
  %151 = load float, ptr %21, align 4, !tbaa !9
  %152 = load float, ptr %22, align 4, !tbaa !9
  %153 = fadd float %151, %152
  %154 = fcmp ogt float %150, %153
  br i1 %154, label %155, label %156

155:                                              ; preds = %122
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %160

156:                                              ; preds = %122
  br label %157

157:                                              ; preds = %156
  %158 = load i32, ptr %23, align 4, !tbaa !13
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %23, align 4, !tbaa !13
  br label %118, !llvm.loop !15

160:                                              ; preds = %155, %121
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  %161 = load i32, ptr %24, align 4
  switch i32 %161, label %574 [
    i32 2, label %162
  ]

162:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store i32 0, ptr %25, align 4, !tbaa !13
  br label %163

163:                                              ; preds = %208, %162
  %164 = load i32, ptr %25, align 4, !tbaa !13
  %165 = icmp slt i32 %164, 3
  br i1 %165, label %167, label %166

166:                                              ; preds = %163
  store i32 5, ptr %24, align 4
  br label %211

167:                                              ; preds = %163
  %168 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %169 = load i32, ptr %25, align 4, !tbaa !13
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 %170
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %171, i64 16, i1 false), !tbaa.struct !11
  %172 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %173 = load double, ptr %172, align 16
  %174 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %175 = load double, ptr %174, align 8
  %176 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %168, double %173, double %175)
  store float %176, ptr %21, align 4, !tbaa !9
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %177, i32 0, i32 1
  %179 = load i32, ptr %25, align 4, !tbaa !13
  %180 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %178, i32 noundef %179)
  store float %180, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #9
  %181 = call { double, double } @_ZNK3JPH5Mat4414GetTranslationEv(ptr noundef nonnull align 16 dereferenceable(64) %8)
  %182 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i32 0, i32 0
  %183 = getelementptr inbounds %union.anon, ptr %182, i32 0, i32 0
  %184 = getelementptr inbounds { double, double }, ptr %183, i32 0, i32 0
  %185 = extractvalue { double, double } %181, 0
  store double %185, ptr %184, align 16
  %186 = getelementptr inbounds { double, double }, ptr %183, i32 0, i32 1
  %187 = extractvalue { double, double } %181, 1
  store double %187, ptr %186, align 8
  %188 = load i32, ptr %25, align 4, !tbaa !13
  %189 = call { double, double } @_ZNK3JPH5Mat4410GetColumn3Ej(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef %188)
  %190 = getelementptr inbounds %"class.JPH::Vec3", ptr %28, i32 0, i32 0
  %191 = getelementptr inbounds %union.anon, ptr %190, i32 0, i32 0
  %192 = getelementptr inbounds { double, double }, ptr %191, i32 0, i32 0
  %193 = extractvalue { double, double } %189, 0
  store double %193, ptr %192, align 16
  %194 = getelementptr inbounds { double, double }, ptr %191, i32 0, i32 1
  %195 = extractvalue { double, double } %189, 1
  store double %195, ptr %194, align 8
  %196 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %197 = load double, ptr %196, align 16
  %198 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %199 = load double, ptr %198, align 8
  %200 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %27, double %197, double %199)
  %201 = call noundef float @_ZSt3absf(float noundef %200)
  %202 = load float, ptr %21, align 4, !tbaa !9
  %203 = load float, ptr %22, align 4, !tbaa !9
  %204 = fadd float %202, %203
  %205 = fcmp ogt float %201, %204
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  br i1 %205, label %206, label %207

206:                                              ; preds = %167
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %211

207:                                              ; preds = %167
  br label %208

208:                                              ; preds = %207
  %209 = load i32, ptr %25, align 4, !tbaa !13
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %25, align 4, !tbaa !13
  br label %163, !llvm.loop !17

211:                                              ; preds = %206, %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  %212 = load i32, ptr %24, align 4
  switch i32 %212, label %574 [
    i32 5, label %213
  ]

213:                                              ; preds = %211
  %214 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %215 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %214, i32 noundef 1)
  %216 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %217 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %216, i32 noundef 2)
  %218 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %219 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %218, i32 noundef 2)
  %220 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %221 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %220, i32 noundef 1)
  %222 = fmul float %219, %221
  %223 = call float @llvm.fmuladd.f32(float %215, float %217, float %222)
  store float %223, ptr %21, align 4, !tbaa !9
  %224 = load ptr, ptr %6, align 8, !tbaa !5
  %225 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %224, i32 0, i32 1
  %226 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %225, i32 noundef 1)
  %227 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %228 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %227, i32 noundef 0)
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %229, i32 0, i32 1
  %231 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %230, i32 noundef 2)
  %232 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %233 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %232, i32 noundef 0)
  %234 = fmul float %231, %233
  %235 = call float @llvm.fmuladd.f32(float %226, float %228, float %234)
  store float %235, ptr %22, align 4, !tbaa !9
  %236 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 3)
  %237 = load float, ptr %236, align 4, !tbaa !9
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 0)
  %239 = load float, ptr %238, align 4, !tbaa !9
  %240 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 3)
  %241 = load float, ptr %240, align 4, !tbaa !9
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 0)
  %243 = load float, ptr %242, align 4, !tbaa !9
  %244 = fmul float %241, %243
  %245 = fneg float %244
  %246 = call float @llvm.fmuladd.f32(float %237, float %239, float %245)
  %247 = call noundef float @_ZSt3absf(float noundef %246)
  %248 = load float, ptr %21, align 4, !tbaa !9
  %249 = load float, ptr %22, align 4, !tbaa !9
  %250 = fadd float %248, %249
  %251 = fcmp ogt float %247, %250
  br i1 %251, label %252, label %253

252:                                              ; preds = %213
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

253:                                              ; preds = %213
  %254 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %255 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %254, i32 noundef 1)
  %256 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %257 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %256, i32 noundef 2)
  %258 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %259 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %258, i32 noundef 2)
  %260 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %261 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %260, i32 noundef 1)
  %262 = fmul float %259, %261
  %263 = call float @llvm.fmuladd.f32(float %255, float %257, float %262)
  store float %263, ptr %21, align 4, !tbaa !9
  %264 = load ptr, ptr %6, align 8, !tbaa !5
  %265 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %264, i32 0, i32 1
  %266 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %265, i32 noundef 0)
  %267 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %268 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %267, i32 noundef 0)
  %269 = load ptr, ptr %6, align 8, !tbaa !5
  %270 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %269, i32 0, i32 1
  %271 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %270, i32 noundef 2)
  %272 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %273 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %272, i32 noundef 0)
  %274 = fmul float %271, %273
  %275 = call float @llvm.fmuladd.f32(float %266, float %268, float %274)
  store float %275, ptr %22, align 4, !tbaa !9
  %276 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 3)
  %277 = load float, ptr %276, align 4, !tbaa !9
  %278 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 1)
  %279 = load float, ptr %278, align 4, !tbaa !9
  %280 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 3)
  %281 = load float, ptr %280, align 4, !tbaa !9
  %282 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 1)
  %283 = load float, ptr %282, align 4, !tbaa !9
  %284 = fmul float %281, %283
  %285 = fneg float %284
  %286 = call float @llvm.fmuladd.f32(float %277, float %279, float %285)
  %287 = call noundef float @_ZSt3absf(float noundef %286)
  %288 = load float, ptr %21, align 4, !tbaa !9
  %289 = load float, ptr %22, align 4, !tbaa !9
  %290 = fadd float %288, %289
  %291 = fcmp ogt float %287, %290
  br i1 %291, label %292, label %293

292:                                              ; preds = %253
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

293:                                              ; preds = %253
  %294 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %295 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %294, i32 noundef 1)
  %296 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %297 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %296, i32 noundef 2)
  %298 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %299 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %298, i32 noundef 2)
  %300 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %301 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %300, i32 noundef 1)
  %302 = fmul float %299, %301
  %303 = call float @llvm.fmuladd.f32(float %295, float %297, float %302)
  store float %303, ptr %21, align 4, !tbaa !9
  %304 = load ptr, ptr %6, align 8, !tbaa !5
  %305 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %304, i32 0, i32 1
  %306 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %305, i32 noundef 0)
  %307 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %308 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %307, i32 noundef 0)
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  %310 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %309, i32 0, i32 1
  %311 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %310, i32 noundef 1)
  %312 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %313 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %312, i32 noundef 0)
  %314 = fmul float %311, %313
  %315 = call float @llvm.fmuladd.f32(float %306, float %308, float %314)
  store float %315, ptr %22, align 4, !tbaa !9
  %316 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 3)
  %317 = load float, ptr %316, align 4, !tbaa !9
  %318 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 2)
  %319 = load float, ptr %318, align 4, !tbaa !9
  %320 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 3)
  %321 = load float, ptr %320, align 4, !tbaa !9
  %322 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 2)
  %323 = load float, ptr %322, align 4, !tbaa !9
  %324 = fmul float %321, %323
  %325 = fneg float %324
  %326 = call float @llvm.fmuladd.f32(float %317, float %319, float %325)
  %327 = call noundef float @_ZSt3absf(float noundef %326)
  %328 = load float, ptr %21, align 4, !tbaa !9
  %329 = load float, ptr %22, align 4, !tbaa !9
  %330 = fadd float %328, %329
  %331 = fcmp ogt float %327, %330
  br i1 %331, label %332, label %333

332:                                              ; preds = %293
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

333:                                              ; preds = %293
  %334 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %335 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %334, i32 noundef 0)
  %336 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %337 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %336, i32 noundef 2)
  %338 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %339 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %338, i32 noundef 2)
  %340 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %341 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %340, i32 noundef 0)
  %342 = fmul float %339, %341
  %343 = call float @llvm.fmuladd.f32(float %335, float %337, float %342)
  store float %343, ptr %21, align 4, !tbaa !9
  %344 = load ptr, ptr %6, align 8, !tbaa !5
  %345 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %344, i32 0, i32 1
  %346 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %345, i32 noundef 1)
  %347 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %348 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %347, i32 noundef 1)
  %349 = load ptr, ptr %6, align 8, !tbaa !5
  %350 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %349, i32 0, i32 1
  %351 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %350, i32 noundef 2)
  %352 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %353 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %352, i32 noundef 1)
  %354 = fmul float %351, %353
  %355 = call float @llvm.fmuladd.f32(float %346, float %348, float %354)
  store float %355, ptr %22, align 4, !tbaa !9
  %356 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 3)
  %357 = load float, ptr %356, align 4, !tbaa !9
  %358 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 0)
  %359 = load float, ptr %358, align 4, !tbaa !9
  %360 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 3)
  %361 = load float, ptr %360, align 4, !tbaa !9
  %362 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 0)
  %363 = load float, ptr %362, align 4, !tbaa !9
  %364 = fmul float %361, %363
  %365 = fneg float %364
  %366 = call float @llvm.fmuladd.f32(float %357, float %359, float %365)
  %367 = call noundef float @_ZSt3absf(float noundef %366)
  %368 = load float, ptr %21, align 4, !tbaa !9
  %369 = load float, ptr %22, align 4, !tbaa !9
  %370 = fadd float %368, %369
  %371 = fcmp ogt float %367, %370
  br i1 %371, label %372, label %373

372:                                              ; preds = %333
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

373:                                              ; preds = %333
  %374 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %375 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %374, i32 noundef 0)
  %376 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %377 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %376, i32 noundef 2)
  %378 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %379 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %378, i32 noundef 2)
  %380 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %381 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %380, i32 noundef 0)
  %382 = fmul float %379, %381
  %383 = call float @llvm.fmuladd.f32(float %375, float %377, float %382)
  store float %383, ptr %21, align 4, !tbaa !9
  %384 = load ptr, ptr %6, align 8, !tbaa !5
  %385 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %384, i32 0, i32 1
  %386 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %385, i32 noundef 0)
  %387 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %388 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %387, i32 noundef 1)
  %389 = load ptr, ptr %6, align 8, !tbaa !5
  %390 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %389, i32 0, i32 1
  %391 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %390, i32 noundef 2)
  %392 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %393 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %392, i32 noundef 1)
  %394 = fmul float %391, %393
  %395 = call float @llvm.fmuladd.f32(float %386, float %388, float %394)
  store float %395, ptr %22, align 4, !tbaa !9
  %396 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 3)
  %397 = load float, ptr %396, align 4, !tbaa !9
  %398 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 1)
  %399 = load float, ptr %398, align 4, !tbaa !9
  %400 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 3)
  %401 = load float, ptr %400, align 4, !tbaa !9
  %402 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 1)
  %403 = load float, ptr %402, align 4, !tbaa !9
  %404 = fmul float %401, %403
  %405 = fneg float %404
  %406 = call float @llvm.fmuladd.f32(float %397, float %399, float %405)
  %407 = call noundef float @_ZSt3absf(float noundef %406)
  %408 = load float, ptr %21, align 4, !tbaa !9
  %409 = load float, ptr %22, align 4, !tbaa !9
  %410 = fadd float %408, %409
  %411 = fcmp ogt float %407, %410
  br i1 %411, label %412, label %413

412:                                              ; preds = %373
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

413:                                              ; preds = %373
  %414 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %415 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %414, i32 noundef 0)
  %416 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %417 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %416, i32 noundef 2)
  %418 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %419 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %418, i32 noundef 2)
  %420 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %421 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %420, i32 noundef 0)
  %422 = fmul float %419, %421
  %423 = call float @llvm.fmuladd.f32(float %415, float %417, float %422)
  store float %423, ptr %21, align 4, !tbaa !9
  %424 = load ptr, ptr %6, align 8, !tbaa !5
  %425 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %424, i32 0, i32 1
  %426 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %425, i32 noundef 0)
  %427 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %428 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %427, i32 noundef 1)
  %429 = load ptr, ptr %6, align 8, !tbaa !5
  %430 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %429, i32 0, i32 1
  %431 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %430, i32 noundef 1)
  %432 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %433 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %432, i32 noundef 1)
  %434 = fmul float %431, %433
  %435 = call float @llvm.fmuladd.f32(float %426, float %428, float %434)
  store float %435, ptr %22, align 4, !tbaa !9
  %436 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 3)
  %437 = load float, ptr %436, align 4, !tbaa !9
  %438 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 2)
  %439 = load float, ptr %438, align 4, !tbaa !9
  %440 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 2, i32 noundef 3)
  %441 = load float, ptr %440, align 4, !tbaa !9
  %442 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 2)
  %443 = load float, ptr %442, align 4, !tbaa !9
  %444 = fmul float %441, %443
  %445 = fneg float %444
  %446 = call float @llvm.fmuladd.f32(float %437, float %439, float %445)
  %447 = call noundef float @_ZSt3absf(float noundef %446)
  %448 = load float, ptr %21, align 4, !tbaa !9
  %449 = load float, ptr %22, align 4, !tbaa !9
  %450 = fadd float %448, %449
  %451 = fcmp ogt float %447, %450
  br i1 %451, label %452, label %453

452:                                              ; preds = %413
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

453:                                              ; preds = %413
  %454 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %455 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %454, i32 noundef 0)
  %456 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %457 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %456, i32 noundef 1)
  %458 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %459 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %458, i32 noundef 1)
  %460 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %461 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %460, i32 noundef 0)
  %462 = fmul float %459, %461
  %463 = call float @llvm.fmuladd.f32(float %455, float %457, float %462)
  store float %463, ptr %21, align 4, !tbaa !9
  %464 = load ptr, ptr %6, align 8, !tbaa !5
  %465 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %464, i32 0, i32 1
  %466 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %465, i32 noundef 1)
  %467 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %468 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %467, i32 noundef 2)
  %469 = load ptr, ptr %6, align 8, !tbaa !5
  %470 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %469, i32 0, i32 1
  %471 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %470, i32 noundef 2)
  %472 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %473 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %472, i32 noundef 2)
  %474 = fmul float %471, %473
  %475 = call float @llvm.fmuladd.f32(float %466, float %468, float %474)
  store float %475, ptr %22, align 4, !tbaa !9
  %476 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 3)
  %477 = load float, ptr %476, align 4, !tbaa !9
  %478 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 0)
  %479 = load float, ptr %478, align 4, !tbaa !9
  %480 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 3)
  %481 = load float, ptr %480, align 4, !tbaa !9
  %482 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 0)
  %483 = load float, ptr %482, align 4, !tbaa !9
  %484 = fmul float %481, %483
  %485 = fneg float %484
  %486 = call float @llvm.fmuladd.f32(float %477, float %479, float %485)
  %487 = call noundef float @_ZSt3absf(float noundef %486)
  %488 = load float, ptr %21, align 4, !tbaa !9
  %489 = load float, ptr %22, align 4, !tbaa !9
  %490 = fadd float %488, %489
  %491 = fcmp ogt float %487, %490
  br i1 %491, label %492, label %493

492:                                              ; preds = %453
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

493:                                              ; preds = %453
  %494 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %495 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %494, i32 noundef 0)
  %496 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %497 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %496, i32 noundef 1)
  %498 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %499 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %498, i32 noundef 1)
  %500 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %501 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %500, i32 noundef 0)
  %502 = fmul float %499, %501
  %503 = call float @llvm.fmuladd.f32(float %495, float %497, float %502)
  store float %503, ptr %21, align 4, !tbaa !9
  %504 = load ptr, ptr %6, align 8, !tbaa !5
  %505 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %504, i32 0, i32 1
  %506 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %505, i32 noundef 0)
  %507 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %508 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %507, i32 noundef 2)
  %509 = load ptr, ptr %6, align 8, !tbaa !5
  %510 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %509, i32 0, i32 1
  %511 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %510, i32 noundef 2)
  %512 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %513 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %512, i32 noundef 2)
  %514 = fmul float %511, %513
  %515 = call float @llvm.fmuladd.f32(float %506, float %508, float %514)
  store float %515, ptr %22, align 4, !tbaa !9
  %516 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 3)
  %517 = load float, ptr %516, align 4, !tbaa !9
  %518 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 1)
  %519 = load float, ptr %518, align 4, !tbaa !9
  %520 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 3)
  %521 = load float, ptr %520, align 4, !tbaa !9
  %522 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 1)
  %523 = load float, ptr %522, align 4, !tbaa !9
  %524 = fmul float %521, %523
  %525 = fneg float %524
  %526 = call float @llvm.fmuladd.f32(float %517, float %519, float %525)
  %527 = call noundef float @_ZSt3absf(float noundef %526)
  %528 = load float, ptr %21, align 4, !tbaa !9
  %529 = load float, ptr %22, align 4, !tbaa !9
  %530 = fadd float %528, %529
  %531 = fcmp ogt float %527, %530
  br i1 %531, label %532, label %533

532:                                              ; preds = %493
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

533:                                              ; preds = %493
  %534 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %535 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %534, i32 noundef 0)
  %536 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %537 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %536, i32 noundef 1)
  %538 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %29, i32 0, i32 1
  %539 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %538, i32 noundef 1)
  %540 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 2
  %541 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %540, i32 noundef 0)
  %542 = fmul float %539, %541
  %543 = call float @llvm.fmuladd.f32(float %535, float %537, float %542)
  store float %543, ptr %21, align 4, !tbaa !9
  %544 = load ptr, ptr %6, align 8, !tbaa !5
  %545 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %544, i32 0, i32 1
  %546 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %545, i32 noundef 0)
  %547 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 1
  %548 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %547, i32 noundef 2)
  %549 = load ptr, ptr %6, align 8, !tbaa !5
  %550 = getelementptr inbounds %"class.JPH::OrientedBox", ptr %549, i32 0, i32 1
  %551 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %550, i32 noundef 1)
  %552 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %11, i64 0, i64 0
  %553 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %552, i32 noundef 2)
  %554 = fmul float %551, %553
  %555 = call float @llvm.fmuladd.f32(float %546, float %548, float %554)
  store float %555, ptr %22, align 4, !tbaa !9
  %556 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 3)
  %557 = load float, ptr %556, align 4, !tbaa !9
  %558 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 2)
  %559 = load float, ptr %558, align 4, !tbaa !9
  %560 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 0, i32 noundef 3)
  %561 = load float, ptr %560, align 4, !tbaa !9
  %562 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %8, i32 noundef 1, i32 noundef 2)
  %563 = load float, ptr %562, align 4, !tbaa !9
  %564 = fmul float %561, %563
  %565 = fneg float %564
  %566 = call float @llvm.fmuladd.f32(float %557, float %559, float %565)
  %567 = call noundef float @_ZSt3absf(float noundef %566)
  %568 = load float, ptr %21, align 4, !tbaa !9
  %569 = load float, ptr %22, align 4, !tbaa !9
  %570 = fadd float %568, %569
  %571 = fcmp ogt float %567, %570
  br i1 %571, label %572, label %573

572:                                              ; preds = %533
  store i1 false, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

573:                                              ; preds = %533
  store i1 true, ptr %4, align 1
  store i32 1, ptr %24, align 4
  br label %574

574:                                              ; preds = %573, %572, %532, %492, %452, %412, %372, %332, %292, %252, %211, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #9
  %575 = load i1, ptr %4, align 1
  ret i1 %575
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat4427InversedRotationTranslationEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #8 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline mustprogress 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 = { inlinehint mustprogress 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 = { alwaysinline mustprogress 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 #7 = { mustprogress 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 #8 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 #9 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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"

%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat448GetAxisXEv(ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat448GetAxisYEv(ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat448GetAxisZEv(ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3absf(float noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat4414GetTranslationEv(ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat4410GetColumn3Ej(ptr noundef nonnull align 16 dereferenceable(64), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3JPH11OrientedBox8OverlapsERKS0_f(ptr noundef nonnull align 16 dereferenceable(80) %0, ptr noundef nonnull align 16 dereferenceable(80) %1, float noundef %2) local_unnamed_addr #6 align 2 {
  %4 = alloca %"class.JPH::Mat44", align 16
  %5 = alloca %"class.JPH::Mat44", align 16
  %6 = alloca [3 x %"class.JPH::Vec3"], align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #9
  call void @_ZNK3JPH5Mat4427InversedRotationTranslationEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %5, ptr noundef nonnull align 16 dereferenceable(64) %0)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %4, ptr noundef nonnull align 16 dereferenceable(64) %5, ptr noundef nonnull align 16 dereferenceable(64) %1)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #9
  %14 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef %2)
  %15 = extractvalue { double, double } %14, 0
  %16 = extractvalue { double, double } %14, 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #9
  %17 = call { double, double } @_ZNK3JPH5Mat448GetAxisXEv(ptr noundef nonnull align 16 dereferenceable(64) %4)
  %18 = extractvalue { double, double } %17, 0
  store double %18, ptr %8, align 16
  %19 = getelementptr inbounds i8, ptr %8, i64 8
  %20 = extractvalue { double, double } %17, 1
  store double %20, ptr %19, align 8
  %21 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %8)
  %22 = extractvalue { double, double } %21, 0
  store double %22, ptr %7, align 16
  %23 = getelementptr inbounds i8, ptr %7, i64 8
  %24 = extractvalue { double, double } %21, 1
  store double %24, ptr %23, align 8
  %25 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %7, double %15, double %16)
  %26 = extractvalue { double, double } %25, 0
  store double %26, ptr %6, align 16
  %27 = getelementptr inbounds i8, ptr %6, i64 8
  %28 = extractvalue { double, double } %25, 1
  store double %28, ptr %27, align 8
  %29 = getelementptr inbounds i8, ptr %6, i64 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  %30 = call { double, double } @_ZNK3JPH5Mat448GetAxisYEv(ptr noundef nonnull align 16 dereferenceable(64) %4)
  %31 = extractvalue { double, double } %30, 0
  store double %31, ptr %10, align 16
  %32 = getelementptr inbounds i8, ptr %10, i64 8
  %33 = extractvalue { double, double } %30, 1
  store double %33, ptr %32, align 8
  %34 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %10)
  %35 = extractvalue { double, double } %34, 0
  store double %35, ptr %9, align 16
  %36 = getelementptr inbounds i8, ptr %9, i64 8
  %37 = extractvalue { double, double } %34, 1
  store double %37, ptr %36, align 8
  %38 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %15, double %16)
  %39 = extractvalue { double, double } %38, 0
  store double %39, ptr %29, align 16
  %40 = getelementptr inbounds i8, ptr %6, i64 24
  %41 = extractvalue { double, double } %38, 1
  store double %41, ptr %40, align 8
  %42 = getelementptr inbounds i8, ptr %6, i64 32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  %43 = call { double, double } @_ZNK3JPH5Mat448GetAxisZEv(ptr noundef nonnull align 16 dereferenceable(64) %4)
  %44 = extractvalue { double, double } %43, 0
  store double %44, ptr %12, align 16
  %45 = getelementptr inbounds i8, ptr %12, i64 8
  %46 = extractvalue { double, double } %43, 1
  store double %46, ptr %45, align 8
  %47 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %12)
  %48 = extractvalue { double, double } %47, 0
  store double %48, ptr %11, align 16
  %49 = getelementptr inbounds i8, ptr %11, i64 8
  %50 = extractvalue { double, double } %47, 1
  store double %50, ptr %49, align 8
  %51 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %15, double %16)
  %52 = extractvalue { double, double } %51, 0
  store double %52, ptr %42, align 16
  %53 = getelementptr inbounds i8, ptr %6, i64 40
  %54 = extractvalue { double, double } %51, 1
  store double %54, ptr %53, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #9
  %55 = getelementptr inbounds i8, ptr %0, i64 64
  %56 = getelementptr inbounds i8, ptr %1, i64 64
  %57 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 0)
  %58 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  %59 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 0)
  %60 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  %61 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 0)
  %62 = fmul float %60, %61
  %63 = call float @llvm.fmuladd.f32(float %58, float %59, float %62)
  %64 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  %65 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 0)
  %66 = call float @llvm.fmuladd.f32(float %64, float %65, float %63)
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 3)
  %68 = load float, ptr %67, align 4, !tbaa !5
  %69 = call noundef float @_ZSt3absf(float noundef %68)
  %70 = fadd float %57, %66
  %71 = fcmp ogt float %69, %70
  br i1 %71, label %.loopexit, label %72

72:                                               ; preds = %3
  %73 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 1)
  %74 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  %75 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 1)
  %76 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  %77 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 1)
  %78 = fmul float %76, %77
  %79 = call float @llvm.fmuladd.f32(float %74, float %75, float %78)
  %80 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  %81 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 1)
  %82 = call float @llvm.fmuladd.f32(float %80, float %81, float %79)
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 3)
  %84 = load float, ptr %83, align 4, !tbaa !5
  %85 = call noundef float @_ZSt3absf(float noundef %84)
  %86 = fadd float %73, %82
  %87 = fcmp ogt float %85, %86
  br i1 %87, label %.loopexit, label %88

88:                                               ; preds = %72
  %89 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 2)
  %90 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  %91 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 2)
  %92 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  %93 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 2)
  %94 = fmul float %92, %93
  %95 = call float @llvm.fmuladd.f32(float %90, float %91, float %94)
  %96 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  %97 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 2)
  %98 = call float @llvm.fmuladd.f32(float %96, float %97, float %95)
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 3)
  %100 = load float, ptr %99, align 4, !tbaa !5
  %101 = call noundef float @_ZSt3absf(float noundef %100)
  %102 = fadd float %89, %98
  %103 = fcmp ogt float %101, %102
  br i1 %103, label %.loopexit, label %.critedge.preheader

.critedge.preheader:                              ; preds = %88
  %104 = getelementptr inbounds i8, ptr %13, i64 8
  %.sroa.02.0.copyload = load double, ptr %6, align 16
  %.sroa.23.0.copyload = load double, ptr %27, align 8, !tbaa !9
  %105 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %55, double %.sroa.02.0.copyload, double %.sroa.23.0.copyload)
  %106 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %107 = call { double, double } @_ZNK3JPH5Mat4414GetTranslationEv(ptr noundef nonnull align 16 dereferenceable(64) %4)
  %108 = extractvalue { double, double } %107, 0
  store double %108, ptr %13, align 16
  %109 = extractvalue { double, double } %107, 1
  store double %109, ptr %104, align 8
  %110 = call { double, double } @_ZNK3JPH5Mat4410GetColumn3Ej(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0)
  %111 = extractvalue { double, double } %110, 0
  %112 = extractvalue { double, double } %110, 1
  %113 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %13, double %111, double %112)
  %114 = call noundef float @_ZSt3absf(float noundef %113)
  %115 = fadd float %105, %106
  %116 = fcmp ogt float %114, %115
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br i1 %116, label %.loopexit, label %.critedge

.critedge:                                        ; preds = %.critedge.preheader
  %.sroa.02.0.copyload.1 = load double, ptr %29, align 16
  %.sroa.23.0..sroa_idx.1 = getelementptr inbounds i8, ptr %6, i64 24
  %.sroa.23.0.copyload.1 = load double, ptr %.sroa.23.0..sroa_idx.1, align 8, !tbaa !9
  %117 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %55, double %.sroa.02.0.copyload.1, double %.sroa.23.0.copyload.1)
  %118 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %119 = call { double, double } @_ZNK3JPH5Mat4414GetTranslationEv(ptr noundef nonnull align 16 dereferenceable(64) %4)
  %120 = extractvalue { double, double } %119, 0
  store double %120, ptr %13, align 16
  %121 = extractvalue { double, double } %119, 1
  store double %121, ptr %104, align 8
  %122 = call { double, double } @_ZNK3JPH5Mat4410GetColumn3Ej(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1)
  %123 = extractvalue { double, double } %122, 0
  %124 = extractvalue { double, double } %122, 1
  %125 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %13, double %123, double %124)
  %126 = call noundef float @_ZSt3absf(float noundef %125)
  %127 = fadd float %117, %118
  %128 = fcmp ogt float %126, %127
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br i1 %128, label %.loopexit, label %.critedge.1

.critedge.1:                                      ; preds = %.critedge
  %.sroa.02.0.copyload.2 = load double, ptr %42, align 16
  %.sroa.23.0..sroa_idx.2 = getelementptr inbounds i8, ptr %6, i64 40
  %.sroa.23.0.copyload.2 = load double, ptr %.sroa.23.0..sroa_idx.2, align 8, !tbaa !9
  %129 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %55, double %.sroa.02.0.copyload.2, double %.sroa.23.0.copyload.2)
  %130 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %131 = call { double, double } @_ZNK3JPH5Mat4414GetTranslationEv(ptr noundef nonnull align 16 dereferenceable(64) %4)
  %132 = extractvalue { double, double } %131, 0
  store double %132, ptr %13, align 16
  %133 = extractvalue { double, double } %131, 1
  store double %133, ptr %104, align 8
  %134 = call { double, double } @_ZNK3JPH5Mat4410GetColumn3Ej(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2)
  %135 = extractvalue { double, double } %134, 0
  %136 = extractvalue { double, double } %134, 1
  %137 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %13, double %135, double %136)
  %138 = call noundef float @_ZSt3absf(float noundef %137)
  %139 = fadd float %129, %130
  %140 = fcmp ogt float %138, %139
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br i1 %140, label %.loopexit, label %.critedge.2

.critedge.2:                                      ; preds = %.critedge.1
  %141 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 1)
  %142 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 2)
  %143 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 2)
  %144 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 1)
  %145 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  %146 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 0)
  %147 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  %148 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 0)
  %149 = insertelement <2 x float> poison, float %143, i64 0
  %150 = insertelement <2 x float> %149, float %147, i64 1
  %151 = insertelement <2 x float> poison, float %144, i64 0
  %152 = insertelement <2 x float> %151, float %148, i64 1
  %153 = fmul <2 x float> %150, %152
  %154 = insertelement <2 x float> poison, float %141, i64 0
  %155 = insertelement <2 x float> %154, float %145, i64 1
  %156 = insertelement <2 x float> poison, float %142, i64 0
  %157 = insertelement <2 x float> %156, float %146, i64 1
  %158 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %155, <2 x float> %157, <2 x float> %153)
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 3)
  %160 = load float, ptr %159, align 4, !tbaa !5
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 0)
  %162 = load float, ptr %161, align 4, !tbaa !5
  %163 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 3)
  %164 = load float, ptr %163, align 4, !tbaa !5
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 0)
  %166 = load float, ptr %165, align 4, !tbaa !5
  %167 = fneg float %164
  %168 = fmul float %166, %167
  %169 = call float @llvm.fmuladd.f32(float %160, float %162, float %168)
  %170 = call noundef float @_ZSt3absf(float noundef %169)
  %shift = shufflevector <2 x float> %158, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %171 = fadd <2 x float> %158, %shift
  %172 = extractelement <2 x float> %171, i64 0
  %173 = fcmp ogt float %170, %172
  br i1 %173, label %.loopexit, label %174

174:                                              ; preds = %.critedge.2
  %175 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 1)
  %176 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 2)
  %177 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 2)
  %178 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 1)
  %179 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  %180 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 0)
  %181 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  %182 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 0)
  %183 = insertelement <2 x float> poison, float %177, i64 0
  %184 = insertelement <2 x float> %183, float %181, i64 1
  %185 = insertelement <2 x float> poison, float %178, i64 0
  %186 = insertelement <2 x float> %185, float %182, i64 1
  %187 = fmul <2 x float> %184, %186
  %188 = insertelement <2 x float> poison, float %175, i64 0
  %189 = insertelement <2 x float> %188, float %179, i64 1
  %190 = insertelement <2 x float> poison, float %176, i64 0
  %191 = insertelement <2 x float> %190, float %180, i64 1
  %192 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %189, <2 x float> %191, <2 x float> %187)
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 3)
  %194 = load float, ptr %193, align 4, !tbaa !5
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 1)
  %196 = load float, ptr %195, align 4, !tbaa !5
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 3)
  %198 = load float, ptr %197, align 4, !tbaa !5
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 1)
  %200 = load float, ptr %199, align 4, !tbaa !5
  %201 = fneg float %198
  %202 = fmul float %200, %201
  %203 = call float @llvm.fmuladd.f32(float %194, float %196, float %202)
  %204 = call noundef float @_ZSt3absf(float noundef %203)
  %shift82 = shufflevector <2 x float> %192, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %205 = fadd <2 x float> %192, %shift82
  %206 = extractelement <2 x float> %205, i64 0
  %207 = fcmp ogt float %204, %206
  br i1 %207, label %.loopexit, label %208

208:                                              ; preds = %174
  %209 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 1)
  %210 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 2)
  %211 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 2)
  %212 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 1)
  %213 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  %214 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 0)
  %215 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  %216 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 0)
  %217 = insertelement <2 x float> poison, float %211, i64 0
  %218 = insertelement <2 x float> %217, float %215, i64 1
  %219 = insertelement <2 x float> poison, float %212, i64 0
  %220 = insertelement <2 x float> %219, float %216, i64 1
  %221 = fmul <2 x float> %218, %220
  %222 = insertelement <2 x float> poison, float %209, i64 0
  %223 = insertelement <2 x float> %222, float %213, i64 1
  %224 = insertelement <2 x float> poison, float %210, i64 0
  %225 = insertelement <2 x float> %224, float %214, i64 1
  %226 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %223, <2 x float> %225, <2 x float> %221)
  %227 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 3)
  %228 = load float, ptr %227, align 4, !tbaa !5
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 2)
  %230 = load float, ptr %229, align 4, !tbaa !5
  %231 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 3)
  %232 = load float, ptr %231, align 4, !tbaa !5
  %233 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 2)
  %234 = load float, ptr %233, align 4, !tbaa !5
  %235 = fneg float %232
  %236 = fmul float %234, %235
  %237 = call float @llvm.fmuladd.f32(float %228, float %230, float %236)
  %238 = call noundef float @_ZSt3absf(float noundef %237)
  %shift83 = shufflevector <2 x float> %226, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %239 = fadd <2 x float> %226, %shift83
  %240 = extractelement <2 x float> %239, i64 0
  %241 = fcmp ogt float %238, %240
  br i1 %241, label %.loopexit, label %242

242:                                              ; preds = %208
  %243 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 0)
  %244 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 2)
  %245 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 2)
  %246 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 0)
  %247 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  %248 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 1)
  %249 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  %250 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 1)
  %251 = insertelement <2 x float> poison, float %245, i64 0
  %252 = insertelement <2 x float> %251, float %249, i64 1
  %253 = insertelement <2 x float> poison, float %246, i64 0
  %254 = insertelement <2 x float> %253, float %250, i64 1
  %255 = fmul <2 x float> %252, %254
  %256 = insertelement <2 x float> poison, float %243, i64 0
  %257 = insertelement <2 x float> %256, float %247, i64 1
  %258 = insertelement <2 x float> poison, float %244, i64 0
  %259 = insertelement <2 x float> %258, float %248, i64 1
  %260 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %257, <2 x float> %259, <2 x float> %255)
  %261 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 3)
  %262 = load float, ptr %261, align 4, !tbaa !5
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 0)
  %264 = load float, ptr %263, align 4, !tbaa !5
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 3)
  %266 = load float, ptr %265, align 4, !tbaa !5
  %267 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 0)
  %268 = load float, ptr %267, align 4, !tbaa !5
  %269 = fneg float %266
  %270 = fmul float %268, %269
  %271 = call float @llvm.fmuladd.f32(float %262, float %264, float %270)
  %272 = call noundef float @_ZSt3absf(float noundef %271)
  %shift84 = shufflevector <2 x float> %260, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %273 = fadd <2 x float> %260, %shift84
  %274 = extractelement <2 x float> %273, i64 0
  %275 = fcmp ogt float %272, %274
  br i1 %275, label %.loopexit, label %276

276:                                              ; preds = %242
  %277 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 0)
  %278 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 2)
  %279 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 2)
  %280 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 0)
  %281 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  %282 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 1)
  %283 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  %284 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 1)
  %285 = insertelement <2 x float> poison, float %279, i64 0
  %286 = insertelement <2 x float> %285, float %283, i64 1
  %287 = insertelement <2 x float> poison, float %280, i64 0
  %288 = insertelement <2 x float> %287, float %284, i64 1
  %289 = fmul <2 x float> %286, %288
  %290 = insertelement <2 x float> poison, float %277, i64 0
  %291 = insertelement <2 x float> %290, float %281, i64 1
  %292 = insertelement <2 x float> poison, float %278, i64 0
  %293 = insertelement <2 x float> %292, float %282, i64 1
  %294 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %291, <2 x float> %293, <2 x float> %289)
  %295 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 3)
  %296 = load float, ptr %295, align 4, !tbaa !5
  %297 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 1)
  %298 = load float, ptr %297, align 4, !tbaa !5
  %299 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 3)
  %300 = load float, ptr %299, align 4, !tbaa !5
  %301 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 1)
  %302 = load float, ptr %301, align 4, !tbaa !5
  %303 = fneg float %300
  %304 = fmul float %302, %303
  %305 = call float @llvm.fmuladd.f32(float %296, float %298, float %304)
  %306 = call noundef float @_ZSt3absf(float noundef %305)
  %shift85 = shufflevector <2 x float> %294, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %307 = fadd <2 x float> %294, %shift85
  %308 = extractelement <2 x float> %307, i64 0
  %309 = fcmp ogt float %306, %308
  br i1 %309, label %.loopexit, label %310

310:                                              ; preds = %276
  %311 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 0)
  %312 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 2)
  %313 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 2)
  %314 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 0)
  %315 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  %316 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 1)
  %317 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  %318 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 1)
  %319 = insertelement <2 x float> poison, float %313, i64 0
  %320 = insertelement <2 x float> %319, float %317, i64 1
  %321 = insertelement <2 x float> poison, float %314, i64 0
  %322 = insertelement <2 x float> %321, float %318, i64 1
  %323 = fmul <2 x float> %320, %322
  %324 = insertelement <2 x float> poison, float %311, i64 0
  %325 = insertelement <2 x float> %324, float %315, i64 1
  %326 = insertelement <2 x float> poison, float %312, i64 0
  %327 = insertelement <2 x float> %326, float %316, i64 1
  %328 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %325, <2 x float> %327, <2 x float> %323)
  %329 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 3)
  %330 = load float, ptr %329, align 4, !tbaa !5
  %331 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 2)
  %332 = load float, ptr %331, align 4, !tbaa !5
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 2, i32 noundef 3)
  %334 = load float, ptr %333, align 4, !tbaa !5
  %335 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 2)
  %336 = load float, ptr %335, align 4, !tbaa !5
  %337 = fneg float %334
  %338 = fmul float %336, %337
  %339 = call float @llvm.fmuladd.f32(float %330, float %332, float %338)
  %340 = call noundef float @_ZSt3absf(float noundef %339)
  %shift86 = shufflevector <2 x float> %328, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %341 = fadd <2 x float> %328, %shift86
  %342 = extractelement <2 x float> %341, i64 0
  %343 = fcmp ogt float %340, %342
  br i1 %343, label %.loopexit, label %344

344:                                              ; preds = %310
  %345 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 0)
  %346 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 1)
  %347 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 1)
  %348 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 0)
  %349 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  %350 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 2)
  %351 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  %352 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 2)
  %353 = insertelement <2 x float> poison, float %347, i64 0
  %354 = insertelement <2 x float> %353, float %351, i64 1
  %355 = insertelement <2 x float> poison, float %348, i64 0
  %356 = insertelement <2 x float> %355, float %352, i64 1
  %357 = fmul <2 x float> %354, %356
  %358 = insertelement <2 x float> poison, float %345, i64 0
  %359 = insertelement <2 x float> %358, float %349, i64 1
  %360 = insertelement <2 x float> poison, float %346, i64 0
  %361 = insertelement <2 x float> %360, float %350, i64 1
  %362 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %359, <2 x float> %361, <2 x float> %357)
  %363 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 3)
  %364 = load float, ptr %363, align 4, !tbaa !5
  %365 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 0)
  %366 = load float, ptr %365, align 4, !tbaa !5
  %367 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 3)
  %368 = load float, ptr %367, align 4, !tbaa !5
  %369 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 0)
  %370 = load float, ptr %369, align 4, !tbaa !5
  %371 = fneg float %368
  %372 = fmul float %370, %371
  %373 = call float @llvm.fmuladd.f32(float %364, float %366, float %372)
  %374 = call noundef float @_ZSt3absf(float noundef %373)
  %shift87 = shufflevector <2 x float> %362, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %375 = fadd <2 x float> %362, %shift87
  %376 = extractelement <2 x float> %375, i64 0
  %377 = fcmp ogt float %374, %376
  br i1 %377, label %.loopexit, label %378

378:                                              ; preds = %344
  %379 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 0)
  %380 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 1)
  %381 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 1)
  %382 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 0)
  %383 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  %384 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 2)
  %385 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 2)
  %386 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 2)
  %387 = insertelement <2 x float> poison, float %381, i64 0
  %388 = insertelement <2 x float> %387, float %385, i64 1
  %389 = insertelement <2 x float> poison, float %382, i64 0
  %390 = insertelement <2 x float> %389, float %386, i64 1
  %391 = fmul <2 x float> %388, %390
  %392 = insertelement <2 x float> poison, float %379, i64 0
  %393 = insertelement <2 x float> %392, float %383, i64 1
  %394 = insertelement <2 x float> poison, float %380, i64 0
  %395 = insertelement <2 x float> %394, float %384, i64 1
  %396 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %393, <2 x float> %395, <2 x float> %391)
  %397 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 3)
  %398 = load float, ptr %397, align 4, !tbaa !5
  %399 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 1)
  %400 = load float, ptr %399, align 4, !tbaa !5
  %401 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 3)
  %402 = load float, ptr %401, align 4, !tbaa !5
  %403 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 1)
  %404 = load float, ptr %403, align 4, !tbaa !5
  %405 = fneg float %402
  %406 = fmul float %404, %405
  %407 = call float @llvm.fmuladd.f32(float %398, float %400, float %406)
  %408 = call noundef float @_ZSt3absf(float noundef %407)
  %shift88 = shufflevector <2 x float> %396, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %409 = fadd <2 x float> %396, %shift88
  %410 = extractelement <2 x float> %409, i64 0
  %411 = fcmp ogt float %408, %410
  br i1 %411, label %.loopexit, label %412

412:                                              ; preds = %378
  %413 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 0)
  %414 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 1)
  %415 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %55, i32 noundef 1)
  %416 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %42, i32 noundef 0)
  %417 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 0)
  %418 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef 2)
  %419 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %56, i32 noundef 1)
  %420 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %6, i32 noundef 2)
  %421 = insertelement <2 x float> poison, float %415, i64 0
  %422 = insertelement <2 x float> %421, float %419, i64 1
  %423 = insertelement <2 x float> poison, float %416, i64 0
  %424 = insertelement <2 x float> %423, float %420, i64 1
  %425 = fmul <2 x float> %422, %424
  %426 = insertelement <2 x float> poison, float %413, i64 0
  %427 = insertelement <2 x float> %426, float %417, i64 1
  %428 = insertelement <2 x float> poison, float %414, i64 0
  %429 = insertelement <2 x float> %428, float %418, i64 1
  %430 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %427, <2 x float> %429, <2 x float> %425)
  %431 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 3)
  %432 = load float, ptr %431, align 4, !tbaa !5
  %433 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 2)
  %434 = load float, ptr %433, align 4, !tbaa !5
  %435 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 0, i32 noundef 3)
  %436 = load float, ptr %435, align 4, !tbaa !5
  %437 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %4, i32 noundef 1, i32 noundef 2)
  %438 = load float, ptr %437, align 4, !tbaa !5
  %439 = fneg float %436
  %440 = fmul float %438, %439
  %441 = call float @llvm.fmuladd.f32(float %432, float %434, float %440)
  %442 = call noundef float @_ZSt3absf(float noundef %441)
  %shift89 = shufflevector <2 x float> %430, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %443 = fadd <2 x float> %430, %shift89
  %444 = extractelement <2 x float> %443, i64 0
  %445 = fcmp ule float %442, %444
  br label %.loopexit

.loopexit:                                        ; preds = %3, %72, %88, %.critedge.preheader, %.critedge, %.critedge.1, %412, %378, %344, %310, %276, %242, %208, %174, %.critedge.2
  %.2 = phi i1 [ false, %.critedge.2 ], [ false, %174 ], [ false, %208 ], [ false, %242 ], [ false, %276 ], [ false, %310 ], [ false, %344 ], [ false, %378 ], [ %445, %412 ], [ false, %.critedge.1 ], [ false, %.critedge ], [ false, %.critedge.preheader ], [ false, %88 ], [ false, %72 ], [ false, %3 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #9
  ret i1 %.2
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat4427InversedRotationTranslationEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #7 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #8

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline mustprogress 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { inlinehint mustprogress 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 = { alwaysinline mustprogress 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 = { mustprogress 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 #7 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass