; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Constraints (ContactConstraintManager)

; 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::ContactManifold" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", float, %"class.JPH::SubShapeID", %"class.JPH::SubShapeID", [4 x i8], %"class.JPH::StaticArray.34", %"class.JPH::StaticArray.34" }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::StaticArray.34" = type { i32, [12 x i8], [64 x %"struct.JPH::StaticArray<JPH::Vec3, 64>::Storage"] }
%"struct.JPH::StaticArray<JPH::Vec3, 64>::Storage" = type { [16 x i8] }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::SubShapeIDPair" = type { %"class.JPH::BodyID", %"class.JPH::SubShapeID", %"class.JPH::BodyID", %"class.JPH::SubShapeID" }
%"class.JPH::BodyID" = type { i32 }
%"struct.std::pair" = type <{ ptr, i8, [7 x i8] }>
%"class.JPH::Float3" = type { float, float, float }
%"class.JPH::ContactConstraintManager" = type { [8 x i8], [2 x %"class.JPH::ContactConstraintManager::ManifoldCache"], i32, ptr, ptr, ptr, ptr, ptr, i32, %"struct.std::atomic", ptr }
%"class.JPH::ContactConstraintManager::ManifoldCache" = type <{ %"class.JPH::LFHMAllocator", %"class.JPH::LockFreeHashMap", %"class.JPH::LockFreeHashMap.0", i8, [7 x i8] }>
%"class.JPH::LFHMAllocator" = type { ptr, i32, %"struct.std::atomic" }
%"class.JPH::LockFreeHashMap" = type { ptr, %"struct.std::atomic", ptr, i32, i32 }
%"class.JPH::LockFreeHashMap.0" = type { ptr, %"struct.std::atomic", ptr, i32, i32 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::ContactSettings" = type { float, float, float, float, float, float, i8, %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"class.JPH::ContactConstraintManager::CachedManifold" = type { i32, %"class.JPH::Float3", %"struct.std::atomic.5", i16, [1 x %"class.JPH::ContactConstraintManager::CachedContactPoint"] }
%"struct.std::atomic.5" = type { %"struct.std::__atomic_base.6" }
%"struct.std::__atomic_base.6" = type { i16 }
%"class.JPH::ContactConstraintManager::CachedContactPoint" = type { %"class.JPH::Float3", %"class.JPH::Float3", float, %"class.JPH::Vector" }
%"class.JPH::Vector" = type { [2 x float] }

@.str.1 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [69 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH24ContactConstraintManager13ManifoldCache4FindERKNS_14SubShapeIDPairEm(ptr noundef nonnull align 8 dereferenceable(81), ptr noundef nonnull align 4 dereferenceable(16), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(56) ptr @_ZN3JPH15LockFreeHashMapINS_14SubShapeIDPairENS_24ContactConstraintManager14CachedManifoldEE8KeyValue8GetValueEv(ptr noundef nonnull align 4 dereferenceable(76)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN3JPH24ContactConstraintManager13ManifoldCache12FindOrCreateERNS0_16ContactAllocatorERKNS_14SubShapeIDPairEmi(ptr noundef nonnull align 8 dereferenceable(81), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(16), i64 noundef, i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(56) ptr @_ZNK3JPH15LockFreeHashMapINS_14SubShapeIDPairENS_24ContactConstraintManager14CachedManifoldEE8KeyValue8GetValueEv(ptr noundef nonnull align 4 dereferenceable(76)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3JPH14SubShapeIDPair7GetHashEv(ptr noundef nonnull align 4 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNSt13__atomic_baseItEoREt(ptr noundef nonnull align 2 dereferenceable(2), i16 noundef zeroext) #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH15ContactManifoldC2Ev(ptr noundef nonnull align 16 dereferenceable(2128)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3JPH15ContactManifold10SwapShapesEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::ContactManifold") align 16, ptr noundef nonnull align 16 dereferenceable(2128)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(2128) ptr @_ZN3JPH15ContactManifoldaSEOS0_(ptr noundef nonnull align 16 dereferenceable(2128), ptr noundef nonnull align 16 dereferenceable(2128)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH24ContactConstraintManager17OnCCDContactAddedERNS0_16ContactAllocatorERKNS_4BodyES5_RKNS_15ContactManifoldERNS_15ContactSettingsE(ptr noundef nonnull align 8 dereferenceable(248) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 16 dereferenceable(122) %2, ptr noundef nonnull align 16 dereferenceable(122) %3, ptr noundef nonnull align 16 dereferenceable(2128) %4, ptr noundef nonnull align 16 dereferenceable(64) %5) #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.JPH::AssertLastParam", align 1
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.JPH::ContactManifold", align 16
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.JPH::ContactManifold", align 16
  %21 = alloca %"class.JPH::SubShapeIDPair", align 4
  %22 = alloca i64, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.std::pair", align 8
  %25 = alloca { ptr, i8 }, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.JPH::Float3", align 4
  %30 = alloca %"struct.JPH::AssertLastParam", align 1
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %31 = load ptr, ptr %7, align 8
  br label %32

32:                                               ; preds = %6
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.JPH::ContactManifold", ptr %33, i32 0, i32 1
  %35 = call noundef zeroext i1 @_ZNK3JPH4Vec312IsNormalizedEf(ptr noundef nonnull align 16 dereferenceable(16) %34, float noundef 0x3EB0C6F7A0000000)
  br i1 %35, label %39, label %36

36:                                               ; preds = %32
  %37 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 1356)
  br i1 %37, label %38, label %39

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

39:                                               ; preds = %38, %36, %32
  br label %40

40:                                               ; preds = %39
  %41 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 5
  %42 = load ptr, ptr %41, align 8, !tbaa !10
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = getelementptr inbounds %"class.JPH::ContactManifold", ptr %44, i32 0, i32 3
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = getelementptr inbounds %"class.JPH::ContactManifold", ptr %47, i32 0, i32 4
  %49 = call noundef float %42(ptr noundef nonnull align 16 dereferenceable(122) %43, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 16 dereferenceable(122) %46, ptr noundef nonnull align 4 dereferenceable(4) %48)
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.JPH::ContactSettings", ptr %50, i32 0, i32 0
  store float %49, ptr %51, align 16, !tbaa !15
  %52 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 6
  %53 = load ptr, ptr %52, align 8, !tbaa !20
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.JPH::ContactManifold", ptr %55, i32 0, i32 3
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = getelementptr inbounds %"class.JPH::ContactManifold", ptr %58, i32 0, i32 4
  %60 = call noundef float %53(ptr noundef nonnull align 16 dereferenceable(122) %54, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 16 dereferenceable(122) %57, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.JPH::ContactSettings", ptr %61, i32 0, i32 1
  store float %60, ptr %62, align 4, !tbaa !21
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.JPH::ContactSettings", ptr %63, i32 0, i32 6
  store i8 0, ptr %64, align 8, !tbaa !22
  %65 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 4
  %66 = load ptr, ptr %65, align 8, !tbaa !23
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %238

68:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 2128, ptr %17) #7
  call void @_ZN3JPH15ContactManifoldC2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %17) #7
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %69)
          to label %71 unwind label %84

71:                                               ; preds = %68
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %72)
          to label %74 unwind label %84

74:                                               ; preds = %71
  %75 = invoke noundef zeroext i1 @_ZNK3JPH6BodyIDltERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %73)
          to label %76 unwind label %84

76:                                               ; preds = %74
  br i1 %75, label %77, label %97

77:                                               ; preds = %76
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %78, ptr %15, align 8, !tbaa !5
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %79, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2128, ptr %20) #7
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZNK3JPH15ContactManifold10SwapShapesEv(ptr dead_on_unwind writable sret(%"class.JPH::ContactManifold") align 16 %20, ptr noundef nonnull align 16 dereferenceable(2128) %80)
          to label %81 unwind label %88

81:                                               ; preds = %77
  %82 = invoke noundef nonnull align 16 dereferenceable(2128) ptr @_ZN3JPH15ContactManifoldaSEOS0_(ptr noundef nonnull align 16 dereferenceable(2128) %17, ptr noundef nonnull align 16 dereferenceable(2128) %20)
          to label %83 unwind label %92

83:                                               ; preds = %81
  call void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %20) #7
  call void @llvm.lifetime.end.p0(i64 2128, ptr %20) #7
  store ptr %17, ptr %14, align 8, !tbaa !5
  br label %101

84:                                               ; preds = %74, %71, %68
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %18, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %19, align 4
  br label %237

88:                                               ; preds = %77
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %18, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %19, align 4
  br label %96

92:                                               ; preds = %81
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %18, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %19, align 4
  call void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %20) #7
  br label %96

96:                                               ; preds = %92, %88
  call void @llvm.lifetime.end.p0(i64 2128, ptr %20) #7
  br label %237

97:                                               ; preds = %76
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %98, ptr %15, align 8, !tbaa !5
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %99, ptr %16, align 8, !tbaa !5
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %100, ptr %14, align 8, !tbaa !5
  br label %101

101:                                              ; preds = %97, %83
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  %102 = load ptr, ptr %15, align 8, !tbaa !5
  %103 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %102)
          to label %104 unwind label %152

104:                                              ; preds = %101
  %105 = load ptr, ptr %14, align 8, !tbaa !5
  %106 = getelementptr inbounds %"class.JPH::ContactManifold", ptr %105, i32 0, i32 3
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  %108 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %107)
          to label %109 unwind label %152

109:                                              ; preds = %104
  %110 = load ptr, ptr %14, align 8, !tbaa !5
  %111 = getelementptr inbounds %"class.JPH::ContactManifold", ptr %110, i32 0, i32 4
  invoke void @_ZN3JPH14SubShapeIDPairC2ERKNS_6BodyIDERKNS_10SubShapeIDES3_S6_(ptr noundef nonnull align 4 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %103, ptr noundef nonnull align 4 dereferenceable(4) %106, ptr noundef nonnull align 4 dereferenceable(4) %108, ptr noundef nonnull align 4 dereferenceable(4) %111)
          to label %112 unwind label %152

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %113 = invoke noundef i64 @_ZNK3JPH14SubShapeIDPair7GetHashEv(ptr noundef nonnull align 4 dereferenceable(16) %21)
          to label %114 unwind label %156

114:                                              ; preds = %112
  store i64 %113, ptr %22, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %115 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 1
  %116 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 2
  %117 = load i32, ptr %116, align 8, !tbaa !26
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [2 x %"class.JPH::ContactConstraintManager::ManifoldCache"], ptr %115, i64 0, i64 %118
  store ptr %119, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  %120 = load ptr, ptr %23, align 8, !tbaa !5
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = load i64, ptr %22, align 8, !tbaa !24
  %123 = invoke { ptr, i8 } @_ZN3JPH24ContactConstraintManager13ManifoldCache12FindOrCreateERNS0_16ContactAllocatorERKNS_14SubShapeIDPairEmi(ptr noundef nonnull align 8 dereferenceable(81) %120, ptr noundef nonnull align 8 dereferenceable(32) %121, ptr noundef nonnull align 4 dereferenceable(16) %21, i64 noundef %122, i32 noundef 0)
          to label %124 unwind label %160

124:                                              ; preds = %114
  store { ptr, i8 } %123, ptr %25, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %25, i64 9, i1 false)
  %125 = getelementptr inbounds %"struct.std::pair", ptr %24, i32 0, i32 1
  %126 = load i8, ptr %125, align 8, !tbaa !27, !range !29, !noundef !30
  %127 = trunc i8 %126 to i1
  br i1 %127, label %128, label %210

128:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %129 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 1
  %130 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 2
  %131 = load i32, ptr %130, align 8, !tbaa !26
  %132 = xor i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [2 x %"class.JPH::ContactConstraintManager::ManifoldCache"], ptr %129, i64 0, i64 %133
  store ptr %134, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %135 = load ptr, ptr %26, align 8, !tbaa !5
  %136 = load i64, ptr %22, align 8, !tbaa !24
  %137 = invoke noundef ptr @_ZNK3JPH24ContactConstraintManager13ManifoldCache4FindERKNS_14SubShapeIDPairEm(ptr noundef nonnull align 8 dereferenceable(81) %135, ptr noundef nonnull align 4 dereferenceable(16) %21, i64 noundef %136)
          to label %138 unwind label %164

138:                                              ; preds = %128
  store ptr %137, ptr %27, align 8, !tbaa !5
  %139 = load ptr, ptr %27, align 8, !tbaa !5
  %140 = icmp eq ptr %139, null
  br i1 %140, label %141, label %168

141:                                              ; preds = %138
  %142 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 4
  %143 = load ptr, ptr %142, align 8, !tbaa !23
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  %145 = load ptr, ptr %16, align 8, !tbaa !5
  %146 = load ptr, ptr %14, align 8, !tbaa !5
  %147 = load ptr, ptr %12, align 8, !tbaa !5
  %148 = load ptr, ptr %143, align 8, !tbaa !31
  %149 = getelementptr inbounds ptr, ptr %148, i64 3
  %150 = load ptr, ptr %149, align 8
  invoke void %150(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull align 16 dereferenceable(122) %144, ptr noundef nonnull align 16 dereferenceable(122) %145, ptr noundef nonnull align 16 dereferenceable(2128) %146, ptr noundef nonnull align 16 dereferenceable(64) %147)
          to label %151 unwind label %164

151:                                              ; preds = %141
  br label %184

152:                                              ; preds = %109, %104, %101
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %18, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %19, align 4
  br label %236

156:                                              ; preds = %112
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %18, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %19, align 4
  br label %235

160:                                              ; preds = %210, %114
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %18, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %19, align 4
  br label %234

164:                                              ; preds = %178, %168, %141, %128
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %18, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %19, align 4
  br label %209

168:                                              ; preds = %138
  %169 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 4
  %170 = load ptr, ptr %169, align 8, !tbaa !23
  %171 = load ptr, ptr %15, align 8, !tbaa !5
  %172 = load ptr, ptr %16, align 8, !tbaa !5
  %173 = load ptr, ptr %14, align 8, !tbaa !5
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = load ptr, ptr %170, align 8, !tbaa !31
  %176 = getelementptr inbounds ptr, ptr %175, i64 4
  %177 = load ptr, ptr %176, align 8
  invoke void %177(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef nonnull align 16 dereferenceable(122) %171, ptr noundef nonnull align 16 dereferenceable(122) %172, ptr noundef nonnull align 16 dereferenceable(2128) %173, ptr noundef nonnull align 16 dereferenceable(64) %174)
          to label %178 unwind label %164

178:                                              ; preds = %168
  %179 = load ptr, ptr %27, align 8, !tbaa !5
  %180 = invoke noundef nonnull align 4 dereferenceable(56) ptr @_ZNK3JPH15LockFreeHashMapINS_14SubShapeIDPairENS_24ContactConstraintManager14CachedManifoldEE8KeyValue8GetValueEv(ptr noundef nonnull align 4 dereferenceable(76) %179)
          to label %181 unwind label %164

181:                                              ; preds = %178
  %182 = getelementptr inbounds %"class.JPH::ContactConstraintManager::CachedManifold", ptr %180, i32 0, i32 2
  %183 = call noundef zeroext i16 @_ZNSt13__atomic_baseItEoREt(ptr noundef nonnull align 2 dereferenceable(2) %182, i16 noundef zeroext 1) #7
  br label %184

184:                                              ; preds = %181, %151
  %185 = getelementptr inbounds %"struct.std::pair", ptr %24, i32 0, i32 0
  %186 = load ptr, ptr %185, align 8, !tbaa !33
  %187 = icmp ne ptr %186, null
  br i1 %187, label %188, label %208

188:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %189 = getelementptr inbounds %"struct.std::pair", ptr %24, i32 0, i32 0
  %190 = load ptr, ptr %189, align 8, !tbaa !33
  %191 = invoke noundef nonnull align 4 dereferenceable(56) ptr @_ZN3JPH15LockFreeHashMapINS_14SubShapeIDPairENS_24ContactConstraintManager14CachedManifoldEE8KeyValue8GetValueEv(ptr noundef nonnull align 4 dereferenceable(76) %190)
          to label %192 unwind label %199

192:                                              ; preds = %188
  store ptr %191, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #7
  invoke void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %29, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %193 unwind label %203

193:                                              ; preds = %192
  %194 = load ptr, ptr %28, align 8, !tbaa !5
  %195 = getelementptr inbounds %"class.JPH::ContactConstraintManager::CachedManifold", ptr %194, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %195, ptr align 4 %29, i64 12, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #7
  %196 = load ptr, ptr %28, align 8, !tbaa !5
  %197 = getelementptr inbounds %"class.JPH::ContactConstraintManager::CachedManifold", ptr %196, i32 0, i32 2
  %198 = call noundef zeroext i16 @_ZNSt13__atomic_baseItEoREt(ptr noundef nonnull align 2 dereferenceable(2) %197, i16 noundef zeroext 2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %208

199:                                              ; preds = %188
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %18, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %19, align 4
  br label %207

203:                                              ; preds = %192
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %18, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #7
  br label %207

207:                                              ; preds = %203, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %209

208:                                              ; preds = %193, %184
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %221

209:                                              ; preds = %207, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %234

210:                                              ; preds = %124
  %211 = getelementptr inbounds %"class.JPH::ContactConstraintManager", ptr %31, i32 0, i32 4
  %212 = load ptr, ptr %211, align 8, !tbaa !23
  %213 = load ptr, ptr %15, align 8, !tbaa !5
  %214 = load ptr, ptr %16, align 8, !tbaa !5
  %215 = load ptr, ptr %14, align 8, !tbaa !5
  %216 = load ptr, ptr %12, align 8, !tbaa !5
  %217 = load ptr, ptr %212, align 8, !tbaa !31
  %218 = getelementptr inbounds ptr, ptr %217, i64 4
  %219 = load ptr, ptr %218, align 8
  invoke void %219(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef nonnull align 16 dereferenceable(122) %213, ptr noundef nonnull align 16 dereferenceable(122) %214, ptr noundef nonnull align 16 dereferenceable(2128) %215, ptr noundef nonnull align 16 dereferenceable(64) %216)
          to label %220 unwind label %160

220:                                              ; preds = %210
  br label %221

221:                                              ; preds = %220, %208
  %222 = load ptr, ptr %14, align 8, !tbaa !5
  %223 = icmp eq ptr %222, %17
  br i1 %223, label %224, label %233

224:                                              ; preds = %221
  %225 = load ptr, ptr %12, align 8, !tbaa !5
  %226 = getelementptr inbounds %"class.JPH::ContactSettings", ptr %225, i32 0, i32 2
  %227 = load ptr, ptr %12, align 8, !tbaa !5
  %228 = getelementptr inbounds %"class.JPH::ContactSettings", ptr %227, i32 0, i32 4
  call void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %226, ptr noundef nonnull align 4 dereferenceable(4) %228) #7
  %229 = load ptr, ptr %12, align 8, !tbaa !5
  %230 = getelementptr inbounds %"class.JPH::ContactSettings", ptr %229, i32 0, i32 3
  %231 = load ptr, ptr %12, align 8, !tbaa !5
  %232 = getelementptr inbounds %"class.JPH::ContactSettings", ptr %231, i32 0, i32 5
  call void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %230, ptr noundef nonnull align 4 dereferenceable(4) %232) #7
  br label %233

233:                                              ; preds = %224, %221
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %17) #7
  call void @llvm.lifetime.end.p0(i64 2128, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %238

234:                                              ; preds = %209, %160
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %235

235:                                              ; preds = %234, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %236

236:                                              ; preds = %235, %152
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  br label %237

237:                                              ; preds = %236, %96, %84
  call void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %17) #7
  call void @llvm.lifetime.end.p0(i64 2128, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %255

238:                                              ; preds = %233, %40
  br label %239

239:                                              ; preds = %238
  %240 = load ptr, ptr %12, align 8, !tbaa !5
  %241 = getelementptr inbounds %"class.JPH::ContactSettings", ptr %240, i32 0, i32 6
  %242 = load i8, ptr %241, align 8, !tbaa !22, !range !29, !noundef !30
  %243 = trunc i8 %242 to i1
  br i1 %243, label %253, label %244

244:                                              ; preds = %239
  %245 = load ptr, ptr %9, align 8, !tbaa !5
  %246 = call noundef zeroext i1 @_ZNK3JPH4Body8IsSensorEv(ptr noundef nonnull align 16 dereferenceable(122) %245)
  br i1 %246, label %250, label %247

247:                                              ; preds = %244
  %248 = load ptr, ptr %10, align 8, !tbaa !5
  %249 = call noundef zeroext i1 @_ZNK3JPH4Body8IsSensorEv(ptr noundef nonnull align 16 dereferenceable(122) %248)
  br i1 %249, label %250, label %253

250:                                              ; preds = %247, %244
  %251 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 1435, ptr noundef @.str.13)
  br i1 %251, label %252, label %253

252:                                              ; preds = %250
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !36
  br label %253

253:                                              ; preds = %252, %250, %247, %239
  br label %254

254:                                              ; preds = %253
  ret void

255:                                              ; preds = %237
  %256 = load ptr, ptr %18, align 8
  %257 = load i32, ptr %19, align 4
  %258 = insertvalue { ptr, i32 } poison, ptr %256, 0
  %259 = insertvalue { ptr, i32 } %258, i32 %257, 1
  resume { ptr, i32 } %259
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 2159374308}
!10 = !{!11, !6, i64 208}
!11 = !{!"_ZTSN3JPH24ContactConstraintManagerE", !7, i64 8, !12, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !12, i64 232, !13, i64 236, !6, i64 240}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSSt6atomicIjE", !14, i64 0}
!14 = !{!"_ZTSSt13__atomic_baseIjE", !12, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTSN3JPH15ContactSettingsE", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !18, i64 24, !19, i64 32, !19, i64 48}
!17 = !{!"float", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!20 = !{!11, !6, i64 216}
!21 = !{!16, !17, i64 4}
!22 = !{!16, !18, i64 24}
!23 = !{!11, !6, i64 200}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!11, !12, i64 184}
!27 = !{!28, !18, i64 8}
!28 = !{!"_ZTSSt4pairIPN3JPH15LockFreeHashMapINS0_14SubShapeIDPairENS0_24ContactConstraintManager14CachedManifoldEE8KeyValueEbE", !6, i64 0, !18, i64 8}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!32, !32, i64 0}
!32 = !{!"vtable pointer", !8, i64 0}
!33 = !{!28, !6, i64 0}
!34 = !{i64 0, i64 4, !35, i64 4, i64 4, !35, i64 8, i64 4, !35}
!35 = !{!17, !17, i64 0}
!36 = !{i64 2159374832}


; 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::ContactManifold" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", float, %"class.JPH::SubShapeID", %"class.JPH::SubShapeID", [4 x i8], %"class.JPH::StaticArray.34", %"class.JPH::StaticArray.34" }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::StaticArray.34" = type { i32, [12 x i8], [64 x %"struct.JPH::StaticArray<JPH::Vec3, 64>::Storage"] }
%"struct.JPH::StaticArray<JPH::Vec3, 64>::Storage" = type { [16 x i8] }
%"class.JPH::SubShapeIDPair" = type { %"class.JPH::BodyID", %"class.JPH::SubShapeID", %"class.JPH::BodyID", %"class.JPH::SubShapeID" }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::Float3" = type { float, float, float }
%"class.JPH::ContactConstraintManager::ManifoldCache" = type <{ %"class.JPH::LFHMAllocator", %"class.JPH::LockFreeHashMap", %"class.JPH::LockFreeHashMap.0", i8, [7 x i8] }>
%"class.JPH::LFHMAllocator" = type { ptr, i32, %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::LockFreeHashMap" = type { ptr, %"struct.std::atomic", ptr, i32, i32 }
%"class.JPH::LockFreeHashMap.0" = type { ptr, %"struct.std::atomic", ptr, i32, i32 }

@.str.1 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [69 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH24ContactConstraintManager13ManifoldCache4FindERKNS_14SubShapeIDPairEm(ptr noundef nonnull align 8 dereferenceable(81), ptr noundef nonnull align 4 dereferenceable(16), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(56) ptr @_ZN3JPH15LockFreeHashMapINS_14SubShapeIDPairENS_24ContactConstraintManager14CachedManifoldEE8KeyValue8GetValueEv(ptr noundef nonnull align 4 dereferenceable(76)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN3JPH24ContactConstraintManager13ManifoldCache12FindOrCreateERNS0_16ContactAllocatorERKNS_14SubShapeIDPairEmi(ptr noundef nonnull align 8 dereferenceable(81), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(16), i64 noundef, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(56) ptr @_ZNK3JPH15LockFreeHashMapINS_14SubShapeIDPairENS_24ContactConstraintManager14CachedManifoldEE8KeyValue8GetValueEv(ptr noundef nonnull align 4 dereferenceable(76)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3JPH14SubShapeIDPair7GetHashEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNSt13__atomic_baseItEoREt(ptr noundef nonnull align 2 dereferenceable(2), i16 noundef zeroext) local_unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH4Body8IsSensorEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH15ContactManifoldC2Ev(ptr noundef nonnull align 16 dereferenceable(2128)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3JPH15ContactManifold10SwapShapesEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::ContactManifold") align 16, ptr noundef nonnull align 16 dereferenceable(2128)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(2128) ptr @_ZN3JPH15ContactManifoldaSEOS0_(ptr noundef nonnull align 16 dereferenceable(2128), ptr noundef nonnull align 16 dereferenceable(2128)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH24ContactConstraintManager17OnCCDContactAddedERNS0_16ContactAllocatorERKNS_4BodyES5_RKNS_15ContactManifoldERNS_15ContactSettingsE(ptr noundef nonnull align 8 dereferenceable(248) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 16 dereferenceable(122) %2, ptr noundef nonnull align 16 dereferenceable(122) %3, ptr noundef nonnull align 16 dereferenceable(2128) %4, ptr noundef nonnull align 16 dereferenceable(64) %5) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.JPH::ContactManifold", align 16
  %8 = alloca %"class.JPH::ContactManifold", align 16
  %9 = alloca %"class.JPH::SubShapeIDPair", align 4
  %10 = alloca %"class.JPH::Float3", align 4
  %11 = getelementptr inbounds i8, ptr %4, i64 16
  %12 = tail call noundef zeroext i1 @_ZNK3JPH4Vec312IsNormalizedEf(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef 0x3EB0C6F7A0000000)
  %.0.sroa.gep = getelementptr inbounds i8, ptr %7, i64 36
  %.0.sroa.gep64 = getelementptr inbounds i8, ptr %4, i64 36
  %.0.sroa.gep66 = getelementptr inbounds i8, ptr %7, i64 40
  %.0.sroa.gep67 = getelementptr inbounds i8, ptr %4, i64 40
  br i1 %12, label %16, label %13

13:                                               ; preds = %6
  %14 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 1356)
  br i1 %14, label %15, label %16

15:                                               ; preds = %13
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !5
  br label %16

16:                                               ; preds = %6, %13, %15
  %17 = getelementptr inbounds i8, ptr %0, i64 208
  %18 = load ptr, ptr %17, align 8, !tbaa !6
  %19 = tail call noundef float %18(ptr noundef nonnull align 16 dereferenceable(122) %2, ptr noundef nonnull align 4 dereferenceable(4) %.0.sroa.gep64, ptr noundef nonnull align 16 dereferenceable(122) %3, ptr noundef nonnull align 4 dereferenceable(4) %.0.sroa.gep67)
  store float %19, ptr %5, align 16, !tbaa !14
  %20 = getelementptr inbounds i8, ptr %0, i64 216
  %21 = load ptr, ptr %20, align 8, !tbaa !19
  %22 = tail call noundef float %21(ptr noundef nonnull align 16 dereferenceable(122) %2, ptr noundef nonnull align 4 dereferenceable(4) %.0.sroa.gep64, ptr noundef nonnull align 16 dereferenceable(122) %3, ptr noundef nonnull align 4 dereferenceable(4) %.0.sroa.gep67)
  %23 = getelementptr inbounds i8, ptr %5, i64 4
  store float %22, ptr %23, align 4, !tbaa !20
  %24 = getelementptr inbounds i8, ptr %5, i64 24
  store i8 0, ptr %24, align 8, !tbaa !21
  %25 = getelementptr inbounds i8, ptr %0, i64 200
  %26 = load ptr, ptr %25, align 8, !tbaa !22
  %.not = icmp eq ptr %26, null
  br i1 %.not, label %.thread, label %27

27:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 2128, ptr nonnull %7) #7
  call void @_ZN3JPH15ContactManifoldC2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %7) #7
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %3)
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %2)
  %30 = call noundef zeroext i1 @_ZNK3JPH6BodyIDltERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29)
  br i1 %30, label %31, label %40

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 2128, ptr nonnull %8) #7
  invoke void @_ZNK3JPH15ContactManifold10SwapShapesEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::ContactManifold") align 16 %8, ptr noundef nonnull align 16 dereferenceable(2128) %4)
          to label %32 unwind label %35

32:                                               ; preds = %31
  %33 = invoke noundef nonnull align 16 dereferenceable(2128) ptr @_ZN3JPH15ContactManifoldaSEOS0_(ptr noundef nonnull align 16 dereferenceable(2128) %7, ptr noundef nonnull align 16 dereferenceable(2128) %8)
          to label %34 unwind label %37

34:                                               ; preds = %32
  call void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %8) #7
  call void @llvm.lifetime.end.p0(i64 2128, ptr nonnull %8) #7
  br label %40

35:                                               ; preds = %31
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %39

37:                                               ; preds = %32
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %8) #7
  br label %39

39:                                               ; preds = %37, %35
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 2128, ptr nonnull %8) #7
  br label %98

40:                                               ; preds = %27, %34
  %.058 = phi ptr [ %2, %34 ], [ %3, %27 ]
  %.057 = phi ptr [ %3, %34 ], [ %2, %27 ]
  %.0.sroa.phi = phi ptr [ %.0.sroa.gep, %34 ], [ %.0.sroa.gep64, %27 ]
  %.0.sroa.phi65 = phi ptr [ %.0.sroa.gep66, %34 ], [ %.0.sroa.gep67, %27 ]
  %.0 = phi ptr [ %7, %34 ], [ %4, %27 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %.057)
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %.058)
  call void @_ZN3JPH14SubShapeIDPairC2ERKNS_6BodyIDERKNS_10SubShapeIDES3_S6_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %.0.sroa.phi, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %.0.sroa.phi65)
  %43 = invoke noundef i64 @_ZNK3JPH14SubShapeIDPair7GetHashEv(ptr noundef nonnull align 4 dereferenceable(16) %9)
          to label %44 unwind label %66

44:                                               ; preds = %40
  %45 = getelementptr inbounds i8, ptr %0, i64 8
  %46 = getelementptr inbounds i8, ptr %0, i64 184
  %47 = load i32, ptr %46, align 8, !tbaa !23
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [2 x %"class.JPH::ContactConstraintManager::ManifoldCache"], ptr %45, i64 0, i64 %48
  %50 = invoke { ptr, i8 } @_ZN3JPH24ContactConstraintManager13ManifoldCache12FindOrCreateERNS0_16ContactAllocatorERKNS_14SubShapeIDPairEmi(ptr noundef nonnull align 8 dereferenceable(81) %49, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 4 dereferenceable(16) %9, i64 noundef %43, i32 noundef 0)
          to label %51 unwind label %68

51:                                               ; preds = %44
  %.fca.0.extract = extractvalue { ptr, i8 } %50, 0
  %.fca.1.extract = extractvalue { ptr, i8 } %50, 1
  %52 = trunc i8 %.fca.1.extract to i1
  br i1 %52, label %53, label %85

53:                                               ; preds = %51
  %54 = load i32, ptr %46, align 8, !tbaa !23
  %55 = xor i32 %54, 1
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [2 x %"class.JPH::ContactConstraintManager::ManifoldCache"], ptr %45, i64 0, i64 %56
  %58 = invoke noundef ptr @_ZNK3JPH24ContactConstraintManager13ManifoldCache4FindERKNS_14SubShapeIDPairEm(ptr noundef nonnull align 8 dereferenceable(81) %57, ptr noundef nonnull align 4 dereferenceable(16) %9, i64 noundef %43)
          to label %59 unwind label %70

59:                                               ; preds = %53
  %60 = icmp eq ptr %58, null
  %61 = load ptr, ptr %25, align 8, !tbaa !22
  %62 = load ptr, ptr %61, align 8, !tbaa !24
  br i1 %60, label %63, label %72

63:                                               ; preds = %59
  %64 = getelementptr inbounds i8, ptr %62, i64 24
  %65 = load ptr, ptr %64, align 8
  invoke void %65(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 16 dereferenceable(122) %.057, ptr noundef nonnull align 16 dereferenceable(122) %.058, ptr noundef nonnull align 16 dereferenceable(2128) %.0, ptr noundef nonnull align 16 dereferenceable(64) %5)
          to label %79 unwind label %70

66:                                               ; preds = %40
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %97

68:                                               ; preds = %85, %44
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %97

70:                                               ; preds = %72, %63, %53
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %97

72:                                               ; preds = %59
  %73 = getelementptr inbounds i8, ptr %62, i64 32
  %74 = load ptr, ptr %73, align 8
  invoke void %74(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 16 dereferenceable(122) %.057, ptr noundef nonnull align 16 dereferenceable(122) %.058, ptr noundef nonnull align 16 dereferenceable(2128) %.0, ptr noundef nonnull align 16 dereferenceable(64) %5)
          to label %75 unwind label %70

75:                                               ; preds = %72
  %76 = call noundef nonnull align 4 dereferenceable(56) ptr @_ZNK3JPH15LockFreeHashMapINS_14SubShapeIDPairENS_24ContactConstraintManager14CachedManifoldEE8KeyValue8GetValueEv(ptr noundef nonnull align 4 dereferenceable(76) %58)
  %77 = getelementptr inbounds i8, ptr %76, i64 16
  %78 = call noundef zeroext i16 @_ZNSt13__atomic_baseItEoREt(ptr noundef nonnull align 2 dereferenceable(2) %77, i16 noundef zeroext 1) #7
  br label %79

79:                                               ; preds = %63, %75
  %.not74 = icmp eq ptr %.fca.0.extract, null
  br i1 %.not74, label %90, label %80

80:                                               ; preds = %79
  %81 = call noundef nonnull align 4 dereferenceable(56) ptr @_ZN3JPH15LockFreeHashMapINS_14SubShapeIDPairENS_24ContactConstraintManager14CachedManifoldEE8KeyValue8GetValueEv(ptr noundef nonnull align 4 dereferenceable(76) %.fca.0.extract)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #7
  call void @_ZN3JPH6Float3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %10, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %82 = getelementptr inbounds i8, ptr %81, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %82, ptr noundef nonnull align 4 dereferenceable(12) %10, i64 12, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #7
  %83 = getelementptr inbounds i8, ptr %81, i64 16
  %84 = call noundef zeroext i16 @_ZNSt13__atomic_baseItEoREt(ptr noundef nonnull align 2 dereferenceable(2) %83, i16 noundef zeroext 2) #7
  br label %90

85:                                               ; preds = %51
  %86 = load ptr, ptr %25, align 8, !tbaa !22
  %87 = load ptr, ptr %86, align 8, !tbaa !24
  %88 = getelementptr inbounds i8, ptr %87, i64 32
  %89 = load ptr, ptr %88, align 8
  invoke void %89(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull align 16 dereferenceable(122) %.057, ptr noundef nonnull align 16 dereferenceable(122) %.058, ptr noundef nonnull align 16 dereferenceable(2128) %.0, ptr noundef nonnull align 16 dereferenceable(64) %5)
          to label %90 unwind label %68

90:                                               ; preds = %79, %80, %85
  %91 = icmp eq ptr %.0, %7
  br i1 %91, label %92, label %99

92:                                               ; preds = %90
  %93 = getelementptr inbounds i8, ptr %5, i64 8
  %94 = getelementptr inbounds i8, ptr %5, i64 16
  call void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %93, ptr noundef nonnull align 4 dereferenceable(4) %94) #7
  %95 = getelementptr inbounds i8, ptr %5, i64 12
  %96 = getelementptr inbounds i8, ptr %5, i64 20
  call void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %96) #7
  br label %99

97:                                               ; preds = %68, %70, %66
  %.pn70.pn = phi { ptr, i32 } [ %67, %66 ], [ %71, %70 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %98

98:                                               ; preds = %97, %39
  %.pn70.pn.pn = phi { ptr, i32 } [ %.pn70.pn, %97 ], [ %.pn, %39 ]
  call void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %7) #7
  call void @llvm.lifetime.end.p0(i64 2128, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn70.pn.pn

99:                                               ; preds = %90, %92
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN3JPH15ContactManifoldD2Ev(ptr noundef nonnull align 16 dereferenceable(2128) %7) #7
  call void @llvm.lifetime.end.p0(i64 2128, ptr nonnull %7) #7
  %.pre = load i8, ptr %24, align 8, !tbaa !21, !range !28
  %100 = trunc nuw i8 %.pre to i1
  br i1 %100, label %107, label %.thread

.thread:                                          ; preds = %16, %99
  %101 = call noundef zeroext i1 @_ZNK3JPH4Body8IsSensorEv(ptr noundef nonnull align 16 dereferenceable(122) %2)
  br i1 %101, label %104, label %102

102:                                              ; preds = %.thread
  %103 = call noundef zeroext i1 @_ZNK3JPH4Body8IsSensorEv(ptr noundef nonnull align 16 dereferenceable(122) %3)
  br i1 %103, label %104, label %107

104:                                              ; preds = %102, %.thread
  %105 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.1, i32 noundef 1435, ptr noundef nonnull @.str.13)
  br i1 %105, label %106, label %107

106:                                              ; preds = %104
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !29
  br label %107

107:                                              ; preds = %99, %102, %104, %106
  ret void
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 2159374308}
!6 = !{!7, !11, i64 208}
!7 = !{!"_ZTSN3JPH24ContactConstraintManagerE", !8, i64 8, !10, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !10, i64 232, !12, i64 236, !11, i64 240}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_ZTSSt6atomicIjE", !13, i64 0}
!13 = !{!"_ZTSSt13__atomic_baseIjE", !10, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTSN3JPH15ContactSettingsE", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !17, i64 24, !18, i64 32, !18, i64 48}
!16 = !{!"float", !8, i64 0}
!17 = !{!"bool", !8, i64 0}
!18 = !{!"_ZTSN3JPH4Vec3E", !8, i64 0}
!19 = !{!7, !11, i64 216}
!20 = !{!15, !16, i64 4}
!21 = !{!15, !17, i64 24}
!22 = !{!7, !11, i64 200}
!23 = !{!7, !10, i64 184}
!24 = !{!25, !25, i64 0}
!25 = !{!"vtable pointer", !9, i64 0}
!26 = !{i64 0, i64 4, !27, i64 4, i64 4, !27, i64 8, i64 4, !27}
!27 = !{!16, !16, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{i64 2159374832}


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