; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/AssetLib/Obj (ObjFileImporter)

; 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.__gnu_cxx::__normal_iterator.44" = type { ptr }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = type { %"struct.std::_Vector_base<std::unique_ptr<aiMesh>, std::allocator<std::unique_ptr<aiMesh>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<aiMesh>, std::allocator<std::unique_ptr<aiMesh>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<aiMesh>, std::allocator<std::unique_ptr<aiMesh>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<aiMesh>, std::allocator<std::unique_ptr<aiMesh>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.50" = type { %"struct.std::__uniq_ptr_data.51" }
%"struct.std::__uniq_ptr_data.51" = type { %"class.std::__uniq_ptr_impl.52" }
%"class.std::__uniq_ptr_impl.52" = type { %"class.std::tuple.53" }
%"class.std::tuple.53" = type { %"struct.std::_Tuple_impl.54" }
%"struct.std::_Tuple_impl.54" = type { %"struct.std::_Head_base.57" }
%"struct.std::_Head_base.57" = type { ptr }
%class.aiColor4t = type { float, float, float, float }
%struct.aiScene = type { i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, %struct.aiString, i32, ptr, ptr }
%struct.aiString = type { i32, [1024 x i8] }
%"struct.Assimp::ObjFile::Model" = type { %"class.std::__cxx11::basic_string", %"class.std::vector.5", ptr, ptr, ptr, %"class.std::vector.0", %"class.std::vector.26", %"class.std::vector.26", %"class.std::vector.26", %"class.std::map", ptr, %"class.std::__cxx11::basic_string", %"class.std::vector.26", i32, ptr, %"class.std::vector.34", %"class.std::map.39" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<Assimp::ObjFile::Object *, std::allocator<Assimp::ObjFile::Object *>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::ObjFile::Object *, std::allocator<Assimp::ObjFile::Object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::ObjFile::Object *, std::allocator<Assimp::ObjFile::Object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::ObjFile::Object *, std::allocator<Assimp::ObjFile::Object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<unsigned int> *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<unsigned int> *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<unsigned int> *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<unsigned int> *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<aiVector3t<float>, std::allocator<aiVector3t<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<aiVector3t<float>, std::allocator<aiVector3t<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiVector3t<float>, std::allocator<aiVector3t<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiVector3t<float>, std::allocator<aiVector3t<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<Assimp::ObjFile::Mesh *, std::allocator<Assimp::ObjFile::Mesh *>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::ObjFile::Mesh *, std::allocator<Assimp::ObjFile::Mesh *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::ObjFile::Mesh *, std::allocator<Assimp::ObjFile::Mesh *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::ObjFile::Mesh *, std::allocator<Assimp::ObjFile::Mesh *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.39" = type { %"class.std::_Rb_tree.40" }
%"class.std::_Rb_tree.40" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Assimp::ObjFile::Material *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Assimp::ObjFile::Material *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Assimp::ObjFile::Material *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Assimp::ObjFile::Material *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%struct.aiNode = type { %struct.aiString, %class.aiMatrix4x4t, ptr, i32, ptr, i32, ptr, ptr }
%class.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%"struct.Assimp::ObjFile::Object" = type { %"class.std::__cxx11::basic_string", %class.aiMatrix4x4t, %"class.std::vector.5", %"class.std::vector.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.aiMesh = type { i32, i32, i32, ptr, ptr, ptr, ptr, [8 x ptr], [8 x ptr], [8 x i32], ptr, i32, ptr, i32, %struct.aiString, i32, ptr, i32, %struct.aiAABB, ptr }
%struct.aiAABB = type { %class.aiVector3t, %class.aiVector3t }
%class.aiVector3t = type { float, float, float }

@_ZTI17DeadlyImportError = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [37 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp15ObjFileImporter20CreateDataFromImportEPKNS_7ObjFile5ModelEP7aiScene(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1, ptr noundef %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.44", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.44", align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.std::vector.45", align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca %"class.std::unique_ptr.50", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca %class.aiColor4t, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = icmp eq ptr null, %24
  br i1 %25, label %26, label %27

26:                                               ; preds = %3
  br label %378

27:                                               ; preds = %3
  %28 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 1144) #10
  invoke void @_ZN6aiNodeC1Ev(ptr noundef nonnull align 8 dereferenceable(1144) %28)
          to label %29 unwind label %42

29:                                               ; preds = %27
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.aiScene, ptr %30, i32 0, i32 1
  store ptr %28, ptr %31, align 8, !tbaa !9
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %32, i32 0, i32 0
  %34 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  br i1 %34, label %46, label %35

35:                                               ; preds = %29
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.aiScene, ptr %36, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.aiNode, ptr %38, i32 0, i32 0
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %40, i32 0, i32 0
  call void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028) %39, ptr noundef nonnull align 8 dereferenceable(32) %41)
  br label %47

42:                                               ; preds = %27
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %7, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %28, i64 noundef 1144) #12
  br label %379

46:                                               ; preds = %29
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.13, ptr noundef @.str.14, i32 noundef 177)
  br label %47

47:                                               ; preds = %46, %35
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %48, i32 0, i32 1
  %50 = call noundef zeroext i1 @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #11
  br i1 %50, label %175, label %51

51:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #11
  store i32 0, ptr %9, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #11
  store i32 0, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #11
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %52, i32 0, i32 1
  store ptr %53, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #11
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = call ptr @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #11
  %56 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.44", ptr %12, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = call ptr @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #11
  %59 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.44", ptr %13, i32 0, i32 0
  store ptr %58, ptr %59, align 8
  br label %60

60:                                               ; preds = %78, %51
  %61 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN6Assimp7ObjFile6ObjectESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #11
  br i1 %61, label %63, label %62

62:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #11
  br label %80

63:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #11
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN6Assimp7ObjFile6ObjectESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  store ptr %65, ptr %14, align 8, !tbaa !5
  %66 = load ptr, ptr %14, align 8, !tbaa !5
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %77

68:                                               ; preds = %63
  %69 = load i32, ptr %10, align 4, !tbaa !13
  %70 = add i32 %69, 1
  store i32 %70, ptr %10, align 4, !tbaa !13
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.Assimp::ObjFile::Object", ptr %71, i32 0, i32 3
  %73 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #11
  %74 = trunc i64 %73 to i32
  %75 = load i32, ptr %9, align 4, !tbaa !13
  %76 = add i32 %75, %74
  store i32 %76, ptr %9, align 4, !tbaa !13
  br label %77

77:                                               ; preds = %68, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  br label %78

78:                                               ; preds = %77
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN6Assimp7ObjFile6ObjectESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  br label %60

80:                                               ; preds = %62
  %81 = load i32, ptr %10, align 4, !tbaa !13
  %82 = zext i32 %81 to i64
  %83 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %82, i64 8)
  %84 = extractvalue { i64, i1 } %83, 1
  %85 = extractvalue { i64, i1 } %83, 0
  %86 = select i1 %84, i64 -1, i64 %85
  %87 = call noalias noundef nonnull ptr @_Znam(i64 noundef %86) #10
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.aiScene, ptr %88, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !9
  %91 = getelementptr inbounds %struct.aiNode, ptr %90, i32 0, i32 4
  store ptr %87, ptr %91, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #11
  call void @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  %92 = load i32, ptr %9, align 4, !tbaa !13
  %93 = zext i32 %92 to i64
  invoke void @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %93)
          to label %94 unwind label %102

94:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  store i64 0, ptr %16, align 8, !tbaa !18
  br label %95

95:                                               ; preds = %119, %94
  %96 = load i64, ptr %16, align 8, !tbaa !18
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %97, i32 0, i32 1
  %99 = call noundef i64 @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #11
  %100 = icmp ult i64 %96, %99
  br i1 %100, label %106, label %101

101:                                              ; preds = %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  br label %126

102:                                              ; preds = %170, %142, %134, %80
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %7, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %8, align 4
  br label %174

106:                                              ; preds = %95
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %108, i32 0, i32 1
  %110 = load i64, ptr %16, align 8, !tbaa !18
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %110) #11
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.aiScene, ptr %113, i32 0, i32 1
  %115 = load ptr, ptr %114, align 8, !tbaa !9
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = invoke noundef ptr @_ZN6Assimp15ObjFileImporter11createNodesEPKNS_7ObjFile5ModelEPKNS1_6ObjectEP6aiNodeP7aiSceneRSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteISE_EESaISH_EE(ptr noundef nonnull align 8 dereferenceable(136) %23, ptr noundef %107, ptr noundef %112, ptr noundef %115, ptr noundef %116, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %118 unwind label %122

118:                                              ; preds = %106
  br label %119

119:                                              ; preds = %118
  %120 = load i64, ptr %16, align 8, !tbaa !18
  %121 = add i64 %120, 1
  store i64 %121, ptr %16, align 8, !tbaa !18
  br label %95, !llvm.loop !20

122:                                              ; preds = %106
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %7, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  br label %174

126:                                              ; preds = %101
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.aiScene, ptr %127, i32 0, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !9
  %130 = getelementptr inbounds %struct.aiNode, ptr %129, i32 0, i32 3
  %131 = load i32, ptr %130, align 8, !tbaa !22
  %132 = load i32, ptr %10, align 4, !tbaa !13
  %133 = icmp eq i32 %131, %132
  br i1 %133, label %136, label %134

134:                                              ; preds = %126
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.15, ptr noundef @.str.14, i32 noundef 202)
          to label %135 unwind label %102

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135, %126
  %137 = phi i1 [ true, %126 ], [ false, %135 ]
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.aiScene, ptr %138, i32 0, i32 2
  %140 = load i32, ptr %139, align 8, !tbaa !23
  %141 = icmp ugt i32 %140, 0
  br i1 %141, label %142, label %170

142:                                              ; preds = %136
  %143 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  %144 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %143, i64 8)
  %145 = extractvalue { i64, i1 } %144, 1
  %146 = extractvalue { i64, i1 } %144, 0
  %147 = select i1 %145, i64 -1, i64 %146
  %148 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %147) #10
          to label %149 unwind label %102

149:                                              ; preds = %142
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.aiScene, ptr %150, i32 0, i32 3
  store ptr %148, ptr %151, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  store i64 0, ptr %17, align 8, !tbaa !18
  br label %152

152:                                              ; preds = %166, %149
  %153 = load i64, ptr %17, align 8, !tbaa !18
  %154 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  %155 = icmp ult i64 %153, %154
  br i1 %155, label %157, label %156

156:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  br label %169

157:                                              ; preds = %152
  %158 = load i64, ptr %17, align 8, !tbaa !18
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %158) #11
  %160 = call noundef ptr @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %159) #11
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.aiScene, ptr %161, i32 0, i32 3
  %163 = load ptr, ptr %162, align 8, !tbaa !24
  %164 = load i64, ptr %17, align 8, !tbaa !18
  %165 = getelementptr inbounds ptr, ptr %163, i64 %164
  store ptr %160, ptr %165, align 8, !tbaa !5
  br label %166

166:                                              ; preds = %157
  %167 = load i64, ptr %17, align 8, !tbaa !18
  %168 = add i64 %167, 1
  store i64 %168, ptr %17, align 8, !tbaa !18
  br label %152, !llvm.loop !25

169:                                              ; preds = %156
  br label %170

170:                                              ; preds = %169, %136
  %171 = load ptr, ptr %5, align 8, !tbaa !5
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN6Assimp15ObjFileImporter15createMaterialsEPKNS_7ObjFile5ModelEP7aiScene(ptr noundef nonnull align 8 dereferenceable(136) %23, ptr noundef %171, ptr noundef %172)
          to label %173 unwind label %102

173:                                              ; preds = %170
  call void @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  br label %378

174:                                              ; preds = %122, %102
  call void @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  br label %379

175:                                              ; preds = %47
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %176, i32 0, i32 6
  %178 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %177) #11
  br i1 %178, label %179, label %180

179:                                              ; preds = %175
  br label %378

180:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %181 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 1320) #10
  call void @_ZN6aiMeshC2Ev(ptr noundef nonnull align 8 dereferenceable(1320) %181) #11
  call void @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef %181) #11
  %182 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %183 = getelementptr inbounds %struct.aiMesh, ptr %182, i32 0, i32 0
  store i32 1, ptr %183, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #11
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %184, i32 0, i32 6
  %186 = call noundef i64 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %185) #11
  %187 = trunc i64 %186 to i32
  store i32 %187, ptr %19, align 4, !tbaa !13
  %188 = load i32, ptr %19, align 4, !tbaa !13
  %189 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %190 = getelementptr inbounds %struct.aiMesh, ptr %189, i32 0, i32 1
  store i32 %188, ptr %190, align 4, !tbaa !31
  %191 = load i32, ptr %19, align 4, !tbaa !13
  %192 = zext i32 %191 to i64
  %193 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %192, i64 12)
  %194 = extractvalue { i64, i1 } %193, 1
  %195 = extractvalue { i64, i1 } %193, 0
  %196 = select i1 %194, i64 -1, i64 %195
  %197 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %196) #10
          to label %198 unwind label %249

198:                                              ; preds = %180
  %199 = icmp eq i64 %192, 0
  br i1 %199, label %206, label %200

200:                                              ; preds = %198
  %201 = getelementptr inbounds %class.aiVector3t, ptr %197, i64 %192
  br label %202

202:                                              ; preds = %202, %200
  %203 = phi ptr [ %197, %200 ], [ %204, %202 ]
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %203) #11
  %204 = getelementptr inbounds %class.aiVector3t, ptr %203, i64 1
  %205 = icmp eq ptr %204, %201
  br i1 %205, label %206, label %202

206:                                              ; preds = %202, %198
  %207 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %208 = getelementptr inbounds %struct.aiMesh, ptr %207, i32 0, i32 3
  store ptr %197, ptr %208, align 8, !tbaa !32
  %209 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %210 = getelementptr inbounds %struct.aiMesh, ptr %209, i32 0, i32 3
  %211 = load ptr, ptr %210, align 8, !tbaa !32
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %212, i32 0, i32 6
  %214 = call noundef ptr @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %213) #11
  %215 = load i32, ptr %19, align 4, !tbaa !13
  %216 = zext i32 %215 to i64
  %217 = mul i64 %216, 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %211, ptr align 4 %214, i64 %217, i1 false)
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %218, i32 0, i32 7
  %220 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %219) #11
  br i1 %220, label %267, label %221

221:                                              ; preds = %206
  %222 = load i32, ptr %19, align 4, !tbaa !13
  %223 = zext i32 %222 to i64
  %224 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %223, i64 12)
  %225 = extractvalue { i64, i1 } %224, 1
  %226 = extractvalue { i64, i1 } %224, 0
  %227 = select i1 %225, i64 -1, i64 %226
  %228 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %227) #10
          to label %229 unwind label %249

229:                                              ; preds = %221
  %230 = icmp eq i64 %223, 0
  br i1 %230, label %237, label %231

231:                                              ; preds = %229
  %232 = getelementptr inbounds %class.aiVector3t, ptr %228, i64 %223
  br label %233

233:                                              ; preds = %233, %231
  %234 = phi ptr [ %228, %231 ], [ %235, %233 ]
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %234) #11
  %235 = getelementptr inbounds %class.aiVector3t, ptr %234, i64 1
  %236 = icmp eq ptr %235, %232
  br i1 %236, label %237, label %233

237:                                              ; preds = %233, %229
  %238 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %239 = getelementptr inbounds %struct.aiMesh, ptr %238, i32 0, i32 4
  store ptr %228, ptr %239, align 8, !tbaa !33
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %240, i32 0, i32 7
  %242 = call noundef i64 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %241) #11
  %243 = load i32, ptr %19, align 4, !tbaa !13
  %244 = zext i32 %243 to i64
  %245 = icmp ult i64 %242, %244
  br i1 %245, label %246, label %257

246:                                              ; preds = %237
  %247 = call ptr @__cxa_allocate_exception(i64 16) #11
  invoke void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %247, ptr noundef @.str.16)
          to label %248 unwind label %253

248:                                              ; preds = %246
  invoke void @__cxa_throw(ptr %247, ptr @_ZTI17DeadlyImportError, ptr @_ZNSt13runtime_errorD2Ev) #13
          to label %384 unwind label %249

249:                                              ; preds = %355, %349, %271, %248, %221, %180
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %7, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %8, align 4
  br label %377

253:                                              ; preds = %246
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %7, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %8, align 4
  call void @__cxa_free_exception(ptr %247) #11
  br label %377

257:                                              ; preds = %237
  %258 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %259 = getelementptr inbounds %struct.aiMesh, ptr %258, i32 0, i32 4
  %260 = load ptr, ptr %259, align 8, !tbaa !33
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  %262 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %261, i32 0, i32 7
  %263 = call noundef ptr @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %262) #11
  %264 = load i32, ptr %19, align 4, !tbaa !13
  %265 = zext i32 %264 to i64
  %266 = mul i64 %265, 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %260, ptr align 4 %263, i64 %266, i1 false)
  br label %267

267:                                              ; preds = %257, %206
  %268 = load ptr, ptr %5, align 8, !tbaa !5
  %269 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %268, i32 0, i32 8
  %270 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %269) #11
  br i1 %270, label %349, label %271

271:                                              ; preds = %267
  %272 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %273 = getelementptr inbounds %struct.aiMesh, ptr %272, i32 0, i32 1
  %274 = load i32, ptr %273, align 4, !tbaa !31
  %275 = zext i32 %274 to i64
  %276 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %275, i64 16)
  %277 = extractvalue { i64, i1 } %276, 1
  %278 = extractvalue { i64, i1 } %276, 0
  %279 = select i1 %277, i64 -1, i64 %278
  %280 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %279) #10
          to label %281 unwind label %249

281:                                              ; preds = %271
  %282 = icmp eq i64 %275, 0
  br i1 %282, label %289, label %283

283:                                              ; preds = %281
  %284 = getelementptr inbounds %class.aiColor4t, ptr %280, i64 %275
  br label %285

285:                                              ; preds = %285, %283
  %286 = phi ptr [ %280, %283 ], [ %287, %285 ]
  call void @_ZN9aiColor4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %286) #11
  %287 = getelementptr inbounds %class.aiColor4t, ptr %286, i64 1
  %288 = icmp eq ptr %287, %284
  br i1 %288, label %289, label %285

289:                                              ; preds = %285, %281
  %290 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %291 = getelementptr inbounds %struct.aiMesh, ptr %290, i32 0, i32 7
  %292 = getelementptr inbounds [8 x ptr], ptr %291, i64 0, i64 0
  store ptr %280, ptr %292, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #11
  store i32 0, ptr %20, align 4, !tbaa !13
  br label %293

293:                                              ; preds = %344, %289
  %294 = load i32, ptr %20, align 4, !tbaa !13
  %295 = load i32, ptr %19, align 4, !tbaa !13
  %296 = icmp ult i32 %294, %295
  br i1 %296, label %298, label %297

297:                                              ; preds = %293
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #11
  br label %348

298:                                              ; preds = %293
  %299 = load i32, ptr %20, align 4, !tbaa !13
  %300 = zext i32 %299 to i64
  %301 = load ptr, ptr %5, align 8, !tbaa !5
  %302 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %301, i32 0, i32 8
  %303 = call noundef i64 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %302) #11
  %304 = icmp ult i64 %300, %303
  br i1 %304, label %305, label %332

305:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #11
  %306 = load ptr, ptr %5, align 8, !tbaa !5
  %307 = getelementptr inbounds %"struct.Assimp::ObjFile::Model", ptr %306, i32 0, i32 8
  %308 = load i32, ptr %20, align 4, !tbaa !13
  %309 = zext i32 %308 to i64
  %310 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNKSt6vectorI10aiVector3tIfESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %307, i64 noundef %309) #11
  store ptr %310, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #11
  %311 = load ptr, ptr %21, align 8, !tbaa !5
  %312 = getelementptr inbounds %class.aiVector3t, ptr %311, i32 0, i32 0
  %313 = load float, ptr %312, align 4, !tbaa !34
  %314 = load ptr, ptr %21, align 8, !tbaa !5
  %315 = getelementptr inbounds %class.aiVector3t, ptr %314, i32 0, i32 1
  %316 = load float, ptr %315, align 4, !tbaa !35
  %317 = load ptr, ptr %21, align 8, !tbaa !5
  %318 = getelementptr inbounds %class.aiVector3t, ptr %317, i32 0, i32 2
  %319 = load float, ptr %318, align 4, !tbaa !36
  invoke void @_ZN9aiColor4tIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %22, float noundef %313, float noundef %316, float noundef %319, float noundef 1.000000e+00)
          to label %320 unwind label %328

320:                                              ; preds = %305
  %321 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %322 = getelementptr inbounds %struct.aiMesh, ptr %321, i32 0, i32 7
  %323 = getelementptr inbounds [8 x ptr], ptr %322, i64 0, i64 0
  %324 = load ptr, ptr %323, align 8, !tbaa !5
  %325 = load i32, ptr %20, align 4, !tbaa !13
  %326 = zext i32 %325 to i64
  %327 = getelementptr inbounds %class.aiColor4t, ptr %324, i64 %326
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %327, ptr align 4 %22, i64 16, i1 false), !tbaa.struct !37
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  br label %343

328:                                              ; preds = %305
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %7, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  br label %347

332:                                              ; preds = %298
  %333 = call ptr @__cxa_allocate_exception(i64 16) #11
  invoke void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %333, ptr noundef @.str.17)
          to label %334 unwind label %335

334:                                              ; preds = %332
  invoke void @__cxa_throw(ptr %333, ptr @_ZTI17DeadlyImportError, ptr @_ZNSt13runtime_errorD2Ev) #13
          to label %384 unwind label %339

335:                                              ; preds = %332
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %7, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %8, align 4
  call void @__cxa_free_exception(ptr %333) #11
  br label %347

339:                                              ; preds = %334
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %7, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %8, align 4
  br label %347

343:                                              ; preds = %320
  br label %344

344:                                              ; preds = %343
  %345 = load i32, ptr %20, align 4, !tbaa !13
  %346 = add i32 %345, 1
  store i32 %346, ptr %20, align 4, !tbaa !13
  br label %293, !llvm.loop !39

347:                                              ; preds = %339, %335, %328
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #11
  br label %377

348:                                              ; preds = %297
  br label %349

349:                                              ; preds = %348, %267
  %350 = load ptr, ptr %6, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.aiScene, ptr %350, i32 0, i32 1
  %352 = load ptr, ptr %351, align 8, !tbaa !9
  %353 = getelementptr inbounds %struct.aiNode, ptr %352, i32 0, i32 5
  store i32 1, ptr %353, align 8, !tbaa !40
  %354 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 4) #10
          to label %355 unwind label %249

355:                                              ; preds = %349
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.aiScene, ptr %356, i32 0, i32 1
  %358 = load ptr, ptr %357, align 8, !tbaa !9
  %359 = getelementptr inbounds %struct.aiNode, ptr %358, i32 0, i32 6
  store ptr %354, ptr %359, align 8, !tbaa !41
  %360 = load ptr, ptr %6, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.aiScene, ptr %360, i32 0, i32 1
  %362 = load ptr, ptr %361, align 8, !tbaa !9
  %363 = getelementptr inbounds %struct.aiNode, ptr %362, i32 0, i32 6
  %364 = load ptr, ptr %363, align 8, !tbaa !41
  %365 = getelementptr inbounds i32, ptr %364, i64 0
  store i32 0, ptr %365, align 4, !tbaa !13
  %366 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 8) #10
          to label %367 unwind label %249

