; LLVM IR from ThePhysicsGuys/Physics3D :: application/layer (modelLayer)

; 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.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.56" = type { %"class.std::__shared_ptr.57" }
%"class.std::__shared_ptr.57" = type { ptr, %"class.std::__shared_count" }
%"class.P3D::BreakdownAverageProfiler" = type { %"class.P3D::HistoricTally", %"class.std::chrono::time_point", i32, [4 x i8], %"struct.P3D::CircularBuffer.120" }
%"class.P3D::HistoricTally" = type { %"struct.P3D::ParallelArray", [11 x ptr], %"struct.P3D::CircularBuffer" }
%"struct.P3D::ParallelArray" = type { [11 x %"class.std::chrono::duration"] }
%"class.std::chrono::duration" = type { i64 }
%"struct.P3D::CircularBuffer" = type <{ ptr, i64, i64, i8, [7 x i8] }>
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"struct.P3D::CircularBuffer.120" = type <{ ptr, i64, i64, i8, [7 x i8] }>
%"class.std::shared_ptr.122" = type { %"class.std::__shared_ptr.123" }
%"class.std::__shared_ptr.123" = type { ptr, %"class.std::__shared_count" }
%"class.P3D::Matrix.128" = type { [16 x float] }
%"class.std::vector.168" = type { %"struct.std::_Vector_base.169" }
%"struct.std::_Vector_base.169" = type { %"struct.std::_Vector_base<P3D::Graphics::IndexedMesh *, std::allocator<P3D::Graphics::IndexedMesh *>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Graphics::IndexedMesh *, std::allocator<P3D::Graphics::IndexedMesh *>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Graphics::IndexedMesh *, std::allocator<P3D::Graphics::IndexedMesh *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Graphics::IndexedMesh *, std::allocator<P3D::Graphics::IndexedMesh *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.P3D::Application::Selection" = type { %"class.std::optional.184", %"class.std::vector.192" }
%"class.std::optional.184" = type { %"struct.std::_Optional_base.185" }
%"struct.std::_Optional_base.185" = type { %"struct.std::_Optional_payload.187" }
%"struct.std::_Optional_payload.187" = type { %"struct.std::_Optional_payload_base.base.189", [7 x i8] }
%"struct.std::_Optional_payload_base.base.189" = type <{ %"union.std::_Optional_payload_base<P3D::BoundingBoxTemplate<double>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<P3D::BoundingBoxTemplate<double>>::_Storage" = type { %"struct.P3D::BoundingBoxTemplate" }
%"struct.P3D::BoundingBoxTemplate" = type { %"struct.P3D::Vector", %"struct.P3D::Vector" }
%"struct.P3D::Vector" = type { %union.anon.105 }
%union.anon.105 = type { [3 x double] }
%"class.std::vector.192" = type { %"struct.std::_Vector_base.193" }
%"struct.std::_Vector_base.193" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.P3D::intrusive_ptr.90" = type { ptr }
%"class.P3D::GlobalCFrame" = type { %"struct.P3D::PositionTemplate", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::PositionTemplate" = type { %"struct.P3D::Fix", %"struct.P3D::Fix", %"struct.P3D::Fix" }
%"struct.P3D::Fix" = type { i64 }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"struct.P3D::Vector.142" = type { %union.anon.143 }
%union.anon.143 = type { [3 x float] }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::map.145" = type { %"class.std::_Rb_tree.146" }
%"class.std::_Rb_tree.146" = type { %"struct.std::_Rb_tree<double, std::pair<const double, EntityInfo>, std::_Select1st<std::pair<const double, EntityInfo>>, std::less<double>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<double, std::pair<const double, EntityInfo>, std::_Select1st<std::pair<const double, EntityInfo>>, std::less<double>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::shared_lock" = type <{ ptr, i8, [7 x i8] }>
%"class.P3D::VisibilityFilter" = type { %"struct.P3D::PositionTemplate", %"struct.P3D::Vector", %"struct.P3D::Vector", %"struct.P3D::Vector", %"struct.P3D::Vector", %"struct.P3D::Vector", double }
%"class.P3D::Engine::Registry<unsigned long>::basic_view.151" = type <{ ptr, %class.filter_iterator.152, [8 x i8] }>
%class.filter_iterator.152 = type { %"struct.std::_Rb_tree_const_iterator", %"struct.std::_Rb_tree_const_iterator", %class.anon.153 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%class.anon.153 = type { %"class.std::set" }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, P3D::Engine::Registry<unsigned long>::entity_compare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, P3D::Engine::Registry<unsigned long>::entity_compare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%struct.iterator_end = type { i8 }
%struct.EntityInfo = type { i32, %"struct.P3D::Application::Comp::Transform", %"struct.P3D::Graphics::Comp::Material", %"class.P3D::intrusive_ptr.158", %"class.P3D::intrusive_ptr.159" }
%"struct.P3D::Application::Comp::Transform" = type { %"struct.P3D::RC", %"class.std::variant", %"class.std::variant.96", %"class.std::function" }
%"struct.P3D::RC" = type { ptr, i64 }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type <{ %"union.std::__detail::__variant::_Variadic_union", i8 }>
%"union.std::__detail::__variant::_Variadic_union" = type { %"union.std::__detail::__variant::_Variadic_union.91" }
%"union.std::__detail::__variant::_Variadic_union.91" = type { %"struct.std::__detail::__variant::_Uninitialized.92" }
%"struct.std::__detail::__variant::_Uninitialized.92" = type { %"struct.P3D::Application::Comp::Transform::ScaledCFrame" }
%"struct.P3D::Application::Comp::Transform::ScaledCFrame" = type { %"class.P3D::GlobalCFrame", %"class.P3D::DiagonalMatrix" }
%"class.P3D::DiagonalMatrix" = type { [3 x double] }
%"class.std::variant.96" = type { %"struct.std::__detail::__variant::_Variant_base.base.113", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base.113" = type { %"struct.std::__detail::__variant::_Move_assign_base.base.112" }
%"struct.std::__detail::__variant::_Move_assign_base.base.112" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base.111" }
%"struct.std::__detail::__variant::_Copy_assign_base.base.111" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base.110" }
%"struct.std::__detail::__variant::_Move_ctor_base.base.110" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base.109" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base.109" = type { %"struct.std::__detail::__variant::_Variant_storage.base.108" }
%"struct.std::__detail::__variant::_Variant_storage.base.108" = type <{ %"union.std::__detail::__variant::_Variadic_union.103", i8 }>
%"union.std::__detail::__variant::_Variadic_union.103" = type { %"struct.std::__detail::__variant::_Uninitialized.104" }
%"struct.std::__detail::__variant::_Uninitialized.104" = type { %"struct.P3D::CFrameTemplate" }
%"struct.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"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 } }
%"struct.P3D::Graphics::Comp::Material" = type <{ %"struct.P3D::RC", [8 x %"class.std::shared_ptr.155"], %"struct.P3D::Graphics::ColorTemplate", float, float, float, [4 x i8] }>
%"class.std::shared_ptr.155" = type { %"class.std::__shared_ptr.156" }
%"class.std::__shared_ptr.156" = type { ptr, %"class.std::__shared_count" }
%"struct.P3D::Graphics::ColorTemplate" = type { %union.anon.118 }
%union.anon.118 = type { %struct.anon.119 }
%struct.anon.119 = type { float, float, float, float }
%"class.P3D::intrusive_ptr.158" = type { ptr }
%"class.P3D::intrusive_ptr.159" = type { ptr }
%"struct.P3D::Vector.161" = type { %union.anon.162 }
%union.anon.162 = type { [3 x %"struct.P3D::Fix"] }
%"struct.std::pair.164" = type { double, %struct.EntityInfo }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { %"struct.std::_Rb_tree_iterator" }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload_base.base", [7 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<P3D::GlobalCFrame>::_Storage", i8 }>
%"union.std::_Optional_payload_base<P3D::GlobalCFrame>::_Storage" = type { %"class.P3D::GlobalCFrame" }
%"class.std::optional.194" = type { %"struct.std::_Optional_base.195" }
%"struct.std::_Optional_base.195" = type { %"struct.std::_Optional_payload.197" }
%"struct.std::_Optional_payload.197" = type { %"struct.std::_Optional_payload.base.201", [7 x i8] }
%"struct.std::_Optional_payload.base.201" = type { %"struct.std::_Optional_payload_base.base.200" }
%"struct.std::_Optional_payload_base.base.200" = type <{ %"union.std::_Optional_payload_base<P3D::Shape>::_Storage", i8 }>
%"union.std::_Optional_payload_base<P3D::Shape>::_Storage" = type { %"class.P3D::Shape" }
%"class.P3D::Shape" = type { %"class.P3D::intrusive_ptr.160", %"class.P3D::DiagonalMatrix" }
%"class.P3D::intrusive_ptr.160" = type { ptr }
%"struct.P3D::Graphics::Comp::Mesh" = type <{ %"struct.P3D::RC", i64, i32, i8, [3 x i8] }>
%"class.P3D::Matrix.204" = type { [16 x double] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.P3D::intrusive_ptr.205" = type { ptr }
%"class.P3D::Engine::Layer" = type <{ ptr, ptr, %"class.std::__cxx11::basic_string", i8, [7 x i8] }>
%"class.P3D::Application::Screen" = type { %"class.P3D::Engine::Registry", ptr, ptr, %"struct.P3D::Vector.125", %"struct.P3D::Application::Camera", %"class.P3D::Engine::LayerStack", %"class.P3D::Application::EventHandler", %"class.Util::Properties", %"class.std::shared_ptr.139", ptr, ptr }
%"class.P3D::Engine::Registry" = type <{ %"class.std::set", %"class.std::vector.62", %"class.std::unordered_map.67", %"class.std::queue", i32, [4 x i8] }>
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<std::unordered_multimap<unsigned int, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned int, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unordered_multimap<unsigned int, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned int, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unordered_multimap<unsigned int, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned int, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unordered_multimap<unsigned int, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned int, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.67" = type { %"class.std::_Hashtable.68" }
%"class.std::_Hashtable.68" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<unsigned int, std::allocator<unsigned int>>::_Deque_impl" }
%"struct.std::_Deque_base<unsigned int, std::allocator<unsigned int>>::_Deque_impl" = type { %"struct.std::_Deque_base<unsigned int, std::allocator<unsigned int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<unsigned int, std::allocator<unsigned int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"struct.P3D::Vector.125" = type { %union.anon.126 }
%union.anon.126 = type { [2 x i32] }
%"struct.P3D::Application::Camera" = type { i8, double, double, %"struct.P3D::Vector", i8, double, double, %"struct.P3D::Vector", i8, i8, %"class.P3D::GlobalCFrame", double, double, i8, double, float, float, float, float, %"class.P3D::Matrix.128", %"class.P3D::Matrix.128", %"class.P3D::Matrix.128", %"class.P3D::Matrix.128", %"class.P3D::Matrix.128", ptr }
%"class.P3D::Engine::LayerStack" = type <{ %"class.std::vector.129", i32, [4 x i8] }>
%"class.std::vector.129" = type { %"struct.std::_Vector_base.130" }
%"struct.std::_Vector_base.130" = type { %"struct.std::_Vector_base<P3D::Engine::Layer *, std::allocator<P3D::Engine::Layer *>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Engine::Layer *, std::allocator<P3D::Engine::Layer *>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Engine::Layer *, std::allocator<P3D::Engine::Layer *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Engine::Layer *, std::allocator<P3D::Engine::Layer *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.P3D::Application::EventHandler" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.Util::Properties" = type { %"class.std::__cxx11::basic_string", %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree.134" }
%"class.std::_Rb_tree.134" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::shared_ptr.139" = type { %"class.std::__shared_ptr.140" }
%"class.std::__shared_ptr.140" = type { ptr, %"class.std::__shared_count" }
%"struct.P3D::Application::Comp::Collider" = type { %"struct.P3D::RC", ptr }
%"class.P3D::Application::ModelLayer" = type { %"class.P3D::Engine::Layer.base", ptr }
%"class.P3D::Engine::Layer.base" = type <{ ptr, ptr, %"class.std::__cxx11::basic_string", i8 }>
%"struct.std::pair.166" = type { double, %struct.EntityInfo }

@_ZN3P3D11Application7Shaders11basicShaderE = external global %"class.std::shared_ptr", align 8
@_ZN3P3D11Application7Shaders14instanceShaderE = external global %"class.std::shared_ptr.56", align 8
@_ZN3P3D8Graphics15graphicsMeasureE = external global %"class.P3D::BreakdownAverageProfiler", align 8
@_ZN3P3D11Application7Shaders11debugShaderE = external global %"class.std::shared_ptr.122", align 8
@_ZN3P3D11Application11ShadowLayer9lightViewE = external global %"class.P3D::Matrix.128", align 4
@_ZN3P3D11Application11ShadowLayer15lightProjectionE = external global %"class.P3D::Matrix.128", align 4
@_ZN3P3D11Application11ShadowLayer15lighSpaceMatrixE = external global %"class.P3D::Matrix.128", align 4
@_ZN3P3D11Application11ShadowLayer8depthMapE = external global i32, align 4
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3P3D11Application11SkyboxLayer13skyboxTextureE = external global ptr, align 8
@_ZN3P3D8Graphics12MeshRegistry6meshesE = external global %"class.std::vector.168", align 8
@_ZN3P3D11Application13SelectionTool9selectionE = external global %"struct.P3D::Application::Selection", align 8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp9TransformEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.90") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp9TransformEE5validEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp9Transform9getCFrameEv(ptr dead_on_unwind noalias writable sret(%"class.P3D::GlobalCFrame") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #2 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) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D13intrusive_ptrINS_11Application4Comp9TransformEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(212) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.P3D::Vector.142", align 4
  %7 = alloca %"struct.P3D::Vector.142", align 4
  %8 = alloca %"struct.P3D::Vector.142", align 4
  %9 = alloca { <2 x float>, float }, align 8
  %10 = alloca %"class.P3D::Matrix.128", align 4
  %11 = alloca %"struct.P3D::Vector.142", align 4
  %12 = alloca %"class.P3D::Matrix.128", align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::map.145", align 8
  %22 = alloca %"class.std::shared_lock", align 8
  %23 = alloca %"class.P3D::VisibilityFilter", align 8
  %24 = alloca %"struct.P3D::Vector", align 8
  %25 = alloca %"struct.P3D::Vector", align 8
  %26 = alloca %"class.P3D::Engine::Registry<unsigned long>::basic_view.151", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %class.filter_iterator.152, align 8
  %29 = alloca %struct.iterator_end, align 1
  %30 = alloca %struct.iterator_end, align 1
  %31 = alloca %struct.iterator_end, align 1
  %32 = alloca i32, align 4
  %33 = alloca i64, align 8
  %34 = alloca %struct.EntityInfo, align 8
  %35 = alloca %"class.P3D::intrusive_ptr.158", align 8
  %36 = alloca i32, align 4
  %37 = alloca %"class.P3D::intrusive_ptr.159", align 8
  %38 = alloca i32, align 4
  %39 = alloca %"struct.P3D::Application::Comp::Transform", align 8
  %40 = alloca i32, align 4
  %41 = alloca %"struct.P3D::Graphics::Comp::Material", align 8
  %42 = alloca i32, align 4
  %43 = alloca double, align 8
  %44 = alloca %"struct.P3D::Vector", align 8
  %45 = alloca %"struct.P3D::Vector.161", align 8
  %46 = alloca %"struct.P3D::PositionTemplate", align 8
  %47 = alloca %"struct.std::pair.164", align 8
  %48 = alloca %"struct.std::pair", align 8
  %49 = alloca %"class.P3D::Matrix.128", align 4
  %50 = alloca %"struct.P3D::Graphics::ColorTemplate", align 4
  %51 = alloca %"class.std::reverse_iterator", align 8
  %52 = alloca %"class.std::reverse_iterator", align 8
  %53 = alloca %struct.EntityInfo, align 8
  %54 = alloca %"struct.P3D::Graphics::ColorTemplate", align 4
  %55 = alloca %"class.P3D::Matrix.128", align 4
  %56 = alloca %"class.std::optional", align 8
  %57 = alloca %"class.std::optional.194", align 8
  %58 = alloca %"struct.P3D::Graphics::Comp::Mesh", align 8
  %59 = alloca %"class.P3D::Matrix.128", align 4
  %60 = alloca %"class.P3D::Matrix.204", align 8
  %61 = alloca ptr, align 8
  %62 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %63 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %64 = alloca i32, align 4
  %65 = alloca %"class.P3D::intrusive_ptr.90", align 8
  %66 = alloca %"class.P3D::intrusive_ptr.205", align 8
  %67 = alloca %"class.P3D::Shape", align 8
  %68 = alloca %"class.P3D::Shape", align 8
  %69 = alloca %"class.P3D::DiagonalMatrix", align 8
  %70 = alloca %"struct.P3D::Graphics::Comp::Mesh", align 8
  %71 = alloca %"class.P3D::Matrix.128", align 4
  %72 = alloca %"class.P3D::Matrix.204", align 8
  %73 = alloca %"class.P3D::GlobalCFrame", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %74 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  %75 = getelementptr inbounds %"class.P3D::Engine::Layer", ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !9
  store ptr %76, ptr %5, align 8, !tbaa !5
  call void @_ZN3P3D8Graphics8Renderer10beginSceneEv()
  call void @_ZN3P3D24BreakdownAverageProfilerINS_8Graphics15GraphicsProcessEE4markES2_(ptr noundef nonnull align 8 dereferenceable(256) @_ZN3P3D8Graphics15graphicsMeasureE, i32 noundef 0)
  %77 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11DebugShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11debugShaderE) #10
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %78, i32 0, i32 4
  %80 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %79, i32 0, i32 19
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %81, i32 0, i32 4
  %83 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %82, i32 0, i32 21
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %84, i32 0, i32 4
  %86 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %85, i32 0, i32 10
  %87 = getelementptr inbounds %"class.P3D::GlobalCFrame", ptr %86, i32 0, i32 0
  call void @_ZN3P3D11Application20ProjectionShaderBase16updateProjectionERKNS_6MatrixIfLm4ELm4EEES5_RKNS_16PositionTemplateINS_3FixILl32EEEEE(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 4 dereferenceable(64) %80, ptr noundef nonnull align 4 dereferenceable(64) %83, ptr noundef nonnull align 8 dereferenceable(24) %87)
  %88 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11BasicShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11basicShaderE) #10
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %89, i32 0, i32 4
  %91 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %90, i32 0, i32 19
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %92, i32 0, i32 4
  %94 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %93, i32 0, i32 21
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %95, i32 0, i32 4
  %97 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %96, i32 0, i32 10
  %98 = getelementptr inbounds %"class.P3D::GlobalCFrame", ptr %97, i32 0, i32 0
  call void @_ZN3P3D11Application20ProjectionShaderBase16updateProjectionERKNS_6MatrixIfLm4ELm4EEES5_RKNS_16PositionTemplateINS_3FixILl32EEEEE(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 4 dereferenceable(64) %91, ptr noundef nonnull align 4 dereferenceable(64) %94, ptr noundef nonnull align 8 dereferenceable(24) %98)
  %99 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %100, i32 0, i32 4
  %102 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %101, i32 0, i32 19
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %103, i32 0, i32 4
  %105 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %104, i32 0, i32 21
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %106, i32 0, i32 4
  %108 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %107, i32 0, i32 10
  %109 = getelementptr inbounds %"class.P3D::GlobalCFrame", ptr %108, i32 0, i32 0
  call void @_ZN3P3D11Application20ProjectionShaderBase16updateProjectionERKNS_6MatrixIfLm4ELm4EEES5_RKNS_16PositionTemplateINS_3FixILl32EEEEE(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull align 4 dereferenceable(64) %102, ptr noundef nonnull align 4 dereferenceable(64) %105, ptr noundef nonnull align 8 dereferenceable(24) %109)
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #10
  call void @_ZN3P3D6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef -1.000000e+01, float noundef 1.000000e+01, float noundef -1.000000e+01) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #10
  call void @_ZN3P3D6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #10
  %110 = call { <2 x float>, float } @_ZN3P3DmiIffLm3EEENS_6VectorIDTmiixfp_Li0Eixfp0_Li0EEXT1_EEERKNS1_IT_XT1_EEERKNS1_IT0_XT1_EEE(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %6) #10
  %111 = getelementptr inbounds %"struct.P3D::Vector.142", ptr %8, i32 0, i32 0
  %112 = getelementptr inbounds %union.anon.143, ptr %111, i32 0, i32 0
  store { <2 x float>, float } %110, ptr %9, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %112, ptr align 8 %9, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %10) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #10
  call void @_ZN3P3D6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %11, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00) #10
  call void @_ZN3P3D6lookAtERKNS_6VectorIfLm3EEES3_S3_(ptr dead_on_unwind writable sret(%"class.P3D::Matrix.128") align 4 %10, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_ZN3P3D11Application11ShadowLayer9lightViewE, ptr align 4 %10, i64 64, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %10) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #10
  call void @_ZN3P3DmlIfLm4ELm4ELm4EEENS_6MatrixIT_XT0_EXT1_EEERKNS1_IS2_XT0_EXT2_EEERKNS1_IS2_XT2_EXT1_EEE(ptr dead_on_unwind writable sret(%"class.P3D::Matrix.128") align 4 %12, ptr noundef nonnull align 4 dereferenceable(64) @_ZN3P3D11Application11ShadowLayer15lightProjectionE, ptr noundef nonnull align 4 dereferenceable(64) @_ZN3P3D11Application11ShadowLayer9lightViewE)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_ZN3P3D11Application11ShadowLayer15lighSpaceMatrixE, ptr align 4 %12, i64 64, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #10
  call void @_ZN3P3D8Graphics8Renderer13activeTextureEj(i32 noundef 32)
  %113 = load i32, ptr @_ZN3P3D11Application11ShadowLayer8depthMapE, align 4, !tbaa !16
  call void @_ZN3P3D8Graphics8Renderer13bindTexture2DEj(i32 noundef %113)
  %114 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %115 = load ptr, ptr %114, align 8, !tbaa !18
  %116 = getelementptr i8, ptr %115, i64 -24
  %117 = load i64, ptr %116, align 8
  %118 = add i64 %117, 72
  %119 = getelementptr inbounds i8, ptr %114, i64 %118
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %120 unwind label %183

120:                                              ; preds = %2
  invoke void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(216) %119, ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 32)
          to label %121 unwind label %187

121:                                              ; preds = %120
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #10
  %122 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %123 = load ptr, ptr %122, align 8, !tbaa !18
  %124 = getelementptr i8, ptr %123, i64 -24
  %125 = load i64, ptr %124, align 8
  %126 = add i64 %125, 72
  %127 = getelementptr inbounds i8, ptr %122, i64 %126
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %128 unwind label %192

128:                                              ; preds = %121
  invoke void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(216) %127, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 4 dereferenceable(64) @_ZN3P3D11Application11ShadowLayer15lighSpaceMatrixE)
          to label %129 unwind label %196

129:                                              ; preds = %128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  %130 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %131 = getelementptr inbounds i8, ptr %130, i64 8
  call void @_ZN3P3D11Application15BasicShaderBase18updateSunDirectionERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull align 4 dereferenceable(12) %8)
  %132 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %133 = load ptr, ptr %132, align 8, !tbaa !18
  %134 = getelementptr i8, ptr %133, i64 -24
  %135 = load i64, ptr %134, align 8
  %136 = add i64 %135, 72
  %137 = getelementptr inbounds i8, ptr %132, i64 %136
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %138 unwind label %201

138:                                              ; preds = %129
  invoke void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(216) %137, ptr noundef nonnull align 8 dereferenceable(32) %19, i32 noundef 31)
          to label %139 unwind label %205

139:                                              ; preds = %138
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #10
  %140 = load ptr, ptr @_ZN3P3D11Application11SkyboxLayer13skyboxTextureE, align 8, !tbaa !5
  %141 = load ptr, ptr %140, align 8, !tbaa !18
  %142 = getelementptr inbounds ptr, ptr %141, i64 4
  %143 = load ptr, ptr %142, align 8
  call void %143(ptr noundef nonnull align 8 dereferenceable(44) %140, i32 noundef 31)
  call void @_ZN3P3D24BreakdownAverageProfilerINS_8Graphics15GraphicsProcessEE4markES2_(ptr noundef nonnull align 8 dereferenceable(256) @_ZN3P3D8Graphics15graphicsMeasureE, i32 noundef 5)
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #10
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #10
  %144 = load ptr, ptr %5, align 8, !tbaa !5
  %145 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %144, i32 0, i32 2
  %146 = load ptr, ptr %145, align 8, !tbaa !20
  invoke void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(9) %22, ptr noundef nonnull align 8 dereferenceable(96) %146)
          to label %147 unwind label %210

147:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 152, ptr %23) #10
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %148, i32 0, i32 4
  %150 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %149, i32 0, i32 10
  %151 = getelementptr inbounds %"class.P3D::GlobalCFrame", ptr %150, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #10
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %152, i32 0, i32 4
  invoke void @_ZNK3P3D11Application6Camera19getForwardDirectionEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %24, ptr noundef nonnull align 8 dereferenceable(576) %153)
          to label %154 unwind label %214

154:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #10
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %155, i32 0, i32 4
  invoke void @_ZNK3P3D11Application6Camera14getUpDirectionEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %25, ptr noundef nonnull align 8 dereferenceable(576) %156)
          to label %157 unwind label %218

157:                                              ; preds = %154
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %158, i32 0, i32 4
  %160 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %159, i32 0, i32 15
  %161 = load float, ptr %160, align 8, !tbaa !72
  %162 = fpext float %161 to double
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %163, i32 0, i32 4
  %165 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %164, i32 0, i32 18
  %166 = load float, ptr %165, align 4, !tbaa !73
  %167 = fpext float %166 to double
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %168, i32 0, i32 4
  %170 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %169, i32 0, i32 17
  %171 = load float, ptr %170, align 8, !tbaa !74
  %172 = fpext float %171 to double
  invoke void @_ZN3P3D16VisibilityFilter9forWindowERKNS_16PositionTemplateINS_3FixILl32EEEEERKNS_6VectorIdLm3EEESA_ddd(ptr dead_on_unwind writable sret(%"class.P3D::VisibilityFilter") align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %151, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %25, double noundef %162, double noundef %167, double noundef %172)
          to label %173 unwind label %218

173:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr %26) #10
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3P3D6Engine8RegistryImE4viewIJNS_8Graphics4Comp4MeshEEEEDav(ptr dead_on_unwind writable sret(%"class.P3D::Engine::Registry<unsigned long>::basic_view.151") align 8 %26, ptr noundef nonnull align 8 dereferenceable(212) %174) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  store ptr %26, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #10
  %175 = load ptr, ptr %27, align 8, !tbaa !5
  invoke void @_ZNK3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E5beginEv(ptr dead_on_unwind writable sret(%class.filter_iterator.152) align 8 %28, ptr noundef nonnull align 8 dereferenceable(73) %175)
          to label %176 unwind label %223

176:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #10
  %177 = load ptr, ptr %27, align 8, !tbaa !5
  invoke void @_ZNK3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E3endEv(ptr noundef nonnull align 8 dereferenceable(73) %177)
          to label %178 unwind label %227

178:                                              ; preds = %176
  br label %179

179:                                              ; preds = %400, %178
  %180 = invoke noundef zeroext i1 @_ZNK15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_EneES2_(ptr noundef nonnull align 8 dereferenceable(64) %28)
          to label %181 unwind label %227

181:                                              ; preds = %179
  br i1 %180, label %231, label %182

182:                                              ; preds = %181
  store i32 2, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  call void @_ZN15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %28) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  br label %406

183:                                              ; preds = %2
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %15, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %16, align 4
  br label %191

187:                                              ; preds = %120
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %15, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  br label %191

191:                                              ; preds = %187, %183
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #10
  br label %687

192:                                              ; preds = %121
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %15, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %16, align 4
  br label %200

196:                                              ; preds = %128
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %15, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  br label %200

200:                                              ; preds = %196, %192
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  br label %687

201:                                              ; preds = %129
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %15, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %16, align 4
  br label %209

205:                                              ; preds = %138
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %15, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  br label %209

209:                                              ; preds = %205, %201
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #10
  br label %687

210:                                              ; preds = %139
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %15, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %16, align 4
  br label %681

214:                                              ; preds = %147
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %15, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %16, align 4
  br label %222

218:                                              ; preds = %157, %154
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %15, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #10
  br label %222

222:                                              ; preds = %218, %214
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #10
  br label %680

223:                                              ; preds = %173
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %15, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %16, align 4
  br label %405

227:                                              ; preds = %398, %179, %176
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %15, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %16, align 4
  br label %404

231:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_EdeEv(ptr noundef nonnull align 8 dereferenceable(64) %28)
          to label %233 unwind label %247

233:                                              ; preds = %231
  %234 = load i64, ptr %232, align 8, !tbaa !75
  store i64 %234, ptr %33, align 8, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 480, ptr %34) #10
  invoke void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(480) %34)
          to label %235 unwind label %251

235:                                              ; preds = %233
  %236 = load i64, ptr %33, align 8, !tbaa !75
  %237 = trunc i64 %236 to i32
  %238 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 0
  store i32 %237, ptr %238, align 8, !tbaa !76
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  %239 = load i64, ptr %33, align 8, !tbaa !75
  %240 = trunc i64 %239 to i32
  store i32 %240, ptr %36, align 4, !tbaa !16
  invoke void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E3getIS7_EENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.158") align 8 %35, ptr noundef nonnull align 8 dereferenceable(73) %26, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %241 unwind label %255

241:                                              ; preds = %235
  %242 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 3
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %242, ptr noundef nonnull align 8 dereferenceable(8) %35) #10
  call void @_ZN3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  %244 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 3
  %245 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %244) #10
  br i1 %245, label %259, label %246

246:                                              ; preds = %241
  store i32 3, ptr %32, align 4
  br label %392

247:                                              ; preds = %231
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %15, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %16, align 4
  br label %403

251:                                              ; preds = %233
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %15, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %16, align 4
  br label %402

255:                                              ; preds = %235
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %15, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  br label %401

259:                                              ; preds = %241
  %260 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 3
  %261 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %260) #10
  %262 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Mesh", ptr %261, i32 0, i32 1
  %263 = load i64, ptr %262, align 8, !tbaa !100
  %264 = icmp eq i64 %263, -1
  br i1 %264, label %265, label %266

265:                                              ; preds = %259
  store i32 3, ptr %32, align 4
  br label %392

266:                                              ; preds = %259
  %267 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 3
  %268 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %267) #10
  %269 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Mesh", ptr %268, i32 0, i32 3
  %270 = load i8, ptr %269, align 4, !tbaa !102, !range !103, !noundef !104
  %271 = trunc i8 %270 to i1
  br i1 %271, label %273, label %272

272:                                              ; preds = %266
  store i32 3, ptr %32, align 4
  br label %392

273:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %274 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  %275 = load i64, ptr %33, align 8, !tbaa !75
  %276 = trunc i64 %275 to i32
  store i32 %276, ptr %38, align 4, !tbaa !16
  call void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp8ColliderEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.159") align 8 %37, ptr noundef nonnull align 8 dereferenceable(212) %274, ptr noundef nonnull align 4 dereferenceable(4) %38) #10
  %277 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 4
  %278 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %277, ptr noundef nonnull align 8 dereferenceable(8) %37) #10
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp8ColliderEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  %279 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 4
  %280 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %279) #10
  br i1 %280, label %281, label %294

281:                                              ; preds = %273
  %282 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 4
  %283 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %282) #10
  %284 = getelementptr inbounds %"struct.P3D::Application::Comp::Collider", ptr %283, i32 0, i32 1
  %285 = load ptr, ptr %284, align 8, !tbaa !105
  %286 = invoke noundef zeroext i1 @_ZNK3P3D16VisibilityFilterclERKNS_4PartE(ptr noundef nonnull align 8 dereferenceable(152) %23, ptr noundef nonnull align 8 dereferenceable(200) %285)
          to label %287 unwind label %289

287:                                              ; preds = %281
  br i1 %286, label %293, label %288

288:                                              ; preds = %287
  store i32 3, ptr %32, align 4
  br label %392

289:                                              ; preds = %281
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %15, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %16, align 4
  br label %401

293:                                              ; preds = %287
  br label %294

294:                                              ; preds = %293, %273
  call void @llvm.lifetime.start.p0(i64 280, ptr %39) #10
  %295 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #10
  %296 = load i64, ptr %33, align 8, !tbaa !75
  %297 = trunc i64 %296 to i32
  store i32 %297, ptr %40, align 4, !tbaa !16
  invoke void @_ZN3P3D6Engine8RegistryImE5getOrINS_11Application4Comp9TransformEJEEET_RKjDpOT0_(ptr dead_on_unwind writable sret(%"struct.P3D::Application::Comp::Transform") align 8 %39, ptr noundef nonnull align 8 dereferenceable(212) %295, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %298 unwind label %328

298:                                              ; preds = %294
  %299 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 1
  %300 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZN3P3D11Application4Comp9TransformaSEOS2_(ptr noundef nonnull align 8 dereferenceable(280) %299, ptr noundef nonnull align 8 dereferenceable(280) %39) #10
  call void @_ZN3P3D11Application4Comp9TransformD2Ev(ptr noundef nonnull align 8 dereferenceable(280) %39) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 280, ptr %39) #10
  call void @llvm.lifetime.start.p0(i64 176, ptr %41) #10
  %301 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #10
  %302 = load i64, ptr %33, align 8, !tbaa !75
  %303 = trunc i64 %302 to i32
  store i32 %303, ptr %42, align 4, !tbaa !16
  invoke void @_ZN3P3D6Engine8RegistryImE5getOrINS_8Graphics4Comp8MaterialEJEEET_RKjDpOT0_(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Comp::Material") align 8 %41, ptr noundef nonnull align 8 dereferenceable(212) %301, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %304 unwind label %332

304:                                              ; preds = %298
  %305 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 2
  %306 = call noundef nonnull align 8 dereferenceable(172) ptr @_ZN3P3D8Graphics4Comp8MaterialaSERKS2_(ptr noundef nonnull align 8 dereferenceable(172) %305, ptr noundef nonnull align 8 dereferenceable(172) %41) #10
  call void @_ZN3P3D8Graphics4Comp8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(172) %41) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 176, ptr %41) #10
  %307 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 2
  %308 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Material", ptr %307, i32 0, i32 2
  %309 = getelementptr inbounds %"struct.P3D::Graphics::ColorTemplate", ptr %308, i32 0, i32 0
  %310 = getelementptr inbounds %struct.anon.119, ptr %309, i32 0, i32 3
  %311 = load float, ptr %310, align 4, !tbaa !15
  %312 = fcmp olt float %311, 1.000000e+00
  br i1 %312, label %313, label %350

313:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #10
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = getelementptr inbounds %"class.P3D::Application::Screen", ptr %314, i32 0, i32 4
  %316 = getelementptr inbounds %"struct.P3D::Application::Camera", ptr %315, i32 0, i32 10
  %317 = getelementptr inbounds %"class.P3D::GlobalCFrame", ptr %316, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #10
  %318 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 1
  invoke void @_ZN3P3D11Application4Comp9Transform11getPositionEv(ptr dead_on_unwind writable sret(%"struct.P3D::PositionTemplate") align 8 %46, ptr noundef nonnull align 8 dereferenceable(280) %318)
          to label %319 unwind label %336

319:                                              ; preds = %313
  call void @_ZN3P3DmiINS_3FixILl32EEEEENS_6VectorIT_Lm3EEERKNS_16PositionTemplateIS4_EES9_(ptr dead_on_unwind writable sret(%"struct.P3D::Vector.161") align 8 %45, ptr noundef nonnull align 8 dereferenceable(24) %317, ptr noundef nonnull align 8 dereferenceable(24) %46) #10
  call void @_ZNK3P3D6VectorINS_3FixILl32EEELm3EEcvNS0_IT_Lm3EEEIdEEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %44, ptr noundef nonnull align 8 dereferenceable(24) %45) #10
  %320 = call noundef double @_ZN3P3D13lengthSquaredIdLm3EEET_RKNS_6VectorIS1_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(24) %44) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #10
  store double %320, ptr %43, align 8, !tbaa !107
  call void @llvm.lifetime.start.p0(i64 488, ptr %47) #10
  invoke void @_ZSt9make_pairIRdRZN3P3D11Application10ModelLayer8onRenderERNS1_6Engine8RegistryImEEE10EntityInfoESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSB_INSC_IT0_E4typeEE6__typeEEOSD_OSI_(ptr dead_on_unwind writable sret(%"struct.std::pair.164") align 8 %47, ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(480) %34)
          to label %321 unwind label %340

321:                                              ; preds = %319
  %322 = invoke { ptr, i8 } @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE6insertISA_IdS7_EEENSt9enable_ifIXsr16is_constructibleISC_T_EE5valueESA_ISt17_Rb_tree_iteratorISC_EbEE4typeEOSI_(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef nonnull align 8 dereferenceable(488) %47)
          to label %323 unwind label %344

323:                                              ; preds = %321
  %324 = getelementptr inbounds { ptr, i8 }, ptr %48, i32 0, i32 0
  %325 = extractvalue { ptr, i8 } %322, 0
  store ptr %325, ptr %324, align 8
  %326 = getelementptr inbounds { ptr, i8 }, ptr %48, i32 0, i32 1
  %327 = extractvalue { ptr, i8 } %322, 1
  store i8 %327, ptr %326, align 8
  call void @_ZNSt4pairIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoED2Ev(ptr noundef nonnull align 8 dereferenceable(488) %47) #10
  call void @llvm.lifetime.end.p0(i64 488, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  br label %391

328:                                              ; preds = %294
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %15, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 280, ptr %39) #10
  br label %401

332:                                              ; preds = %298
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %15, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 176, ptr %41) #10
  br label %401

336:                                              ; preds = %313
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %15, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #10
  br label %349

340:                                              ; preds = %319
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %15, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %16, align 4
  br label %348

344:                                              ; preds = %321
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %15, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %16, align 4
  call void @_ZNSt4pairIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoED2Ev(ptr noundef nonnull align 8 dereferenceable(488) %47) #10
  br label %348

348:                                              ; preds = %344, %340
  call void @llvm.lifetime.end.p0(i64 488, ptr %47) #10
  br label %349

349:                                              ; preds = %348, %336
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  br label %401

350:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 64, ptr %49) #10
  %351 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 1
  invoke void @_ZN3P3D11Application4Comp9Transform14getModelMatrixEb(ptr dead_on_unwind writable sret(%"class.P3D::Matrix.128") align 4 %49, ptr noundef nonnull align 8 dereferenceable(280) %351, i1 noundef zeroext true)
          to label %352 unwind label %373

352:                                              ; preds = %350
  %353 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 4
  %354 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %353) #10
  br i1 %354, label %355, label %381

355:                                              ; preds = %352
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #10
  %356 = load ptr, ptr %5, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 4
  %358 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %357) #10
  %359 = getelementptr inbounds %"struct.P3D::Application::Comp::Collider", ptr %358, i32 0, i32 1
  %360 = load ptr, ptr %359, align 8, !tbaa !105
  %361 = invoke { <2 x float>, <2 x float> } @_ZN3P3D11ApplicationL16getAlbedoForPartEPNS0_6ScreenEPNS0_12ExtendedPartE(ptr noundef %356, ptr noundef %360)
          to label %362 unwind label %377

362:                                              ; preds = %355
  %363 = getelementptr inbounds %"struct.P3D::Graphics::ColorTemplate", ptr %50, i32 0, i32 0
  %364 = getelementptr inbounds %union.anon.118, ptr %363, i32 0, i32 0
  %365 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %364, i32 0, i32 0
  %366 = extractvalue { <2 x float>, <2 x float> } %361, 0
  store <2 x float> %366, ptr %365, align 4
  %367 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %364, i32 0, i32 1
  %368 = extractvalue { <2 x float>, <2 x float> } %361, 1
  store <2 x float> %368, ptr %367, align 4
  %369 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 2
  %370 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Material", ptr %369, i32 0, i32 2
  %371 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3P3D8GraphicspLIfEERNS0_13ColorTemplateIT_EES5_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %370, ptr noundef nonnull align 4 dereferenceable(16) %50)
          to label %372 unwind label %377

372:                                              ; preds = %362
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #10
  br label %381

373:                                              ; preds = %381, %350
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %15, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %16, align 4
  br label %390

377:                                              ; preds = %362, %355
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %15, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #10
  br label %390

381:                                              ; preds = %372, %352
  %382 = getelementptr inbounds %"class.P3D::Application::ModelLayer", ptr %74, i32 0, i32 1
  %383 = load ptr, ptr %382, align 8, !tbaa !108
  %384 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 3
  %385 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %384) #10
  %386 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Mesh", ptr %385, i32 0, i32 1
  %387 = load i64, ptr %386, align 8, !tbaa !100
  %388 = getelementptr inbounds %struct.EntityInfo, ptr %34, i32 0, i32 2
  invoke void @_ZN3P3D8Graphics20InstanceBatchManager3addEmRKNS_6MatrixIfLm4ELm4EEERKNS0_4Comp8MaterialE(ptr noundef nonnull align 8 dereferenceable(104) %383, i64 noundef %387, ptr noundef nonnull align 4 dereferenceable(64) %49, ptr noundef nonnull align 8 dereferenceable(172) %388)
          to label %389 unwind label %373

389:                                              ; preds = %381
  call void @llvm.lifetime.end.p0(i64 64, ptr %49) #10
  br label %391

390:                                              ; preds = %377, %373
  call void @llvm.lifetime.end.p0(i64 64, ptr %49) #10
  br label %401

391:                                              ; preds = %389, %323
  store i32 0, ptr %32, align 4
  br label %392

392:                                              ; preds = %391, %288, %272, %265, %246
  call void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480) %34) #10
  call void @llvm.lifetime.end.p0(i64 480, ptr %34) #10
  %393 = load i32, ptr %32, align 4
  switch i32 %393, label %395 [
    i32 0, label %394
  ]

394:                                              ; preds = %392
  store i32 0, ptr %32, align 4
  br label %395

395:                                              ; preds = %394, %392
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  %396 = load i32, ptr %32, align 4
  switch i32 %396, label %693 [
    i32 0, label %397
    i32 3, label %398
  ]

397:                                              ; preds = %395
  br label %398

398:                                              ; preds = %397, %395
  %399 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_EppEv(ptr noundef nonnull align 8 dereferenceable(64) %28)
          to label %400 unwind label %227

400:                                              ; preds = %398
  br label %179

401:                                              ; preds = %390, %349, %332, %328, %289, %255
  call void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480) %34) #10
  br label %402

402:                                              ; preds = %401, %251
  call void @llvm.lifetime.end.p0(i64 480, ptr %34) #10
  br label %403

403:                                              ; preds = %402, %247
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  br label %404

404:                                              ; preds = %403, %227
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  call void @_ZN15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %28) #10
  br label %405

405:                                              ; preds = %404, %223
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  br label %679

406:                                              ; preds = %182
  %407 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %408 = load ptr, ptr %407, align 8, !tbaa !18
  %409 = getelementptr i8, ptr %408, i64 -24
  %410 = load i64, ptr %409, align 8
  %411 = add i64 %410, 72
  %412 = getelementptr inbounds i8, ptr %407, i64 %411
  %413 = load ptr, ptr %412, align 8, !tbaa !18
  %414 = getelementptr inbounds ptr, ptr %413, i64 0
  %415 = load ptr, ptr %414, align 8
  invoke void %415(ptr noundef nonnull align 8 dereferenceable(216) %412)
          to label %416 unwind label %435

416:                                              ; preds = %406
  %417 = getelementptr inbounds %"class.P3D::Application::ModelLayer", ptr %74, i32 0, i32 1
  %418 = load ptr, ptr %417, align 8, !tbaa !108
  invoke void @_ZN3P3D8Graphics20InstanceBatchManager6submitEv(ptr noundef nonnull align 8 dereferenceable(104) %418)
          to label %419 unwind label %435

419:                                              ; preds = %416
  %420 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11BasicShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11basicShaderE) #10
  %421 = load ptr, ptr %420, align 8, !tbaa !18
  %422 = getelementptr i8, ptr %421, i64 -24
  %423 = load i64, ptr %422, align 8
  %424 = add i64 %423, 72
  %425 = getelementptr inbounds i8, ptr %420, i64 %424
  %426 = load ptr, ptr %425, align 8, !tbaa !18
  %427 = getelementptr inbounds ptr, ptr %426, i64 0
  %428 = load ptr, ptr %427, align 8
  invoke void %428(ptr noundef nonnull align 8 dereferenceable(216) %425)
          to label %429 unwind label %435

429:                                              ; preds = %419
  invoke void @_ZN3P3D8Graphics8Renderer14enableBlendingEv()
          to label %430 unwind label %435

430:                                              ; preds = %429
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #10
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %51, ptr noundef nonnull align 8 dereferenceable(48) %21) #10
  br label %431

431:                                              ; preds = %513, %430
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE4rendEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %52, ptr noundef nonnull align 8 dereferenceable(48) %21) #10
  %432 = invoke noundef zeroext i1 @_ZStneISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEbRKSt16reverse_iteratorIT_ESH_(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %433 unwind label %439

433:                                              ; preds = %431
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  br i1 %432, label %443, label %434

434:                                              ; preds = %433
  store i32 4, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  br label %529

435:                                              ; preds = %429, %419, %416, %406
  %436 = landingpad { ptr, i32 }
          cleanup
  %437 = extractvalue { ptr, i32 } %436, 0
  store ptr %437, ptr %15, align 8
  %438 = extractvalue { ptr, i32 } %436, 1
  store i32 %438, ptr %16, align 4
  br label %679

439:                                              ; preds = %431
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %15, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  br label %528

443:                                              ; preds = %433
  call void @llvm.lifetime.start.p0(i64 480, ptr %53) #10
  %444 = invoke noundef ptr @_ZNKSt16reverse_iteratorISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %445 unwind label %454

445:                                              ; preds = %443
  %446 = getelementptr inbounds %"struct.std::pair.166", ptr %444, i32 0, i32 1
  invoke void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(480) %53, ptr noundef nonnull align 8 dereferenceable(480) %446)
          to label %447 unwind label %454

447:                                              ; preds = %445
  %448 = getelementptr inbounds %struct.EntityInfo, ptr %53, i32 0, i32 3
  %449 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %448) #10
  %450 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Mesh", ptr %449, i32 0, i32 1
  %451 = load i64, ptr %450, align 8, !tbaa !100
  %452 = icmp eq i64 %451, -1
  br i1 %452, label %453, label %458

453:                                              ; preds = %447
  store i32 6, ptr %32, align 4
  br label %508

454:                                              ; preds = %445, %443
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %15, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %16, align 4
  br label %523

458:                                              ; preds = %447
  %459 = getelementptr inbounds %struct.EntityInfo, ptr %53, i32 0, i32 3
  %460 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %459) #10
  %461 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Mesh", ptr %460, i32 0, i32 3
  %462 = load i8, ptr %461, align 4, !tbaa !102, !range !103, !noundef !104
  %463 = trunc i8 %462 to i1
  br i1 %463, label %465, label %464

464:                                              ; preds = %458
  store i32 6, ptr %32, align 4
  br label %508

465:                                              ; preds = %458
  %466 = getelementptr inbounds %struct.EntityInfo, ptr %53, i32 0, i32 4
  %467 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %466) #10
  br i1 %467, label %468, label %490

468:                                              ; preds = %465
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #10
  %469 = load ptr, ptr %5, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.EntityInfo, ptr %53, i32 0, i32 4
  %471 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %470) #10
  %472 = getelementptr inbounds %"struct.P3D::Application::Comp::Collider", ptr %471, i32 0, i32 1
  %473 = load ptr, ptr %472, align 8, !tbaa !105
  %474 = invoke { <2 x float>, <2 x float> } @_ZN3P3D11ApplicationL16getAlbedoForPartEPNS0_6ScreenEPNS0_12ExtendedPartE(ptr noundef %469, ptr noundef %473)
          to label %475 unwind label %486

475:                                              ; preds = %468
  %476 = getelementptr inbounds %"struct.P3D::Graphics::ColorTemplate", ptr %54, i32 0, i32 0
  %477 = getelementptr inbounds %union.anon.118, ptr %476, i32 0, i32 0
  %478 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %477, i32 0, i32 0
  %479 = extractvalue { <2 x float>, <2 x float> } %474, 0
  store <2 x float> %479, ptr %478, align 4
  %480 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %477, i32 0, i32 1
  %481 = extractvalue { <2 x float>, <2 x float> } %474, 1
  store <2 x float> %481, ptr %480, align 4
  %482 = getelementptr inbounds %struct.EntityInfo, ptr %53, i32 0, i32 2
  %483 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Material", ptr %482, i32 0, i32 2
  %484 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3P3D8GraphicspLIfEERNS0_13ColorTemplateIT_EES5_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %483, ptr noundef nonnull align 4 dereferenceable(16) %54)
          to label %485 unwind label %486

485:                                              ; preds = %475
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #10
  br label %490

486:                                              ; preds = %475, %468
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %15, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #10
  br label %522

490:                                              ; preds = %485, %465
  %491 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11BasicShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11basicShaderE) #10
  %492 = getelementptr inbounds %struct.EntityInfo, ptr %53, i32 0, i32 2
  invoke void @_ZN3P3D11Application11BasicShader14updateMaterialERKNS_8Graphics4Comp8MaterialE(ptr noundef nonnull align 8 dereferenceable(16) %491, ptr noundef nonnull align 8 dereferenceable(172) %492)
          to label %493 unwind label %514

493:                                              ; preds = %490
  %494 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11BasicShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11basicShaderE) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %55) #10
  %495 = getelementptr inbounds %struct.EntityInfo, ptr %53, i32 0, i32 1
  invoke void @_ZN3P3D11Application4Comp9Transform14getModelMatrixEb(ptr dead_on_unwind writable sret(%"class.P3D::Matrix.128") align 4 %55, ptr noundef nonnull align 8 dereferenceable(280) %495, i1 noundef zeroext true)
          to label %496 unwind label %518

496:                                              ; preds = %493
  invoke void @_ZN3P3D11Application22StandardMeshShaderBase11updateModelERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(8) %494, ptr noundef nonnull align 4 dereferenceable(64) %55)
          to label %497 unwind label %518

497:                                              ; preds = %496
  call void @llvm.lifetime.end.p0(i64 64, ptr %55) #10
  %498 = getelementptr inbounds %struct.EntityInfo, ptr %53, i32 0, i32 3
  %499 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %498) #10
  %500 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Mesh", ptr %499, i32 0, i32 1
  %501 = load i64, ptr %500, align 8, !tbaa !100
  %502 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3P3D8Graphics11IndexedMeshESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3P3D8Graphics12MeshRegistry6meshesE, i64 noundef %501) #10
  %503 = load ptr, ptr %502, align 8, !tbaa !5
  %504 = load ptr, ptr %503, align 8, !tbaa !18
  %505 = getelementptr inbounds ptr, ptr %504, i64 0
  %506 = load ptr, ptr %505, align 8
  invoke void %506(ptr noundef nonnull align 8 dereferenceable(96) %503)
          to label %507 unwind label %514

507:                                              ; preds = %497
  store i32 0, ptr %32, align 4
  br label %508

508:                                              ; preds = %507, %464, %453
  call void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480) %53) #10
  call void @llvm.lifetime.end.p0(i64 480, ptr %53) #10
  %509 = load i32, ptr %32, align 4
  switch i32 %509, label %693 [
    i32 0, label %510
    i32 6, label %511
  ]

510:                                              ; preds = %508
  br label %511

511:                                              ; preds = %510, %508
  %512 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt16reverse_iteratorISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %513 unwind label %524

513:                                              ; preds = %511
  br label %431, !llvm.loop !110

514:                                              ; preds = %497, %490
  %515 = landingpad { ptr, i32 }
          cleanup
  %516 = extractvalue { ptr, i32 } %515, 0
  store ptr %516, ptr %15, align 8
  %517 = extractvalue { ptr, i32 } %515, 1
  store i32 %517, ptr %16, align 4
  br label %522

518:                                              ; preds = %496, %493
  %519 = landingpad { ptr, i32 }
          cleanup
  %520 = extractvalue { ptr, i32 } %519, 0
  store ptr %520, ptr %15, align 8
  %521 = extractvalue { ptr, i32 } %519, 1
  store i32 %521, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %55) #10
  br label %522

522:                                              ; preds = %518, %514, %486
  call void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480) %53) #10
  br label %523

523:                                              ; preds = %522, %454
  call void @llvm.lifetime.end.p0(i64 480, ptr %53) #10
  br label %528

524:                                              ; preds = %511
  %525 = landingpad { ptr, i32 }
          cleanup
  %526 = extractvalue { ptr, i32 } %525, 0
  store ptr %526, ptr %15, align 8
  %527 = extractvalue { ptr, i32 } %525, 1
  store i32 %527, ptr %16, align 4
  br label %528

528:                                              ; preds = %524, %523, %439
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  br label %679

529:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 104, ptr %56) #10
  invoke void @_ZNK3P3D11Application9Selection9getCFrameEv(ptr dead_on_unwind writable sret(%"class.std::optional") align 8 %56, ptr noundef nonnull align 8 dereferenceable(80) @_ZN3P3D11Application13SelectionTool9selectionE)
          to label %530 unwind label %556

530:                                              ; preds = %529
  call void @llvm.lifetime.start.p0(i64 40, ptr %57) #10
  invoke void @_ZNK3P3D11Application9Selection9getHitboxEv(ptr dead_on_unwind writable sret(%"class.std::optional.194") align 8 %57, ptr noundef nonnull align 8 dereferenceable(80) @_ZN3P3D11Application13SelectionTool9selectionE)
          to label %531 unwind label %560

531:                                              ; preds = %530
  %532 = call noundef zeroext i1 @_ZNKSt8optionalIN3P3D12GlobalCFrameEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(104) %56) #10
  br i1 %532, label %533, label %578

533:                                              ; preds = %531
  %534 = call noundef zeroext i1 @_ZNKSt8optionalIN3P3D5ShapeEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(40) %57) #10
  br i1 %534, label %535, label %578

535:                                              ; preds = %533
  call void @llvm.lifetime.start.p0(i64 32, ptr %58) #10
  %536 = call noundef ptr @_ZNSt8optionalIN3P3D5ShapeEEptEv(ptr noundef nonnull align 8 dereferenceable(40) %57) #10
  %537 = getelementptr inbounds %"class.P3D::Shape", ptr %536, i32 0, i32 0
  %538 = call noundef ptr @_ZNK3P3D13intrusive_ptrIKNS_10ShapeClassEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %537) #10
  invoke void @_ZN3P3D8Graphics12MeshRegistry7getMeshEPKNS_10ShapeClassE(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Comp::Mesh") align 8 %58, ptr noundef %538)
          to label %539 unwind label %564

539:                                              ; preds = %535
  %540 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11DebugShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11debugShaderE) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %59) #10
  call void @llvm.lifetime.start.p0(i64 128, ptr %60) #10
  %541 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZNRSt8optionalIN3P3D12GlobalCFrameEE5valueEv(ptr noundef nonnull align 8 dereferenceable(104) %56)
          to label %542 unwind label %568

542:                                              ; preds = %539
  %543 = call noundef ptr @_ZNSt8optionalIN3P3D5ShapeEEptEv(ptr noundef nonnull align 8 dereferenceable(40) %57) #10
  %544 = getelementptr inbounds %"class.P3D::Shape", ptr %543, i32 0, i32 1
  invoke void @_ZNK3P3D12GlobalCFrame18asMat4WithPreScaleERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::Matrix.204") align 8 %60, ptr noundef nonnull align 8 dereferenceable(96) %541, ptr noundef nonnull align 8 dereferenceable(24) %544)
          to label %545 unwind label %568

545:                                              ; preds = %542
  invoke void @_ZN3P3D6MatrixIfLm4ELm4EEC2IdEERKNS0_IT_Lm4ELm4EEE(ptr noundef nonnull align 4 dereferenceable(64) %59, ptr noundef nonnull align 8 dereferenceable(128) %60)
          to label %546 unwind label %568

546:                                              ; preds = %545
  invoke void @_ZN3P3D11Application22StandardMeshShaderBase11updateModelERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(8) %540, ptr noundef nonnull align 4 dereferenceable(64) %59)
          to label %547 unwind label %568

547:                                              ; preds = %546
  call void @llvm.lifetime.end.p0(i64 128, ptr %60) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %59) #10
  %548 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Mesh", ptr %58, i32 0, i32 1
  %549 = load i64, ptr %548, align 8, !tbaa !100
  %550 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3P3D8Graphics11IndexedMeshESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3P3D8Graphics12MeshRegistry6meshesE, i64 noundef %549) #10
  %551 = load ptr, ptr %550, align 8, !tbaa !5
  %552 = load ptr, ptr %551, align 8, !tbaa !18
  %553 = getelementptr inbounds ptr, ptr %552, i64 0
  %554 = load ptr, ptr %553, align 8
  invoke void %554(ptr noundef nonnull align 8 dereferenceable(96) %551)
          to label %555 unwind label %572

555:                                              ; preds = %547
  call void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(29) %58) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #10
  br label %578

556:                                              ; preds = %529
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %15, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %16, align 4
  br label %678

560:                                              ; preds = %530
  %561 = landingpad { ptr, i32 }
          cleanup
  %562 = extractvalue { ptr, i32 } %561, 0
  store ptr %562, ptr %15, align 8
  %563 = extractvalue { ptr, i32 } %561, 1
  store i32 %563, ptr %16, align 4
  br label %677

564:                                              ; preds = %535
  %565 = landingpad { ptr, i32 }
          cleanup
  %566 = extractvalue { ptr, i32 } %565, 0
  store ptr %566, ptr %15, align 8
  %567 = extractvalue { ptr, i32 } %565, 1
  store i32 %567, ptr %16, align 4
  br label %577

568:                                              ; preds = %546, %545, %542, %539
  %569 = landingpad { ptr, i32 }
          cleanup
  %570 = extractvalue { ptr, i32 } %569, 0
  store ptr %570, ptr %15, align 8
  %571 = extractvalue { ptr, i32 } %569, 1
  store i32 %571, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 128, ptr %60) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %59) #10
  br label %576

572:                                              ; preds = %547
  %573 = landingpad { ptr, i32 }
          cleanup
  %574 = extractvalue { ptr, i32 } %573, 0
  store ptr %574, ptr %15, align 8
  %575 = extractvalue { ptr, i32 } %573, 1
  store i32 %575, ptr %16, align 4
  br label %576

576:                                              ; preds = %572, %568
  call void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(29) %58) #10
  br label %577

577:                                              ; preds = %576, %564
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #10
  br label %676

578:                                              ; preds = %555, %533, %531
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #10
  store ptr @_ZN3P3D11Application13SelectionTool9selectionE, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #10
  %579 = invoke ptr @_ZN3P3D11Application9Selection5beginEv(ptr noundef nonnull align 8 dereferenceable(80) @_ZN3P3D11Application13SelectionTool9selectionE)
          to label %580 unwind label %588

580:                                              ; preds = %578
  %581 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %62, i32 0, i32 0
  store ptr %579, ptr %581, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #10
  %582 = invoke ptr @_ZN3P3D11Application9Selection3endEv(ptr noundef nonnull align 8 dereferenceable(80) @_ZN3P3D11Application13SelectionTool9selectionE)
          to label %583 unwind label %592

583:                                              ; preds = %580
  %584 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %63, i32 0, i32 0
  store ptr %582, ptr %584, align 8
  br label %585

585:                                              ; preds = %670, %583
  %586 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(8) %63) #10
  br i1 %586, label %596, label %587

587:                                              ; preds = %585
  store i32 7, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #10
  br label %674

588:                                              ; preds = %578
  %589 = landingpad { ptr, i32 }
          cleanup
  %590 = extractvalue { ptr, i32 } %589, 0
  store ptr %590, ptr %15, align 8
  %591 = extractvalue { ptr, i32 } %589, 1
  store i32 %591, ptr %16, align 4
  br label %673

592:                                              ; preds = %580
  %593 = landingpad { ptr, i32 }
          cleanup
  %594 = extractvalue { ptr, i32 } %593, 0
  store ptr %594, ptr %15, align 8
  %595 = extractvalue { ptr, i32 } %593, 1
  store i32 %595, ptr %16, align 4
  br label %672

596:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #10
  %597 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %62) #10
  %598 = load i32, ptr %597, align 4, !tbaa !16
  store i32 %598, ptr %64, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #10
  %599 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp9TransformEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.90") align 8 %65, ptr noundef nonnull align 8 dereferenceable(212) %599, ptr noundef nonnull align 4 dereferenceable(4) %64) #10
  %600 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp9TransformEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %65) #10
  br i1 %600, label %601, label %669

601:                                              ; preds = %596
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #10
  %602 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp6HitboxEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.205") align 8 %66, ptr noundef nonnull align 8 dereferenceable(212) %602, ptr noundef nonnull align 4 dereferenceable(4) %64) #10
  %603 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp6HitboxEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %66) #10
  br i1 %603, label %604, label %668

604:                                              ; preds = %601
  call void @llvm.lifetime.start.p0(i64 32, ptr %67) #10
  %605 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp6HitboxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %66) #10
  invoke void @_ZN3P3D11Application4Comp6Hitbox8getShapeEv(ptr dead_on_unwind writable sret(%"class.P3D::Shape") align 8 %67, ptr noundef nonnull align 8 dereferenceable(56) %605)
          to label %606 unwind label %616

606:                                              ; preds = %604
  %607 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp6HitboxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %66) #10
  %608 = invoke noundef zeroext i1 @_ZN3P3D11Application4Comp6Hitbox14isPartAttachedEv(ptr noundef nonnull align 8 dereferenceable(56) %607)
          to label %609 unwind label %620

609:                                              ; preds = %606
  br i1 %608, label %633, label %610

610:                                              ; preds = %609
  call void @llvm.lifetime.start.p0(i64 32, ptr %68) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %69) #10
  %611 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp9TransformEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %65) #10
  invoke void @_ZN3P3D11Application4Comp9Transform8getScaleEv(ptr dead_on_unwind writable sret(%"class.P3D::DiagonalMatrix") align 8 %69, ptr noundef nonnull align 8 dereferenceable(280) %611)
          to label %612 unwind label %624

612:                                              ; preds = %610
  invoke void @_ZNK3P3D5Shape6scaledERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::Shape") align 8 %68, ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull align 8 dereferenceable(24) %69)
          to label %613 unwind label %624

613:                                              ; preds = %612
  %614 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN3P3D5ShapeaSEOS0_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull align 8 dereferenceable(32) %68)
          to label %615 unwind label %628

615:                                              ; preds = %613
  call void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #10
  br label %633

616:                                              ; preds = %604
  %617 = landingpad { ptr, i32 }
          cleanup
  %618 = extractvalue { ptr, i32 } %617, 0
  store ptr %618, ptr %15, align 8
  %619 = extractvalue { ptr, i32 } %617, 1
  store i32 %619, ptr %16, align 4
  br label %667

620:                                              ; preds = %606
  %621 = landingpad { ptr, i32 }
          cleanup
  %622 = extractvalue { ptr, i32 } %621, 0
  store ptr %622, ptr %15, align 8
  %623 = extractvalue { ptr, i32 } %621, 1
  store i32 %623, ptr %16, align 4
  br label %666

624:                                              ; preds = %612, %610
  %625 = landingpad { ptr, i32 }
          cleanup
  %626 = extractvalue { ptr, i32 } %625, 0
  store ptr %626, ptr %15, align 8
  %627 = extractvalue { ptr, i32 } %625, 1
  store i32 %627, ptr %16, align 4
  br label %632

628:                                              ; preds = %613
  %629 = landingpad { ptr, i32 }
          cleanup
  %630 = extractvalue { ptr, i32 } %629, 0
  store ptr %630, ptr %15, align 8
  %631 = extractvalue { ptr, i32 } %629, 1
  store i32 %631, ptr %16, align 4
  call void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #10
  br label %632

632:                                              ; preds = %628, %624
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #10
  br label %666

633:                                              ; preds = %615, %609
  call void @llvm.lifetime.start.p0(i64 32, ptr %70) #10
  %634 = getelementptr inbounds %"class.P3D::Shape", ptr %67, i32 0, i32 0
  %635 = call noundef ptr @_ZNK3P3D13intrusive_ptrIKNS_10ShapeClassEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %634) #10
  invoke void @_ZN3P3D8Graphics12MeshRegistry7getMeshEPKNS_10ShapeClassE(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Comp::Mesh") align 8 %70, ptr noundef %635)
          to label %636 unwind label %652

636:                                              ; preds = %633
  %637 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11DebugShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11debugShaderE) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %71) #10
  call void @llvm.lifetime.start.p0(i64 128, ptr %72) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr %73) #10
  %638 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp9TransformEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %65) #10
  invoke void @_ZN3P3D11Application4Comp9Transform9getCFrameEv(ptr dead_on_unwind writable sret(%"class.P3D::GlobalCFrame") align 8 %73, ptr noundef nonnull align 8 dereferenceable(280) %638)
          to label %639 unwind label %656

639:                                              ; preds = %636
  %640 = getelementptr inbounds %"class.P3D::Shape", ptr %67, i32 0, i32 1
  invoke void @_ZNK3P3D12GlobalCFrame18asMat4WithPreScaleERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::Matrix.204") align 8 %72, ptr noundef nonnull align 8 dereferenceable(96) %73, ptr noundef nonnull align 8 dereferenceable(24) %640)
          to label %641 unwind label %656

641:                                              ; preds = %639
  invoke void @_ZN3P3D6MatrixIfLm4ELm4EEC2IdEERKNS0_IT_Lm4ELm4EEE(ptr noundef nonnull align 4 dereferenceable(64) %71, ptr noundef nonnull align 8 dereferenceable(128) %72)
          to label %642 unwind label %656

642:                                              ; preds = %641
  invoke void @_ZN3P3D11Application22StandardMeshShaderBase11updateModelERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(8) %637, ptr noundef nonnull align 4 dereferenceable(64) %71)
          to label %643 unwind label %656

643:                                              ; preds = %642
  call void @llvm.lifetime.end.p0(i64 96, ptr %73) #10
  call void @llvm.lifetime.end.p0(i64 128, ptr %72) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %71) #10
  %644 = getelementptr inbounds %"struct.P3D::Graphics::Comp::Mesh", ptr %70, i32 0, i32 1
  %645 = load i64, ptr %644, align 8, !tbaa !100
  %646 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3P3D8Graphics11IndexedMeshESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3P3D8Graphics12MeshRegistry6meshesE, i64 noundef %645) #10
  %647 = load ptr, ptr %646, align 8, !tbaa !5
  %648 = load ptr, ptr %647, align 8, !tbaa !18
  %649 = getelementptr inbounds ptr, ptr %648, i64 0
  %650 = load ptr, ptr %649, align 8
  invoke void %650(ptr noundef nonnull align 8 dereferenceable(96) %647)
          to label %651 unwind label %660

651:                                              ; preds = %643
  call void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(29) %70) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #10
  call void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #10
  br label %668

652:                                              ; preds = %633
  %653 = landingpad { ptr, i32 }
          cleanup
  %654 = extractvalue { ptr, i32 } %653, 0
  store ptr %654, ptr %15, align 8
  %655 = extractvalue { ptr, i32 } %653, 1
  store i32 %655, ptr %16, align 4
  br label %665

656:                                              ; preds = %642, %641, %639, %636
  %657 = landingpad { ptr, i32 }
          cleanup
  %658 = extractvalue { ptr, i32 } %657, 0
  store ptr %658, ptr %15, align 8
  %659 = extractvalue { ptr, i32 } %657, 1
  store i32 %659, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 96, ptr %73) #10
  call void @llvm.lifetime.end.p0(i64 128, ptr %72) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %71) #10
  br label %664

660:                                              ; preds = %643
  %661 = landingpad { ptr, i32 }
          cleanup
  %662 = extractvalue { ptr, i32 } %661, 0
  store ptr %662, ptr %15, align 8
  %663 = extractvalue { ptr, i32 } %661, 1
  store i32 %663, ptr %16, align 4
  br label %664

664:                                              ; preds = %660, %656
  call void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(29) %70) #10
  br label %665

665:                                              ; preds = %664, %652
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #10
  br label %666

666:                                              ; preds = %665, %632, %620
  call void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #10
  br label %667

667:                                              ; preds = %666, %616
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #10
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp6HitboxEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #10
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp9TransformEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #10
  br label %672

668:                                              ; preds = %651, %601
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp6HitboxEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #10
  br label %669

669:                                              ; preds = %668, %596
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp9TransformEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #10
  br label %670

670:                                              ; preds = %669
  %671 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %62) #10
  br label %585

672:                                              ; preds = %667, %592
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  br label %673

673:                                              ; preds = %672, %588
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #10
  br label %676

674:                                              ; preds = %587
  call void @_ZNSt14_Optional_baseIN3P3D5ShapeELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %57) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %57) #10
  call void @llvm.lifetime.end.p0(i64 104, ptr %56) #10
  call void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_ED2Ev(ptr noundef nonnull align 8 dereferenceable(73) %26) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 152, ptr %23) #10
  call void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %22) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  invoke void @_ZN3P3D8Graphics8Renderer8endSceneEv()
          to label %675 unwind label %682

675:                                              ; preds = %674
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  ret void

676:                                              ; preds = %673, %577
  call void @_ZNSt14_Optional_baseIN3P3D5ShapeELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %57) #10
  br label %677

677:                                              ; preds = %676, %560
  call void @llvm.lifetime.end.p0(i64 40, ptr %57) #10
  br label %678

678:                                              ; preds = %677, %556
  call void @llvm.lifetime.end.p0(i64 104, ptr %56) #10
  br label %679

679:                                              ; preds = %678, %528, %435, %405
  call void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_ED2Ev(ptr noundef nonnull align 8 dereferenceable(73) %26) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %26) #10
  br label %680

680:                                              ; preds = %679, %222
  call void @llvm.lifetime.end.p0(i64 152, ptr %23) #10
  call void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %22) #10
  br label %681

681:                                              ; preds = %680, %210
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  br label %686

682:                                              ; preds = %674
  %683 = landingpad { ptr, i32 }
          cleanup
  %684 = extractvalue { ptr, i32 } %683, 0
  store ptr %684, ptr %15, align 8
  %685 = extractvalue { ptr, i32 } %683, 1
  store i32 %685, ptr %16, align 4
  br label %686

686:                                              ; preds = %682, %681
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #10
  br label %687

687:                                              ; preds = %686, %209, %200, %191
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  br label %688

688:                                              ; preds = %687
  %689 = load ptr, ptr %15, align 8
  %690 = load i32, ptr %16, align 4
  %691 = insertvalue { ptr, i32 } poison, ptr %689, 0
  %692 = insertvalue { ptr, i32 } %691, i32 %690, 1
  resume { ptr, i32 } %692

693:                                              ; preds = %508, %395
  unreachable
}

declare void @_ZN3P3D8Graphics8Renderer10beginSceneEv() #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D24BreakdownAverageProfilerINS_8Graphics15GraphicsProcessEE4markES2_(ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) #6 align 2

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

declare void @_ZN3P3D11Application20ProjectionShaderBase16updateProjectionERKNS_6MatrixIfLm4ELm4EEES5_RKNS_16PositionTemplateINS_3FixILl32EEEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24)) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZN3P3DmiIffLm3EEENS_6VectorIDTmiixfp_Li0Eixfp0_Li0EEXT1_EEERKNS1_IT_XT1_EEERKNS1_IT0_XT1_EEE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1

declare void @_ZN3P3D6lookAtERKNS_6VectorIfLm3EEES3_S3_(ptr dead_on_unwind writable sret(%"class.P3D::Matrix.128") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DmlIfLm4ELm4ELm4EEENS_6MatrixIT_XT0_EXT1_EEERKNS1_IS2_XT0_EXT2_EEERKNS1_IS2_XT2_EXT1_EEE(ptr dead_on_unwind noalias writable sret(%"class.P3D::Matrix.128") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) #2

declare void @_ZN3P3D8Graphics8Renderer13activeTextureEj(i32 noundef) #5

declare void @_ZN3P3D8Graphics8Renderer13bindTexture2DEj(i32 noundef) #5

declare void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #5

declare void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(64)) #5

declare void @_ZN3P3D11Application15BasicShaderBase18updateSunDirectionERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #2 align 2

declare void @_ZN3P3D16VisibilityFilter9forWindowERKNS_16PositionTemplateINS_3FixILl32EEEEERKNS_6VectorIdLm3EEESA_ddd(ptr dead_on_unwind writable sret(%"class.P3D::VisibilityFilter") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3P3D11Application6Camera19getForwardDirectionEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(576)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3P3D11Application6Camera14getUpDirectionEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(576)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE4viewIJNS_8Graphics4Comp4MeshEEEEDav(ptr dead_on_unwind noalias writable sret(%"class.P3D::Engine::Registry<unsigned long>::basic_view.151") align 8, ptr noundef nonnull align 8 dereferenceable(212)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E5beginEv(ptr dead_on_unwind noalias writable sret(%class.filter_iterator.152) align 8, ptr noundef nonnull align 8 dereferenceable(73)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E3endEv(ptr noundef nonnull align 8 dereferenceable(73)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_EneES2_(ptr noundef nonnull align 8 dereferenceable(64)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(480)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E3getIS7_EENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.158") align 8, ptr noundef nonnull align 8 dereferenceable(73), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEE5validEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp8ColliderEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.159") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D13intrusive_ptrINS_11Application4Comp8ColliderEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEE5validEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

declare noundef zeroext i1 @_ZNK3P3D16VisibilityFilterclERKNS_4PartE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(200)) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE5getOrINS_11Application4Comp9TransformEJEEET_RKjDpOT0_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Application::Comp::Transform") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D11Application4Comp9TransformD2Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE5getOrINS_8Graphics4Comp8MaterialEJEEET_RKjDpOT0_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Graphics::Comp::Material") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D8Graphics4Comp8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(172)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3DmiINS_3FixILl32EEEEENS_6VectorIT_Lm3EEERKNS_16PositionTemplateIS4_EES9_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector.161") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp9Transform11getPositionEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::PositionTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D6VectorINS_3FixILl32EEELm3EEcvNS0_IT_Lm3EEEIdEEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden { ptr, i8 } @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE6insertISA_IdS7_EEENSt9enable_ifIXsr16is_constructibleISC_T_EE5valueESA_ISt17_Rb_tree_iteratorISC_EbEE4typeEOSI_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(488)) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZSt9make_pairIRdRZN3P3D11Application10ModelLayer8onRenderERNS1_6Engine8RegistryImEEE10EntityInfoESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSB_INSC_IT0_E4typeEE6__typeEEOSD_OSI_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.164") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(480)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZNSt4pairIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoED2Ev(ptr noundef nonnull align 8 dereferenceable(488)) unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp9Transform14getModelMatrixEb(ptr dead_on_unwind noalias writable sret(%"class.P3D::Matrix.128") align 4, ptr noundef nonnull align 8 dereferenceable(280), i1 noundef zeroext) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN3P3D11ApplicationL16getAlbedoForPartEPNS0_6ScreenEPNS0_12ExtendedPartE(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D8Graphics20InstanceBatchManager3addEmRKNS_6MatrixIfLm4ELm4EEERKNS0_4Comp8MaterialE(ptr noundef nonnull align 8 dereferenceable(104), i64 noundef, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(172)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480)) unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_EppEv(ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D8Graphics20InstanceBatchManager6submitEv(ptr noundef nonnull align 8 dereferenceable(104)) #2 align 2

declare void @_ZN3P3D8Graphics8Renderer14enableBlendingEv() #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZStneISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEbRKSt16reverse_iteratorIT_ESH_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZNKSt16reverse_iteratorISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(480)) unnamed_addr #6 align 2

declare void @_ZN3P3D11Application11BasicShader14updateMaterialERKNS_8Graphics4Comp8MaterialE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(172)) #5

declare void @_ZN3P3D11Application22StandardMeshShaderBase11updateModelERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(64)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3P3D8Graphics11IndexedMeshESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt16reverse_iteratorISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

declare void @_ZNK3P3D11Application9Selection9getCFrameEv(ptr dead_on_unwind writable sret(%"class.std::optional") align 8, ptr noundef nonnull align 8 dereferenceable(80)) #5

declare void @_ZNK3P3D11Application9Selection9getHitboxEv(ptr dead_on_unwind writable sret(%"class.std::optional.194") align 8, ptr noundef nonnull align 8 dereferenceable(80)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8optionalIN3P3D12GlobalCFrameEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(104)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8optionalIN3P3D5ShapeEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

declare void @_ZN3P3D8Graphics12MeshRegistry7getMeshEPKNS_10ShapeClassE(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Comp::Mesh") align 8, ptr noundef) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZNRSt8optionalIN3P3D12GlobalCFrameEE5valueEv(ptr noundef nonnull align 8 dereferenceable(104)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D12GlobalCFrame18asMat4WithPreScaleERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind noalias writable sret(%"class.P3D::Matrix.204") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D6MatrixIfLm4ELm4EEC2IdEERKNS0_IT_Lm4ELm4EEE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

declare ptr @_ZN3P3D11Application9Selection5beginEv(ptr noundef nonnull align 8 dereferenceable(80)) #5

declare ptr @_ZN3P3D11Application9Selection3endEv(ptr noundef nonnull align 8 dereferenceable(80)) #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp6HitboxEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.205") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp6HitboxEE5validEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp6Hitbox8getShapeEv(ptr dead_on_unwind noalias writable sret(%"class.P3D::Shape") align 8, ptr noundef nonnull align 8 dereferenceable(56)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3P3D11Application4Comp6Hitbox14isPartAttachedEv(ptr noundef nonnull align 8 dereferenceable(56)) #1 align 2

declare void @_ZNK3P3D5Shape6scaledERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::Shape") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp9Transform8getScaleEv(ptr dead_on_unwind noalias writable sret(%"class.P3D::DiagonalMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #2 align 2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN3P3D5ShapeaSEOS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: nounwind
declare void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D13intrusive_ptrINS_11Application4Comp6HitboxEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Optional_baseIN3P3D5ShapeELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_ED2Ev(ptr noundef nonnull align 8 dereferenceable(73)) unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #1 align 2

declare void @_ZN3P3D8Graphics8Renderer8endSceneEv() #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { "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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 #8 = { 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 #9 = { nounwind "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 #10 = { 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, !6, i64 8}
!10 = !{!"_ZTSN3P3D6Engine5LayerE", !6, i64 8, !11, i64 16, !7, i64 48}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{i64 0, i64 64, !15}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !8, i64 0}
!20 = !{!21, !6, i64 224}
!21 = !{!"_ZTSN3P3D11Application6ScreenE", !22, i64 0, !6, i64 216, !6, i64 224, !46, i64 232, !47, i64 240, !57, i64 816, !62, i64 848, !63, i64 912, !69, i64 992, !6, i64 1008, !6, i64 1016}
!22 = !{!"_ZTSN3P3D6Engine8RegistryImEE", !23, i64 0, !31, i64 48, !35, i64 72, !40, i64 128, !17, i64 208}
!23 = !{!"_ZTSSt3setImN3P3D6Engine8RegistryImE14entity_compareESaImEE", !24, i64 0}
!24 = !{!"_ZTSSt8_Rb_treeImmSt9_IdentityImEN3P3D6Engine8RegistryImE14entity_compareESaImEE", !25, i64 0}
!25 = !{!"_ZTSNSt8_Rb_treeImmSt9_IdentityImEN3P3D6Engine8RegistryImE14entity_compareESaImEE13_Rb_tree_implIS6_Lb1EEE", !26, i64 0, !28, i64 8}
!26 = !{!"_ZTSSt20_Rb_tree_key_compareIN3P3D6Engine8RegistryImE14entity_compareEE", !27, i64 0}
!27 = !{!"_ZTSN3P3D6Engine8RegistryImE14entity_compareE"}
!28 = !{!"_ZTSSt15_Rb_tree_header", !29, i64 0, !13, i64 32}
!29 = !{!"_ZTSSt18_Rb_tree_node_base", !30, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!30 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!31 = !{!"_ZTSSt6vectorIPSt18unordered_multimapIjN3P3D13intrusive_ptrINS1_2RCEEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEESaISE_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIPSt18unordered_multimapIjN3P3D13intrusive_ptrINS1_2RCEEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEESaISE_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPSt18unordered_multimapIjN3P3D13intrusive_ptrINS1_2RCEEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEESaISE_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPSt18unordered_multimapIjN3P3D13intrusive_ptrINS1_2RCEEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEESaISE_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"_ZTSSt13unordered_mapItNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashItESt8equal_toItESaISt4pairIKtS5_EEE", !36, i64 0}
!36 = !{!"_ZTSSt10_HashtableItSt4pairIKtNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS8_ENSt8__detail10_Select1stESt8equal_toItESt4hashItENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !13, i64 8, !37, i64 16, !13, i64 24, !38, i64 32, !6, i64 48}
!37 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!38 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !39, i64 0, !13, i64 8}
!39 = !{!"float", !7, i64 0}
!40 = !{!"_ZTSSt5queueIjSt5dequeIjSaIjEEE", !41, i64 0}
!41 = !{!"_ZTSSt5dequeIjSaIjEE", !42, i64 0}
!42 = !{!"_ZTSSt11_Deque_baseIjSaIjEE", !43, i64 0}
!43 = !{!"_ZTSNSt11_Deque_baseIjSaIjEE11_Deque_implE", !44, i64 0}
!44 = !{!"_ZTSNSt11_Deque_baseIjSaIjEE16_Deque_impl_dataE", !6, i64 0, !13, i64 8, !45, i64 16, !45, i64 48}
!45 = !{!"_ZTSSt15_Deque_iteratorIjRjPjE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!46 = !{!"_ZTSN3P3D6VectorIiLm2EEE", !7, i64 0}
!47 = !{!"_ZTSN3P3D11Application6CameraE", !7, i64 0, !48, i64 8, !48, i64 16, !49, i64 24, !50, i64 48, !48, i64 56, !48, i64 64, !49, i64 72, !50, i64 96, !50, i64 97, !51, i64 104, !48, i64 200, !48, i64 208, !50, i64 216, !48, i64 224, !39, i64 232, !39, i64 236, !39, i64 240, !39, i64 244, !56, i64 248, !56, i64 312, !56, i64 376, !56, i64 440, !56, i64 504, !6, i64 568}
!48 = !{!"double", !7, i64 0}
!49 = !{!"_ZTSN3P3D6VectorIdLm3EEE", !7, i64 0}
!50 = !{!"bool", !7, i64 0}
!51 = !{!"_ZTSN3P3D12GlobalCFrameE", !52, i64 0, !54, i64 24}
!52 = !{!"_ZTSN3P3D16PositionTemplateINS_3FixILl32EEEEE", !53, i64 0, !53, i64 8, !53, i64 16}
!53 = !{!"_ZTSN3P3D3FixILl32EEE", !13, i64 0}
!54 = !{!"_ZTSN3P3D22MatrixRotationTemplateIdEE", !55, i64 0}
!55 = !{!"_ZTSN3P3D6MatrixIdLm3ELm3EEE", !7, i64 0}
!56 = !{!"_ZTSN3P3D6MatrixIfLm4ELm4EEE", !7, i64 0}
!57 = !{!"_ZTSN3P3D6Engine10LayerStackE", !58, i64 0, !17, i64 24}
!58 = !{!"_ZTSSt6vectorIPN3P3D6Engine5LayerESaIS3_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseIPN3P3D6Engine5LayerESaIS3_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIPN3P3D6Engine5LayerESaIS3_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIPN3P3D6Engine5LayerESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!62 = !{!"_ZTSN3P3D11Application12EventHandlerE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!63 = !{!"_ZTSN4Util10PropertiesE", !11, i64 0, !64, i64 32}
!64 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE", !65, i64 0}
!65 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !66, i64 0}
!66 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !67, i64 0, !28, i64 8}
!67 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !68, i64 0}
!68 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!69 = !{!"_ZTSSt10shared_ptrIN3P3D8Graphics11FrameBufferEE", !70, i64 0}
!70 = !{!"_ZTSSt12__shared_ptrIN3P3D8Graphics11FrameBufferELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !71, i64 8}
!71 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!72 = !{!21, !39, i64 472}
!73 = !{!21, !39, i64 484}
!74 = !{!21, !39, i64 480}
!75 = !{!13, !13, i64 0}
!76 = !{!77, !17, i64 0}
!77 = !{!"_ZTSZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEE10EntityInfo", !17, i64 0, !78, i64 8, !96, i64 288, !98, i64 464, !99, i64 472}
!78 = !{!"_ZTSN3P3D11Application4Comp9TransformE", !79, i64 0, !80, i64 16, !87, i64 144, !94, i64 248}
!79 = !{!"_ZTSN3P3D2RCE", !13, i64 8}
!80 = !{!"_ZTSSt7variantIJPN3P3D11Application12ExtendedPartENS1_4Comp9Transform12ScaledCFrameEEE", !81, i64 0}
!81 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !82, i64 0}
!82 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !83, i64 0}
!83 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !84, i64 0}
!84 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !85, i64 0}
!85 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !86, i64 0}
!86 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !7, i64 0, !7, i64 120}
!87 = !{!"_ZTSSt7variantIJN3P3D14CFrameTemplateIdEEPS2_EE", !88, i64 0}
!88 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJN3P3D14CFrameTemplateIdEEPS4_EEE", !89, i64 0}
!89 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !90, i64 0}
!90 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !91, i64 0}
!91 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !92, i64 0}
!92 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !93, i64 0}
!93 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !7, i64 0, !7, i64 96}
!94 = !{!"_ZTSSt8functionIFvvEE", !95, i64 0, !6, i64 24}
!95 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!96 = !{!"_ZTSN3P3D8Graphics4Comp8MaterialE", !79, i64 0, !7, i64 16, !97, i64 144, !39, i64 160, !39, i64 164, !39, i64 168}
!97 = !{!"_ZTSN3P3D8Graphics13ColorTemplateIfEE", !7, i64 0}
!98 = !{!"_ZTSN3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEE", !6, i64 0}
!99 = !{!"_ZTSN3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEE", !6, i64 0}
!100 = !{!101, !13, i64 16}
!101 = !{!"_ZTSN3P3D8Graphics4Comp4MeshE", !79, i64 0, !13, i64 16, !17, i64 24, !50, i64 28}
!102 = !{!101, !50, i64 28}
!103 = !{i8 0, i8 2}
!104 = !{}
!105 = !{!106, !6, i64 16}
!106 = !{!"_ZTSN3P3D11Application4Comp8ColliderE", !79, i64 0, !6, i64 16}
!107 = !{!48, !48, i64 0}
!108 = !{!109, !6, i64 56}
!109 = !{!"_ZTSN3P3D11Application10ModelLayerE", !10, i64 0, !6, i64 56}
!110 = distinct !{!110, !111}
!111 = !{!"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.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.56" = type { %"class.std::__shared_ptr.57" }
%"class.std::__shared_ptr.57" = type { ptr, %"class.std::__shared_count" }
%"class.P3D::BreakdownAverageProfiler" = type { %"class.P3D::HistoricTally", %"class.std::chrono::time_point", i32, [4 x i8], %"struct.P3D::CircularBuffer.120" }
%"class.P3D::HistoricTally" = type { %"struct.P3D::ParallelArray", [11 x ptr], %"struct.P3D::CircularBuffer" }
%"struct.P3D::ParallelArray" = type { [11 x %"class.std::chrono::duration"] }
%"class.std::chrono::duration" = type { i64 }
%"struct.P3D::CircularBuffer" = type <{ ptr, i64, i64, i8, [7 x i8] }>
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"struct.P3D::CircularBuffer.120" = type <{ ptr, i64, i64, i8, [7 x i8] }>
%"class.std::shared_ptr.122" = type { %"class.std::__shared_ptr.123" }
%"class.std::__shared_ptr.123" = type { ptr, %"class.std::__shared_count" }
%"class.P3D::Matrix.128" = type { [16 x float] }
%"class.std::vector.168" = type { %"struct.std::_Vector_base.169" }
%"struct.std::_Vector_base.169" = type { %"struct.std::_Vector_base<P3D::Graphics::IndexedMesh *, std::allocator<P3D::Graphics::IndexedMesh *>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Graphics::IndexedMesh *, std::allocator<P3D::Graphics::IndexedMesh *>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Graphics::IndexedMesh *, std::allocator<P3D::Graphics::IndexedMesh *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Graphics::IndexedMesh *, std::allocator<P3D::Graphics::IndexedMesh *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.P3D::Application::Selection" = type { %"class.std::optional.184", %"class.std::vector.192" }
%"class.std::optional.184" = type { %"struct.std::_Optional_base.185" }
%"struct.std::_Optional_base.185" = type { %"struct.std::_Optional_payload.187" }
%"struct.std::_Optional_payload.187" = type { %"struct.std::_Optional_payload_base.base.189", [7 x i8] }
%"struct.std::_Optional_payload_base.base.189" = type <{ %"union.std::_Optional_payload_base<P3D::BoundingBoxTemplate<double>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<P3D::BoundingBoxTemplate<double>>::_Storage" = type { %"struct.P3D::BoundingBoxTemplate" }
%"struct.P3D::BoundingBoxTemplate" = type { %"struct.P3D::Vector", %"struct.P3D::Vector" }
%"struct.P3D::Vector" = type { %union.anon.105 }
%union.anon.105 = type { [3 x double] }
%"class.std::vector.192" = type { %"struct.std::_Vector_base.193" }
%"struct.std::_Vector_base.193" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.P3D::intrusive_ptr.90" = type { ptr }
%"class.P3D::GlobalCFrame" = type { %"struct.P3D::PositionTemplate", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::PositionTemplate" = type { %"struct.P3D::Fix", %"struct.P3D::Fix", %"struct.P3D::Fix" }
%"struct.P3D::Fix" = type { i64 }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"struct.P3D::Vector.142" = type { %union.anon.143 }
%union.anon.143 = type { [3 x float] }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::map.145" = type { %"class.std::_Rb_tree.146" }
%"class.std::_Rb_tree.146" = type { %"struct.std::_Rb_tree<double, std::pair<const double, EntityInfo>, std::_Select1st<std::pair<const double, EntityInfo>>, std::less<double>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<double, std::pair<const double, EntityInfo>, std::_Select1st<std::pair<const double, EntityInfo>>, std::less<double>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::shared_lock" = type <{ ptr, i8, [7 x i8] }>
%"class.P3D::VisibilityFilter" = type { %"struct.P3D::PositionTemplate", %"struct.P3D::Vector", %"struct.P3D::Vector", %"struct.P3D::Vector", %"struct.P3D::Vector", %"struct.P3D::Vector", double }
%"class.P3D::Engine::Registry<unsigned long>::basic_view.151" = type <{ ptr, %class.filter_iterator.152, [8 x i8] }>
%class.filter_iterator.152 = type { %"struct.std::_Rb_tree_const_iterator", %"struct.std::_Rb_tree_const_iterator", %class.anon.153 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%class.anon.153 = type { %"class.std::set" }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, P3D::Engine::Registry<unsigned long>::entity_compare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, P3D::Engine::Registry<unsigned long>::entity_compare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%struct.EntityInfo = type { i32, %"struct.P3D::Application::Comp::Transform", %"struct.P3D::Graphics::Comp::Material", %"class.P3D::intrusive_ptr.158", %"class.P3D::intrusive_ptr.159" }
%"struct.P3D::Application::Comp::Transform" = type { %"struct.P3D::RC", %"class.std::variant", %"class.std::variant.96", %"class.std::function" }
%"struct.P3D::RC" = type { ptr, i64 }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type <{ %"union.std::__detail::__variant::_Variadic_union", i8 }>
%"union.std::__detail::__variant::_Variadic_union" = type { %"union.std::__detail::__variant::_Variadic_union.91" }
%"union.std::__detail::__variant::_Variadic_union.91" = type { %"struct.std::__detail::__variant::_Uninitialized.92" }
%"struct.std::__detail::__variant::_Uninitialized.92" = type { %"struct.P3D::Application::Comp::Transform::ScaledCFrame" }
%"struct.P3D::Application::Comp::Transform::ScaledCFrame" = type { %"class.P3D::GlobalCFrame", %"class.P3D::DiagonalMatrix" }
%"class.P3D::DiagonalMatrix" = type { [3 x double] }
%"class.std::variant.96" = type { %"struct.std::__detail::__variant::_Variant_base.base.113", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base.113" = type { %"struct.std::__detail::__variant::_Move_assign_base.base.112" }
%"struct.std::__detail::__variant::_Move_assign_base.base.112" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base.111" }
%"struct.std::__detail::__variant::_Copy_assign_base.base.111" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base.110" }
%"struct.std::__detail::__variant::_Move_ctor_base.base.110" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base.109" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base.109" = type { %"struct.std::__detail::__variant::_Variant_storage.base.108" }
%"struct.std::__detail::__variant::_Variant_storage.base.108" = type <{ %"union.std::__detail::__variant::_Variadic_union.103", i8 }>
%"union.std::__detail::__variant::_Variadic_union.103" = type { %"struct.std::__detail::__variant::_Uninitialized.104" }
%"struct.std::__detail::__variant::_Uninitialized.104" = type { %"struct.P3D::CFrameTemplate" }
%"struct.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"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 } }
%"struct.P3D::Graphics::Comp::Material" = type <{ %"struct.P3D::RC", [8 x %"class.std::shared_ptr.155"], %"struct.P3D::Graphics::ColorTemplate", float, float, float, [4 x i8] }>
%"class.std::shared_ptr.155" = type { %"class.std::__shared_ptr.156" }
%"class.std::__shared_ptr.156" = type { ptr, %"class.std::__shared_count" }
%"struct.P3D::Graphics::ColorTemplate" = type { %union.anon.118 }
%union.anon.118 = type { %struct.anon.119 }
%struct.anon.119 = type { float, float, float, float }
%"class.P3D::intrusive_ptr.158" = type { ptr }
%"class.P3D::intrusive_ptr.159" = type { ptr }
%"struct.P3D::Vector.161" = type { %union.anon.162 }
%union.anon.162 = type { [3 x %"struct.P3D::Fix"] }
%"struct.std::pair.164" = type { double, %struct.EntityInfo }
%"class.std::reverse_iterator" = type { %"struct.std::_Rb_tree_iterator" }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload_base.base", [7 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<P3D::GlobalCFrame>::_Storage", i8 }>
%"union.std::_Optional_payload_base<P3D::GlobalCFrame>::_Storage" = type { %"class.P3D::GlobalCFrame" }
%"class.std::optional.194" = type { %"struct.std::_Optional_base.195" }
%"struct.std::_Optional_base.195" = type { %"struct.std::_Optional_payload.197" }
%"struct.std::_Optional_payload.197" = type { %"struct.std::_Optional_payload.base.201", [7 x i8] }
%"struct.std::_Optional_payload.base.201" = type { %"struct.std::_Optional_payload_base.base.200" }
%"struct.std::_Optional_payload_base.base.200" = type <{ %"union.std::_Optional_payload_base<P3D::Shape>::_Storage", i8 }>
%"union.std::_Optional_payload_base<P3D::Shape>::_Storage" = type { %"class.P3D::Shape" }
%"class.P3D::Shape" = type { %"class.P3D::intrusive_ptr.160", %"class.P3D::DiagonalMatrix" }
%"class.P3D::intrusive_ptr.160" = type { ptr }
%"struct.P3D::Graphics::Comp::Mesh" = type <{ %"struct.P3D::RC", i64, i32, i8, [3 x i8] }>
%"class.P3D::Matrix.204" = type { [16 x double] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.P3D::intrusive_ptr.205" = type { ptr }

@_ZN3P3D11Application7Shaders11basicShaderE = external global %"class.std::shared_ptr", align 8
@_ZN3P3D11Application7Shaders14instanceShaderE = external global %"class.std::shared_ptr.56", align 8
@_ZN3P3D8Graphics15graphicsMeasureE = external global %"class.P3D::BreakdownAverageProfiler", align 8
@_ZN3P3D11Application7Shaders11debugShaderE = external global %"class.std::shared_ptr.122", align 8
@_ZN3P3D11Application11ShadowLayer9lightViewE = external global %"class.P3D::Matrix.128", align 4
@_ZN3P3D11Application11ShadowLayer15lightProjectionE = external global %"class.P3D::Matrix.128", align 4
@_ZN3P3D11Application11ShadowLayer15lighSpaceMatrixE = external global %"class.P3D::Matrix.128", align 4
@_ZN3P3D11Application11ShadowLayer8depthMapE = external local_unnamed_addr global i32, align 4
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3P3D11Application11SkyboxLayer13skyboxTextureE = external local_unnamed_addr global ptr, align 8
@_ZN3P3D8Graphics12MeshRegistry6meshesE = external global %"class.std::vector.168", align 8
@_ZN3P3D11Application13SelectionTool9selectionE = external global %"struct.P3D::Application::Selection", align 8

; 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 nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11BasicShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp9TransformEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.90") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp9TransformEE5validEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp9Transform9getCFrameEv(ptr dead_on_unwind noalias writable sret(%"class.P3D::GlobalCFrame") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #2 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) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D13intrusive_ptrINS_11Application4Comp9TransformEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(212) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.P3D::Vector.142", align 4
  %4 = alloca %"struct.P3D::Vector.142", align 4
  %5 = alloca %"struct.P3D::Vector.142", align 8
  %6 = alloca %"class.P3D::Matrix.128", align 4
  %7 = alloca %"struct.P3D::Vector.142", align 4
  %8 = alloca %"class.P3D::Matrix.128", align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::map.145", align 8
  %16 = alloca %"class.std::shared_lock", align 8
  %17 = alloca %"class.P3D::VisibilityFilter", align 8
  %18 = alloca %"struct.P3D::Vector", align 8
  %19 = alloca %"struct.P3D::Vector", align 8
  %20 = alloca %"class.P3D::Engine::Registry<unsigned long>::basic_view.151", align 8
  %21 = alloca %class.filter_iterator.152, align 8
  %22 = alloca %struct.EntityInfo, align 8
  %23 = alloca %"class.P3D::intrusive_ptr.158", align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.P3D::intrusive_ptr.159", align 8
  %26 = alloca i32, align 4
  %27 = alloca %"struct.P3D::Application::Comp::Transform", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"struct.P3D::Graphics::Comp::Material", align 8
  %30 = alloca i32, align 4
  %31 = alloca double, align 8
  %32 = alloca %"struct.P3D::Vector", align 8
  %33 = alloca %"struct.P3D::Vector.161", align 8
  %34 = alloca %"struct.P3D::PositionTemplate", align 8
  %35 = alloca %"struct.std::pair.164", align 8
  %36 = alloca %"class.P3D::Matrix.128", align 4
  %37 = alloca %"struct.P3D::Graphics::ColorTemplate", align 8
  %38 = alloca %"class.std::reverse_iterator", align 8
  %39 = alloca %"class.std::reverse_iterator", align 8
  %40 = alloca %struct.EntityInfo, align 8
  %41 = alloca %"struct.P3D::Graphics::ColorTemplate", align 8
  %42 = alloca %"class.P3D::Matrix.128", align 4
  %43 = alloca %"class.std::optional", align 8
  %44 = alloca %"class.std::optional.194", align 8
  %45 = alloca %"struct.P3D::Graphics::Comp::Mesh", align 8
  %46 = alloca %"class.P3D::Matrix.128", align 4
  %47 = alloca %"class.P3D::Matrix.204", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %50 = alloca i32, align 4
  %51 = alloca %"class.P3D::intrusive_ptr.90", align 8
  %52 = alloca %"class.P3D::intrusive_ptr.205", align 8
  %53 = alloca %"class.P3D::Shape", align 8
  %54 = alloca %"class.P3D::Shape", align 8
  %55 = alloca %"class.P3D::DiagonalMatrix", align 8
  %56 = alloca %"struct.P3D::Graphics::Comp::Mesh", align 8
  %57 = alloca %"class.P3D::Matrix.128", align 4
  %58 = alloca %"class.P3D::Matrix.204", align 8
  %59 = alloca %"class.P3D::GlobalCFrame", align 8
  %60 = getelementptr inbounds i8, ptr %0, i64 8
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  tail call void @_ZN3P3D8Graphics8Renderer10beginSceneEv()
  tail call void @_ZN3P3D24BreakdownAverageProfilerINS_8Graphics15GraphicsProcessEE4markES2_(ptr noundef nonnull align 8 dereferenceable(256) @_ZN3P3D8Graphics15graphicsMeasureE, i32 noundef 0)
  %62 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11DebugShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11debugShaderE) #10
  %63 = getelementptr inbounds i8, ptr %61, i64 240
  %64 = getelementptr inbounds i8, ptr %61, i64 488
  %65 = getelementptr inbounds i8, ptr %61, i64 616
  %66 = getelementptr inbounds i8, ptr %61, i64 344
  tail call void @_ZN3P3D11Application20ProjectionShaderBase16updateProjectionERKNS_6MatrixIfLm4ELm4EEES5_RKNS_16PositionTemplateINS_3FixILl32EEEEE(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 4 dereferenceable(64) %64, ptr noundef nonnull align 4 dereferenceable(64) %65, ptr noundef nonnull align 8 dereferenceable(24) %66)
  %67 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11BasicShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11basicShaderE) #10
  tail call void @_ZN3P3D11Application20ProjectionShaderBase16updateProjectionERKNS_6MatrixIfLm4ELm4EEES5_RKNS_16PositionTemplateINS_3FixILl32EEEEE(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 4 dereferenceable(64) %64, ptr noundef nonnull align 4 dereferenceable(64) %65, ptr noundef nonnull align 8 dereferenceable(24) %66)
  %68 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  tail call void @_ZN3P3D11Application20ProjectionShaderBase16updateProjectionERKNS_6MatrixIfLm4ELm4EEES5_RKNS_16PositionTemplateINS_3FixILl32EEEEE(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 4 dereferenceable(64) %64, ptr noundef nonnull align 4 dereferenceable(64) %65, ptr noundef nonnull align 8 dereferenceable(24) %66)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #10
  call void @_ZN3P3D6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %3, float noundef -1.000000e+01, float noundef 1.000000e+01, float noundef -1.000000e+01) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #10
  call void @_ZN3P3D6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %4, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #10
  %69 = call { <2 x float>, float } @_ZN3P3DmiIffLm3EEENS_6VectorIDTmiixfp_Li0Eixfp0_Li0EEXT1_EEERKNS1_IT_XT1_EEERKNS1_IT0_XT1_EEE(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %3) #10
  %.fca.0.extract = extractvalue { <2 x float>, float } %69, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %69, 1
  store <2 x float> %.fca.0.extract, ptr %5, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #10
  call void @_ZN3P3D6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00) #10
  call void @_ZN3P3D6lookAtERKNS_6VectorIfLm3EEES3_S3_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Matrix.128") align 4 %6, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) @_ZN3P3D11Application11ShadowLayer9lightViewE, ptr noundef nonnull align 4 dereferenceable(64) %6, i64 64, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #10
  call void @_ZN3P3DmlIfLm4ELm4ELm4EEENS_6MatrixIT_XT0_EXT1_EEERKNS1_IS2_XT0_EXT2_EEERKNS1_IS2_XT2_EXT1_EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Matrix.128") align 4 %8, ptr noundef nonnull align 4 dereferenceable(64) @_ZN3P3D11Application11ShadowLayer15lightProjectionE, ptr noundef nonnull align 4 dereferenceable(64) @_ZN3P3D11Application11ShadowLayer9lightViewE)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) @_ZN3P3D11Application11ShadowLayer15lighSpaceMatrixE, ptr noundef nonnull align 4 dereferenceable(64) %8, i64 64, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #10
  call void @_ZN3P3D8Graphics8Renderer13activeTextureEj(i32 noundef 32)
  %70 = load i32, ptr @_ZN3P3D11Application11ShadowLayer8depthMapE, align 4, !tbaa !15
  call void @_ZN3P3D8Graphics8Renderer13bindTexture2DEj(i32 noundef %70)
  %71 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %72 = load ptr, ptr %71, align 8, !tbaa !17
  %73 = getelementptr i8, ptr %72, i64 -24
  %74 = load i64, ptr %73, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %75 unwind label %136

75:                                               ; preds = %2
  %76 = getelementptr i8, ptr %71, i64 %74
  %77 = getelementptr i8, ptr %76, i64 72
  invoke void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(216) %77, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 32)
          to label %78 unwind label %138

78:                                               ; preds = %75
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #10
  %79 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %80 = load ptr, ptr %79, align 8, !tbaa !17
  %81 = getelementptr i8, ptr %80, i64 -24
  %82 = load i64, ptr %81, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %83 unwind label %141

83:                                               ; preds = %78
  %84 = getelementptr i8, ptr %79, i64 %82
  %85 = getelementptr i8, ptr %84, i64 72
  invoke void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(216) %85, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 4 dereferenceable(64) @_ZN3P3D11Application11ShadowLayer15lighSpaceMatrixE)
          to label %86 unwind label %143

86:                                               ; preds = %83
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #10
  %87 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  call void @_ZN3P3D11Application15BasicShaderBase18updateSunDirectionERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 4 dereferenceable(12) %5)
  %89 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %90 = load ptr, ptr %89, align 8, !tbaa !17
  %91 = getelementptr i8, ptr %90, i64 -24
  %92 = load i64, ptr %91, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %93 unwind label %146

93:                                               ; preds = %86
  %94 = getelementptr i8, ptr %89, i64 %92
  %95 = getelementptr i8, ptr %94, i64 72
  invoke void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(216) %95, ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 31)
          to label %96 unwind label %148

96:                                               ; preds = %93
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  %97 = load ptr, ptr @_ZN3P3D11Application11SkyboxLayer13skyboxTextureE, align 8, !tbaa !19
  %98 = load ptr, ptr %97, align 8, !tbaa !17
  %99 = getelementptr inbounds i8, ptr %98, i64 32
  %100 = load ptr, ptr %99, align 8
  call void %100(ptr noundef nonnull align 8 dereferenceable(44) %97, i32 noundef 31)
  call void @_ZN3P3D24BreakdownAverageProfilerINS_8Graphics15GraphicsProcessEE4markES2_(ptr noundef nonnull align 8 dereferenceable(256) @_ZN3P3D8Graphics15graphicsMeasureE, i32 noundef 5)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #10
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  %101 = getelementptr inbounds i8, ptr %61, i64 224
  %102 = load ptr, ptr %101, align 8, !tbaa !20
  invoke void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(9) %16, ptr noundef nonnull align 8 dereferenceable(96) %102)
          to label %103 unwind label %151

103:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #10
  invoke void @_ZNK3P3D11Application6Camera19getForwardDirectionEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %18, ptr noundef nonnull align 8 dereferenceable(576) %63)
          to label %104 unwind label %153

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  invoke void @_ZNK3P3D11Application6Camera14getUpDirectionEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %19, ptr noundef nonnull align 8 dereferenceable(576) %63)
          to label %105 unwind label %155

105:                                              ; preds = %104
  %106 = getelementptr inbounds i8, ptr %61, i64 472
  %107 = load float, ptr %106, align 8, !tbaa !72
  %108 = fpext float %107 to double
  %109 = getelementptr inbounds i8, ptr %61, i64 484
  %110 = load float, ptr %109, align 4, !tbaa !73
  %111 = fpext float %110 to double
  %112 = getelementptr inbounds i8, ptr %61, i64 480
  %113 = load float, ptr %112, align 8, !tbaa !74
  %114 = fpext float %113 to double
  invoke void @_ZN3P3D16VisibilityFilter9forWindowERKNS_16PositionTemplateINS_3FixILl32EEEEERKNS_6VectorIdLm3EEESA_ddd(ptr dead_on_unwind nonnull writable sret(%"class.P3D::VisibilityFilter") align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %19, double noundef %108, double noundef %111, double noundef %114)
          to label %115 unwind label %155

115:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %20) #10
  call void @_ZN3P3D6Engine8RegistryImE4viewIJNS_8Graphics4Comp4MeshEEEEDav(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Engine::Registry<unsigned long>::basic_view.151") align 8 %20, ptr noundef nonnull align 8 dereferenceable(212) %1) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #10
  invoke void @_ZNK3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E5beginEv(ptr dead_on_unwind nonnull writable sret(%class.filter_iterator.152) align 8 %21, ptr noundef nonnull align 8 dereferenceable(73) %20)
          to label %116 unwind label %158

116:                                              ; preds = %115
  call void @_ZNK3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E3endEv(ptr noundef nonnull align 8 dereferenceable(73) %20)
  %117 = getelementptr inbounds i8, ptr %22, i64 464
  %118 = getelementptr inbounds i8, ptr %22, i64 472
  %119 = getelementptr inbounds i8, ptr %22, i64 8
  %120 = getelementptr inbounds i8, ptr %22, i64 288
  %121 = getelementptr inbounds i8, ptr %22, i64 432
  %122 = getelementptr inbounds i8, ptr %22, i64 444
  %123 = getelementptr inbounds i8, ptr %37, i64 8
  %124 = getelementptr inbounds i8, ptr %0, i64 56
  br label %125

125:                                              ; preds = %243, %116
  %126 = call noundef zeroext i1 @_ZNK15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_EneES2_(ptr noundef nonnull align 8 dereferenceable(64) %21)
  br i1 %126, label %162, label %127

127:                                              ; preds = %125
  call void @_ZN15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #10
  %128 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application14InstanceShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders14instanceShaderE) #10
  %129 = load ptr, ptr %128, align 8, !tbaa !17
  %130 = getelementptr i8, ptr %129, i64 -24
  %131 = load i64, ptr %130, align 8
  %132 = getelementptr i8, ptr %128, i64 %131
  %133 = getelementptr i8, ptr %132, i64 72
  %134 = load ptr, ptr %133, align 8, !tbaa !17
  %135 = load ptr, ptr %134, align 8
  invoke void %135(ptr noundef nonnull align 8 dereferenceable(216) %133)
          to label %249 unwind label %272

136:                                              ; preds = %2
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %140

138:                                              ; preds = %75
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  br label %140

140:                                              ; preds = %138, %136
  %.pn = phi { ptr, i32 } [ %139, %138 ], [ %137, %136 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #10
  br label %440

141:                                              ; preds = %78
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %145

143:                                              ; preds = %83
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  br label %145

145:                                              ; preds = %143, %141
  %.pn70 = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #10
  br label %440

146:                                              ; preds = %86
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %150

148:                                              ; preds = %93
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  br label %150

150:                                              ; preds = %148, %146
  %.pn72 = phi { ptr, i32 } [ %149, %148 ], [ %147, %146 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  br label %440

151:                                              ; preds = %96
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %436

153:                                              ; preds = %103
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %157

155:                                              ; preds = %105, %104
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  br label %157

157:                                              ; preds = %155, %153
  %.pn74 = phi { ptr, i32 } [ %156, %155 ], [ %154, %153 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br label %435

158:                                              ; preds = %115
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %248

160:                                              ; preds = %243
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %247

162:                                              ; preds = %125
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_EdeEv(ptr noundef nonnull align 8 dereferenceable(64) %21)
  %164 = load i64, ptr %163, align 8, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 480, ptr nonnull %22) #10
  invoke void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(480) %22)
          to label %165 unwind label %170

165:                                              ; preds = %162
  %166 = trunc i64 %164 to i32
  store i32 %166, ptr %22, align 8, !tbaa !76
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #10
  store i32 %166, ptr %24, align 4, !tbaa !15
  invoke void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E3getIS7_EENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.158") align 8 %23, ptr noundef nonnull align 8 dereferenceable(73) %20, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %167 unwind label %172

167:                                              ; preds = %165
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  call void @_ZN3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #10
  %169 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %117) #10
  br i1 %169, label %174, label %243

170:                                              ; preds = %162
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %246

172:                                              ; preds = %165
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #10
  br label %245

174:                                              ; preds = %167
  %175 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %117) #10
  %176 = getelementptr inbounds i8, ptr %175, i64 16
  %177 = load i64, ptr %176, align 8, !tbaa !100
  %178 = icmp eq i64 %177, -1
  br i1 %178, label %243, label %179

179:                                              ; preds = %174
  %180 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %117) #10
  %181 = getelementptr inbounds i8, ptr %180, i64 28
  %182 = load i8, ptr %181, align 4, !tbaa !102, !range !103, !noundef !104
  %183 = trunc nuw i8 %182 to i1
  br i1 %183, label %184, label %243

184:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #10
  store i32 %166, ptr %26, align 4, !tbaa !15
  call void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp8ColliderEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.159") align 8 %25, ptr noundef nonnull align 8 dereferenceable(212) %1, ptr noundef nonnull align 4 dereferenceable(4) %26) #10
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %118, ptr noundef nonnull align 8 dereferenceable(8) %25) #10
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp8ColliderEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #10
  %186 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %118) #10
  br i1 %186, label %187, label %195

187:                                              ; preds = %184
  %188 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %118) #10
  %189 = getelementptr inbounds i8, ptr %188, i64 16
  %190 = load ptr, ptr %189, align 8, !tbaa !105
  %191 = invoke noundef zeroext i1 @_ZNK3P3D16VisibilityFilterclERKNS_4PartE(ptr noundef nonnull align 8 dereferenceable(152) %17, ptr noundef nonnull align 8 dereferenceable(200) %190)
          to label %192 unwind label %193

192:                                              ; preds = %187
  br i1 %191, label %195, label %243

193:                                              ; preds = %187
  %194 = landingpad { ptr, i32 }
          cleanup
  br label %245

195:                                              ; preds = %192, %184
  call void @llvm.lifetime.start.p0(i64 280, ptr nonnull %27) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #10
  store i32 %166, ptr %28, align 4, !tbaa !15
  invoke void @_ZN3P3D6Engine8RegistryImE5getOrINS_11Application4Comp9TransformEJEEET_RKjDpOT0_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Application::Comp::Transform") align 8 %27, ptr noundef nonnull align 8 dereferenceable(212) %1, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %196 unwind label %208

196:                                              ; preds = %195
  %197 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZN3P3D11Application4Comp9TransformaSEOS2_(ptr noundef nonnull align 8 dereferenceable(280) %119, ptr noundef nonnull align 8 dereferenceable(280) %27) #10
  call void @_ZN3P3D11Application4Comp9TransformD2Ev(ptr noundef nonnull align 8 dereferenceable(280) %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #10
  call void @llvm.lifetime.end.p0(i64 280, ptr nonnull %27) #10
  call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %29) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #10
  store i32 %166, ptr %30, align 4, !tbaa !15
  invoke void @_ZN3P3D6Engine8RegistryImE5getOrINS_8Graphics4Comp8MaterialEJEEET_RKjDpOT0_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Graphics::Comp::Material") align 8 %29, ptr noundef nonnull align 8 dereferenceable(212) %1, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %198 unwind label %210

198:                                              ; preds = %196
  %199 = call noundef nonnull align 8 dereferenceable(172) ptr @_ZN3P3D8Graphics4Comp8MaterialaSERKS2_(ptr noundef nonnull align 8 dereferenceable(172) %120, ptr noundef nonnull align 8 dereferenceable(172) %29) #10
  call void @_ZN3P3D8Graphics4Comp8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(172) %29) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #10
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %29) #10
  %200 = load float, ptr %122, align 4, !tbaa !14
  %201 = fcmp olt float %200, 1.000000e+00
  br i1 %201, label %202, label %220

202:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #10
  invoke void @_ZN3P3D11Application4Comp9Transform11getPositionEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::PositionTemplate") align 8 %34, ptr noundef nonnull align 8 dereferenceable(280) %119)
          to label %203 unwind label %212

203:                                              ; preds = %202
  call void @_ZN3P3DmiINS_3FixILl32EEEEENS_6VectorIT_Lm3EEERKNS_16PositionTemplateIS4_EES9_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector.161") align 8 %33, ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 8 dereferenceable(24) %34) #10
  call void @_ZNK3P3D6VectorINS_3FixILl32EEELm3EEcvNS0_IT_Lm3EEEIdEEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %32, ptr noundef nonnull align 8 dereferenceable(24) %33) #10
  %204 = call noundef double @_ZN3P3D13lengthSquaredIdLm3EEET_RKNS_6VectorIS1_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(24) %32) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #10
  store double %204, ptr %31, align 8, !tbaa !107
  call void @llvm.lifetime.start.p0(i64 488, ptr nonnull %35) #10
  invoke void @_ZSt9make_pairIRdRZN3P3D11Application10ModelLayer8onRenderERNS1_6Engine8RegistryImEEE10EntityInfoESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSB_INSC_IT0_E4typeEE6__typeEEOSD_OSI_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.164") align 8 %35, ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(480) %22)
          to label %205 unwind label %214

205:                                              ; preds = %203
  %206 = invoke { ptr, i8 } @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE6insertISA_IdS7_EEENSt9enable_ifIXsr16is_constructibleISC_T_EE5valueESA_ISt17_Rb_tree_iteratorISC_EbEE4typeEOSI_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(488) %35)
          to label %207 unwind label %216

207:                                              ; preds = %205
  call void @_ZNSt4pairIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoED2Ev(ptr noundef nonnull align 8 dereferenceable(488) %35) #10
  call void @llvm.lifetime.end.p0(i64 488, ptr nonnull %35) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #10
  br label %243

208:                                              ; preds = %195
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #10
  call void @llvm.lifetime.end.p0(i64 280, ptr nonnull %27) #10
  br label %245

210:                                              ; preds = %196
  %211 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #10
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %29) #10
  br label %245

212:                                              ; preds = %202
  %213 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #10
  br label %219

214:                                              ; preds = %203
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %218

216:                                              ; preds = %205
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoED2Ev(ptr noundef nonnull align 8 dereferenceable(488) %35) #10
  br label %218

218:                                              ; preds = %216, %214
  %.pn97 = phi { ptr, i32 } [ %217, %216 ], [ %215, %214 ]
  call void @llvm.lifetime.end.p0(i64 488, ptr nonnull %35) #10
  br label %219

219:                                              ; preds = %218, %212
  %.pn97.pn = phi { ptr, i32 } [ %.pn97, %218 ], [ %213, %212 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #10
  br label %245

220:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %36) #10
  invoke void @_ZN3P3D11Application4Comp9Transform14getModelMatrixEb(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Matrix.128") align 4 %36, ptr noundef nonnull align 8 dereferenceable(280) %119, i1 noundef zeroext true)
          to label %221 unwind label %232

221:                                              ; preds = %220
  %222 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %118) #10
  br i1 %222, label %223, label %236

223:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #10
  %224 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %118) #10
  %225 = getelementptr inbounds i8, ptr %224, i64 16
  %226 = load ptr, ptr %225, align 8, !tbaa !105
  %227 = invoke { <2 x float>, <2 x float> } @_ZN3P3D11ApplicationL16getAlbedoForPartEPNS0_6ScreenEPNS0_12ExtendedPartE(ptr noundef %61, ptr noundef %226)
          to label %228 unwind label %234

228:                                              ; preds = %223
  %229 = extractvalue { <2 x float>, <2 x float> } %227, 0
  store <2 x float> %229, ptr %37, align 8
  %230 = extractvalue { <2 x float>, <2 x float> } %227, 1
  store <2 x float> %230, ptr %123, align 8
  %231 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3P3D8GraphicspLIfEERNS0_13ColorTemplateIT_EES5_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %121, ptr noundef nonnull align 4 dereferenceable(16) %37)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #10
  br label %236

232:                                              ; preds = %236, %220
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %242

234:                                              ; preds = %223
  %235 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #10
  br label %242

236:                                              ; preds = %228, %221
  %237 = load ptr, ptr %124, align 8, !tbaa !108
  %238 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %117) #10
  %239 = getelementptr inbounds i8, ptr %238, i64 16
  %240 = load i64, ptr %239, align 8, !tbaa !100
  invoke void @_ZN3P3D8Graphics20InstanceBatchManager3addEmRKNS_6MatrixIfLm4ELm4EEERKNS0_4Comp8MaterialE(ptr noundef nonnull align 8 dereferenceable(104) %237, i64 noundef %240, ptr noundef nonnull align 4 dereferenceable(64) %36, ptr noundef nonnull align 8 dereferenceable(172) %120)
          to label %241 unwind label %232

241:                                              ; preds = %236
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %36) #10
  br label %243

242:                                              ; preds = %234, %232
  %.pn95 = phi { ptr, i32 } [ %233, %232 ], [ %235, %234 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %36) #10
  br label %245

243:                                              ; preds = %207, %241, %192, %179, %174, %167
  call void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480) %22) #10
  call void @llvm.lifetime.end.p0(i64 480, ptr nonnull %22) #10
  %244 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_EppEv(ptr noundef nonnull align 8 dereferenceable(64) %21)
          to label %125 unwind label %160

245:                                              ; preds = %242, %219, %210, %208, %193, %172
  %.pn97.pn.pn = phi { ptr, i32 } [ %.pn97.pn, %219 ], [ %.pn95, %242 ], [ %211, %210 ], [ %209, %208 ], [ %194, %193 ], [ %173, %172 ]
  call void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480) %22) #10
  br label %246

246:                                              ; preds = %245, %170
  %.pn97.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn, %245 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 480, ptr nonnull %22) #10
  br label %247

247:                                              ; preds = %246, %160
  %.pn102 = phi { ptr, i32 } [ %161, %160 ], [ %.pn97.pn.pn.pn, %246 ]
  call void @_ZN15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #10
  br label %248

248:                                              ; preds = %247, %158
  %.pn102.pn = phi { ptr, i32 } [ %.pn102, %247 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #10
  br label %434

249:                                              ; preds = %127
  %250 = load ptr, ptr %124, align 8, !tbaa !108
  invoke void @_ZN3P3D8Graphics20InstanceBatchManager6submitEv(ptr noundef nonnull align 8 dereferenceable(104) %250)
          to label %251 unwind label %272

251:                                              ; preds = %249
  %252 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11BasicShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11basicShaderE) #10
  %253 = load ptr, ptr %252, align 8, !tbaa !17
  %254 = getelementptr i8, ptr %253, i64 -24
  %255 = load i64, ptr %254, align 8
  %256 = getelementptr i8, ptr %252, i64 %255
  %257 = getelementptr i8, ptr %256, i64 72
  %258 = load ptr, ptr %257, align 8, !tbaa !17
  %259 = load ptr, ptr %258, align 8
  invoke void %259(ptr noundef nonnull align 8 dereferenceable(216) %257)
          to label %260 unwind label %272

260:                                              ; preds = %251
  invoke void @_ZN3P3D8Graphics8Renderer14enableBlendingEv()
          to label %261 unwind label %272

261:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #10
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %38, ptr noundef nonnull align 8 dereferenceable(48) %15) #10
  %262 = getelementptr inbounds i8, ptr %40, i64 464
  %263 = getelementptr inbounds i8, ptr %40, i64 472
  %264 = getelementptr inbounds i8, ptr %41, i64 8
  %265 = getelementptr inbounds i8, ptr %40, i64 432
  %266 = getelementptr inbounds i8, ptr %40, i64 288
  %267 = getelementptr inbounds i8, ptr %40, i64 8
  br label %268

268:                                              ; preds = %318, %261
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #10
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE4rendEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %39, ptr noundef nonnull align 8 dereferenceable(48) %15) #10
  %269 = invoke noundef zeroext i1 @_ZStneISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEbRKSt16reverse_iteratorIT_ESH_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %270 unwind label %274

270:                                              ; preds = %268
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #10
  br i1 %269, label %276, label %271

271:                                              ; preds = %270
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #10
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %43) #10
  invoke void @_ZNK3P3D11Application9Selection9getCFrameEv(ptr dead_on_unwind nonnull writable sret(%"class.std::optional") align 8 %43, ptr noundef nonnull align 8 dereferenceable(80) @_ZN3P3D11Application13SelectionTool9selectionE)
          to label %327 unwind label %351

272:                                              ; preds = %260, %251, %249, %127
  %273 = landingpad { ptr, i32 }
          cleanup
  br label %434

274:                                              ; preds = %268
  %275 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #10
  br label %326

276:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 480, ptr nonnull %40) #10
  %277 = invoke noundef ptr @_ZNKSt16reverse_iteratorISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %278 unwind label %285

278:                                              ; preds = %276
  %279 = getelementptr inbounds i8, ptr %277, i64 8
  invoke void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(480) %40, ptr noundef nonnull align 8 dereferenceable(480) %279)
          to label %280 unwind label %285

280:                                              ; preds = %278
  %281 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %262) #10
  %282 = getelementptr inbounds i8, ptr %281, i64 16
  %283 = load i64, ptr %282, align 8, !tbaa !100
  %284 = icmp eq i64 %283, -1
  br i1 %284, label %318, label %287

285:                                              ; preds = %278, %276
  %286 = landingpad { ptr, i32 }
          cleanup
  br label %325

287:                                              ; preds = %280
  %288 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %262) #10
  %289 = getelementptr inbounds i8, ptr %288, i64 28
  %290 = load i8, ptr %289, align 4, !tbaa !102, !range !103, !noundef !104
  %291 = trunc nuw i8 %290 to i1
  br i1 %291, label %292, label %318

292:                                              ; preds = %287
  %293 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %263) #10
  br i1 %293, label %294, label %305

294:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #10
  %295 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %263) #10
  %296 = getelementptr inbounds i8, ptr %295, i64 16
  %297 = load ptr, ptr %296, align 8, !tbaa !105
  %298 = invoke { <2 x float>, <2 x float> } @_ZN3P3D11ApplicationL16getAlbedoForPartEPNS0_6ScreenEPNS0_12ExtendedPartE(ptr noundef %61, ptr noundef %297)
          to label %299 unwind label %303

299:                                              ; preds = %294
  %300 = extractvalue { <2 x float>, <2 x float> } %298, 0
  store <2 x float> %300, ptr %41, align 8
  %301 = extractvalue { <2 x float>, <2 x float> } %298, 1
  store <2 x float> %301, ptr %264, align 8
  %302 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3P3D8GraphicspLIfEERNS0_13ColorTemplateIT_EES5_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %265, ptr noundef nonnull align 4 dereferenceable(16) %41)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #10
  br label %305

303:                                              ; preds = %294
  %304 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #10
  br label %324

305:                                              ; preds = %299, %292
  %306 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11BasicShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11basicShaderE) #10
  invoke void @_ZN3P3D11Application11BasicShader14updateMaterialERKNS_8Graphics4Comp8MaterialE(ptr noundef nonnull align 8 dereferenceable(16) %306, ptr noundef nonnull align 8 dereferenceable(172) %266)
          to label %307 unwind label %320

307:                                              ; preds = %305
  %308 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11BasicShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11basicShaderE) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %42) #10
  invoke void @_ZN3P3D11Application4Comp9Transform14getModelMatrixEb(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Matrix.128") align 4 %42, ptr noundef nonnull align 8 dereferenceable(280) %267, i1 noundef zeroext true)
          to label %309 unwind label %322

309:                                              ; preds = %307
  invoke void @_ZN3P3D11Application22StandardMeshShaderBase11updateModelERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(8) %308, ptr noundef nonnull align 4 dereferenceable(64) %42)
          to label %310 unwind label %322

310:                                              ; preds = %309
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %42) #10
  %311 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %262) #10
  %312 = getelementptr inbounds i8, ptr %311, i64 16
  %313 = load i64, ptr %312, align 8, !tbaa !100
  %314 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3P3D8Graphics11IndexedMeshESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3P3D8Graphics12MeshRegistry6meshesE, i64 noundef %313) #10
  %315 = load ptr, ptr %314, align 8, !tbaa !19
  %316 = load ptr, ptr %315, align 8, !tbaa !17
  %317 = load ptr, ptr %316, align 8
  invoke void %317(ptr noundef nonnull align 8 dereferenceable(96) %315)
          to label %318 unwind label %320

318:                                              ; preds = %310, %287, %280
  call void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480) %40) #10
  call void @llvm.lifetime.end.p0(i64 480, ptr nonnull %40) #10
  %319 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt16reverse_iteratorISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %38)
  br label %268, !llvm.loop !110

320:                                              ; preds = %310, %305
  %321 = landingpad { ptr, i32 }
          cleanup
  br label %324

322:                                              ; preds = %309, %307
  %323 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %42) #10
  br label %324

324:                                              ; preds = %322, %320, %303
  %.pn91 = phi { ptr, i32 } [ %321, %320 ], [ %323, %322 ], [ %304, %303 ]
  call void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480) %40) #10
  br label %325

325:                                              ; preds = %324, %285
  %.pn91.pn = phi { ptr, i32 } [ %.pn91, %324 ], [ %286, %285 ]
  call void @llvm.lifetime.end.p0(i64 480, ptr nonnull %40) #10
  br label %326

326:                                              ; preds = %325, %274
  %.pn91.pn.pn = phi { ptr, i32 } [ %.pn91.pn, %325 ], [ %275, %274 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #10
  br label %434

327:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %44) #10
  invoke void @_ZNK3P3D11Application9Selection9getHitboxEv(ptr dead_on_unwind nonnull writable sret(%"class.std::optional.194") align 8 %44, ptr noundef nonnull align 8 dereferenceable(80) @_ZN3P3D11Application13SelectionTool9selectionE)
          to label %328 unwind label %353

328:                                              ; preds = %327
  %329 = call noundef zeroext i1 @_ZNKSt8optionalIN3P3D12GlobalCFrameEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(104) %43) #10
  br i1 %329, label %330, label %363

330:                                              ; preds = %328
  %331 = call noundef zeroext i1 @_ZNKSt8optionalIN3P3D5ShapeEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(40) %44) #10
  br i1 %331, label %332, label %363

332:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %45) #10
  %333 = call noundef ptr @_ZNSt8optionalIN3P3D5ShapeEEptEv(ptr noundef nonnull align 8 dereferenceable(40) %44) #10
  %334 = call noundef ptr @_ZNK3P3D13intrusive_ptrIKNS_10ShapeClassEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %333) #10
  invoke void @_ZN3P3D8Graphics12MeshRegistry7getMeshEPKNS_10ShapeClassE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Graphics::Comp::Mesh") align 8 %45, ptr noundef %334)
          to label %335 unwind label %355

335:                                              ; preds = %332
  %336 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11DebugShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11debugShaderE) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %46) #10
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %47) #10
  %337 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZNRSt8optionalIN3P3D12GlobalCFrameEE5valueEv(ptr noundef nonnull align 8 dereferenceable(104) %43)
          to label %338 unwind label %357

338:                                              ; preds = %335
  %339 = call noundef ptr @_ZNSt8optionalIN3P3D5ShapeEEptEv(ptr noundef nonnull align 8 dereferenceable(40) %44) #10
  %340 = getelementptr inbounds i8, ptr %339, i64 8
  invoke void @_ZNK3P3D12GlobalCFrame18asMat4WithPreScaleERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Matrix.204") align 8 %47, ptr noundef nonnull align 8 dereferenceable(96) %337, ptr noundef nonnull align 8 dereferenceable(24) %340)
          to label %341 unwind label %357

341:                                              ; preds = %338
  invoke void @_ZN3P3D6MatrixIfLm4ELm4EEC2IdEERKNS0_IT_Lm4ELm4EEE(ptr noundef nonnull align 4 dereferenceable(64) %46, ptr noundef nonnull align 8 dereferenceable(128) %47)
          to label %342 unwind label %357

342:                                              ; preds = %341
  invoke void @_ZN3P3D11Application22StandardMeshShaderBase11updateModelERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(8) %336, ptr noundef nonnull align 4 dereferenceable(64) %46)
          to label %343 unwind label %357

343:                                              ; preds = %342
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %47) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %46) #10
  %344 = getelementptr inbounds i8, ptr %45, i64 16
  %345 = load i64, ptr %344, align 8, !tbaa !100
  %346 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3P3D8Graphics11IndexedMeshESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3P3D8Graphics12MeshRegistry6meshesE, i64 noundef %345) #10
  %347 = load ptr, ptr %346, align 8, !tbaa !19
  %348 = load ptr, ptr %347, align 8, !tbaa !17
  %349 = load ptr, ptr %348, align 8
  invoke void %349(ptr noundef nonnull align 8 dereferenceable(96) %347)
          to label %350 unwind label %359

350:                                              ; preds = %343
  call void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(29) %45) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #10
  br label %363

351:                                              ; preds = %271
  %352 = landingpad { ptr, i32 }
          cleanup
  br label %433

353:                                              ; preds = %327
  %354 = landingpad { ptr, i32 }
          cleanup
  br label %432

355:                                              ; preds = %332
  %356 = landingpad { ptr, i32 }
          cleanup
  br label %362

357:                                              ; preds = %342, %341, %338, %335
  %358 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %47) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %46) #10
  br label %361

359:                                              ; preds = %343
  %360 = landingpad { ptr, i32 }
          cleanup
  br label %361

361:                                              ; preds = %359, %357
  %.pn76 = phi { ptr, i32 } [ %360, %359 ], [ %358, %357 ]
  call void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(29) %45) #10
  br label %362

362:                                              ; preds = %361, %355
  %.pn76.pn = phi { ptr, i32 } [ %.pn76, %361 ], [ %356, %355 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #10
  br label %431

363:                                              ; preds = %350, %330, %328
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #10
  %364 = invoke ptr @_ZN3P3D11Application9Selection5beginEv(ptr noundef nonnull align 8 dereferenceable(80) @_ZN3P3D11Application13SelectionTool9selectionE)
          to label %365 unwind label %371

365:                                              ; preds = %363
  store ptr %364, ptr %48, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #10
  %366 = invoke ptr @_ZN3P3D11Application9Selection3endEv(ptr noundef nonnull align 8 dereferenceable(80) @_ZN3P3D11Application13SelectionTool9selectionE)
          to label %367 unwind label %373

367:                                              ; preds = %365
  store ptr %366, ptr %49, align 8
  %368 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #10
  br i1 %368, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %367
  %369 = getelementptr inbounds i8, ptr %53, i64 8
  %370 = getelementptr inbounds i8, ptr %56, i64 16
  br label %375

._crit_edge:                                      ; preds = %425, %367
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #10
  call void @_ZNSt14_Optional_baseIN3P3D5ShapeELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %44) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %44) #10
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %43) #10
  call void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_ED2Ev(ptr noundef nonnull align 8 dereferenceable(73) %20) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %17) #10
  call void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %16) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  invoke void @_ZN3P3D8Graphics8Renderer8endSceneEv()
          to label %430 unwind label %437

371:                                              ; preds = %363
  %372 = landingpad { ptr, i32 }
          cleanup
  br label %429

373:                                              ; preds = %365
  %374 = landingpad { ptr, i32 }
          cleanup
  br label %428

375:                                              ; preds = %.lr.ph, %425
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #10
  %376 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #10
  %377 = load i32, ptr %376, align 4, !tbaa !15
  store i32 %377, ptr %50, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %51) #10
  call void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp9TransformEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.90") align 8 %51, ptr noundef nonnull align 8 dereferenceable(212) %1, ptr noundef nonnull align 4 dereferenceable(4) %50) #10
  %378 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp9TransformEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %51) #10
  br i1 %378, label %379, label %425

379:                                              ; preds = %375
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #10
  call void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp6HitboxEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.205") align 8 %52, ptr noundef nonnull align 8 dereferenceable(212) %1, ptr noundef nonnull align 4 dereferenceable(4) %50) #10
  %380 = call noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp6HitboxEE5validEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #10
  br i1 %380, label %381, label %424

381:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %53) #10
  %382 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp6HitboxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #10
  invoke void @_ZN3P3D11Application4Comp6Hitbox8getShapeEv(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Shape") align 8 %53, ptr noundef nonnull align 8 dereferenceable(56) %382)
          to label %383 unwind label %392

383:                                              ; preds = %381
  %384 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp6HitboxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #10
  %385 = call noundef zeroext i1 @_ZN3P3D11Application4Comp6Hitbox14isPartAttachedEv(ptr noundef nonnull align 8 dereferenceable(56) %384)
  br i1 %385, label %399, label %386

386:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %54) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %55) #10
  %387 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp9TransformEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %51) #10
  invoke void @_ZN3P3D11Application4Comp9Transform8getScaleEv(ptr dead_on_unwind nonnull writable sret(%"class.P3D::DiagonalMatrix") align 8 %55, ptr noundef nonnull align 8 dereferenceable(280) %387)
          to label %388 unwind label %394

388:                                              ; preds = %386
  invoke void @_ZNK3P3D5Shape6scaledERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Shape") align 8 %54, ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %389 unwind label %394

389:                                              ; preds = %388
  %390 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN3P3D5ShapeaSEOS0_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %391 unwind label %396

391:                                              ; preds = %389
  call void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %55) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #10
  br label %399

392:                                              ; preds = %381
  %393 = landingpad { ptr, i32 }
          cleanup
  br label %423

394:                                              ; preds = %388, %386
  %395 = landingpad { ptr, i32 }
          cleanup
  br label %398

396:                                              ; preds = %389
  %397 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  br label %398

398:                                              ; preds = %396, %394
  %.pn79 = phi { ptr, i32 } [ %397, %396 ], [ %395, %394 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %55) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #10
  br label %422

399:                                              ; preds = %391, %383
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %56) #10
  %400 = call noundef ptr @_ZNK3P3D13intrusive_ptrIKNS_10ShapeClassEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %53) #10
  invoke void @_ZN3P3D8Graphics12MeshRegistry7getMeshEPKNS_10ShapeClassE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Graphics::Comp::Mesh") align 8 %56, ptr noundef %400)
          to label %401 unwind label %414

401:                                              ; preds = %399
  %402 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3P3D11Application11DebugShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D11Application7Shaders11debugShaderE) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %57) #10
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %58) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %59) #10
  %403 = call noundef ptr @_ZNK3P3D13intrusive_ptrINS_11Application4Comp9TransformEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %51) #10
  invoke void @_ZN3P3D11Application4Comp9Transform9getCFrameEv(ptr dead_on_unwind nonnull writable sret(%"class.P3D::GlobalCFrame") align 8 %59, ptr noundef nonnull align 8 dereferenceable(280) %403)
          to label %404 unwind label %416

404:                                              ; preds = %401
  invoke void @_ZNK3P3D12GlobalCFrame18asMat4WithPreScaleERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Matrix.204") align 8 %58, ptr noundef nonnull align 8 dereferenceable(96) %59, ptr noundef nonnull align 8 dereferenceable(24) %369)
          to label %405 unwind label %416

405:                                              ; preds = %404
  invoke void @_ZN3P3D6MatrixIfLm4ELm4EEC2IdEERKNS0_IT_Lm4ELm4EEE(ptr noundef nonnull align 4 dereferenceable(64) %57, ptr noundef nonnull align 8 dereferenceable(128) %58)
          to label %406 unwind label %416

406:                                              ; preds = %405
  invoke void @_ZN3P3D11Application22StandardMeshShaderBase11updateModelERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(8) %402, ptr noundef nonnull align 4 dereferenceable(64) %57)
          to label %407 unwind label %416

407:                                              ; preds = %406
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %59) #10
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %58) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %57) #10
  %408 = load i64, ptr %370, align 8, !tbaa !100
  %409 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3P3D8Graphics11IndexedMeshESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3P3D8Graphics12MeshRegistry6meshesE, i64 noundef %408) #10
  %410 = load ptr, ptr %409, align 8, !tbaa !19
  %411 = load ptr, ptr %410, align 8, !tbaa !17
  %412 = load ptr, ptr %411, align 8
  invoke void %412(ptr noundef nonnull align 8 dereferenceable(96) %410)
          to label %413 unwind label %418

413:                                              ; preds = %407
  call void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(29) %56) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #10
  call void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #10
  br label %424

414:                                              ; preds = %399
  %415 = landingpad { ptr, i32 }
          cleanup
  br label %421

416:                                              ; preds = %406, %405, %404, %401
  %417 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %59) #10
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %58) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %57) #10
  br label %420

418:                                              ; preds = %407
  %419 = landingpad { ptr, i32 }
          cleanup
  br label %420

420:                                              ; preds = %418, %416
  %.pn81 = phi { ptr, i32 } [ %419, %418 ], [ %417, %416 ]
  call void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(29) %56) #10
  br label %421

421:                                              ; preds = %420, %414
  %.pn81.pn = phi { ptr, i32 } [ %.pn81, %420 ], [ %415, %414 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #10
  br label %422

422:                                              ; preds = %421, %398
  %.pn81.pn.pn = phi { ptr, i32 } [ %.pn81.pn, %421 ], [ %.pn79, %398 ]
  call void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #10
  br label %423

423:                                              ; preds = %422, %392
  %.pn81.pn.pn.pn = phi { ptr, i32 } [ %.pn81.pn.pn, %422 ], [ %393, %392 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #10
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp6HitboxEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #10
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp9TransformEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #10
  br label %428

424:                                              ; preds = %413, %379
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp6HitboxEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #10
  br label %425

425:                                              ; preds = %424, %375
  call void @_ZN3P3D13intrusive_ptrINS_11Application4Comp9TransformEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #10
  %426 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #10
  %427 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #10
  br i1 %427, label %375, label %._crit_edge

428:                                              ; preds = %423, %373
  %.pn81.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn81.pn.pn.pn, %423 ], [ %374, %373 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #10
  br label %429

429:                                              ; preds = %428, %371
  %.pn81.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn81.pn.pn.pn.pn, %428 ], [ %372, %371 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #10
  br label %431

430:                                              ; preds = %._crit_edge
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #10
  ret void

431:                                              ; preds = %429, %362
  %.pn81.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn81.pn.pn.pn.pn.pn, %429 ], [ %.pn76.pn, %362 ]
  call void @_ZNSt14_Optional_baseIN3P3D5ShapeELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %44) #10
  br label %432

432:                                              ; preds = %431, %353
  %.pn81.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn81.pn.pn.pn.pn.pn.pn, %431 ], [ %354, %353 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %44) #10
  br label %433

433:                                              ; preds = %432, %351
  %.pn81.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn81.pn.pn.pn.pn.pn.pn.pn, %432 ], [ %352, %351 ]
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %43) #10
  br label %434

434:                                              ; preds = %433, %326, %272, %248
  %.pn102.pn.pn = phi { ptr, i32 } [ %.pn102.pn, %248 ], [ %.pn91.pn.pn, %326 ], [ %.pn81.pn.pn.pn.pn.pn.pn.pn.pn, %433 ], [ %273, %272 ]
  call void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_ED2Ev(ptr noundef nonnull align 8 dereferenceable(73) %20) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #10
  br label %435

435:                                              ; preds = %434, %157
  %.pn102.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn, %434 ], [ %.pn74, %157 ]
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %17) #10
  call void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %16) #10
  br label %436

436:                                              ; preds = %435, %151
  %.pn102.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn.pn, %435 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  br label %439

437:                                              ; preds = %._crit_edge
  %438 = landingpad { ptr, i32 }
          cleanup
  br label %439

439:                                              ; preds = %437, %436
  %.pn102.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn.pn.pn, %436 ], [ %438, %437 ]
  call void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #10
  br label %440

440:                                              ; preds = %439, %150, %145, %140
  %.pn102.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn.pn.pn.pn, %439 ], [ %.pn72, %150 ], [ %.pn70, %145 ], [ %.pn, %140 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #10
  resume { ptr, i32 } %.pn102.pn.pn.pn.pn.pn.pn
}

declare void @_ZN3P3D8Graphics8Renderer10beginSceneEv() local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D24BreakdownAverageProfilerINS_8Graphics15GraphicsProcessEE4markES2_(ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) local_unnamed_addr #6 align 2

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

declare void @_ZN3P3D11Application20ProjectionShaderBase16updateProjectionERKNS_6MatrixIfLm4ELm4EEES5_RKNS_16PositionTemplateINS_3FixILl32EEEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZN3P3DmiIffLm3EEENS_6VectorIDTmiixfp_Li0Eixfp0_Li0EEXT1_EEERKNS1_IT_XT1_EEERKNS1_IT0_XT1_EEE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

declare void @_ZN3P3D6lookAtERKNS_6VectorIfLm3EEES3_S3_(ptr dead_on_unwind writable sret(%"class.P3D::Matrix.128") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DmlIfLm4ELm4ELm4EEENS_6MatrixIT_XT0_EXT1_EEERKNS1_IS2_XT0_EXT2_EEERKNS1_IS2_XT2_EXT1_EEE(ptr dead_on_unwind noalias writable sret(%"class.P3D::Matrix.128") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #2

declare void @_ZN3P3D8Graphics8Renderer13activeTextureEj(i32 noundef) local_unnamed_addr #5

declare void @_ZN3P3D8Graphics8Renderer13bindTexture2DEj(i32 noundef) local_unnamed_addr #5

declare void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #5

declare void @_ZN3P3D8Graphics6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #5

declare void @_ZN3P3D11Application15BasicShaderBase18updateSunDirectionERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #2 align 2

declare void @_ZN3P3D16VisibilityFilter9forWindowERKNS_16PositionTemplateINS_3FixILl32EEEEERKNS_6VectorIdLm3EEESA_ddd(ptr dead_on_unwind writable sret(%"class.P3D::VisibilityFilter") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3P3D11Application6Camera19getForwardDirectionEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(576)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3P3D11Application6Camera14getUpDirectionEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(576)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE4viewIJNS_8Graphics4Comp4MeshEEEEDav(ptr dead_on_unwind noalias writable sret(%"class.P3D::Engine::Registry<unsigned long>::basic_view.151") align 8, ptr noundef nonnull align 8 dereferenceable(212)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E5beginEv(ptr dead_on_unwind noalias writable sret(%class.filter_iterator.152) align 8, ptr noundef nonnull align 8 dereferenceable(73)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E3endEv(ptr noundef nonnull align 8 dereferenceable(73)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_EneES2_(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(480)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_E3getIS7_EENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.158") align 8, ptr noundef nonnull align 8 dereferenceable(73), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEE5validEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp8ColliderEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.159") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D13intrusive_ptrINS_11Application4Comp8ColliderEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp8ColliderEE5validEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZNK3P3D16VisibilityFilterclERKNS_4PartE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE5getOrINS_11Application4Comp9TransformEJEEET_RKjDpOT0_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Application::Comp::Transform") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D11Application4Comp9TransformD2Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE5getOrINS_8Graphics4Comp8MaterialEJEEET_RKjDpOT0_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Graphics::Comp::Material") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D8Graphics4Comp8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(172)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3DmiINS_3FixILl32EEEEENS_6VectorIT_Lm3EEERKNS_16PositionTemplateIS4_EES9_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector.161") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp9Transform11getPositionEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::PositionTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D6VectorINS_3FixILl32EEELm3EEcvNS0_IT_Lm3EEEIdEEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden { ptr, i8 } @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE6insertISA_IdS7_EEENSt9enable_ifIXsr16is_constructibleISC_T_EE5valueESA_ISt17_Rb_tree_iteratorISC_EbEE4typeEOSI_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(488)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZSt9make_pairIRdRZN3P3D11Application10ModelLayer8onRenderERNS1_6Engine8RegistryImEEE10EntityInfoESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSB_INSC_IT0_E4typeEE6__typeEEOSD_OSI_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.164") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(480)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZNSt4pairIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoED2Ev(ptr noundef nonnull align 8 dereferenceable(488)) unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp9Transform14getModelMatrixEb(ptr dead_on_unwind noalias writable sret(%"class.P3D::Matrix.128") align 4, ptr noundef nonnull align 8 dereferenceable(280), i1 noundef zeroext) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN3P3D11ApplicationL16getAlbedoForPartEPNS0_6ScreenEPNS0_12ExtendedPartE(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D8Graphics20InstanceBatchManager3addEmRKNS_6MatrixIfLm4ELm4EEERKNS0_4Comp8MaterialE(ptr noundef nonnull align 8 dereferenceable(104), i64 noundef, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(172)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(480)) unnamed_addr #8 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZN3P3D6Engine8RegistryImE4viewIJNS3_8Graphics4Comp4MeshEEEEDaNS6_4typeINS6_4disjIJDpT_EEEEEEUlRKS1_E_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D8Graphics20InstanceBatchManager6submitEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #2 align 2

declare void @_ZN3P3D8Graphics8Renderer14enableBlendingEv() local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZStneISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEbRKSt16reverse_iteratorIT_ESH_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZNKSt16reverse_iteratorISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEEN10EntityInfoC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(480)) unnamed_addr #6 align 2

declare void @_ZN3P3D11Application11BasicShader14updateMaterialERKNS_8Graphics4Comp8MaterialE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(172)) local_unnamed_addr #5

declare void @_ZN3P3D11Application22StandardMeshShaderBase11updateModelERKNS_6MatrixIfLm4ELm4EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3P3D8Graphics11IndexedMeshESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt16reverse_iteratorISt17_Rb_tree_iteratorISt4pairIKdZN3P3D11Application10ModelLayer8onRenderERNS3_6Engine8RegistryImEEE10EntityInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

declare void @_ZNK3P3D11Application9Selection9getCFrameEv(ptr dead_on_unwind writable sret(%"class.std::optional") align 8, ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #5

declare void @_ZNK3P3D11Application9Selection9getHitboxEv(ptr dead_on_unwind writable sret(%"class.std::optional.194") align 8, ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8optionalIN3P3D12GlobalCFrameEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8optionalIN3P3D5ShapeEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

declare void @_ZN3P3D8Graphics12MeshRegistry7getMeshEPKNS_10ShapeClassE(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Comp::Mesh") align 8, ptr noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZNRSt8optionalIN3P3D12GlobalCFrameEE5valueEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D12GlobalCFrame18asMat4WithPreScaleERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind noalias writable sret(%"class.P3D::Matrix.204") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D6MatrixIfLm4ELm4EEC2IdEERKNS0_IT_Lm4ELm4EEE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D2RCD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

declare ptr @_ZN3P3D11Application9Selection5beginEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #5

declare ptr @_ZN3P3D11Application9Selection3endEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE3getINS_11Application4Comp6HitboxEEENS_13intrusive_ptrIT_EERKj(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.205") align 8, ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D13intrusive_ptrINS_11Application4Comp6HitboxEE5validEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp6Hitbox8getShapeEv(ptr dead_on_unwind noalias writable sret(%"class.P3D::Shape") align 8, ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3P3D11Application4Comp6Hitbox14isPartAttachedEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1 align 2

declare void @_ZNK3P3D5Shape6scaledERKNS_14DiagonalMatrixIdLm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::Shape") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D11Application4Comp9Transform8getScaleEv(ptr dead_on_unwind noalias writable sret(%"class.P3D::DiagonalMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN3P3D5ShapeaSEOS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN3P3D5ShapeD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D13intrusive_ptrINS_11Application4Comp6HitboxEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Optional_baseIN3P3D5ShapeELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryImE10basic_viewINS2_4disjIJNS_8Graphics4Comp4MeshEEEE15filter_iteratorISt23_Rb_tree_const_iteratorImE12iterator_endZNS2_4viewIJS7_EEEDaNS2_4typeINS4_IJDpT_EEEEEEUlRKSB_E_ESC_ED2Ev(ptr noundef nonnull align 8 dereferenceable(73)) unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt11shared_lockIN3P3D16UpgradeableMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #1 align 2

declare void @_ZN3P3D8Graphics8Renderer8endSceneEv() local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt3mapIdZN3P3D11Application10ModelLayer8onRenderERNS0_6Engine8RegistryImEEE10EntityInfoSt4lessIdESaISt4pairIKdS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"_ZTSN3P3D6Engine5LayerE", !7, i64 8, !10, i64 16, !8, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !12, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{i64 0, i64 64, !14}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !9, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !7, i64 224}
!21 = !{!"_ZTSN3P3D11Application6ScreenE", !22, i64 0, !7, i64 216, !7, i64 224, !46, i64 232, !47, i64 240, !57, i64 816, !62, i64 848, !63, i64 912, !69, i64 992, !7, i64 1008, !7, i64 1016}
!22 = !{!"_ZTSN3P3D6Engine8RegistryImEE", !23, i64 0, !31, i64 48, !35, i64 72, !40, i64 128, !16, i64 208}
!23 = !{!"_ZTSSt3setImN3P3D6Engine8RegistryImE14entity_compareESaImEE", !24, i64 0}
!24 = !{!"_ZTSSt8_Rb_treeImmSt9_IdentityImEN3P3D6Engine8RegistryImE14entity_compareESaImEE", !25, i64 0}
!25 = !{!"_ZTSNSt8_Rb_treeImmSt9_IdentityImEN3P3D6Engine8RegistryImE14entity_compareESaImEE13_Rb_tree_implIS6_Lb1EEE", !26, i64 0, !28, i64 8}
!26 = !{!"_ZTSSt20_Rb_tree_key_compareIN3P3D6Engine8RegistryImE14entity_compareEE", !27, i64 0}
!27 = !{!"_ZTSN3P3D6Engine8RegistryImE14entity_compareE"}
!28 = !{!"_ZTSSt15_Rb_tree_header", !29, i64 0, !12, i64 32}
!29 = !{!"_ZTSSt18_Rb_tree_node_base", !30, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!30 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!31 = !{!"_ZTSSt6vectorIPSt18unordered_multimapIjN3P3D13intrusive_ptrINS1_2RCEEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEESaISE_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIPSt18unordered_multimapIjN3P3D13intrusive_ptrINS1_2RCEEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEESaISE_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPSt18unordered_multimapIjN3P3D13intrusive_ptrINS1_2RCEEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEESaISE_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPSt18unordered_multimapIjN3P3D13intrusive_ptrINS1_2RCEEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEESaISE_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!35 = !{!"_ZTSSt13unordered_mapItNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashItESt8equal_toItESaISt4pairIKtS5_EEE", !36, i64 0}
!36 = !{!"_ZTSSt10_HashtableItSt4pairIKtNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS8_ENSt8__detail10_Select1stESt8equal_toItESt4hashItENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !12, i64 8, !37, i64 16, !12, i64 24, !38, i64 32, !7, i64 48}
!37 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!38 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !39, i64 0, !12, i64 8}
!39 = !{!"float", !8, i64 0}
!40 = !{!"_ZTSSt5queueIjSt5dequeIjSaIjEEE", !41, i64 0}
!41 = !{!"_ZTSSt5dequeIjSaIjEE", !42, i64 0}
!42 = !{!"_ZTSSt11_Deque_baseIjSaIjEE", !43, i64 0}
!43 = !{!"_ZTSNSt11_Deque_baseIjSaIjEE11_Deque_implE", !44, i64 0}
!44 = !{!"_ZTSNSt11_Deque_baseIjSaIjEE16_Deque_impl_dataE", !7, i64 0, !12, i64 8, !45, i64 16, !45, i64 48}
!45 = !{!"_ZTSSt15_Deque_iteratorIjRjPjE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!46 = !{!"_ZTSN3P3D6VectorIiLm2EEE", !8, i64 0}
!47 = !{!"_ZTSN3P3D11Application6CameraE", !8, i64 0, !48, i64 8, !48, i64 16, !49, i64 24, !50, i64 48, !48, i64 56, !48, i64 64, !49, i64 72, !50, i64 96, !50, i64 97, !51, i64 104, !48, i64 200, !48, i64 208, !50, i64 216, !48, i64 224, !39, i64 232, !39, i64 236, !39, i64 240, !39, i64 244, !56, i64 248, !56, i64 312, !56, i64 376, !56, i64 440, !56, i64 504, !7, i64 568}
!48 = !{!"double", !8, i64 0}
!49 = !{!"_ZTSN3P3D6VectorIdLm3EEE", !8, i64 0}
!50 = !{!"bool", !8, i64 0}
!51 = !{!"_ZTSN3P3D12GlobalCFrameE", !52, i64 0, !54, i64 24}
!52 = !{!"_ZTSN3P3D16PositionTemplateINS_3FixILl32EEEEE", !53, i64 0, !53, i64 8, !53, i64 16}
!53 = !{!"_ZTSN3P3D3FixILl32EEE", !12, i64 0}
!54 = !{!"_ZTSN3P3D22MatrixRotationTemplateIdEE", !55, i64 0}
!55 = !{!"_ZTSN3P3D6MatrixIdLm3ELm3EEE", !8, i64 0}
!56 = !{!"_ZTSN3P3D6MatrixIfLm4ELm4EEE", !8, i64 0}
!57 = !{!"_ZTSN3P3D6Engine10LayerStackE", !58, i64 0, !16, i64 24}
!58 = !{!"_ZTSSt6vectorIPN3P3D6Engine5LayerESaIS3_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseIPN3P3D6Engine5LayerESaIS3_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIPN3P3D6Engine5LayerESaIS3_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIPN3P3D6Engine5LayerESaIS3_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!62 = !{!"_ZTSN3P3D11Application12EventHandlerE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!63 = !{!"_ZTSN4Util10PropertiesE", !10, i64 0, !64, i64 32}
!64 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE", !65, i64 0}
!65 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !66, i64 0}
!66 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !67, i64 0, !28, i64 8}
!67 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !68, i64 0}
!68 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!69 = !{!"_ZTSSt10shared_ptrIN3P3D8Graphics11FrameBufferEE", !70, i64 0}
!70 = !{!"_ZTSSt12__shared_ptrIN3P3D8Graphics11FrameBufferELN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0, !71, i64 8}
!71 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0}
!72 = !{!21, !39, i64 472}
!73 = !{!21, !39, i64 484}
!74 = !{!21, !39, i64 480}
!75 = !{!12, !12, i64 0}
!76 = !{!77, !16, i64 0}
!77 = !{!"_ZTSZN3P3D11Application10ModelLayer8onRenderERNS_6Engine8RegistryImEEE10EntityInfo", !16, i64 0, !78, i64 8, !96, i64 288, !98, i64 464, !99, i64 472}
!78 = !{!"_ZTSN3P3D11Application4Comp9TransformE", !79, i64 0, !80, i64 16, !87, i64 144, !94, i64 248}
!79 = !{!"_ZTSN3P3D2RCE", !12, i64 8}
!80 = !{!"_ZTSSt7variantIJPN3P3D11Application12ExtendedPartENS1_4Comp9Transform12ScaledCFrameEEE", !81, i64 0}
!81 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !82, i64 0}
!82 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !83, i64 0}
!83 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !84, i64 0}
!84 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !85, i64 0}
!85 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !86, i64 0}
!86 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb1EJPN3P3D11Application12ExtendedPartENS3_4Comp9Transform12ScaledCFrameEEEE", !8, i64 0, !8, i64 120}
!87 = !{!"_ZTSSt7variantIJN3P3D14CFrameTemplateIdEEPS2_EE", !88, i64 0}
!88 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJN3P3D14CFrameTemplateIdEEPS4_EEE", !89, i64 0}
!89 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !90, i64 0}
!90 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !91, i64 0}
!91 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !92, i64 0}
!92 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !93, i64 0}
!93 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb1EJN3P3D14CFrameTemplateIdEEPS4_EEE", !8, i64 0, !8, i64 96}
!94 = !{!"_ZTSSt8functionIFvvEE", !95, i64 0, !7, i64 24}
!95 = !{!"_ZTSSt14_Function_base", !8, i64 0, !7, i64 16}
!96 = !{!"_ZTSN3P3D8Graphics4Comp8MaterialE", !79, i64 0, !8, i64 16, !97, i64 144, !39, i64 160, !39, i64 164, !39, i64 168}
!97 = !{!"_ZTSN3P3D8Graphics13ColorTemplateIfEE", !8, i64 0}
!98 = !{!"_ZTSN3P3D13intrusive_ptrINS_8Graphics4Comp4MeshEEE", !7, i64 0}
!99 = !{!"_ZTSN3P3D13intrusive_ptrINS_11Application4Comp8ColliderEEE", !7, i64 0}
!100 = !{!101, !12, i64 16}
!101 = !{!"_ZTSN3P3D8Graphics4Comp4MeshE", !79, i64 0, !12, i64 16, !16, i64 24, !50, i64 28}
!102 = !{!101, !50, i64 28}
!103 = !{i8 0, i8 2}
!104 = !{}
!105 = !{!106, !7, i64 16}
!106 = !{!"_ZTSN3P3D11Application4Comp8ColliderE", !79, i64 0, !7, i64 16}
!107 = !{!48, !48, i64 0}
!108 = !{!109, !7, i64 56}
!109 = !{!"_ZTSN3P3D11Application10ModelLayerE", !6, i64 0, !7, i64 56}
!110 = distinct !{!110, !111}
!111 = !{!"llvm.loop.mustprogress"}


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