; LLVM IR from vectozavr/3dzavr :: engine/components/physics (RigidObject)

; 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.Vec3D = type { %"struct.std::array.3" }
%"struct.std::array.3" = type { [3 x double] }
%class.Matrix3x3 = type { %"struct.std::array.9" }
%"struct.std::array.9" = type { [3 x %"struct.std::array.3"] }
%"class.__gnu_cxx::__normal_iterator.65" = type { ptr }
%class.RigidObject = type { %class.Component, %class.Vec3D, %class.Vec3D, double, double, double, %class.Vec3D, %class.Matrix3x3, %class.Matrix3x3, double, double, i8, %class.HitBox, i8, i8, %class.Vec3D, %"class.std::function" }
%class.Component = type { ptr, ptr }
%class.HitBox = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Vec3D, std::allocator<Vec3D>>::_Vector_impl" }
%"struct.std::_Vector_base<Vec3D, std::allocator<Vec3D>>::_Vector_impl" = type { %"struct.std::_Vector_base<Vec3D, std::allocator<Vec3D>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Vec3D, std::allocator<Vec3D>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

; 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: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Vec3D3dotERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Vec3DC2ERK5Vec4D(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Vec3DmiERKS_(ptr dead_on_unwind noalias writable sret(%class.Vec3D) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Vec3D5crossERKS_(ptr dead_on_unwind noalias writable sret(%class.Vec3D) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Vec3DplERKS_(ptr dead_on_unwind noalias writable sret(%class.Vec3D) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11RigidObject20computeInertiaTensorERKSt10shared_ptrI12TriangleMeshE(ptr noundef nonnull align 8 dereferenceable(368) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.Matrix3x3, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.65", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.65", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %class.Vec3D, align 8
  %11 = alloca %class.Vec3D, align 8
  %12 = alloca %class.Vec3D, align 8
  %13 = alloca %class.Vec3D, align 8
  %14 = alloca %class.Vec3D, align 8
  %15 = alloca %class.Vec3D, align 8
  %16 = alloca double, align 8
  %17 = alloca %class.Vec3D, align 8
  %18 = alloca %class.Vec3D, align 8
  %19 = alloca %class.Vec3D, align 8
  %20 = alloca double, align 8
  %21 = alloca %class.Matrix3x3, align 8
  %22 = alloca %class.Matrix3x3, align 8
  %23 = alloca %class.Matrix3x3, align 8
  %24 = alloca %class.Matrix3x3, align 8
  %25 = alloca %class.Matrix3x3, align 8
  %26 = alloca %class.Matrix3x3, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %27 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 72, ptr %5) #6
  call void @_ZN9Matrix3x34ZeroEv(ptr dead_on_unwind writable sret(%class.Matrix3x3) align 8 %5)
  %28 = getelementptr inbounds %class.RigidObject, ptr %27, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %5, i64 72, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 72, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = call noundef ptr @_ZNKSt19__shared_ptr_accessI12TriangleMeshLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  %31 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK12TriangleMesh9trianglesEv(ptr noundef nonnull align 8 dereferenceable(121) %30)
  store ptr %31, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call ptr @_ZNKSt6vectorI8TriangleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %34 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.65", ptr %7, i32 0, i32 0
  store ptr %33, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = call ptr @_ZNKSt6vectorI8TriangleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #6
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.65", ptr %8, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  br label %38

38:                                               ; preds = %63, %2
  %39 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK8TriangleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %39, label %41, label %40

40:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %65

41:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %42 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK8TriangleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  store ptr %42, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8TriangleixEi(ptr noundef nonnull align 8 dereferenceable(192) %43, i32 noundef 0)
  call void @_ZN5Vec3DC2ERK5Vec4D(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(32) %44)
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8TriangleixEi(ptr noundef nonnull align 8 dereferenceable(192) %45, i32 noundef 1)
  call void @_ZN5Vec3DC2ERK5Vec4D(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(32) %46)
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8TriangleixEi(ptr noundef nonnull align 8 dereferenceable(192) %47, i32 noundef 2)
  call void @_ZN5Vec3DC2ERK5Vec4D(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(32) %48)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  call void @_ZNK5Vec3DplERKS_(ptr dead_on_unwind writable sret(%class.Vec3D) align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %11)
  call void @_ZNK5Vec3DplERKS_(ptr dead_on_unwind writable sret(%class.Vec3D) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %12)
  call void @_ZNK5Vec3DdvEd(ptr dead_on_unwind writable sret(%class.Vec3D) align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %14, double noundef 3.000000e+00)
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  call void @_ZNK5Vec3D5crossERKS_(ptr dead_on_unwind writable sret(%class.Vec3D) align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
  %49 = call noundef double @_ZNK5Vec3D3dotERKS_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %17)
  %50 = fdiv double %49, 6.000000e+00
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  store double %50, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  call void @_ZNK5Vec3DdvEd(ptr dead_on_unwind writable sret(%class.Vec3D) align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %13, double noundef 4.000000e+00)
  %51 = getelementptr inbounds %class.RigidObject, ptr %27, i32 0, i32 6
  call void @_ZNK5Vec3DmiERKS_(ptr dead_on_unwind writable sret(%class.Vec3D) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %51)
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %52 = getelementptr inbounds %class.RigidObject, ptr %27, i32 0, i32 3
  %53 = load double, ptr %52, align 8, !tbaa !13
  %54 = load double, ptr %16, align 8, !tbaa !11
  %55 = getelementptr inbounds %class.RigidObject, ptr %27, i32 0, i32 4
  %56 = load double, ptr %55, align 8, !tbaa !28
  %57 = fdiv double %54, %56
  %58 = fmul double %53, %57
  store double %58, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 72, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr %24) #6
  call void @_ZN9Matrix3x38IdentityEv(ptr dead_on_unwind writable sret(%class.Matrix3x3) align 8 %24)
  %59 = call noundef double @_ZNK5Vec3D6sqrAbsEv(ptr noundef nonnull align 8 dereferenceable(24) %18)
  call void @_ZNK9Matrix3x3mlEd(ptr dead_on_unwind writable sret(%class.Matrix3x3) align 8 %23, ptr noundef nonnull align 8 dereferenceable(72) %24, double noundef %59)
  call void @llvm.lifetime.start.p0(i64 72, ptr %25) #6
  call void @_ZN9Matrix3x35OuterERK5Vec3DS2_(ptr dead_on_unwind writable sret(%class.Matrix3x3) align 8 %25, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %18)
  call void @_ZNK9Matrix3x3miERKS_(ptr dead_on_unwind writable sret(%class.Matrix3x3) align 8 %22, ptr noundef nonnull align 8 dereferenceable(72) %23, ptr noundef nonnull align 8 dereferenceable(72) %25)
  %60 = load double, ptr %20, align 8, !tbaa !11
  call void @_ZNK9Matrix3x3mlEd(ptr dead_on_unwind writable sret(%class.Matrix3x3) align 8 %21, ptr noundef nonnull align 8 dereferenceable(72) %22, double noundef %60)
  %61 = getelementptr inbounds %class.RigidObject, ptr %27, i32 0, i32 7
  %62 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN9Matrix3x3pLERKS_(ptr noundef nonnull align 8 dereferenceable(72) %61, ptr noundef nonnull align 8 dereferenceable(72) %21)
  call void @llvm.lifetime.end.p0(i64 72, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %63

63:                                               ; preds = %41
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK8TriangleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br label %38

65:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 72, ptr %26) #6
  %66 = getelementptr inbounds %class.RigidObject, ptr %27, i32 0, i32 7
  call void @_ZNK9Matrix3x37inverseEv(ptr dead_on_unwind writable sret(%class.Matrix3x3) align 8 %26, ptr noundef nonnull align 8 dereferenceable(72) %66)
  %67 = getelementptr inbounds %class.RigidObject, ptr %27, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %67, ptr align 8 %26, i64 72, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 72, ptr %26) #6
  ret void
}

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8TriangleixEi(ptr noundef nonnull align 8 dereferenceable(192), i32 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Vec3DdvEd(ptr dead_on_unwind noalias writable sret(%class.Vec3D) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9Matrix3x34ZeroEv(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9Matrix3x38IdentityEv(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNK9Matrix3x3mlEd(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8, ptr noundef nonnull align 8 dereferenceable(72), double noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Vec3D6sqrAbsEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK9Matrix3x3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9Matrix3x35OuterERK5Vec3DS2_(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN9Matrix3x3pLERKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK9Matrix3x37inverseEv(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8, ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 72, !10}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !12, i64 64}
!14 = !{!"_ZTS11RigidObject", !15, i64 0, !16, i64 16, !16, i64 40, !12, i64 64, !12, i64 72, !12, i64 80, !16, i64 88, !18, i64 112, !18, i64 184, !12, i64 256, !12, i64 264, !20, i64 272, !21, i64 280, !20, i64 304, !20, i64 305, !16, i64 312, !26, i64 336}
!15 = !{!"_ZTS9Component", !6, i64 8}
!16 = !{!"_ZTS5Vec3D", !17, i64 0}
!17 = !{!"_ZTSSt5arrayIdLm3EE", !7, i64 0}
!18 = !{!"_ZTS9Matrix3x3", !19, i64 0}
!19 = !{!"_ZTSSt5arrayIS_IdLm3EELm3EE", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTS6HitBox", !22, i64 0}
!22 = !{!"_ZTSSt6vectorI5Vec3DSaIS0_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseI5Vec3DSaIS0_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI5Vec3DSaIS0_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseI5Vec3DSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt8functionIFvRK14CollisionPointSt10shared_ptrI11RigidObjectES5_EE", !27, i64 0, !6, i64 24}
!27 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!28 = !{!14, !12, i64 72}


; 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.Vec3D = type { %"struct.std::array.3" }
%"struct.std::array.3" = type { [3 x double] }
%class.Matrix3x3 = type { %"struct.std::array.9" }
%"struct.std::array.9" = type { [3 x %"struct.std::array.3"] }
%"class.__gnu_cxx::__normal_iterator.65" = type { ptr }

; 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: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Vec3D3dotERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Vec3DC2ERK5Vec4D(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Vec3DmiERKS_(ptr dead_on_unwind noalias writable sret(%class.Vec3D) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Vec3D5crossERKS_(ptr dead_on_unwind noalias writable sret(%class.Vec3D) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Vec3DplERKS_(ptr dead_on_unwind noalias writable sret(%class.Vec3D) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11RigidObject20computeInertiaTensorERKSt10shared_ptrI12TriangleMeshE(ptr noundef nonnull align 8 dereferenceable(368) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) local_unnamed_addr #3 align 2 {
  %3 = alloca %class.Matrix3x3, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.65", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.65", align 8
  %6 = alloca %class.Vec3D, align 8
  %7 = alloca %class.Vec3D, align 8
  %8 = alloca %class.Vec3D, align 8
  %9 = alloca %class.Vec3D, align 8
  %10 = alloca %class.Vec3D, align 8
  %11 = alloca %class.Vec3D, align 8
  %12 = alloca %class.Vec3D, align 8
  %13 = alloca %class.Vec3D, align 8
  %14 = alloca %class.Vec3D, align 8
  %15 = alloca %class.Matrix3x3, align 8
  %16 = alloca %class.Matrix3x3, align 8
  %17 = alloca %class.Matrix3x3, align 8
  %18 = alloca %class.Matrix3x3, align 8
  %19 = alloca %class.Matrix3x3, align 8
  %20 = alloca %class.Matrix3x3, align 8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #6
  call void @_ZN9Matrix3x34ZeroEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix3x3) align 8 %3)
  %21 = getelementptr inbounds i8, ptr %0, i64 112
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %21, ptr noundef nonnull align 8 dereferenceable(72) %3, i64 72, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #6
  %22 = call noundef ptr @_ZNKSt19__shared_ptr_accessI12TriangleMeshLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #6
  %23 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK12TriangleMesh9trianglesEv(ptr noundef nonnull align 8 dereferenceable(121) %22)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %24 = call ptr @_ZNKSt6vectorI8TriangleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  store ptr %24, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %25 = call ptr @_ZNKSt6vectorI8TriangleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  store ptr %25, ptr %5, align 8
  %26 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK8TriangleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %26, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %27 = getelementptr inbounds i8, ptr %0, i64 88
  %28 = getelementptr inbounds i8, ptr %0, i64 64
  %29 = getelementptr inbounds i8, ptr %0, i64 72
  br label %31

._crit_edge:                                      ; preds = %31, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %20) #6
  call void @_ZNK9Matrix3x37inverseEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix3x3) align 8 %20, ptr noundef nonnull align 8 dereferenceable(72) %21)
  %30 = getelementptr inbounds i8, ptr %0, i64 184
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %30, ptr noundef nonnull align 8 dereferenceable(72) %20, i64 72, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %20) #6
  ret void

31:                                               ; preds = %.lr.ph, %31
  %32 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK8TriangleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  %33 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8TriangleixEi(ptr noundef nonnull align 8 dereferenceable(192) %32, i32 noundef 0)
  call void @_ZN5Vec3DC2ERK5Vec4D(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(32) %33)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  %34 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8TriangleixEi(ptr noundef nonnull align 8 dereferenceable(192) %32, i32 noundef 1)
  call void @_ZN5Vec3DC2ERK5Vec4D(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(32) %34)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8TriangleixEi(ptr noundef nonnull align 8 dereferenceable(192) %32, i32 noundef 2)
  call void @_ZN5Vec3DC2ERK5Vec4D(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(32) %35)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNK5Vec3DplERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vec3D) align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
  call void @_ZNK5Vec3DplERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vec3D) align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @_ZNK5Vec3DdvEd(ptr dead_on_unwind nonnull writable sret(%class.Vec3D) align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %10, double noundef 3.000000e+00)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  call void @_ZNK5Vec3D5crossERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vec3D) align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
  %36 = call noundef double @_ZNK5Vec3D3dotERKS_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %12)
  %37 = fdiv double %36, 6.000000e+00
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  call void @_ZNK5Vec3DdvEd(ptr dead_on_unwind nonnull writable sret(%class.Vec3D) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %9, double noundef 4.000000e+00)
  call void @_ZNK5Vec3DmiERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vec3D) align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %27)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  %38 = load double, ptr %28, align 8, !tbaa !9
  %39 = load double, ptr %29, align 8, !tbaa !26
  %40 = fdiv double %37, %39
  %41 = fmul double %38, %40
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %18) #6
  call void @_ZN9Matrix3x38IdentityEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix3x3) align 8 %18)
  %42 = call noundef double @_ZNK5Vec3D6sqrAbsEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @_ZNK9Matrix3x3mlEd(ptr dead_on_unwind nonnull writable sret(%class.Matrix3x3) align 8 %17, ptr noundef nonnull align 8 dereferenceable(72) %18, double noundef %42)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %19) #6
  call void @_ZN9Matrix3x35OuterERK5Vec3DS2_(ptr dead_on_unwind nonnull writable sret(%class.Matrix3x3) align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @_ZNK9Matrix3x3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix3x3) align 8 %16, ptr noundef nonnull align 8 dereferenceable(72) %17, ptr noundef nonnull align 8 dereferenceable(72) %19)
  call void @_ZNK9Matrix3x3mlEd(ptr dead_on_unwind nonnull writable sret(%class.Matrix3x3) align 8 %15, ptr noundef nonnull align 8 dereferenceable(72) %16, double noundef %41)
  %43 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN9Matrix3x3pLERKS_(ptr noundef nonnull align 8 dereferenceable(72) %21, ptr noundef nonnull align 8 dereferenceable(72) %15)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK8TriangleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK8TriangleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %45, label %31, label %._crit_edge
}

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK8TriangleixEi(ptr noundef nonnull align 8 dereferenceable(192), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Vec3DdvEd(ptr dead_on_unwind noalias writable sret(%class.Vec3D) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9Matrix3x34ZeroEv(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9Matrix3x38IdentityEv(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNK9Matrix3x3mlEd(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8, ptr noundef nonnull align 8 dereferenceable(72), double noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Vec3D6sqrAbsEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK9Matrix3x3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9Matrix3x35OuterERK5Vec3DS2_(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN9Matrix3x3pLERKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK9Matrix3x37inverseEv(ptr dead_on_unwind noalias writable sret(%class.Matrix3x3) align 8, ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 72, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !15, i64 64}
!10 = !{!"_ZTS11RigidObject", !11, i64 0, !13, i64 16, !13, i64 40, !15, i64 64, !15, i64 72, !15, i64 80, !13, i64 88, !16, i64 112, !16, i64 184, !15, i64 256, !15, i64 264, !18, i64 272, !19, i64 280, !18, i64 304, !18, i64 305, !13, i64 312, !24, i64 336}
!11 = !{!"_ZTS9Component", !12, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"_ZTS5Vec3D", !14, i64 0}
!14 = !{!"_ZTSSt5arrayIdLm3EE", !7, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTS9Matrix3x3", !17, i64 0}
!17 = !{!"_ZTSSt5arrayIS_IdLm3EELm3EE", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTS6HitBox", !20, i64 0}
!20 = !{!"_ZTSSt6vectorI5Vec3DSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseI5Vec3DSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI5Vec3DSaIS0_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI5Vec3DSaIS0_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!24 = !{!"_ZTSSt8functionIFvRK14CollisionPointSt10shared_ptrI11RigidObjectES5_EE", !25, i64 0, !12, i64 24}
!25 = !{!"_ZTSSt14_Function_base", !7, i64 0, !12, i64 16}
!26 = !{!10, !15, i64 72}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass