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

; 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::Color" = type { %union.anon.5 }
%union.anon.5 = type { i32 }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"struct.JPH::TransformedConvexObject" = type <{ %"class.JPH::Mat44", ptr, [8 x i8] }>
%"class.JPH::EPAPenetrationDepth" = type { %"class.JPH::GJKClosestPoint", float, [12 x i8] }
%"class.JPH::GJKClosestPoint" = type <{ [4 x %"class.JPH::Vec3"], [4 x %"class.JPH::Vec3"], [4 x %"class.JPH::Vec3"], i32, [12 x i8] }>
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"struct.JPH::AddConvexRadius" = type <{ ptr, float, [4 x i8] }>
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }

@_ZN3JPH5Color6sWhiteE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color4sRedE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color7sYellowE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color5sCyanE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color6sGreenE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color7sOrangeE = external global %"class.JPH::Color", align 4

; 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: mustprogress uwtable
define dso_local void @_ZN20InteractivePairsTest12TestBoxVsBoxEN3JPH4Vec3ES1_fRKNS0_5AABoxES1_S1_fS4_(ptr noundef nonnull align 8 dereferenceable(120) %0, double %1, double %2, double %3, double %4, float noundef %5, ptr noundef nonnull align 16 dereferenceable(32) %6, double %7, double %8, ptr noundef byval(%"class.JPH::Vec3") align 16 %9, float noundef %10, ptr noundef nonnull align 16 dereferenceable(32) %11) #2 align 2 {
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca ptr, align 8
  %17 = alloca float, align 4
  %18 = alloca ptr, align 8
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %"class.JPH::Mat44", align 16
  %22 = alloca %"class.JPH::Mat44", align 16
  %23 = alloca %"class.JPH::Mat44", align 16
  %24 = alloca %"class.JPH::Mat44", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Mat44", align 16
  %27 = alloca %"class.JPH::Mat44", align 16
  %28 = alloca %"class.JPH::Mat44", align 16
  %29 = alloca %"struct.JPH::TransformedConvexObject", align 16
  %30 = alloca %"class.JPH::Mat44", align 16
  %31 = alloca %"class.JPH::Mat44", align 16
  %32 = alloca %"class.JPH::Mat44", align 16
  %33 = alloca %"class.JPH::Mat44", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::Mat44", align 16
  %36 = alloca %"class.JPH::Mat44", align 16
  %37 = alloca %"class.JPH::Mat44", align 16
  %38 = alloca %"struct.JPH::TransformedConvexObject", align 16
  %39 = alloca %"class.JPH::EPAPenetrationDepth", 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::Color", align 4
  %44 = alloca %"class.JPH::AABox", align 16
  %45 = alloca %"class.JPH::Vec3", align 16
  %46 = alloca %"class.JPH::AABox", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Color", align 4
  %49 = alloca %"class.JPH::Color", align 4
  %50 = alloca %"struct.JPH::AddConvexRadius", align 8
  %51 = alloca %"struct.JPH::AddConvexRadius", align 8
  %52 = alloca %"class.JPH::Color", align 4
  %53 = alloca %"class.JPH::Color", align 4
  %54 = alloca %"class.JPH::Vec3", align 16
  %55 = alloca %"class.JPH::Color", align 4
  %56 = alloca %"class.JPH::Vec3", align 16
  %57 = alloca %"class.JPH::Color", align 4
  %58 = alloca %"class.JPH::Color", align 4
  %59 = alloca %"class.JPH::Color", align 4
  %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::Color", align 4
  %67 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  store double %1, ptr %67, align 16
  %68 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  store double %2, ptr %68, align 8
  %69 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  store double %3, ptr %69, align 16
  %70 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  store double %4, ptr %70, align 8
  %71 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  store double %7, ptr %71, align 16
  %72 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  store double %8, ptr %72, align 8
  store ptr %0, ptr %16, align 8, !tbaa !5
  store float %5, ptr %17, align 4, !tbaa !9
  store ptr %6, ptr %18, align 8, !tbaa !5
  store float %10, ptr %19, align 4, !tbaa !9
  store ptr %11, ptr %20, align 8, !tbaa !5
  %73 = load ptr, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %13, i64 16, i1 false), !tbaa.struct !11
  %74 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %75 = load double, ptr %74, align 16
  %76 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %77 = load double, ptr %76, align 8
  call void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %24, double %75, double %77)
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #10
  %78 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %14)
  call void @_ZN3JPH5Mat4410sRotationXEf(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %26, float noundef %78)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %23, ptr noundef nonnull align 16 dereferenceable(64) %24, ptr noundef nonnull align 16 dereferenceable(64) %26)
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #10
  %79 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %14)
  call void @_ZN3JPH5Mat4410sRotationYEf(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %27, float noundef %79)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %22, ptr noundef nonnull align 16 dereferenceable(64) %23, ptr noundef nonnull align 16 dereferenceable(64) %27)
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #10
  %80 = call noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16) %14)
  call void @_ZN3JPH5Mat4410sRotationZEf(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %28, float noundef %80)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %21, ptr noundef nonnull align 16 dereferenceable(64) %22, ptr noundef nonnull align 16 dereferenceable(64) %28)
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr %29) #10
  %81 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN3JPH23TransformedConvexObjectINS_5AABoxEEC2ERKNS_5Mat44ERKS1_(ptr noundef nonnull align 16 dereferenceable(72) %29, ptr noundef nonnull align 16 dereferenceable(64) %21, ptr noundef nonnull align 16 dereferenceable(32) %81)
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %33) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %34, ptr align 16 %15, i64 16, i1 false), !tbaa.struct !11
  %82 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %83 = load double, ptr %82, align 16
  %84 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %85 = load double, ptr %84, align 8
  call void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %33, double %83, double %85)
  call void @llvm.lifetime.start.p0(i64 64, ptr %35) #10
  %86 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @_ZN3JPH5Mat4410sRotationXEf(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %35, float noundef %86)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %32, ptr noundef nonnull align 16 dereferenceable(64) %33, ptr noundef nonnull align 16 dereferenceable(64) %35)
  call void @llvm.lifetime.start.p0(i64 64, ptr %36) #10
  %87 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @_ZN3JPH5Mat4410sRotationYEf(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %36, float noundef %87)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %31, ptr noundef nonnull align 16 dereferenceable(64) %32, ptr noundef nonnull align 16 dereferenceable(64) %36)
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #10
  %88 = call noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @_ZN3JPH5Mat4410sRotationZEf(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %37, float noundef %88)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %30, ptr noundef nonnull align 16 dereferenceable(64) %31, ptr noundef nonnull align 16 dereferenceable(64) %37)
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr %38) #10
  %89 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN3JPH23TransformedConvexObjectINS_5AABoxEEC2ERKNS_5Mat44ERKS1_(ptr noundef nonnull align 16 dereferenceable(72) %38, ptr noundef nonnull align 16 dereferenceable(64) %30, ptr noundef nonnull align 16 dereferenceable(32) %89)
  call void @llvm.lifetime.start.p0(i64 224, ptr %39) #10
  call void @_ZN3JPH19EPAPenetrationDepthC2Ev(ptr noundef nonnull align 16 dereferenceable(212) %39) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #10
  %90 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %91 = getelementptr inbounds %"class.JPH::Vec3", ptr %40, i32 0, i32 0
  %92 = getelementptr inbounds %union.anon, ptr %91, i32 0, i32 0
  %93 = getelementptr inbounds { double, double }, ptr %92, i32 0, i32 0
  %94 = extractvalue { double, double } %90, 0
  store double %94, ptr %93, align 16
  %95 = getelementptr inbounds { double, double }, ptr %92, i32 0, i32 1
  %96 = extractvalue { double, double } %90, 1
  store double %96, ptr %95, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #10
  %97 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %98 = load ptr, ptr %97, align 8, !tbaa !13
  %99 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !21
  %100 = getelementptr inbounds %"class.JPH::Color", ptr %43, i32 0, i32 0
  %101 = getelementptr inbounds %union.anon.5, ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 4
  call void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %98, ptr noundef nonnull align 16 dereferenceable(64) %21, ptr noundef nonnull align 16 dereferenceable(32) %99, i32 %102, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #10
  %103 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %103, i64 32, i1 false), !tbaa.struct !22
  %104 = load float, ptr %17, align 4, !tbaa !9
  %105 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef %104)
  %106 = getelementptr inbounds %"class.JPH::Vec3", ptr %45, i32 0, i32 0
  %107 = getelementptr inbounds %union.anon, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds { double, double }, ptr %107, i32 0, i32 0
  %109 = extractvalue { double, double } %105, 0
  store double %109, ptr %108, align 16
  %110 = getelementptr inbounds { double, double }, ptr %107, i32 0, i32 1
  %111 = extractvalue { double, double } %105, 1
  store double %111, ptr %110, align 8
  %112 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %113 = load double, ptr %112, align 16
  %114 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  %115 = load double, ptr %114, align 8
  call void @_ZN3JPH5AABox8ExpandByENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32) %44, double %113, double %115)
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #10
  %116 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %46, ptr align 16 %116, i64 32, i1 false), !tbaa.struct !22
  %117 = load float, ptr %19, align 4, !tbaa !9
  %118 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef %117)
  %119 = getelementptr inbounds %"class.JPH::Vec3", ptr %47, i32 0, i32 0
  %120 = getelementptr inbounds %union.anon, ptr %119, i32 0, i32 0
  %121 = getelementptr inbounds { double, double }, ptr %120, i32 0, i32 0
  %122 = extractvalue { double, double } %118, 0
  store double %122, ptr %121, align 16
  %123 = getelementptr inbounds { double, double }, ptr %120, i32 0, i32 1
  %124 = extractvalue { double, double } %118, 1
  store double %124, ptr %123, align 8
  %125 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %126 = load double, ptr %125, align 16
  %127 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %128 = load double, ptr %127, align 8
  call void @_ZN3JPH5AABox8ExpandByENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32) %46, double %126, double %128)
  %129 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %130 = load ptr, ptr %129, align 8, !tbaa !13
  %131 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !21
  %132 = getelementptr inbounds %"class.JPH::Color", ptr %48, i32 0, i32 0
  %133 = getelementptr inbounds %union.anon.5, ptr %132, i32 0, i32 0
  %134 = load i32, ptr %133, align 4
  call void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %130, ptr noundef nonnull align 16 dereferenceable(64) %21, ptr noundef nonnull align 16 dereferenceable(32) %131, i32 %134, i32 noundef 0, i32 noundef 0)
  %135 = load float, ptr %17, align 4, !tbaa !9
  %136 = fcmp ogt float %135, 0.000000e+00
  br i1 %136, label %137, label %143

137:                                              ; preds = %12
  %138 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %139 = load ptr, ptr %138, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !21
  %140 = getelementptr inbounds %"class.JPH::Color", ptr %49, i32 0, i32 0
  %141 = getelementptr inbounds %union.anon.5, ptr %140, i32 0, i32 0
  %142 = load i32, ptr %141, align 4
  call void @_Z13DrawWireBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorE(ptr noundef %139, ptr noundef nonnull align 16 dereferenceable(64) %21, ptr noundef nonnull align 16 dereferenceable(32) %44, i32 %142)
  br label %143

143:                                              ; preds = %137, %12
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #10
  %144 = load float, ptr %17, align 4, !tbaa !9
  call void @_ZN3JPH15AddConvexRadiusINS_23TransformedConvexObjectINS_5AABoxEEEEC2ERKS3_f(ptr noundef nonnull align 8 dereferenceable(12) %50, ptr noundef nonnull align 16 dereferenceable(72) %29, float noundef %144)
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #10
  %145 = load float, ptr %19, align 4, !tbaa !9
  call void @_ZN3JPH15AddConvexRadiusINS_23TransformedConvexObjectINS_5AABoxEEEEC2ERKS3_f(ptr noundef nonnull align 8 dereferenceable(12) %51, ptr noundef nonnull align 16 dereferenceable(72) %38, float noundef %145)
  %146 = load float, ptr %17, align 4, !tbaa !9
  %147 = load float, ptr %19, align 4, !tbaa !9
  %148 = call noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_23TransformedConvexObjectINS_5AABoxEEENS_15AddConvexRadiusIS4_EES4_S6_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESK_SK_(ptr noundef nonnull align 16 dereferenceable(212) %39, ptr noundef nonnull align 16 dereferenceable(72) %29, ptr noundef nonnull align 8 dereferenceable(12) %50, float noundef %146, ptr noundef nonnull align 16 dereferenceable(72) %38, ptr noundef nonnull align 8 dereferenceable(12) %51, float noundef %147, float noundef 0x3F1A36E2E0000000, float noundef 0x3E80000000000000, ptr noundef nonnull align 16 dereferenceable(16) %40, ptr noundef nonnull align 16 dereferenceable(16) %41, ptr noundef nonnull align 16 dereferenceable(16) %42)
  br i1 %148, label %149, label %183

149:                                              ; preds = %143
  %150 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %151 = load ptr, ptr %150, align 8, !tbaa !13
  %152 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 @_ZN3JPH5Color4sRedE, i64 4, i1 false), !tbaa.struct !21
  %153 = getelementptr inbounds %"class.JPH::Color", ptr %52, i32 0, i32 0
  %154 = getelementptr inbounds %union.anon.5, ptr %153, i32 0, i32 0
  %155 = load i32, ptr %154, align 4
  call void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %151, ptr noundef nonnull align 16 dereferenceable(64) %30, ptr noundef nonnull align 16 dereferenceable(32) %152, i32 %155, i32 noundef 0, i32 noundef 0)
  %156 = load float, ptr %19, align 4, !tbaa !9
  %157 = fcmp ogt float %156, 0.000000e+00
  br i1 %157, label %158, label %164

158:                                              ; preds = %149
  %159 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %160 = load ptr, ptr %159, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 @_ZN3JPH5Color4sRedE, i64 4, i1 false), !tbaa.struct !21
  %161 = getelementptr inbounds %"class.JPH::Color", ptr %53, i32 0, i32 0
  %162 = getelementptr inbounds %union.anon.5, ptr %161, i32 0, i32 0
  %163 = load i32, ptr %162, align 4
  call void @_Z13DrawWireBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorE(ptr noundef %160, ptr noundef nonnull align 16 dereferenceable(64) %30, ptr noundef nonnull align 16 dereferenceable(32) %46, i32 %163)
  br label %164

