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

; 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.3 }
%union.anon.3 = type { <4 x float> }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.9 }
%union.anon.9 = type { <4 x float> }
%"class.JPH::CylinderShape" = type { %"class.JPH::ConvexShape.base", float, float, float }
%"class.JPH::ConvexShape.base" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::RefConst", float }>
%"class.JPH::Shape.base" = type <{ ptr, %"class.JPH::RefTarget.7", [4 x i8], i64, i8, i8 }>
%"class.JPH::RefTarget.7" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst" = type { ptr }

@_ZN3JPHL16cCylinderTopFaceE = external hidden global [8 x %"class.JPH::Vec3"], align 16
@.str.7 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 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

; Function Attrs: 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 void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH13CylinderShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(56), double, double) unnamed_addr #3 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) #4

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH13CylinderShape17GetSupportingFaceERKNS_10SubShapeIDENS_4Vec3ES4_RKNS_5Mat44ERNS_11StaticArrayIS4_Lj32EEE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %1, double %2, double %3, double %4, double %5, ptr noundef nonnull align 16 dereferenceable(64) %6, ptr noundef nonnull align 16 dereferenceable(528) %7) unnamed_addr #3 align 2 {
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.JPH::AssertLastParam", align 1
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"struct.JPH::AssertLastParam", align 1
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %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 %"class.JPH::Mat44", align 16
  %36 = alloca %"class.JPH::Vec4", align 16
  %37 = alloca %"class.JPH::Vec4", align 16
  %38 = alloca %"class.JPH::Vec4", align 16
  %39 = alloca %"class.JPH::Vec4", align 16
  %40 = alloca %"class.JPH::Vec4", align 16
  %41 = alloca %"class.JPH::Mat44", align 16
  %42 = alloca %"class.JPH::Mat44", align 16
  %43 = alloca %"class.JPH::Vec4", align 16
  %44 = alloca %"class.JPH::Vec4", align 16
  %45 = alloca %"class.JPH::Vec4", align 16
  %46 = alloca %"class.JPH::Vec4", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Mat44", align 16
  %49 = alloca %"class.JPH::Vec3", align 16
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca ptr, align 8
  %53 = alloca ptr, align 8
  %54 = alloca %"class.JPH::Vec3", align 16
  %55 = alloca %"class.JPH::Vec3", align 16
  %56 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  store double %2, ptr %56, align 16
  %57 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  store double %3, ptr %57, align 8
  %58 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  store double %4, ptr %58, align 16
  %59 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  store double %5, ptr %59, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %6, ptr %13, align 8, !tbaa !5
  store ptr %7, ptr %14, align 8, !tbaa !5
  %60 = load ptr, ptr %11, align 8
  br label %61

61:                                               ; preds = %8
  %62 = load ptr, ptr %12, align 8, !tbaa !5
  %63 = call noundef zeroext i1 @_ZNK3JPH10SubShapeID7IsEmptyEv(ptr noundef nonnull align 4 dereferenceable(4) %62)
  br i1 %63, label %67, label %64

64:                                               ; preds = %61
  %65 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef @.str.12, ptr noundef @.str.7, i32 noundef 192, ptr noundef @.str.13)
  br i1 %65, label %66, label %67

66:                                               ; preds = %64
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !9
  br label %67

67:                                               ; preds = %66, %64, %61
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !10
  %70 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %71 = load double, ptr %70, align 16
  %72 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %73 = load double, ptr %72, align 8
  %74 = call noundef zeroext i1 @_ZNK3JPH13CylinderShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(56) %60, double %71, double %73)
  br i1 %74, label %78, label %75

75:                                               ; preds = %69
  %76 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.10, ptr noundef @.str.7, i32 noundef 193)
  br i1 %76, label %77, label %78

77:                                               ; preds = %75
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !12
  br label %78

78:                                               ; preds = %77, %75, %69
  br label %79

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  %80 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %10)
  %81 = getelementptr inbounds %"class.JPH::Vec3", ptr %18, i32 0, i32 0
  %82 = getelementptr inbounds %union.anon.3, ptr %81, i32 0, i32 0
  %83 = getelementptr inbounds { double, double }, ptr %82, i32 0, i32 0
  %84 = extractvalue { double, double } %80, 0
  store double %84, ptr %83, align 16
  %85 = getelementptr inbounds { double, double }, ptr %82, i32 0, i32 1
  %86 = extractvalue { double, double } %80, 1
  store double %86, ptr %85, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %87 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %18)
  store float %87, ptr %19, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %88 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %18)
  store float %88, ptr %20, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %89 = load float, ptr %20, align 4, !tbaa !13
  %90 = getelementptr inbounds %"class.JPH::CylinderShape", ptr %60, i32 0, i32 1
  %91 = load float, ptr %90, align 4, !tbaa !15
  %92 = fmul float %89, %91
  store float %92, ptr %21, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %93 = load float, ptr %19, align 4, !tbaa !13
  %94 = getelementptr inbounds %"class.JPH::CylinderShape", ptr %60, i32 0, i32 2
  %95 = load float, ptr %94, align 8, !tbaa !27
  %96 = fmul float %93, %95
  store float %96, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %97 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  store float %97, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %98 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  store float %98, ptr %24, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  %99 = call noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  store float %99, ptr %25, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  %100 = load float, ptr %23, align 4, !tbaa !13
  %101 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %100)
  %102 = load float, ptr %25, align 4, !tbaa !13
  %103 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %102)
  %104 = fadd float %101, %103
  store float %104, ptr %26, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  %105 = load float, ptr %24, align 4, !tbaa !13
  %106 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %105)
  store float %106, ptr %27, align 4, !tbaa !13
  %107 = load float, ptr %26, align 4, !tbaa !13
  %108 = load float, ptr %27, align 4, !tbaa !13
  %109 = fcmp ogt float %107, %108
  br i1 %109, label %110, label %155

110:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  %111 = load float, ptr %22, align 4, !tbaa !13
  %112 = fneg float %111
  %113 = load float, ptr %26, align 4, !tbaa !13
  %114 = call noundef float @_ZSt4sqrtf(float noundef %113)
  %115 = fdiv float %112, %114
  store float %115, ptr %28, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %116 = load float, ptr %23, align 4, !tbaa !13
  %117 = load float, ptr %28, align 4, !tbaa !13
  %118 = fmul float %116, %117
  store float %118, ptr %29, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  %119 = load float, ptr %25, align 4, !tbaa !13
  %120 = load float, ptr %28, align 4, !tbaa !13
  %121 = fmul float %119, %120
  store float %121, ptr %30, align 4, !tbaa !13
  %122 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #9
  %123 = load ptr, ptr %13, align 8, !tbaa !5
  %124 = load float, ptr %29, align 4, !tbaa !13
  %125 = load float, ptr %21, align 4, !tbaa !13
  %126 = load float, ptr %30, align 4, !tbaa !13
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %32, float noundef %124, float noundef %125, float noundef %126)
  %127 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %128 = load double, ptr %127, align 16
  %129 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %130 = load double, ptr %129, align 8
  %131 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %123, double %128, double %130)
  %132 = getelementptr inbounds %"class.JPH::Vec3", ptr %31, i32 0, i32 0
  %133 = getelementptr inbounds %union.anon.3, ptr %132, i32 0, i32 0
  %134 = getelementptr inbounds { double, double }, ptr %133, i32 0, i32 0
  %135 = extractvalue { double, double } %131, 0
  store double %135, ptr %134, align 16
  %136 = getelementptr inbounds { double, double }, ptr %133, i32 0, i32 1
  %137 = extractvalue { double, double } %131, 1
  store double %137, ptr %136, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %122, ptr noundef nonnull align 16 dereferenceable(16) %31)
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #9
  %138 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #9
  %139 = load ptr, ptr %13, align 8, !tbaa !5
  %140 = load float, ptr %29, align 4, !tbaa !13
  %141 = load float, ptr %21, align 4, !tbaa !13
  %142 = fneg float %141
  %143 = load float, ptr %30, align 4, !tbaa !13
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef %140, float noundef %142, float noundef %143)
  %144 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %145 = load double, ptr %144, align 16
  %146 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %147 = load double, ptr %146, align 8
  %148 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %139, double %145, double %147)
  %149 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %150 = getelementptr inbounds %union.anon.3, 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
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %138, ptr noundef nonnull align 16 dereferenceable(16) %33)
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  br label %249

155:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 64, ptr %35) #9
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %156, i64 64, i1 false), !tbaa.struct !28
  %157 = load float, ptr %26, align 4, !tbaa !13
  %158 = load float, ptr %27, align 4, !tbaa !13
  %159 = fmul float 0x3F7F5A1580000000, %158
  %160 = fcmp ogt float %157, %159
  br i1 %160, label %161, label %207

161:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #9
  %162 = load float, ptr %23, align 4, !tbaa !13
  %163 = load float, ptr %25, align 4, !tbaa !13
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %37, float noundef %162, float noundef 0.000000e+00, float noundef %163, float noundef 0.000000e+00)
  %164 = load float, ptr %26, align 4, !tbaa !13
  %165 = call noundef float @_ZSt4sqrtf(float noundef %164)
  %166 = call { double, double } @_ZNK3JPH4Vec4dvEf(ptr noundef nonnull align 16 dereferenceable(16) %37, float noundef %165)
  %167 = getelementptr inbounds %"class.JPH::Vec4", ptr %36, i32 0, i32 0
  %168 = getelementptr inbounds %union.anon.9, ptr %167, i32 0, i32 0
  %169 = getelementptr inbounds { double, double }, ptr %168, i32 0, i32 0
  %170 = extractvalue { double, double } %166, 0
  store double %170, ptr %169, align 16
  %171 = getelementptr inbounds { double, double }, ptr %168, i32 0, i32 1
  %172 = extractvalue { double, double } %166, 1
  store double %172, ptr %171, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #9
  %173 = call { double, double } @_ZNK3JPH4Vec47SwizzleILj2ELj1ELj0ELj3EEES0_v(ptr noundef nonnull align 16 dereferenceable(16) %36)
  %174 = getelementptr inbounds %"class.JPH::Vec4", ptr %39, i32 0, i32 0
  %175 = getelementptr inbounds %union.anon.9, 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 @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %40, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %180 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %181 = load double, ptr %180, align 16
  %182 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %183 = load double, ptr %182, align 8
  %184 = call { double, double } @_ZNK3JPH4Vec4mlES0_(ptr noundef nonnull align 16 dereferenceable(16) %39, double %181, double %183)
  %185 = getelementptr inbounds %"class.JPH::Vec4", ptr %38, i32 0, i32 0
  %186 = getelementptr inbounds %union.anon.9, ptr %185, i32 0, i32 0
  %187 = getelementptr inbounds { double, double }, ptr %186, i32 0, i32 0
  %188 = extractvalue { double, double } %184, 0
  store double %188, ptr %187, align 16
  %189 = getelementptr inbounds { double, double }, ptr %186, i32 0, i32 1
  %190 = extractvalue { double, double } %184, 1
  store double %190, ptr %189, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %36, i64 16, i1 false), !tbaa.struct !10
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %44, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %45, ptr align 16 %38, i64 16, i1 false), !tbaa.struct !10
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %46, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %191 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %192 = load double, ptr %191, align 16
  %193 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %194 = load double, ptr %193, align 8
  %195 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 0
  %196 = load double, ptr %195, align 16
  %197 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 1
  %198 = load double, ptr %197, align 8
  %199 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %200 = load double, ptr %199, align 16
  %201 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  %202 = load double, ptr %201, align 8
  %203 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %204 = load double, ptr %203, align 16
  %205 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %206 = load double, ptr %205, align 8
  call void @_ZN3JPH5Mat44C2ENS_4Vec4ES1_S1_S1_(ptr noundef nonnull align 16 dereferenceable(64) %42, double %192, double %194, double %196, double %198, double %200, double %202, double %204, double %206)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %41, ptr noundef nonnull align 16 dereferenceable(64) %35, ptr noundef nonnull align 16 dereferenceable(64) %42)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %41, i64 64, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #9
  br label %207

207:                                              ; preds = %161, %155
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #9
  %208 = load float, ptr %24, align 4, !tbaa !13
  %209 = fcmp olt float %208, 0.000000e+00
  br i1 %209, label %210, label %214

210:                                              ; preds = %207
  %211 = load float, ptr %22, align 4, !tbaa !13
  %212 = load float, ptr %21, align 4, !tbaa !13
  %213 = load float, ptr %22, align 4, !tbaa !13
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %47, float noundef %211, float noundef %212, float noundef %213)
  br label %220

214:                                              ; preds = %207
  %215 = load float, ptr %22, align 4, !tbaa !13
  %216 = fneg float %215
  %217 = load float, ptr %21, align 4, !tbaa !13
  %218 = fneg float %217
  %219 = load float, ptr %22, align 4, !tbaa !13
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %47, float noundef %216, float noundef %218, float noundef %219)
  br label %220

220:                                              ; preds = %214, %210
  call void @llvm.lifetime.start.p0(i64 64, ptr %48) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 16 %47, i64 16, i1 false), !tbaa.struct !10
  %221 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 0
  %222 = load double, ptr %221, align 16
  %223 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 1
  %224 = load double, ptr %223, align 8
  call void @_ZNK3JPH5Mat449PreScaledENS_4Vec3E(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %48, ptr noundef nonnull align 16 dereferenceable(64) %35, double %222, double %224)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %48, i64 64, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 64, ptr %48) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #9
  store ptr @_ZN3JPHL16cCylinderTopFaceE, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #9
  store ptr @_ZN3JPHL16cCylinderTopFaceE, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #9
  store ptr getelementptr inbounds (%"class.JPH::Vec3", ptr @_ZN3JPHL16cCylinderTopFaceE, i64 8), ptr %52, align 8, !tbaa !5
  br label %225

225:                                              ; preds = %245, %220
  %226 = load ptr, ptr %51, align 8, !tbaa !5
  %227 = load ptr, ptr %52, align 8, !tbaa !5
  %228 = icmp ne ptr %226, %227
  br i1 %228, label %230, label %229

229:                                              ; preds = %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #9
  br label %248

230:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #9
  %231 = load ptr, ptr %51, align 8, !tbaa !5
  store ptr %231, ptr %53, align 8, !tbaa !5
  %232 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #9
  %233 = load ptr, ptr %53, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %55, ptr align 16 %233, i64 16, i1 false), !tbaa.struct !10
  %234 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %235 = load double, ptr %234, align 16
  %236 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %237 = load double, ptr %236, align 8
  %238 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %35, double %235, double %237)
  %239 = getelementptr inbounds %"class.JPH::Vec3", ptr %54, i32 0, i32 0
  %240 = getelementptr inbounds %union.anon.3, ptr %239, i32 0, i32 0
  %241 = getelementptr inbounds { double, double }, ptr %240, i32 0, i32 0
  %242 = extractvalue { double, double } %238, 0
  store double %242, ptr %241, align 16
  %243 = getelementptr inbounds { double, double }, ptr %240, i32 0, i32 1
  %244 = extractvalue { double, double } %238, 1
  store double %244, ptr %243, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %232, ptr noundef nonnull align 16 dereferenceable(16) %54)
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #9
  br label %245

245:                                              ; preds = %230
  %246 = load ptr, ptr %51, align 8, !tbaa !5
  %247 = getelementptr inbounds %"class.JPH::Vec3", ptr %246, i32 1
  store ptr %247, ptr %51, align 8, !tbaa !5
  br label %225

248:                                              ; preds = %229
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #9
  br label %249

249:                                              ; preds = %248, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  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 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH10SubShapeID7IsEmptyEv(ptr noundef nonnull align 4 dereferenceable(4)) #6 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528), ptr noundef nonnull align 16 dereferenceable(16)) #3 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #7 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec4mlES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #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)) #7 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5Mat44C2ENS_4Vec4ES1_S1_S1_(ptr noundef nonnull align 16 dereferenceable(64), double, double, double, double, double, double, double, double) unnamed_addr #5 align 2

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

attributes #0 = { 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 = { 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 #3 = { 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 nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 = { 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 = { 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 = !{i64 2157925772}
!10 = !{i64 0, i64 16, !11}
!11 = !{!7, !7, i64 0}
!12 = !{i64 2157926121}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !14, i64 44}
!16 = !{!"_ZTSN3JPH13CylinderShapeE", !17, i64 0, !14, i64 44, !14, i64 48, !14, i64 52}
!17 = !{!"_ZTSN3JPH11ConvexShapeE", !18, i64 0, !26, i64 32, !14, i64 40}
!18 = !{!"_ZTSN3JPH5ShapeE", !19, i64 8, !23, i64 16, !24, i64 24, !25, i64 25}
!19 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !20, i64 0}
!20 = !{!"_ZTSSt6atomicIjE", !21, i64 0}
!21 = !{!"_ZTSSt13__atomic_baseIjE", !22, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSN3JPH10EShapeTypeE", !7, i64 0}
!25 = !{!"_ZTSN3JPH13EShapeSubTypeE", !7, i64 0}
!26 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !6, i64 0}
!27 = !{!16, !14, i64 48}
!28 = !{i64 0, i64 64, !11}


; 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::Vec3" = type { %union.anon.3 }
%union.anon.3 = type { <4 x float> }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.9 }
%union.anon.9 = type { <4 x float> }

@_ZN3JPHL16cCylinderTopFaceE = external hidden local_unnamed_addr global [8 x %"class.JPH::Vec3"], align 16
@.str.7 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 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

; 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 void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 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 #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH13CylinderShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(56), double, double) unnamed_addr #3 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) #4

; 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 noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH13CylinderShape17GetSupportingFaceERKNS_10SubShapeIDENS_4Vec3ES4_RKNS_5Mat44ERNS_11StaticArrayIS4_Lj32EEE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %1, double %2, double %3, double %4, double %5, ptr noundef nonnull align 16 dereferenceable(64) %6, ptr noundef nonnull align 16 dereferenceable(528) %7) unnamed_addr #3 align 2 {
  %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
  %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::Vec4", align 16
  %18 = alloca %"class.JPH::Vec4", align 16
  %19 = alloca %"class.JPH::Vec4", align 16
  %20 = alloca %"class.JPH::Vec4", align 16
  %21 = alloca %"class.JPH::Mat44", align 16
  %22 = alloca %"class.JPH::Mat44", align 16
  %23 = alloca %"class.JPH::Vec4", align 16
  %24 = alloca %"class.JPH::Vec4", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Mat44", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  store double %2, ptr %9, align 16
  %28 = getelementptr inbounds i8, ptr %9, i64 8
  store double %3, ptr %28, align 8
  store double %4, ptr %10, align 16
  %29 = getelementptr inbounds i8, ptr %10, i64 8
  store double %5, ptr %29, align 8
  %30 = tail call noundef zeroext i1 @_ZNK3JPH10SubShapeID7IsEmptyEv(ptr noundef nonnull align 4 dereferenceable(4) %1)
  br i1 %30, label %34, label %31

31:                                               ; preds = %8
  %32 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.7, i32 noundef 192, ptr noundef nonnull @.str.13)
  br i1 %32, label %33, label %34

33:                                               ; preds = %31
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !5
  br label %34

34:                                               ; preds = %33, %31, %8
  %35 = tail call noundef zeroext i1 @_ZNK3JPH13CylinderShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(56) %0, double %4, double %5)
  br i1 %35, label %39, label %36

36:                                               ; preds = %34
  %37 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.7, i32 noundef 193)
  br i1 %37, label %38, label %39

38:                                               ; preds = %36
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !6
  br label %39

39:                                               ; preds = %34, %36, %38
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  %40 = call { double, double } @_ZNK3JPH4Vec33AbsEv(ptr noundef nonnull align 16 dereferenceable(16) %10)
  %41 = extractvalue { double, double } %40, 0
  store double %41, ptr %11, align 16
  %42 = getelementptr inbounds i8, ptr %11, i64 8
  %43 = extractvalue { double, double } %40, 1
  store double %43, ptr %42, align 8
  %44 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %11)
  %45 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %11)
  %46 = getelementptr inbounds i8, ptr %0, i64 44
  %47 = load float, ptr %46, align 4, !tbaa !7
  %48 = fmul float %45, %47
  %49 = getelementptr inbounds i8, ptr %0, i64 48
  %50 = load float, ptr %49, align 8, !tbaa !23
  %51 = fmul float %44, %50
  %52 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  %53 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  %54 = call noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  %55 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %52)
  %56 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %54)
  %57 = fadd float %55, %56
  %58 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %53)
  %59 = fcmp ogt float %57, %58
  br i1 %59, label %60, label %81

60:                                               ; preds = %39
  %61 = fneg float %51
  %62 = call noundef float @_ZSt4sqrtf(float noundef %57)
  %63 = fdiv float %61, %62
  %64 = fmul float %52, %63
  %65 = fmul float %54, %63
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef %64, float noundef %48, float noundef %65)
  %66 = load double, ptr %13, align 16
  %67 = getelementptr inbounds i8, ptr %13, i64 8
  %68 = load double, ptr %67, align 8
  %69 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %6, double %66, double %68)
  %70 = extractvalue { double, double } %69, 0
  store double %70, ptr %12, align 16
  %71 = getelementptr inbounds i8, ptr %12, i64 8
  %72 = extractvalue { double, double } %69, 1
  store double %72, ptr %71, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %12)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #9
  %73 = fneg float %48
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef %64, float noundef %73, float noundef %65)
  %74 = load double, ptr %15, align 16
  %75 = getelementptr inbounds i8, ptr %15, i64 8
  %76 = load double, ptr %75, align 8
  %77 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %6, double %74, double %76)
  %78 = extractvalue { double, double } %77, 0
  store double %78, ptr %14, align 16
  %79 = getelementptr inbounds i8, ptr %14, i64 8
  %80 = extractvalue { double, double } %77, 1
  store double %80, ptr %79, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  br label %138

81:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #9
  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 !24
  %82 = fmul float %58, 0x3F7F5A1580000000
  %83 = fcmp ogt float %57, %82
  br i1 %83, label %84, label %106

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #9
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %18, float noundef %52, float noundef 0.000000e+00, float noundef %54, float noundef 0.000000e+00)
  %85 = call noundef float @_ZSt4sqrtf(float noundef %57)
  %86 = call { double, double } @_ZNK3JPH4Vec4dvEf(ptr noundef nonnull align 16 dereferenceable(16) %18, float noundef %85)
  %87 = extractvalue { double, double } %86, 0
  store double %87, ptr %17, align 16
  %88 = getelementptr inbounds i8, ptr %17, i64 8
  %89 = extractvalue { double, double } %86, 1
  store double %89, ptr %88, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #9
  %90 = call { double, double } @_ZNK3JPH4Vec47SwizzleILj2ELj1ELj0ELj3EEES0_v(ptr noundef nonnull align 16 dereferenceable(16) %17)
  %91 = extractvalue { double, double } %90, 0
  store double %91, ptr %19, align 16
  %92 = getelementptr inbounds i8, ptr %19, i64 8
  %93 = extractvalue { double, double } %90, 1
  store double %93, ptr %92, align 8
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %20, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %94 = load double, ptr %20, align 16
  %95 = getelementptr inbounds i8, ptr %20, i64 8
  %96 = load double, ptr %95, align 8
  %97 = call { double, double } @_ZNK3JPH4Vec4mlES0_(ptr noundef nonnull align 16 dereferenceable(16) %19, double %94, double %96)
  %98 = extractvalue { double, double } %97, 0
  %99 = extractvalue { double, double } %97, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #9
  %.sroa.09.0.copyload = load double, ptr %17, align 16
  %.sroa.210.0.copyload = load double, ptr %88, align 8, !tbaa !25
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %23, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %100 = load double, ptr %23, align 16
  %101 = getelementptr inbounds i8, ptr %23, i64 8
  %102 = load double, ptr %101, align 8
  %103 = load double, ptr %24, align 16
  %104 = getelementptr inbounds i8, ptr %24, i64 8
  %105 = load double, ptr %104, align 8
  call void @_ZN3JPH5Mat44C2ENS_4Vec4ES1_S1_S1_(ptr noundef nonnull align 16 dereferenceable(64) %22, double %.sroa.09.0.copyload, double %.sroa.210.0.copyload, double %100, double %102, double %98, double %99, double %103, double %105)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %21, ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(64) %22)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(64) %21, i64 64, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  br label %106

106:                                              ; preds = %84, %81
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #9
  %107 = fcmp olt float %53, 0.000000e+00
  br i1 %107, label %108, label %109

108:                                              ; preds = %106
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %25, float noundef %51, float noundef %48, float noundef %51)
  br label %112

109:                                              ; preds = %106
  %110 = fneg float %51
  %111 = fneg float %48
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %25, float noundef %110, float noundef %111, float noundef %51)
  br label %112

112:                                              ; preds = %109, %108
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %26) #9
  %.sroa.05.0.copyload = load double, ptr %25, align 16
  %.sroa.26.0..sroa_idx = getelementptr inbounds i8, ptr %25, i64 8
  %.sroa.26.0.copyload = load double, ptr %.sroa.26.0..sroa_idx, align 8, !tbaa !25
  call void @_ZNK3JPH5Mat449PreScaledENS_4Vec3E(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %26, ptr noundef nonnull align 16 dereferenceable(64) %16, double %.sroa.05.0.copyload, double %.sroa.26.0.copyload)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(64) %26, i64 64, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #9
  %113 = getelementptr inbounds i8, ptr %27, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  %.sroa.0.0.copyload = load double, ptr @_ZN3JPHL16cCylinderTopFaceE, align 16
  %.sroa.2.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 8), align 8, !tbaa !25
  %114 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %115 = extractvalue { double, double } %114, 0
  store double %115, ptr %27, align 16
  %116 = extractvalue { double, double } %114, 1
  store double %116, ptr %113, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  %.sroa.0.0.copyload.1 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 16), align 16
  %.sroa.2.0.copyload.1 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 24), align 8, !tbaa !25
  %117 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %.sroa.0.0.copyload.1, double %.sroa.2.0.copyload.1)
  %118 = extractvalue { double, double } %117, 0
  store double %118, ptr %27, align 16
  %119 = extractvalue { double, double } %117, 1
  store double %119, ptr %113, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  %.sroa.0.0.copyload.2 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 32), align 16
  %.sroa.2.0.copyload.2 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 40), align 8, !tbaa !25
  %120 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %.sroa.0.0.copyload.2, double %.sroa.2.0.copyload.2)
  %121 = extractvalue { double, double } %120, 0
  store double %121, ptr %27, align 16
  %122 = extractvalue { double, double } %120, 1
  store double %122, ptr %113, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  %.sroa.0.0.copyload.3 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 48), align 16
  %.sroa.2.0.copyload.3 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 56), align 8, !tbaa !25
  %123 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %.sroa.0.0.copyload.3, double %.sroa.2.0.copyload.3)
  %124 = extractvalue { double, double } %123, 0
  store double %124, ptr %27, align 16
  %125 = extractvalue { double, double } %123, 1
  store double %125, ptr %113, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  %.sroa.0.0.copyload.4 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 64), align 16
  %.sroa.2.0.copyload.4 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 72), align 8, !tbaa !25
  %126 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %.sroa.0.0.copyload.4, double %.sroa.2.0.copyload.4)
  %127 = extractvalue { double, double } %126, 0
  store double %127, ptr %27, align 16
  %128 = extractvalue { double, double } %126, 1
  store double %128, ptr %113, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  %.sroa.0.0.copyload.5 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 80), align 16
  %.sroa.2.0.copyload.5 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 88), align 8, !tbaa !25
  %129 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %.sroa.0.0.copyload.5, double %.sroa.2.0.copyload.5)
  %130 = extractvalue { double, double } %129, 0
  store double %130, ptr %27, align 16
  %131 = extractvalue { double, double } %129, 1
  store double %131, ptr %113, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  %.sroa.0.0.copyload.6 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 96), align 16
  %.sroa.2.0.copyload.6 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 104), align 8, !tbaa !25
  %132 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %.sroa.0.0.copyload.6, double %.sroa.2.0.copyload.6)
  %133 = extractvalue { double, double } %132, 0
  store double %133, ptr %27, align 16
  %134 = extractvalue { double, double } %132, 1
  store double %134, ptr %113, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  %.sroa.0.0.copyload.7 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 112), align 16
  %.sroa.2.0.copyload.7 = load double, ptr getelementptr inbounds (i8, ptr @_ZN3JPHL16cCylinderTopFaceE, i64 120), align 8, !tbaa !25
  %135 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %.sroa.0.0.copyload.7, double %.sroa.2.0.copyload.7)
  %136 = extractvalue { double, double } %135, 0
  store double %136, ptr %27, align 16
  %137 = extractvalue { double, double } %135, 1
  store double %137, ptr %113, align 8
  call void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528) %7, ptr noundef nonnull align 16 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #9
  br label %138

138:                                              ; preds = %112, %60
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH10SubShapeID7IsEmptyEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH11StaticArrayINS_4Vec3ELj32EE9push_backERKS1_(ptr noundef nonnull align 16 dereferenceable(528), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #7 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec4mlES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_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 #7 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5Mat44C2ENS_4Vec4ES1_S1_S1_(ptr noundef nonnull align 16 dereferenceable(64), double, double, double, double, double, double, double, double) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat449PreScaledENS_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

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 = { 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 #3 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 = { 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 = { 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 = !{i64 2157925772}
!6 = !{i64 2157926121}
!7 = !{!8, !22, i64 44}
!8 = !{!"_ZTSN3JPH13CylinderShapeE", !9, i64 0, !22, i64 44, !22, i64 48, !22, i64 52}
!9 = !{!"_ZTSN3JPH11ConvexShapeE", !10, i64 0, !20, i64 32, !22, i64 40}
!10 = !{!"_ZTSN3JPH5ShapeE", !11, i64 8, !17, i64 16, !18, i64 24, !19, i64 25}
!11 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !12, i64 0}
!12 = !{!"_ZTSSt6atomicIjE", !13, i64 0}
!13 = !{!"_ZTSSt13__atomic_baseIjE", !14, i64 0}
!14 = !{!"int", !15, i64 0}
!15 = !{!"omnipotent char", !16, i64 0}
!16 = !{!"Simple C++ TBAA"}
!17 = !{!"long", !15, i64 0}
!18 = !{!"_ZTSN3JPH10EShapeTypeE", !15, i64 0}
!19 = !{!"_ZTSN3JPH13EShapeSubTypeE", !15, i64 0}
!20 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !21, i64 0}
!21 = !{!"any pointer", !15, i64 0}
!22 = !{!"float", !15, i64 0}
!23 = !{!8, !22, i64 48}
!24 = !{i64 0, i64 64, !25}
!25 = !{!15, !15, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass