; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/ConvexCollision (ClosestPointTest)

; 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 }
%union.anon = type { <4 x float> }
%"class.Test::PreUpdateParams" = type { float, [12 x i8], %struct.CameraState }
%struct.CameraState = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, [12 x i8] }>

; 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: mustprogress uwtable
define dso_local void @_ZN16ClosestPointTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 16 dereferenceable(80) %1) unnamed_addr #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %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 %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = alloca %"class.JPH::Vec3", align 16
  %45 = alloca %"class.JPH::Vec3", align 16
  %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 %"class.JPH::Vec3", align 16
  %53 = alloca %"class.JPH::Vec3", 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 %"class.JPH::Vec3", align 16
  %62 = alloca %"class.JPH::Vec3", 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::Vec3", align 16
  %67 = alloca %"class.JPH::Vec3", align 16
  %68 = alloca %"class.JPH::Vec3", align 16
  %69 = alloca %"class.JPH::Vec3", align 16
  %70 = alloca %"class.JPH::Vec3", align 16
  %71 = alloca %"class.JPH::Vec3", align 16
  %72 = alloca %"class.JPH::Vec3", align 16
  %73 = alloca %"class.JPH::Vec3", align 16
  %74 = alloca %"class.JPH::Vec3", align 16
  %75 = alloca %"class.JPH::Vec3", align 16
  %76 = alloca %"class.JPH::Vec3", align 16
  %77 = alloca %"class.JPH::Vec3", align 16
  %78 = alloca %"class.JPH::Vec3", align 16
  %79 = alloca %"class.JPH::Vec3", align 16
  %80 = alloca %"class.JPH::Vec3", align 16
  %81 = alloca %"class.JPH::Vec3", align 16
  %82 = alloca %"class.JPH::Vec3", align 16
  %83 = alloca %"class.JPH::Vec3", align 16
  %84 = alloca %"class.JPH::Vec3", align 16
  %85 = alloca %"class.JPH::Vec3", align 16
  %86 = alloca %"class.JPH::Vec3", align 16
  %87 = alloca %"class.JPH::Vec3", align 16
  %88 = alloca %"class.JPH::Vec3", align 16
  %89 = alloca %"class.JPH::Vec3", align 16
  %90 = alloca %"class.JPH::Vec3", align 16
  %91 = alloca %"class.JPH::Vec3", align 16
  %92 = alloca %"class.JPH::Vec3", align 16
  %93 = alloca %"class.JPH::Vec3", align 16
  %94 = alloca %"class.JPH::Vec3", align 16
  %95 = alloca %"class.JPH::Vec3", align 16
  %96 = alloca %"class.JPH::Vec3", align 16
  %97 = alloca %"class.JPH::Vec3", align 16
  %98 = alloca %"class.JPH::Vec3", align 16
  %99 = alloca %"class.JPH::Vec3", align 16
  %100 = alloca %"class.JPH::Vec3", align 16
  %101 = alloca %"class.JPH::Vec3", align 16
  %102 = alloca %"class.JPH::Vec3", align 16
  %103 = alloca %"class.JPH::Vec3", align 16
  %104 = alloca %"class.JPH::Vec3", align 16
  %105 = alloca %"class.JPH::Vec3", align 16
  %106 = alloca %"class.JPH::Vec3", align 16
  %107 = alloca %"class.JPH::Vec3", align 16
  %108 = alloca %"class.JPH::Vec3", align 16
  %109 = alloca %"class.JPH::Vec3", align 16
  %110 = alloca %"class.JPH::Vec3", align 16
  %111 = alloca %"class.JPH::Vec3", align 16
  %112 = alloca %"class.JPH::Vec3", align 16
  %113 = alloca %"class.JPH::Vec3", align 16
  %114 = alloca %"class.JPH::Vec3", align 16
  %115 = alloca %"class.JPH::Vec3", align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %116 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #4
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %"class.Test::PreUpdateParams", ptr %117, i32 0, i32 2
  %119 = getelementptr inbounds %struct.CameraState, ptr %118, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 %119, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %6, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %9, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 %6, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 %7, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !9
  %120 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  %121 = load double, ptr %120, align 16
  %122 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  %123 = load double, ptr %122, align 8
  %124 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  %125 = load double, ptr %124, align 16
  %126 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  %127 = load double, ptr %126, align 8
  %128 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 0
  %129 = load double, ptr %128, align 16
  %130 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 1
  %131 = load double, ptr %130, align 8
  %132 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %133 = load double, ptr %132, align 16
  %134 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %135 = load double, ptr %134, align 8
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %121, double %123, double %125, double %127, double %129, double %131, double %133, double %135, ptr noundef byval(%"class.JPH::Vec3") align 16 %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef 2.000000e+00, float noundef -2.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef 1.000000e+00, float noundef -2.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef 2.000000e+00, float noundef -2.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %18, float noundef 1.000000e+00, float noundef -3.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %15, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 %16, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 %18, i64 16, i1 false), !tbaa.struct !9
  %136 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %137 = load double, ptr %136, align 16
  %138 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %139 = load double, ptr %138, align 8
  %140 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %141 = load double, ptr %140, align 16
  %142 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %143 = load double, ptr %142, align 8
  %144 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %145 = load double, ptr %144, align 16
  %146 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %147 = load double, ptr %146, align 8
  %148 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %149 = load double, ptr %148, align 16
  %150 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %151 = load double, ptr %150, align 8
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %137, double %139, double %141, double %143, double %145, double %147, double %149, double %151, ptr noundef byval(%"class.JPH::Vec3") align 16 %23)
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef 2.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %24, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef 2.000000e+00, float noundef 3.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef 1.000000e+00, float noundef 4.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %24, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %30, ptr align 16 %25, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %31, ptr align 16 %26, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %32, ptr align 16 %27, i64 16, i1 false), !tbaa.struct !9
  %152 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %153 = load double, ptr %152, align 16
  %154 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %155 = load double, ptr %154, align 8
  %156 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %157 = load double, ptr %156, align 16
  %158 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %159 = load double, ptr %158, align 8
  %160 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %161 = load double, ptr %160, align 16
  %162 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %163 = load double, ptr %162, align 8
  %164 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %165 = load double, ptr %164, align 16
  %166 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %167 = load double, ptr %166, align 8
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %153, double %155, double %157, double %159, double %161, double %163, double %165, double %167, ptr noundef byval(%"class.JPH::Vec3") align 16 %32)
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %33, float noundef 2.000000e+00, float noundef 6.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef 1.000000e+00, float noundef 6.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %33, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %36, float noundef 1.000000e+00, float noundef 7.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 %33, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %39, ptr align 16 %34, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %40, ptr align 16 %35, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 16 %36, i64 16, i1 false), !tbaa.struct !9
  %168 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %169 = load double, ptr %168, align 16
  %170 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %171 = load double, ptr %170, align 8
  %172 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %173 = load double, ptr %172, align 16
  %174 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %175 = load double, ptr %174, align 8
  %176 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %177 = load double, ptr %176, align 16
  %178 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %179 = load double, ptr %178, align 8
  %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
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %169, double %171, double %173, double %175, double %177, double %179, double %181, double %183, ptr noundef byval(%"class.JPH::Vec3") align 16 %41)
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %42, float noundef 2.000000e+00, float noundef 9.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %43, float noundef 1.000000e+00, float noundef 9.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %44, float noundef 2.000000e+00, float noundef 9.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %45, ptr align 16 %42, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %46, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %47, ptr align 16 %42, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %48, ptr align 16 %43, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 16 %44, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %50, ptr align 16 %45, i64 16, i1 false), !tbaa.struct !9
  %184 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %185 = load double, ptr %184, align 16
  %186 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %187 = load double, ptr %186, align 8
  %188 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %189 = load double, ptr %188, align 16
  %190 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %191 = load double, ptr %190, align 8
  %192 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %193 = load double, ptr %192, align 16
  %194 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %195 = load double, ptr %194, align 8
  %196 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 0
  %197 = load double, ptr %196, align 16
  %198 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 1
  %199 = load double, ptr %198, align 8
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %185, double %187, double %189, double %191, double %193, double %195, double %197, double %199, ptr noundef byval(%"class.JPH::Vec3") align 16 %50)
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %51, float noundef 2.000000e+00, float noundef 1.200000e+01, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %52, float noundef 1.000000e+00, float noundef 1.200000e+01, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %53) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %53, ptr align 16 %52, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %54, float noundef 1.000000e+00, float noundef 1.300000e+01, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %55, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %56, ptr align 16 %51, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %57, ptr align 16 %52, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %58, ptr align 16 %53, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %59, ptr align 16 %54, i64 16, i1 false), !tbaa.struct !9
  %200 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %201 = load double, ptr %200, align 16
  %202 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %203 = load double, ptr %202, align 8
  %204 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 0
  %205 = load double, ptr %204, align 16
  %206 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 1
  %207 = load double, ptr %206, align 8
  %208 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 0
  %209 = load double, ptr %208, align 16
  %210 = getelementptr inbounds { double, double }, ptr %57, i32 0, i32 1
  %211 = load double, ptr %210, align 8
  %212 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 0
  %213 = load double, ptr %212, align 16
  %214 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 1
  %215 = load double, ptr %214, align 8
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %201, double %203, double %205, double %207, double %209, double %211, double %213, double %215, ptr noundef byval(%"class.JPH::Vec3") align 16 %59)
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %60) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %60, float noundef 2.000000e+00, float noundef 1.500000e+01, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %61, float noundef 1.000000e+00, float noundef 1.500000e+01, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %62, float noundef 2.000000e+00, float noundef 1.500000e+01, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %63) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %63, ptr align 16 %61, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %64, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %65, ptr align 16 %60, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %66, ptr align 16 %61, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %67, ptr align 16 %62, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %68, ptr align 16 %63, i64 16, i1 false), !tbaa.struct !9
  %216 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 0
  %217 = load double, ptr %216, align 16
  %218 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 1
  %219 = load double, ptr %218, align 8
  %220 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 0
  %221 = load double, ptr %220, align 16
  %222 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 1
  %223 = load double, ptr %222, align 8
  %224 = getelementptr inbounds { double, double }, ptr %66, i32 0, i32 0
  %225 = load double, ptr %224, align 16
  %226 = getelementptr inbounds { double, double }, ptr %66, i32 0, i32 1
  %227 = load double, ptr %226, align 8
  %228 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 0
  %229 = load double, ptr %228, align 16
  %230 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 1
  %231 = load double, ptr %230, align 8
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %217, double %219, double %221, double %223, double %225, double %227, double %229, double %231, ptr noundef byval(%"class.JPH::Vec3") align 16 %68)
  call void @llvm.lifetime.end.p0(i64 16, ptr %63) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %69) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %69, float noundef 2.000000e+00, float noundef 1.800000e+01, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %70) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %70, float noundef 1.000000e+00, float noundef 1.800000e+01, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %71) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %71, float noundef 2.000000e+00, float noundef 1.800000e+01, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %72) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %72, ptr align 16 %71, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %73, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %74, ptr align 16 %69, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %75, ptr align 16 %70, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %76, ptr align 16 %71, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %77, ptr align 16 %72, i64 16, i1 false), !tbaa.struct !9
  %232 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 0
  %233 = load double, ptr %232, align 16
  %234 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 1
  %235 = load double, ptr %234, align 8
  %236 = getelementptr inbounds { double, double }, ptr %74, i32 0, i32 0
  %237 = load double, ptr %236, align 16
  %238 = getelementptr inbounds { double, double }, ptr %74, i32 0, i32 1
  %239 = load double, ptr %238, align 8
  %240 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 0
  %241 = load double, ptr %240, align 16
  %242 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 1
  %243 = load double, ptr %242, align 8
  %244 = getelementptr inbounds { double, double }, ptr %76, i32 0, i32 0
  %245 = load double, ptr %244, align 16
  %246 = getelementptr inbounds { double, double }, ptr %76, i32 0, i32 1
  %247 = load double, ptr %246, align 8
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %233, double %235, double %237, double %239, double %241, double %243, double %245, double %247, ptr noundef byval(%"class.JPH::Vec3") align 16 %77)
  call void @llvm.lifetime.end.p0(i64 16, ptr %72) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %70) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %78) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %78, float noundef 5.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %79) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %79, float noundef 4.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %80) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %80, float noundef 5.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %81, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %82, ptr align 16 %78, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %83, ptr align 16 %79, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %84, ptr align 16 %80, i64 16, i1 false), !tbaa.struct !9
  %248 = getelementptr inbounds { double, double }, ptr %81, i32 0, i32 0
  %249 = load double, ptr %248, align 16
  %250 = getelementptr inbounds { double, double }, ptr %81, i32 0, i32 1
  %251 = load double, ptr %250, align 8
  %252 = getelementptr inbounds { double, double }, ptr %82, i32 0, i32 0
  %253 = load double, ptr %252, align 16
  %254 = getelementptr inbounds { double, double }, ptr %82, i32 0, i32 1
  %255 = load double, ptr %254, align 8
  %256 = getelementptr inbounds { double, double }, ptr %83, i32 0, i32 0
  %257 = load double, ptr %256, align 16
  %258 = getelementptr inbounds { double, double }, ptr %83, i32 0, i32 1
  %259 = load double, ptr %258, align 8
  %260 = getelementptr inbounds { double, double }, ptr %84, i32 0, i32 0
  %261 = load double, ptr %260, align 16
  %262 = getelementptr inbounds { double, double }, ptr %84, i32 0, i32 1
  %263 = load double, ptr %262, align 8
  call void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %249, double %251, double %253, double %255, double %257, double %259, double %261, double %263)
  call void @llvm.lifetime.end.p0(i64 16, ptr %80) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %79) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %78) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %85) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %85, float noundef 5.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %86) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %86, ptr align 16 %85, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %87) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %87, float noundef 5.000000e+00, float noundef 3.000000e+00, float noundef 1.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %88, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %89, ptr align 16 %85, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %90, ptr align 16 %86, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %91, ptr align 16 %87, i64 16, i1 false), !tbaa.struct !9
  %264 = getelementptr inbounds { double, double }, ptr %88, i32 0, i32 0
  %265 = load double, ptr %264, align 16
  %266 = getelementptr inbounds { double, double }, ptr %88, i32 0, i32 1
  %267 = load double, ptr %266, align 8
  %268 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 0
  %269 = load double, ptr %268, align 16
  %270 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 1
  %271 = load double, ptr %270, align 8
  %272 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 0
  %273 = load double, ptr %272, align 16
  %274 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 1
  %275 = load double, ptr %274, align 8
  %276 = getelementptr inbounds { double, double }, ptr %91, i32 0, i32 0
  %277 = load double, ptr %276, align 16
  %278 = getelementptr inbounds { double, double }, ptr %91, i32 0, i32 1
  %279 = load double, ptr %278, align 8
  call void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %265, double %267, double %269, double %271, double %273, double %275, double %277, double %279)
  call void @llvm.lifetime.end.p0(i64 16, ptr %87) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %86) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %85) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %92) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %92, float noundef 5.000000e+00, float noundef 6.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %93) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %93, float noundef 4.000000e+00, float noundef 6.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %94) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %94, ptr align 16 %92, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %95, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %96, ptr align 16 %92, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %97, ptr align 16 %93, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %98, ptr align 16 %94, i64 16, i1 false), !tbaa.struct !9
  %280 = getelementptr inbounds { double, double }, ptr %95, i32 0, i32 0
  %281 = load double, ptr %280, align 16
  %282 = getelementptr inbounds { double, double }, ptr %95, i32 0, i32 1
  %283 = load double, ptr %282, align 8
  %284 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 0
  %285 = load double, ptr %284, align 16
  %286 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 1
  %287 = load double, ptr %286, align 8
  %288 = getelementptr inbounds { double, double }, ptr %97, i32 0, i32 0
  %289 = load double, ptr %288, align 16
  %290 = getelementptr inbounds { double, double }, ptr %97, i32 0, i32 1
  %291 = load double, ptr %290, align 8
  %292 = getelementptr inbounds { double, double }, ptr %98, i32 0, i32 0
  %293 = load double, ptr %292, align 16
  %294 = getelementptr inbounds { double, double }, ptr %98, i32 0, i32 1
  %295 = load double, ptr %294, align 8
  call void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %281, double %283, double %285, double %287, double %289, double %291, double %293, double %295)
  call void @llvm.lifetime.end.p0(i64 16, ptr %94) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %93) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %92) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %99) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %99, float noundef 5.000000e+00, float noundef 9.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %100) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %100, float noundef 4.000000e+00, float noundef 9.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %101) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %101, ptr align 16 %100, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %102, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %103, ptr align 16 %99, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %104, ptr align 16 %100, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %105, ptr align 16 %101, i64 16, i1 false), !tbaa.struct !9
  %296 = getelementptr inbounds { double, double }, ptr %102, i32 0, i32 0
  %297 = load double, ptr %296, align 16
  %298 = getelementptr inbounds { double, double }, ptr %102, i32 0, i32 1
  %299 = load double, ptr %298, align 8
  %300 = getelementptr inbounds { double, double }, ptr %103, i32 0, i32 0
  %301 = load double, ptr %300, align 16
  %302 = getelementptr inbounds { double, double }, ptr %103, i32 0, i32 1
  %303 = load double, ptr %302, align 8
  %304 = getelementptr inbounds { double, double }, ptr %104, i32 0, i32 0
  %305 = load double, ptr %304, align 16
  %306 = getelementptr inbounds { double, double }, ptr %104, i32 0, i32 1
  %307 = load double, ptr %306, align 8
  %308 = getelementptr inbounds { double, double }, ptr %105, i32 0, i32 0
  %309 = load double, ptr %308, align 16
  %310 = getelementptr inbounds { double, double }, ptr %105, i32 0, i32 1
  %311 = load double, ptr %310, align 8
  call void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %297, double %299, double %301, double %303, double %305, double %307, double %309, double %311)
  call void @llvm.lifetime.end.p0(i64 16, ptr %101) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %100) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %99) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %106) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %106, float noundef 1.000000e+01, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %107) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %107, float noundef 9.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %108, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %109, ptr align 16 %106, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %110, ptr align 16 %107, i64 16, i1 false), !tbaa.struct !9
  %312 = getelementptr inbounds { double, double }, ptr %108, i32 0, i32 0
  %313 = load double, ptr %312, align 16
  %314 = getelementptr inbounds { double, double }, ptr %108, i32 0, i32 1
  %315 = load double, ptr %314, align 8
  %316 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 0
  %317 = load double, ptr %316, align 16
  %318 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 1
  %319 = load double, ptr %318, align 8
  %320 = getelementptr inbounds { double, double }, ptr %110, i32 0, i32 0
  %321 = load double, ptr %320, align 16
  %322 = getelementptr inbounds { double, double }, ptr %110, i32 0, i32 1
  %323 = load double, ptr %322, align 8
  call void @_ZN16ClosestPointTest8TestLineEN3JPH4Vec3ES1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %313, double %315, double %317, double %319, double %321, double %323)
  call void @llvm.lifetime.end.p0(i64 16, ptr %107) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %106) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %111) #4
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %111, float noundef 1.000000e+01, float noundef 3.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %112) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %112, ptr align 16 %111, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %113, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %114, ptr align 16 %111, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %115, ptr align 16 %112, i64 16, i1 false), !tbaa.struct !9
  %324 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 0
  %325 = load double, ptr %324, align 16
  %326 = getelementptr inbounds { double, double }, ptr %113, i32 0, i32 1
  %327 = load double, ptr %326, align 8
  %328 = getelementptr inbounds { double, double }, ptr %114, i32 0, i32 0
  %329 = load double, ptr %328, align 16
  %330 = getelementptr inbounds { double, double }, ptr %114, i32 0, i32 1
  %331 = load double, ptr %330, align 8
  %332 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 0
  %333 = load double, ptr %332, align 16
  %334 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 1
  %335 = load double, ptr %334, align 8
  call void @_ZN16ClosestPointTest8TestLineEN3JPH4Vec3ES1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %116, double %325, double %327, double %329, double %331, double %333, double %335)
  call void @llvm.lifetime.end.p0(i64 16, ptr %112) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %111) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112), double, double, double, double, double, double, double, double, ptr noundef byval(%"class.JPH::Vec3") align 16) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112), double, double, double, double, double, double, double, double) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16ClosestPointTest8TestLineEN3JPH4Vec3ES1_S1_(ptr noundef nonnull align 8 dereferenceable(112), double, double, double, double, double, double) #1 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 = { 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 0, i64 16, !10}
!10 = !{!7, !7, i64 0}


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

%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16ClosestPointTest16PrePhysicsUpdateERKN4Test15PreUpdateParamsE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr nocapture noundef nonnull readonly align 16 dereferenceable(80) %1) unnamed_addr #1 align 2 {
  %3 = alloca %"class.JPH::Vec3", align 16
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %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 %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = getelementptr inbounds i8, ptr %1, i64 16
  %.sroa.0126.0.copyload = load double, ptr %44, align 16
  %.sroa.17.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 24
  %.sroa.17.0.copyload = load double, ptr %.sroa.17.0..sroa_idx, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %3, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %5, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %6, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %.sroa.0122.0.copyload = load double, ptr %3, align 16
  %.sroa.2123.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  %.sroa.2123.0.copyload = load double, ptr %.sroa.2123.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0120.0.copyload = load double, ptr %4, align 16
  %.sroa.2121.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.2121.0.copyload = load double, ptr %.sroa.2121.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0118.0.copyload = load double, ptr %5, align 16
  %.sroa.2119.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.2119.0.copyload = load double, ptr %.sroa.2119.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.0122.0.copyload, double %.sroa.2123.0.copyload, double %.sroa.0120.0.copyload, double %.sroa.2121.0.copyload, double %.sroa.0118.0.copyload, double %.sroa.2119.0.copyload, ptr noundef nonnull byval(%"class.JPH::Vec3") align 16 %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef 2.000000e+00, float noundef -2.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 1.000000e+00, float noundef -2.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %9, float noundef 2.000000e+00, float noundef -2.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %10, float noundef 1.000000e+00, float noundef -3.000000e+00, float noundef 0.000000e+00)
  %.sroa.0114.0.copyload = load double, ptr %7, align 16
  %.sroa.2115.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.2115.0.copyload = load double, ptr %.sroa.2115.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0112.0.copyload = load double, ptr %8, align 16
  %.sroa.2113.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  %.sroa.2113.0.copyload = load double, ptr %.sroa.2113.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0110.0.copyload = load double, ptr %9, align 16
  %.sroa.2111.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  %.sroa.2111.0.copyload = load double, ptr %.sroa.2111.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.0114.0.copyload, double %.sroa.2115.0.copyload, double %.sroa.0112.0.copyload, double %.sroa.2113.0.copyload, double %.sroa.0110.0.copyload, double %.sroa.2111.0.copyload, ptr noundef nonnull byval(%"class.JPH::Vec3") align 16 %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef 2.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
  %.sroa.0108.0.copyload = load double, ptr %11, align 16
  %.sroa.4109.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %.sroa.4109.0.copyload = load double, ptr %.sroa.4109.0..sroa_idx, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %12, float noundef 2.000000e+00, float noundef 3.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef 1.000000e+00, float noundef 4.000000e+00, float noundef 0.000000e+00)
  %.sroa.0104.0.copyload = load double, ptr %11, align 16
  %.sroa.2105.0.copyload = load double, ptr %.sroa.4109.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0100.0.copyload = load double, ptr %12, align 16
  %.sroa.2101.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.2101.0.copyload = load double, ptr %.sroa.2101.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.0104.0.copyload, double %.sroa.2105.0.copyload, double %.sroa.0108.0.copyload, double %.sroa.4109.0.copyload, double %.sroa.0100.0.copyload, double %.sroa.2101.0.copyload, ptr noundef nonnull byval(%"class.JPH::Vec3") align 16 %13)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %14, float noundef 2.000000e+00, float noundef 6.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef 1.000000e+00, float noundef 6.000000e+00, float noundef 1.000000e+00)
  %.sroa.098.0.copyload = load double, ptr %14, align 16
  %.sroa.499.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  %.sroa.499.0.copyload = load double, ptr %.sroa.499.0..sroa_idx, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef 1.000000e+00, float noundef 7.000000e+00, float noundef 0.000000e+00)
  %.sroa.094.0.copyload = load double, ptr %14, align 16
  %.sroa.295.0.copyload = load double, ptr %.sroa.499.0..sroa_idx, align 8, !tbaa !5
  %.sroa.092.0.copyload = load double, ptr %15, align 16
  %.sroa.293.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  %.sroa.293.0.copyload = load double, ptr %.sroa.293.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.094.0.copyload, double %.sroa.295.0.copyload, double %.sroa.092.0.copyload, double %.sroa.293.0.copyload, double %.sroa.098.0.copyload, double %.sroa.499.0.copyload, ptr noundef nonnull byval(%"class.JPH::Vec3") align 16 %16)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef 2.000000e+00, float noundef 9.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %18, float noundef 1.000000e+00, float noundef 9.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef 2.000000e+00, float noundef 9.000000e+00, float noundef 1.000000e+00)
  %.sroa.088.0.copyload = load <4 x float>, ptr %17, align 16
  %bc129 = bitcast <4 x float> %.sroa.088.0.copyload to <2 x double>
  %45 = extractelement <2 x double> %bc129, i64 0
  %bc130 = bitcast <4 x float> %.sroa.088.0.copyload to <2 x double>
  %46 = extractelement <2 x double> %bc130, i64 1
  %.sroa.082.0.copyload = load double, ptr %18, align 16
  %.sroa.283.0..sroa_idx = getelementptr inbounds i8, ptr %18, i64 8
  %.sroa.283.0.copyload = load double, ptr %.sroa.283.0..sroa_idx, align 8, !tbaa !5
  %.sroa.080.0.copyload = load double, ptr %19, align 16
  %.sroa.281.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  %.sroa.281.0.copyload = load double, ptr %.sroa.281.0..sroa_idx, align 8, !tbaa !5
  store <4 x float> %.sroa.088.0.copyload, ptr %20, align 16, !tbaa !5
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %45, double %46, double %.sroa.082.0.copyload, double %.sroa.283.0.copyload, double %.sroa.080.0.copyload, double %.sroa.281.0.copyload, ptr noundef nonnull byval(%"class.JPH::Vec3") align 16 %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %21, float noundef 2.000000e+00, float noundef 1.200000e+01, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %22, float noundef 1.000000e+00, float noundef 1.200000e+01, float noundef 1.000000e+00)
  %.sroa.078.0.copyload = load double, ptr %22, align 16
  %.sroa.479.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 8
  %.sroa.479.0.copyload = load double, ptr %.sroa.479.0..sroa_idx, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %23, float noundef 1.000000e+00, float noundef 1.300000e+01, float noundef 0.000000e+00)
  %.sroa.074.0.copyload = load double, ptr %21, align 16
  %.sroa.275.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 8
  %.sroa.275.0.copyload = load double, ptr %.sroa.275.0..sroa_idx, align 8, !tbaa !5
  %.sroa.072.0.copyload = load double, ptr %22, align 16
  %.sroa.273.0.copyload = load double, ptr %.sroa.479.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.074.0.copyload, double %.sroa.275.0.copyload, double %.sroa.072.0.copyload, double %.sroa.273.0.copyload, double %.sroa.078.0.copyload, double %.sroa.479.0.copyload, ptr noundef nonnull byval(%"class.JPH::Vec3") align 16 %23)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef 2.000000e+00, float noundef 1.500000e+01, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %25, float noundef 1.000000e+00, float noundef 1.500000e+01, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef 2.000000e+00, float noundef 1.500000e+01, float noundef 1.000000e+00)
  %.sroa.068.0.copyload = load <4 x float>, ptr %25, align 16
  %.sroa.064.0.copyload = load double, ptr %24, align 16
  %.sroa.265.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 8
  %.sroa.265.0.copyload = load double, ptr %.sroa.265.0..sroa_idx, align 8, !tbaa !5
  %bc132 = bitcast <4 x float> %.sroa.068.0.copyload to <2 x double>
  %47 = extractelement <2 x double> %bc132, i64 0
  %bc133 = bitcast <4 x float> %.sroa.068.0.copyload to <2 x double>
  %48 = extractelement <2 x double> %bc133, i64 1
  %.sroa.060.0.copyload = load double, ptr %26, align 16
  %.sroa.261.0..sroa_idx = getelementptr inbounds i8, ptr %26, i64 8
  %.sroa.261.0.copyload = load double, ptr %.sroa.261.0..sroa_idx, align 8, !tbaa !5
  store <4 x float> %.sroa.068.0.copyload, ptr %27, align 16, !tbaa !5
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.064.0.copyload, double %.sroa.265.0.copyload, double %47, double %48, double %.sroa.060.0.copyload, double %.sroa.261.0.copyload, ptr noundef nonnull byval(%"class.JPH::Vec3") align 16 %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %28, float noundef 2.000000e+00, float noundef 1.800000e+01, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %29, float noundef 1.000000e+00, float noundef 1.800000e+01, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %30, float noundef 2.000000e+00, float noundef 1.800000e+01, float noundef 1.000000e+00)
  %.sroa.058.0.copyload = load <4 x float>, ptr %30, align 16
  %.sroa.054.0.copyload = load double, ptr %28, align 16
  %.sroa.255.0..sroa_idx = getelementptr inbounds i8, ptr %28, i64 8
  %.sroa.255.0.copyload = load double, ptr %.sroa.255.0..sroa_idx, align 8, !tbaa !5
  %.sroa.052.0.copyload = load double, ptr %29, align 16
  %.sroa.253.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  %.sroa.253.0.copyload = load double, ptr %.sroa.253.0..sroa_idx, align 8, !tbaa !5
  %bc135 = bitcast <4 x float> %.sroa.058.0.copyload to <2 x double>
  %49 = extractelement <2 x double> %bc135, i64 0
  %bc136 = bitcast <4 x float> %.sroa.058.0.copyload to <2 x double>
  %50 = extractelement <2 x double> %bc136, i64 1
  store <4 x float> %.sroa.058.0.copyload, ptr %31, align 16, !tbaa !5
  call void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.054.0.copyload, double %.sroa.255.0.copyload, double %.sroa.052.0.copyload, double %.sroa.253.0.copyload, double %49, double %50, ptr noundef nonnull byval(%"class.JPH::Vec3") align 16 %31)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %32, float noundef 5.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %33, float noundef 4.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef 5.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %.sroa.046.0.copyload = load double, ptr %32, align 16
  %.sroa.247.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 8
  %.sroa.247.0.copyload = load double, ptr %.sroa.247.0..sroa_idx, align 8, !tbaa !5
  %.sroa.044.0.copyload = load double, ptr %33, align 16
  %.sroa.245.0..sroa_idx = getelementptr inbounds i8, ptr %33, i64 8
  %.sroa.245.0.copyload = load double, ptr %.sroa.245.0..sroa_idx, align 8, !tbaa !5
  %.sroa.042.0.copyload = load double, ptr %34, align 16
  %.sroa.243.0..sroa_idx = getelementptr inbounds i8, ptr %34, i64 8
  %.sroa.243.0.copyload = load double, ptr %.sroa.243.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.046.0.copyload, double %.sroa.247.0.copyload, double %.sroa.044.0.copyload, double %.sroa.245.0.copyload, double %.sroa.042.0.copyload, double %.sroa.243.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %35, float noundef 5.000000e+00, float noundef 3.000000e+00, float noundef 0.000000e+00)
  %.sroa.040.0.copyload = load double, ptr %35, align 16
  %.sroa.441.0..sroa_idx = getelementptr inbounds i8, ptr %35, i64 8
  %.sroa.441.0.copyload = load double, ptr %.sroa.441.0..sroa_idx, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %36, float noundef 5.000000e+00, float noundef 3.000000e+00, float noundef 1.000000e+00)
  %.sroa.036.0.copyload = load double, ptr %35, align 16
  %.sroa.237.0.copyload = load double, ptr %.sroa.441.0..sroa_idx, align 8, !tbaa !5
  %.sroa.032.0.copyload = load double, ptr %36, align 16
  %.sroa.233.0..sroa_idx = getelementptr inbounds i8, ptr %36, i64 8
  %.sroa.233.0.copyload = load double, ptr %.sroa.233.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.036.0.copyload, double %.sroa.237.0.copyload, double %.sroa.040.0.copyload, double %.sroa.441.0.copyload, double %.sroa.032.0.copyload, double %.sroa.233.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %37, float noundef 5.000000e+00, float noundef 6.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %38, float noundef 4.000000e+00, float noundef 6.000000e+00, float noundef 1.000000e+00)
  %.sroa.030.0.copyload = load double, ptr %37, align 16
  %.sroa.431.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 8
  %.sroa.431.0.copyload = load double, ptr %.sroa.431.0..sroa_idx, align 8, !tbaa !5
  %.sroa.024.0.copyload = load double, ptr %38, align 16
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %38, i64 8
  %.sroa.225.0.copyload = load double, ptr %.sroa.225.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.030.0.copyload, double %.sroa.431.0.copyload, double %.sroa.024.0.copyload, double %.sroa.225.0.copyload, double %.sroa.030.0.copyload, double %.sroa.431.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %39, float noundef 5.000000e+00, float noundef 9.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %40, float noundef 4.000000e+00, float noundef 9.000000e+00, float noundef 1.000000e+00)
  %.sroa.020.0.copyload = load double, ptr %40, align 16
  %.sroa.421.0..sroa_idx = getelementptr inbounds i8, ptr %40, i64 8
  %.sroa.421.0.copyload = load double, ptr %.sroa.421.0..sroa_idx, align 8, !tbaa !5
  %.sroa.016.0.copyload = load double, ptr %39, align 16
  %.sroa.217.0..sroa_idx = getelementptr inbounds i8, ptr %39, i64 8
  %.sroa.217.0.copyload = load double, ptr %.sroa.217.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.016.0.copyload, double %.sroa.217.0.copyload, double %.sroa.020.0.copyload, double %.sroa.421.0.copyload, double %.sroa.020.0.copyload, double %.sroa.421.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %41, float noundef 1.000000e+01, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %42) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %42, float noundef 9.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %.sroa.08.0.copyload = load double, ptr %41, align 16
  %.sroa.29.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 8
  %.sroa.29.0.copyload = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !5
  %.sroa.06.0.copyload = load double, ptr %42, align 16
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %42, i64 8
  %.sroa.27.0.copyload = load double, ptr %.sroa.27.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest8TestLineEN3JPH4Vec3ES1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.08.0.copyload, double %.sroa.29.0.copyload, double %.sroa.06.0.copyload, double %.sroa.27.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %43) #3
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %43, float noundef 1.000000e+01, float noundef 3.000000e+00, float noundef 0.000000e+00)
  %.sroa.05.0.copyload = load double, ptr %43, align 16
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %43, i64 8
  %.sroa.4.0.copyload = load double, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !5
  call void @_ZN16ClosestPointTest8TestLineEN3JPH4Vec3ES1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %.sroa.0126.0.copyload, double %.sroa.17.0.copyload, double %.sroa.05.0.copyload, double %.sroa.4.0.copyload, double %.sroa.05.0.copyload, double %.sroa.4.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #3
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16ClosestPointTest9TestTetraEN3JPH4Vec3ES1_S1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112), double, double, double, double, double, double, double, double, ptr noundef byval(%"class.JPH::Vec3") align 16) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16ClosestPointTest7TestTriEN3JPH4Vec3ES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(112), double, double, double, double, double, double, double, double) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16ClosestPointTest8TestLineEN3JPH4Vec3ES1_S1_(ptr noundef nonnull align 8 dereferenceable(112), double, double, double, double, double, double) local_unnamed_addr #1 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass