; LLVM IR from merpheus-dev/LavaEngine :: src/Core/Scene.ll (ZN4Lava5Scene20LoadSeparateEntitiesEv)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.17 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.17 = type { i64, [8 x i8] }
%"class.std::allocator.14" = type { i8 }
%"struct.glm::vec" = type { %union.anon, %union.anon.7, %union.anon.8 }
%union.anon = type { float }
%union.anon.7 = type { float }
%union.anon.8 = type { float }
%"class.Lava::Scene" = type { ptr, %"class.tinyxml2::XMLDocument", ptr, %"class.std::vector", 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.1", %"class.tinyxml2::MemPoolT.3", %"class.tinyxml2::MemPoolT.5" }
%"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.0", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::MemPool" = type { ptr }
%"class.tinyxml2::DynArray.0" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.1" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.2", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.2" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.3" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.4", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.4" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.5" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.6", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.6" = type { ptr, [10 x ptr], i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"struct.Lava::VertexBufferElement" = type { ptr, i32 }
%"class.Lava::Entity" = type { %"class.Lava::SceneObject", ptr, ptr, ptr, ptr }
%"class.Lava::SceneObject" = type { ptr }
%"class.Lava::Transform" = type { %"struct.glm::vec", %"struct.glm::vec", %"struct.glm::vec" }
%"struct.Lava::Mesh" = type { ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32 }
%"struct.Lava::Material" = type <{ ptr, ptr, ptr, %"struct.glm::vec", [4 x i8], ptr, i32, i8, i8, [2 x i8], [3 x float], float, float, [4 x i8] }>

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [10 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Lava5Scene20LoadSeparateEntitiesEv(ptr noundef nonnull align 8 dereferenceable(824) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.14", align 1
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca i1, align 1
  %26 = alloca %"class.std::allocator.14", align 1
  %27 = alloca i1, align 1
  %28 = alloca i1, align 1
  %29 = alloca i1, align 1
  %30 = alloca ptr, align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca i1, align 1
  %33 = alloca %"class.std::allocator.14", align 1
  %34 = alloca i1, align 1
  %35 = alloca i1, align 1
  %36 = alloca i1, align 1
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"struct.glm::vec", align 4
  %40 = alloca { <2 x float>, float }, align 8
  %41 = alloca { <2 x float>, float }, align 4
  %42 = alloca %"struct.glm::vec", align 4
  %43 = alloca { <2 x float>, float }, align 8
  %44 = alloca %"struct.glm::vec", align 4
  %45 = alloca { <2 x float>, float }, align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::allocator.14", align 1
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca %"class.std::allocator.14", align 1
  %50 = alloca %"struct.glm::vec", align 4
  %51 = alloca { <2 x float>, float }, align 8
  %52 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %53 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  %54 = getelementptr inbounds %"class.Lava::Scene", ptr %53, i32 0, i32 1
  %55 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %54, ptr noundef @.str)
  %56 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %55, ptr noundef @.str.22)
  store ptr %56, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %57, ptr noundef null)
  store ptr %58, ptr %4, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %335, %1
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = icmp ne ptr %60, null
  br i1 %61, label %63, label %62

62:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  br label %342

63:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %64, ptr noundef @.str.11)
  %66 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %65)
  store ptr %66, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %67, ptr noundef @.str.12)
  %69 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %68, ptr noundef @.str.13)
  %70 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %69)
  store ptr %70, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %71, ptr noundef @.str.12)
  %73 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %72, ptr noundef @.str.23)
  %74 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %73)
  store ptr %74, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %75, ptr noundef @.str.12)
  %77 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %76, ptr noundef @.str.14)
  %78 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %77)
  store ptr %78, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %79, ptr noundef @.str.12)
  %81 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %80, ptr noundef @.str.15)
  %82 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %81)
  store ptr %82, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %83, ptr noundef @.str.12)
  %85 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %84, ptr noundef @.str.24)
  %86 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %85)
  store ptr %86, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %87, ptr noundef @.str.12)
  %89 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %88, ptr noundef @.str.25)
  %90 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %89)
  store ptr %90, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %91, ptr noundef @.str.12)
  %93 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %92, ptr noundef @.str.26)
  %94 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %93)
  store ptr %94, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %95, ptr noundef @.str.27)
  %97 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %96, ptr noundef @.str.3)
  %98 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %97)
  store ptr %98, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %99, ptr noundef @.str.27)
  %101 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %100, ptr noundef @.str.9)
  %102 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %101)
  store ptr %102, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %103, ptr noundef @.str.27)
  %105 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %104, ptr noundef @.str.21)
  %106 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %105)
  store ptr %106, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #9
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef %107, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %108 unwind label %143

108:                                              ; preds = %63
  %109 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef null, i32 noundef 10)
          to label %110 unwind label %147

110:                                              ; preds = %108
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  store i32 %109, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = call noundef ptr @_ZN4Lava9Importers13AssetImporter4LoadEPKc(ptr noundef %111)
  store ptr %112, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load i32, ptr %16, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  %116 = call noundef ptr @_ZN4Lava13AssetDatabase11LoadTextureEPKcib(ptr noundef %113, i32 noundef 4, i1 noundef zeroext %115)
  store ptr %116, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  store ptr null, ptr %23, align 8, !tbaa !5
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = icmp ne ptr %117, null
  store i1 false, ptr %25, align 1
  store i1 false, ptr %27, align 1
  store i1 false, ptr %28, align 1
  store i1 false, ptr %29, align 1
  br i1 %118, label %119, label %124

119:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #9
  store i1 true, ptr %25, align 1
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #9
  store i1 true, ptr %27, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  store i1 true, ptr %28, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef %120, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %121 unwind label %152

121:                                              ; preds = %119
  store i1 true, ptr %29, align 1
  %122 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  %123 = xor i1 %122, true
  br label %124

124:                                              ; preds = %121, %110
  %125 = phi i1 [ false, %110 ], [ %123, %121 ]
  %126 = load i1, ptr %29, align 1
  br i1 %126, label %127, label %128

127:                                              ; preds = %124
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  br label %128

128:                                              ; preds = %127, %124
  %129 = load i1, ptr %28, align 1
  br i1 %129, label %130, label %131

130:                                              ; preds = %128
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  br label %131

131:                                              ; preds = %130, %128
  %132 = load i1, ptr %27, align 1
  br i1 %132, label %133, label %134

133:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  br label %134

134:                                              ; preds = %133, %131
  %135 = load i1, ptr %25, align 1
  br i1 %135, label %136, label %137

136:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br label %137

137:                                              ; preds = %136, %134
  br i1 %125, label %138, label %165

138:                                              ; preds = %137
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = load i32, ptr %16, align 4, !tbaa !9
  %141 = icmp ne i32 %140, 0
  %142 = call noundef ptr @_ZN4Lava13AssetDatabase11LoadTextureEPKcib(ptr noundef %139, i32 noundef 4, i1 noundef zeroext %141)
  store ptr %142, ptr %23, align 8, !tbaa !5
  br label %165

143:                                              ; preds = %63
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %19, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %20, align 4
  br label %151

147:                                              ; preds = %108
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %19, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %151

151:                                              ; preds = %147, %143
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  br label %341

152:                                              ; preds = %119
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %19, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %20, align 4
  %156 = load i1, ptr %28, align 1
  br i1 %156, label %157, label %158

157:                                              ; preds = %152
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  br label %158

158:                                              ; preds = %157, %152
  %159 = load i1, ptr %27, align 1
  br i1 %159, label %160, label %161

160:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  br label %161

161:                                              ; preds = %160, %158
  %162 = load i1, ptr %25, align 1
  br i1 %162, label %163, label %164

163:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br label %164

164:                                              ; preds = %163, %161
  br label %340

165:                                              ; preds = %138, %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  store ptr null, ptr %30, align 8, !tbaa !5
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = icmp ne ptr %166, null
  store i1 false, ptr %32, align 1
  store i1 false, ptr %34, align 1
  store i1 false, ptr %35, align 1
  store i1 false, ptr %36, align 1
  br i1 %167, label %168, label %173

168:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  store i1 true, ptr %32, align 1
  %169 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #9
  store i1 true, ptr %34, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #9
  store i1 true, ptr %35, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef %169, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %170 unwind label %192

170:                                              ; preds = %168
  store i1 true, ptr %36, align 1
  %171 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  %172 = xor i1 %171, true
  br label %173

173:                                              ; preds = %170, %165
  %174 = phi i1 [ false, %165 ], [ %172, %170 ]
  %175 = load i1, ptr %36, align 1
  br i1 %175, label %176, label %177

176:                                              ; preds = %173
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %177

177:                                              ; preds = %176, %173
  %178 = load i1, ptr %35, align 1
  br i1 %178, label %179, label %180

179:                                              ; preds = %177
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #9
  br label %180

180:                                              ; preds = %179, %177
  %181 = load i1, ptr %34, align 1
  br i1 %181, label %182, label %183

182:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #9
  br label %183

183:                                              ; preds = %182, %180
  %184 = load i1, ptr %32, align 1
  br i1 %184, label %185, label %186

185:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %186

186:                                              ; preds = %185, %183
  br i1 %174, label %187, label %205

187:                                              ; preds = %186
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = load i32, ptr %16, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  %191 = call noundef ptr @_ZN4Lava13AssetDatabase11LoadTextureEPKcib(ptr noundef %188, i32 noundef 4, i1 noundef zeroext %190)
  store ptr %191, ptr %30, align 8, !tbaa !5
  br label %205

192:                                              ; preds = %168
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %19, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %20, align 4
  %196 = load i1, ptr %35, align 1
  br i1 %196, label %197, label %198

197:                                              ; preds = %192
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #9
  br label %198

198:                                              ; preds = %197, %192
  %199 = load i1, ptr %34, align 1
  br i1 %199, label %200, label %201

200:                                              ; preds = %198
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #9
  br label %201

201:                                              ; preds = %200, %198
  %202 = load i1, ptr %32, align 1
  br i1 %202, label %203, label %204

203:                                              ; preds = %201
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %204

204:                                              ; preds = %203, %201
  br label %339

205:                                              ; preds = %187, %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %206 = call noalias noundef nonnull ptr @_Znam(i64 noundef 64) #10
  store ptr %206, ptr %37, align 8, !tbaa !5
  %207 = load ptr, ptr %37, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %207, i64 0
  %209 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %208, i32 0, i32 0
  store ptr @.str.16, ptr %209, align 8, !tbaa !11
  %210 = load ptr, ptr %37, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %210, i64 0
  %212 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %211, i32 0, i32 1
  store i32 3, ptr %212, align 8, !tbaa !13
  %213 = load ptr, ptr %37, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %213, i64 1
  %215 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %214, i32 0, i32 0
  store ptr @.str.17, ptr %215, align 8, !tbaa !11
  %216 = load ptr, ptr %37, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %216, i64 1
  %218 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %217, i32 0, i32 1
  store i32 2, ptr %218, align 8, !tbaa !13
  %219 = load ptr, ptr %37, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %219, i64 2
  %221 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %220, i32 0, i32 0
  store ptr @.str.18, ptr %221, align 8, !tbaa !11
  %222 = load ptr, ptr %37, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %222, i64 2
  %224 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %223, i32 0, i32 1
  store i32 3, ptr %224, align 8, !tbaa !13
  %225 = load ptr, ptr %37, align 8, !tbaa !5
  %226 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %225, i64 3
  %227 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %226, i32 0, i32 0
  store ptr @.str.19, ptr %227, align 8, !tbaa !11
  %228 = load ptr, ptr %37, align 8, !tbaa !5
  %229 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %228, i64 3
  %230 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %229, i32 0, i32 1
  store i32 3, ptr %230, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %231 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #10
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  %233 = invoke { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824) %53, ptr noundef %232)
          to label %234 unwind label %301

234:                                              ; preds = %205
  store { <2 x float>, float } %233, ptr %40, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 8 %40, i64 12, i1 false)
  %235 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %39, i64 12, i1 false)
  %236 = getelementptr inbounds { <2 x float>, float }, ptr %41, i32 0, i32 0
  %237 = load <2 x float>, ptr %236, align 4
  %238 = getelementptr inbounds { <2 x float>, float }, ptr %41, i32 0, i32 1
  %239 = load float, ptr %238, align 4
  invoke void @_ZN4Lava6EntityC2EN3glm3vecILi3EfLNS1_9qualifierE0EEEPNS_16MeshMaterialPackE(ptr noundef nonnull align 8 dereferenceable(40) %231, <2 x float> %237, float %239, ptr noundef %235)
          to label %240 unwind label %301

240:                                              ; preds = %234
  store ptr %231, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #9
  %241 = load ptr, ptr %14, align 8, !tbaa !5
  %242 = call { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824) %53, ptr noundef %241)
  store { <2 x float>, float } %242, ptr %43, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 8 %43, i64 12, i1 false)
  %243 = load ptr, ptr %38, align 8, !tbaa !5
  %244 = getelementptr inbounds %"class.Lava::Entity", ptr %243, i32 0, i32 1
  %245 = load ptr, ptr %244, align 8, !tbaa !14
  %246 = getelementptr inbounds %"class.Lava::Transform", ptr %245, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %246, ptr align 4 %42, i64 12, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %44) #9
  %247 = load ptr, ptr %15, align 8, !tbaa !5
  %248 = call { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824) %53, ptr noundef %247)
  store { <2 x float>, float } %248, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 8 %45, i64 12, i1 false)
  %249 = load ptr, ptr %38, align 8, !tbaa !5
  %250 = getelementptr inbounds %"class.Lava::Entity", ptr %249, i32 0, i32 1
  %251 = load ptr, ptr %250, align 8, !tbaa !14
  %252 = getelementptr inbounds %"class.Lava::Transform", ptr %251, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %252, ptr align 4 %44, i64 12, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 12, ptr %44) #9
  %253 = load ptr, ptr %37, align 8, !tbaa !5
  %254 = load ptr, ptr %38, align 8, !tbaa !5
  %255 = getelementptr inbounds %"class.Lava::Entity", ptr %254, i32 0, i32 3
  %256 = load ptr, ptr %255, align 8, !tbaa !19
  %257 = getelementptr inbounds %"struct.Lava::Mesh", ptr %256, i32 0, i32 10
  store ptr %253, ptr %257, align 8, !tbaa !20
  %258 = load ptr, ptr %38, align 8, !tbaa !5
  %259 = getelementptr inbounds %"class.Lava::Entity", ptr %258, i32 0, i32 3
  %260 = load ptr, ptr %259, align 8, !tbaa !19
  %261 = getelementptr inbounds %"struct.Lava::Mesh", ptr %260, i32 0, i32 11
  store i32 4, ptr %261, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #9
  %262 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef %262, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %263 unwind label %305

263:                                              ; preds = %240
  %264 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef null, i32 noundef 10)
          to label %265 unwind label %309

265:                                              ; preds = %263
  %266 = icmp ne i32 %264, 0
  %267 = load ptr, ptr %38, align 8, !tbaa !5
  %268 = getelementptr inbounds %"class.Lava::Entity", ptr %267, i32 0, i32 4
  %269 = load ptr, ptr %268, align 8, !tbaa !23
  %270 = getelementptr inbounds %"struct.Lava::Material", ptr %269, i32 0, i32 7
  %271 = zext i1 %266 to i8
  store i8 %271, ptr %270, align 4, !tbaa !24
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #9
  %272 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef %272, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %273 unwind label %314

273:                                              ; preds = %265
  %274 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef null, i32 noundef 10)
          to label %275 unwind label %318

275:                                              ; preds = %273
  %276 = icmp ne i32 %274, 0
  %277 = load ptr, ptr %38, align 8, !tbaa !5
  %278 = getelementptr inbounds %"class.Lava::Entity", ptr %277, i32 0, i32 4
  %279 = load ptr, ptr %278, align 8, !tbaa !23
  %280 = getelementptr inbounds %"struct.Lava::Material", ptr %279, i32 0, i32 8
  %281 = zext i1 %276 to i8
  store i8 %281, ptr %280, align 1, !tbaa !29
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  %282 = load ptr, ptr %22, align 8, !tbaa !5
  %283 = load ptr, ptr %38, align 8, !tbaa !5
  %284 = getelementptr inbounds %"class.Lava::Entity", ptr %283, i32 0, i32 4
  %285 = load ptr, ptr %284, align 8, !tbaa !23
  %286 = getelementptr inbounds %"struct.Lava::Material", ptr %285, i32 0, i32 0
  store ptr %282, ptr %286, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #9
  %287 = load ptr, ptr %8, align 8, !tbaa !5
  %288 = call { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824) %53, ptr noundef %287)
  store { <2 x float>, float } %288, ptr %51, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 8 %51, i64 12, i1 false)
  %289 = load ptr, ptr %38, align 8, !tbaa !5
  %290 = getelementptr inbounds %"class.Lava::Entity", ptr %289, i32 0, i32 4
  %291 = load ptr, ptr %290, align 8, !tbaa !23
  %292 = getelementptr inbounds %"struct.Lava::Material", ptr %291, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %292, ptr align 4 %50, i64 12, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #9
  %293 = load ptr, ptr %23, align 8, !tbaa !5
  %294 = icmp ne ptr %293, null
  br i1 %294, label %295, label %323

295:                                              ; preds = %275
  %296 = load ptr, ptr %23, align 8, !tbaa !5
  %297 = load ptr, ptr %38, align 8, !tbaa !5
  %298 = getelementptr inbounds %"class.Lava::Entity", ptr %297, i32 0, i32 4
  %299 = load ptr, ptr %298, align 8, !tbaa !23
  %300 = getelementptr inbounds %"struct.Lava::Material", ptr %299, i32 0, i32 1
  store ptr %296, ptr %300, align 8, !tbaa !31
  br label %323

301:                                              ; preds = %234, %205
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %19, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %20, align 4
  call void @_ZdlPvm(ptr noundef %231, i64 noundef 40) #11
  br label %338

305:                                              ; preds = %240
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %19, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %20, align 4
  br label %313

309:                                              ; preds = %263
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %19, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  br label %313

313:                                              ; preds = %309, %305
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  br label %338

314:                                              ; preds = %265
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %19, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %20, align 4
  br label %322

318:                                              ; preds = %273
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %19, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  br label %322

322:                                              ; preds = %318, %314
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  br label %338

323:                                              ; preds = %295, %275
  %324 = load ptr, ptr %30, align 8, !tbaa !5
  %325 = icmp ne ptr %324, null
  br i1 %325, label %326, label %332

326:                                              ; preds = %323
  %327 = load ptr, ptr %30, align 8, !tbaa !5
  %328 = load ptr, ptr %38, align 8, !tbaa !5
  %329 = getelementptr inbounds %"class.Lava::Entity", ptr %328, i32 0, i32 4
  %330 = load ptr, ptr %329, align 8, !tbaa !23
  %331 = getelementptr inbounds %"struct.Lava::Material", ptr %330, i32 0, i32 2
  store ptr %327, ptr %331, align 8, !tbaa !32
  br label %332

332:                                              ; preds = %326, %323
  %333 = getelementptr inbounds %"class.Lava::Scene", ptr %53, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #9
  %334 = load ptr, ptr %38, align 8, !tbaa !5
  store ptr %334, ptr %52, align 8, !tbaa !5
  call void @_ZNSt6vectorIPN4Lava11SceneObjectESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %333, ptr noundef nonnull align 8 dereferenceable(8) %52)
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  br label %335

335:                                              ; preds = %332
  %336 = load ptr, ptr %4, align 8, !tbaa !5
  %337 = call noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %336, ptr noundef null)
  store ptr %337, ptr %4, align 8, !tbaa !5
  br label %59, !llvm.loop !33

338:                                              ; preds = %322, %313, %301
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %339

339:                                              ; preds = %338, %204
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %340

340:                                              ; preds = %339, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %341

341:                                              ; preds = %340, %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  br label %343

342:                                              ; preds = %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  ret void

343:                                              ; preds = %341
  %344 = load ptr, ptr %19, align 8
  %345 = load i32, ptr %20, align 4
  %346 = insertvalue { ptr, i32 } poison, ptr %344, 0
  %347 = insertvalue { ptr, i32 } %346, i32 %345, 1
  resume { ptr, i32 } %347
}

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

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

declare noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120)) #5

; 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) #6

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824), ptr noundef) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #7 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 #4 align 2

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

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

declare noundef ptr @_ZN4Lava9Importers13AssetImporter4LoadEPKc(ptr noundef) #5

declare noundef ptr @_ZN4Lava13AssetDatabase11LoadTextureEPKcib(ptr noundef, i32 noundef, i1 noundef zeroext) #5

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Lava6EntityC2EN3glm3vecILi3EfLNS1_9qualifierE0EEEPNS_16MeshMaterialPackE(ptr noundef nonnull align 8 dereferenceable(40), <2 x float>, float, ptr noundef) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef) #8

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #0

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

attributes #0 = { nobuiltin allocsize(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 #1 = { nobuiltin 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN4Lava19VertexBufferElementE", !6, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = !{!15, !6, i64 8}
!15 = !{!"_ZTSN4Lava6EntityE", !16, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!16 = !{!"_ZTSN4Lava11SceneObjectE"}
!17 = !{i64 0, i64 4, !18, i64 4, i64 4, !18, i64 8, i64 4, !18}
!18 = !{!7, !7, i64 0}
!19 = !{!15, !6, i64 24}
!20 = !{!21, !6, i64 80}
!21 = !{!"_ZTSN4Lava4MeshE", !6, i64 0, !10, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !10, i64 40, !6, i64 48, !10, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !10, i64 88}
!22 = !{!21, !10, i64 88}
!23 = !{!15, !6, i64 32}
!24 = !{!25, !27, i64 52}
!25 = !{!"_ZTSN4Lava8MaterialE", !6, i64 0, !6, i64 8, !6, i64 16, !26, i64 24, !6, i64 40, !10, i64 48, !27, i64 52, !27, i64 53, !7, i64 56, !28, i64 68, !28, i64 72}
!26 = !{!"_ZTSN3glm3vecILi3EfLNS_9qualifierE0EEE", !7, i64 0, !7, i64 4, !7, i64 8}
!27 = !{!"bool", !7, i64 0}
!28 = !{!"float", !7, i64 0}
!29 = !{!25, !27, i64 53}
!30 = !{!25, !6, i64 0}
!31 = !{!25, !6, i64 8}
!32 = !{!25, !6, i64 16}
!33 = distinct !{!33, !34}
!34 = !{!"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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.17 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.17 = type { i64, [8 x i8] }
%"class.std::allocator.14" = type { i8 }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [10 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Lava5Scene20LoadSeparateEntitiesEv(ptr noundef nonnull align 8 dereferenceable(824) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::allocator.14", align 1
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator.14", align 1
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator.14", align 1
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator.14", align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.14", align 1
  %12 = alloca ptr, align 8
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = tail call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %13, ptr noundef nonnull @.str)
  %15 = tail call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %14, ptr noundef nonnull @.str.22)
  %16 = tail call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %15, ptr noundef null)
  %.not139 = icmp eq ptr %16, null
  br i1 %.not139, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %17 = getelementptr inbounds i8, ptr %0, i64 792
  br label %18

._crit_edge:                                      ; preds = %135, %1
  ret void

18:                                               ; preds = %.lr.ph, %135
  %.0140 = phi ptr [ %16, %.lr.ph ], [ %136, %135 ]
  %19 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.11)
  %20 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %19)
  %21 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.12)
  %22 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %21, ptr noundef nonnull @.str.13)
  %23 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %22)
  %24 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.12)
  %25 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %24, ptr noundef nonnull @.str.23)
  %26 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %25)
  %27 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.12)
  %28 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %27, ptr noundef nonnull @.str.14)
  %29 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %28)
  %30 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.12)
  %31 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %30, ptr noundef nonnull @.str.15)
  %32 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %31)
  %33 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.12)
  %34 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %33, ptr noundef nonnull @.str.24)
  %35 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %34)
  %36 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.12)
  %37 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %36, ptr noundef nonnull @.str.25)
  %38 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %37)
  %39 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.12)
  %40 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %39, ptr noundef nonnull @.str.26)
  %41 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %40)
  %42 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.27)
  %43 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str.3)
  %44 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %43)
  %45 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.27)
  %46 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %45, ptr noundef nonnull @.str.9)
  %47 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %46)
  %48 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef nonnull @.str.27)
  %49 = call noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull @.str.21)
  %50 = call noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %49)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef %35, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %51 unwind label %61

51:                                               ; preds = %18
  %52 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef null, i32 noundef 10)
          to label %53 unwind label %63

53:                                               ; preds = %51
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #8
  %54 = call noundef ptr @_ZN4Lava9Importers13AssetImporter4LoadEPKc(ptr noundef %20)
  %55 = icmp ne i32 %52, 0
  %56 = call noundef ptr @_ZN4Lava13AssetDatabase11LoadTextureEPKcib(ptr noundef %23, i32 noundef 4, i1 noundef zeroext %55)
  %.not116.not = icmp eq ptr %32, null
  br i1 %.not116.not, label %.critedge129.thread, label %57

57:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull %32, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %.critedge129 unwind label %66

.critedge129:                                     ; preds = %57
  %58 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  br i1 %58, label %.critedge129.thread, label %59

59:                                               ; preds = %.critedge129
  %60 = call noundef ptr @_ZN4Lava13AssetDatabase11LoadTextureEPKcib(ptr noundef nonnull %32, i32 noundef 4, i1 noundef zeroext %55)
  br label %.critedge129.thread

61:                                               ; preds = %18
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %65

63:                                               ; preds = %51
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #8
  br label %65

65:                                               ; preds = %63, %61
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #8
  br label %137

66:                                               ; preds = %57
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  br label %137

.critedge129.thread:                              ; preds = %53, %59, %.critedge129
  %.0103 = phi ptr [ %60, %59 ], [ null, %.critedge129 ], [ null, %53 ]
  %.not117.not = icmp eq ptr %26, null
  br i1 %.not117.not, label %.critedge133.thread, label %68

68:                                               ; preds = %.critedge129.thread
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull %26, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %.critedge133 unwind label %72

.critedge133:                                     ; preds = %68
  %69 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br i1 %69, label %.critedge133.thread, label %70

70:                                               ; preds = %.critedge133
  %71 = call noundef ptr @_ZN4Lava13AssetDatabase11LoadTextureEPKcib(ptr noundef nonnull %26, i32 noundef 4, i1 noundef zeroext %55)
  br label %.critedge133.thread

72:                                               ; preds = %68
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br label %137

.critedge133.thread:                              ; preds = %.critedge129.thread, %70, %.critedge133
  %.0108 = phi ptr [ %71, %70 ], [ null, %.critedge133 ], [ null, %.critedge129.thread ]
  %74 = call noalias noundef nonnull dereferenceable(64) ptr @_Znam(i64 noundef 64) #9
  store ptr @.str.16, ptr %74, align 8, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %74, i64 8
  store i32 3, ptr %75, align 8, !tbaa !11
  %76 = getelementptr inbounds i8, ptr %74, i64 16
  store ptr @.str.17, ptr %76, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %74, i64 24
  store i32 2, ptr %77, align 8, !tbaa !11
  %78 = getelementptr inbounds i8, ptr %74, i64 32
  store ptr @.str.18, ptr %78, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %74, i64 40
  store i32 3, ptr %79, align 8, !tbaa !11
  %80 = getelementptr inbounds i8, ptr %74, i64 48
  store ptr @.str.19, ptr %80, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %74, i64 56
  store i32 3, ptr %81, align 8, !tbaa !11
  %82 = call noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #9
  %83 = invoke { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824) %0, ptr noundef %44)
          to label %84 unwind label %119

84:                                               ; preds = %.critedge133.thread
  %.fca.0.extract16 = extractvalue { <2 x float>, float } %83, 0
  %.fca.1.extract17 = extractvalue { <2 x float>, float } %83, 1
  invoke void @_ZN4Lava6EntityC2EN3glm3vecILi3EfLNS1_9qualifierE0EEEPNS_16MeshMaterialPackE(ptr noundef nonnull align 8 dereferenceable(40) %82, <2 x float> %.fca.0.extract16, float %.fca.1.extract17, ptr noundef %54)
          to label %85 unwind label %119

85:                                               ; preds = %84
  %86 = call { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824) %0, ptr noundef %47)
  %.fca.0.extract8 = extractvalue { <2 x float>, float } %86, 0
  %.fca.1.extract9 = extractvalue { <2 x float>, float } %86, 1
  %87 = getelementptr inbounds i8, ptr %82, i64 8
  %88 = load ptr, ptr %87, align 8, !tbaa !12
  %89 = getelementptr inbounds i8, ptr %88, i64 12
  store <2 x float> %.fca.0.extract8, ptr %89, align 4
  %.sroa.413.0..sroa_idx = getelementptr inbounds i8, ptr %88, i64 20
  store float %.fca.1.extract9, ptr %.sroa.413.0..sroa_idx, align 4, !tbaa !15
  %90 = call { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824) %0, ptr noundef %50)
  %.fca.0.extract2 = extractvalue { <2 x float>, float } %90, 0
  %.fca.1.extract3 = extractvalue { <2 x float>, float } %90, 1
  %91 = load ptr, ptr %87, align 8, !tbaa !12
  %92 = getelementptr inbounds i8, ptr %91, i64 24
  store <2 x float> %.fca.0.extract2, ptr %92, align 4
  %.sroa.47.0..sroa_idx = getelementptr inbounds i8, ptr %91, i64 32
  store float %.fca.1.extract3, ptr %.sroa.47.0..sroa_idx, align 4, !tbaa !15
  %93 = getelementptr inbounds i8, ptr %82, i64 24
  %94 = load ptr, ptr %93, align 8, !tbaa !16
  %95 = getelementptr inbounds i8, ptr %94, i64 80
  store ptr %74, ptr %95, align 8, !tbaa !17
  %96 = getelementptr inbounds i8, ptr %94, i64 88
  store i32 4, ptr %96, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %38, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %97 unwind label %121

97:                                               ; preds = %85
  %98 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef null, i32 noundef 10)
          to label %99 unwind label %123

99:                                               ; preds = %97
  %100 = icmp ne i32 %98, 0
  %101 = getelementptr inbounds i8, ptr %82, i64 32
  %102 = load ptr, ptr %101, align 8, !tbaa !20
  %103 = getelementptr inbounds i8, ptr %102, i64 52
  %104 = zext i1 %100 to i8
  store i8 %104, ptr %103, align 4, !tbaa !21
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef %41, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %105 unwind label %126

105:                                              ; preds = %99
  %106 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef null, i32 noundef 10)
          to label %107 unwind label %128

107:                                              ; preds = %105
  %108 = icmp ne i32 %106, 0
  %109 = load ptr, ptr %101, align 8, !tbaa !20
  %110 = getelementptr inbounds i8, ptr %109, i64 53
  %111 = zext i1 %108 to i8
  store i8 %111, ptr %110, align 1, !tbaa !26
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  %112 = load ptr, ptr %101, align 8, !tbaa !20
  store ptr %56, ptr %112, align 8, !tbaa !27
  %113 = call { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824) %0, ptr noundef %29)
  %.fca.0.extract = extractvalue { <2 x float>, float } %113, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %113, 1
  %114 = load ptr, ptr %101, align 8, !tbaa !20
  %115 = getelementptr inbounds i8, ptr %114, i64 24
  store <2 x float> %.fca.0.extract, ptr %115, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %114, i64 32
  store float %.fca.1.extract, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !15
  %.not126 = icmp eq ptr %.0103, null
  br i1 %.not126, label %131, label %116

116:                                              ; preds = %107
  %117 = load ptr, ptr %101, align 8, !tbaa !20
  %118 = getelementptr inbounds i8, ptr %117, i64 8
  store ptr %.0103, ptr %118, align 8, !tbaa !28
  br label %131

119:                                              ; preds = %84, %.critedge133.thread
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %82, i64 noundef 40) #10
  br label %137

121:                                              ; preds = %85
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %125

123:                                              ; preds = %97
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %125

125:                                              ; preds = %123, %121
  %.pn118 = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %137

126:                                              ; preds = %99
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %130

128:                                              ; preds = %105
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %130

130:                                              ; preds = %128, %126
  %.pn120 = phi { ptr, i32 } [ %129, %128 ], [ %127, %126 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %137

131:                                              ; preds = %116, %107
  %.not127 = icmp eq ptr %.0108, null
  br i1 %.not127, label %135, label %132

132:                                              ; preds = %131
  %133 = load ptr, ptr %101, align 8, !tbaa !20
  %134 = getelementptr inbounds i8, ptr %133, i64 16
  store ptr %.0108, ptr %134, align 8, !tbaa !29
  br label %135

135:                                              ; preds = %132, %131
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  store ptr %82, ptr %12, align 8, !tbaa !30
  call void @_ZNSt6vectorIPN4Lava11SceneObjectESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  %136 = call noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0140, ptr noundef null)
  %.not = icmp eq ptr %136, null
  br i1 %.not, label %._crit_edge, label %18, !llvm.loop !31

137:                                              ; preds = %66, %119, %125, %130, %72, %65
  %.pn120.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn, %65 ], [ %67, %66 ], [ %73, %72 ], [ %.pn120, %130 ], [ %.pn118, %125 ], [ %120, %119 ]
  resume { ptr, i32 } %.pn120.pn.pn.pn.pn
}

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

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

declare noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK4Lava5Scene13parse_vector3EPKc(ptr noundef nonnull align 8 dereferenceable(824), ptr noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 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 #4 align 2

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

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

declare noundef ptr @_ZN4Lava9Importers13AssetImporter4LoadEPKc(ptr noundef) local_unnamed_addr #5

declare noundef ptr @_ZN4Lava13AssetDatabase11LoadTextureEPKcib(ptr noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Lava6EntityC2EN3glm3vecILi3EfLNS1_9qualifierE0EEEPNS_16MeshMaterialPackE(ptr noundef nonnull align 8 dereferenceable(40), <2 x float>, float, ptr noundef) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #0

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

attributes #0 = { nobuiltin allocsize(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 #1 = { nobuiltin 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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 0}
!6 = !{!"_ZTSN4Lava19VertexBufferElementE", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 8}
!13 = !{!"_ZTSN4Lava6EntityE", !14, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!14 = !{!"_ZTSN4Lava11SceneObjectE"}
!15 = !{!8, !8, i64 0}
!16 = !{!13, !7, i64 24}
!17 = !{!18, !7, i64 80}
!18 = !{!"_ZTSN4Lava4MeshE", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !10, i64 88}
!19 = !{!18, !10, i64 88}
!20 = !{!13, !7, i64 32}
!21 = !{!22, !24, i64 52}
!22 = !{!"_ZTSN4Lava8MaterialE", !7, i64 0, !7, i64 8, !7, i64 16, !23, i64 24, !7, i64 40, !10, i64 48, !24, i64 52, !24, i64 53, !8, i64 56, !25, i64 68, !25, i64 72}
!23 = !{!"_ZTSN3glm3vecILi3EfLNS_9qualifierE0EEE", !8, i64 0, !8, i64 4, !8, i64 8}
!24 = !{!"bool", !8, i64 0}
!25 = !{!"float", !8, i64 0}
!26 = !{!22, !24, i64 53}
!27 = !{!22, !7, i64 0}
!28 = !{!22, !7, i64 8}
!29 = !{!22, !7, i64 16}
!30 = !{!7, !7, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


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