; LLVM IR from zig-gamedev/zphysics :: libs/Jolt/Physics/Collision/BroadPhase (QuadTree)

; 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"

%"struct.JPH::AssertLastParam" = type { i8 }
%struct.StackEntry.27 = type { i32, i32 }
%"class.JPH::QuadTree::NodeID" = type { i32 }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"class.JPH::Vec3" = type { %union.anon.1 }
%union.anon.1 = type { <4 x float> }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::QuadTree" = type <{ ptr, %"struct.JPH::FixedSizeFreeList<JPH::QuadTree::Node>::Batch", [44 x i8], %"struct.std::atomic.0", [2 x %"struct.JPH::QuadTree::RootNode"], %"struct.std::atomic.0", %"struct.std::atomic.6", [47 x i8] }>
%"struct.JPH::FixedSizeFreeList<JPH::QuadTree::Node>::Batch" = type { i32, i32, i32 }
%"struct.JPH::QuadTree::RootNode" = type { %"struct.std::atomic.0" }
%"struct.std::atomic.0" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"struct.std::atomic.6" = type { %"struct.std::__atomic_base.7" }
%"struct.std::__atomic_base.7" = type { i8 }
%"class.JPH::QuadTree::Node" = type { [4 x %"struct.std::atomic"], [4 x %"struct.std::atomic"], [4 x %"struct.std::atomic"], [4 x %"struct.std::atomic"], [4 x %"struct.std::atomic"], [4 x %"struct.std::atomic"], [4 x %"class.JPH::QuadTree::AtomicNodeID"], %"struct.std::atomic.0", %"struct.std::atomic.0", i32 }
%"struct.std::atomic" = type { float }
%"class.JPH::QuadTree::AtomicNodeID" = type { %"struct.std::atomic.0" }

@.str.2 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

; Function Attrs: 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) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3JPH8QuadTree4Node14GetChildBoundsEiRNS_5AABoxE(ptr noundef nonnull align 4 dereferenceable(124), i32 noundef, ptr noundef nonnull align 16 dereferenceable(32)) #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3JPH8QuadTree15GetBodyLocationERKNS_5ArrayINS0_8TrackingENS_12STLAllocatorIS2_EEEENS_6BodyIDERjS9_(ptr noundef nonnull align 64 dereferenceable(81), ptr noundef nonnull align 8 dereferenceable(24), i32, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(124) ptr @_ZN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE3GetEj(ptr noundef nonnull align 64 dereferenceable(132), i32 noundef) #4 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK3JPH8QuadTree6NodeID12GetNodeIndexEv(ptr noundef nonnull align 4 dereferenceable(4)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZNK3JPH8QuadTree12AtomicNodeIDcvNS0_6NodeIDEEv(ptr noundef nonnull align 4 dereferenceable(4)) #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH8QuadTree12ValidateTreeERKNS_5ArrayIPNS_4BodyENS_12STLAllocatorIS3_EEEERKNS1_INS0_8TrackingENS4_IS9_EEEEjj(ptr noundef nonnull align 64 dereferenceable(81) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3, i32 noundef %4) #2 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.JPH::AssertLastParam", align 1
  %12 = alloca [128 x %struct.StackEntry.27], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %struct.StackEntry.27, align 4
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.JPH::AssertLastParam", align 1
  %18 = alloca %"struct.JPH::AssertLastParam", align 1
  %19 = alloca i32, align 4
  %20 = alloca %"class.JPH::QuadTree::NodeID", align 4
  %21 = alloca i32, align 4
  %22 = alloca %"struct.JPH::AssertLastParam", align 1
  %23 = alloca ptr, align 8
  %24 = alloca %"class.JPH::AABox", align 16
  %25 = alloca %"class.JPH::AABox", align 16
  %26 = alloca %"struct.JPH::AssertLastParam", align 1
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"class.JPH::BodyID", align 4
  %30 = alloca %"struct.JPH::AssertLastParam", align 1
  %31 = alloca %"struct.JPH::AssertLastParam", align 1
  %32 = alloca %"class.JPH::AABox", align 16
  %33 = alloca ptr, align 8
  %34 = alloca %"class.JPH::BodyID", align 4
  %35 = alloca %"class.JPH::AABox", align 16
  %36 = alloca %"class.JPH::AABox", align 16
  %37 = alloca %"class.JPH::Mat44", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"struct.JPH::AssertLastParam", align 1
  %40 = alloca %"struct.JPH::AssertLastParam", align 1
  %41 = alloca %"struct.JPH::AssertLastParam", align 1
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  %42 = load ptr, ptr %6, align 8
  br label %43

43:                                               ; preds = %5
  %44 = load i32, ptr %9, align 4, !tbaa !9
  %45 = icmp ne i32 %44, -1
  br i1 %45, label %49, label %46

46:                                               ; preds = %43
  %47 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.35, ptr noundef @.str.2, i32 noundef 1466)
  br i1 %47, label %48, label %49

48:                                               ; preds = %46
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !11
  br label %49

49:                                               ; preds = %48, %46, %43
  br label %50

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1024, ptr %12) #7
  %51 = load i32, ptr %9, align 4, !tbaa !9
  %52 = getelementptr inbounds [128 x %struct.StackEntry.27], ptr %12, i64 0, i64 0
  %53 = getelementptr inbounds %struct.StackEntry.27, ptr %52, i32 0, i32 0
  store i32 %51, ptr %53, align 16, !tbaa !12
  %54 = getelementptr inbounds [128 x %struct.StackEntry.27], ptr %12, i64 0, i64 0
  %55 = getelementptr inbounds %struct.StackEntry.27, ptr %54, i32 0, i32 1
  store i32 -1, ptr %55, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %56

56:                                               ; preds = %236, %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %57 = load i32, ptr %13, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [128 x %struct.StackEntry.27], ptr %12, i64 0, i64 %58
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 8 %59, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %60 = getelementptr inbounds %"class.JPH::QuadTree", ptr %42, i32 0, i32 0
  %61 = load ptr, ptr %60, align 64, !tbaa !16
  %62 = getelementptr inbounds %struct.StackEntry.27, ptr %15, i32 0, i32 0
  %63 = load i32, ptr %62, align 4, !tbaa !12
  %64 = call noundef nonnull align 4 dereferenceable(124) ptr @_ZN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE3GetEj(ptr noundef nonnull align 64 dereferenceable(132) %61, i32 noundef %63)
  store ptr %64, ptr %16, align 8, !tbaa !5
  br label %65

65:                                               ; preds = %56
  %66 = load ptr, ptr %16, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.JPH::QuadTree::Node", ptr %66, i32 0, i32 7
  %68 = call noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %67) #7
  %69 = getelementptr inbounds %struct.StackEntry.27, ptr %15, i32 0, i32 1
  %70 = load i32, ptr %69, align 4, !tbaa !14
  %71 = icmp eq i32 %68, %70
  br i1 %71, label %75, label %72

72:                                               ; preds = %65
  %73 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.36, ptr noundef @.str.2, i32 noundef 1488)
  br i1 %73, label %74, label %75

74:                                               ; preds = %72
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !24
  br label %75

75:                                               ; preds = %74, %72, %65
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  %79 = getelementptr inbounds %struct.StackEntry.27, ptr %15, i32 0, i32 1
  %80 = load i32, ptr %79, align 4, !tbaa !14
  %81 = icmp eq i32 %80, -1
  br i1 %81, label %99, label %82

82:                                               ; preds = %78
  %83 = getelementptr inbounds %"class.JPH::QuadTree", ptr %42, i32 0, i32 0
  %84 = load ptr, ptr %83, align 64, !tbaa !16
  %85 = getelementptr inbounds %struct.StackEntry.27, ptr %15, i32 0, i32 1
  %86 = load i32, ptr %85, align 4, !tbaa !14
  %87 = call noundef nonnull align 4 dereferenceable(124) ptr @_ZN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE3GetEj(ptr noundef nonnull align 64 dereferenceable(132) %84, i32 noundef %86)
  %88 = getelementptr inbounds %"class.JPH::QuadTree::Node", ptr %87, i32 0, i32 8
  %89 = call noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %88) #7
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %99, label %91

91:                                               ; preds = %82
  %92 = load ptr, ptr %16, align 8, !tbaa !5
  %93 = getelementptr inbounds %"class.JPH::QuadTree::Node", ptr %92, i32 0, i32 8
  %94 = call noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %93) #7
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %99

96:                                               ; preds = %91
  %97 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.37, ptr noundef @.str.2, i32 noundef 1491)
  br i1 %97, label %98, label %99

98:                                               ; preds = %96
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !25
  br label %99

99:                                               ; preds = %98, %96, %91, %82, %78
  br label %100

100:                                              ; preds = %99
  br label %101

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %230, %101
  %103 = load i32, ptr %19, align 4, !tbaa !9
  %104 = icmp ult i32 %103, 4
  br i1 %104, label %106, label %105

105:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %233

106:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  %108 = getelementptr inbounds %"class.JPH::QuadTree::Node", ptr %107, i32 0, i32 6
  %109 = load i32, ptr %19, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds [4 x %"class.JPH::QuadTree::AtomicNodeID"], ptr %108, i64 0, i64 %110
  %112 = call i32 @_ZNK3JPH8QuadTree12AtomicNodeIDcvNS0_6NodeIDEEv(ptr noundef nonnull align 4 dereferenceable(4) %111)
  %113 = getelementptr inbounds %"class.JPH::QuadTree::NodeID", ptr %20, i32 0, i32 0
  store i32 %112, ptr %113, align 4
  %114 = call noundef zeroext i1 @_ZNK3JPH8QuadTree6NodeID7IsValidEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  br i1 %114, label %115, label %229

115:                                              ; preds = %106
  %116 = call noundef zeroext i1 @_ZNK3JPH8QuadTree6NodeID6IsNodeEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  br i1 %116, label %117, label %155

117:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %118 = call noundef i32 @_ZNK3JPH8QuadTree6NodeID12GetNodeIndexEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  store i32 %118, ptr %21, align 4, !tbaa !9
  br label %119

119:                                              ; preds = %117
  %120 = load i32, ptr %13, align 4, !tbaa !9
  %121 = icmp slt i32 %120, 128
  br i1 %121, label %125, label %122

122:                                              ; preds = %119
  %123 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 1503)
  br i1 %123, label %124, label %125

124:                                              ; preds = %122
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !26
  br label %125

125:                                              ; preds = %124, %122, %119
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %128 = load i32, ptr %13, align 4, !tbaa !9
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %13, align 4, !tbaa !9
  %130 = sext i32 %128 to i64
  %131 = getelementptr inbounds [128 x %struct.StackEntry.27], ptr %12, i64 0, i64 %130
  store ptr %131, ptr %23, align 8, !tbaa !5
  %132 = load i32, ptr %21, align 4, !tbaa !9
  %133 = load ptr, ptr %23, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.StackEntry.27, ptr %133, i32 0, i32 0
  store i32 %132, ptr %134, align 4, !tbaa !12
  %135 = getelementptr inbounds %struct.StackEntry.27, ptr %15, i32 0, i32 0
  %136 = load i32, ptr %135, align 4, !tbaa !12
  %137 = load ptr, ptr %23, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.StackEntry.27, ptr %137, i32 0, i32 1
  store i32 %136, ptr %138, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #7
  call void @_ZN3JPH5AABoxC2Ev(ptr noundef nonnull align 16 dereferenceable(32) %24)
  %139 = load ptr, ptr %16, align 8, !tbaa !5
  %140 = load i32, ptr %19, align 4, !tbaa !9
  call void @_ZNK3JPH8QuadTree4Node14GetChildBoundsEiRNS_5AABoxE(ptr noundef nonnull align 4 dereferenceable(124) %139, i32 noundef %140, ptr noundef nonnull align 16 dereferenceable(32) %24)
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #7
  call void @_ZN3JPH5AABoxC2Ev(ptr noundef nonnull align 16 dereferenceable(32) %25)
  %141 = getelementptr inbounds %"class.JPH::QuadTree", ptr %42, i32 0, i32 0
  %142 = load ptr, ptr %141, align 64, !tbaa !16
  %143 = load i32, ptr %21, align 4, !tbaa !9
  %144 = call noundef nonnull align 4 dereferenceable(124) ptr @_ZN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE3GetEj(ptr noundef nonnull align 64 dereferenceable(132) %142, i32 noundef %143)
  call void @_ZNK3JPH8QuadTree4Node13GetNodeBoundsERNS_5AABoxE(ptr noundef nonnull align 4 dereferenceable(124) %144, ptr noundef nonnull align 16 dereferenceable(32) %25)
  br label %145

145:                                              ; preds = %127
  %146 = call noundef zeroext i1 @_ZNK3JPH5AABox8ContainsERKS0_(ptr noundef nonnull align 16 dereferenceable(32) %24, ptr noundef nonnull align 16 dereferenceable(32) %25)
  br i1 %146, label %152, label %147

147:                                              ; preds = %145
  %148 = call noundef zeroext i1 @_ZNK3JPH5AABox7IsValidEv(ptr noundef nonnull align 16 dereferenceable(32) %25)
  br i1 %148, label %149, label %152

149:                                              ; preds = %147
  %150 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.38, ptr noundef @.str.2, i32 noundef 1514)
  br i1 %150, label %151, label %152

151:                                              ; preds = %149
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !27
  br label %152

152:                                              ; preds = %151, %149, %147, %145
  br label %153

153:                                              ; preds = %152
  br label %154

154:                                              ; preds = %153
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %228

155:                                              ; preds = %115
  %156 = load i32, ptr %14, align 4, !tbaa !9
  %157 = add i32 %156, 1
  store i32 %157, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %158 = load ptr, ptr %8, align 8, !tbaa !5
  %159 = call i32 @_ZNK3JPH8QuadTree6NodeID9GetBodyIDEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  %160 = getelementptr inbounds %"class.JPH::BodyID", ptr %29, i32 0, i32 0
  store i32 %159, ptr %160, align 4
  %161 = getelementptr inbounds %"class.JPH::BodyID", ptr %29, i32 0, i32 0
  %162 = load i32, ptr %161, align 4
  call void @_ZNK3JPH8QuadTree15GetBodyLocationERKNS_5ArrayINS0_8TrackingENS_12STLAllocatorIS2_EEEENS_6BodyIDERjS9_(ptr noundef nonnull align 64 dereferenceable(81) %42, ptr noundef nonnull align 8 dereferenceable(24) %158, i32 %162, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28)
  br label %163

163:                                              ; preds = %155
  %164 = load i32, ptr %27, align 4, !tbaa !9
  %165 = getelementptr inbounds %struct.StackEntry.27, ptr %15, i32 0, i32 0
  %166 = load i32, ptr %165, align 4, !tbaa !12
  %167 = icmp eq i32 %164, %166
  br i1 %167, label %171, label %168

168:                                              ; preds = %163
  %169 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.39, ptr noundef @.str.2, i32 noundef 1524)
  br i1 %169, label %170, label %171

170:                                              ; preds = %168
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !28
  br label %171

171:                                              ; preds = %170, %168, %163
  br label %172

172:                                              ; preds = %171
  br label %173

173:                                              ; preds = %172
  br label %174

174:                                              ; preds = %173
  %175 = load i32, ptr %28, align 4, !tbaa !9
  %176 = load i32, ptr %19, align 4, !tbaa !9
  %177 = icmp eq i32 %175, %176
  br i1 %177, label %181, label %178

178:                                              ; preds = %174
  %179 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.40, ptr noundef @.str.2, i32 noundef 1525)
  br i1 %179, label %180, label %181

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

181:                                              ; preds = %180, %178, %174
  br label %182

182:                                              ; preds = %181
  br label %183

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #7
  call void @_ZN3JPH5AABoxC2Ev(ptr noundef nonnull align 16 dereferenceable(32) %32)
  %184 = load ptr, ptr %16, align 8, !tbaa !5
  %185 = load i32, ptr %19, align 4, !tbaa !9
  call void @_ZNK3JPH8QuadTree4Node14GetChildBoundsEiRNS_5AABoxE(ptr noundef nonnull align 4 dereferenceable(124) %184, i32 noundef %185, ptr noundef nonnull align 16 dereferenceable(32) %32)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %186 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  %187 = call i32 @_ZNK3JPH8QuadTree6NodeID9GetBodyIDEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  %188 = getelementptr inbounds %"class.JPH::BodyID", ptr %34, i32 0, i32 0
  store i32 %187, ptr %188, align 4
  %189 = call noundef i32 @_ZNK3JPH6BodyID8GetIndexEv(ptr noundef nonnull align 4 dereferenceable(4) %34)
  %190 = zext i32 %189 to i64
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef %190)
  %192 = load ptr, ptr %191, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  store ptr %192, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #7
  %193 = load ptr, ptr %33, align 8, !tbaa !5
  %194 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNK3JPH4Body19GetWorldSpaceBoundsEv(ptr noundef nonnull align 16 dereferenceable(122) %193)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %194, i64 32, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #7
  %195 = load ptr, ptr %33, align 8, !tbaa !5
  %196 = call noundef ptr @_ZNK3JPH4Body8GetShapeEv(ptr noundef nonnull align 16 dereferenceable(122) %195)
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #7
  %197 = load ptr, ptr %33, align 8, !tbaa !5
  call void @_ZNK3JPH4Body24GetCenterOfMassTransformEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %37, ptr noundef nonnull align 16 dereferenceable(122) %197)
  %198 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 1.000000e+00)
  %199 = getelementptr inbounds %"class.JPH::Vec3", ptr %38, i32 0, i32 0
  %200 = getelementptr inbounds %union.anon.1, ptr %199, i32 0, i32 0
  %201 = getelementptr inbounds { double, double }, ptr %200, i32 0, i32 0
  %202 = extractvalue { double, double } %198, 0
  store double %202, ptr %201, align 16
  %203 = getelementptr inbounds { double, double }, ptr %200, i32 0, i32 1
  %204 = extractvalue { double, double } %198, 1
  store double %204, ptr %203, align 8
  %205 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %206 = load double, ptr %205, align 16
  %207 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %208 = load double, ptr %207, align 8
  %209 = load ptr, ptr %196, align 8, !tbaa !32
  %210 = getelementptr inbounds ptr, ptr %209, i64 6
  %211 = load ptr, ptr %210, align 8
  call void %211(ptr dead_on_unwind writable sret(%"class.JPH::AABox") align 16 %36, ptr noundef nonnull align 8 dereferenceable(26) %196, ptr noundef nonnull align 16 dereferenceable(64) %37, double %206, double %208)
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #7
  br label %212

212:                                              ; preds = %183
  %213 = call noundef zeroext i1 @_ZNK3JPH5AABoxeqERKS0_(ptr noundef nonnull align 16 dereferenceable(32) %35, ptr noundef nonnull align 16 dereferenceable(32) %36)
  br i1 %213, label %217, label %214

214:                                              ; preds = %212
  %215 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.41, ptr noundef @.str.2, i32 noundef 1533)
  br i1 %215, label %216, label %217

216:                                              ; preds = %214
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !34
  br label %217

217:                                              ; preds = %216, %214, %212
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  br label %220

220:                                              ; preds = %219
  %221 = call noundef zeroext i1 @_ZNK3JPH5AABox8ContainsERKS0_(ptr noundef nonnull align 16 dereferenceable(32) %32, ptr noundef nonnull align 16 dereferenceable(32) %36)
  br i1 %221, label %225, label %222

222:                                              ; preds = %220
  %223 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.42, ptr noundef @.str.2, i32 noundef 1534)
  br i1 %223, label %224, label %225

224:                                              ; preds = %222
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !35
  br label %225

225:                                              ; preds = %224, %222, %220
  br label %226

226:                                              ; preds = %225
  br label %227

227:                                              ; preds = %226
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %228

228:                                              ; preds = %227, %154
  br label %229

229:                                              ; preds = %228, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %230

230:                                              ; preds = %229
  %231 = load i32, ptr %19, align 4, !tbaa !9
  %232 = add i32 %231, 1
  store i32 %232, ptr %19, align 4, !tbaa !9
  br label %102, !llvm.loop !36

233:                                              ; preds = %105
  %234 = load i32, ptr %13, align 4, !tbaa !9
  %235 = add nsw i32 %234, -1
  store i32 %235, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %236

236:                                              ; preds = %233
  %237 = load i32, ptr %13, align 4, !tbaa !9
  %238 = icmp sge i32 %237, 0
  br i1 %238, label %56, label %239, !llvm.loop !38

239:                                              ; preds = %236
  br label %240

240:                                              ; preds = %239
  %241 = load i32, ptr %14, align 4, !tbaa !9
  %242 = load i32, ptr %10, align 4, !tbaa !9
  %243 = icmp eq i32 %241, %242
  br i1 %243, label %247, label %244

244:                                              ; preds = %240
  %245 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.43, ptr noundef @.str.2, i32 noundef 1543)
  br i1 %245, label %246, label %247

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

247:                                              ; preds = %246, %244, %240
  br label %248

248:                                              ; preds = %247
  br label %249

249:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 1024, ptr %12) #7
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZNK3JPH8QuadTree6NodeID9GetBodyIDEv(ptr noundef nonnull align 4 dereferenceable(4)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5AABox8ContainsERKS0_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5AABox7IsValidEv(ptr noundef nonnull align 16 dereferenceable(32)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH4Body8GetShapeEv(ptr noundef nonnull align 16 dereferenceable(122)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3JPH4Body24GetCenterOfMassTransformEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(122)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5AABoxeqERKS0_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress 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 = !{!"int", !7, i64 0}
!11 = !{i64 2158547794}
!12 = !{!13, !10, i64 0}
!13 = !{!"_ZTSZNK3JPH8QuadTree12ValidateTreeERKNS_5ArrayIPNS_4BodyENS_12STLAllocatorIS3_EEEERKNS1_INS0_8TrackingENS4_IS9_EEEEjjE10StackEntry", !10, i64 0, !10, i64 4}
!14 = !{!13, !10, i64 4}
!15 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSN3JPH8QuadTreeE", !6, i64 0, !18, i64 8, !19, i64 64, !7, i64 68, !19, i64 76, !21, i64 80}
!18 = !{!"_ZTSN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE5BatchE", !10, i64 0, !10, i64 4, !10, i64 8}
!19 = !{!"_ZTSSt6atomicIjE", !20, i64 0}
!20 = !{!"_ZTSSt13__atomic_baseIjE", !10, i64 0}
!21 = !{!"_ZTSSt6atomicIbE", !22, i64 0}
!22 = !{!"_ZTSSt13__atomic_baseIbE", !23, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{i64 2158548211}
!25 = !{i64 2158548776}
!26 = !{i64 2158549123}
!27 = !{i64 2158549582}
!28 = !{i64 2158549961}
!29 = !{i64 2158550304}
!30 = !{i64 0, i64 16, !31, i64 16, i64 16, !31}
!31 = !{!7, !7, i64 0}
!32 = !{!33, !33, i64 0}
!33 = !{!"vtable pointer", !8, i64 0}
!34 = !{i64 2158550695}
!35 = !{i64 2158551086}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = distinct !{!38, !37}
!39 = !{i64 2158551467}


; 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"

%struct.StackEntry.27 = type { i32, i32 }
%"class.JPH::QuadTree::NodeID" = type { i32 }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"class.JPH::Vec3" = type { %union.anon.1 }
%union.anon.1 = type { <4 x float> }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::QuadTree::AtomicNodeID" = type { %"struct.std::atomic.0" }
%"struct.std::atomic.0" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }

@.str.2 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

; Function Attrs: 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) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3JPH8QuadTree4Node14GetChildBoundsEiRNS_5AABoxE(ptr noundef nonnull align 4 dereferenceable(124), i32 noundef, ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3JPH8QuadTree15GetBodyLocationERKNS_5ArrayINS0_8TrackingENS_12STLAllocatorIS2_EEEENS_6BodyIDERjS9_(ptr noundef nonnull align 64 dereferenceable(81), ptr noundef nonnull align 8 dereferenceable(24), i32, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(124) ptr @_ZN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE3GetEj(ptr noundef nonnull align 64 dereferenceable(132), i32 noundef) local_unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK3JPH8QuadTree6NodeID12GetNodeIndexEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZNK3JPH8QuadTree12AtomicNodeIDcvNS0_6NodeIDEEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH8QuadTree12ValidateTreeERKNS_5ArrayIPNS_4BodyENS_12STLAllocatorIS3_EEEERKNS1_INS0_8TrackingENS4_IS9_EEEEjj(ptr noundef nonnull align 64 dereferenceable(81) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 align 2 {
  %6 = alloca [128 x %struct.StackEntry.27], align 16
  %7 = alloca %"class.JPH::QuadTree::NodeID", align 4
  %8 = alloca %"class.JPH::AABox", align 16
  %9 = alloca %"class.JPH::AABox", align 16
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.JPH::AABox", align 16
  %13 = alloca %"class.JPH::BodyID", align 4
  %14 = alloca %"class.JPH::AABox", align 16
  %15 = alloca %"class.JPH::AABox", align 16
  %16 = alloca %"class.JPH::Mat44", align 16
  %.not = icmp eq i32 %3, -1
  br i1 %.not, label %17, label %20

17:                                               ; preds = %5
  %18 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.2, i32 noundef 1466)
  br i1 %18, label %19, label %20

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

20:                                               ; preds = %5, %17, %19
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #7
  store i32 %3, ptr %6, align 16, !tbaa !6
  %21 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 -1, ptr %21, align 4, !tbaa !11
  br label %22

22:                                               ; preds = %48, %20
  %.036 = phi i32 [ 0, %20 ], [ %.238, %48 ]
  %.0 = phi i32 [ 0, %20 ], [ %49, %48 ]
  %23 = zext nneg i32 %.0 to i64
  %24 = getelementptr inbounds [128 x %struct.StackEntry.27], ptr %6, i64 0, i64 %23
  %.sroa.018.0.copyload = load i32, ptr %24, align 8, !tbaa !12
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 4
  %.sroa.6.0.copyload = load i32, ptr %.sroa.6.0..sroa_idx, align 4, !tbaa !12
  %25 = load ptr, ptr %0, align 64, !tbaa !13
  %26 = call noundef nonnull align 4 dereferenceable(124) ptr @_ZN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE3GetEj(ptr noundef nonnull align 64 dereferenceable(132) %25, i32 noundef %.sroa.018.0.copyload)
  %27 = getelementptr inbounds i8, ptr %26, i64 112
  %28 = call noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %27) #7
  %29 = icmp eq i32 %28, %.sroa.6.0.copyload
  br i1 %29, label %33, label %30

30:                                               ; preds = %22
  %31 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.2, i32 noundef 1488)
  br i1 %31, label %32, label %33

32:                                               ; preds = %30
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !22
  br label %33

33:                                               ; preds = %22, %30, %32
  %34 = icmp eq i32 %.sroa.6.0.copyload, -1
  br i1 %34, label %46, label %35

35:                                               ; preds = %33
  %36 = load ptr, ptr %0, align 64, !tbaa !13
  %37 = call noundef nonnull align 4 dereferenceable(124) ptr @_ZN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE3GetEj(ptr noundef nonnull align 64 dereferenceable(132) %36, i32 noundef %.sroa.6.0.copyload)
  %38 = getelementptr inbounds i8, ptr %37, i64 116
  %39 = call noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %38) #7
  %.not41 = icmp eq i32 %39, 0
  br i1 %.not41, label %40, label %46

40:                                               ; preds = %35
  %41 = getelementptr inbounds i8, ptr %26, i64 116
  %42 = call noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %41) #7
  %.not42 = icmp eq i32 %42, 0
  br i1 %.not42, label %46, label %43

43:                                               ; preds = %40
  %44 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.2, i32 noundef 1491)
  br i1 %44, label %45, label %46

45:                                               ; preds = %43
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !23
  br label %46

46:                                               ; preds = %45, %43, %40, %35, %33
  %47 = getelementptr inbounds i8, ptr %26, i64 96
  br label %51

48:                                               ; preds = %118
  %49 = add nsw i32 %.2, -1
  %50 = icmp sgt i32 %.2, 0
  br i1 %50, label %22, label %119, !llvm.loop !24

51:                                               ; preds = %46, %118
  %indvars.iv = phi i64 [ 0, %46 ], [ %indvars.iv.next, %118 ]
  %.145 = phi i32 [ %.0, %46 ], [ %.2, %118 ]
  %.13744 = phi i32 [ %.036, %46 ], [ %.238, %118 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %52 = getelementptr inbounds [4 x %"class.JPH::QuadTree::AtomicNodeID"], ptr %47, i64 0, i64 %indvars.iv
  %53 = call i32 @_ZNK3JPH8QuadTree12AtomicNodeIDcvNS0_6NodeIDEEv(ptr noundef nonnull align 4 dereferenceable(4) %52)
  store i32 %53, ptr %7, align 4
  %54 = call noundef zeroext i1 @_ZNK3JPH8QuadTree6NodeID7IsValidEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  br i1 %54, label %55, label %118

55:                                               ; preds = %51
  %56 = call noundef zeroext i1 @_ZNK3JPH8QuadTree6NodeID6IsNodeEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  br i1 %56, label %57, label %78

57:                                               ; preds = %55
  %58 = call noundef i32 @_ZNK3JPH8QuadTree6NodeID12GetNodeIndexEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  %59 = icmp slt i32 %.145, 128
  br i1 %59, label %63, label %60

60:                                               ; preds = %57
  %61 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 1503)
  br i1 %61, label %62, label %63

62:                                               ; preds = %60
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !26
  br label %63

63:                                               ; preds = %62, %60, %57
  %64 = add nsw i32 %.145, 1
  %65 = sext i32 %.145 to i64
  %66 = getelementptr inbounds [128 x %struct.StackEntry.27], ptr %6, i64 0, i64 %65
  store i32 %58, ptr %66, align 8, !tbaa !6
  %67 = getelementptr inbounds i8, ptr %66, i64 4
  store i32 %.sroa.018.0.copyload, ptr %67, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  call void @_ZN3JPH5AABoxC2Ev(ptr noundef nonnull align 16 dereferenceable(32) %8)
  %68 = trunc nuw nsw i64 %indvars.iv to i32
  call void @_ZNK3JPH8QuadTree4Node14GetChildBoundsEiRNS_5AABoxE(ptr noundef nonnull align 4 dereferenceable(124) %26, i32 noundef %68, ptr noundef nonnull align 16 dereferenceable(32) %8)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @_ZN3JPH5AABoxC2Ev(ptr noundef nonnull align 16 dereferenceable(32) %9)
  %69 = load ptr, ptr %0, align 64, !tbaa !13
  %70 = call noundef nonnull align 4 dereferenceable(124) ptr @_ZN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE3GetEj(ptr noundef nonnull align 64 dereferenceable(132) %69, i32 noundef %58)
  call void @_ZNK3JPH8QuadTree4Node13GetNodeBoundsERNS_5AABoxE(ptr noundef nonnull align 4 dereferenceable(124) %70, ptr noundef nonnull align 16 dereferenceable(32) %9)
  %71 = call noundef zeroext i1 @_ZNK3JPH5AABox8ContainsERKS0_(ptr noundef nonnull align 16 dereferenceable(32) %8, ptr noundef nonnull align 16 dereferenceable(32) %9)
  br i1 %71, label %77, label %72

72:                                               ; preds = %63
  %73 = call noundef zeroext i1 @_ZNK3JPH5AABox7IsValidEv(ptr noundef nonnull align 16 dereferenceable(32) %9)
  br i1 %73, label %74, label %77

74:                                               ; preds = %72
  %75 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.2, i32 noundef 1514)
  br i1 %75, label %76, label %77

76:                                               ; preds = %74
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !27
  br label %77

77:                                               ; preds = %76, %74, %72, %63
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %118

78:                                               ; preds = %55
  %79 = add i32 %.13744, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  %80 = call i32 @_ZNK3JPH8QuadTree6NodeID9GetBodyIDEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @_ZNK3JPH8QuadTree15GetBodyLocationERKNS_5ArrayINS0_8TrackingENS_12STLAllocatorIS2_EEEENS_6BodyIDERjS9_(ptr noundef nonnull align 64 dereferenceable(81) %0, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 %80, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %81 = load i32, ptr %10, align 4, !tbaa !12
  %82 = icmp eq i32 %81, %.sroa.018.0.copyload
  br i1 %82, label %86, label %83

83:                                               ; preds = %78
  %84 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.2, i32 noundef 1524)
  br i1 %84, label %85, label %86

85:                                               ; preds = %83
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !28
  br label %86

86:                                               ; preds = %78, %83, %85
  %87 = load i32, ptr %11, align 4, !tbaa !12
  %88 = zext i32 %87 to i64
  %89 = icmp eq i64 %indvars.iv, %88
  br i1 %89, label %93, label %90

90:                                               ; preds = %86
  %91 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.2, i32 noundef 1525)
  br i1 %91, label %92, label %93

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

93:                                               ; preds = %92, %90, %86
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  call void @_ZN3JPH5AABoxC2Ev(ptr noundef nonnull align 16 dereferenceable(32) %12)
  %94 = trunc nuw nsw i64 %indvars.iv to i32
  call void @_ZNK3JPH8QuadTree4Node14GetChildBoundsEiRNS_5AABoxE(ptr noundef nonnull align 4 dereferenceable(124) %26, i32 noundef %94, ptr noundef nonnull align 16 dereferenceable(32) %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %95 = call i32 @_ZNK3JPH8QuadTree6NodeID9GetBodyIDEv(ptr noundef nonnull align 4 dereferenceable(4) %7)
  store i32 %95, ptr %13, align 4
  %96 = call noundef i32 @_ZNK3JPH6BodyID8GetIndexEv(ptr noundef nonnull align 4 dereferenceable(4) %13)
  %97 = zext i32 %96 to i64
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %97)
  %99 = load ptr, ptr %98, align 8, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #7
  %100 = call noundef nonnull align 16 dereferenceable(32) ptr @_ZNK3JPH4Body19GetWorldSpaceBoundsEv(ptr noundef nonnull align 16 dereferenceable(122) %99)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %14, ptr noundef nonnull align 16 dereferenceable(32) %100, i64 32, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #7
  %101 = call noundef ptr @_ZNK3JPH4Body8GetShapeEv(ptr noundef nonnull align 16 dereferenceable(122) %99)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #7
  call void @_ZNK3JPH4Body24GetCenterOfMassTransformEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %16, ptr noundef nonnull align 16 dereferenceable(122) %99)
  %102 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 1.000000e+00)
  %103 = extractvalue { double, double } %102, 0
  %104 = extractvalue { double, double } %102, 1
  %105 = load ptr, ptr %101, align 8, !tbaa !33
  %106 = getelementptr inbounds i8, ptr %105, i64 48
  %107 = load ptr, ptr %106, align 8
  call void %107(ptr dead_on_unwind nonnull writable sret(%"class.JPH::AABox") align 16 %15, ptr noundef nonnull align 8 dereferenceable(26) %101, ptr noundef nonnull align 16 dereferenceable(64) %16, double %103, double %104)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #7
  %108 = call noundef zeroext i1 @_ZNK3JPH5AABoxeqERKS0_(ptr noundef nonnull align 16 dereferenceable(32) %14, ptr noundef nonnull align 16 dereferenceable(32) %15)
  br i1 %108, label %112, label %109

109:                                              ; preds = %93
  %110 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.2, i32 noundef 1533)
  br i1 %110, label %111, label %112

111:                                              ; preds = %109
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !35
  br label %112

112:                                              ; preds = %93, %109, %111
  %113 = call noundef zeroext i1 @_ZNK3JPH5AABox8ContainsERKS0_(ptr noundef nonnull align 16 dereferenceable(32) %12, ptr noundef nonnull align 16 dereferenceable(32) %15)
  br i1 %113, label %117, label %114

114:                                              ; preds = %112
  %115 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.2, i32 noundef 1534)
  br i1 %115, label %116, label %117

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

117:                                              ; preds = %116, %114, %112
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %118

118:                                              ; preds = %77, %117, %51
  %.238 = phi i32 [ %.13744, %77 ], [ %79, %117 ], [ %.13744, %51 ]
  %.2 = phi i32 [ %64, %77 ], [ %.145, %117 ], [ %.145, %51 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 4
  br i1 %exitcond.not, label %48, label %51, !llvm.loop !37

119:                                              ; preds = %48
  %120 = icmp eq i32 %.238, %4
  br i1 %120, label %124, label %121

121:                                              ; preds = %119
  %122 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.2, i32 noundef 1543)
  br i1 %122, label %123, label %124

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

124:                                              ; preds = %123, %121, %119
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #7
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZNK3JPH8QuadTree6NodeID9GetBodyIDEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5AABox8ContainsERKS0_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5AABox7IsValidEv(ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH4Body8GetShapeEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3JPH4Body24GetCenterOfMassTransformEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5AABoxeqERKS0_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress 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 2158547794}
!6 = !{!7, !8, i64 0}
!7 = !{!"_ZTSZNK3JPH8QuadTree12ValidateTreeERKNS_5ArrayIPNS_4BodyENS_12STLAllocatorIS3_EEEERKNS1_INS0_8TrackingENS4_IS9_EEEEjjE10StackEntry", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTSN3JPH8QuadTreeE", !15, i64 0, !16, i64 8, !17, i64 64, !9, i64 68, !17, i64 76, !19, i64 80}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!"_ZTSN3JPH17FixedSizeFreeListINS_8QuadTree4NodeEE5BatchE", !8, i64 0, !8, i64 4, !8, i64 8}
!17 = !{!"_ZTSSt6atomicIjE", !18, i64 0}
!18 = !{!"_ZTSSt13__atomic_baseIjE", !8, i64 0}
!19 = !{!"_ZTSSt6atomicIbE", !20, i64 0}
!20 = !{!"_ZTSSt13__atomic_baseIbE", !21, i64 0}
!21 = !{!"bool", !9, i64 0}
!22 = !{i64 2158548211}
!23 = !{i64 2158548776}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{i64 2158549123}
!27 = !{i64 2158549582}
!28 = !{i64 2158549961}
!29 = !{i64 2158550304}
!30 = !{!15, !15, i64 0}
!31 = !{i64 0, i64 16, !32, i64 16, i64 16, !32}
!32 = !{!9, !9, i64 0}
!33 = !{!34, !34, i64 0}
!34 = !{!"vtable pointer", !10, i64 0}
!35 = !{i64 2158550695}
!36 = !{i64 2158551086}
!37 = distinct !{!37, !25}
!38 = !{i64 2158551467}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass