; 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::Sphere" = type { %"class.JPH::Float3", float }
%"class.JPH::Float3" = type { float, float, float }
%"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] }>
%"struct.JPH::PointConvexSupport" = type { %"class.JPH::Vec3" }
%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 @_ZN20InteractivePairsTest18TestSphereVsSphereEN3JPH4Vec3EfS1_fb(ptr noundef nonnull align 8 dereferenceable(120) %0, double %1, double %2, float noundef %3, double %4, double %5, float noundef %6, i1 noundef zeroext %7) #2 align 2 {
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca ptr, align 8
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca i8, align 1
  %15 = alloca %"class.JPH::Sphere", align 4
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Sphere", align 4
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Color", align 4
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Color", align 4
  %23 = alloca i8, align 1
  %24 = alloca %"class.JPH::EPAPenetrationDepth", 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 %"struct.JPH::PointConvexSupport", align 16
  %29 = alloca %"struct.JPH::PointConvexSupport", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Color", align 4
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Color", align 4
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::Color", align 4
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Color", align 4
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.JPH::Color", align 4
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Color", align 4
  %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::Color", align 4
  %49 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  store double %1, ptr %49, align 16
  %50 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  store double %2, ptr %50, align 8
  %51 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  store double %4, ptr %51, align 16
  %52 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  store double %5, ptr %52, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store float %3, ptr %12, align 4, !tbaa !9
  store float %6, ptr %13, align 4, !tbaa !9
  %53 = zext i1 %7 to i8
  store i8 %53, ptr %14, align 1, !tbaa !11
  %54 = load ptr, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !13
  %55 = load float, ptr %12, align 4, !tbaa !9
  %56 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %57 = load double, ptr %56, align 16
  %58 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %59 = load double, ptr %58, align 8
  call void @_ZN3JPH6SphereC2ENS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(16) %15, double %57, double %59, float noundef %55)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !13
  %60 = load float, ptr %13, align 4, !tbaa !9
  %61 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %62 = load double, ptr %61, align 16
  %63 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %64 = load double, ptr %63, align 8
  call void @_ZN3JPH6SphereC2ENS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(16) %17, double %62, double %64, float noundef %60)
  %65 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %66 = trunc i8 %65 to i1
  br i1 %66, label %67, label %85

67:                                               ; preds = %8
  %68 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 4
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  %70 = call { double, double } @_ZNK3JPH6Sphere9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %71 = getelementptr inbounds %"class.JPH::Vec3", ptr %19, i32 0, i32 0
  %72 = getelementptr inbounds %union.anon, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 0
  %74 = extractvalue { double, double } %70, 0
  store double %74, ptr %73, align 16
  %75 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 1
  %76 = extractvalue { double, double } %70, 1
  store double %76, ptr %75, align 8
  %77 = call noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16) %15)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !24
  %78 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %79 = load double, ptr %78, align 16
  %80 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %81 = load double, ptr %80, align 8
  %82 = getelementptr inbounds %"class.JPH::Color", ptr %20, i32 0, i32 0
  %83 = getelementptr inbounds %union.anon.5, ptr %82, i32 0, i32 0
  %84 = load i32, ptr %83, align 4
  call void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef %69, double %79, double %81, float noundef %77, i32 %84, i32 noundef 3)
  br label %103

85:                                               ; preds = %8
  %86 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 4
  %87 = load ptr, ptr %86, align 8, !tbaa !17
  %88 = call { double, double } @_ZNK3JPH6Sphere9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %89 = getelementptr inbounds %"class.JPH::Vec3", ptr %21, i32 0, i32 0
  %90 = getelementptr inbounds %union.anon, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 0
  %92 = extractvalue { double, double } %88, 0
  store double %92, ptr %91, align 16
  %93 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 1
  %94 = extractvalue { double, double } %88, 1
  store double %94, ptr %93, align 8
  %95 = call noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16) %15)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !24
  %96 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %97 = load double, ptr %96, align 16
  %98 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %99 = load double, ptr %98, align 8
  %100 = getelementptr inbounds %"class.JPH::Color", ptr %22, 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 @_Z12DrawSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %87, double %97, double %99, float noundef %95, i32 %102, i32 noundef 0, i32 noundef 0)
  br label %103

103:                                              ; preds = %85, %67
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 224, ptr %24) #7
  call void @_ZN3JPH19EPAPenetrationDepthC2Ev(ptr noundef nonnull align 16 dereferenceable(212) %24) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  %104 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %105 = getelementptr inbounds %"class.JPH::Vec3", ptr %25, i32 0, i32 0
  %106 = getelementptr inbounds %union.anon, ptr %105, i32 0, i32 0
  %107 = getelementptr inbounds { double, double }, ptr %106, i32 0, i32 0
  %108 = extractvalue { double, double } %104, 0
  store double %108, ptr %107, align 16
  %109 = getelementptr inbounds { double, double }, ptr %106, i32 0, i32 1
  %110 = extractvalue { double, double } %104, 1
  store double %110, ptr %109, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  %111 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %112 = trunc i8 %111 to i1
  br i1 %112, label %113, label %120

113:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #7
  %114 = getelementptr inbounds %"struct.JPH::PointConvexSupport", ptr %28, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %114, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !13
  %115 = load float, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  %116 = getelementptr inbounds %"struct.JPH::PointConvexSupport", ptr %29, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %116, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !13
  %117 = load float, ptr %13, align 4, !tbaa !9
  %118 = call noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_18PointConvexSupportENS_6SphereES2_S3_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESH_SH_(ptr noundef nonnull align 16 dereferenceable(212) %24, ptr noundef nonnull align 16 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef %115, ptr noundef nonnull align 16 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(16) %17, float noundef %117, float noundef 0x3F1A36E2E0000000, float noundef 0x3E80000000000000, ptr noundef nonnull align 16 dereferenceable(16) %25, ptr noundef nonnull align 16 dereferenceable(16) %26, ptr noundef nonnull align 16 dereferenceable(16) %27)
  %119 = zext i1 %118 to i8
  store i8 %119, ptr %23, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #7
  br label %123

120:                                              ; preds = %103
  %121 = call noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_6SphereES2_S2_S2_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESG_SG_(ptr noundef nonnull align 16 dereferenceable(212) %24, ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef 0.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(16) %17, float noundef 0.000000e+00, float noundef 0x3F1A36E2E0000000, float noundef 0x3E80000000000000, ptr noundef nonnull align 16 dereferenceable(16) %25, ptr noundef nonnull align 16 dereferenceable(16) %26, ptr noundef nonnull align 16 dereferenceable(16) %27)
  %122 = zext i1 %121 to i8
  store i8 %122, ptr %23, align 1, !tbaa !11
  br label %123

123:                                              ; preds = %120, %113
  %124 = load i8, ptr %23, align 1, !tbaa !11, !range !15, !noundef !16
  %125 = trunc i8 %124 to i1
  br i1 %125, label %126, label %184

126:                                              ; preds = %123
  %127 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %128 = trunc i8 %127 to i1
  br i1 %128, label %129, label %147

129:                                              ; preds = %126
  %130 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 4
  %131 = load ptr, ptr %130, align 8, !tbaa !17
  %132 = call { double, double } @_ZNK3JPH6Sphere9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %133 = getelementptr inbounds %"class.JPH::Vec3", ptr %30, i32 0, i32 0
  %134 = getelementptr inbounds %union.anon, ptr %133, i32 0, i32 0
  %135 = getelementptr inbounds { double, double }, ptr %134, i32 0, i32 0
  %136 = extractvalue { double, double } %132, 0
  store double %136, ptr %135, align 16
  %137 = getelementptr inbounds { double, double }, ptr %134, i32 0, i32 1
  %138 = extractvalue { double, double } %132, 1
  store double %138, ptr %137, align 8
  %139 = call noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 @_ZN3JPH5Color4sRedE, i64 4, i1 false), !tbaa.struct !24
  %140 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %141 = load double, ptr %140, align 16
  %142 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %143 = load double, ptr %142, align 8
  %144 = getelementptr inbounds %"class.JPH::Color", ptr %31, i32 0, i32 0
  %145 = getelementptr inbounds %union.anon.5, ptr %144, i32 0, i32 0
  %146 = load i32, ptr %145, align 4
  call void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef %131, double %141, double %143, float noundef %139, i32 %146, i32 noundef 3)
  br label %165

147:                                              ; preds = %126
  %148 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 4
  %149 = load ptr, ptr %148, align 8, !tbaa !17
  %150 = call { double, double } @_ZNK3JPH6Sphere9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %151 = getelementptr inbounds %"class.JPH::Vec3", ptr %32, i32 0, i32 0
  %152 = getelementptr inbounds %union.anon, ptr %151, i32 0, i32 0
  %153 = getelementptr inbounds { double, double }, ptr %152, i32 0, i32 0
  %154 = extractvalue { double, double } %150, 0
  store double %154, ptr %153, align 16
  %155 = getelementptr inbounds { double, double }, ptr %152, i32 0, i32 1
  %156 = extractvalue { double, double } %150, 1
  store double %156, ptr %155, align 8
  %157 = call noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 @_ZN3JPH5Color4sRedE, i64 4, i1 false), !tbaa.struct !24
  %158 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %159 = load double, ptr %158, align 16
  %160 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %161 = load double, ptr %160, align 8
  %162 = getelementptr inbounds %"class.JPH::Color", ptr %33, i32 0, i32 0
  %163 = getelementptr inbounds %union.anon.5, ptr %162, i32 0, i32 0
  %164 = load i32, ptr %163, align 4
  call void @_Z12DrawSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %149, double %159, double %161, float noundef %157, i32 %164, i32 noundef 0, i32 noundef 0)
  br label %165

165:                                              ; preds = %147, %129
  %166 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 4
  %167 = load ptr, ptr %166, align 8, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %34, ptr align 16 %26, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 @_ZN3JPH5Color7sYellowE, i64 4, i1 false), !tbaa.struct !24
  %168 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %169 = load double, ptr %168, align 16
  %170 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %171 = load double, ptr %170, align 8
  %172 = getelementptr inbounds %"class.JPH::Color", ptr %35, i32 0, i32 0
  %173 = getelementptr inbounds %union.anon.5, ptr %172, i32 0, i32 0
  %174 = load i32, ptr %173, align 4
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %167, double %169, double %171, i32 %174, float noundef 2.000000e+00)
  %175 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 4
  %176 = load ptr, ptr %175, align 8, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %36, ptr align 16 %27, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 @_ZN3JPH5Color5sCyanE, i64 4, i1 false), !tbaa.struct !24
  %177 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %178 = load double, ptr %177, align 16
  %179 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %180 = load double, ptr %179, align 8
  %181 = getelementptr inbounds %"class.JPH::Color", ptr %37, i32 0, i32 0
  %182 = getelementptr inbounds %union.anon.5, ptr %181, i32 0, i32 0
  %183 = load i32, ptr %182, align 4
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %176, double %178, double %180, i32 %183, float noundef 2.000000e+00)
  br label %224

184:                                              ; preds = %123
  %185 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %186 = trunc i8 %185 to i1
  br i1 %186, label %187, label %205

187:                                              ; preds = %184
  %188 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 4
  %189 = load ptr, ptr %188, align 8, !tbaa !17
  %190 = call { double, double } @_ZNK3JPH6Sphere9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %191 = getelementptr inbounds %"class.JPH::Vec3", ptr %38, i32 0, i32 0
  %192 = getelementptr inbounds %union.anon, ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds { double, double }, ptr %192, i32 0, i32 0
  %194 = extractvalue { double, double } %190, 0
  store double %194, ptr %193, align 16
  %195 = getelementptr inbounds { double, double }, ptr %192, i32 0, i32 1
  %196 = extractvalue { double, double } %190, 1
  store double %196, ptr %195, align 8
  %197 = call noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 @_ZN3JPH5Color6sGreenE, i64 4, i1 false), !tbaa.struct !24
  %198 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %199 = load double, ptr %198, align 16
  %200 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %201 = load double, ptr %200, align 8
  %202 = getelementptr inbounds %"class.JPH::Color", ptr %39, i32 0, i32 0
  %203 = getelementptr inbounds %union.anon.5, ptr %202, i32 0, i32 0
  %204 = load i32, ptr %203, align 4
  call void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef %189, double %199, double %201, float noundef %197, i32 %204, i32 noundef 3)
  br label %223

205:                                              ; preds = %184
  %206 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 4
  %207 = load ptr, ptr %206, align 8, !tbaa !17
  %208 = call { double, double } @_ZNK3JPH6Sphere9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %209 = getelementptr inbounds %"class.JPH::Vec3", ptr %40, i32 0, i32 0
  %210 = getelementptr inbounds %union.anon, ptr %209, i32 0, i32 0
  %211 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 0
  %212 = extractvalue { double, double } %208, 0
  store double %212, ptr %211, align 16
  %213 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 1
  %214 = extractvalue { double, double } %208, 1
  store double %214, ptr %213, align 8
  %215 = call noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 @_ZN3JPH5Color6sGreenE, i64 4, i1 false), !tbaa.struct !24
  %216 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %217 = load double, ptr %216, align 16
  %218 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %219 = load double, ptr %218, align 8
  %220 = getelementptr inbounds %"class.JPH::Color", ptr %41, i32 0, i32 0
  %221 = getelementptr inbounds %union.anon.5, ptr %220, i32 0, i32 0
  %222 = load i32, ptr %221, align 4
  call void @_Z12DrawSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %207, double %217, double %219, float noundef %215, i32 %222, i32 noundef 0, i32 noundef 0)
  br label %223

223:                                              ; preds = %205, %187
  br label %224

224:                                              ; preds = %223, %165
  %225 = getelementptr inbounds %class.Test, ptr %54, i32 0, i32 4
  %226 = load ptr, ptr %225, align 8, !tbaa !17
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %43, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  %227 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %228 = load double, ptr %227, align 16
  %229 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %230 = load double, ptr %229, align 8
  %231 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %10, double %228, double %230)
  %232 = getelementptr inbounds %"class.JPH::Vec3", ptr %42, i32 0, i32 0
  %233 = getelementptr inbounds %union.anon, ptr %232, i32 0, i32 0
  %234 = getelementptr inbounds { double, double }, ptr %233, i32 0, i32 0
  %235 = extractvalue { double, double } %231, 0
  store double %235, ptr %234, align 16
  %236 = getelementptr inbounds { double, double }, ptr %233, i32 0, i32 1
  %237 = extractvalue { double, double } %231, 1
  store double %237, ptr %236, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %46, ptr align 16 %25, i64 16, i1 false), !tbaa.struct !13
  %238 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %239 = load double, ptr %238, align 16
  %240 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %241 = load double, ptr %240, align 8
  %242 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %10, double %239, double %241)
  %243 = getelementptr inbounds %"class.JPH::Vec3", ptr %45, i32 0, i32 0
  %244 = getelementptr inbounds %union.anon, ptr %243, i32 0, i32 0
  %245 = getelementptr inbounds { double, double }, ptr %244, i32 0, i32 0
  %246 = extractvalue { double, double } %242, 0
  store double %246, ptr %245, align 16
  %247 = getelementptr inbounds { double, double }, ptr %244, i32 0, i32 1
  %248 = extractvalue { double, double } %242, 1
  store double %248, ptr %247, align 8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %47, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  %249 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %250 = load double, ptr %249, align 16
  %251 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %252 = load double, ptr %251, align 8
  %253 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %45, double %250, double %252)
  %254 = getelementptr inbounds %"class.JPH::Vec3", ptr %44, i32 0, i32 0
  %255 = getelementptr inbounds %union.anon, ptr %254, i32 0, i32 0
  %256 = getelementptr inbounds { double, double }, ptr %255, i32 0, i32 0
  %257 = extractvalue { double, double } %253, 0
  store double %257, ptr %256, align 16
  %258 = getelementptr inbounds { double, double }, ptr %255, i32 0, i32 1
  %259 = extractvalue { double, double } %253, 1
  store double %259, ptr %258, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 @_ZN3JPH5Color7sOrangeE, i64 4, i1 false), !tbaa.struct !24
  %260 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %261 = load double, ptr %260, align 16
  %262 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %263 = load double, ptr %262, align 8
  %264 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 0
  %265 = load double, ptr %264, align 16
  %266 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 1
  %267 = load double, ptr %266, align 8
  %268 = getelementptr inbounds %"class.JPH::Color", ptr %48, i32 0, i32 0
  %269 = getelementptr inbounds %union.anon.5, ptr %268, i32 0, i32 0
  %270 = load i32, ptr %269, align 4
  call void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef %226, double %261, double %263, double %265, double %267, i32 %270, float noundef 0x3FA99999A0000000)
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  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) #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH6SphereC2ENS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(16), double, double, float noundef) unnamed_addr #6 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_18PointConvexSupportENS_6SphereES2_S3_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESH_SH_(ptr noundef nonnull align 16 dereferenceable(212), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef, ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), 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: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_6SphereES2_S2_S2_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESG_SG_(ptr noundef nonnull align 16 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), 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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i64 0, i64 16, !14}
!14 = !{!7, !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !6, i64 32}
!18 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !19, i64 56}
!19 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !20, i64 0}
!20 = !{!"_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, !21, i64 8, !22, i64 16, !21, i64 24, !23, i64 32, !6, i64 48}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!23 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !10, i64 0, !21, i64 8}
!24 = !{i64 0, i64 4, !14}


; 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::Sphere" = type { %"class.JPH::Float3", float }
%"class.JPH::Float3" = type { float, float, float }
%"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] }>
%"struct.JPH::PointConvexSupport" = type { %"class.JPH::Vec3" }

@_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 @_ZN20InteractivePairsTest18TestSphereVsSphereEN3JPH4Vec3EfS1_fb(ptr nocapture noundef nonnull readonly align 8 dereferenceable(120) %0, double %1, double %2, float noundef %3, double %4, double %5, float noundef %6, i1 noundef zeroext %7) local_unnamed_addr #2 align 2 {
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Sphere", align 4
  %11 = alloca %"class.JPH::Sphere", align 4
  %12 = alloca %"class.JPH::EPAPenetrationDepth", 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 %"struct.JPH::PointConvexSupport", align 16
  %17 = alloca %"struct.JPH::PointConvexSupport", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  store double %4, ptr %9, align 16
  %21 = getelementptr inbounds i8, ptr %9, i64 8
  store double %5, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN3JPH6SphereC2ENS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(16) %10, double %1, double %2, float noundef %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  call void @_ZN3JPH6SphereC2ENS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(16) %11, double %4, double %5, float noundef %6)
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  %24 = call { double, double } @_ZNK3JPH6Sphere9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %25 = extractvalue { double, double } %24, 0
  %26 = extractvalue { double, double } %24, 1
  %27 = call noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %.sroa.027.0.copyload = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !17
  br i1 %7, label %28, label %29

28:                                               ; preds = %8
  call void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef %23, double %25, double %26, float noundef %27, i32 %.sroa.027.0.copyload, i32 noundef 3)
  br label %30

29:                                               ; preds = %8
  call void @_Z12DrawSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %23, double %25, double %26, float noundef %27, i32 %.sroa.027.0.copyload, i32 noundef 0, i32 noundef 0)
  br label %30

30:                                               ; preds = %29, %28
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %12) #7
  call void @_ZN3JPH19EPAPenetrationDepthC2Ev(ptr noundef nonnull align 16 dereferenceable(212) %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  %31 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %32 = extractvalue { double, double } %31, 0
  store double %32, ptr %13, align 16
  %33 = getelementptr inbounds i8, ptr %13, i64 8
  %34 = extractvalue { double, double } %31, 1
  store double %34, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  br i1 %7, label %35, label %43

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  store double %1, ptr %16, align 16
  %.sroa.3.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 8
  store double %2, ptr %.sroa.3.0..sroa_idx, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %17, ptr noundef nonnull align 16 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !18
  %36 = call noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_18PointConvexSupportENS_6SphereES2_S3_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESH_SH_(ptr noundef nonnull align 16 dereferenceable(212) %12, ptr noundef nonnull align 16 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %3, ptr noundef nonnull align 16 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef %6, float noundef 0x3F1A36E2E0000000, float noundef 0x3E80000000000000, ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull align 16 dereferenceable(16) %15)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  %37 = getelementptr inbounds i8, ptr %0, i64 32
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = call { double, double } @_ZNK3JPH6Sphere9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  %40 = extractvalue { double, double } %39, 0
  %41 = extractvalue { double, double } %39, 1
  %42 = call noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  br i1 %36, label %51, label %57

43:                                               ; preds = %30
  %44 = call noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_6SphereES2_S2_S2_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESG_SG_(ptr noundef nonnull align 16 dereferenceable(212) %12, ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 0.000000e+00, ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef 0.000000e+00, float noundef 0x3F1A36E2E0000000, float noundef 0x3E80000000000000, ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull align 16 dereferenceable(16) %15)
  %45 = getelementptr inbounds i8, ptr %0, i64 32
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  %47 = call { double, double } @_ZNK3JPH6Sphere9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  %48 = extractvalue { double, double } %47, 0
  %49 = extractvalue { double, double } %47, 1
  %50 = call noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  br i1 %44, label %52, label %58

51:                                               ; preds = %35
  %.sroa.021.0.copyload = load i32, ptr @_ZN3JPH5Color4sRedE, align 4, !tbaa !17
  call void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef %38, double %40, double %41, float noundef %42, i32 %.sroa.021.0.copyload, i32 noundef 3)
  br label %53

52:                                               ; preds = %43
  %.sroa.018.0.copyload = load i32, ptr @_ZN3JPH5Color4sRedE, align 4, !tbaa !17
  call void @_Z12DrawSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %46, double %48, double %49, float noundef %50, i32 %.sroa.018.0.copyload, i32 noundef 0, i32 noundef 0)
  br label %53

53:                                               ; preds = %52, %51
  %54 = getelementptr inbounds i8, ptr %0, i64 32
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  %.sroa.016.0.copyload = load double, ptr %14, align 16
  %.sroa.217.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  %.sroa.217.0.copyload = load double, ptr %.sroa.217.0..sroa_idx, align 8, !tbaa !17
  %.sroa.015.0.copyload = load i32, ptr @_ZN3JPH5Color7sYellowE, align 4, !tbaa !17
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %55, double %.sroa.016.0.copyload, double %.sroa.217.0.copyload, i32 %.sroa.015.0.copyload, float noundef 2.000000e+00)
  %56 = load ptr, ptr %54, align 8, !tbaa !5
  %.sroa.013.0.copyload = load double, ptr %15, align 16
  %.sroa.214.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  %.sroa.214.0.copyload = load double, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !17
  %.sroa.012.0.copyload = load i32, ptr @_ZN3JPH5Color5sCyanE, align 4, !tbaa !17
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %56, double %.sroa.013.0.copyload, double %.sroa.214.0.copyload, i32 %.sroa.012.0.copyload, float noundef 2.000000e+00)
  br label %59

57:                                               ; preds = %35
  %.sroa.09.0.copyload = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !17
  call void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef %38, double %40, double %41, float noundef %42, i32 %.sroa.09.0.copyload, i32 noundef 3)
  br label %59

58:                                               ; preds = %43
  %.sroa.06.0.copyload = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !17
  call void @_Z12DrawSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorENS0_11ECastShadowENS0_9EDrawModeE(ptr noundef %46, double %48, double %49, float noundef %50, i32 %.sroa.06.0.copyload, i32 noundef 0, i32 noundef 0)
  br label %59

59:                                               ; preds = %57, %58, %53
  %60 = getelementptr inbounds i8, ptr %0, i64 32
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %18, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  %62 = load double, ptr %18, align 16
  %63 = getelementptr inbounds i8, ptr %18, i64 8
  %64 = load double, ptr %63, align 8
  %65 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %62, double %64)
  %66 = extractvalue { double, double } %65, 0
  %67 = extractvalue { double, double } %65, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  %.sroa.01.0.copyload = load double, ptr %13, align 16
  %.sroa.2.0.copyload = load double, ptr %33, align 8, !tbaa !17
  %68 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %.sroa.01.0.copyload, double %.sroa.2.0.copyload)
  %69 = extractvalue { double, double } %68, 0
  store double %69, ptr %19, align 16
  %70 = getelementptr inbounds i8, ptr %19, i64 8
  %71 = extractvalue { double, double } %68, 1
  store double %71, ptr %70, align 8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %20, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00)
  %72 = load double, ptr %20, align 16
  %73 = getelementptr inbounds i8, ptr %20, i64 8
  %74 = load double, ptr %73, align 8
  %75 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %19, double %72, double %74)
  %76 = extractvalue { double, double } %75, 0
  %77 = extractvalue { double, double } %75, 1
  %.sroa.0.0.copyload = load i32, ptr @_ZN3JPH5Color7sOrangeE, align 4, !tbaa !17
  call void @_Z11DrawArrowSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorEf(ptr noundef %61, double %66, double %67, double %76, double %77, i32 %.sroa.0.0.copyload, float noundef 0x3FA99999A0000000)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  ret void
}

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

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

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

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

; 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 #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH6SphereC2ENS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(16), double, double, float noundef) unnamed_addr #6 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH6Sphere9GetRadiusEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_18PointConvexSupportENS_6SphereES2_S3_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESH_SH_(ptr noundef nonnull align 16 dereferenceable(212), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef, ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), 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: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH19EPAPenetrationDepth19GetPenetrationDepthINS_6SphereES2_S2_S2_EEbRKT_RKT0_fRKT1_RKT2_fffRNS_4Vec3ESG_SG_(ptr noundef nonnull align 16 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), 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

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


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