164:                                              ; preds = %158, %149
  %165 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %166 = load ptr, ptr %165, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %54, ptr align 16 %41, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 @_ZN3JPH5Color7sYellowE, i64 4, i1 false), !tbaa.struct !21
  %167 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 0
  %168 = load double, ptr %167, align 16
  %169 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 1
  %170 = load double, ptr %169, align 8
  %171 = getelementptr inbounds %"class.JPH::Color", ptr %55, i32 0, i32 0
  %172 = getelementptr inbounds %union.anon.5, ptr %171, i32 0, i32 0
  %173 = load i32, ptr %172, align 4
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %166, double %168, double %170, i32 %173, float noundef 2.000000e+00)
  %174 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %175 = load ptr, ptr %174, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %56, ptr align 16 %42, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 4 @_ZN3JPH5Color5sCyanE, i64 4, i1 false), !tbaa.struct !21
  %176 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 0
  %177 = load double, ptr %176, align 16
  %178 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 1
  %179 = load double, ptr %178, align 8
  %180 = getelementptr inbounds %"class.JPH::Color", ptr %57, i32 0, i32 0
  %181 = getelementptr inbounds %union.anon.5, ptr %180, i32 0, i32 0
  %182 = load i32, ptr %181, align 4
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %175, double %177, double %179, i32 %182, float noundef 2.000000e+00)
  br label %199

183:                                              ; preds = %143
  %184 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %185 = load ptr, ptr %184, align 8, !tbaa !13
  %186 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 @_ZN3JPH5Color6sGreenE, i64 4, i1 false), !tbaa.struct !21
  %187 = getelementptr inbounds %"class.JPH::Color", ptr %58, i32 0, i32 0
  %188 = getelementptr inbounds %union.anon.5, ptr %187, i32 0, i32 0
  %189 = load i32, ptr %188, align 4
  call void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %185, ptr noundef nonnull align 16 dereferenceable(64) %30, ptr noundef nonnull align 16 dereferenceable(32) %186, i32 %189, i32 noundef 0, i32 noundef 0)
  %190 = load float, ptr %19, align 4, !tbaa !9
  %191 = fcmp ogt float %190, 0.000000e+00
  br i1 %191, label %192, label %198

192:                                              ; preds = %183
  %193 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %194 = load ptr, ptr %193, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 4 @_ZN3JPH5Color6sGreenE, i64 4, i1 false), !tbaa.struct !21
  %195 = getelementptr inbounds %"class.JPH::Color", ptr %59, i32 0, i32 0
  %196 = getelementptr inbounds %union.anon.5, ptr %195, i32 0, i32 0
  %197 = load i32, ptr %196, align 4
  call void @_Z13DrawWireBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorE(ptr noundef %194, ptr noundef nonnull align 16 dereferenceable(64) %30, ptr noundef nonnull align 16 dereferenceable(32) %46, i32 %197)
  br label %198

198:                                              ; preds = %192, %183
  br label %199

199:                                              ; preds = %198, %164
  %200 = getelementptr inbounds %class.Test, ptr %73, i32 0, i32 4
  %201 = load ptr, ptr %200, align 8, !tbaa !13
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %61, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  %202 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 0
  %203 = load double, ptr %202, align 16
  %204 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 1
  %205 = load double, ptr %204, align 8
  %206 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %203, double %205)
  %207 = getelementptr inbounds %"class.JPH::Vec3", ptr %60, i32 0, i32 0
  %208 = getelementptr inbounds %union.anon, ptr %207, i32 0, i32 0
  %209 = getelementptr inbounds { double, double }, ptr %208, i32 0, i32 0
  %210 = extractvalue { double, double } %206, 0
  store double %210, ptr %209, align 16
  %211 = getelementptr inbounds { double, double }, ptr %208, i32 0, i32 1
  %212 = extractvalue { double, double } %206, 1
  store double %212, ptr %211, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %63) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %64, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !11
  %213 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 0
  %214 = load double, ptr %213, align 16
  %215 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 1
  %216 = load double, ptr %215, align 8
  %217 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %214, double %216)
  %218 = getelementptr inbounds %"class.JPH::Vec3", ptr %63, i32 0, i32 0
  %219 = getelementptr inbounds %union.anon, ptr %218, i32 0, i32 0
  %220 = getelementptr inbounds { double, double }, ptr %219, i32 0, i32 0
  %221 = extractvalue { double, double } %217, 0
  store double %221, ptr %220, align 16
  %222 = getelementptr inbounds { double, double }, ptr %219, i32 0, i32 1
  %223 = extractvalue { double, double } %217, 1
  store double %223, ptr %222, align 8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %65, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  %224 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 0
  %225 = load double, ptr %224, align 16
  %226 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 1
  %227 = load double, ptr %226, align 8
  %228 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %63, double %225, double %227)
  %229 = getelementptr inbounds %"class.JPH::Vec3", ptr %62, i32 0, i32 0
  %230 = getelementptr inbounds %union.anon, ptr %229, i32 0, i32 0
  %231 = getelementptr inbounds { double, double }, ptr %230, i32 0, i32 0
  %232 = extractvalue { double, double } %228, 0
  store double %232, ptr %231, align 16
  %233 = getelementptr inbounds { double, double }, ptr %230, i32 0, i32 1
  %234 = extractvalue { double, double } %228, 1
  store double %234, ptr %233, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 @_ZN3JPH5Color7sOrangeE, i64 4, i1 false), !tbaa.struct !21
  %235 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 0
  %236 = load double, ptr %235, align 16
  %237 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 1
  %238 = load double, ptr %237, align 8
  %239 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 0
  %240 = load double, ptr %239, align 16
  %241 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 1
  %242 = load double, ptr %241, align 8
  %243 = getelementptr inbounds %"class.JPH::Color", ptr %66, i32 0, i32 0
  %244 = getelementptr inbounds %union.anon.5, ptr %243, i32 0, i32 0
  %245 = load i32, ptr %244, align 4
  call void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef %201, double %236, double %238, double %240, double %242, i32 %245, float noundef 0x3FA99999A0000000)
  call void @llvm.lifetime.end.p0(i64 16, ptr %63) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 224, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #10
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, double, double) #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 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)) #5 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH23TransformedConvexObjectINS_5AABoxEEC2ERKNS_5Mat44ERKS1_(ptr noundef nonnull align 16 dereferenceable(72), ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32)) unnamed_addr #7 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisXEv() #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32), i32, i32 noundef, i32 noundef) #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH5AABox8ExpandByENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32), double, double) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z13DrawWireBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorE(ptr noundef, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32), i32) #9

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_23TransformedConvexObjectINS_5AABoxEEENS_15AddConvexRadiusIS4_EES4_S6_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESK_SK_(ptr noundef nonnull align 16 dereferenceable(212), ptr noundef nonnull align 16 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(12), float noundef, ptr noundef nonnull align 16 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(12), float noundef, float noundef, float noundef, ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef, double, double, i32, float noundef) #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef, double, double, double, double, i32, float noundef) #9

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #1 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 = { 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !6, i64 32}
!14 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !15, i64 48, !16, i64 56}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !17, i64 0}
!17 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !6, i64 48}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!20 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !10, i64 0, !18, i64 8}
!21 = !{i64 0, i64 4, !12}
!22 = !{i64 0, i64 16, !12, i64 16, i64 16, !12}


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

%"class.JPH::Color" = type { %union.anon.5 }
%union.anon.5 = type { i32 }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"struct.JPH::TransformedConvexObject" = type <{ %"class.JPH::Mat44", ptr, [8 x i8] }>
%"class.JPH::EPAPenetrationDepth" = type { %"class.JPH::GJKClosestPoint", float, [12 x i8] }
%"class.JPH::GJKClosestPoint" = type <{ [4 x %"class.JPH::Vec3"], [4 x %"class.JPH::Vec3"], [4 x %"class.JPH::Vec3"], i32, [12 x i8] }>
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"struct.JPH::AddConvexRadius" = type <{ ptr, float, [4 x i8] }>

@_ZN3JPH5Color6sWhiteE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color4sRedE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color7sYellowE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color5sCyanE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color6sGreenE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color7sOrangeE = external local_unnamed_addr global %"class.JPH::Color", align 4

; 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: mustprogress uwtable
define dso_local void @_ZN20InteractivePairsTest12TestBoxVsBoxEN3JPH4Vec3ES1_fRKNS0_5AABoxES1_S1_fS4_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(120) %0, double %1, double %2, double %3, double %4, float noundef %5, ptr noundef nonnull align 16 dereferenceable(32) %6, double %7, double %8, ptr noundef byval(%"class.JPH::Vec3") align 16 %9, float noundef %10, ptr noundef nonnull align 16 dereferenceable(32) %11) local_unnamed_addr #2 align 2 {
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Mat44", align 16
  %16 = alloca %"class.JPH::Mat44", align 16
  %17 = alloca %"class.JPH::Mat44", align 16
  %18 = alloca %"class.JPH::Mat44", align 16
  %19 = alloca %"class.JPH::Mat44", align 16
  %20 = alloca %"class.JPH::Mat44", align 16
  %21 = alloca %"class.JPH::Mat44", align 16
  %22 = alloca %"struct.JPH::TransformedConvexObject", align 16
  %23 = alloca %"class.JPH::Mat44", align 16
  %24 = alloca %"class.JPH::Mat44", align 16
  %25 = alloca %"class.JPH::Mat44", align 16
  %26 = alloca %"class.JPH::Mat44", align 16
  %27 = alloca %"class.JPH::Mat44", align 16
  %28 = alloca %"class.JPH::Mat44", align 16
  %29 = alloca %"class.JPH::Mat44", align 16
  %30 = alloca %"struct.JPH::TransformedConvexObject", align 16
  %31 = alloca %"class.JPH::EPAPenetrationDepth", 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::AABox", align 16
  %36 = alloca %"class.JPH::AABox", align 16
  %37 = alloca %"struct.JPH::AddConvexRadius", align 8
  %38 = alloca %"struct.JPH::AddConvexRadius", align 8
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  store double %3, ptr %13, align 16
  %42 = getelementptr inbounds i8, ptr %13, i64 8
  store double %4, ptr %42, align 8
  store double %7, ptr %14, align 16
  %43 = getelementptr inbounds i8, ptr %14, i64 8
  store double %8, ptr %43, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #10
  call void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %18, double %1, double %2)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #10
  %44 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %13)
  call void @_ZN3JPH5Mat4410sRotationXEf(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %19, float noundef %44)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %17, ptr noundef nonnull align 16 dereferenceable(64) %18, ptr noundef nonnull align 16 dereferenceable(64) %19)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #10
  %45 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %13)
  call void @_ZN3JPH5Mat4410sRotationYEf(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %20, float noundef %45)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %16, ptr noundef nonnull align 16 dereferenceable(64) %17, ptr noundef nonnull align 16 dereferenceable(64) %20)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #10
  %46 = call noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16) %13)
  call void @_ZN3JPH5Mat4410sRotationZEf(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %21, float noundef %46)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %15, ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(64) %21)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %22) #10
  call void @_ZN3JPH23TransformedConvexObjectINS_5AABoxEEC2ERKNS_5Mat44ERKS1_(ptr noundef nonnull align 16 dereferenceable(72) %22, ptr noundef nonnull align 16 dereferenceable(64) %15, ptr noundef nonnull align 16 dereferenceable(32) %6)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %24) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %25) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %26) #10
  call void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %26, double %7, double %8)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %27) #10
  %47 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @_ZN3JPH5Mat4410sRotationXEf(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %27, float noundef %47)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %25, ptr noundef nonnull align 16 dereferenceable(64) %26, ptr noundef nonnull align 16 dereferenceable(64) %27)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %28) #10
  %48 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @_ZN3JPH5Mat4410sRotationYEf(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %28, float noundef %48)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %24, ptr noundef nonnull align 16 dereferenceable(64) %25, ptr noundef nonnull align 16 dereferenceable(64) %28)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %29) #10
  %49 = call noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @_ZN3JPH5Mat4410sRotationZEf(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %29, float noundef %49)
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %23, ptr noundef nonnull align 16 dereferenceable(64) %24, ptr noundef nonnull align 16 dereferenceable(64) %29)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %29) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %28) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %24) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %30) #10
  call void @_ZN3JPH23TransformedConvexObjectINS_5AABoxEEC2ERKNS_5Mat44ERKS1_(ptr noundef nonnull align 16 dereferenceable(72) %30, ptr noundef nonnull align 16 dereferenceable(64) %23, ptr noundef nonnull align 16 dereferenceable(32) %11)
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %31) #10
  call void @_ZN3JPH19EPAPenetrationDepthC2Ev(ptr noundef nonnull align 16 dereferenceable(212) %31) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #10
  %50 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %51 = extractvalue { double, double } %50, 0
  store double %51, ptr %32, align 16
  %52 = getelementptr inbounds i8, ptr %32, i64 8
  %53 = extractvalue { double, double } %50, 1
  store double %53, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #10
  %54 = getelementptr inbounds i8, ptr %0, i64 32
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  %.sroa.022.0.copyload = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !17
  call void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %55, ptr noundef nonnull align 16 dereferenceable(64) %15, ptr noundef nonnull align 16 dereferenceable(32) %6, i32 %.sroa.022.0.copyload, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %35, ptr noundef nonnull align 16 dereferenceable(32) %6, i64 32, i1 false), !tbaa.struct !18
  %56 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef %5)
  %57 = extractvalue { double, double } %56, 0
  %58 = extractvalue { double, double } %56, 1
  call void @_ZN3JPH5AABox8ExpandByENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32) %35, double %57, double %58)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %36, ptr noundef nonnull align 16 dereferenceable(32) %11, i64 32, i1 false), !tbaa.struct !18
  %59 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef %10)
  %60 = extractvalue { double, double } %59, 0
  %61 = extractvalue { double, double } %59, 1
  call void @_ZN3JPH5AABox8ExpandByENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32) %36, double %60, double %61)
  %62 = load ptr, ptr %54, align 8, !tbaa !5
  %.sroa.017.0.copyload = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !17
  call void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %62, ptr noundef nonnull align 16 dereferenceable(64) %15, ptr noundef nonnull align 16 dereferenceable(32) %6, i32 %.sroa.017.0.copyload, i32 noundef 0, i32 noundef 0)
  %63 = fcmp ogt float %5, 0.000000e+00
  br i1 %63, label %64, label %66

64:                                               ; preds = %12
  %65 = load ptr, ptr %54, align 8, !tbaa !5
  %.sroa.016.0.copyload = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !17
  call void @_Z13DrawWireBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorE(ptr noundef %65, ptr noundef nonnull align 16 dereferenceable(64) %15, ptr noundef nonnull align 16 dereferenceable(32) %35, i32 %.sroa.016.0.copyload)
  br label %66

66:                                               ; preds = %64, %12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #10
  call void @_ZN3JPH15AddConvexRadiusINS_23TransformedConvexObjectINS_5AABoxEEEEC2ERKS3_f(ptr noundef nonnull align 8 dereferenceable(12) %37, ptr noundef nonnull align 16 dereferenceable(72) %22, float noundef %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #10
  call void @_ZN3JPH15AddConvexRadiusINS_23TransformedConvexObjectINS_5AABoxEEEEC2ERKS3_f(ptr noundef nonnull align 8 dereferenceable(12) %38, ptr noundef nonnull align 16 dereferenceable(72) %30, float noundef %10)
  %67 = call noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_23TransformedConvexObjectINS_5AABoxEEENS_15AddConvexRadiusIS4_EES4_S6_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESK_SK_(ptr noundef nonnull align 16 dereferenceable(212) %31, ptr noundef nonnull align 16 dereferenceable(72) %22, ptr noundef nonnull align 8 dereferenceable(12) %37, float noundef %5, ptr noundef nonnull align 16 dereferenceable(72) %30, ptr noundef nonnull align 8 dereferenceable(12) %38, float noundef %10, float noundef 0x3F1A36E2E0000000, float noundef 0x3E80000000000000, ptr noundef nonnull align 16 dereferenceable(16) %32, ptr noundef nonnull align 16 dereferenceable(16) %33, ptr noundef nonnull align 16 dereferenceable(16) %34)
  %68 = load ptr, ptr %54, align 8, !tbaa !5
  %69 = fcmp ogt float %10, 0.000000e+00
  br i1 %67, label %70, label %76

70:                                               ; preds = %66
  %.sroa.015.0.copyload = load i32, ptr @_ZN3JPH5Color4sRedE, align 4, !tbaa !17
  call void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %68, ptr noundef nonnull align 16 dereferenceable(64) %23, ptr noundef nonnull align 16 dereferenceable(32) %11, i32 %.sroa.015.0.copyload, i32 noundef 0, i32 noundef 0)
  br i1 %69, label %71, label %73

71:                                               ; preds = %70
  %72 = load ptr, ptr %54, align 8, !tbaa !5
  %.sroa.014.0.copyload = load i32, ptr @_ZN3JPH5Color4sRedE, align 4, !tbaa !17
  call void @_Z13DrawWireBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorE(ptr noundef %72, ptr noundef nonnull align 16 dereferenceable(64) %23, ptr noundef nonnull align 16 dereferenceable(32) %36, i32 %.sroa.014.0.copyload)
  br label %73

73:                                               ; preds = %71, %70
  %74 = load ptr, ptr %54, align 8, !tbaa !5
  %.sroa.012.0.copyload = load double, ptr %33, align 16
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %33, i64 8
  %.sroa.213.0.copyload = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !17
  %.sroa.011.0.copyload = load i32, ptr @_ZN3JPH5Color7sYellowE, align 4, !tbaa !17
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %74, double %.sroa.012.0.copyload, double %.sroa.213.0.copyload, i32 %.sroa.011.0.copyload, float noundef 2.000000e+00)
  %75 = load ptr, ptr %54, align 8, !tbaa !5
  %.sroa.09.0.copyload = load double, ptr %34, align 16
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %34, i64 8
  %.sroa.210.0.copyload = load double, ptr %.sroa.210.0..sroa_idx, align 8, !tbaa !17
  %.sroa.08.0.copyload = load i32, ptr @_ZN3JPH5Color5sCyanE, align 4, !tbaa !17
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %75, double %.sroa.09.0.copyload, double %.sroa.210.0.copyload, i32 %.sroa.08.0.copyload, float noundef 2.000000e+00)
  br label %79

76:                                               ; preds = %66
  %.sroa.07.0.copyload = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !17
  call void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %68, ptr noundef nonnull align 16 dereferenceable(64) %23, ptr noundef nonnull align 16 dereferenceable(32) %11, i32 %.sroa.07.0.copyload, i32 noundef 0, i32 noundef 0)
  br i1 %69, label %77, label %79

77:                                               ; preds = %76
  %78 = load ptr, ptr %54, align 8, !tbaa !5
  %.sroa.06.0.copyload = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !17
  call void @_Z13DrawWireBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorE(ptr noundef %78, ptr noundef nonnull align 16 dereferenceable(64) %23, ptr noundef nonnull align 16 dereferenceable(32) %36, i32 %.sroa.06.0.copyload)
  br label %79

79:                                               ; preds = %76, %77, %73
  %80 = load ptr, ptr %54, align 8, !tbaa !5
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %39, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  %81 = load double, ptr %39, align 16
  %82 = getelementptr inbounds i8, ptr %39, i64 8
  %83 = load double, ptr %82, align 8
  %84 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %14, double %81, double %83)
  %85 = extractvalue { double, double } %84, 0
  %86 = extractvalue { double, double } %84, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #10
  %.sroa.01.0.copyload = load double, ptr %32, align 16
  %.sroa.2.0.copyload = load double, ptr %52, align 8, !tbaa !17
  %87 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %14, double %.sroa.01.0.copyload, double %.sroa.2.0.copyload)
  %88 = extractvalue { double, double } %87, 0
  store double %88, ptr %40, align 16
  %89 = getelementptr inbounds i8, ptr %40, i64 8
  %90 = extractvalue { double, double } %87, 1
  store double %90, ptr %89, align 8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %41, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  %91 = load double, ptr %41, align 16
  %92 = getelementptr inbounds i8, ptr %41, i64 8
  %93 = load double, ptr %92, align 8
  %94 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %40, double %91, double %93)
  %95 = extractvalue { double, double } %94, 0
  %96 = extractvalue { double, double } %94, 1
  %.sroa.0.0.copyload = load i32, ptr @_ZN3JPH5Color7sOrangeE, align 4, !tbaa !17
  call void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef %80, double %85, double %86, double %95, double %96, i32 %.sroa.0.0.copyload, float noundef 0x3FA99999A0000000)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #10
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %31) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %30) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #10
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat4412sTranslationENS_4Vec3E(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, double, double) local_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 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 #5 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH23TransformedConvexObjectINS_5AABoxEEC2ERKNS_5Mat44ERKS1_(ptr noundef nonnull align 16 dereferenceable(72), ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32)) unnamed_addr #7 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisXEv() local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9DrawBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32), i32, i32 noundef, i32 noundef) local_unnamed_addr #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH5AABox8ExpandByENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32), double, double) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z13DrawWireBoxSPPN3JPH13DebugRendererERKNS_5Mat44ERKNS_5AABoxENS_5ColorE(ptr noundef, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32), i32) local_unnamed_addr #9

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_23TransformedConvexObjectINS_5AABoxEEENS_15AddConvexRadiusIS4_EES4_S6_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESK_SK_(ptr noundef nonnull align 16 dereferenceable(212), ptr noundef nonnull align 16 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(12), float noundef, ptr noundef nonnull align 16 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(12), float noundef, float noundef, float noundef, ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef, double, double, i32, float noundef) local_unnamed_addr #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef, double, double, double, double, i32, float noundef) local_unnamed_addr #9

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

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 = { 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 32}
!6 = !{!"_ZTS4Test", !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !11, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !12, i64 0}
!12 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !7, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !15, i64 32, !7, i64 48}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!15 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !16, i64 0, !13, i64 8}
!16 = !{!"float", !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{i64 0, i64 16, !17, i64 16, i64 16, !17}


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