367:                                              ; preds = %355
  %368 = load ptr, ptr %6, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.aiScene, ptr %368, i32 0, i32 3
  store ptr %366, ptr %369, align 8, !tbaa !24
  %370 = load ptr, ptr %6, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.aiScene, ptr %370, i32 0, i32 2
  store i32 1, ptr %371, align 8, !tbaa !23
  %372 = call noundef ptr @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  %373 = load ptr, ptr %6, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.aiScene, ptr %373, i32 0, i32 3
  %375 = load ptr, ptr %374, align 8, !tbaa !24
  %376 = getelementptr inbounds ptr, ptr %375, i64 0
  store ptr %372, ptr %376, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #11
  call void @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  br label %378

377:                                              ; preds = %347, %253, %249
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #11
  call void @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  br label %379

378:                                              ; preds = %367, %179, %173, %26
  ret void

379:                                              ; preds = %377, %174, %42
  %380 = load ptr, ptr %7, align 8
  %381 = load i32, ptr %8, align 4
  %382 = insertvalue { ptr, i32 } poison, ptr %380, 0
  %383 = insertvalue { ptr, i32 } %382, i32 %381, 1
  resume { ptr, i32 } %383

384:                                              ; preds = %334, %248
  unreachable
}

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

declare void @_ZN6aiNodeC1Ev(ptr noundef nonnull align 8 dereferenceable(1144)) unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

declare void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef, ptr noundef, i32 noundef) #6

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #8

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN6Assimp15ObjFileImporter11createNodesEPKNS_7ObjFile5ModelEPKNS1_6ObjectEP6aiNodeP7aiSceneRSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteISE_EESaISH_EE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp15ObjFileImporter15createMaterialsEPKNS_7ObjFile5ModelEP7aiScene(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef, ptr noundef) #3 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 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) #9

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

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

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

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

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

!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 = !{!"_ZTS7aiScene", !11, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !11, i64 64, !6, i64 72, !11, i64 80, !6, i64 88, !11, i64 96, !6, i64 104, !6, i64 112, !12, i64 120, !11, i64 1148, !6, i64 1152, !6, i64 1160}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS8aiString", !11, i64 0, !7, i64 4}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !6, i64 1112}
!15 = !{!"_ZTS6aiNode", !12, i64 0, !16, i64 1028, !6, i64 1096, !11, i64 1104, !6, i64 1112, !11, i64 1120, !6, i64 1128, !6, i64 1136}
!16 = !{!"_ZTS12aiMatrix4x4tIfE", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60}
!17 = !{!"float", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!15, !11, i64 1104}
!23 = !{!10, !11, i64 16}
!24 = !{!10, !6, i64 24}
!25 = distinct !{!25, !21}
!26 = !{!27, !11, i64 0}
!27 = !{!"_ZTS6aiMesh", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !7, i64 48, !7, i64 112, !7, i64 176, !6, i64 208, !11, i64 216, !6, i64 224, !11, i64 232, !12, i64 236, !11, i64 1264, !6, i64 1272, !28, i64 1280, !29, i64 1284, !6, i64 1312}
!28 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!29 = !{!"_ZTS6aiAABB", !30, i64 0, !30, i64 12}
!30 = !{!"_ZTS10aiVector3tIfE", !17, i64 0, !17, i64 4, !17, i64 8}
!31 = !{!27, !11, i64 4}
!32 = !{!27, !6, i64 16}
!33 = !{!27, !6, i64 24}
!34 = !{!30, !17, i64 0}
!35 = !{!30, !17, i64 4}
!36 = !{!30, !17, i64 8}
!37 = !{i64 0, i64 4, !38, i64 4, i64 4, !38, i64 8, i64 4, !38, i64 12, i64 4, !38}
!38 = !{!17, !17, i64 0}
!39 = distinct !{!39, !21}
!40 = !{!15, !11, i64 1120}
!41 = !{!15, !6, i64 1128}


; 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.__gnu_cxx::__normal_iterator.44" = type { ptr }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = type { %"struct.std::_Vector_base<std::unique_ptr<aiMesh>, std::allocator<std::unique_ptr<aiMesh>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<aiMesh>, std::allocator<std::unique_ptr<aiMesh>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<aiMesh>, std::allocator<std::unique_ptr<aiMesh>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<aiMesh>, std::allocator<std::unique_ptr<aiMesh>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.50" = type { %"struct.std::__uniq_ptr_data.51" }
%"struct.std::__uniq_ptr_data.51" = type { %"class.std::__uniq_ptr_impl.52" }
%"class.std::__uniq_ptr_impl.52" = type { %"class.std::tuple.53" }
%"class.std::tuple.53" = type { %"struct.std::_Tuple_impl.54" }
%"struct.std::_Tuple_impl.54" = type { %"struct.std::_Head_base.57" }
%"struct.std::_Head_base.57" = type { ptr }
%class.aiColor4t = type { float, float, float, float }
%class.aiVector3t = type { float, float, float }

@_ZTI17DeadlyImportError = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [37 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp15ObjFileImporter20CreateDataFromImportEPKNS_7ObjFile5ModelEP7aiScene(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.44", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.44", align 8
  %6 = alloca %"class.std::vector.45", align 8
  %7 = alloca %"class.std::unique_ptr.50", align 8
  %8 = alloca %class.aiColor4t, align 4
  %9 = icmp eq ptr %1, null
  br i1 %9, label %189, label %10

10:                                               ; preds = %3
  %11 = tail call noalias noundef nonnull dereferenceable(1144) ptr @_Znwm(i64 noundef 1144) #9
  invoke void @_ZN6aiNodeC1Ev(ptr noundef nonnull align 8 dereferenceable(1144) %11)
          to label %12 unwind label %17

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %2, i64 8
  store ptr %11, ptr %13, align 8, !tbaa !5
  %14 = tail call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #10
  br i1 %14, label %19, label %15

15:                                               ; preds = %12
  %16 = load ptr, ptr %13, align 8, !tbaa !5
  tail call void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028) %16, ptr noundef nonnull align 8 dereferenceable(32) %1)
  br label %20

17:                                               ; preds = %10
  %18 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %11, i64 noundef 1144) #11
  br label %190

19:                                               ; preds = %12
  tail call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, i32 noundef 177)
  br label %20

20:                                               ; preds = %19, %15
  %21 = getelementptr inbounds i8, ptr %1, i64 32
  %22 = tail call noundef zeroext i1 @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  br i1 %22, label %83, label %23

23:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  %24 = tail call ptr @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  store ptr %24, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  %25 = tail call ptr @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  store ptr %25, ptr %5, align 8
  %26 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN6Assimp7ObjFile6ObjectESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  br i1 %26, label %.lr.ph, label %._crit_edge

._crit_edge.loopexit:                             ; preds = %42
  %27 = zext i32 %.175 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %23
  %.076.lcssa = phi i32 [ 0, %23 ], [ %.177, %._crit_edge.loopexit ]
  %.074.lcssa = phi i64 [ 0, %23 ], [ %27, %._crit_edge.loopexit ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  %28 = zext i32 %.076.lcssa to i64
  %29 = shl nuw nsw i64 %28, 3
  %30 = call noalias noundef nonnull ptr @_Znam(i64 noundef %29) #9
  %31 = load ptr, ptr %13, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %31, i64 1112
  store ptr %30, ptr %32, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #10
  call void @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  invoke void @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.074.lcssa)
          to label %.preheader unwind label %49

.preheader:                                       ; preds = %._crit_edge
  %33 = call noundef i64 @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  %.not107 = icmp eq i64 %33, 0
  br i1 %.not107, label %._crit_edge100, label %.lr.ph99

.lr.ph:                                           ; preds = %23, %42
  %.07496 = phi i32 [ %.175, %42 ], [ 0, %23 ]
  %.07695 = phi i32 [ %.177, %42 ], [ 0, %23 ]
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN6Assimp7ObjFile6ObjectESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  %35 = load ptr, ptr %34, align 8, !tbaa !16
  %.not85 = icmp eq ptr %35, null
  br i1 %.not85, label %42, label %36

36:                                               ; preds = %.lr.ph
  %37 = add i32 %.07695, 1
  %38 = getelementptr inbounds i8, ptr %35, i64 120
  %39 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #10
  %40 = trunc i64 %39 to i32
  %41 = add i32 %.07496, %40
  br label %42

42:                                               ; preds = %36, %.lr.ph
  %.177 = phi i32 [ %37, %36 ], [ %.07695, %.lr.ph ]
  %.175 = phi i32 [ %41, %36 ], [ %.07496, %.lr.ph ]
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN6Assimp7ObjFile6ObjectESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  %44 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN6Assimp7ObjFile6ObjectESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  br i1 %44, label %.lr.ph, label %._crit_edge.loopexit

._crit_edge100:                                   ; preds = %55, %.preheader
  %45 = load ptr, ptr %13, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 1104
  %47 = load i32, ptr %46, align 8, !tbaa !17
  %48 = icmp eq i32 %47, %.076.lcssa
  br i1 %48, label %62, label %61

49:                                               ; preds = %.loopexit94, %65, %61, %._crit_edge
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %82

.lr.ph99:                                         ; preds = %.preheader, %55
  %.07398 = phi i64 [ %56, %55 ], [ 0, %.preheader ]
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %.07398) #10
  %52 = load ptr, ptr %51, align 8, !tbaa !16
  %53 = load ptr, ptr %13, align 8, !tbaa !5
  %54 = invoke noundef ptr @_ZN6Assimp15ObjFileImporter11createNodesEPKNS_7ObjFile5ModelEPKNS1_6ObjectEP6aiNodeP7aiSceneRSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteISE_EESaISH_EE(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull %1, ptr noundef %52, ptr noundef %53, ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %55 unwind label %59

55:                                               ; preds = %.lr.ph99
  %56 = add nuw i64 %.07398, 1
  %57 = call noundef i64 @_ZNKSt6vectorIPN6Assimp7ObjFile6ObjectESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  %58 = icmp ult i64 %56, %57
  br i1 %58, label %.lr.ph99, label %._crit_edge100, !llvm.loop !18

59:                                               ; preds = %.lr.ph99
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %82

61:                                               ; preds = %._crit_edge100
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.14, i32 noundef 202)
          to label %62 unwind label %49

62:                                               ; preds = %61, %._crit_edge100
  %63 = getelementptr inbounds i8, ptr %2, i64 16
  %64 = load i32, ptr %63, align 8, !tbaa !20
  %.not = icmp eq i32 %64, 0
  br i1 %.not, label %.loopexit94, label %65

65:                                               ; preds = %62
  %66 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %67 = icmp ugt i64 %66, 2305843009213693951
  %68 = shl nuw i64 %66, 3
  %69 = select i1 %67, i64 -1, i64 %68
  %70 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %69) #9
          to label %71 unwind label %49

71:                                               ; preds = %65
  %72 = getelementptr inbounds i8, ptr %2, i64 24
  store ptr %70, ptr %72, align 8, !tbaa !21
  %73 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %.not108 = icmp eq i64 %73, 0
  br i1 %.not108, label %.loopexit94, label %.lr.ph103

.lr.ph103:                                        ; preds = %71, %.lr.ph103
  %.072101 = phi i64 [ %78, %.lr.ph103 ], [ 0, %71 ]
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.072101) #10
  %75 = call noundef ptr @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %74) #10
  %76 = load ptr, ptr %72, align 8, !tbaa !21
  %77 = getelementptr inbounds ptr, ptr %76, i64 %.072101
  store ptr %75, ptr %77, align 8, !tbaa !16
  %78 = add nuw i64 %.072101, 1
  %79 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %80 = icmp ult i64 %78, %79
  br i1 %80, label %.lr.ph103, label %.loopexit94, !llvm.loop !22

.loopexit94:                                      ; preds = %.lr.ph103, %71, %62
  invoke void @_ZN6Assimp15ObjFileImporter15createMaterialsEPKNS_7ObjFile5ModelEP7aiScene(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull %1, ptr noundef nonnull %2)
          to label %81 unwind label %49

81:                                               ; preds = %.loopexit94
  call void @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  br label %189

82:                                               ; preds = %59, %49
  %.pn = phi { ptr, i32 } [ %60, %59 ], [ %50, %49 ]
  call void @_ZNSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteIS1_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  br label %190

83:                                               ; preds = %20
  %84 = getelementptr inbounds i8, ptr %1, i64 104
  %85 = tail call noundef zeroext i1 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #10
  br i1 %85, label %189, label %86

86:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  %87 = tail call noalias noundef nonnull dereferenceable(1320) ptr @_Znwm(i64 noundef 1320) #9
  tail call void @_ZN6aiMeshC2Ev(ptr noundef nonnull align 8 dereferenceable(1320) %87) #10
  call void @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %87) #10
  %88 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  store i32 1, ptr %88, align 8, !tbaa !23
  %89 = call noundef i64 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #10
  %90 = trunc i64 %89 to i32
  %91 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  %92 = getelementptr inbounds i8, ptr %91, i64 4
  store i32 %90, ptr %92, align 4, !tbaa !28
  %93 = and i64 %89, 4294967295
  %94 = mul nuw nsw i64 %93, 12
  %95 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %94) #9
          to label %96 unwind label %128

96:                                               ; preds = %86
  %97 = icmp eq i64 %93, 0
  br i1 %97, label %.loopexit93, label %98

98:                                               ; preds = %96
  %99 = getelementptr inbounds %class.aiVector3t, ptr %95, i64 %93
  br label %100

100:                                              ; preds = %100, %98
  %101 = phi ptr [ %95, %98 ], [ %102, %100 ]
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %101) #10
  %102 = getelementptr inbounds i8, ptr %101, i64 12
  %103 = icmp eq ptr %102, %99
  br i1 %103, label %.loopexit93, label %100

.loopexit93:                                      ; preds = %100, %96
  %104 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  %105 = getelementptr inbounds i8, ptr %104, i64 16
  store ptr %95, ptr %105, align 8, !tbaa !29
  %106 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  %108 = load ptr, ptr %107, align 8, !tbaa !29
  %109 = call noundef ptr @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %108, ptr align 4 %109, i64 %94, i1 false)
  %110 = getelementptr inbounds i8, ptr %1, i64 128
  %111 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #10
  br i1 %111, label %137, label %112

112:                                              ; preds = %.loopexit93
  %113 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %94) #9
          to label %114 unwind label %128

114:                                              ; preds = %112
  br i1 %97, label %.loopexit92, label %115

115:                                              ; preds = %114
  %116 = getelementptr inbounds %class.aiVector3t, ptr %113, i64 %93
  br label %117

117:                                              ; preds = %117, %115
  %118 = phi ptr [ %113, %115 ], [ %119, %117 ]
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %118) #10
  %119 = getelementptr inbounds i8, ptr %118, i64 12
  %120 = icmp eq ptr %119, %116
  br i1 %120, label %.loopexit92, label %117

.loopexit92:                                      ; preds = %117, %114
  %121 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  %122 = getelementptr inbounds i8, ptr %121, i64 24
  store ptr %113, ptr %122, align 8, !tbaa !30
  %123 = call noundef i64 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #10
  %124 = icmp ult i64 %123, %93
  br i1 %124, label %125, label %132

125:                                              ; preds = %.loopexit92
  %126 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %126, ptr noundef nonnull @.str.16)
          to label %127 unwind label %130

127:                                              ; preds = %125
  invoke void @__cxa_throw(ptr nonnull %126, ptr nonnull @_ZTI17DeadlyImportError, ptr nonnull @_ZNSt13runtime_errorD2Ev) #12
          to label %191 unwind label %128

128:                                              ; preds = %180, %.loopexit, %140, %127, %112, %86
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %188

130:                                              ; preds = %125
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %126) #10
  br label %188

132:                                              ; preds = %.loopexit92
  %133 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  %134 = getelementptr inbounds i8, ptr %133, i64 24
  %135 = load ptr, ptr %134, align 8, !tbaa !30
  %136 = call noundef ptr @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %135, ptr align 4 %136, i64 %94, i1 false)
  br label %137

137:                                              ; preds = %132, %.loopexit93
  %138 = getelementptr inbounds i8, ptr %1, i64 152
  %139 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %138) #10
  br i1 %139, label %.loopexit, label %140

140:                                              ; preds = %137
  %141 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  %142 = getelementptr inbounds i8, ptr %141, i64 4
  %143 = load i32, ptr %142, align 4, !tbaa !28
  %144 = zext i32 %143 to i64
  %145 = shl nuw nsw i64 %144, 4
  %146 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %145) #9
          to label %147 unwind label %128

147:                                              ; preds = %140
  %148 = icmp eq i32 %143, 0
  br i1 %148, label %.loopexit91, label %149

149:                                              ; preds = %147
  %150 = getelementptr inbounds %class.aiColor4t, ptr %146, i64 %144
  br label %151

151:                                              ; preds = %151, %149
  %152 = phi ptr [ %146, %149 ], [ %153, %151 ]
  call void @_ZN9aiColor4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %152) #10
  %153 = getelementptr inbounds i8, ptr %152, i64 16
  %154 = icmp eq ptr %153, %150
  br i1 %154, label %.loopexit91, label %151

.loopexit91:                                      ; preds = %151, %147
  %155 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  %156 = getelementptr inbounds i8, ptr %155, i64 48
  store ptr %146, ptr %156, align 8, !tbaa !16
  %.not109 = icmp eq i32 %90, 0
  br i1 %.not109, label %.loopexit, label %.lr.ph106.preheader

.lr.ph106.preheader:                              ; preds = %.loopexit91
  %wide.trip.count = and i64 %89, 4294967295
  br label %.lr.ph106

.lr.ph106:                                        ; preds = %.lr.ph106.preheader, %159
  %indvars.iv = phi i64 [ 0, %.lr.ph106.preheader ], [ %indvars.iv.next, %159 ]
  %157 = call noundef i64 @_ZNKSt6vectorI10aiVector3tIfESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %138) #10
  %158 = icmp ugt i64 %157, %indvars.iv
  br i1 %158, label %159, label %170

159:                                              ; preds = %.lr.ph106
  %160 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNKSt6vectorI10aiVector3tIfESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %indvars.iv) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #10
  %161 = load float, ptr %160, align 4, !tbaa !31
  %162 = getelementptr inbounds i8, ptr %160, i64 4
  %163 = load float, ptr %162, align 4, !tbaa !32
  %164 = getelementptr inbounds i8, ptr %160, i64 8
  %165 = load float, ptr %164, align 4, !tbaa !33
  call void @_ZN9aiColor4tIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef %161, float noundef %163, float noundef %165, float noundef 1.000000e+00)
  %166 = call noundef ptr @_ZNKSt10unique_ptrI6aiMeshSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  %167 = getelementptr inbounds i8, ptr %166, i64 48
  %168 = load ptr, ptr %167, align 8, !tbaa !16
  %169 = getelementptr inbounds %class.aiColor4t, ptr %168, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %169, ptr noundef nonnull align 4 dereferenceable(16) %8, i64 16, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #10
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph106, !llvm.loop !36

170:                                              ; preds = %.lr.ph106
  %171 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %171, ptr noundef nonnull @.str.17)
          to label %172 unwind label %173

172:                                              ; preds = %170
  invoke void @__cxa_throw(ptr nonnull %171, ptr nonnull @_ZTI17DeadlyImportError, ptr nonnull @_ZNSt13runtime_errorD2Ev) #12
          to label %191 unwind label %175

173:                                              ; preds = %170
  %174 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %171) #10
  br label %188

175:                                              ; preds = %172
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %188

.loopexit:                                        ; preds = %159, %.loopexit91, %137
  %177 = load ptr, ptr %13, align 8, !tbaa !5
  %178 = getelementptr inbounds i8, ptr %177, i64 1120
  store i32 1, ptr %178, align 8, !tbaa !37
  %179 = invoke noalias noundef nonnull dereferenceable(4) ptr @_Znam(i64 noundef 4) #9
          to label %180 unwind label %128

180:                                              ; preds = %.loopexit
  %181 = getelementptr inbounds i8, ptr %177, i64 1128
  store ptr %179, ptr %181, align 8, !tbaa !38
  store i32 0, ptr %179, align 4, !tbaa !39
  %182 = invoke noalias noundef nonnull dereferenceable(8) ptr @_Znam(i64 noundef 8) #9
          to label %183 unwind label %128

183:                                              ; preds = %180
  %184 = getelementptr inbounds i8, ptr %2, i64 24
  store ptr %182, ptr %184, align 8, !tbaa !21
  %185 = getelementptr inbounds i8, ptr %2, i64 16
  store i32 1, ptr %185, align 8, !tbaa !20
  %186 = call noundef ptr @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  %187 = load ptr, ptr %184, align 8, !tbaa !21
  store ptr %186, ptr %187, align 8, !tbaa !16
  call void @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  br label %189

188:                                              ; preds = %173, %175, %130, %128
  %.pn88 = phi { ptr, i32 } [ %129, %128 ], [ %131, %130 ], [ %176, %175 ], [ %174, %173 ]
  call void @_ZNSt10unique_ptrI6aiMeshSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  br label %190

189:                                              ; preds = %83, %3, %183, %81
  ret void

190:                                              ; preds = %188, %82, %17
  %.pn88.pn = phi { ptr, i32 } [ %.pn88, %188 ], [ %.pn, %82 ], [ %18, %17 ]
  resume { ptr, i32 } %.pn88.pn

191:                                              ; preds = %172, %127
  unreachable
}

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

declare void @_ZN6aiNodeC1Ev(ptr noundef nonnull align 8 dereferenceable(1144)) unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

declare void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #6

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN6Assimp15ObjFileImporter11createNodesEPKNS_7ObjFile5ModelEPKNS1_6ObjectEP6aiNodeP7aiSceneRSt6vectorISt10unique_ptrI6aiMeshSt14default_deleteISE_EESaISH_EE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp15ObjFileImporter15createMaterialsEPKNS_7ObjFile5ModelEP7aiScene(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!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, !10, i64 8}
!6 = !{!"_ZTS7aiScene", !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, !7, i64 96, !10, i64 104, !10, i64 112, !11, i64 120, !7, i64 1148, !10, i64 1152, !10, i64 1160}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS8aiString", !7, i64 0, !8, i64 4}
!12 = !{!13, !10, i64 1112}
!13 = !{!"_ZTS6aiNode", !11, i64 0, !14, i64 1028, !10, i64 1096, !7, i64 1104, !10, i64 1112, !7, i64 1120, !10, i64 1128, !10, i64 1136}
!14 = !{!"_ZTS12aiMatrix4x4tIfE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60}
!15 = !{!"float", !8, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!13, !7, i64 1104}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!6, !7, i64 16}
!21 = !{!6, !10, i64 24}
!22 = distinct !{!22, !19}
!23 = !{!24, !7, i64 0}
!24 = !{!"_ZTS6aiMesh", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !8, i64 48, !8, i64 112, !8, i64 176, !10, i64 208, !7, i64 216, !10, i64 224, !7, i64 232, !11, i64 236, !7, i64 1264, !10, i64 1272, !25, i64 1280, !26, i64 1284, !10, i64 1312}
!25 = !{!"_ZTS16aiMorphingMethod", !8, i64 0}
!26 = !{!"_ZTS6aiAABB", !27, i64 0, !27, i64 12}
!27 = !{!"_ZTS10aiVector3tIfE", !15, i64 0, !15, i64 4, !15, i64 8}
!28 = !{!24, !7, i64 4}
!29 = !{!24, !10, i64 16}
!30 = !{!24, !10, i64 24}
!31 = !{!27, !15, i64 0}
!32 = !{!27, !15, i64 4}
!33 = !{!27, !15, i64 8}
!34 = !{i64 0, i64 4, !35, i64 4, i64 4, !35, i64 8, i64 4, !35, i64 12, i64 4, !35}
!35 = !{!15, !15, i64 0}
!36 = distinct !{!36, !19}
!37 = !{!13, !7, i64 1120}
!38 = !{!13, !10, i64 1128}
!39 = !{!7, !7, i64 0}


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