; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/PostProcessing (OptimizeGraph)

; 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"

%"struct.std::_List_const_iterator.14" = type { ptr }
%"struct.std::_List_iterator.15" = type { ptr }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { 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::allocator.6" = type { i8 }
%struct.aiString = type { i32, [1024 x i8] }
%"class.std::__cxx11::list.9" = type { %"class.std::__cxx11::_List_base.10" }
%"class.std::__cxx11::_List_base.10" = type { %"struct.std::__cxx11::_List_base<aiNode *, std::allocator<aiNode *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<aiNode *, std::allocator<aiNode *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.Assimp::OptimizeGraphProcess" = type { %"class.Assimp::BaseProcess", ptr, %"class.std::set", %"class.std::__cxx11::list", i32, i32, i32, %"class.std::vector" }
%"class.Assimp::BaseProcess" = type { ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, 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::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.aiScene = type { i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, %struct.aiString, i32, ptr, ptr }
%struct.aiAnimation = type { %struct.aiString, double, double, i32, ptr, i32, ptr, i32, ptr }
%struct.aiNodeAnim = type { %struct.aiString, i32, ptr, i32, ptr, i32, ptr, i32, i32 }
%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 }
%struct.aiBone = type { %struct.aiString, i32, ptr, ptr, ptr, %class.aiMatrix4x4t }
%class.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%struct.aiCamera = type { %struct.aiString, %class.aiVector3t, %class.aiVector3t, %class.aiVector3t, float, float, float, float, float }
%struct.aiLight = type { %struct.aiString, i32, %class.aiVector3t, %class.aiVector3t, %class.aiVector3t, float, float, float, %struct.aiColor3D, %struct.aiColor3D, %struct.aiColor3D, float, float, %class.aiVector2t }
%struct.aiColor3D = type { float, float, float }
%class.aiVector2t = type { float, float }
%struct.aiNode = type { %struct.aiString, %class.aiMatrix4x4t, ptr, i32, ptr, i32, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZTI17DeadlyImportError = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.8 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN6aiNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(1144)) unnamed_addr #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp20OptimizeGraphProcess7ExecuteEP7aiScene(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::_List_const_iterator.14", align 8
  %7 = alloca %"struct.std::_List_iterator.15", align 8
  %8 = alloca %"struct.std::_List_const_iterator.14", align 8
  %9 = alloca %"struct.std::_List_iterator.15", align 8
  %10 = alloca %"struct.std::pair", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.6", align 1
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::pair", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.6", align 1
  %25 = alloca %"struct.std::pair", align 8
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.6", align 1
  %30 = alloca %"struct.std::pair", align 8
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator.6", align 1
  %35 = alloca %"struct.std::pair", align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.6", align 1
  %39 = alloca i1, align 1
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.6", align 1
  %42 = alloca %"struct.std::pair", align 8
  %43 = alloca %struct.aiString, align 4
  %44 = alloca %"class.std::__cxx11::list.9", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %45 = load ptr, ptr %3, align 8
  %46 = call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  call void @_ZN6Assimp6Logger5debugEPKc(ptr noundef nonnull align 8 dereferenceable(12) %46, ptr noundef @.str.3)
  %47 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 6
  store i32 0, ptr %47, align 8, !tbaa !9
  %48 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 5
  store i32 0, ptr %48, align 4, !tbaa !31
  %49 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 4
  store i32 0, ptr %49, align 8, !tbaa !32
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 1
  store ptr %50, ptr %51, align 8, !tbaa !33
  %52 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 7
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.aiScene, ptr %53, i32 0, i32 2
  %55 = load i32, ptr %54, align 8, !tbaa !34
  %56 = zext i32 %55 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !37
  call void @_ZNSt6vectorIjSaIjEE6resizeEmRKj(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %56, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.aiScene, ptr %57, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !38
  call void @_ZN6Assimp20OptimizeGraphProcess19FindInstancedMeshesEP6aiNode(ptr noundef nonnull align 8 dereferenceable(144) %45, ptr noundef %59)
  %60 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 2
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %60) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %61 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 3
  %62 = call ptr @_ZNSt7__cxx114listINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #7
  %63 = getelementptr inbounds %"struct.std::_List_iterator.15", ptr %7, i32 0, i32 0
  store ptr %62, ptr %63, align 8
  call void @_ZNSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2ERKSt14_List_iteratorIS5_E(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %64

64:                                               ; preds = %78, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %65 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 3
  %66 = call ptr @_ZNSt7__cxx114listINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #7
  %67 = getelementptr inbounds %"struct.std::_List_iterator.15", ptr %9, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  call void @_ZNSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2ERKSt14_List_iteratorIS5_E(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %68 = call noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br i1 %68, label %70, label %69

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

70:                                               ; preds = %64
  %71 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 2
  %72 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %73 = call { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %71, ptr noundef nonnull align 8 dereferenceable(32) %72)
  %74 = getelementptr inbounds { ptr, i8 }, ptr %10, i32 0, i32 0
  %75 = extractvalue { ptr, i8 } %73, 0
  store ptr %75, ptr %74, align 8
  %76 = getelementptr inbounds { ptr, i8 }, ptr %10, i32 0, i32 1
  %77 = extractvalue { ptr, i8 } %73, 1
  store i8 %77, ptr %76, align 8
  br label %78

78:                                               ; preds = %70
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  br label %64, !llvm.loop !39

80:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !37
  br label %81

81:                                               ; preds = %141, %80
  %82 = load i32, ptr %11, align 4, !tbaa !37
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.aiScene, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %84, align 8, !tbaa !41
  %86 = icmp ult i32 %82, %85
  br i1 %86, label %88, label %87

87:                                               ; preds = %81
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %144

88:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !37
  br label %89

89:                                               ; preds = %128, %88
  %90 = load i32, ptr %13, align 4, !tbaa !37
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.aiScene, ptr %91, i32 0, i32 7
  %93 = load ptr, ptr %92, align 8, !tbaa !42
  %94 = load i32, ptr %11, align 4, !tbaa !37
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds ptr, ptr %93, i64 %95
  %97 = load ptr, ptr %96, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.aiAnimation, ptr %97, i32 0, i32 3
  %99 = load i32, ptr %98, align 8, !tbaa !43
  %100 = icmp ult i32 %90, %99
  br i1 %100, label %102, label %101

101:                                              ; preds = %89
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %140

102:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.aiScene, ptr %103, i32 0, i32 7
  %105 = load ptr, ptr %104, align 8, !tbaa !42
  %106 = load i32, ptr %11, align 4, !tbaa !37
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds ptr, ptr %105, i64 %107
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.aiAnimation, ptr %109, i32 0, i32 4
  %111 = load ptr, ptr %110, align 8, !tbaa !46
  %112 = load i32, ptr %13, align 4, !tbaa !37
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds ptr, ptr %111, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  store ptr %115, ptr %14, align 8, !tbaa !5
  %116 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #7
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.aiNodeAnim, ptr %117, i32 0, i32 0
  %119 = getelementptr inbounds %struct.aiString, ptr %118, i32 0, i32 1
  %120 = getelementptr inbounds [1024 x i8], ptr %119, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef %120, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %121 unwind label %131

121:                                              ; preds = %102
  %122 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %116, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %123 unwind label %135

123:                                              ; preds = %121
  %124 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 0
  %125 = extractvalue { ptr, i8 } %122, 0
  store ptr %125, ptr %124, align 8
  %126 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 1
  %127 = extractvalue { ptr, i8 } %122, 1
  store i8 %127, ptr %126, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %128

128:                                              ; preds = %123
  %129 = load i32, ptr %13, align 4, !tbaa !37
  %130 = add i32 %129, 1
  store i32 %130, ptr %13, align 4, !tbaa !37
  br label %89, !llvm.loop !47

131:                                              ; preds = %102
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %17, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %18, align 4
  br label %139

135:                                              ; preds = %121
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %17, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %139

139:                                              ; preds = %135, %131
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %437

140:                                              ; preds = %101
  br label %141

141:                                              ; preds = %140
  %142 = load i32, ptr %11, align 4, !tbaa !37
  %143 = add i32 %142, 1
  store i32 %143, ptr %11, align 4, !tbaa !37
  br label %81, !llvm.loop !48

144:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !37
  br label %145

145:                                              ; preds = %211, %144
  %146 = load i32, ptr %20, align 4, !tbaa !37
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.aiScene, ptr %147, i32 0, i32 2
  %149 = load i32, ptr %148, align 8, !tbaa !34
  %150 = icmp ult i32 %146, %149
  br i1 %150, label %152, label %151

151:                                              ; preds = %145
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %214

152:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !37
  br label %153

153:                                              ; preds = %198, %152
  %154 = load i32, ptr %21, align 4, !tbaa !37
  %155 = load ptr, ptr %4, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.aiScene, ptr %155, i32 0, i32 3
  %157 = load ptr, ptr %156, align 8, !tbaa !49
  %158 = load i32, ptr %20, align 4, !tbaa !37
  %159 = zext i32 %158 to i64
  %160 = getelementptr inbounds ptr, ptr %157, i64 %159
  %161 = load ptr, ptr %160, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.aiMesh, ptr %161, i32 0, i32 11
  %163 = load i32, ptr %162, align 8, !tbaa !50
  %164 = icmp ult i32 %154, %163
  br i1 %164, label %166, label %165

165:                                              ; preds = %153
  store i32 14, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %210

166:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.aiScene, ptr %167, i32 0, i32 3
  %169 = load ptr, ptr %168, align 8, !tbaa !49
  %170 = load i32, ptr %20, align 4, !tbaa !37
  %171 = zext i32 %170 to i64
  %172 = getelementptr inbounds ptr, ptr %169, i64 %171
  %173 = load ptr, ptr %172, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.aiMesh, ptr %173, i32 0, i32 12
  %175 = load ptr, ptr %174, align 8, !tbaa !56
  %176 = load i32, ptr %21, align 4, !tbaa !37
  %177 = zext i32 %176 to i64
  %178 = getelementptr inbounds ptr, ptr %175, i64 %177
  %179 = load ptr, ptr %178, align 8, !tbaa !5
  store ptr %179, ptr %22, align 8, !tbaa !5
  %180 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #7
  %181 = load ptr, ptr %22, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.aiBone, ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds %struct.aiString, ptr %182, i32 0, i32 1
  %184 = getelementptr inbounds [1024 x i8], ptr %183, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef %184, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %185 unwind label %201

185:                                              ; preds = %166
  %186 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %180, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %187 unwind label %205

187:                                              ; preds = %185
  %188 = getelementptr inbounds { ptr, i8 }, ptr %25, i32 0, i32 0
  %189 = extractvalue { ptr, i8 } %186, 0
  store ptr %189, ptr %188, align 8
  %190 = getelementptr inbounds { ptr, i8 }, ptr %25, i32 0, i32 1
  %191 = extractvalue { ptr, i8 } %186, 1
  store i8 %191, ptr %190, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  %192 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 7
  %193 = load i32, ptr %20, align 4, !tbaa !37
  %194 = zext i32 %193 to i64
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %194) #7
  %196 = load i32, ptr %195, align 4, !tbaa !37
  %197 = add i32 %196, 2
  store i32 %197, ptr %195, align 4, !tbaa !37
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %198

198:                                              ; preds = %187
  %199 = load i32, ptr %21, align 4, !tbaa !37
  %200 = add i32 %199, 1
  store i32 %200, ptr %21, align 4, !tbaa !37
  br label %153, !llvm.loop !57

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

205:                                              ; preds = %185
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %17, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  br label %209

209:                                              ; preds = %205, %201
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %437

210:                                              ; preds = %165
  br label %211

211:                                              ; preds = %210
  %212 = load i32, ptr %20, align 4, !tbaa !37
  %213 = add i32 %212, 1
  store i32 %213, ptr %20, align 4, !tbaa !37
  br label %145, !llvm.loop !58

214:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !37
  br label %215

215:                                              ; preds = %242, %214
  %216 = load i32, ptr %26, align 4, !tbaa !37
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.aiScene, ptr %217, i32 0, i32 12
  %219 = load i32, ptr %218, align 8, !tbaa !59
  %220 = icmp ult i32 %216, %219
  br i1 %220, label %222, label %221

221:                                              ; preds = %215
  store i32 17, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %254

222:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.aiScene, ptr %223, i32 0, i32 13
  %225 = load ptr, ptr %224, align 8, !tbaa !60
  %226 = load i32, ptr %26, align 4, !tbaa !37
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds ptr, ptr %225, i64 %227
  %229 = load ptr, ptr %228, align 8, !tbaa !5
  store ptr %229, ptr %27, align 8, !tbaa !5
  %230 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #7
  %231 = load ptr, ptr %27, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.aiCamera, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds %struct.aiString, ptr %232, i32 0, i32 1
  %234 = getelementptr inbounds [1024 x i8], ptr %233, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef %234, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %235 unwind label %245

235:                                              ; preds = %222
  %236 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %230, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %237 unwind label %249

237:                                              ; preds = %235
  %238 = getelementptr inbounds { ptr, i8 }, ptr %30, i32 0, i32 0
  %239 = extractvalue { ptr, i8 } %236, 0
  store ptr %239, ptr %238, align 8
  %240 = getelementptr inbounds { ptr, i8 }, ptr %30, i32 0, i32 1
  %241 = extractvalue { ptr, i8 } %236, 1
  store i8 %241, ptr %240, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %242

242:                                              ; preds = %237
  %243 = load i32, ptr %26, align 4, !tbaa !37
  %244 = add i32 %243, 1
  store i32 %244, ptr %26, align 4, !tbaa !37
  br label %215, !llvm.loop !61

245:                                              ; preds = %222
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %17, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %18, align 4
  br label %253

249:                                              ; preds = %235
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %17, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %253

253:                                              ; preds = %249, %245
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %437

254:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 0, ptr %31, align 4, !tbaa !37
  br label %255

255:                                              ; preds = %282, %254
  %256 = load i32, ptr %31, align 4, !tbaa !37
  %257 = load ptr, ptr %4, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.aiScene, ptr %257, i32 0, i32 10
  %259 = load i32, ptr %258, align 8, !tbaa !62
  %260 = icmp ult i32 %256, %259
  br i1 %260, label %262, label %261

261:                                              ; preds = %255
  store i32 20, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %294

262:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.aiScene, ptr %263, i32 0, i32 11
  %265 = load ptr, ptr %264, align 8, !tbaa !63
  %266 = load i32, ptr %31, align 4, !tbaa !37
  %267 = zext i32 %266 to i64
  %268 = getelementptr inbounds ptr, ptr %265, i64 %267
  %269 = load ptr, ptr %268, align 8, !tbaa !5
  store ptr %269, ptr %32, align 8, !tbaa !5
  %270 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #7
  %271 = load ptr, ptr %32, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.aiLight, ptr %271, i32 0, i32 0
  %273 = getelementptr inbounds %struct.aiString, ptr %272, i32 0, i32 1
  %274 = getelementptr inbounds [1024 x i8], ptr %273, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef %274, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %275 unwind label %285

275:                                              ; preds = %262
  %276 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %270, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %277 unwind label %289

277:                                              ; preds = %275
  %278 = getelementptr inbounds { ptr, i8 }, ptr %35, i32 0, i32 0
  %279 = extractvalue { ptr, i8 } %276, 0
  store ptr %279, ptr %278, align 8
  %280 = getelementptr inbounds { ptr, i8 }, ptr %35, i32 0, i32 1
  %281 = extractvalue { ptr, i8 } %276, 1
  store i8 %281, ptr %280, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %282

282:                                              ; preds = %277
  %283 = load i32, ptr %31, align 4, !tbaa !37
  %284 = add i32 %283, 1
  store i32 %284, ptr %31, align 4, !tbaa !37
  br label %255, !llvm.loop !64

285:                                              ; preds = %262
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %17, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %18, align 4
  br label %293

289:                                              ; preds = %275
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %17, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  br label %293

293:                                              ; preds = %289, %285
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %437

294:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %295 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 1144) #8
  store i1 true, ptr %39, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %296 unwind label %348

296:                                              ; preds = %294
  invoke void @_ZN6aiNodeC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1144) %295, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %297 unwind label %352

297:                                              ; preds = %296
  store i1 false, ptr %39, align 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #7
  store ptr %295, ptr %36, align 8, !tbaa !5
  %298 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #7
  %299 = load ptr, ptr %36, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.aiNode, ptr %299, i32 0, i32 0
  %301 = getelementptr inbounds %struct.aiString, ptr %300, i32 0, i32 1
  %302 = getelementptr inbounds [1024 x i8], ptr %301, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef %302, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %303 unwind label %360

303:                                              ; preds = %297
  %304 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %298, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %305 unwind label %364

305:                                              ; preds = %303
  %306 = getelementptr inbounds { ptr, i8 }, ptr %42, i32 0, i32 0
  %307 = extractvalue { ptr, i8 } %304, 0
  store ptr %307, ptr %306, align 8
  %308 = getelementptr inbounds { ptr, i8 }, ptr %42, i32 0, i32 1
  %309 = extractvalue { ptr, i8 } %304, 1
  store i8 %309, ptr %308, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 1028, ptr %43) #7
  %310 = load ptr, ptr %4, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.aiScene, ptr %310, i32 0, i32 1
  %312 = load ptr, ptr %311, align 8, !tbaa !38
  %313 = getelementptr inbounds %struct.aiNode, ptr %312, i32 0, i32 0
  call void @_ZN8aiStringC2ERKS_(ptr noundef nonnull align 4 dereferenceable(1028) %43, ptr noundef nonnull align 4 dereferenceable(1028) %313)
  %314 = load ptr, ptr %36, align 8, !tbaa !5
  %315 = load ptr, ptr %4, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.aiScene, ptr %315, i32 0, i32 1
  %317 = load ptr, ptr %316, align 8, !tbaa !38
  %318 = getelementptr inbounds %struct.aiNode, ptr %317, i32 0, i32 2
  store ptr %314, ptr %318, align 8, !tbaa !65
  %319 = load ptr, ptr %36, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.aiNode, ptr %319, i32 0, i32 3
  store i32 1, ptr %320, align 8, !tbaa !68
  %321 = call noalias noundef nonnull ptr @_Znam(i64 noundef 8) #8
  %322 = load ptr, ptr %36, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.aiNode, ptr %322, i32 0, i32 4
  store ptr %321, ptr %323, align 8, !tbaa !69
  %324 = load ptr, ptr %4, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.aiScene, ptr %324, i32 0, i32 1
  %326 = load ptr, ptr %325, align 8, !tbaa !38
  %327 = load ptr, ptr %36, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.aiNode, ptr %327, i32 0, i32 4
  %329 = load ptr, ptr %328, align 8, !tbaa !69
  %330 = getelementptr inbounds ptr, ptr %329, i64 0
  store ptr %326, ptr %330, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #7
  call void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  %331 = load ptr, ptr %36, align 8, !tbaa !5
  invoke void @_ZN6Assimp20OptimizeGraphProcess18CollectNewChildrenEP6aiNodeRNSt7__cxx114listIS2_SaIS2_EEE(ptr noundef nonnull align 8 dereferenceable(144) %45, ptr noundef %331, ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %332 unwind label %369

332:                                              ; preds = %305
  %333 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  %334 = icmp eq i64 %333, 1
  br i1 %334, label %337, label %335

335:                                              ; preds = %332
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 308)
          to label %336 unwind label %369

336:                                              ; preds = %335
  br label %337

337:                                              ; preds = %336, %332
  %338 = phi i1 [ true, %332 ], [ false, %336 ]
  %339 = load ptr, ptr %36, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.aiNode, ptr %339, i32 0, i32 3
  %341 = load i32, ptr %340, align 8, !tbaa !68
  %342 = icmp eq i32 %341, 0
  br i1 %342, label %343, label %377

343:                                              ; preds = %337
  %344 = load ptr, ptr %4, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.aiScene, ptr %344, i32 0, i32 1
  store ptr null, ptr %345, align 8, !tbaa !38
  %346 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %346, ptr noundef @.str.7)
          to label %347 unwind label %373

347:                                              ; preds = %343
  invoke void @__cxa_throw(ptr %346, ptr @_ZTI17DeadlyImportError, ptr @_ZNSt13runtime_errorD2Ev) #9
          to label %442 unwind label %369

348:                                              ; preds = %294
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %17, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %18, align 4
  br label %356

352:                                              ; preds = %296
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %17, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #7
  br label %356

356:                                              ; preds = %352, %348
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #7
  %357 = load i1, ptr %39, align 1
  br i1 %357, label %358, label %359

358:                                              ; preds = %356
  call void @_ZdlPvm(ptr noundef %295, i64 noundef 1144) #10
  br label %359

359:                                              ; preds = %358, %356
  br label %436

360:                                              ; preds = %297
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %17, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %18, align 4
  br label %368

364:                                              ; preds = %303
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %17, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  br label %368

368:                                              ; preds = %364, %360
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #7
  br label %436

369:                                              ; preds = %429, %427, %423, %421, %408, %382, %347, %335, %305
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %17, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %18, align 4
  br label %435

373:                                              ; preds = %343
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %17, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %18, align 4
  call void @__cxa_free_exception(ptr %346) #7
  br label %435

377:                                              ; preds = %337
  %378 = load ptr, ptr %36, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.aiNode, ptr %378, i32 0, i32 3
  %380 = load i32, ptr %379, align 8, !tbaa !68
  %381 = icmp ugt i32 %380, 1
  br i1 %381, label %382, label %392

382:                                              ; preds = %377
  %383 = load ptr, ptr %36, align 8, !tbaa !5
  %384 = load ptr, ptr %4, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.aiScene, ptr %384, i32 0, i32 1
  store ptr %383, ptr %385, align 8, !tbaa !38
  %386 = load ptr, ptr %4, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.aiScene, ptr %386, i32 0, i32 1
  %388 = load ptr, ptr %387, align 8, !tbaa !38
  %389 = getelementptr inbounds %struct.aiNode, ptr %388, i32 0, i32 0
  %390 = invoke noundef nonnull align 4 dereferenceable(1028) ptr @_ZN8aiStringaSERKS_(ptr noundef nonnull align 4 dereferenceable(1028) %389, ptr noundef nonnull align 4 dereferenceable(1028) %43)
          to label %391 unwind label %369

391:                                              ; preds = %382
  br label %408

392:                                              ; preds = %377
  %393 = load ptr, ptr %36, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.aiNode, ptr %393, i32 0, i32 4
  %395 = load ptr, ptr %394, align 8, !tbaa !69
  %396 = getelementptr inbounds ptr, ptr %395, i64 0
  %397 = load ptr, ptr %396, align 8, !tbaa !5
  %398 = load ptr, ptr %4, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.aiScene, ptr %398, i32 0, i32 1
  store ptr %397, ptr %399, align 8, !tbaa !38
  %400 = load ptr, ptr %36, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.aiNode, ptr %400, i32 0, i32 4
  %402 = load ptr, ptr %401, align 8, !tbaa !69
  %403 = getelementptr inbounds ptr, ptr %402, i64 0
  store ptr null, ptr %403, align 8, !tbaa !5
  %404 = load ptr, ptr %36, align 8, !tbaa !5
  %405 = icmp eq ptr %404, null
  br i1 %405, label %407, label %406

406:                                              ; preds = %392
  call void @_ZN6aiNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(1144) %404) #7
  call void @_ZdlPvm(ptr noundef %404, i64 noundef 1144) #10
  br label %407

407:                                              ; preds = %406, %392
  br label %408

408:                                              ; preds = %407, %391
  %409 = load ptr, ptr %4, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.aiScene, ptr %409, i32 0, i32 1
  %411 = load ptr, ptr %410, align 8, !tbaa !38
  %412 = getelementptr inbounds %struct.aiNode, ptr %411, i32 0, i32 2
  store ptr null, ptr %412, align 8, !tbaa !65
  %413 = invoke noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv()
          to label %414 unwind label %369

414:                                              ; preds = %408
  br i1 %413, label %432, label %415

415:                                              ; preds = %414
  %416 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 4
  %417 = load i32, ptr %416, align 8, !tbaa !32
  %418 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 5
  %419 = load i32, ptr %418, align 4, !tbaa !31
  %420 = icmp ne i32 %417, %419
  br i1 %420, label %421, label %427

421:                                              ; preds = %415
  %422 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %423 unwind label %369

423:                                              ; preds = %421
  %424 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 4
  %425 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 5
  invoke void @_ZN6Assimp6Logger4infoIJRA45_KcRjRA17_S2_S5_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %422, ptr noundef nonnull align 1 dereferenceable(45) @.str.8, ptr noundef nonnull align 4 dereferenceable(4) %424, ptr noundef nonnull align 1 dereferenceable(17) @.str.9, ptr noundef nonnull align 4 dereferenceable(4) %425)
          to label %426 unwind label %369

426:                                              ; preds = %423
  br label %431

427:                                              ; preds = %415
  %428 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %429 unwind label %369

429:                                              ; preds = %427
  invoke void @_ZN6Assimp6Logger5debugEPKc(ptr noundef nonnull align 8 dereferenceable(12) %428, ptr noundef @.str.10)
          to label %430 unwind label %369

430:                                              ; preds = %429
  br label %431

431:                                              ; preds = %430, %426
  br label %432

432:                                              ; preds = %431, %414
  %433 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 7
  call void @_ZNSt6vectorIjSaIjEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %433) #7
  %434 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %45, i32 0, i32 2
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %434) #7
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 1028, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  ret void

435:                                              ; preds = %373, %369
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 1028, ptr %43) #7
  br label %436

436:                                              ; preds = %435, %368, %359
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %437

437:                                              ; preds = %436, %293, %253, %209, %139
  %438 = load ptr, ptr %17, align 8
  %439 = load i32, ptr %18, align 4
  %440 = insertvalue { ptr, i32 } poison, ptr %438, 0
  %441 = insertvalue { ptr, i32 } %440, i32 %439, 1
  resume { ptr, i32 } %441

442:                                              ; preds = %347
  unreachable
}

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() #6

declare void @_ZN6Assimp6Logger5debugEPKc(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) #6

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertERKS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

declare void @_ZN6aiNodeC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1144), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv() #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger4infoIJRA45_KcRjRA17_S2_S5_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(45), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(17), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !26, i64 112}
!10 = !{!"_ZTSN6Assimp20OptimizeGraphProcessE", !11, i64 0, !6, i64 24, !12, i64 32, !21, i64 80, !26, i64 104, !26, i64 108, !26, i64 112, !27, i64 120}
!11 = !{!"_ZTSN6Assimp11BaseProcessE", !6, i64 8, !6, i64 16}
!12 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !13, i64 0}
!13 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !14, i64 0}
!14 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !15, i64 0, !17, i64 8}
!15 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !16, i64 0}
!16 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!17 = !{!"_ZTSSt15_Rb_tree_header", !18, i64 0, !20, i64 32}
!18 = !{!"_ZTSSt18_Rb_tree_node_base", !19, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!19 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSNSt7__cxx114listINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEE", !22, i64 0}
!22 = !{!"_ZTSNSt7__cxx1110_List_baseINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEE", !23, i64 0}
!23 = !{!"_ZTSNSt7__cxx1110_List_baseINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE10_List_implE", !24, i64 0}
!24 = !{!"_ZTSNSt8__detail17_List_node_headerE", !25, i64 0, !20, i64 16}
!25 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!26 = !{!"int", !7, i64 0}
!27 = !{!"_ZTSSt6vectorIjSaIjEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!10, !26, i64 108}
!32 = !{!10, !26, i64 104}
!33 = !{!10, !6, i64 24}
!34 = !{!35, !26, i64 16}
!35 = !{!"_ZTS7aiScene", !26, i64 0, !6, i64 8, !26, i64 16, !6, i64 24, !26, i64 32, !6, i64 40, !26, i64 48, !6, i64 56, !26, i64 64, !6, i64 72, !26, i64 80, !6, i64 88, !26, i64 96, !6, i64 104, !6, i64 112, !36, i64 120, !26, i64 1148, !6, i64 1152, !6, i64 1160}
!36 = !{!"_ZTS8aiString", !26, i64 0, !7, i64 4}
!37 = !{!26, !26, i64 0}
!38 = !{!35, !6, i64 8}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!35, !26, i64 48}
!42 = !{!35, !6, i64 56}
!43 = !{!44, !26, i64 1048}
!44 = !{!"_ZTS11aiAnimation", !36, i64 0, !45, i64 1032, !45, i64 1040, !26, i64 1048, !6, i64 1056, !26, i64 1064, !6, i64 1072, !26, i64 1080, !6, i64 1088}
!45 = !{!"double", !7, i64 0}
!46 = !{!44, !6, i64 1056}
!47 = distinct !{!47, !40}
!48 = distinct !{!48, !40}
!49 = !{!35, !6, i64 24}
!50 = !{!51, !26, i64 216}
!51 = !{!"_ZTS6aiMesh", !26, i64 0, !26, i64 4, !26, 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, !26, i64 216, !6, i64 224, !26, i64 232, !36, i64 236, !26, i64 1264, !6, i64 1272, !52, i64 1280, !53, i64 1284, !6, i64 1312}
!52 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!53 = !{!"_ZTS6aiAABB", !54, i64 0, !54, i64 12}
!54 = !{!"_ZTS10aiVector3tIfE", !55, i64 0, !55, i64 4, !55, i64 8}
!55 = !{!"float", !7, i64 0}
!56 = !{!51, !6, i64 224}
!57 = distinct !{!57, !40}
!58 = distinct !{!58, !40}
!59 = !{!35, !26, i64 96}
!60 = !{!35, !6, i64 104}
!61 = distinct !{!61, !40}
!62 = !{!35, !26, i64 80}
!63 = !{!35, !6, i64 88}
!64 = distinct !{!64, !40}
!65 = !{!66, !6, i64 1096}
!66 = !{!"_ZTS6aiNode", !36, i64 0, !67, i64 1028, !6, i64 1096, !26, i64 1104, !6, i64 1112, !26, i64 1120, !6, i64 1128, !6, i64 1136}
!67 = !{!"_ZTS12aiMatrix4x4tIfE", !55, i64 0, !55, i64 4, !55, i64 8, !55, i64 12, !55, i64 16, !55, i64 20, !55, i64 24, !55, i64 28, !55, i64 32, !55, i64 36, !55, i64 40, !55, i64 44, !55, i64 48, !55, i64 52, !55, i64 56, !55, i64 60}
!68 = !{!66, !26, i64 1104}
!69 = !{!66, !6, i64 1112}


; 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"

%"struct.std::_List_const_iterator.14" = type { ptr }
%"struct.std::_List_iterator.15" = type { 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::allocator.6" = type { i8 }
%struct.aiString = type { i32, [1024 x i8] }
%"class.std::__cxx11::list.9" = type { %"class.std::__cxx11::_List_base.10" }
%"class.std::__cxx11::_List_base.10" = type { %"struct.std::__cxx11::_List_base<aiNode *, std::allocator<aiNode *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<aiNode *, std::allocator<aiNode *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZTI17DeadlyImportError = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.8 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN6aiNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(1144)) unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 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 @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp20OptimizeGraphProcess7ExecuteEP7aiScene(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::_List_const_iterator.14", align 8
  %5 = alloca %"struct.std::_List_iterator.15", align 8
  %6 = alloca %"struct.std::_List_const_iterator.14", align 8
  %7 = alloca %"struct.std::_List_iterator.15", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator.6", align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.6", align 1
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator.6", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.6", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.6", align 1
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.6", align 1
  %20 = alloca %struct.aiString, align 4
  %21 = alloca %"class.std::__cxx11::list.9", align 8
  %22 = tail call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  tail call void @_ZN6Assimp6Logger5debugEPKc(ptr noundef nonnull align 8 dereferenceable(12) %22, ptr noundef nonnull @.str.3)
  %23 = getelementptr inbounds i8, ptr %0, i64 112
  store i32 0, ptr %23, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %0, i64 108
  store i32 0, ptr %24, align 4, !tbaa !30
  %25 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 0, ptr %25, align 8, !tbaa !31
  %26 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %1, ptr %26, align 8, !tbaa !32
  %27 = getelementptr inbounds i8, ptr %0, i64 120
  %28 = getelementptr inbounds i8, ptr %1, i64 16
  %29 = load i32, ptr %28, align 8, !tbaa !33
  %30 = zext i32 %29 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  store i32 0, ptr %3, align 4, !tbaa !36
  call void @_ZNSt6vectorIjSaIjEE6resizeEmRKj(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %30, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  %31 = getelementptr inbounds i8, ptr %1, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !37
  call void @_ZN6Assimp20OptimizeGraphProcess19FindInstancedMeshesEP6aiNode(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef %32)
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %34 = getelementptr inbounds i8, ptr %0, i64 80
  %35 = call ptr @_ZNSt7__cxx114listINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  store ptr %35, ptr %5, align 8
  call void @_ZNSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2ERKSt14_List_iteratorIS5_E(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %36 = call ptr @_ZNSt7__cxx114listINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  store ptr %36, ptr %7, align 8
  call void @_ZNSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2ERKSt14_List_iteratorIS5_E(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %37 = call noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br i1 %37, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %38 = getelementptr inbounds i8, ptr %1, i64 48
  %39 = load i32, ptr %38, align 8, !tbaa !38
  %.not = icmp eq i32 %39, 0
  br i1 %.not, label %.preheader105, label %.preheader106.lr.ph

.preheader106.lr.ph:                              ; preds = %._crit_edge
  %40 = getelementptr inbounds i8, ptr %1, i64 56
  %.pre = load ptr, ptr %40, align 8, !tbaa !39
  br label %.preheader106

.lr.ph:                                           ; preds = %2, %.lr.ph
  %41 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %42 = call { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull align 8 dereferenceable(32) %41)
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %44 = call ptr @_ZNSt7__cxx114listINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  store ptr %44, ptr %7, align 8
  call void @_ZNSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2ERKSt14_List_iteratorIS5_E(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %45 = call noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br i1 %45, label %.lr.ph, label %._crit_edge, !llvm.loop !40

.preheader106:                                    ; preds = %.preheader106.lr.ph, %._crit_edge109
  %46 = phi i32 [ %39, %.preheader106.lr.ph ], [ %54, %._crit_edge109 ]
  %47 = phi ptr [ %.pre, %.preheader106.lr.ph ], [ %55, %._crit_edge109 ]
  %indvars.iv126 = phi i64 [ 0, %.preheader106.lr.ph ], [ %indvars.iv.next127, %._crit_edge109 ]
  %48 = getelementptr inbounds ptr, ptr %47, i64 %indvars.iv126
  %49 = load ptr, ptr %48, align 8, !tbaa !42
  %50 = getelementptr inbounds i8, ptr %49, i64 1048
  %51 = load i32, ptr %50, align 8, !tbaa !43
  %.not120 = icmp eq i32 %51, 0
  br i1 %.not120, label %._crit_edge109, label %.lr.ph108

.preheader105:                                    ; preds = %._crit_edge109, %._crit_edge
  %52 = load i32, ptr %28, align 8, !tbaa !33
  %.not121 = icmp eq i32 %52, 0
  br i1 %.not121, label %.preheader103, label %.preheader104.lr.ph

.preheader104.lr.ph:                              ; preds = %.preheader105
  %53 = getelementptr inbounds i8, ptr %1, i64 24
  %.pre142 = load ptr, ptr %53, align 8, !tbaa !46
  br label %.preheader104

._crit_edge109.loopexit:                          ; preds = %66
  %.pre141 = load i32, ptr %38, align 8, !tbaa !38
  br label %._crit_edge109

._crit_edge109:                                   ; preds = %._crit_edge109.loopexit, %.preheader106
  %54 = phi i32 [ %.pre141, %._crit_edge109.loopexit ], [ %46, %.preheader106 ]
  %55 = phi ptr [ %67, %._crit_edge109.loopexit ], [ %47, %.preheader106 ]
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %56 = zext i32 %54 to i64
  %57 = icmp ult i64 %indvars.iv.next127, %56
  br i1 %57, label %.preheader106, label %.preheader105, !llvm.loop !47

.lr.ph108:                                        ; preds = %.preheader106, %66
  %indvars.iv = phi i64 [ %indvars.iv.next, %66 ], [ 0, %.preheader106 ]
  %58 = phi ptr [ %69, %66 ], [ %49, %.preheader106 ]
  %59 = getelementptr inbounds i8, ptr %58, i64 1056
  %60 = load ptr, ptr %59, align 8, !tbaa !48
  %61 = getelementptr inbounds ptr, ptr %60, i64 %indvars.iv
  %62 = load ptr, ptr %61, align 8, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  %63 = getelementptr inbounds i8, ptr %62, i64 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull %63, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %64 unwind label %74

64:                                               ; preds = %.lr.ph108
  %65 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %66 unwind label %76

66:                                               ; preds = %64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %67 = load ptr, ptr %40, align 8, !tbaa !39
  %68 = getelementptr inbounds ptr, ptr %67, i64 %indvars.iv126
  %69 = load ptr, ptr %68, align 8, !tbaa !42
  %70 = getelementptr inbounds i8, ptr %69, i64 1048
  %71 = load i32, ptr %70, align 8, !tbaa !43
  %72 = zext i32 %71 to i64
  %73 = icmp ult i64 %indvars.iv.next, %72
  br i1 %73, label %.lr.ph108, label %._crit_edge109.loopexit, !llvm.loop !49

74:                                               ; preds = %.lr.ph108
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %64
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %78

78:                                               ; preds = %76, %74
  %.pn100 = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %208

.preheader104:                                    ; preds = %.preheader104.lr.ph, %._crit_edge113
  %79 = phi i32 [ %52, %.preheader104.lr.ph ], [ %88, %._crit_edge113 ]
  %80 = phi ptr [ %.pre142, %.preheader104.lr.ph ], [ %89, %._crit_edge113 ]
  %indvars.iv132 = phi i64 [ 0, %.preheader104.lr.ph ], [ %indvars.iv.next133, %._crit_edge113 ]
  %81 = getelementptr inbounds ptr, ptr %80, i64 %indvars.iv132
  %82 = load ptr, ptr %81, align 8, !tbaa !42
  %83 = getelementptr inbounds i8, ptr %82, i64 216
  %84 = load i32, ptr %83, align 8, !tbaa !50
  %.not122 = icmp eq i32 %84, 0
  br i1 %.not122, label %._crit_edge113, label %.lr.ph112

.preheader103:                                    ; preds = %._crit_edge113, %.preheader105
  %85 = getelementptr inbounds i8, ptr %1, i64 96
  %86 = load i32, ptr %85, align 8, !tbaa !56
  %.not123 = icmp eq i32 %86, 0
  br i1 %.not123, label %.preheader, label %.lr.ph116

.lr.ph116:                                        ; preds = %.preheader103
  %87 = getelementptr inbounds i8, ptr %1, i64 104
  br label %119

._crit_edge113.loopexit:                          ; preds = %100
  %.pre143 = load i32, ptr %28, align 8, !tbaa !33
  br label %._crit_edge113

._crit_edge113:                                   ; preds = %._crit_edge113.loopexit, %.preheader104
  %88 = phi i32 [ %.pre143, %._crit_edge113.loopexit ], [ %79, %.preheader104 ]
  %89 = phi ptr [ %104, %._crit_edge113.loopexit ], [ %80, %.preheader104 ]
  %indvars.iv.next133 = add nuw nsw i64 %indvars.iv132, 1
  %90 = zext i32 %88 to i64
  %91 = icmp ult i64 %indvars.iv.next133, %90
  br i1 %91, label %.preheader104, label %.preheader103, !llvm.loop !57

.lr.ph112:                                        ; preds = %.preheader104, %100
  %indvars.iv129 = phi i64 [ %indvars.iv.next130, %100 ], [ 0, %.preheader104 ]
  %92 = phi ptr [ %106, %100 ], [ %82, %.preheader104 ]
  %93 = getelementptr inbounds i8, ptr %92, i64 224
  %94 = load ptr, ptr %93, align 8, !tbaa !58
  %95 = getelementptr inbounds ptr, ptr %94, i64 %indvars.iv129
  %96 = load ptr, ptr %95, align 8, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  %97 = getelementptr inbounds i8, ptr %96, i64 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull %97, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %98 unwind label %111

98:                                               ; preds = %.lr.ph112
  %99 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %100 unwind label %113

100:                                              ; preds = %98
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv132) #7
  %102 = load i32, ptr %101, align 4, !tbaa !36
  %103 = add i32 %102, 2
  store i32 %103, ptr %101, align 4, !tbaa !36
  %indvars.iv.next130 = add nuw nsw i64 %indvars.iv129, 1
  %104 = load ptr, ptr %53, align 8, !tbaa !46
  %105 = getelementptr inbounds ptr, ptr %104, i64 %indvars.iv132
  %106 = load ptr, ptr %105, align 8, !tbaa !42
  %107 = getelementptr inbounds i8, ptr %106, i64 216
  %108 = load i32, ptr %107, align 8, !tbaa !50
  %109 = zext i32 %108 to i64
  %110 = icmp ult i64 %indvars.iv.next130, %109
  br i1 %110, label %.lr.ph112, label %._crit_edge113.loopexit, !llvm.loop !59

111:                                              ; preds = %.lr.ph112
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %115

113:                                              ; preds = %98
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %115

115:                                              ; preds = %113, %111
  %.pn98 = phi { ptr, i32 } [ %114, %113 ], [ %112, %111 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %208

.preheader:                                       ; preds = %126, %.preheader103
  %116 = getelementptr inbounds i8, ptr %1, i64 80
  %117 = load i32, ptr %116, align 8, !tbaa !60
  %.not124 = icmp eq i32 %117, 0
  br i1 %.not124, label %._crit_edge119, label %.lr.ph118

.lr.ph118:                                        ; preds = %.preheader
  %118 = getelementptr inbounds i8, ptr %1, i64 88
  br label %136

119:                                              ; preds = %.lr.ph116, %126
  %indvars.iv135 = phi i64 [ 0, %.lr.ph116 ], [ %indvars.iv.next136, %126 ]
  %120 = load ptr, ptr %87, align 8, !tbaa !61
  %121 = getelementptr inbounds ptr, ptr %120, i64 %indvars.iv135
  %122 = load ptr, ptr %121, align 8, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  %123 = getelementptr inbounds i8, ptr %122, i64 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull %123, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %124 unwind label %130

124:                                              ; preds = %119
  %125 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %126 unwind label %132

126:                                              ; preds = %124
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  %indvars.iv.next136 = add nuw nsw i64 %indvars.iv135, 1
  %127 = load i32, ptr %85, align 8, !tbaa !56
  %128 = zext i32 %127 to i64
  %129 = icmp ult i64 %indvars.iv.next136, %128
  br i1 %129, label %119, label %.preheader, !llvm.loop !62

130:                                              ; preds = %119
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %134

132:                                              ; preds = %124
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %134

134:                                              ; preds = %132, %130
  %.pn96 = phi { ptr, i32 } [ %133, %132 ], [ %131, %130 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  br label %208

._crit_edge119:                                   ; preds = %143, %.preheader
  %135 = call noalias noundef nonnull dereferenceable(1144) ptr @_Znwm(i64 noundef 1144) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %152 unwind label %173

136:                                              ; preds = %.lr.ph118, %143
  %indvars.iv138 = phi i64 [ 0, %.lr.ph118 ], [ %indvars.iv.next139, %143 ]
  %137 = load ptr, ptr %118, align 8, !tbaa !63
  %138 = getelementptr inbounds ptr, ptr %137, i64 %indvars.iv138
  %139 = load ptr, ptr %138, align 8, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #7
  %140 = getelementptr inbounds i8, ptr %139, i64 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull %140, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %141 unwind label %147

141:                                              ; preds = %136
  %142 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %143 unwind label %149

143:                                              ; preds = %141
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %144 = load i32, ptr %116, align 8, !tbaa !60
  %145 = zext i32 %144 to i64
  %146 = icmp ult i64 %indvars.iv.next139, %145
  br i1 %146, label %136, label %._crit_edge119, !llvm.loop !64

147:                                              ; preds = %136
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %151

149:                                              ; preds = %141
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %151

151:                                              ; preds = %149, %147
  %.pn94 = phi { ptr, i32 } [ %150, %149 ], [ %148, %147 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  br label %208

152:                                              ; preds = %._crit_edge119
  invoke void @_ZN6aiNodeC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1144) %135, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %153 unwind label %175

153:                                              ; preds = %152
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #7
  %154 = getelementptr inbounds i8, ptr %135, i64 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull %154, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %155 unwind label %178

155:                                              ; preds = %153
  %156 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %157 unwind label %180

157:                                              ; preds = %155
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 1028, ptr nonnull %20) #7
  %158 = load ptr, ptr %31, align 8, !tbaa !37
  call void @_ZN8aiStringC2ERKS_(ptr noundef nonnull align 4 dereferenceable(1028) %20, ptr noundef nonnull align 4 dereferenceable(1028) %158)
  %159 = load ptr, ptr %31, align 8, !tbaa !37
  %160 = getelementptr inbounds i8, ptr %159, i64 1096
  store ptr %135, ptr %160, align 8, !tbaa !65
  %161 = getelementptr inbounds i8, ptr %135, i64 1104
  store i32 1, ptr %161, align 8, !tbaa !68
  %162 = call noalias noundef nonnull dereferenceable(8) ptr @_Znam(i64 noundef 8) #8
  %163 = getelementptr inbounds i8, ptr %135, i64 1112
  store ptr %162, ptr %163, align 8, !tbaa !69
  store ptr %159, ptr %162, align 8, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #7
  call void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  invoke void @_ZN6Assimp20OptimizeGraphProcess18CollectNewChildrenEP6aiNodeRNSt7__cxx114listIS2_SaIS2_EEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull %135, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %164 unwind label %183

164:                                              ; preds = %157
  %165 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  %166 = icmp eq i64 %165, 1
  br i1 %166, label %168, label %167

167:                                              ; preds = %164
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, i32 noundef 308)
          to label %168 unwind label %183

168:                                              ; preds = %167, %164
  %169 = load i32, ptr %161, align 8, !tbaa !68
  switch i32 %169, label %187 [
    i32 0, label %170
    i32 1, label %189
  ]

170:                                              ; preds = %168
  store ptr null, ptr %31, align 8, !tbaa !37
  %171 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %171, ptr noundef nonnull @.str.7)
          to label %172 unwind label %185

172:                                              ; preds = %170
  invoke void @__cxa_throw(ptr nonnull %171, ptr nonnull @_ZTI17DeadlyImportError, ptr nonnull @_ZNSt13runtime_errorD2Ev) #9
          to label %209 unwind label %183

173:                                              ; preds = %._crit_edge119
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %177

175:                                              ; preds = %152
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %177

177:                                              ; preds = %175, %173
  %.pn = phi { ptr, i32 } [ %176, %175 ], [ %174, %173 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  call void @_ZdlPvm(ptr noundef nonnull %135, i64 noundef 1144) #10
  br label %208

178:                                              ; preds = %153
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %182

180:                                              ; preds = %155
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %182

182:                                              ; preds = %180, %178
  %.pn88 = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  br label %208

183:                                              ; preds = %205, %203, %202, %200, %192, %172, %167, %157
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %207

185:                                              ; preds = %170
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %171) #7
  br label %207

187:                                              ; preds = %168
  store ptr %135, ptr %31, align 8, !tbaa !37
  %188 = call noundef nonnull align 4 dereferenceable(1028) ptr @_ZN8aiStringaSERKS_(ptr noundef nonnull align 4 dereferenceable(1028) %135, ptr noundef nonnull align 4 dereferenceable(1028) %20)
  br label %192

189:                                              ; preds = %168
  %190 = load ptr, ptr %163, align 8, !tbaa !69
  %191 = load ptr, ptr %190, align 8, !tbaa !42
  store ptr %191, ptr %31, align 8, !tbaa !37
  store ptr null, ptr %190, align 8, !tbaa !42
  call void @_ZN6aiNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(1144) %135) #7
  call void @_ZdlPvm(ptr noundef nonnull %135, i64 noundef 1144) #10
  br label %192

192:                                              ; preds = %189, %187
  %193 = load ptr, ptr %31, align 8, !tbaa !37
  %194 = getelementptr inbounds i8, ptr %193, i64 1096
  store ptr null, ptr %194, align 8, !tbaa !65
  %195 = invoke noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv()
          to label %196 unwind label %183

196:                                              ; preds = %192
  br i1 %195, label %206, label %197

197:                                              ; preds = %196
  %198 = load i32, ptr %25, align 8, !tbaa !31
  %199 = load i32, ptr %24, align 4, !tbaa !30
  %.not90 = icmp eq i32 %198, %199
  br i1 %.not90, label %203, label %200

200:                                              ; preds = %197
  %201 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %202 unwind label %183

202:                                              ; preds = %200
  invoke void @_ZN6Assimp6Logger4infoIJRA45_KcRjRA17_S2_S5_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %201, ptr noundef nonnull align 1 dereferenceable(45) @.str.8, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 1 dereferenceable(17) @.str.9, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %206 unwind label %183

203:                                              ; preds = %197
  %204 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %205 unwind label %183

205:                                              ; preds = %203
  invoke void @_ZN6Assimp6Logger5debugEPKc(ptr noundef nonnull align 8 dereferenceable(12) %204, ptr noundef nonnull @.str.10)
          to label %206 unwind label %183

206:                                              ; preds = %202, %205, %196
  call void @_ZNSt6vectorIjSaIjEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %33) #7
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 1028, ptr nonnull %20) #7
  ret void

207:                                              ; preds = %185, %183
  %.pn91 = phi { ptr, i32 } [ %184, %183 ], [ %186, %185 ]
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 1028, ptr nonnull %20) #7
  br label %208

208:                                              ; preds = %182, %207, %177, %151, %134, %115, %78
  %.pn100.pn = phi { ptr, i32 } [ %.pn100, %78 ], [ %.pn98, %115 ], [ %.pn96, %134 ], [ %.pn94, %151 ], [ %.pn91, %207 ], [ %.pn88, %182 ], [ %.pn, %177 ]
  resume { ptr, i32 } %.pn100.pn

209:                                              ; preds = %172
  unreachable
}

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() local_unnamed_addr #6

declare void @_ZN6Assimp6Logger5debugEPKc(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) local_unnamed_addr #6

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN6aiNodeC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1144), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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 #3

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

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

declare noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger4infoIJRA45_KcRjRA17_S2_S5_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(45), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(17), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !25, i64 112}
!6 = !{!"_ZTSN6Assimp20OptimizeGraphProcessE", !7, i64 0, !8, i64 24, !11, i64 32, !20, i64 80, !25, i64 104, !25, i64 108, !25, i64 112, !26, i64 120}
!7 = !{!"_ZTSN6Assimp11BaseProcessE", !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !12, i64 0}
!12 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !13, i64 0}
!13 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !14, i64 0, !16, i64 8}
!14 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !15, i64 0}
!15 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!16 = !{!"_ZTSSt15_Rb_tree_header", !17, i64 0, !19, i64 32}
!17 = !{!"_ZTSSt18_Rb_tree_node_base", !18, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!18 = !{!"_ZTSSt14_Rb_tree_color", !9, i64 0}
!19 = !{!"long", !9, i64 0}
!20 = !{!"_ZTSNSt7__cxx114listINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEE", !21, i64 0}
!21 = !{!"_ZTSNSt7__cxx1110_List_baseINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEE", !22, i64 0}
!22 = !{!"_ZTSNSt7__cxx1110_List_baseINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE10_List_implE", !23, i64 0}
!23 = !{!"_ZTSNSt8__detail17_List_node_headerE", !24, i64 0, !19, i64 16}
!24 = !{!"_ZTSNSt8__detail15_List_node_baseE", !8, i64 0, !8, i64 8}
!25 = !{!"int", !9, i64 0}
!26 = !{!"_ZTSSt6vectorIjSaIjEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!30 = !{!6, !25, i64 108}
!31 = !{!6, !25, i64 104}
!32 = !{!6, !8, i64 24}
!33 = !{!34, !25, i64 16}
!34 = !{!"_ZTS7aiScene", !25, i64 0, !8, i64 8, !25, i64 16, !8, i64 24, !25, i64 32, !8, i64 40, !25, i64 48, !8, i64 56, !25, i64 64, !8, i64 72, !25, i64 80, !8, i64 88, !25, i64 96, !8, i64 104, !8, i64 112, !35, i64 120, !25, i64 1148, !8, i64 1152, !8, i64 1160}
!35 = !{!"_ZTS8aiString", !25, i64 0, !9, i64 4}
!36 = !{!25, !25, i64 0}
!37 = !{!34, !8, i64 8}
!38 = !{!34, !25, i64 48}
!39 = !{!34, !8, i64 56}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!8, !8, i64 0}
!43 = !{!44, !25, i64 1048}
!44 = !{!"_ZTS11aiAnimation", !35, i64 0, !45, i64 1032, !45, i64 1040, !25, i64 1048, !8, i64 1056, !25, i64 1064, !8, i64 1072, !25, i64 1080, !8, i64 1088}
!45 = !{!"double", !9, i64 0}
!46 = !{!34, !8, i64 24}
!47 = distinct !{!47, !41}
!48 = !{!44, !8, i64 1056}
!49 = distinct !{!49, !41}
!50 = !{!51, !25, i64 216}
!51 = !{!"_ZTS6aiMesh", !25, i64 0, !25, i64 4, !25, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !9, i64 48, !9, i64 112, !9, i64 176, !8, i64 208, !25, i64 216, !8, i64 224, !25, i64 232, !35, i64 236, !25, i64 1264, !8, i64 1272, !52, i64 1280, !53, i64 1284, !8, i64 1312}
!52 = !{!"_ZTS16aiMorphingMethod", !9, i64 0}
!53 = !{!"_ZTS6aiAABB", !54, i64 0, !54, i64 12}
!54 = !{!"_ZTS10aiVector3tIfE", !55, i64 0, !55, i64 4, !55, i64 8}
!55 = !{!"float", !9, i64 0}
!56 = !{!34, !25, i64 96}
!57 = distinct !{!57, !41}
!58 = !{!51, !8, i64 224}
!59 = distinct !{!59, !41}
!60 = !{!34, !25, i64 80}
!61 = !{!34, !8, i64 104}
!62 = distinct !{!62, !41}
!63 = !{!34, !8, i64 88}
!64 = distinct !{!64, !41}
!65 = !{!66, !8, i64 1096}
!66 = !{!"_ZTS6aiNode", !35, i64 0, !67, i64 1028, !8, i64 1096, !25, i64 1104, !8, i64 1112, !25, i64 1120, !8, i64 1128, !8, i64 1136}
!67 = !{!"_ZTS12aiMatrix4x4tIfE", !55, i64 0, !55, i64 4, !55, i64 8, !55, i64 12, !55, i64 16, !55, i64 20, !55, i64 24, !55, i64 28, !55, i64 32, !55, i64 36, !55, i64 40, !55, i64 44, !55, i64 48, !55, i64 52, !55, i64 56, !55, i64 60}
!68 = !{!66, !25, i64 1104}
!69 = !{!66, !8, i64 1112}


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