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

; 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::Vec4" = type { %union.anon.14 }
%union.anon.14 = type { <4 x float> }
%"class.JPH::MutableCompoundShape" = type { %"class.JPH::CompoundShape.base", %"class.JPH::Array.10", [8 x i8] }
%"class.JPH::CompoundShape.base" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::Vec3", %"class.JPH::AABox", %"class.JPH::Array.7", float }>
%"class.JPH::Shape.base" = type <{ ptr, %"class.JPH::RefTarget.5", [4 x i8], i64, i8, i8 }>
%"class.JPH::RefTarget.5" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::Vec3" = type { %union.anon.6 }
%union.anon.6 = type { <4 x float> }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"class.JPH::Array.7" = type { i64, i64, ptr }
%"class.JPH::Array.10" = type { i64, i64, ptr }
%"struct.JPH::MutableCompoundShape::Bounds" = type { %"class.JPH::Vec4", %"class.JPH::Vec4", %"class.JPH::Vec4", %"class.JPH::Vec4", %"class.JPH::Vec4", %"class.JPH::Vec4" }
%"class.JPH::CompoundShape" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::Vec3", %"class.JPH::AABox", %"class.JPH::Array.7", float, [4 x i8] }>

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

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

; Function Attrs: 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
define dso_local void @_ZN3JPH20MutableCompoundShape20CalculateLocalBoundsEv(ptr noundef nonnull align 16 dereferenceable(144) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"class.JPH::Vec4", align 16
  %6 = alloca %"class.JPH::Vec4", align 16
  %7 = alloca %"class.JPH::Vec4", align 16
  %8 = alloca %"class.JPH::Vec4", align 16
  %9 = alloca %"class.JPH::Vec4", align 16
  %10 = alloca %"class.JPH::Vec4", align 16
  %11 = alloca ptr, align 8
  %12 = alloca %"class.JPH::Vec4", align 16
  %13 = alloca %"class.JPH::Vec4", align 16
  %14 = alloca %"class.JPH::Vec4", align 16
  %15 = alloca %"class.JPH::Vec4", align 16
  %16 = alloca %"class.JPH::Vec4", align 16
  %17 = alloca %"class.JPH::Vec4", align 16
  %18 = alloca %"class.JPH::Vec4", align 16
  %19 = alloca %"class.JPH::Vec4", align 16
  %20 = alloca %"class.JPH::Vec4", align 16
  %21 = alloca %"class.JPH::Vec4", align 16
  %22 = alloca %"class.JPH::Vec4", align 16
  %23 = alloca %"class.JPH::Vec4", align 16
  %24 = alloca %"class.JPH::Vec4", align 16
  %25 = alloca %"class.JPH::Vec4", align 16
  %26 = alloca %"class.JPH::Vec4", align 16
  %27 = alloca %"class.JPH::Vec4", align 16
  %28 = alloca %"class.JPH::Vec4", align 16
  %29 = alloca %"class.JPH::Vec4", align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %30 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %31 = call noundef i32 @_ZNK3JPH20MutableCompoundShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(144) %30)
  store i32 %31, ptr %3, align 4, !tbaa !9
  %32 = load i32, ptr %3, align 4, !tbaa !9
  %33 = icmp ugt i32 %32, 0
  br i1 %33, label %34, label %184

34:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %35 = getelementptr inbounds %"class.JPH::MutableCompoundShape", ptr %30, i32 0, i32 1
  %36 = call noundef ptr @_ZN3JPH5ArrayINS_20MutableCompoundShape6BoundsENS_12STLAllocatorIS2_EEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %35)
  store ptr %36, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #7
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %37, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 %38, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %39, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %41, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %42, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %43, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 %44, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %45, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 %46, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %47, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %48, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = load i32, ptr %3, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %49, i64 %51
  store ptr %52, ptr %11, align 8, !tbaa !5
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %53, i32 1
  store ptr %54, ptr %4, align 8, !tbaa !5
  br label %55

55:                                               ; preds = %162, %34
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = icmp ult ptr %56, %57
  br i1 %58, label %59, label %165

59:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !11
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %60, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 %61, i64 16, i1 false), !tbaa.struct !11
  %62 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %63 = load double, ptr %62, align 16
  %64 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %65 = load double, ptr %64, align 8
  %66 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %67 = load double, ptr %66, align 16
  %68 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %69 = load double, ptr %68, align 8
  %70 = call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %63, double %65, double %67, double %69)
  %71 = getelementptr inbounds %"class.JPH::Vec4", ptr %12, i32 0, i32 0
  %72 = getelementptr inbounds %union.anon.14, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 0
  %74 = extractvalue { double, double } %70, 0
  store double %74, ptr %73, align 16
  %75 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 1
  %76 = extractvalue { double, double } %70, 1
  store double %76, ptr %75, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 %12, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %6, i64 16, i1 false), !tbaa.struct !11
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %77, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %78, i64 16, i1 false), !tbaa.struct !11
  %79 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %80 = load double, ptr %79, align 16
  %81 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %82 = load double, ptr %81, align 8
  %83 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %84 = load double, ptr %83, align 16
  %85 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %86 = load double, ptr %85, align 8
  %87 = call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %80, double %82, double %84, double %86)
  %88 = getelementptr inbounds %"class.JPH::Vec4", ptr %15, i32 0, i32 0
  %89 = getelementptr inbounds %union.anon.14, ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 0
  %91 = extractvalue { double, double } %87, 0
  store double %91, ptr %90, align 16
  %92 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 1
  %93 = extractvalue { double, double } %87, 1
  store double %93, ptr %92, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 %15, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %7, i64 16, i1 false), !tbaa.struct !11
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %94, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %95, i64 16, i1 false), !tbaa.struct !11
  %96 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %97 = load double, ptr %96, align 16
  %98 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %99 = load double, ptr %98, align 8
  %100 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %101 = load double, ptr %100, align 16
  %102 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %103 = load double, ptr %102, align 8
  %104 = call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %97, double %99, double %101, double %103)
  %105 = getelementptr inbounds %"class.JPH::Vec4", ptr %18, i32 0, i32 0
  %106 = getelementptr inbounds %union.anon.14, ptr %105, i32 0, i32 0
  %107 = getelementptr inbounds { double, double }, ptr %106, i32 0, i32 0
  %108 = extractvalue { double, double } %104, 0
  store double %108, ptr %107, align 16
  %109 = getelementptr inbounds { double, double }, ptr %106, i32 0, i32 1
  %110 = extractvalue { double, double } %104, 1
  store double %110, ptr %109, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %18, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !11
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %111, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 %112, i64 16, i1 false), !tbaa.struct !11
  %113 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %114 = load double, ptr %113, align 16
  %115 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %116 = load double, ptr %115, align 8
  %117 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %118 = load double, ptr %117, align 16
  %119 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %120 = load double, ptr %119, align 8
  %121 = call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %114, double %116, double %118, double %120)
  %122 = getelementptr inbounds %"class.JPH::Vec4", ptr %21, i32 0, i32 0
  %123 = getelementptr inbounds %union.anon.14, ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds { double, double }, ptr %123, i32 0, i32 0
  %125 = extractvalue { double, double } %121, 0
  store double %125, ptr %124, align 16
  %126 = getelementptr inbounds { double, double }, ptr %123, i32 0, i32 1
  %127 = extractvalue { double, double } %121, 1
  store double %127, ptr %126, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 %21, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !11
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %128, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %129, i64 16, i1 false), !tbaa.struct !11
  %130 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %131 = load double, ptr %130, align 16
  %132 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %133 = load double, ptr %132, align 8
  %134 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %135 = load double, ptr %134, align 16
  %136 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %137 = load double, ptr %136, align 8
  %138 = call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %131, double %133, double %135, double %137)
  %139 = getelementptr inbounds %"class.JPH::Vec4", ptr %24, i32 0, i32 0
  %140 = getelementptr inbounds %union.anon.14, ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds { double, double }, ptr %140, i32 0, i32 0
  %142 = extractvalue { double, double } %138, 0
  store double %142, ptr %141, align 16
  %143 = getelementptr inbounds { double, double }, ptr %140, i32 0, i32 1
  %144 = extractvalue { double, double } %138, 1
  store double %144, ptr %143, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 %24, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !11
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %145, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %146, i64 16, i1 false), !tbaa.struct !11
  %147 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %148 = load double, ptr %147, align 16
  %149 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %150 = load double, ptr %149, align 8
  %151 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %152 = load double, ptr %151, align 16
  %153 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %154 = load double, ptr %153, align 8
  %155 = call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %148, double %150, double %152, double %154)
  %156 = getelementptr inbounds %"class.JPH::Vec4", ptr %27, i32 0, i32 0
  %157 = getelementptr inbounds %union.anon.14, ptr %156, i32 0, i32 0
  %158 = getelementptr inbounds { double, double }, ptr %157, i32 0, i32 0
  %159 = extractvalue { double, double } %155, 0
  store double %159, ptr %158, align 16
  %160 = getelementptr inbounds { double, double }, ptr %157, i32 0, i32 1
  %161 = extractvalue { double, double } %155, 1
  store double %161, ptr %160, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %27, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  br label %162

162:                                              ; preds = %59
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %163, i32 1
  store ptr %164, ptr %4, align 8, !tbaa !5
  br label %55, !llvm.loop !13

165:                                              ; preds = %55
  %166 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %30, i32 0, i32 3
  %167 = getelementptr inbounds %"class.JPH::AABox", ptr %166, i32 0, i32 0
  %168 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %5)
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %167, float noundef %168)
  %169 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %30, i32 0, i32 3
  %170 = getelementptr inbounds %"class.JPH::AABox", ptr %169, i32 0, i32 0
  %171 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %6)
  call void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16) %170, float noundef %171)
  %172 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %30, i32 0, i32 3
  %173 = getelementptr inbounds %"class.JPH::AABox", ptr %172, i32 0, i32 0
  %174 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %7)
  call void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16) %173, float noundef %174)
  %175 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %30, i32 0, i32 3
  %176 = getelementptr inbounds %"class.JPH::AABox", ptr %175, i32 0, i32 1
  %177 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %8)
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %176, float noundef %177)
  %178 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %30, i32 0, i32 3
  %179 = getelementptr inbounds %"class.JPH::AABox", ptr %178, i32 0, i32 1
  %180 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16) %179, float noundef %180)
  %181 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %30, i32 0, i32 3
  %182 = getelementptr inbounds %"class.JPH::AABox", ptr %181, i32 0, i32 1
  %183 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %10)
  call void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16) %182, float noundef %183)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  br label %186

184:                                              ; preds = %1
  %185 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %30, i32 0, i32 3
  call void @_ZN3JPH5AABox8SetEmptyEv(ptr noundef nonnull align 16 dereferenceable(32) %185)
  br label %186

186:                                              ; preds = %184, %165
  call void @_ZN3JPH13CompoundShape20CalculateInnerRadiusEv(ptr noundef nonnull align 16 dereferenceable(108) %30)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK3JPH20MutableCompoundShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(144)) #3 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH13CompoundShape20CalculateInnerRadiusEv(ptr noundef nonnull align 16 dereferenceable(108)) #3 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 = { 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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::Vec4" = type { %union.anon.14 }
%union.anon.14 = type { <4 x float> }

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

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

; Function Attrs: mustprogress 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
define dso_local void @_ZN3JPH20MutableCompoundShape20CalculateLocalBoundsEv(ptr noundef nonnull align 16 dereferenceable(144) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca %"class.JPH::Vec4", align 16
  %3 = alloca %"class.JPH::Vec4", align 16
  %4 = alloca %"class.JPH::Vec4", align 16
  %5 = alloca %"class.JPH::Vec4", align 16
  %6 = alloca %"class.JPH::Vec4", align 16
  %7 = alloca %"class.JPH::Vec4", align 16
  %8 = tail call noundef i32 @_ZNK3JPH20MutableCompoundShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(144) %0)
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %64, label %9

9:                                                ; preds = %1
  %10 = getelementptr inbounds i8, ptr %0, i64 112
  %11 = tail call noundef ptr @_ZN3JPH5ArrayINS_20MutableCompoundShape6BoundsENS_12STLAllocatorIS2_EEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %2, ptr noundef nonnull align 16 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  %12 = getelementptr inbounds i8, ptr %11, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %12, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %13 = getelementptr inbounds i8, ptr %11, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %14 = getelementptr inbounds i8, ptr %11, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %15 = getelementptr inbounds i8, ptr %11, i64 64
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %15, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %16 = getelementptr inbounds i8, ptr %11, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %7, ptr noundef nonnull align 16 dereferenceable(16) %16, i64 16, i1 false), !tbaa.struct !5
  %17 = zext i32 %8 to i64
  %.idx = mul nuw nsw i64 %17, 96
  %18 = getelementptr inbounds i8, ptr %11, i64 %.idx
  %.promoted = load double, ptr %2, align 16
  %.promoted53 = load double, ptr %3, align 16
  %.promoted55 = load double, ptr %4, align 16
  %.promoted57 = load double, ptr %5, align 16
  %.promoted59 = load double, ptr %6, align 16
  %.promoted61 = load double, ptr %7, align 16
  %.not71 = icmp eq i32 %8, 1
  br i1 %.not71, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %9
  %.063 = getelementptr inbounds i8, ptr %11, i64 96
  %.sroa.231.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  %.sroa.219.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.22.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.231.0..sroa_idx.promoted = load double, ptr %.sroa.231.0..sroa_idx, align 8, !tbaa !6
  %.sroa.225.0..sroa_idx.promoted = load double, ptr %.sroa.225.0..sroa_idx, align 8, !tbaa !6
  %.sroa.219.0..sroa_idx.promoted = load double, ptr %.sroa.219.0..sroa_idx, align 8, !tbaa !6
  %.sroa.213.0..sroa_idx.promoted = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !6
  %.sroa.27.0..sroa_idx.promoted = load double, ptr %.sroa.27.0..sroa_idx, align 8, !tbaa !6
  %.sroa.22.0..sroa_idx.promoted = load double, ptr %.sroa.22.0..sroa_idx, align 8, !tbaa !6
  br label %19

19:                                               ; preds = %.lr.ph, %19
  %20 = phi double [ %.sroa.22.0..sroa_idx.promoted, %.lr.ph ], [ %54, %19 ]
  %21 = phi double [ %.sroa.27.0..sroa_idx.promoted, %.lr.ph ], [ %50, %19 ]
  %22 = phi double [ %.sroa.213.0..sroa_idx.promoted, %.lr.ph ], [ %46, %19 ]
  %23 = phi double [ %.sroa.219.0..sroa_idx.promoted, %.lr.ph ], [ %42, %19 ]
  %24 = phi double [ %.sroa.225.0..sroa_idx.promoted, %.lr.ph ], [ %38, %19 ]
  %25 = phi double [ %.sroa.231.0..sroa_idx.promoted, %.lr.ph ], [ %34, %19 ]
  %.065 = phi ptr [ %.063, %.lr.ph ], [ %.0, %19 ]
  %.pn64 = phi ptr [ %11, %.lr.ph ], [ %.065, %19 ]
  %26 = phi double [ %.promoted, %.lr.ph ], [ %33, %19 ]
  %27 = phi double [ %.promoted53, %.lr.ph ], [ %37, %19 ]
  %28 = phi double [ %.promoted55, %.lr.ph ], [ %41, %19 ]
  %29 = phi double [ %.promoted57, %.lr.ph ], [ %45, %19 ]
  %30 = phi double [ %.promoted59, %.lr.ph ], [ %49, %19 ]
  %31 = phi double [ %.promoted61, %.lr.ph ], [ %53, %19 ]
  %.sroa.028.0.copyload = load double, ptr %.065, align 16
  %.sroa.229.0..sroa_idx = getelementptr inbounds i8, ptr %.pn64, i64 104
  %.sroa.229.0.copyload = load double, ptr %.sroa.229.0..sroa_idx, align 8, !tbaa !6
  %32 = tail call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %26, double %25, double %.sroa.028.0.copyload, double %.sroa.229.0.copyload)
  %33 = extractvalue { double, double } %32, 0
  %34 = extractvalue { double, double } %32, 1
  store double %34, ptr %.sroa.231.0..sroa_idx, align 8, !tbaa !6
  %35 = getelementptr inbounds i8, ptr %.pn64, i64 112
  %.sroa.022.0.copyload = load double, ptr %35, align 16
  %.sroa.223.0..sroa_idx = getelementptr inbounds i8, ptr %.pn64, i64 120
  %.sroa.223.0.copyload = load double, ptr %.sroa.223.0..sroa_idx, align 8, !tbaa !6
  %36 = tail call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %27, double %24, double %.sroa.022.0.copyload, double %.sroa.223.0.copyload)
  %37 = extractvalue { double, double } %36, 0
  %38 = extractvalue { double, double } %36, 1
  store double %38, ptr %.sroa.225.0..sroa_idx, align 8, !tbaa !6
  %39 = getelementptr inbounds i8, ptr %.pn64, i64 128
  %.sroa.016.0.copyload = load double, ptr %39, align 16
  %.sroa.217.0..sroa_idx = getelementptr inbounds i8, ptr %.pn64, i64 136
  %.sroa.217.0.copyload = load double, ptr %.sroa.217.0..sroa_idx, align 8, !tbaa !6
  %40 = tail call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %28, double %23, double %.sroa.016.0.copyload, double %.sroa.217.0.copyload)
  %41 = extractvalue { double, double } %40, 0
  %42 = extractvalue { double, double } %40, 1
  store double %42, ptr %.sroa.219.0..sroa_idx, align 8, !tbaa !6
  %43 = getelementptr inbounds i8, ptr %.pn64, i64 144
  %.sroa.010.0.copyload = load double, ptr %43, align 16
  %.sroa.211.0..sroa_idx = getelementptr inbounds i8, ptr %.pn64, i64 152
  %.sroa.211.0.copyload = load double, ptr %.sroa.211.0..sroa_idx, align 8, !tbaa !6
  %44 = tail call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %29, double %22, double %.sroa.010.0.copyload, double %.sroa.211.0.copyload)
  %45 = extractvalue { double, double } %44, 0
  %46 = extractvalue { double, double } %44, 1
  store double %46, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !6
  %47 = getelementptr inbounds i8, ptr %.pn64, i64 160
  %.sroa.04.0.copyload = load double, ptr %47, align 16
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %.pn64, i64 168
  %.sroa.25.0.copyload = load double, ptr %.sroa.25.0..sroa_idx, align 8, !tbaa !6
  %48 = tail call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %30, double %21, double %.sroa.04.0.copyload, double %.sroa.25.0.copyload)
  %49 = extractvalue { double, double } %48, 0
  %50 = extractvalue { double, double } %48, 1
  store double %50, ptr %.sroa.27.0..sroa_idx, align 8, !tbaa !6
  %51 = getelementptr inbounds i8, ptr %.pn64, i64 176
  %.sroa.0.0.copyload = load double, ptr %51, align 16
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %.pn64, i64 184
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !6
  %52 = tail call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %31, double %20, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %53 = extractvalue { double, double } %52, 0
  %54 = extractvalue { double, double } %52, 1
  store double %54, ptr %.sroa.22.0..sroa_idx, align 8, !tbaa !6
  %.0 = getelementptr inbounds i8, ptr %.065, i64 96
  %55 = icmp ult ptr %.0, %18
  br i1 %55, label %19, label %._crit_edge, !llvm.loop !9

._crit_edge:                                      ; preds = %19, %9
  %.lcssa62 = phi double [ %.promoted61, %9 ], [ %53, %19 ]
  %.lcssa60 = phi double [ %.promoted59, %9 ], [ %49, %19 ]
  %.lcssa58 = phi double [ %.promoted57, %9 ], [ %45, %19 ]
  %.lcssa56 = phi double [ %.promoted55, %9 ], [ %41, %19 ]
  %.lcssa54 = phi double [ %.promoted53, %9 ], [ %37, %19 ]
  %.lcssa = phi double [ %.promoted, %9 ], [ %33, %19 ]
  store double %.lcssa, ptr %2, align 16
  store double %.lcssa54, ptr %3, align 16
  store double %.lcssa56, ptr %4, align 16
  store double %.lcssa58, ptr %5, align 16
  store double %.lcssa60, ptr %6, align 16
  store double %.lcssa62, ptr %7, align 16
  %56 = getelementptr inbounds i8, ptr %0, i64 48
  %57 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %2)
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %56, float noundef %57)
  %58 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %3)
  call void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16) %56, float noundef %58)
  %59 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %4)
  call void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16) %56, float noundef %59)
  %60 = getelementptr inbounds i8, ptr %0, i64 64
  %61 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %5)
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %60, float noundef %61)
  %62 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %6)
  call void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16) %60, float noundef %62)
  %63 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %7)
  call void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16) %60, float noundef %63)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  br label %66

64:                                               ; preds = %1
  %65 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZN3JPH5AABox8SetEmptyEv(ptr noundef nonnull align 16 dereferenceable(32) %65)
  br label %66

66:                                               ; preds = %64, %._crit_edge
  call void @_ZN3JPH13CompoundShape20CalculateInnerRadiusEv(ptr noundef nonnull align 16 dereferenceable(108) %0)
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK3JPH20MutableCompoundShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(144)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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


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