; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Collision/Shape (PlaneShape)

; 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::Vec3" = type { %union.anon.5 }
%union.anon.5 = type { <4 x float> }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.3 }
%union.anon.3 = type { <4 x float> }
%"class.JPH::ConvexShape::SupportBuffer" = type { [4160 x i8] }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::ShapeCastResult" = type <{ %"class.JPH::CollideShapeResult", float, i8, [11 x i8] }>
%"class.JPH::CollideShapeResult" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, %"class.JPH::SubShapeID", %"class.JPH::SubShapeID", %"class.JPH::BodyID", %"class.JPH::StaticArray.6", %"class.JPH::StaticArray.6" }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::StaticArray.6" = type { i32, [12 x i8], [32 x %"struct.JPH::StaticArray<JPH::Vec3, 32>::Storage"] }
%"struct.JPH::StaticArray<JPH::Vec3, 32>::Storage" = type { [16 x i8] }
%"struct.JPH::ShapeCastT" = type { ptr, %"class.JPH::Vec3", %"class.JPH::Mat44", %"class.JPH::Vec3", %"class.JPH::AABox" }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"class.JPH::PlaneShape" = type { %"class.JPH::Shape.base", %"class.JPH::Plane", %"class.JPH::RefConst", float, %"class.JPH::AABox" }
%"class.JPH::Shape.base" = type <{ ptr, %"class.JPH::RefTarget.4", [4 x i8], i64, i8, i8 }>
%"class.JPH::RefTarget.4" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::ShapeCastSettings" = type <{ %"class.JPH::CollideSettingsBase", i8, i8, i8, i8, [12 x i8] }>
%"class.JPH::CollideSettingsBase" = type { i8, i8, float, float, %"class.JPH::Vec3" }

@.str.2 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH5Plane14SignedDistanceENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(16), double, double) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH17SubShapeIDCreator5GetIDEv(ptr noundef nonnull align 4 dereferenceable(8)) #5 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: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3JPH16TransformedShape10sGetBodyIDEPKS0_(ptr noundef) #7 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH10PlaneShape18sCastConvexVsPlaneERKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESJ_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEE(ptr noundef nonnull align 16 dereferenceable(144) %0, ptr noundef nonnull align 16 dereferenceable(36) %1, ptr noundef %2, double %3, double %4, ptr noundef nonnull align 8 dereferenceable(12) %5, ptr noundef nonnull align 16 dereferenceable(64) %6, ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(24) %9) #1 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"struct.JPH::AssertLastParam", align 1
  %21 = alloca %"struct.JPH::AssertLastParam", align 1
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.JPH::Plane", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::ConvexShape::SupportBuffer", align 16
  %28 = alloca ptr, align 8
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca float, align 4
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca float, align 4
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Mat44", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = alloca float, align 4
  %45 = alloca i32, align 4
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Vec3", align 16
  %49 = alloca %"class.JPH::Vec3", align 16
  %50 = alloca %"class.JPH::Vec3", align 16
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca %"struct.JPH::AssertLastParam", align 1
  %53 = alloca %"class.JPH::Mat44", align 16
  %54 = alloca %"class.JPH::Vec3", align 16
  %55 = alloca %"class.JPH::Vec3", align 16
  %56 = alloca %"class.JPH::Vec3", align 16
  %57 = alloca %"class.JPH::Vec3", align 16
  %58 = alloca %"class.JPH::Vec3", align 16
  %59 = alloca %"class.JPH::Vec3", align 16
  %60 = alloca %"class.JPH::Vec3", align 16
  %61 = alloca i8, align 1
  %62 = alloca %"class.JPH::ShapeCastResult", align 16
  %63 = alloca %"class.JPH::Vec3", align 16
  %64 = alloca %"class.JPH::Vec3", align 16
  %65 = alloca %"class.JPH::Vec3", align 16
  %66 = alloca %"class.JPH::BodyID", align 4
  %67 = alloca %"class.JPH::Mat44", align 16
  %68 = alloca ptr, align 8
  %69 = alloca i32, align 4
  %70 = alloca %"class.JPH::SubShapeID", align 4
  %71 = alloca %"class.JPH::Vec3", align 16
  %72 = alloca %"class.JPH::Vec3", align 16
  %73 = alloca %"class.JPH::Vec3", align 16
  %74 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  store double %3, ptr %74, align 16
  %75 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  store double %4, ptr %75, align 8
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store ptr %2, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  store ptr %9, ptr %19, align 8, !tbaa !5
  br label %76

76:                                               ; preds = %10
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.JPH::ShapeCastT", ptr %77, i32 0, i32 0
  %79 = load ptr, ptr %78, align 16, !tbaa !9
  %80 = call noundef zeroext i8 @_ZNK3JPH5Shape7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(26) %79)
  %81 = icmp eq i8 %80, 0
  br i1 %81, label %85, label %82

82:                                               ; preds = %76
  %83 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 296)
  br i1 %83, label %84, label %85

84:                                               ; preds = %82
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #11, !srcloc !14
  br label %85

85:                                               ; preds = %84, %82, %76
  br label %86

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %86
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  %89 = call noundef zeroext i8 @_ZNK3JPH5Shape7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(26) %88)
  %90 = icmp eq i8 %89, 10
  br i1 %90, label %94, label %91

91:                                               ; preds = %87
  %92 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 297)
  br i1 %92, label %93, label %94

93:                                               ; preds = %91
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #11, !srcloc !15
  br label %94

94:                                               ; preds = %93, %91, %87
  br label %95

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #11
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.JPH::ShapeCastT", ptr %96, i32 0, i32 0
  %98 = load ptr, ptr %97, align 16, !tbaa !9
  store ptr %98, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #11
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %99, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #11
  %100 = load ptr, ptr %23, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.JPH::PlaneShape", ptr %100, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %11, i64 16, i1 false), !tbaa.struct !16
  %102 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %103 = load double, ptr %102, align 16
  %104 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %105 = load double, ptr %104, align 8
  %106 = call { double, double } @_ZNK3JPH5Plane6ScaledENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(16) %101, double %103, double %105)
  %107 = getelementptr inbounds %"class.JPH::Plane", ptr %24, i32 0, i32 0
  %108 = getelementptr inbounds %"class.JPH::Vec4", ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds %union.anon.3, ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 0
  %111 = extractvalue { double, double } %106, 0
  store double %111, ptr %110, align 16
  %112 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 1
  %113 = extractvalue { double, double } %106, 1
  store double %113, ptr %112, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #11
  %114 = call { double, double } @_ZNK3JPH5Plane9GetNormalEv(ptr noundef nonnull align 16 dereferenceable(16) %24)
  %115 = getelementptr inbounds %"class.JPH::Vec3", ptr %26, i32 0, i32 0
  %116 = getelementptr inbounds %union.anon.5, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds { double, double }, ptr %116, i32 0, i32 0
  %118 = extractvalue { double, double } %114, 0
  store double %118, ptr %117, align 16
  %119 = getelementptr inbounds { double, double }, ptr %116, i32 0, i32 1
  %120 = extractvalue { double, double } %114, 1
  store double %120, ptr %119, align 8
  call void @llvm.lifetime.start.p0(i64 4160, ptr %27) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %121 = load ptr, ptr %22, align 8, !tbaa !5
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.JPH::ShapeCastT", ptr %122, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %123, i64 16, i1 false), !tbaa.struct !16
  %124 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %125 = load double, ptr %124, align 16
  %126 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %127 = load double, ptr %126, align 8
  %128 = load ptr, ptr %121, align 8, !tbaa !18
  %129 = getelementptr inbounds ptr, ptr %128, i64 35
  %130 = load ptr, ptr %129, align 8
  %131 = call noundef ptr %130(ptr noundef nonnull align 8 dereferenceable(44) %121, i32 noundef 2, ptr noundef nonnull align 16 dereferenceable(4160) %27, double %125, double %127)
  store ptr %131, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #11
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.JPH::ShapeCastT", ptr %132, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %31, ptr align 16 %26, i64 16, i1 false), !tbaa.struct !16
  %134 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %135 = load double, ptr %134, align 16
  %136 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %137 = load double, ptr %136, align 8
  %138 = call { double, double } @_ZNK3JPH5Mat4421Multiply3x3TransposedENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %133, double %135, double %137)
  %139 = getelementptr inbounds %"class.JPH::Vec3", ptr %30, i32 0, i32 0
  %140 = getelementptr inbounds %union.anon.5, ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds { double, double }, ptr %140, i32 0, i32 0
  %142 = extractvalue { double, double } %138, 0
  store double %142, ptr %141, align 16
  %143 = getelementptr inbounds { double, double }, ptr %140, i32 0, i32 1
  %144 = extractvalue { double, double } %138, 1
  store double %144, ptr %143, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #11
  %145 = load ptr, ptr %12, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.JPH::ShapeCastT", ptr %145, i32 0, i32 2
  %147 = load ptr, ptr %28, align 8, !tbaa !5
  %148 = call { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %30)
  %149 = getelementptr inbounds %"class.JPH::Vec3", ptr %34, i32 0, i32 0
  %150 = getelementptr inbounds %union.anon.5, ptr %149, i32 0, i32 0
  %151 = getelementptr inbounds { double, double }, ptr %150, i32 0, i32 0
  %152 = extractvalue { double, double } %148, 0
  store double %152, ptr %151, align 16
  %153 = getelementptr inbounds { double, double }, ptr %150, i32 0, i32 1
  %154 = extractvalue { double, double } %148, 1
  store double %154, ptr %153, align 8
  %155 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %156 = load double, ptr %155, align 16
  %157 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %158 = load double, ptr %157, align 8
  %159 = load ptr, ptr %147, align 8, !tbaa !18
  %160 = getelementptr inbounds ptr, ptr %159, i64 2
  %161 = load ptr, ptr %160, align 8
  %162 = call { double, double } %161(ptr noundef nonnull align 8 dereferenceable(8) %147, double %156, double %158)
  %163 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %164 = getelementptr inbounds %union.anon.5, ptr %163, i32 0, i32 0
  %165 = getelementptr inbounds { double, double }, ptr %164, i32 0, i32 0
  %166 = extractvalue { double, double } %162, 0
  store double %166, ptr %165, align 16
  %167 = getelementptr inbounds { double, double }, ptr %164, i32 0, i32 1
  %168 = extractvalue { double, double } %162, 1
  store double %168, ptr %167, align 8
  %169 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %170 = load double, ptr %169, align 16
  %171 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %172 = load double, ptr %171, align 8
  %173 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %146, double %170, double %172)
  %174 = getelementptr inbounds %"class.JPH::Vec3", ptr %32, i32 0, i32 0
  %175 = getelementptr inbounds %union.anon.5, ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 0
  %177 = extractvalue { double, double } %173, 0
  store double %177, ptr %176, align 16
  %178 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 1
  %179 = extractvalue { double, double } %173, 1
  store double %179, ptr %178, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %36, ptr align 16 %32, i64 16, i1 false), !tbaa.struct !16
  %180 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %181 = load double, ptr %180, align 16
  %182 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %183 = load double, ptr %182, align 8
  %184 = call noundef float @_ZNK3JPH5Plane14SignedDistanceENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(16) %24, double %181, double %183)
  store float %184, ptr %35, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #11
  %185 = load ptr, ptr %28, align 8, !tbaa !5
  %186 = load ptr, ptr %185, align 8, !tbaa !18
  %187 = getelementptr inbounds ptr, ptr %186, i64 3
  %188 = load ptr, ptr %187, align 8
  %189 = call noundef float %188(ptr noundef nonnull align 8 dereferenceable(8) %185)
  store float %189, ptr %37, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #11
  %190 = load float, ptr %35, align 4, !tbaa !20
  %191 = fneg float %190
  %192 = load float, ptr %37, align 4, !tbaa !20
  %193 = fadd float %191, %192
  store float %193, ptr %38, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #11
  %194 = load ptr, ptr %12, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.JPH::ShapeCastT", ptr %194, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %40, ptr align 16 %26, i64 16, i1 false), !tbaa.struct !16
  %196 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %197 = load double, ptr %196, align 16
  %198 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %199 = load double, ptr %198, align 8
  %200 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %195, double %197, double %199)
  store float %200, ptr %39, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #11
  %201 = load float, ptr %38, align 4, !tbaa !20
  %202 = fcmp ogt float %201, 0.000000e+00
  br i1 %202, label %203, label %283

203:                                              ; preds = %95
  %204 = load ptr, ptr %13, align 8, !tbaa !5
  %205 = getelementptr inbounds %"class.JPH::ShapeCastSettings", ptr %204, i32 0, i32 2
  %206 = load i8, ptr %205, align 1, !tbaa !22
  %207 = icmp eq i8 %206, 0
  br i1 %207, label %208, label %212

208:                                              ; preds = %203
  %209 = load float, ptr %39, align 4, !tbaa !20
  %210 = fcmp ogt float %209, 0.000000e+00
  br i1 %210, label %211, label %212

211:                                              ; preds = %208
  store i32 1, ptr %45, align 4
  br label %461

212:                                              ; preds = %208, %203
  %213 = load float, ptr %38, align 4, !tbaa !20
  %214 = load ptr, ptr %19, align 8, !tbaa !5
  %215 = call noundef float @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE19GetEarlyOutFractionEv(ptr noundef nonnull align 8 dereferenceable(24) %214)
  %216 = fneg float %215
  %217 = fcmp ole float %213, %216
  br i1 %217, label %218, label %219

218:                                              ; preds = %212
  store i32 1, ptr %45, align 4
  br label %461

219:                                              ; preds = %212
  store float 0.000000e+00, ptr %44, align 4, !tbaa !20
  %220 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 16 %220, i64 64, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #11
  %221 = load ptr, ptr %16, align 8, !tbaa !5
  %222 = load float, ptr %37, align 4, !tbaa !20
  %223 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef %222)
  %224 = getelementptr inbounds %"class.JPH::Vec3", ptr %48, i32 0, i32 0
  %225 = getelementptr inbounds %union.anon.5, ptr %224, i32 0, i32 0
  %226 = getelementptr inbounds { double, double }, ptr %225, i32 0, i32 0
  %227 = extractvalue { double, double } %223, 0
  store double %227, ptr %226, align 16
  %228 = getelementptr inbounds { double, double }, ptr %225, i32 0, i32 1
  %229 = extractvalue { double, double } %223, 1
  store double %229, ptr %228, align 8
  %230 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %231 = load double, ptr %230, align 16
  %232 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %233 = load double, ptr %232, align 8
  %234 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %32, double %231, double %233)
  %235 = getelementptr inbounds %"class.JPH::Vec3", ptr %47, i32 0, i32 0
  %236 = getelementptr inbounds %union.anon.5, ptr %235, i32 0, i32 0
  %237 = getelementptr inbounds { double, double }, ptr %236, i32 0, i32 0
  %238 = extractvalue { double, double } %234, 0
  store double %238, ptr %237, align 16
  %239 = getelementptr inbounds { double, double }, ptr %236, i32 0, i32 1
  %240 = extractvalue { double, double } %234, 1
  store double %240, ptr %239, align 8
  %241 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %242 = load double, ptr %241, align 16
  %243 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %244 = load double, ptr %243, align 8
  %245 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %221, double %242, double %244)
  %246 = getelementptr inbounds %"class.JPH::Vec3", ptr %46, i32 0, i32 0
  %247 = getelementptr inbounds %union.anon.5, ptr %246, i32 0, i32 0
  %248 = getelementptr inbounds { double, double }, ptr %247, i32 0, i32 0
  %249 = extractvalue { double, double } %245, 0
  store double %249, ptr %248, align 16
  %250 = getelementptr inbounds { double, double }, ptr %247, i32 0, i32 1
  %251 = extractvalue { double, double } %245, 1
  store double %251, ptr %250, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %42, ptr align 16 %46, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #11
  %252 = load ptr, ptr %16, align 8, !tbaa !5
  %253 = load float, ptr %35, align 4, !tbaa !20
  %254 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef %253)
  %255 = getelementptr inbounds %"class.JPH::Vec3", ptr %51, i32 0, i32 0
  %256 = getelementptr inbounds %union.anon.5, ptr %255, i32 0, i32 0
  %257 = getelementptr inbounds { double, double }, ptr %256, i32 0, i32 0
  %258 = extractvalue { double, double } %254, 0
  store double %258, ptr %257, align 16
  %259 = getelementptr inbounds { double, double }, ptr %256, i32 0, i32 1
  %260 = extractvalue { double, double } %254, 1
  store double %260, ptr %259, align 8
  %261 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 0
  %262 = load double, ptr %261, align 16
  %263 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 1
  %264 = load double, ptr %263, align 8
  %265 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %32, double %262, double %264)
  %266 = getelementptr inbounds %"class.JPH::Vec3", ptr %50, i32 0, i32 0
  %267 = getelementptr inbounds %union.anon.5, ptr %266, i32 0, i32 0
  %268 = getelementptr inbounds { double, double }, ptr %267, i32 0, i32 0
  %269 = extractvalue { double, double } %265, 0
  store double %269, ptr %268, align 16
  %270 = getelementptr inbounds { double, double }, ptr %267, i32 0, i32 1
  %271 = extractvalue { double, double } %265, 1
  store double %271, ptr %270, align 8
  %272 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %273 = load double, ptr %272, align 16
  %274 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %275 = load double, ptr %274, align 8
  %276 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %252, double %273, double %275)
  %277 = getelementptr inbounds %"class.JPH::Vec3", ptr %49, i32 0, i32 0
  %278 = getelementptr inbounds %union.anon.5, ptr %277, i32 0, i32 0
  %279 = getelementptr inbounds { double, double }, ptr %278, i32 0, i32 0
  %280 = extractvalue { double, double } %276, 0
  store double %280, ptr %279, align 16
  %281 = getelementptr inbounds { double, double }, ptr %278, i32 0, i32 1
  %282 = extractvalue { double, double } %276, 1
  store double %282, ptr %281, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %49, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #11
  br label %356

283:                                              ; preds = %95
  %284 = load float, ptr %39, align 4, !tbaa !20
  %285 = fcmp olt float %284, 0.000000e+00
  br i1 %285, label %286, label %354

286:                                              ; preds = %283
  %287 = load float, ptr %38, align 4, !tbaa !20
  %288 = load float, ptr %39, align 4, !tbaa !20
  %289 = fdiv float %287, %288
  store float %289, ptr %44, align 4, !tbaa !20
  br label %290

290:                                              ; preds = %286
  %291 = load float, ptr %44, align 4, !tbaa !20
  %292 = fcmp oge float %291, 0.000000e+00
  br i1 %292, label %296, label %293

293:                                              ; preds = %290
  %294 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.5, ptr noundef @.str.3, i32 noundef 345)
  br i1 %294, label %295, label %296

295:                                              ; preds = %293
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #11, !srcloc !30
  br label %296

296:                                              ; preds = %295, %293, %290
  br label %297

297:                                              ; preds = %296
  br label %298

298:                                              ; preds = %297
  %299 = load float, ptr %44, align 4, !tbaa !20
  %300 = load ptr, ptr %19, align 8, !tbaa !5
  %301 = call noundef float @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE19GetEarlyOutFractionEv(ptr noundef nonnull align 8 dereferenceable(24) %300)
  %302 = fcmp oge float %299, %301
  br i1 %302, label %303, label %304

303:                                              ; preds = %298
  store i32 1, ptr %45, align 4
  br label %461

304:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 64, ptr %53) #11
  %305 = load ptr, ptr %16, align 8, !tbaa !5
  %306 = load float, ptr %44, align 4, !tbaa !20
  %307 = load ptr, ptr %12, align 8, !tbaa !5
  %308 = getelementptr inbounds %"struct.JPH::ShapeCastT", ptr %307, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %55, ptr align 16 %308, i64 16, i1 false), !tbaa.struct !16
  %309 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %310 = load double, ptr %309, align 16
  %311 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %312 = load double, ptr %311, align 8
  %313 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %306, double %310, double %312)
  %314 = getelementptr inbounds %"class.JPH::Vec3", ptr %54, i32 0, i32 0
  %315 = getelementptr inbounds %union.anon.5, ptr %314, i32 0, i32 0
  %316 = getelementptr inbounds { double, double }, ptr %315, i32 0, i32 0
  %317 = extractvalue { double, double } %313, 0
  store double %317, ptr %316, align 16
  %318 = getelementptr inbounds { double, double }, ptr %315, i32 0, i32 1
  %319 = extractvalue { double, double } %313, 1
  store double %319, ptr %318, align 8
  %320 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 0
  %321 = load double, ptr %320, align 16
  %322 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 1
  %323 = load double, ptr %322, align 8
  call void @_ZNK3JPH5Mat4414PostTranslatedENS_4Vec3E(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %53, ptr noundef nonnull align 16 dereferenceable(64) %305, double %321, double %323)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 16 %53, i64 64, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 64, ptr %53) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #11
  %324 = load float, ptr %37, align 4, !tbaa !20
  %325 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef %324)
  %326 = getelementptr inbounds %"class.JPH::Vec3", ptr %58, i32 0, i32 0
  %327 = getelementptr inbounds %union.anon.5, ptr %326, i32 0, i32 0
  %328 = getelementptr inbounds { double, double }, ptr %327, i32 0, i32 0
  %329 = extractvalue { double, double } %325, 0
  store double %329, ptr %328, align 16
  %330 = getelementptr inbounds { double, double }, ptr %327, i32 0, i32 1
  %331 = extractvalue { double, double } %325, 1
  store double %331, ptr %330, align 8
  %332 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 0
  %333 = load double, ptr %332, align 16
  %334 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 1
  %335 = load double, ptr %334, align 8
  %336 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %32, double %333, double %335)
  %337 = getelementptr inbounds %"class.JPH::Vec3", ptr %57, i32 0, i32 0
  %338 = getelementptr inbounds %union.anon.5, ptr %337, i32 0, i32 0
  %339 = getelementptr inbounds { double, double }, ptr %338, i32 0, i32 0
  %340 = extractvalue { double, double } %336, 0
  store double %340, ptr %339, align 16
  %341 = getelementptr inbounds { double, double }, ptr %338, i32 0, i32 1
  %342 = extractvalue { double, double } %336, 1
  store double %342, ptr %341, align 8
  %343 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 0
  %344 = load double, ptr %343, align 16
  %345 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 1
  %346 = load double, ptr %345, align 8
  %347 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %41, double %344, double %346)
  %348 = getelementptr inbounds %"class.JPH::Vec3", ptr %56, i32 0, i32 0
  %349 = getelementptr inbounds %union.anon.5, ptr %348, i32 0, i32 0
  %350 = getelementptr inbounds { double, double }, ptr %349, i32 0, i32 0
  %351 = extractvalue { double, double } %347, 0
  store double %351, ptr %350, align 16
  %352 = getelementptr inbounds { double, double }, ptr %349, i32 0, i32 1
  %353 = extractvalue { double, double } %347, 1
  store double %353, ptr %352, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %56, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %42, ptr align 16 %43, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #11
  br label %355

354:                                              ; preds = %283
  store i32 1, ptr %45, align 4
  br label %461

355:                                              ; preds = %304
  br label %356

356:                                              ; preds = %355, %219
  call void @llvm.lifetime.start.p0(i64 16, ptr %59) #11
  %357 = call { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %26)
  %358 = getelementptr inbounds %"class.JPH::Vec3", ptr %60, i32 0, i32 0
  %359 = getelementptr inbounds %union.anon.5, ptr %358, i32 0, i32 0
  %360 = getelementptr inbounds { double, double }, ptr %359, i32 0, i32 0
  %361 = extractvalue { double, double } %357, 0
  store double %361, ptr %360, align 16
  %362 = getelementptr inbounds { double, double }, ptr %359, i32 0, i32 1
  %363 = extractvalue { double, double } %357, 1
  store double %363, ptr %362, align 8
  %364 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 0
  %365 = load double, ptr %364, align 16
  %366 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 1
  %367 = load double, ptr %366, align 8
  %368 = call { double, double } @_ZNK3JPH5Mat4411Multiply3x3ENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %41, double %365, double %367)
  %369 = getelementptr inbounds %"class.JPH::Vec3", ptr %59, i32 0, i32 0
  %370 = getelementptr inbounds %union.anon.5, ptr %369, i32 0, i32 0
  %371 = getelementptr inbounds { double, double }, ptr %370, i32 0, i32 0
  %372 = extractvalue { double, double } %368, 0
  store double %372, ptr %371, align 16
  %373 = getelementptr inbounds { double, double }, ptr %370, i32 0, i32 1
  %374 = extractvalue { double, double } %368, 1
  store double %374, ptr %373, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %61) #11
  %375 = load float, ptr %39, align 4, !tbaa !20
  %376 = fcmp ogt float %375, 0.000000e+00
  %377 = zext i1 %376 to i8
  store i8 %377, ptr %61, align 1, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 1136, ptr %62) #11
  %378 = load float, ptr %44, align 4, !tbaa !20
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %63, ptr align 16 %42, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %64, ptr align 16 %43, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %65, ptr align 16 %59, i64 16, i1 false), !tbaa.struct !16
  %379 = load i8, ptr %61, align 1, !tbaa !31, !range !32, !noundef !33
  %380 = trunc i8 %379 to i1
  %381 = load ptr, ptr %17, align 8, !tbaa !5
  %382 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH17SubShapeIDCreator5GetIDEv(ptr noundef nonnull align 4 dereferenceable(8) %381)
  %383 = load ptr, ptr %18, align 8, !tbaa !5
  %384 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH17SubShapeIDCreator5GetIDEv(ptr noundef nonnull align 4 dereferenceable(8) %383)
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #11
  %385 = load ptr, ptr %19, align 8, !tbaa !5
  %386 = call noundef ptr @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE10GetContextEv(ptr noundef nonnull align 8 dereferenceable(24) %385)
  %387 = call i32 @_ZN3JPH16TransformedShape10sGetBodyIDEPKS0_(ptr noundef %386)
  %388 = getelementptr inbounds %"class.JPH::BodyID", ptr %66, i32 0, i32 0
  store i32 %387, ptr %388, align 4
  %389 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 0
  %390 = load double, ptr %389, align 16
  %391 = getelementptr inbounds { double, double }, ptr %63, i32 0, i32 1
  %392 = load double, ptr %391, align 8
  %393 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 0
  %394 = load double, ptr %393, align 16
  %395 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 1
  %396 = load double, ptr %395, align 8
  %397 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 0
  %398 = load double, ptr %397, align 16
  %399 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 1
  %400 = load double, ptr %399, align 8
  call void @_ZN3JPH15ShapeCastResultC2EfNS_4Vec3ES1_S1_bRKNS_10SubShapeIDES4_RKNS_6BodyIDE(ptr noundef nonnull align 16 dereferenceable(1125) %62, float noundef %378, double %390, double %392, double %394, double %396, double %398, double %400, i1 noundef zeroext %380, ptr noundef nonnull align 4 dereferenceable(4) %382, ptr noundef nonnull align 4 dereferenceable(4) %384, ptr noundef nonnull align 4 dereferenceable(4) %66)
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #11
  %401 = load ptr, ptr %13, align 8, !tbaa !5
  %402 = getelementptr inbounds %"class.JPH::CollideSettingsBase", ptr %401, i32 0, i32 1
  %403 = load i8, ptr %402, align 1, !tbaa !34
  %404 = icmp eq i8 %403, 0
  br i1 %404, label %405, label %455

405:                                              ; preds = %356
  call void @llvm.lifetime.start.p0(i64 64, ptr %67) #11
  %406 = load ptr, ptr %12, align 8, !tbaa !5
  %407 = getelementptr inbounds %"struct.JPH::ShapeCastT", ptr %406, i32 0, i32 2
  invoke void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %67, ptr noundef nonnull align 16 dereferenceable(64) %41, ptr noundef nonnull align 16 dereferenceable(64) %407)
          to label %408 unwind label %445

408:                                              ; preds = %405
  %409 = load ptr, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #11
  call void @llvm.memset.p0.i64(ptr align 4 %70, i8 0, i64 4, i1 false)
  call void @_ZN3JPH10SubShapeIDC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %70) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %71, ptr align 16 %30, i64 16, i1 false), !tbaa.struct !16
  %410 = load ptr, ptr %12, align 8, !tbaa !5
  %411 = getelementptr inbounds %"struct.JPH::ShapeCastT", ptr %410, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %72, ptr align 16 %411, i64 16, i1 false), !tbaa.struct !16
  %412 = getelementptr inbounds %"class.JPH::CollideShapeResult", ptr %62, i32 0, i32 7
  %413 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 0
  %414 = load double, ptr %413, align 16
  %415 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 1
  %416 = load double, ptr %415, align 8
  %417 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 0
  %418 = load double, ptr %417, align 16
  %419 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 1
  %420 = load double, ptr %419, align 8
  %421 = load ptr, ptr %409, align 8, !tbaa !18
  %422 = getelementptr inbounds ptr, ptr %421, i64 12
  %423 = load ptr, ptr %422, align 8
  invoke void %423(ptr noundef nonnull align 8 dereferenceable(26) %409, ptr noundef nonnull align 4 dereferenceable(4) %70, double %414, double %416, double %418, double %420, ptr noundef nonnull align 16 dereferenceable(64) %67, ptr noundef nonnull align 16 dereferenceable(528) %412)
          to label %424 unwind label %449

424:                                              ; preds = %408
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #11
  %425 = getelementptr inbounds %"class.JPH::CollideShapeResult", ptr %62, i32 0, i32 7
  %426 = invoke noundef zeroext i1 @_ZNK3JPH11StaticArrayINS_4Vec3ELj32EE5emptyEv(ptr noundef nonnull align 16 dereferenceable(528) %425)
          to label %427 unwind label %445

427:                                              ; preds = %424
  br i1 %426, label %453, label %428

428:                                              ; preds = %427
  %429 = load ptr, ptr %22, align 8, !tbaa !5
  %430 = invoke { double, double } @_ZNK3JPH5Mat4414GetTranslationEv(ptr noundef nonnull align 16 dereferenceable(64) %67)
          to label %431 unwind label %445

431:                                              ; preds = %428
  %432 = getelementptr inbounds %"class.JPH::Vec3", ptr %73, i32 0, i32 0
  %433 = getelementptr inbounds %union.anon.5, ptr %432, i32 0, i32 0
  %434 = getelementptr inbounds { double, double }, ptr %433, i32 0, i32 0
  %435 = extractvalue { double, double } %430, 0
  store double %435, ptr %434, align 16
  %436 = getelementptr inbounds { double, double }, ptr %433, i32 0, i32 1
  %437 = extractvalue { double, double } %430, 1
  store double %437, ptr %436, align 8
  %438 = load ptr, ptr %16, align 8, !tbaa !5
  %439 = getelementptr inbounds %"class.JPH::CollideShapeResult", ptr %62, i32 0, i32 8
  %440 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 0
  %441 = load double, ptr %440, align 16
  %442 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 1
  %443 = load double, ptr %442, align 8
  invoke void @_ZN3JPHL18sGetSupportingFaceEPKNS_11ConvexShapeENS_4Vec3ERKNS_5PlaneERKNS_5Mat44ERNS_11StaticArrayIS3_Lj32EEE(ptr noundef %429, double %441, double %443, ptr noundef nonnull align 16 dereferenceable(16) %24, ptr noundef nonnull align 16 dereferenceable(64) %438, ptr noundef nonnull align 16 dereferenceable(528) %439)
          to label %444 unwind label %445

444:                                              ; preds = %431
  br label %453

445:                                              ; preds = %431, %428, %424, %405
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %68, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %69, align 4
  br label %454

449:                                              ; preds = %408
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %68, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %69, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #11
  br label %454

453:                                              ; preds = %444, %427
  call void @llvm.lifetime.end.p0(i64 64, ptr %67) #11
  br label %455

454:                                              ; preds = %449, %445
  call void @llvm.lifetime.end.p0(i64 64, ptr %67) #11
  br label %468

455:                                              ; preds = %453, %356
  %456 = load ptr, ptr %19, align 8, !tbaa !5
  %457 = load ptr, ptr %456, align 8, !tbaa !18
  %458 = getelementptr inbounds ptr, ptr %457, i64 6
  %459 = load ptr, ptr %458, align 8
  invoke void %459(ptr noundef nonnull align 8 dereferenceable(24) %456, ptr noundef nonnull align 16 dereferenceable(1125) %62)
          to label %460 unwind label %464

460:                                              ; preds = %455
  call void @_ZN3JPH18CollideShapeResultD2Ev(ptr noundef nonnull align 16 dereferenceable(1125) %62) #11
  call void @llvm.lifetime.end.p0(i64 1136, ptr %62) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #11
  store i32 0, ptr %45, align 4
  br label %461

461:                                              ; preds = %460, %354, %303, %218, %211
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 4160, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  %462 = load i32, ptr %45, align 4
  switch i32 %462, label %474 [
    i32 0, label %463
    i32 1, label %463
  ]

463:                                              ; preds = %461, %461
  ret void

464:                                              ; preds = %455
  %465 = landingpad { ptr, i32 }
          cleanup
  %466 = extractvalue { ptr, i32 } %465, 0
  store ptr %466, ptr %68, align 8
  %467 = extractvalue { ptr, i32 } %465, 1
  store i32 %467, ptr %69, align 4
  br label %468

468:                                              ; preds = %464, %454
  call void @_ZN3JPH18CollideShapeResultD2Ev(ptr noundef nonnull align 16 dereferenceable(1125) %62) #11
  call void @llvm.lifetime.end.p0(i64 1136, ptr %62) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 4160, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  br label %469

469:                                              ; preds = %468
  %470 = load ptr, ptr %68, align 8
  %471 = load i32, ptr %69, align 4
  %472 = insertvalue { ptr, i32 } poison, ptr %470, 0
  %473 = insertvalue { ptr, i32 } %472, i32 %471, 1
  resume { ptr, i32 } %473

474:                                              ; preds = %461
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZNK3JPH5Shape7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(26)) #8 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) #7

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE19GetEarlyOutFractionEv(ptr noundef nonnull align 8 dereferenceable(24)) #8 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE10GetContextEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH15ShapeCastResultC2EfNS_4Vec3ES1_S1_bRKNS_10SubShapeIDES4_RKNS_6BodyIDE(ptr noundef nonnull align 16 dereferenceable(1125), float noundef, double, double, double, double, double, double, i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 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)) #10 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH10SubShapeIDC2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH11StaticArrayINS_4Vec3ELj32EE5emptyEv(ptr noundef nonnull align 16 dereferenceable(528)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3JPHL18sGetSupportingFaceEPKNS_11ConvexShapeENS_4Vec3ERKNS_5PlaneERKNS_5Mat44ERNS_11StaticArrayIS3_Lj32EEE(ptr noundef, double, double, ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(528)) #7

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH18CollideShapeResultD2Ev(ptr noundef nonnull align 16 dereferenceable(1120)) unnamed_addr #8 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 = { inlinehint 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 = { 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 #9 = { 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 #10 = { 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 #11 = { 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, !6, i64 0}
!10 = !{!"_ZTSN3JPH10ShapeCastTINS_4Vec3ENS_5Mat44ENS_9ShapeCastEEE", !6, i64 0, !11, i64 16, !12, i64 32, !11, i64 96, !13, i64 112}
!11 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!12 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!13 = !{!"_ZTSN3JPH5AABoxE", !11, i64 0, !11, i64 16}
!14 = !{i64 2158187584}
!15 = !{i64 2158187966}
!16 = !{i64 0, i64 16, !17}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !8, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!23, !27, i64 33}
!23 = !{!"_ZTSN3JPH17ShapeCastSettingsE", !24, i64 0, !27, i64 32, !27, i64 33, !28, i64 34, !28, i64 35}
!24 = !{!"_ZTSN3JPH19CollideSettingsBaseE", !25, i64 0, !26, i64 1, !21, i64 4, !21, i64 8, !11, i64 16}
!25 = !{!"_ZTSN3JPH15EActiveEdgeModeE", !7, i64 0}
!26 = !{!"_ZTSN3JPH17ECollectFacesModeE", !7, i64 0}
!27 = !{!"_ZTSN3JPH13EBackFaceModeE", !7, i64 0}
!28 = !{!"bool", !7, i64 0}
!29 = !{i64 0, i64 64, !17}
!30 = !{i64 2158188302}
!31 = !{!28, !28, i64 0}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = !{!24, !26, i64 1}


; 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::Plane" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.3 }
%union.anon.3 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon.5 }
%union.anon.5 = type { <4 x float> }
%"class.JPH::ConvexShape::SupportBuffer" = type { [4160 x i8] }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::ShapeCastResult" = type <{ %"class.JPH::CollideShapeResult", float, i8, [11 x i8] }>
%"class.JPH::CollideShapeResult" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, %"class.JPH::SubShapeID", %"class.JPH::SubShapeID", %"class.JPH::BodyID", %"class.JPH::StaticArray.6", %"class.JPH::StaticArray.6" }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::StaticArray.6" = type { i32, [12 x i8], [32 x %"struct.JPH::StaticArray<JPH::Vec3, 32>::Storage"] }
%"struct.JPH::StaticArray<JPH::Vec3, 32>::Storage" = type { [16 x i8] }

@.str.2 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress 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) #2

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH5Plane14SignedDistanceENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH17SubShapeIDCreator5GetIDEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4 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: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3JPH16TransformedShape10sGetBodyIDEPKS0_(ptr noundef) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH10PlaneShape18sCastConvexVsPlaneERKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESJ_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEE(ptr noundef nonnull align 16 dereferenceable(144) %0, ptr nocapture noundef nonnull readonly align 16 dereferenceable(36) %1, ptr noundef %2, double %3, double %4, ptr nocapture noundef nonnull readnone align 8 dereferenceable(12) %5, ptr noundef nonnull align 16 dereferenceable(64) %6, ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(24) %9) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca %"class.JPH::Plane", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::ConvexShape::SupportBuffer", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Mat44", align 16
  %17 = alloca %"class.JPH::ShapeCastResult", align 16
  %18 = alloca %"class.JPH::BodyID", align 4
  %19 = alloca %"class.JPH::Mat44", align 16
  %20 = alloca %"class.JPH::SubShapeID", align 4
  %21 = load ptr, ptr %0, align 16, !tbaa !5
  %22 = tail call noundef zeroext i8 @_ZNK3JPH5Shape7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(26) %21)
  %23 = icmp eq i8 %22, 0
  br i1 %23, label %27, label %24

24:                                               ; preds = %10
  %25 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 296)
  br i1 %25, label %26, label %27

26:                                               ; preds = %24
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #10, !srcloc !13
  br label %27

27:                                               ; preds = %26, %24, %10
  %28 = tail call noundef zeroext i8 @_ZNK3JPH5Shape7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(26) %2)
  %29 = icmp eq i8 %28, 10
  br i1 %29, label %33, label %30

30:                                               ; preds = %27
  %31 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, i32 noundef 297)
  br i1 %31, label %32, label %33

32:                                               ; preds = %30
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #10, !srcloc !14
  br label %33

33:                                               ; preds = %27, %30, %32
  %34 = load ptr, ptr %0, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #10
  %35 = getelementptr inbounds i8, ptr %2, i64 32
  %36 = tail call { double, double } @_ZNK3JPH5Plane6ScaledENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(16) %35, double %3, double %4)
  %37 = extractvalue { double, double } %36, 0
  store double %37, ptr %11, align 16
  %38 = getelementptr inbounds i8, ptr %11, i64 8
  %39 = extractvalue { double, double } %36, 1
  store double %39, ptr %38, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #10
  %40 = call { double, double } @_ZNK3JPH5Plane9GetNormalEv(ptr noundef nonnull align 16 dereferenceable(16) %11)
  %41 = extractvalue { double, double } %40, 0
  store double %41, ptr %12, align 16
  %42 = getelementptr inbounds i8, ptr %12, i64 8
  %43 = extractvalue { double, double } %40, 1
  store double %43, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 4160, ptr nonnull %13) #10
  %44 = getelementptr inbounds i8, ptr %0, i64 16
  %.sroa.065.0.copyload = load double, ptr %44, align 16
  %.sroa.266.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 24
  %.sroa.266.0.copyload = load double, ptr %.sroa.266.0..sroa_idx, align 8, !tbaa !15
  %45 = load ptr, ptr %34, align 8, !tbaa !16
  %46 = getelementptr inbounds i8, ptr %45, i64 280
  %47 = load ptr, ptr %46, align 8
  %48 = call noundef ptr %47(ptr noundef nonnull align 8 dereferenceable(44) %34, i32 noundef 2, ptr noundef nonnull align 16 dereferenceable(4160) %13, double %.sroa.065.0.copyload, double %.sroa.266.0.copyload)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #10
  %49 = getelementptr inbounds i8, ptr %0, i64 32
  %50 = call { double, double } @_ZNK3JPH5Mat4421Multiply3x3TransposedENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %49, double %41, double %43)
  %51 = extractvalue { double, double } %50, 0
  store double %51, ptr %14, align 16
  %52 = getelementptr inbounds i8, ptr %14, i64 8
  %53 = extractvalue { double, double } %50, 1
  store double %53, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #10
  %54 = call { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %14)
  %55 = extractvalue { double, double } %54, 0
  %56 = extractvalue { double, double } %54, 1
  %57 = load ptr, ptr %48, align 8, !tbaa !16
  %58 = getelementptr inbounds i8, ptr %57, i64 16
  %59 = load ptr, ptr %58, align 8
  %60 = call { double, double } %59(ptr noundef nonnull align 8 dereferenceable(8) %48, double %55, double %56)
  %61 = extractvalue { double, double } %60, 0
  %62 = extractvalue { double, double } %60, 1
  %63 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %49, double %61, double %62)
  %64 = extractvalue { double, double } %63, 0
  store double %64, ptr %15, align 16
  %65 = getelementptr inbounds i8, ptr %15, i64 8
  %66 = extractvalue { double, double } %63, 1
  store double %66, ptr %65, align 8
  %67 = call noundef float @_ZNK3JPH5Plane14SignedDistanceENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(16) %11, double %64, double %66)
  %68 = load ptr, ptr %48, align 8, !tbaa !16
  %69 = getelementptr inbounds i8, ptr %68, i64 24
  %70 = load ptr, ptr %69, align 8
  %71 = call noundef float %70(ptr noundef nonnull align 8 dereferenceable(8) %48)
  %72 = fsub float %71, %67
  %73 = getelementptr inbounds i8, ptr %0, i64 96
  %74 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %73, double %41, double %43)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #10
  %75 = fcmp ogt float %72, 0.000000e+00
  br i1 %75, label %76, label %104

76:                                               ; preds = %33
  %77 = getelementptr inbounds i8, ptr %1, i64 33
  %78 = load i8, ptr %77, align 1, !tbaa !18
  %79 = icmp eq i8 %78, 0
  %80 = fcmp ogt float %74, 0.000000e+00
  %or.cond = and i1 %80, %79
  br i1 %or.cond, label %167, label %81

81:                                               ; preds = %76
  %82 = call noundef float @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE19GetEarlyOutFractionEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %83 = fneg float %82
  %84 = fcmp ugt float %72, %83
  br i1 %84, label %85, label %167

85:                                               ; preds = %81
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(64) %6, i64 64, i1 false), !tbaa.struct !26
  %86 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %12, float noundef %71)
  %87 = extractvalue { double, double } %86, 0
  %88 = extractvalue { double, double } %86, 1
  %89 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %87, double %88)
  %90 = extractvalue { double, double } %89, 0
  %91 = extractvalue { double, double } %89, 1
  %92 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %6, double %90, double %91)
  %93 = extractvalue { double, double } %92, 0
  %94 = extractvalue { double, double } %92, 1
  %95 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %12, float noundef %67)
  %96 = extractvalue { double, double } %95, 0
  %97 = extractvalue { double, double } %95, 1
  %98 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %96, double %97)
  %99 = extractvalue { double, double } %98, 0
  %100 = extractvalue { double, double } %98, 1
  %101 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %6, double %99, double %100)
  %102 = extractvalue { double, double } %101, 0
  %103 = extractvalue { double, double } %101, 1
  br label %128

104:                                              ; preds = %33
  %105 = fcmp olt float %74, 0.000000e+00
  br i1 %105, label %106, label %167

106:                                              ; preds = %104
  %107 = fdiv float %72, %74
  %108 = fcmp ult float %107, 0.000000e+00
  br i1 %108, label %109, label %112

109:                                              ; preds = %106
  %110 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, i32 noundef 345)
  br i1 %110, label %111, label %112

111:                                              ; preds = %109
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #10, !srcloc !27
  br label %112

112:                                              ; preds = %111, %109, %106
  %113 = call noundef float @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE19GetEarlyOutFractionEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %114 = fcmp ult float %107, %113
  br i1 %114, label %115, label %167

115:                                              ; preds = %112
  %.sroa.021.0.copyload = load double, ptr %73, align 16
  %.sroa.222.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.222.0.copyload = load double, ptr %.sroa.222.0..sroa_idx, align 8, !tbaa !15
  %116 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %107, double %.sroa.021.0.copyload, double %.sroa.222.0.copyload)
  %117 = extractvalue { double, double } %116, 0
  %118 = extractvalue { double, double } %116, 1
  call void @_ZNK3JPH5Mat4414PostTranslatedENS_4Vec3E(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %16, ptr noundef nonnull align 16 dereferenceable(64) %6, double %117, double %118)
  %119 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %12, float noundef %71)
  %120 = extractvalue { double, double } %119, 0
  %121 = extractvalue { double, double } %119, 1
  %122 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %120, double %121)
  %123 = extractvalue { double, double } %122, 0
  %124 = extractvalue { double, double } %122, 1
  %125 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %123, double %124)
  %126 = extractvalue { double, double } %125, 0
  %127 = extractvalue { double, double } %125, 1
  br label %128

128:                                              ; preds = %115, %85
  %.0 = phi float [ 0.000000e+00, %85 ], [ %107, %115 ]
  %.sroa.041.0 = phi double [ %102, %85 ], [ %126, %115 ]
  %.sroa.7.0 = phi double [ %103, %85 ], [ %127, %115 ]
  %.sroa.042.0 = phi double [ %93, %85 ], [ %126, %115 ]
  %.sroa.6.0 = phi double [ %94, %85 ], [ %127, %115 ]
  %129 = call { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %12)
  %130 = extractvalue { double, double } %129, 0
  %131 = extractvalue { double, double } %129, 1
  %132 = call { double, double } @_ZNK3JPH5Mat4411Multiply3x3ENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %130, double %131)
  %133 = extractvalue { double, double } %132, 0
  %134 = extractvalue { double, double } %132, 1
  %135 = fcmp ogt float %74, 0.000000e+00
  call void @llvm.lifetime.start.p0(i64 1136, ptr nonnull %17) #10
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH17SubShapeIDCreator5GetIDEv(ptr noundef nonnull align 4 dereferenceable(8) %7)
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH17SubShapeIDCreator5GetIDEv(ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #10
  %138 = call noundef ptr @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE10GetContextEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %139 = call i32 @_ZN3JPH16TransformedShape10sGetBodyIDEPKS0_(ptr noundef %138)
  store i32 %139, ptr %18, align 4
  call void @_ZN3JPH15ShapeCastResultC2EfNS_4Vec3ES1_S1_bRKNS_10SubShapeIDES4_RKNS_6BodyIDE(ptr noundef nonnull align 16 dereferenceable(1125) %17, float noundef %.0, double %.sroa.042.0, double %.sroa.6.0, double %.sroa.041.0, double %.sroa.7.0, double %133, double %134, i1 noundef zeroext %135, ptr noundef nonnull align 4 dereferenceable(4) %136, ptr noundef nonnull align 4 dereferenceable(4) %137, ptr noundef nonnull align 4 dereferenceable(4) %18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #10
  %140 = getelementptr inbounds i8, ptr %1, i64 1
  %141 = load i8, ptr %140, align 1, !tbaa !28
  %142 = icmp eq i8 %141, 0
  br i1 %142, label %143, label %162

143:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #10
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %19, ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(64) %49)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #10
  store i32 0, ptr %20, align 4
  call void @_ZN3JPH10SubShapeIDC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %20) #10
  %.sroa.04.0.copyload = load double, ptr %14, align 16
  %.sroa.25.0.copyload = load double, ptr %52, align 8, !tbaa !15
  %.sroa.02.0.copyload = load double, ptr %44, align 16
  %.sroa.23.0.copyload = load double, ptr %.sroa.266.0..sroa_idx, align 8, !tbaa !15
  %144 = getelementptr inbounds i8, ptr %17, i64 64
  %145 = load ptr, ptr %34, align 8, !tbaa !16
  %146 = getelementptr inbounds i8, ptr %145, i64 96
  %147 = load ptr, ptr %146, align 8
  invoke void %147(ptr noundef nonnull align 8 dereferenceable(26) %34, ptr noundef nonnull align 4 dereferenceable(4) %20, double %.sroa.04.0.copyload, double %.sroa.25.0.copyload, double %.sroa.02.0.copyload, double %.sroa.23.0.copyload, ptr noundef nonnull align 16 dereferenceable(64) %19, ptr noundef nonnull align 16 dereferenceable(528) %144)
          to label %148 unwind label %158

148:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #10
  %149 = call noundef zeroext i1 @_ZNK3JPH11StaticArrayINS_4Vec3ELj32EE5emptyEv(ptr noundef nonnull align 16 dereferenceable(528) %144)
  br i1 %149, label %160, label %150

150:                                              ; preds = %148
  %151 = invoke { double, double } @_ZNK3JPH5Mat4414GetTranslationEv(ptr noundef nonnull align 16 dereferenceable(64) %19)
          to label %152 unwind label %156

152:                                              ; preds = %150
  %153 = extractvalue { double, double } %151, 0
  %154 = extractvalue { double, double } %151, 1
  %155 = getelementptr inbounds i8, ptr %17, i64 592
  invoke void @_ZN3JPHL18sGetSupportingFaceEPKNS_11ConvexShapeENS_4Vec3ERKNS_5PlaneERKNS_5Mat44ERNS_11StaticArrayIS3_Lj32EEE(ptr noundef nonnull %34, double %153, double %154, ptr noundef nonnull align 16 dereferenceable(16) %11, ptr noundef nonnull align 16 dereferenceable(64) %6, ptr noundef nonnull align 16 dereferenceable(528) %155)
          to label %160 unwind label %156

156:                                              ; preds = %152, %150
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %161

158:                                              ; preds = %143
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #10
  br label %161

160:                                              ; preds = %152, %148
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #10
  br label %162

161:                                              ; preds = %158, %156
  %.pn = phi { ptr, i32 } [ %157, %156 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #10
  br label %170

162:                                              ; preds = %160, %128
  %163 = load ptr, ptr %9, align 8, !tbaa !16
  %164 = getelementptr inbounds i8, ptr %163, i64 48
  %165 = load ptr, ptr %164, align 8
  invoke void %165(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(1125) %17)
          to label %166 unwind label %168

166:                                              ; preds = %162
  call void @_ZN3JPH18CollideShapeResultD2Ev(ptr noundef nonnull align 16 dereferenceable(1125) %17) #10
  call void @llvm.lifetime.end.p0(i64 1136, ptr nonnull %17) #10
  br label %167

167:                                              ; preds = %104, %112, %81, %76, %166
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 4160, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #10
  ret void

168:                                              ; preds = %162
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %170

170:                                              ; preds = %168, %161
  %.pn109 = phi { ptr, i32 } [ %169, %168 ], [ %.pn, %161 ]
  call void @_ZN3JPH18CollideShapeResultD2Ev(ptr noundef nonnull align 16 dereferenceable(1125) %17) #10
  call void @llvm.lifetime.end.p0(i64 1136, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 4160, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #10
  resume { ptr, i32 } %.pn109
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZNK3JPH5Shape7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE19GetEarlyOutFractionEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEE10GetContextEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH15ShapeCastResultC2EfNS_4Vec3ES1_S1_bRKNS_10SubShapeIDES4_RKNS_6BodyIDE(ptr noundef nonnull align 16 dereferenceable(1125), float noundef, double, double, double, double, double, double, i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 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 #9 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH10SubShapeIDC2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH11StaticArrayINS_4Vec3ELj32EE5emptyEv(ptr noundef nonnull align 16 dereferenceable(528)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3JPHL18sGetSupportingFaceEPKNS_11ConvexShapeENS_4Vec3ERKNS_5PlaneERKNS_5Mat44ERNS_11StaticArrayIS3_Lj32EEE(ptr noundef, double, double, ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(528)) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH18CollideShapeResultD2Ev(ptr noundef nonnull align 16 dereferenceable(1120)) unnamed_addr #7 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 = { inlinehint 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 = { 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 #8 = { 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 #9 = { 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 #10 = { 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, !7, i64 0}
!6 = !{!"_ZTSN3JPH10ShapeCastTINS_4Vec3ENS_5Mat44ENS_9ShapeCastEEE", !7, i64 0, !10, i64 16, !11, i64 32, !10, i64 96, !12, i64 112}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3JPH4Vec3E", !8, i64 0}
!11 = !{!"_ZTSN3JPH5Mat44E", !8, i64 0}
!12 = !{!"_ZTSN3JPH5AABoxE", !10, i64 0, !10, i64 16}
!13 = !{i64 2158187584}
!14 = !{i64 2158187966}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !9, i64 0}
!18 = !{!19, !24, i64 33}
!19 = !{!"_ZTSN3JPH17ShapeCastSettingsE", !20, i64 0, !24, i64 32, !24, i64 33, !25, i64 34, !25, i64 35}
!20 = !{!"_ZTSN3JPH19CollideSettingsBaseE", !21, i64 0, !22, i64 1, !23, i64 4, !23, i64 8, !10, i64 16}
!21 = !{!"_ZTSN3JPH15EActiveEdgeModeE", !8, i64 0}
!22 = !{!"_ZTSN3JPH17ECollectFacesModeE", !8, i64 0}
!23 = !{!"float", !8, i64 0}
!24 = !{!"_ZTSN3JPH13EBackFaceModeE", !8, i64 0}
!25 = !{!"bool", !8, i64 0}
!26 = !{i64 0, i64 64, !15}
!27 = !{i64 2158188302}
!28 = !{!20, !22, i64 1}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass