; LLVM IR from merpheus-dev/LavaEngine :: src/Platforms/OpenGL (GLParticleRenderer)

; 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.19" = type { %"class.std::__shared_ptr.20" }
%"class.std::__shared_ptr.20" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.glm::mat" = type { [4 x %"struct.glm::vec"] }
%"struct.glm::vec" = type { %union.anon, %union.anon.16, %union.anon.17, %union.anon.18 }
%union.anon = type { float }
%union.anon.16 = type { float }
%union.anon.17 = type { float }
%union.anon.18 = type { float }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.43" = type { ptr }
%"struct.glm::vec.44" = type { %union.anon.45, %union.anon.46 }
%union.anon.45 = type { float }
%union.anon.46 = type { float }
%"class.Lava::OpenGL::GLParticleRenderer" = type { %"class.Lava::ParticleRenderer", %"class.std::vector", ptr, ptr, ptr, %"class.std::shared_ptr" }
%"class.Lava::ParticleRenderer" = type { %"class.Lava::BaseRenderer", ptr }
%"class.Lava::BaseRenderer" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Lava::ParticleSystem *, std::allocator<Lava::ParticleSystem *>>::_Vector_impl" }
%"struct.std::_Vector_base<Lava::ParticleSystem *, std::allocator<Lava::ParticleSystem *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Lava::ParticleSystem *, std::allocator<Lava::ParticleSystem *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Lava::ParticleSystem *, std::allocator<Lava::ParticleSystem *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.Lava::ParticleSystem" = type { %"class.std::vector.38", ptr, i32, float, %"struct.glm::vec.34", %"struct.glm::vec.34", float, float, float, float, i8, i8, float, float, float }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<Lava::Particle *, std::allocator<Lava::Particle *>>::_Vector_impl" }
%"struct.std::_Vector_base<Lava::Particle *, std::allocator<Lava::Particle *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Lava::Particle *, std::allocator<Lava::Particle *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Lava::Particle *, std::allocator<Lava::Particle *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::vec.34" = type { %union.anon.35, %union.anon.36, %union.anon.37 }
%union.anon.35 = type { float }
%union.anon.36 = type { float }
%union.anon.37 = type { float }
%"struct.Lava::Particle" = type { ptr, ptr, %"struct.glm::vec.34", float, float, float, %"struct.glm::vec.44", %"struct.glm::vec.44", float, float }
%"struct.Lava::ParticleTexture" = type { i32, i32 }
%"class.Lava::Scene" = type { ptr, %"class.tinyxml2::XMLDocument", ptr, %"class.std::vector.29", ptr }
%"class.tinyxml2::XMLDocument" = type { %"class.tinyxml2::XMLNode", i8, i8, i32, i32, %"class.tinyxml2::StrPair", i32, ptr, i32, i32, %"class.tinyxml2::DynArray", %"class.tinyxml2::MemPoolT", %"class.tinyxml2::MemPoolT.23", %"class.tinyxml2::MemPoolT.25", %"class.tinyxml2::MemPoolT.27" }
%"class.tinyxml2::XMLNode" = type { ptr, ptr, ptr, %"class.tinyxml2::StrPair", i32, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.tinyxml2::StrPair" = type { i32, ptr, ptr }
%"class.tinyxml2::DynArray" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.22", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::MemPool" = type { ptr }
%"class.tinyxml2::DynArray.22" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.23" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.24", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.24" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.25" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.26", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.26" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.27" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.28", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.28" = type { ptr, [10 x ptr], i32, i32 }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = type { %"struct.std::_Vector_base<Lava::SceneObject *, std::allocator<Lava::SceneObject *>>::_Vector_impl" }
%"struct.std::_Vector_base<Lava::SceneObject *, std::allocator<Lava::SceneObject *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Lava::SceneObject *, std::allocator<Lava::SceneObject *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Lava::SceneObject *, std::allocator<Lava::SceneObject *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@__glewActiveTexture = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.19") align 8, ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Lava6Camera13GetViewMatrixEv(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 4 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Lava6OpenGL18GLParticleRenderer14RenderInternalEv(ptr noundef nonnull align 8 dereferenceable(88) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.std::shared_ptr.19", align 8
  %13 = alloca %"struct.glm::mat", align 8
  %14 = alloca %"struct.glm::mat", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::shared_ptr.19", align 8
  %18 = alloca %"struct.glm::vec.44", align 4
  %19 = alloca %"class.std::shared_ptr.19", align 8
  %20 = alloca %"struct.glm::vec.44", align 4
  %21 = alloca %"class.std::shared_ptr.19", align 8
  %22 = alloca %"class.std::shared_ptr.19", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %23 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %24 = getelementptr inbounds %"class.Lava::OpenGL::GLParticleRenderer", ptr %23, i32 0, i32 1
  store ptr %24, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = call ptr @_ZNSt6vectorIPN4Lava14ParticleSystemESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  %27 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %4, i32 0, i32 0
  store ptr %26, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = call ptr @_ZNSt6vectorIPN4Lava14ParticleSystemESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %30 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %5, i32 0, i32 0
  store ptr %29, ptr %30, align 8
  br label %31

31:                                               ; preds = %143, %1
  %32 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN4Lava14ParticleSystemESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %32, label %34, label %33

33:                                               ; preds = %31
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %145

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN4Lava14ParticleSystemESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  store ptr %35, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = getelementptr inbounds %"class.Lava::ParticleSystem", ptr %37, i32 0, i32 0
  store ptr %38, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = call ptr @_ZNSt6vectorIPN4Lava8ParticleESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  %41 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %9, i32 0, i32 0
  store ptr %40, ptr %41, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = call ptr @_ZNSt6vectorIPN4Lava8ParticleESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #7
  %44 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %10, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  br label %45

45:                                               ; preds = %119, %34
  %46 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN4Lava8ParticleESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %46, label %48, label %47

47:                                               ; preds = %45
  store i32 4, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %142

48:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN4Lava8ParticleESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  store ptr %49, ptr %11, align 8, !tbaa !5
  %50 = load ptr, ptr @__glewActiveTexture, align 8, !tbaa !5
  call void %50(i32 noundef 33984)
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.Lava::Particle", ptr %52, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds %"struct.Lava::ParticleTexture", ptr %54, i32 0, i32 0
  %56 = load i32, ptr %55, align 4, !tbaa !14
  call void @glBindTexture(i32 noundef 3553, i32 noundef %56)
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %57 = getelementptr inbounds %"class.Lava::OpenGL::GLParticleRenderer", ptr %23, i32 0, i32 2
  %58 = load ptr, ptr %57, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.19") align 8 %12, ptr noundef nonnull align 8 dereferenceable(40) %58, i32 noundef 0)
  %59 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.Lava::BaseRenderer", ptr %23, i32 0, i32 1
  %63 = load ptr, ptr %62, align 8, !tbaa !28
  %64 = getelementptr inbounds %"class.Lava::Scene", ptr %63, i32 0, i32 4
  %65 = load ptr, ptr %64, align 8, !tbaa !29
  invoke void @_ZN4Lava6Camera13GetViewMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::mat") align 4 %14, ptr noundef nonnull align 4 dereferenceable(48) %65)
          to label %66 unwind label %121

66:                                               ; preds = %48
  invoke void @_ZN4Lava8Particle29GetFacingTransformationMatrixEN3glm3matILi4ELi4EfLNS1_9qualifierE0EEE(ptr dead_on_unwind writable sret(%"struct.glm::mat") align 4 %13, ptr noundef nonnull align 8 dereferenceable(64) %61, ptr noundef byval(%"struct.glm::mat") align 8 %14)
          to label %67 unwind label %121

67:                                               ; preds = %66
  %68 = load ptr, ptr %59, align 8, !tbaa !51
  %69 = getelementptr inbounds ptr, ptr %68, i64 6
  %70 = load ptr, ptr %69, align 8
  invoke void %70(ptr noundef nonnull align 8 dereferenceable(36) %59, ptr noundef @.str.4, ptr noundef byval(%"struct.glm::mat") align 8 %13)
          to label %71 unwind label %121

71:                                               ; preds = %67
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %72 = getelementptr inbounds %"class.Lava::OpenGL::GLParticleRenderer", ptr %23, i32 0, i32 2
  %73 = load ptr, ptr %72, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.19") align 8 %17, ptr noundef nonnull align 8 dereferenceable(40) %73, i32 noundef 0)
  %74 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.Lava::Particle", ptr %76, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %77, i64 8, i1 false), !tbaa.struct !53
  %78 = load <2 x float>, ptr %18, align 4
  %79 = load ptr, ptr %74, align 8, !tbaa !51
  %80 = getelementptr inbounds ptr, ptr %79, i64 3
  %81 = load ptr, ptr %80, align 8
  invoke void %81(ptr noundef nonnull align 8 dereferenceable(36) %74, ptr noundef @.str.5, <2 x float> %78)
          to label %82 unwind label %125

82:                                               ; preds = %71
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #7
  %83 = getelementptr inbounds %"class.Lava::OpenGL::GLParticleRenderer", ptr %23, i32 0, i32 2
  %84 = load ptr, ptr %83, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.19") align 8 %19, ptr noundef nonnull align 8 dereferenceable(40) %84, i32 noundef 0)
  %85 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.Lava::Particle", ptr %87, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %88, i64 8, i1 false), !tbaa.struct !53
  %89 = load <2 x float>, ptr %20, align 4
  %90 = load ptr, ptr %85, align 8, !tbaa !51
  %91 = getelementptr inbounds ptr, ptr %90, i64 3
  %92 = load ptr, ptr %91, align 8
  invoke void %92(ptr noundef nonnull align 8 dereferenceable(36) %85, ptr noundef @.str.6, <2 x float> %89)
          to label %93 unwind label %129

93:                                               ; preds = %82
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  %94 = getelementptr inbounds %"class.Lava::OpenGL::GLParticleRenderer", ptr %23, i32 0, i32 2
  %95 = load ptr, ptr %94, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.19") align 8 %21, ptr noundef nonnull align 8 dereferenceable(40) %95, i32 noundef 0)
  %96 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.Lava::Particle", ptr %98, i32 0, i32 8
  %100 = load float, ptr %99, align 8, !tbaa !55
  %101 = load ptr, ptr %96, align 8, !tbaa !51
  %102 = getelementptr inbounds ptr, ptr %101, i64 1
  %103 = load ptr, ptr %102, align 8
  invoke void %103(ptr noundef nonnull align 8 dereferenceable(36) %96, ptr noundef @.str.7, float noundef %100)
          to label %104 unwind label %133

104:                                              ; preds = %93
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #7
  %105 = getelementptr inbounds %"class.Lava::OpenGL::GLParticleRenderer", ptr %23, i32 0, i32 2
  %106 = load ptr, ptr %105, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.19") align 8 %22, ptr noundef nonnull align 8 dereferenceable(40) %106, i32 noundef 0)
  %107 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.Lava::Particle", ptr %109, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %112 = getelementptr inbounds %"struct.Lava::ParticleTexture", ptr %111, i32 0, i32 1
  %113 = load i32, ptr %112, align 4, !tbaa !56
  %114 = sitofp i32 %113 to float
  %115 = load ptr, ptr %107, align 8, !tbaa !51
  %116 = getelementptr inbounds ptr, ptr %115, i64 1
  %117 = load ptr, ptr %116, align 8
  invoke void %117(ptr noundef nonnull align 8 dereferenceable(36) %107, ptr noundef @.str.8, float noundef %114)
          to label %118 unwind label %137

118:                                              ; preds = %104
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  call void @glDrawArrays(i32 noundef 5, i32 noundef 0, i32 noundef 8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %119

119:                                              ; preds = %118
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN4Lava8ParticleESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br label %45

121:                                              ; preds = %67, %66, %48
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %15, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %16, align 4
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %141

125:                                              ; preds = %71
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %15, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %16, align 4
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  br label %141

129:                                              ; preds = %82
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %15, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %16, align 4
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  br label %141

133:                                              ; preds = %93
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %15, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %16, align 4
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  br label %141

137:                                              ; preds = %104
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %15, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %16, align 4
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  br label %141

141:                                              ; preds = %137, %133, %129, %125, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %146

142:                                              ; preds = %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %143

143:                                              ; preds = %142
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN4Lava14ParticleSystemESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br label %31

145:                                              ; preds = %33
  ret void

146:                                              ; preds = %141
  %147 = load ptr, ptr %15, align 8
  %148 = load i32, ptr %16, align 4
  %149 = insertvalue { ptr, i32 } poison, ptr %147, 0
  %150 = insertvalue { ptr, i32 } %149, i32 %148, 1
  resume { ptr, i32 } %150
}

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

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

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

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

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

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

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

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

declare void @glBindTexture(i32 noundef, i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Lava8Particle29GetFacingTransformationMatrixEN3glm3matILi4ELi4EfLNS1_9qualifierE0EEE(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef byval(%"struct.glm::mat") align 8) #6 align 2

declare void @glDrawArrays(i32 noundef, i32 noundef, i32 noundef) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN4Lava14ParticleSystemESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN4Lava8ParticleE", !6, i64 0, !6, i64 8, !11, i64 16, !12, i64 28, !12, i64 32, !12, i64 36, !13, i64 40, !13, i64 48, !12, i64 56, !12, i64 60}
!11 = !{!"_ZTSN3glm3vecILi3EfLNS_9qualifierE0EEE", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!"float", !7, i64 0}
!13 = !{!"_ZTSN3glm3vecILi2EfLNS_9qualifierE0EEE", !7, i64 0, !7, i64 4}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTSN4Lava15ParticleTextureE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !6, i64 48}
!18 = !{!"_ZTSN4Lava6OpenGL18GLParticleRendererE", !19, i64 0, !21, i64 24, !6, i64 48, !6, i64 56, !6, i64 64, !25, i64 72}
!19 = !{!"_ZTSN4Lava16ParticleRendererE", !20, i64 0, !6, i64 16}
!20 = !{!"_ZTSN4Lava12BaseRendererE", !6, i64 8}
!21 = !{!"_ZTSSt6vectorIPN4Lava14ParticleSystemESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIPN4Lava14ParticleSystemESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN4Lava14ParticleSystemESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN4Lava14ParticleSystemESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt10shared_ptrIN4Lava6OpenGL14GLVertexBufferEE", !26, i64 0}
!26 = !{!"_ZTSSt12__shared_ptrIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !27, i64 8}
!27 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!28 = !{!20, !6, i64 8}
!29 = !{!30, !6, i64 816}
!30 = !{!"_ZTSN4Lava5SceneE", !6, i64 0, !31, i64 8, !6, i64 784, !47, i64 792, !6, i64 816}
!31 = !{!"_ZTSN8tinyxml211XMLDocumentE", !32, i64 0, !34, i64 104, !34, i64 105, !35, i64 108, !36, i64 112, !33, i64 120, !16, i64 144, !6, i64 152, !16, i64 160, !16, i64 164, !37, i64 168, !38, i64 264, !41, i64 392, !43, i64 520, !45, i64 648}
!32 = !{!"_ZTSN8tinyxml27XMLNodeE", !6, i64 8, !6, i64 16, !33, i64 24, !16, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!33 = !{!"_ZTSN8tinyxml27StrPairE", !16, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"bool", !7, i64 0}
!35 = !{!"_ZTSN8tinyxml28XMLErrorE", !7, i64 0}
!36 = !{!"_ZTSN8tinyxml210WhitespaceE", !7, i64 0}
!37 = !{!"_ZTSN8tinyxml28DynArrayIPNS_7XMLNodeELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!38 = !{!"_ZTSN8tinyxml28MemPoolTILi120EEE", !39, i64 0, !40, i64 8, !6, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124}
!39 = !{!"_ZTSN8tinyxml27MemPoolE"}
!40 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi120EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!41 = !{!"_ZTSN8tinyxml28MemPoolTILi80EEE", !39, i64 0, !42, i64 8, !6, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124}
!42 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi80EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!43 = !{!"_ZTSN8tinyxml28MemPoolTILi112EEE", !39, i64 0, !44, i64 8, !6, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124}
!44 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi112EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!45 = !{!"_ZTSN8tinyxml28MemPoolTILi104EEE", !39, i64 0, !46, i64 8, !6, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124}
!46 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi104EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!47 = !{!"_ZTSSt6vectorIPN4Lava11SceneObjectESaIS2_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIPN4Lava11SceneObjectESaIS2_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIPN4Lava11SceneObjectESaIS2_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIPN4Lava11SceneObjectESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!52, !52, i64 0}
!52 = !{!"vtable pointer", !8, i64 0}
!53 = !{i64 0, i64 4, !54, i64 4, i64 4, !54}
!54 = !{!7, !7, i64 0}
!55 = !{!10, !12, i64 56}
!56 = !{!15, !16, i64 4}


; 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.19" = type { %"class.std::__shared_ptr.20" }
%"class.std::__shared_ptr.20" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.glm::mat" = type { [4 x %"struct.glm::vec"] }
%"struct.glm::vec" = type { %union.anon, %union.anon.16, %union.anon.17, %union.anon.18 }
%union.anon = type { float }
%union.anon.16 = type { float }
%union.anon.17 = type { float }
%union.anon.18 = type { float }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.43" = type { ptr }

@__glewActiveTexture = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.19") align 8, ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__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 @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Lava6Camera13GetViewMatrixEv(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 4 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Lava6OpenGL18GLParticleRenderer14RenderInternalEv(ptr noundef nonnull align 8 dereferenceable(88) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %6 = alloca %"class.std::shared_ptr.19", align 8
  %7 = alloca %"struct.glm::mat", align 8
  %8 = alloca %"struct.glm::mat", align 8
  %9 = alloca %"class.std::shared_ptr.19", align 8
  %10 = alloca %"class.std::shared_ptr.19", align 8
  %11 = alloca %"class.std::shared_ptr.19", align 8
  %12 = alloca %"class.std::shared_ptr.19", align 8
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %14 = tail call ptr @_ZNSt6vectorIPN4Lava14ParticleSystemESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %14, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %15 = tail call ptr @_ZNSt6vectorIPN4Lava14ParticleSystemESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %15, ptr %3, align 8
  %16 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN4Lava14ParticleSystemESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %16, label %.lr.ph17, label %._crit_edge18

.lr.ph17:                                         ; preds = %1
  %17 = getelementptr inbounds i8, ptr %0, i64 48
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  br label %19

._crit_edge18:                                    ; preds = %._crit_edge, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  ret void

19:                                               ; preds = %.lr.ph17, %._crit_edge
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN4Lava14ParticleSystemESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  %21 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %22 = call ptr @_ZNSt6vectorIPN4Lava8ParticleESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  store ptr %22, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %23 = call ptr @_ZNSt6vectorIPN4Lava8ParticleESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  store ptr %23, ptr %5, align 8
  %24 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN4Lava8ParticleESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %24, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %81, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN4Lava14ParticleSystemESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  %26 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN4Lava14ParticleSystemESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %26, label %19, label %._crit_edge18

.lr.ph:                                           ; preds = %19, %81
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN4Lava8ParticleESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %28 = load ptr, ptr @__glewActiveTexture, align 8, !tbaa !5
  call void %28(i32 noundef 33984)
  %29 = load ptr, ptr %27, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = load i32, ptr %31, align 4, !tbaa !14
  call void @glBindTexture(i32 noundef 3553, i32 noundef %32)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %33 = load ptr, ptr %17, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.19") align 8 %6, ptr noundef nonnull align 8 dereferenceable(40) %33, i32 noundef 0)
  %34 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  %35 = load ptr, ptr %27, align 8, !tbaa !5
  %36 = load ptr, ptr %18, align 8, !tbaa !28
  %37 = getelementptr inbounds i8, ptr %36, i64 816
  %38 = load ptr, ptr %37, align 8, !tbaa !29
  invoke void @_ZN4Lava6Camera13GetViewMatrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat") align 4 %8, ptr noundef nonnull align 4 dereferenceable(48) %38)
          to label %39 unwind label %84

39:                                               ; preds = %.lr.ph
  invoke void @_ZN4Lava8Particle29GetFacingTransformationMatrixEN3glm3matILi4ELi4EfLNS1_9qualifierE0EEE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat") align 4 %7, ptr noundef nonnull align 8 dereferenceable(64) %35, ptr noundef nonnull byval(%"struct.glm::mat") align 8 %8)
          to label %40 unwind label %84

40:                                               ; preds = %39
  %41 = load ptr, ptr %34, align 8, !tbaa !51
  %42 = getelementptr inbounds i8, ptr %41, i64 48
  %43 = load ptr, ptr %42, align 8
  invoke void %43(ptr noundef nonnull align 8 dereferenceable(36) %34, ptr noundef nonnull @.str.4, ptr noundef nonnull byval(%"struct.glm::mat") align 8 %7)
          to label %44 unwind label %84

44:                                               ; preds = %40
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %45 = load ptr, ptr %17, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.19") align 8 %9, ptr noundef nonnull align 8 dereferenceable(40) %45, i32 noundef 0)
  %46 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  %47 = load ptr, ptr %27, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 40
  %.sroa.01.0.copyload = load <2 x float>, ptr %48, align 8
  %49 = load ptr, ptr %46, align 8, !tbaa !51
  %50 = getelementptr inbounds i8, ptr %49, i64 24
  %51 = load ptr, ptr %50, align 8
  invoke void %51(ptr noundef nonnull align 8 dereferenceable(36) %46, ptr noundef nonnull @.str.5, <2 x float> %.sroa.01.0.copyload)
          to label %52 unwind label %86

52:                                               ; preds = %44
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %53 = load ptr, ptr %17, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.19") align 8 %10, ptr noundef nonnull align 8 dereferenceable(40) %53, i32 noundef 0)
  %54 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  %55 = load ptr, ptr %27, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 48
  %.sroa.0.0.copyload = load <2 x float>, ptr %56, align 8
  %57 = load ptr, ptr %54, align 8, !tbaa !51
  %58 = getelementptr inbounds i8, ptr %57, i64 24
  %59 = load ptr, ptr %58, align 8
  invoke void %59(ptr noundef nonnull align 8 dereferenceable(36) %54, ptr noundef nonnull @.str.6, <2 x float> %.sroa.0.0.copyload)
          to label %60 unwind label %88

60:                                               ; preds = %52
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  %61 = load ptr, ptr %17, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.19") align 8 %11, ptr noundef nonnull align 8 dereferenceable(40) %61, i32 noundef 0)
  %62 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  %63 = load ptr, ptr %27, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %63, i64 56
  %65 = load float, ptr %64, align 8, !tbaa !53
  %66 = load ptr, ptr %62, align 8, !tbaa !51
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  %68 = load ptr, ptr %67, align 8
  invoke void %68(ptr noundef nonnull align 8 dereferenceable(36) %62, ptr noundef nonnull @.str.7, float noundef %65)
          to label %69 unwind label %90

69:                                               ; preds = %60
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %70 = load ptr, ptr %17, align 8, !tbaa !17
  call void @_ZN4Lava10ShaderBank9GetShaderEi(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.19") align 8 %12, ptr noundef nonnull align 8 dereferenceable(40) %70, i32 noundef 0)
  %71 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  %72 = load ptr, ptr %27, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %72, i64 8
  %74 = load ptr, ptr %73, align 8, !tbaa !9
  %75 = getelementptr inbounds i8, ptr %74, i64 4
  %76 = load i32, ptr %75, align 4, !tbaa !54
  %77 = sitofp i32 %76 to float
  %78 = load ptr, ptr %71, align 8, !tbaa !51
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = load ptr, ptr %79, align 8
  invoke void %80(ptr noundef nonnull align 8 dereferenceable(36) %71, ptr noundef nonnull @.str.8, float noundef %77)
          to label %81 unwind label %92

81:                                               ; preds = %69
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @glDrawArrays(i32 noundef 5, i32 noundef 0, i32 noundef 8)
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN4Lava8ParticleESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %83 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN4Lava8ParticleESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %83, label %.lr.ph, label %._crit_edge

84:                                               ; preds = %40, %39, %.lr.ph
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %94

86:                                               ; preds = %44
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %94

88:                                               ; preds = %52
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %94

90:                                               ; preds = %60
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %94

92:                                               ; preds = %69
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN4Lava6ShaderELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %94

94:                                               ; preds = %92, %90, %88, %86, %84
  %.pn = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ], [ %89, %88 ], [ %87, %86 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

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

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

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

declare void @glBindTexture(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Lava8Particle29GetFacingTransformationMatrixEN3glm3matILi4ELi4EfLNS1_9qualifierE0EEE(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef byval(%"struct.glm::mat") align 8) local_unnamed_addr #5 align 2

declare void @glDrawArrays(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN4Lava14ParticleSystemESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_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"="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 #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN4Lava8ParticleE", !6, i64 0, !6, i64 8, !11, i64 16, !12, i64 28, !12, i64 32, !12, i64 36, !13, i64 40, !13, i64 48, !12, i64 56, !12, i64 60}
!11 = !{!"_ZTSN3glm3vecILi3EfLNS_9qualifierE0EEE", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!"float", !7, i64 0}
!13 = !{!"_ZTSN3glm3vecILi2EfLNS_9qualifierE0EEE", !7, i64 0, !7, i64 4}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTSN4Lava15ParticleTextureE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !6, i64 48}
!18 = !{!"_ZTSN4Lava6OpenGL18GLParticleRendererE", !19, i64 0, !21, i64 24, !6, i64 48, !6, i64 56, !6, i64 64, !25, i64 72}
!19 = !{!"_ZTSN4Lava16ParticleRendererE", !20, i64 0, !6, i64 16}
!20 = !{!"_ZTSN4Lava12BaseRendererE", !6, i64 8}
!21 = !{!"_ZTSSt6vectorIPN4Lava14ParticleSystemESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIPN4Lava14ParticleSystemESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN4Lava14ParticleSystemESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN4Lava14ParticleSystemESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt10shared_ptrIN4Lava6OpenGL14GLVertexBufferEE", !26, i64 0}
!26 = !{!"_ZTSSt12__shared_ptrIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !27, i64 8}
!27 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!28 = !{!20, !6, i64 8}
!29 = !{!30, !6, i64 816}
!30 = !{!"_ZTSN4Lava5SceneE", !6, i64 0, !31, i64 8, !6, i64 784, !47, i64 792, !6, i64 816}
!31 = !{!"_ZTSN8tinyxml211XMLDocumentE", !32, i64 0, !34, i64 104, !34, i64 105, !35, i64 108, !36, i64 112, !33, i64 120, !16, i64 144, !6, i64 152, !16, i64 160, !16, i64 164, !37, i64 168, !38, i64 264, !41, i64 392, !43, i64 520, !45, i64 648}
!32 = !{!"_ZTSN8tinyxml27XMLNodeE", !6, i64 8, !6, i64 16, !33, i64 24, !16, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!33 = !{!"_ZTSN8tinyxml27StrPairE", !16, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"bool", !7, i64 0}
!35 = !{!"_ZTSN8tinyxml28XMLErrorE", !7, i64 0}
!36 = !{!"_ZTSN8tinyxml210WhitespaceE", !7, i64 0}
!37 = !{!"_ZTSN8tinyxml28DynArrayIPNS_7XMLNodeELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!38 = !{!"_ZTSN8tinyxml28MemPoolTILi120EEE", !39, i64 0, !40, i64 8, !6, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124}
!39 = !{!"_ZTSN8tinyxml27MemPoolE"}
!40 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi120EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!41 = !{!"_ZTSN8tinyxml28MemPoolTILi80EEE", !39, i64 0, !42, i64 8, !6, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124}
!42 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi80EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!43 = !{!"_ZTSN8tinyxml28MemPoolTILi112EEE", !39, i64 0, !44, i64 8, !6, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124}
!44 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi112EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!45 = !{!"_ZTSN8tinyxml28MemPoolTILi104EEE", !39, i64 0, !46, i64 8, !6, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124}
!46 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi104EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !16, i64 88, !16, i64 92}
!47 = !{!"_ZTSSt6vectorIPN4Lava11SceneObjectESaIS2_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIPN4Lava11SceneObjectESaIS2_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIPN4Lava11SceneObjectESaIS2_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIPN4Lava11SceneObjectESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!52, !52, i64 0}
!52 = !{!"vtable pointer", !8, i64 0}
!53 = !{!10, !12, i64 56}
!54 = !{!15, !16, i64 4}


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