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

%"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 }
%"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.std::_List_iterator" = type { ptr }
%class.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%"struct.std::_List_const_iterator" = type { ptr }
%class.aiMatrix3x3t = type { float, float, float, float, float, float, float, float, float }
%struct.aiNode = type { %struct.aiString, %class.aiMatrix4x4t, ptr, i32, ptr, i32, ptr, ptr }
%struct.aiString = type { i32, [1024 x i8] }
%"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.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 }

@.str.2 = external hidden unnamed_addr constant [15 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
define dso_local void @_ZN6Assimp20OptimizeGraphProcess18CollectNewChildrenEP6aiNodeRNSt7__cxx114listIS2_SaIS2_EEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::__cxx11::list.9", align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator.6", align 1
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = alloca %"struct.std::_List_iterator", align 8
  %16 = alloca %"struct.std::_List_iterator", align 8
  %17 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.6", align 1
  %20 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %21 = alloca %class.aiMatrix4x4t, align 4
  %22 = alloca %"struct.std::_List_iterator", align 8
  %23 = alloca %"struct.std::_List_const_iterator", align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca %class.aiMatrix4x4t, align 4
  %27 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %28 = alloca %"class.std::__cxx11::list.9", align 8
  %29 = alloca %"struct.std::_List_iterator", align 8
  %30 = alloca %"struct.std::_List_iterator", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca i1, align 1
  %35 = alloca %"class.std::allocator.6", align 1
  %36 = alloca i1, align 1
  %37 = alloca i1, align 1
  %38 = alloca i1, align 1
  %39 = alloca i32, align 4
  %40 = alloca %class.aiMatrix4x4t, align 4
  %41 = alloca %"struct.std::_List_iterator", align 8
  %42 = alloca %"struct.std::_List_const_iterator", align 8
  %43 = alloca i32, align 4
  %44 = alloca %"struct.std::_List_const_iterator", align 8
  %45 = alloca %"struct.std::_List_const_iterator", align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca i32, align 4
  %49 = alloca ptr, align 8
  %50 = alloca %"struct.std::_List_iterator", align 8
  %51 = alloca %"struct.std::_List_iterator", align 8
  %52 = alloca ptr, align 8
  %53 = alloca i32, align 4
  %54 = alloca ptr, align 8
  %55 = alloca %class.aiMatrix3x3t, align 4
  %56 = alloca %class.aiMatrix3x3t, align 4
  %57 = alloca i32, align 4
  %58 = alloca ptr, align 8
  %59 = alloca %"struct.std::_List_iterator", align 8
  %60 = alloca %"struct.std::_List_iterator", align 8
  %61 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %62 = load ptr, ptr %4, align 8
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.aiNode, ptr %63, i32 0, i32 3
  %65 = load i32, ptr %64, align 8, !tbaa !9
  %66 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 4
  %67 = load i32, ptr %66, align 8, !tbaa !15
  %68 = add i32 %67, %65
  store i32 %68, ptr %66, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #12
  call void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #12
  store i32 0, ptr %8, align 4, !tbaa !36
  br label %69

69:                                               ; preds = %91, %3
  %70 = load i32, ptr %8, align 4, !tbaa !36
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.aiNode, ptr %71, i32 0, i32 3
  %73 = load i32, ptr %72, align 8, !tbaa !9
  %74 = icmp ult i32 %70, %73
  br i1 %74, label %76, label %75

75:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #12
  br label %98

76:                                               ; preds = %69
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.aiNode, ptr %77, i32 0, i32 4
  %79 = load ptr, ptr %78, align 8, !tbaa !37
  %80 = load i32, ptr %8, align 4, !tbaa !36
  %81 = zext i32 %80 to i64
  %82 = getelementptr inbounds ptr, ptr %79, i64 %81
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  invoke void @_ZN6Assimp20OptimizeGraphProcess18CollectNewChildrenEP6aiNodeRNSt7__cxx114listIS2_SaIS2_EEE(ptr noundef nonnull align 8 dereferenceable(144) %62, ptr noundef %83, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %84 unwind label %94

84:                                               ; preds = %76
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.aiNode, ptr %85, i32 0, i32 4
  %87 = load ptr, ptr %86, align 8, !tbaa !37
  %88 = load i32, ptr %8, align 4, !tbaa !36
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds ptr, ptr %87, i64 %89
  store ptr null, ptr %90, align 8, !tbaa !5
  br label %91

91:                                               ; preds = %84
  %92 = load i32, ptr %8, align 4, !tbaa !36
  %93 = add i32 %92, 1
  store i32 %93, ptr %8, align 4, !tbaa !36
  br label %69, !llvm.loop !38

94:                                               ; preds = %76
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %9, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #12
  br label %637

98:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #12
  %99 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #12
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.aiNode, ptr %100, i32 0, i32 0
  %102 = getelementptr inbounds %struct.aiString, ptr %101, i32 0, i32 1
  %103 = getelementptr inbounds [1024 x i8], ptr %102, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef %103, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %104 unwind label %120

104:                                              ; preds = %98
  %105 = invoke ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4findERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %99, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %106 unwind label %124

106:                                              ; preds = %104
  %107 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %11, i32 0, i32 0
  store ptr %105, ptr %107, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #12
  %108 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 2
  %109 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %108) #12
  %110 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %14, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  %111 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %14) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #12
  br i1 %111, label %112, label %201

112:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #12
  %113 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %114 = getelementptr inbounds %"struct.std::_List_iterator", ptr %15, i32 0, i32 0
  store ptr %113, ptr %114, align 8
  br label %115

115:                                              ; preds = %178, %156, %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #12
  %116 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %117 = getelementptr inbounds %"struct.std::_List_iterator", ptr %16, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  %118 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #12
  br i1 %118, label %129, label %119

119:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #12
  br label %181

120:                                              ; preds = %98
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %9, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %10, align 4
  br label %128

124:                                              ; preds = %104
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %9, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  br label %128

128:                                              ; preds = %124, %120
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #12
  br label %637

129:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #12
  %130 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #12
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #12
  %132 = load ptr, ptr %131, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.aiNode, ptr %132, i32 0, i32 0
  %134 = getelementptr inbounds %struct.aiString, ptr %133, i32 0, i32 1
  %135 = getelementptr inbounds [1024 x i8], ptr %134, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %135, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %136 unwind label %161

136:                                              ; preds = %129
  %137 = invoke ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4findERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %130, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %138 unwind label %165

138:                                              ; preds = %136
  %139 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %17, i32 0, i32 0
  store ptr %137, ptr %139, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #12
  %140 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 2
  %141 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %140) #12
  %142 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %20, i32 0, i32 0
  store ptr %141, ptr %142, align 8
  %143 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %20) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #12
  br i1 %143, label %144, label %178

144:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #12
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.aiNode, ptr %145, i32 0, i32 1
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #12
  %148 = load ptr, ptr %147, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.aiNode, ptr %148, i32 0, i32 1
  invoke void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind writable sret(%class.aiMatrix4x4t) align 4 %21, ptr noundef nonnull align 4 dereferenceable(64) %146, ptr noundef nonnull align 4 dereferenceable(64) %149)
          to label %150 unwind label %170

150:                                              ; preds = %144
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #12
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.aiNode, ptr %152, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %153, ptr align 4 %21, i64 64, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #12
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #12
  invoke void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %154, ptr noundef nonnull align 8 dereferenceable(8) %155)
          to label %156 unwind label %174

156:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #12
  call void @_ZNSt20_List_const_iteratorIP6aiNodeEC2ERKSt14_List_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %15) #12
  %157 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %23, i32 0, i32 0
  %158 = load ptr, ptr %157, align 8
  %159 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr %158) #12
  %160 = getelementptr inbounds %"struct.std::_List_iterator", ptr %22, i32 0, i32 0
  store ptr %159, ptr %160, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !42
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #12
  br label %115, !llvm.loop !43

161:                                              ; preds = %129
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %9, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %10, align 4
  br label %169

165:                                              ; preds = %136
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %9, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  br label %169

169:                                              ; preds = %165, %161
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #12
  br label %180

170:                                              ; preds = %144
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %9, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #12
  br label %180

174:                                              ; preds = %150
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %9, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %10, align 4
  br label %180

178:                                              ; preds = %138
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #12
  br label %115, !llvm.loop !43

180:                                              ; preds = %174, %170, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #12
  br label %637

181:                                              ; preds = %119
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.aiNode, ptr %182, i32 0, i32 5
  %184 = load i32, ptr %183, align 8, !tbaa !44
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %188, label %186

186:                                              ; preds = %181
  %187 = call noundef zeroext i1 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  br i1 %187, label %195, label %188

188:                                              ; preds = %186, %181
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %189, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %190 unwind label %191

190:                                              ; preds = %188
  br label %200

191:                                              ; preds = %583, %201, %188
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %9, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %10, align 4
  br label %637

195:                                              ; preds = %186
  %196 = load ptr, ptr %5, align 8, !tbaa !5
  %197 = icmp eq ptr %196, null
  br i1 %197, label %199, label %198

198:                                              ; preds = %195
  call void @_ZN6aiNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(1144) %196) #12
  call void @_ZdlPvm(ptr noundef %196, i64 noundef 1144) #13
  br label %199

199:                                              ; preds = %198, %195
  store i32 1, ptr %24, align 4
  br label %634

200:                                              ; preds = %190
  br label %566

201:                                              ; preds = %106
  %202 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %202, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %203 unwind label %191

203:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #12
  store ptr null, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #12
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %26) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #12
  %204 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 2
  %205 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %204) #12
  %206 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %27, i32 0, i32 0
  store ptr %205, ptr %206, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #12
  call void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #12
  %207 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %208 = getelementptr inbounds %"struct.std::_List_iterator", ptr %29, i32 0, i32 0
  store ptr %207, ptr %208, align 8
  br label %209

209:                                              ; preds = %336, %334, %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #12
  %210 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %211 = getelementptr inbounds %"struct.std::_List_iterator", ptr %30, i32 0, i32 0
  store ptr %210, ptr %211, align 8
  %212 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #12
  br i1 %212, label %214, label %213

213:                                              ; preds = %209
  store i32 7, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #12
  br label %338

214:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #12
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #12
  %216 = load ptr, ptr %215, align 8, !tbaa !5
  store ptr %216, ptr %31, align 8, !tbaa !5
  %217 = load ptr, ptr %31, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.aiNode, ptr %217, i32 0, i32 3
  %219 = load i32, ptr %218, align 8, !tbaa !9
  %220 = icmp eq i32 %219, 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #12
  store i1 false, ptr %34, align 1
  store i1 false, ptr %36, align 1
  store i1 false, ptr %37, align 1
  store i1 false, ptr %38, align 1
  br i1 %220, label %221, label %232

221:                                              ; preds = %214
  %222 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #12
  store i1 true, ptr %34, align 1
  %223 = load ptr, ptr %31, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.aiNode, ptr %223, i32 0, i32 0
  %225 = getelementptr inbounds %struct.aiString, ptr %224, i32 0, i32 1
  %226 = getelementptr inbounds [1024 x i8], ptr %225, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #12
  store i1 true, ptr %36, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #12
  store i1 true, ptr %37, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef %226, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %227 unwind label %267

227:                                              ; preds = %221
  store i1 true, ptr %38, align 1
  %228 = invoke ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4findERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %222, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %229 unwind label %271

229:                                              ; preds = %227
  %230 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %32, i32 0, i32 0
  store ptr %228, ptr %230, align 8
  %231 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %27) #12
  br label %232

232:                                              ; preds = %229, %214
  %233 = phi i1 [ false, %214 ], [ %231, %229 ]
  %234 = load i1, ptr %38, align 1
  br i1 %234, label %235, label %236

235:                                              ; preds = %232
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #12
  br label %236

236:                                              ; preds = %235, %232
  %237 = load i1, ptr %37, align 1
  br i1 %237, label %238, label %239

238:                                              ; preds = %236
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #12
  br label %239

239:                                              ; preds = %238, %236
  %240 = load i1, ptr %36, align 1
  br i1 %240, label %241, label %242

241:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #12
  br label %242

242:                                              ; preds = %241, %239
  %243 = load i1, ptr %34, align 1
  br i1 %243, label %244, label %245

244:                                              ; preds = %242
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #12
  br label %245

245:                                              ; preds = %244, %242
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #12
  br i1 %233, label %246, label %332

246:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #12
  store i32 0, ptr %39, align 4, !tbaa !36
  br label %247

247:                                              ; preds = %289, %246
  %248 = load i32, ptr %39, align 4, !tbaa !36
  %249 = load ptr, ptr %31, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.aiNode, ptr %249, i32 0, i32 5
  %251 = load i32, ptr %250, align 8, !tbaa !44
  %252 = icmp ult i32 %248, %251
  br i1 %252, label %253, label %292

253:                                              ; preds = %247
  %254 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 7
  %255 = load ptr, ptr %31, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.aiNode, ptr %255, i32 0, i32 6
  %257 = load ptr, ptr %256, align 8, !tbaa !45
  %258 = load i32, ptr %39, align 4, !tbaa !36
  %259 = zext i32 %258 to i64
  %260 = getelementptr inbounds i32, ptr %257, i64 %259
  %261 = load i32, ptr %260, align 4, !tbaa !36
  %262 = zext i32 %261 to i64
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef %262) #12
  %264 = load i32, ptr %263, align 4, !tbaa !36
  %265 = icmp ugt i32 %264, 1
  br i1 %265, label %266, label %288

266:                                              ; preds = %253
  br label %292

267:                                              ; preds = %221
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %9, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %10, align 4
  br label %278

271:                                              ; preds = %227
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %9, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %10, align 4
  %275 = load i1, ptr %38, align 1
  br i1 %275, label %276, label %277

276:                                              ; preds = %271
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #12
  br label %277

277:                                              ; preds = %276, %271
  br label %278

278:                                              ; preds = %277, %267
  %279 = load i1, ptr %37, align 1
  br i1 %279, label %280, label %281

280:                                              ; preds = %278
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #12
  br label %281

281:                                              ; preds = %280, %278
  %282 = load i1, ptr %36, align 1
  br i1 %282, label %283, label %284

283:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #12
  br label %284

284:                                              ; preds = %283, %281
  %285 = load i1, ptr %34, align 1
  br i1 %285, label %286, label %287

286:                                              ; preds = %284
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #12
  br label %287

287:                                              ; preds = %286, %284
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #12
  br label %337

288:                                              ; preds = %253
  br label %289

289:                                              ; preds = %288
  %290 = load i32, ptr %39, align 4, !tbaa !36
  %291 = add i32 %290, 1
  store i32 %291, ptr %39, align 4, !tbaa !36
  br label %247, !llvm.loop !46

292:                                              ; preds = %266, %247
  %293 = load i32, ptr %39, align 4, !tbaa !36
  %294 = load ptr, ptr %31, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.aiNode, ptr %294, i32 0, i32 5
  %296 = load i32, ptr %295, align 8, !tbaa !44
  %297 = icmp eq i32 %293, %296
  br i1 %297, label %298, label %327

298:                                              ; preds = %292
  %299 = load ptr, ptr %25, align 8, !tbaa !5
  %300 = icmp ne ptr %299, null
  br i1 %300, label %311, label %301

301:                                              ; preds = %298
  %302 = load ptr, ptr %31, align 8, !tbaa !5
  store ptr %302, ptr %25, align 8, !tbaa !5
  %303 = load ptr, ptr %25, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.aiNode, ptr %303, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %304, i64 64, i1 false), !tbaa.struct !40
  %305 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE7InverseEv(ptr noundef nonnull align 4 dereferenceable(64) %26)
          to label %306 unwind label %307

306:                                              ; preds = %301
  br label %326

307:                                              ; preds = %314, %301
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %9, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %10, align 4
  br label %331

311:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #12
  %312 = load ptr, ptr %31, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.aiNode, ptr %312, i32 0, i32 1
  invoke void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind writable sret(%class.aiMatrix4x4t) align 4 %40, ptr noundef nonnull align 4 dereferenceable(64) %26, ptr noundef nonnull align 4 dereferenceable(64) %313)
          to label %314 unwind label %322

314:                                              ; preds = %311
  %315 = load ptr, ptr %31, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.aiNode, ptr %315, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %316, ptr align 4 %40, i64 64, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #12
  invoke void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %317 unwind label %307

317:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #12
  call void @_ZNSt20_List_const_iteratorIP6aiNodeEC2ERKSt14_List_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %29) #12
  %318 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %42, i32 0, i32 0
  %319 = load ptr, ptr %318, align 8
  %320 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr %319) #12
  %321 = getelementptr inbounds %"struct.std::_List_iterator", ptr %41, i32 0, i32 0
  store ptr %320, ptr %321, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %41, i64 8, i1 false), !tbaa.struct !42
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #12
  store i32 8, ptr %24, align 4
  br label %328, !llvm.loop !47

322:                                              ; preds = %311
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %9, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #12
  br label %331

326:                                              ; preds = %306
  br label %327

327:                                              ; preds = %326, %292
  store i32 0, ptr %24, align 4
  br label %328

328:                                              ; preds = %327, %317
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #12
  %329 = load i32, ptr %24, align 4
  switch i32 %329, label %334 [
    i32 0, label %330
  ]

330:                                              ; preds = %328
  br label %332

331:                                              ; preds = %322, %307
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #12
  br label %337

332:                                              ; preds = %330, %245
  %333 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #12
  store i32 0, ptr %24, align 4
  br label %334

334:                                              ; preds = %332, %328
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #12
  %335 = load i32, ptr %24, align 4
  switch i32 %335, label %643 [
    i32 0, label %336
    i32 8, label %209
  ]

336:                                              ; preds = %334
  br label %209, !llvm.loop !47

337:                                              ; preds = %331, %287
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #12
  br label %565

338:                                              ; preds = %213
  %339 = load ptr, ptr %25, align 8, !tbaa !5
  %340 = icmp ne ptr %339, null
  br i1 %340, label %341, label %564

341:                                              ; preds = %338
  %342 = call noundef zeroext i1 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #12
  br i1 %342, label %564, label %343

343:                                              ; preds = %341
  %344 = load ptr, ptr %25, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.aiNode, ptr %344, i32 0, i32 0
  %346 = getelementptr inbounds %struct.aiString, ptr %345, i32 0, i32 1
  %347 = getelementptr inbounds [1024 x i8], ptr %346, i64 0, i64 0
  %348 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 6
  %349 = load i32, ptr %348, align 8, !tbaa !48
  %350 = add i32 %349, 1
  store i32 %350, ptr %348, align 8, !tbaa !48
  %351 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %347, i64 noundef 1024, ptr noundef @.str.2, i32 noundef %349) #12
  %352 = load ptr, ptr %25, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.aiNode, ptr %352, i32 0, i32 0
  %354 = getelementptr inbounds %struct.aiString, ptr %353, i32 0, i32 0
  store i32 %351, ptr %354, align 8, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #12
  store i32 0, ptr %43, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #12
  %355 = call ptr @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #12
  %356 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %44, i32 0, i32 0
  store ptr %355, ptr %356, align 8
  br label %357

357:                                              ; preds = %369, %343
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #12
  %358 = call ptr @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #12
  %359 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %45, i32 0, i32 0
  store ptr %358, ptr %359, align 8
  %360 = call noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #12
  br i1 %360, label %362, label %361

361:                                              ; preds = %357
  store i32 12, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #12
  br label %371

362:                                              ; preds = %357
  %363 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt20_List_const_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #12
  %364 = load ptr, ptr %363, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.aiNode, ptr %364, i32 0, i32 5
  %366 = load i32, ptr %365, align 8, !tbaa !44
  %367 = load i32, ptr %43, align 4, !tbaa !36
  %368 = add i32 %367, %366
  store i32 %368, ptr %43, align 4, !tbaa !36
  br label %369

369:                                              ; preds = %362
  %370 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt20_List_const_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #12
  br label %357, !llvm.loop !50

371:                                              ; preds = %361
  %372 = load i32, ptr %43, align 4, !tbaa !36
  %373 = icmp ne i32 %372, 0
  br i1 %373, label %374, label %563

374:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #12
  %375 = load i32, ptr %43, align 4, !tbaa !36
  %376 = load ptr, ptr %25, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.aiNode, ptr %376, i32 0, i32 5
  %378 = load i32, ptr %377, align 8, !tbaa !44
  %379 = add i32 %375, %378
  %380 = zext i32 %379 to i64
  %381 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %380, i64 4)
  %382 = extractvalue { i64, i1 } %381, 1
  %383 = extractvalue { i64, i1 } %381, 0
  %384 = select i1 %382, i64 -1, i64 %383
  %385 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %384) #14
          to label %386 unwind label %395

386:                                              ; preds = %374
  store ptr %385, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #12
  %387 = load ptr, ptr %46, align 8, !tbaa !5
  store ptr %387, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #12
  store i32 0, ptr %48, align 4, !tbaa !36
  br label %388

388:                                              ; preds = %409, %386
  %389 = load i32, ptr %48, align 4, !tbaa !36
  %390 = load ptr, ptr %25, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.aiNode, ptr %390, i32 0, i32 5
  %392 = load i32, ptr %391, align 8, !tbaa !44
  %393 = icmp ult i32 %389, %392
  br i1 %393, label %399, label %394

394:                                              ; preds = %388
  store i32 15, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #12
  br label %412

395:                                              ; preds = %374
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %9, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %10, align 4
  br label %562

399:                                              ; preds = %388
  %400 = load ptr, ptr %25, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.aiNode, ptr %400, i32 0, i32 6
  %402 = load ptr, ptr %401, align 8, !tbaa !45
  %403 = load i32, ptr %48, align 4, !tbaa !36
  %404 = zext i32 %403 to i64
  %405 = getelementptr inbounds i32, ptr %402, i64 %404
  %406 = load i32, ptr %405, align 4, !tbaa !36
  %407 = load ptr, ptr %47, align 8, !tbaa !5
  %408 = getelementptr inbounds i32, ptr %407, i32 1
  store ptr %408, ptr %47, align 8, !tbaa !5
  store i32 %406, ptr %407, align 4, !tbaa !36
  br label %409

409:                                              ; preds = %399
  %410 = load i32, ptr %48, align 4, !tbaa !36
  %411 = add i32 %410, 1
  store i32 %411, ptr %48, align 4, !tbaa !36
  br label %388, !llvm.loop !51

412:                                              ; preds = %394
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #12
  store ptr %28, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #12
  %413 = load ptr, ptr %49, align 8, !tbaa !5
  %414 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %413) #12
  %415 = getelementptr inbounds %"struct.std::_List_iterator", ptr %50, i32 0, i32 0
  store ptr %414, ptr %415, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #12
  %416 = load ptr, ptr %49, align 8, !tbaa !5
  %417 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %416) #12
  %418 = getelementptr inbounds %"struct.std::_List_iterator", ptr %51, i32 0, i32 0
  store ptr %417, ptr %418, align 8
  br label %419

419:                                              ; preds = %545, %412
  %420 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %51) #12
  br i1 %420, label %422, label %421

421:                                              ; preds = %419
  store i32 18, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #12
  br label %547

422:                                              ; preds = %419
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #12
  %423 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #12
  %424 = load ptr, ptr %423, align 8, !tbaa !5
  store ptr %424, ptr %52, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #12
  store i32 0, ptr %53, align 4, !tbaa !36
  br label %425

425:                                              ; preds = %535, %422
  %426 = load i32, ptr %53, align 4, !tbaa !36
  %427 = load ptr, ptr %52, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.aiNode, ptr %427, i32 0, i32 5
  %429 = load i32, ptr %428, align 8, !tbaa !44
  %430 = icmp ult i32 %426, %429
  br i1 %430, label %432, label %431

431:                                              ; preds = %425
  store i32 20, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #12
  br label %540

432:                                              ; preds = %425
  %433 = load ptr, ptr %52, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.aiNode, ptr %433, i32 0, i32 6
  %435 = load ptr, ptr %434, align 8, !tbaa !45
  %436 = load i32, ptr %53, align 4, !tbaa !36
  %437 = zext i32 %436 to i64
  %438 = getelementptr inbounds i32, ptr %435, i64 %437
  %439 = load i32, ptr %438, align 4, !tbaa !36
  %440 = load ptr, ptr %47, align 8, !tbaa !5
  store i32 %439, ptr %440, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #12
  %441 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 1
  %442 = load ptr, ptr %441, align 8, !tbaa !52
  %443 = getelementptr inbounds %struct.aiScene, ptr %442, i32 0, i32 3
  %444 = load ptr, ptr %443, align 8, !tbaa !53
  %445 = load ptr, ptr %47, align 8, !tbaa !5
  %446 = getelementptr inbounds i32, ptr %445, i32 1
  store ptr %446, ptr %47, align 8, !tbaa !5
  %447 = load i32, ptr %445, align 4, !tbaa !36
  %448 = zext i32 %447 to i64
  %449 = getelementptr inbounds ptr, ptr %444, i64 %448
  %450 = load ptr, ptr %449, align 8, !tbaa !5
  store ptr %450, ptr %54, align 8, !tbaa !5
  %451 = load ptr, ptr %52, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.aiNode, ptr %451, i32 0, i32 1
  %453 = invoke noundef float @_ZNK12aiMatrix4x4tIfE11DeterminantEv(ptr noundef nonnull align 4 dereferenceable(64) %452)
          to label %454 unwind label %459

454:                                              ; preds = %432
  %455 = fcmp olt float %453, 0.000000e+00
  br i1 %455, label %456, label %463

456:                                              ; preds = %454
  %457 = load ptr, ptr %54, align 8, !tbaa !5
  invoke void @_ZN6Assimp23FlipWindingOrderProcess11ProcessMeshEP6aiMesh(ptr noundef %457)
          to label %458 unwind label %459

458:                                              ; preds = %456
  br label %463

459:                                              ; preds = %456, %432
  %460 = landingpad { ptr, i32 }
          cleanup
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %9, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %10, align 4
  br label %539

463:                                              ; preds = %458, %454
  call void @llvm.lifetime.start.p0(i64 36, ptr %55) #12
  call void @llvm.lifetime.start.p0(i64 36, ptr %56) #12
  %464 = load ptr, ptr %52, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.aiNode, ptr %464, i32 0, i32 1
  invoke void @_ZN12aiMatrix3x3tIfEC2ERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(36) %56, ptr noundef nonnull align 4 dereferenceable(64) %465)
          to label %466 unwind label %478

466:                                              ; preds = %463
  %467 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN12aiMatrix3x3tIfE7InverseEv(ptr noundef nonnull align 4 dereferenceable(36) %56)
          to label %468 unwind label %478

468:                                              ; preds = %466
  %469 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN12aiMatrix3x3tIfE9TransposeEv(ptr noundef nonnull align 4 dereferenceable(36) %467)
          to label %470 unwind label %478

470:                                              ; preds = %468
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %469, i64 36, i1 false), !tbaa.struct !55
  call void @llvm.lifetime.end.p0(i64 36, ptr %56) #12
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #12
  store i32 0, ptr %57, align 4, !tbaa !36
  br label %471

471:                                              ; preds = %531, %470
  %472 = load i32, ptr %57, align 4, !tbaa !36
  %473 = load ptr, ptr %54, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.aiMesh, ptr %473, i32 0, i32 1
  %475 = load i32, ptr %474, align 4, !tbaa !56
  %476 = icmp ult i32 %472, %475
  br i1 %476, label %482, label %477

477:                                              ; preds = %471
  store i32 23, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #12
  br label %534

478:                                              ; preds = %468, %466, %463
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %9, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %56) #12
  br label %538

482:                                              ; preds = %471
  %483 = load ptr, ptr %52, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.aiNode, ptr %483, i32 0, i32 1
  %485 = load ptr, ptr %54, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.aiMesh, ptr %485, i32 0, i32 3
  %487 = load ptr, ptr %486, align 8, !tbaa !61
  %488 = load i32, ptr %57, align 4, !tbaa !36
  %489 = zext i32 %488 to i64
  %490 = getelementptr inbounds %class.aiVector3t, ptr %487, i64 %489
  %491 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(12) %490, ptr noundef nonnull align 4 dereferenceable(64) %484)
          to label %492 unwind label %505

492:                                              ; preds = %482
  %493 = load ptr, ptr %54, align 8, !tbaa !5
  %494 = invoke noundef zeroext i1 @_ZNK6aiMesh10HasNormalsEv(ptr noundef nonnull align 8 dereferenceable(1320) %493)
          to label %495 unwind label %505

495:                                              ; preds = %492
  br i1 %494, label %496, label %509

496:                                              ; preds = %495
  %497 = load ptr, ptr %54, align 8, !tbaa !5
  %498 = getelementptr inbounds %struct.aiMesh, ptr %497, i32 0, i32 4
  %499 = load ptr, ptr %498, align 8, !tbaa !62
  %500 = load i32, ptr %57, align 4, !tbaa !36
  %501 = zext i32 %500 to i64
  %502 = getelementptr inbounds %class.aiVector3t, ptr %499, i64 %501
  %503 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix3x3tIfE(ptr noundef nonnull align 4 dereferenceable(12) %502, ptr noundef nonnull align 4 dereferenceable(36) %55)
          to label %504 unwind label %505

504:                                              ; preds = %496
  br label %509

505:                                              ; preds = %521, %513, %509, %496, %492, %482
  %506 = landingpad { ptr, i32 }
          cleanup
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %9, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #12
  br label %538

509:                                              ; preds = %504, %495
  %510 = load ptr, ptr %54, align 8, !tbaa !5
  %511 = invoke noundef zeroext i1 @_ZNK6aiMesh24HasTangentsAndBitangentsEv(ptr noundef nonnull align 8 dereferenceable(1320) %510)
          to label %512 unwind label %505

512:                                              ; preds = %509
  br i1 %511, label %513, label %530

513:                                              ; preds = %512
  %514 = load ptr, ptr %54, align 8, !tbaa !5
  %515 = getelementptr inbounds %struct.aiMesh, ptr %514, i32 0, i32 5
  %516 = load ptr, ptr %515, align 8, !tbaa !63
  %517 = load i32, ptr %57, align 4, !tbaa !36
  %518 = zext i32 %517 to i64
  %519 = getelementptr inbounds %class.aiVector3t, ptr %516, i64 %518
  %520 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix3x3tIfE(ptr noundef nonnull align 4 dereferenceable(12) %519, ptr noundef nonnull align 4 dereferenceable(36) %55)
          to label %521 unwind label %505

521:                                              ; preds = %513
  %522 = load ptr, ptr %54, align 8, !tbaa !5
  %523 = getelementptr inbounds %struct.aiMesh, ptr %522, i32 0, i32 6
  %524 = load ptr, ptr %523, align 8, !tbaa !64
  %525 = load i32, ptr %57, align 4, !tbaa !36
  %526 = zext i32 %525 to i64
  %527 = getelementptr inbounds %class.aiVector3t, ptr %524, i64 %526
  %528 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix3x3tIfE(ptr noundef nonnull align 4 dereferenceable(12) %527, ptr noundef nonnull align 4 dereferenceable(36) %55)
          to label %529 unwind label %505

529:                                              ; preds = %521
  br label %530

530:                                              ; preds = %529, %512
  br label %531

531:                                              ; preds = %530
  %532 = load i32, ptr %57, align 4, !tbaa !36
  %533 = add i32 %532, 1
  store i32 %533, ptr %57, align 4, !tbaa !36
  br label %471, !llvm.loop !65

534:                                              ; preds = %477
  call void @llvm.lifetime.end.p0(i64 36, ptr %55) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #12
  br label %535

535:                                              ; preds = %534
  %536 = load i32, ptr %53, align 4, !tbaa !36
  %537 = add i32 %536, 1
  store i32 %537, ptr %53, align 4, !tbaa !36
  br label %425, !llvm.loop !66

538:                                              ; preds = %505, %478
  call void @llvm.lifetime.end.p0(i64 36, ptr %55) #12
  br label %539

539:                                              ; preds = %538, %459
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #12
  br label %562

540:                                              ; preds = %431
  %541 = load ptr, ptr %52, align 8, !tbaa !5
  %542 = icmp eq ptr %541, null
  br i1 %542, label %544, label %543

543:                                              ; preds = %540
  call void @_ZN6aiNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(1144) %541) #12
  call void @_ZdlPvm(ptr noundef %541, i64 noundef 1144) #13
  br label %544

544:                                              ; preds = %543, %540
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #12
  br label %545

545:                                              ; preds = %544
  %546 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #12
  br label %419

547:                                              ; preds = %421
  %548 = load ptr, ptr %25, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.aiNode, ptr %548, i32 0, i32 6
  %550 = load ptr, ptr %549, align 8, !tbaa !45
  %551 = icmp eq ptr %550, null
  br i1 %551, label %553, label %552

552:                                              ; preds = %547
  call void @_ZdaPv(ptr noundef %550) #13
  br label %553

553:                                              ; preds = %552, %547
  %554 = load ptr, ptr %46, align 8, !tbaa !5
  %555 = load ptr, ptr %25, align 8, !tbaa !5
  %556 = getelementptr inbounds %struct.aiNode, ptr %555, i32 0, i32 6
  store ptr %554, ptr %556, align 8, !tbaa !45
  %557 = load i32, ptr %43, align 4, !tbaa !36
  %558 = load ptr, ptr %25, align 8, !tbaa !5
  %559 = getelementptr inbounds %struct.aiNode, ptr %558, i32 0, i32 5
  %560 = load i32, ptr %559, align 8, !tbaa !44
  %561 = add i32 %560, %557
  store i32 %561, ptr %559, align 8, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #12
  br label %563

562:                                              ; preds = %539, %395
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #12
  br label %565

563:                                              ; preds = %553, %371
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #12
  br label %564

564:                                              ; preds = %563, %341, %338
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #12
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #12
  br label %566

565:                                              ; preds = %562, %337
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #12
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #12
  br label %637

566:                                              ; preds = %564, %200
  %567 = call noundef zeroext i1 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  br i1 %567, label %575, label %568

568:                                              ; preds = %566
  %569 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %570 = load ptr, ptr %5, align 8, !tbaa !5
  %571 = getelementptr inbounds %struct.aiNode, ptr %570, i32 0, i32 3
  %572 = load i32, ptr %571, align 8, !tbaa !9
  %573 = zext i32 %572 to i64
  %574 = icmp ugt i64 %569, %573
  br i1 %574, label %575, label %597

575:                                              ; preds = %568, %566
  %576 = load ptr, ptr %5, align 8, !tbaa !5
  %577 = getelementptr inbounds %struct.aiNode, ptr %576, i32 0, i32 4
  %578 = load ptr, ptr %577, align 8, !tbaa !37
  %579 = icmp eq ptr %578, null
  br i1 %579, label %581, label %580

580:                                              ; preds = %575
  call void @_ZdaPv(ptr noundef %578) #13
  br label %581

581:                                              ; preds = %580, %575
  %582 = call noundef zeroext i1 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  br i1 %582, label %593, label %583

583:                                              ; preds = %581
  %584 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %585 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %584, i64 8)
  %586 = extractvalue { i64, i1 } %585, 1
  %587 = extractvalue { i64, i1 } %585, 0
  %588 = select i1 %586, i64 -1, i64 %587
  %589 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %588) #14
          to label %590 unwind label %191

590:                                              ; preds = %583
  %591 = load ptr, ptr %5, align 8, !tbaa !5
  %592 = getelementptr inbounds %struct.aiNode, ptr %591, i32 0, i32 4
  store ptr %589, ptr %592, align 8, !tbaa !37
  br label %596

593:                                              ; preds = %581
  %594 = load ptr, ptr %5, align 8, !tbaa !5
  %595 = getelementptr inbounds %struct.aiNode, ptr %594, i32 0, i32 4
  store ptr null, ptr %595, align 8, !tbaa !37
  br label %596

596:                                              ; preds = %593, %590
  br label %597

597:                                              ; preds = %596, %568
  %598 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %599 = trunc i64 %598 to i32
  %600 = load ptr, ptr %5, align 8, !tbaa !5
  %601 = getelementptr inbounds %struct.aiNode, ptr %600, i32 0, i32 3
  store i32 %599, ptr %601, align 8, !tbaa !9
  %602 = load ptr, ptr %5, align 8, !tbaa !5
  %603 = getelementptr inbounds %struct.aiNode, ptr %602, i32 0, i32 4
  %604 = load ptr, ptr %603, align 8, !tbaa !37
  %605 = icmp ne ptr %604, null
  br i1 %605, label %606, label %628

606:                                              ; preds = %597
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #12
  %607 = load ptr, ptr %5, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.aiNode, ptr %607, i32 0, i32 4
  %609 = load ptr, ptr %608, align 8, !tbaa !37
  store ptr %609, ptr %58, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #12
  %610 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %611 = getelementptr inbounds %"struct.std::_List_iterator", ptr %59, i32 0, i32 0
  store ptr %610, ptr %611, align 8
  br label %612

612:                                              ; preds = %625, %606
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #12
  %613 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %614 = getelementptr inbounds %"struct.std::_List_iterator", ptr %60, i32 0, i32 0
  store ptr %613, ptr %614, align 8
  %615 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 8 dereferenceable(8) %60) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #12
  br i1 %615, label %617, label %616

616:                                              ; preds = %612
  store i32 26, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #12
  br label %627

617:                                              ; preds = %612
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #12
  %618 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #12
  %619 = load ptr, ptr %618, align 8, !tbaa !5
  %620 = load ptr, ptr %58, align 8, !tbaa !5
  %621 = getelementptr inbounds ptr, ptr %620, i32 1
  store ptr %621, ptr %58, align 8, !tbaa !5
  store ptr %619, ptr %620, align 8, !tbaa !5
  store ptr %619, ptr %61, align 8, !tbaa !5
  %622 = load ptr, ptr %5, align 8, !tbaa !5
  %623 = load ptr, ptr %61, align 8, !tbaa !5
  %624 = getelementptr inbounds %struct.aiNode, ptr %623, i32 0, i32 2
  store ptr %622, ptr %624, align 8, !tbaa !67
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #12
  br label %625

625:                                              ; preds = %617
  %626 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #12
  br label %612, !llvm.loop !68

627:                                              ; preds = %616
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #12
  br label %628

628:                                              ; preds = %627, %597
  %629 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  %630 = trunc i64 %629 to i32
  %631 = getelementptr inbounds %"class.Assimp::OptimizeGraphProcess", ptr %62, i32 0, i32 5
  %632 = load i32, ptr %631, align 4, !tbaa !69
  %633 = add i32 %632, %630
  store i32 %633, ptr %631, align 4, !tbaa !69
  store i32 0, ptr %24, align 4
  br label %634

634:                                              ; preds = %628, %199
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #12
  %635 = load i32, ptr %24, align 4
  switch i32 %635, label %643 [
    i32 0, label %636
    i32 1, label %636
  ]

636:                                              ; preds = %634, %634
  ret void

637:                                              ; preds = %565, %191, %180, %128, %94
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #12
  br label %638

638:                                              ; preds = %637
  %639 = load ptr, ptr %9, align 8
  %640 = load i32, ptr %10, align 4
  %641 = insertvalue { ptr, i32 } poison, ptr %639, 0
  %642 = insertvalue { ptr, i32 } %641, i32 %640, 1
  resume { ptr, i32 } %642

643:                                              ; preds = %634, %334
  unreachable
}

; 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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4findERKS5_(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 ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(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__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind noalias writable sret(%class.aiMatrix4x4t) align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) #3 align 2

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

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

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

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

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

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

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

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

; 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE7InverseEv(ptr noundef nonnull align 4 dereferenceable(64)) #3 align 2

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #5

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK12aiMatrix4x4tIfE11DeterminantEv(ptr noundef nonnull align 4 dereferenceable(64)) #9 align 2

declare void @_ZN6Assimp23FlipWindingOrderProcess11ProcessMeshEP6aiMesh(ptr noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12aiMatrix3x3tIfEC2ERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN12aiMatrix3x3tIfE7InverseEv(ptr noundef nonnull align 4 dereferenceable(36)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN12aiMatrix3x3tIfE9TransposeEv(ptr noundef nonnull align 4 dereferenceable(36)) #9 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(64)) #11 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix3x3tIfE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(36)) #11 align 2

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #6

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

!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, !12, i64 1104}
!10 = !{!"_ZTS6aiNode", !11, i64 0, !13, i64 1028, !6, i64 1096, !12, i64 1104, !6, i64 1112, !12, i64 1120, !6, i64 1128, !6, i64 1136}
!11 = !{!"_ZTS8aiString", !12, i64 0, !7, i64 4}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS12aiMatrix4x4tIfE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !14, i64 60}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !12, i64 104}
!16 = !{!"_ZTSN6Assimp20OptimizeGraphProcessE", !17, i64 0, !6, i64 24, !18, i64 32, !27, i64 80, !12, i64 104, !12, i64 108, !12, i64 112, !32, i64 120}
!17 = !{!"_ZTSN6Assimp11BaseProcessE", !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !19, i64 0}
!19 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !20, i64 0}
!20 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !21, i64 0, !23, i64 8}
!21 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !22, i64 0}
!22 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!23 = !{!"_ZTSSt15_Rb_tree_header", !24, i64 0, !26, i64 32}
!24 = !{!"_ZTSSt18_Rb_tree_node_base", !25, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!25 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{!"_ZTSNSt7__cxx114listINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEE", !28, i64 0}
!28 = !{!"_ZTSNSt7__cxx1110_List_baseINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEE", !29, i64 0}
!29 = !{!"_ZTSNSt7__cxx1110_List_baseINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE10_List_implE", !30, i64 0}
!30 = !{!"_ZTSNSt8__detail17_List_node_headerE", !31, i64 0, !26, i64 16}
!31 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!32 = !{!"_ZTSSt6vectorIjSaIjEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!12, !12, i64 0}
!37 = !{!10, !6, i64 1112}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{i64 0, i64 4, !41, i64 4, i64 4, !41, i64 8, i64 4, !41, i64 12, i64 4, !41, i64 16, i64 4, !41, i64 20, i64 4, !41, i64 24, i64 4, !41, i64 28, i64 4, !41, i64 32, i64 4, !41, i64 36, i64 4, !41, i64 40, i64 4, !41, i64 44, i64 4, !41, i64 48, i64 4, !41, i64 52, i64 4, !41, i64 56, i64 4, !41, i64 60, i64 4, !41}
!41 = !{!14, !14, i64 0}
!42 = !{i64 0, i64 8, !5}
!43 = distinct !{!43, !39}
!44 = !{!10, !12, i64 1120}
!45 = !{!10, !6, i64 1128}
!46 = distinct !{!46, !39}
!47 = distinct !{!47, !39}
!48 = !{!16, !12, i64 112}
!49 = !{!10, !12, i64 0}
!50 = distinct !{!50, !39}
!51 = distinct !{!51, !39}
!52 = !{!16, !6, i64 24}
!53 = !{!54, !6, i64 24}
!54 = !{!"_ZTS7aiScene", !12, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !12, i64 64, !6, i64 72, !12, i64 80, !6, i64 88, !12, i64 96, !6, i64 104, !6, i64 112, !11, i64 120, !12, i64 1148, !6, i64 1152, !6, i64 1160}
!55 = !{i64 0, i64 4, !41, i64 4, i64 4, !41, i64 8, i64 4, !41, i64 12, i64 4, !41, i64 16, i64 4, !41, i64 20, i64 4, !41, i64 24, i64 4, !41, i64 28, i64 4, !41, i64 32, i64 4, !41}
!56 = !{!57, !12, i64 4}
!57 = !{!"_ZTS6aiMesh", !12, i64 0, !12, i64 4, !12, 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, !12, i64 216, !6, i64 224, !12, i64 232, !11, i64 236, !12, i64 1264, !6, i64 1272, !58, i64 1280, !59, i64 1284, !6, i64 1312}
!58 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!59 = !{!"_ZTS6aiAABB", !60, i64 0, !60, i64 12}
!60 = !{!"_ZTS10aiVector3tIfE", !14, i64 0, !14, i64 4, !14, i64 8}
!61 = !{!57, !6, i64 16}
!62 = !{!57, !6, i64 24}
!63 = !{!57, !6, i64 32}
!64 = !{!57, !6, i64 40}
!65 = distinct !{!65, !39}
!66 = distinct !{!66, !39}
!67 = !{!10, !6, i64 1096}
!68 = distinct !{!68, !39}
!69 = !{!16, !12, i64 108}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::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 }
%"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.std::_List_iterator" = type { ptr }
%class.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%"struct.std::_List_const_iterator" = type { ptr }
%class.aiMatrix3x3t = type { float, float, float, float, float, float, float, float, float }
%class.aiVector3t = type { float, float, float }

@.str.2 = external hidden unnamed_addr constant [15 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
define dso_local void @_ZN6Assimp20OptimizeGraphProcess18CollectNewChildrenEP6aiNodeRNSt7__cxx114listIS2_SaIS2_EEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::list.9", align 8
  %6 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.6", align 1
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca %"struct.std::_List_iterator", align 8
  %11 = alloca %"struct.std::_List_iterator", align 8
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.6", align 1
  %15 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %16 = alloca %class.aiMatrix4x4t, align 4
  %17 = alloca %"struct.std::_List_const_iterator", align 8
  %18 = alloca %class.aiMatrix4x4t, align 4
  %19 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %20 = alloca %"class.std::__cxx11::list.9", align 8
  %21 = alloca %"struct.std::_List_iterator", align 8
  %22 = alloca %"struct.std::_List_iterator", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.6", align 1
  %27 = alloca %class.aiMatrix4x4t, align 4
  %28 = alloca %"struct.std::_List_const_iterator", align 8
  %29 = alloca %"struct.std::_List_const_iterator", align 8
  %30 = alloca %"struct.std::_List_const_iterator", align 8
  %31 = alloca %"struct.std::_List_iterator", align 8
  %32 = alloca %"struct.std::_List_iterator", align 8
  %33 = alloca %class.aiMatrix3x3t, align 4
  %34 = alloca %class.aiMatrix3x3t, align 4
  %35 = alloca %"struct.std::_List_iterator", align 8
  %36 = alloca %"struct.std::_List_iterator", align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %1, i64 1104
  %38 = load i32, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds i8, ptr %0, i64 104
  %40 = load i32, ptr %39, align 8, !tbaa !15
  %41 = add i32 %40, %38
  store i32 %41, ptr %39, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #12
  call void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  %42 = load i32, ptr %37, align 8, !tbaa !9
  %.not187 = icmp eq i32 %42, 0
  br i1 %.not187, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %50, %3
  %.lcssa = phi ptr [ %1, %3 ], [ %55, %50 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #12
  %43 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #12
  %44 = getelementptr inbounds i8, ptr %.lcssa, i64 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull %44, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %62 unwind label %74

.lr.ph:                                           ; preds = %3, %50
  %indvars.iv = phi i64 [ %indvars.iv.next, %50 ], [ 0, %3 ]
  %45 = phi ptr [ %55, %50 ], [ %1, %3 ]
  %46 = getelementptr inbounds i8, ptr %45, i64 1112
  %47 = load ptr, ptr %46, align 8, !tbaa !36
  %48 = getelementptr inbounds ptr, ptr %47, i64 %indvars.iv
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  invoke void @_ZN6Assimp20OptimizeGraphProcess18CollectNewChildrenEP6aiNodeRNSt7__cxx114listIS2_SaIS2_EEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef %49, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %50 unwind label %60

50:                                               ; preds = %.lr.ph
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 1112
  %53 = load ptr, ptr %52, align 8, !tbaa !36
  %54 = getelementptr inbounds ptr, ptr %53, i64 %indvars.iv
  store ptr null, ptr %54, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 1104
  %57 = load i32, ptr %56, align 8, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = icmp ult i64 %indvars.iv.next, %58
  br i1 %59, label %.lr.ph, label %._crit_edge, !llvm.loop !37

60:                                               ; preds = %.lr.ph
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %355

62:                                               ; preds = %._crit_edge
  %63 = invoke ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4findERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %64 unwind label %76

64:                                               ; preds = %62
  store ptr %63, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #12
  %65 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %43) #12
  store ptr %65, ptr %9, align 8
  %66 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %9) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #12
  br i1 %66, label %67, label %124

67:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #12
  %68 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  store ptr %68, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #12
  %69 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  store ptr %69, ptr %11, align 8
  %70 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #12
  br i1 %70, label %.lr.ph181, label %._crit_edge182

._crit_edge182:                                   ; preds = %.backedge, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #12
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 1120
  %73 = load i32, ptr %72, align 8, !tbaa !39
  %.not122 = icmp eq i32 %73, 0
  br i1 %.not122, label %115, label %117

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

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

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

.lr.ph181:                                        ; preds = %67, %.backedge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #12
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #12
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i64 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull %81, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %82 unwind label %103

82:                                               ; preds = %.lr.ph181
  %83 = invoke ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4findERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %84 unwind label %105

84:                                               ; preds = %82
  store ptr %83, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #12
  %85 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %43) #12
  store ptr %85, ptr %15, align 8
  %86 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %15) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #12
  br i1 %86, label %87, label %112

87:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #12
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %88, i64 1028
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #12
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 1028
  invoke void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind nonnull writable sret(%class.aiMatrix4x4t) align 4 %16, ptr noundef nonnull align 4 dereferenceable(64) %89, ptr noundef nonnull align 4 dereferenceable(64) %92)
          to label %93 unwind label %108

93:                                               ; preds = %87
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #12
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %95, i64 1028
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %96, ptr noundef nonnull align 4 dereferenceable(64) %16, i64 64, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #12
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #12
  invoke void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %97)
          to label %98 unwind label %110

98:                                               ; preds = %93
  call void @_ZNSt20_List_const_iteratorIP6aiNodeEC2ERKSt14_List_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %10) #12
  %99 = load ptr, ptr %17, align 8
  %100 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr %99) #12
  store ptr %100, ptr %10, align 8, !tbaa !5
  br label %.backedge

.backedge:                                        ; preds = %98, %112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #12
  %101 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  store ptr %101, ptr %11, align 8
  %102 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #12
  br i1 %102, label %.lr.ph181, label %._crit_edge182, !llvm.loop !42

103:                                              ; preds = %.lr.ph181
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %82
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  br label %107

107:                                              ; preds = %105, %103
  %.pn124 = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #12
  br label %114

108:                                              ; preds = %87
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #12
  br label %114

110:                                              ; preds = %93
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %114

112:                                              ; preds = %84
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #12
  br label %.backedge

114:                                              ; preds = %110, %108, %107
  %.pn126 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ], [ %.pn124, %107 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #12
  br label %355

115:                                              ; preds = %._crit_edge182
  %116 = call noundef zeroext i1 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  br i1 %116, label %120, label %117

117:                                              ; preds = %115, %._crit_edge182
  invoke void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %305 unwind label %118

118:                                              ; preds = %322, %124, %117
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %355

120:                                              ; preds = %115
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = icmp eq ptr %121, null
  br i1 %122, label %354, label %123

123:                                              ; preds = %120
  call void @_ZN6aiNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(1144) %121) #12
  call void @_ZdlPvm(ptr noundef nonnull %121, i64 noundef 1144) #13
  br label %354

124:                                              ; preds = %64
  invoke void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %125 unwind label %118

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #12
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %18) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #12
  %126 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %43) #12
  store ptr %126, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #12
  call void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #12
  %127 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  store ptr %127, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #12
  %128 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  store ptr %128, ptr %22, align 8
  %129 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #12
  br i1 %129, label %.lr.ph153, label %._crit_edge154.thread

._crit_edge154.thread:                            ; preds = %125
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #12
  br label %303

.lr.ph153:                                        ; preds = %125
  %130 = getelementptr inbounds i8, ptr %0, i64 120
  br label %131

._crit_edge154:                                   ; preds = %182
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #12
  %.not = icmp eq ptr %.497, null
  br i1 %.not, label %303, label %186

131:                                              ; preds = %.lr.ph153, %182
  %.093151 = phi ptr [ null, %.lr.ph153 ], [ %.497, %182 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #12
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #12
  %133 = load ptr, ptr %132, align 8, !tbaa !5
  store ptr %133, ptr %23, align 8, !tbaa !5
  %134 = getelementptr inbounds i8, ptr %133, i64 1104
  %135 = load i32, ptr %134, align 8, !tbaa !9
  %136 = icmp eq i32 %135, 0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #12
  br i1 %136, label %137, label %.critedge131.thread

.critedge131.thread:                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #12
  br label %.thread132

137:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #12
  %138 = getelementptr inbounds i8, ptr %133, i64 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull %138, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %139 unwind label %154

139:                                              ; preds = %137
  %140 = invoke ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4findERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %.critedge131 unwind label %156

.critedge131:                                     ; preds = %139
  store ptr %140, ptr %24, align 8
  %141 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %19) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #12
  br i1 %141, label %.preheader135, label %.thread132

.preheader135:                                    ; preds = %.critedge131
  %142 = load ptr, ptr %23, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %142, i64 1120
  %144 = load i32, ptr %143, align 8, !tbaa !39
  %.not188 = icmp eq i32 %144, 0
  br i1 %.not188, label %._crit_edge147.thread, label %.lr.ph146

.lr.ph146:                                        ; preds = %.preheader135, %159
  %indvars.iv200 = phi i64 [ %indvars.iv.next201, %159 ], [ 0, %.preheader135 ]
  %145 = phi ptr [ %.pre.pre, %159 ], [ %142, %.preheader135 ]
  %146 = getelementptr inbounds i8, ptr %145, i64 1128
  %147 = load ptr, ptr %146, align 8, !tbaa !43
  %148 = getelementptr inbounds i32, ptr %147, i64 %indvars.iv200
  %149 = load i32, ptr %148, align 4, !tbaa !44
  %150 = zext i32 %149 to i64
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %150) #12
  %152 = load i32, ptr %151, align 4, !tbaa !44
  %153 = icmp ugt i32 %152, 1
  %.pre.pre = load ptr, ptr %23, align 8, !tbaa !5
  br i1 %153, label %.lr.ph146.._crit_edge147.loopexit_crit_edge, label %159

.lr.ph146.._crit_edge147.loopexit_crit_edge:      ; preds = %.lr.ph146
  %.phi.trans.insert.phi.trans.insert = getelementptr inbounds i8, ptr %.pre.pre, i64 1120
  %.pre215.pre = load i32, ptr %.phi.trans.insert.phi.trans.insert, align 8, !tbaa !39
  br label %._crit_edge147

154:                                              ; preds = %137
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %158

156:                                              ; preds = %139
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  br label %158

158:                                              ; preds = %154, %156
  %.pn115 = phi { ptr, i32 } [ %157, %156 ], [ %155, %154 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #12
  br label %185

159:                                              ; preds = %.lr.ph146
  %indvars.iv.next201 = add nuw nsw i64 %indvars.iv200, 1
  %160 = getelementptr inbounds i8, ptr %.pre.pre, i64 1120
  %161 = load i32, ptr %160, align 8, !tbaa !39
  %162 = zext i32 %161 to i64
  %163 = icmp ult i64 %indvars.iv.next201, %162
  br i1 %163, label %.lr.ph146, label %._crit_edge147, !llvm.loop !45

._crit_edge147:                                   ; preds = %159, %.lr.ph146.._crit_edge147.loopexit_crit_edge
  %.pre215 = phi i32 [ %.pre215.pre, %.lr.ph146.._crit_edge147.loopexit_crit_edge ], [ %161, %159 ]
  %.0100.lcssa.ph.in = phi i64 [ %indvars.iv200, %.lr.ph146.._crit_edge147.loopexit_crit_edge ], [ %indvars.iv.next201, %159 ]
  %.0100.lcssa.ph = trunc i64 %.0100.lcssa.ph.in to i32
  %164 = icmp eq i32 %.pre215, %.0100.lcssa.ph
  br i1 %164, label %._crit_edge147.thread, label %.thread132

._crit_edge147.thread:                            ; preds = %.preheader135, %._crit_edge147
  %165 = phi ptr [ %.pre.pre, %._crit_edge147 ], [ %142, %.preheader135 ]
  %.not117 = icmp eq ptr %.093151, null
  br i1 %.not117, label %166, label %171

166:                                              ; preds = %._crit_edge147.thread
  %167 = getelementptr inbounds i8, ptr %165, i64 1028
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %18, ptr noundef nonnull align 4 dereferenceable(64) %167, i64 64, i1 false), !tbaa.struct !40
  %168 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE7InverseEv(ptr noundef nonnull align 4 dereferenceable(64) %18)
          to label %.thread132 unwind label %169

169:                                              ; preds = %173, %166
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %185

171:                                              ; preds = %._crit_edge147.thread
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %27) #12
  %172 = getelementptr inbounds i8, ptr %165, i64 1028
  invoke void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind nonnull writable sret(%class.aiMatrix4x4t) align 4 %27, ptr noundef nonnull align 4 dereferenceable(64) %18, ptr noundef nonnull align 4 dereferenceable(64) %172)
          to label %173 unwind label %176

173:                                              ; preds = %171
  %174 = load ptr, ptr %23, align 8, !tbaa !5
  %175 = getelementptr inbounds i8, ptr %174, i64 1028
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %175, ptr noundef nonnull align 4 dereferenceable(64) %27, i64 64, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #12
  invoke void @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %178 unwind label %169

176:                                              ; preds = %171
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #12
  br label %185

178:                                              ; preds = %173
  call void @_ZNSt20_List_const_iteratorIP6aiNodeEC2ERKSt14_List_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %21) #12
  %179 = load ptr, ptr %28, align 8
  %180 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr %179) #12
  store ptr %180, ptr %21, align 8, !tbaa !5
  br label %182

.thread132:                                       ; preds = %._crit_edge147, %166, %.critedge131.thread, %.critedge131
  %.396 = phi ptr [ %.093151, %.critedge131 ], [ %.093151, %.critedge131.thread ], [ %.093151, %._crit_edge147 ], [ %165, %166 ]
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #12
  br label %182

182:                                              ; preds = %178, %.thread132
  %.497 = phi ptr [ %.396, %.thread132 ], [ %.093151, %178 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #12
  %183 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  store ptr %183, ptr %22, align 8
  %184 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #12
  br i1 %184, label %131, label %._crit_edge154

185:                                              ; preds = %169, %176, %158
  %.pn118.pn = phi { ptr, i32 } [ %.pn115, %158 ], [ %170, %169 ], [ %177, %176 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #12
  br label %304

186:                                              ; preds = %._crit_edge154
  %187 = call noundef zeroext i1 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  br i1 %187, label %303, label %188

188:                                              ; preds = %186
  %189 = getelementptr inbounds i8, ptr %.497, i64 4
  %190 = getelementptr inbounds i8, ptr %0, i64 112
  %191 = load i32, ptr %190, align 8, !tbaa !46
  %192 = add i32 %191, 1
  store i32 %192, ptr %190, align 8, !tbaa !46
  %193 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %189, i64 noundef 1024, ptr noundef nonnull @.str.2, i32 noundef %191) #12
  store i32 %193, ptr %.497, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #12
  %194 = call ptr @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  store ptr %194, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #12
  %195 = call ptr @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  store ptr %195, ptr %30, align 8
  %196 = call noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #12
  br i1 %196, label %.lr.ph158, label %._crit_edge159.thread

._crit_edge159.thread:                            ; preds = %188
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #12
  br label %303

._crit_edge159:                                   ; preds = %.lr.ph158
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #12
  %.not110 = icmp eq i32 %201, 0
  br i1 %.not110, label %303, label %205

.lr.ph158:                                        ; preds = %188, %.lr.ph158
  %.098156 = phi i32 [ %201, %.lr.ph158 ], [ 0, %188 ]
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt20_List_const_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #12
  %198 = load ptr, ptr %197, align 8, !tbaa !5
  %199 = getelementptr inbounds i8, ptr %198, i64 1120
  %200 = load i32, ptr %199, align 8, !tbaa !39
  %201 = add i32 %200, %.098156
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt20_List_const_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #12
  %203 = call ptr @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  store ptr %203, ptr %30, align 8
  %204 = call noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #12
  br i1 %204, label %.lr.ph158, label %._crit_edge159, !llvm.loop !48

205:                                              ; preds = %._crit_edge159
  %206 = getelementptr inbounds i8, ptr %.497, i64 1120
  %207 = load i32, ptr %206, align 8, !tbaa !39
  %208 = add i32 %207, %201
  %209 = zext i32 %208 to i64
  %210 = shl nuw nsw i64 %209, 2
  %211 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %210) #14
          to label %.preheader unwind label %219

.preheader:                                       ; preds = %205
  %212 = load i32, ptr %206, align 8, !tbaa !39
  %.not189 = icmp eq i32 %212, 0
  br i1 %.not189, label %._crit_edge164, label %.lr.ph163

.lr.ph163:                                        ; preds = %.preheader
  %213 = getelementptr inbounds i8, ptr %.497, i64 1128
  %214 = load ptr, ptr %213, align 8, !tbaa !43
  br label %221

._crit_edge164:                                   ; preds = %221, %.preheader
  %.090.lcssa = phi ptr [ %211, %.preheader ], [ %224, %221 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #12
  %215 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  store ptr %215, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #12
  %216 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  store ptr %216, ptr %32, align 8
  %217 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #12
  br i1 %217, label %.lr.ph178, label %._crit_edge179

.lr.ph178:                                        ; preds = %._crit_edge164
  %218 = getelementptr inbounds i8, ptr %0, i64 24
  br label %231

219:                                              ; preds = %205
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %304

221:                                              ; preds = %.lr.ph163, %221
  %indvars.iv203 = phi i64 [ 0, %.lr.ph163 ], [ %indvars.iv.next204, %221 ]
  %.090161 = phi ptr [ %211, %.lr.ph163 ], [ %224, %221 ]
  %222 = getelementptr inbounds i32, ptr %214, i64 %indvars.iv203
  %223 = load i32, ptr %222, align 4, !tbaa !44
  %224 = getelementptr inbounds i8, ptr %.090161, i64 4
  store i32 %223, ptr %.090161, align 4, !tbaa !44
  %indvars.iv.next204 = add nuw nsw i64 %indvars.iv203, 1
  %225 = load i32, ptr %206, align 8, !tbaa !39
  %226 = zext i32 %225 to i64
  %227 = icmp ult i64 %indvars.iv.next204, %226
  br i1 %227, label %221, label %._crit_edge164, !llvm.loop !49

._crit_edge179:                                   ; preds = %._crit_edge174, %._crit_edge164
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #12
  %228 = getelementptr inbounds i8, ptr %.497, i64 1128
  %229 = load ptr, ptr %228, align 8, !tbaa !43
  %230 = icmp eq ptr %229, null
  br i1 %230, label %300, label %299

231:                                              ; preds = %.lr.ph178, %._crit_edge174
  %.191176 = phi ptr [ %.090.lcssa, %.lr.ph178 ], [ %.292.lcssa, %._crit_edge174 ]
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #12
  %233 = load ptr, ptr %232, align 8, !tbaa !5
  %234 = getelementptr inbounds i8, ptr %233, i64 1120
  %235 = load i32, ptr %234, align 8, !tbaa !39
  %.not190 = icmp eq i32 %235, 0
  br i1 %.not190, label %._crit_edge174, label %.lr.ph173

.lr.ph173:                                        ; preds = %231
  %236 = getelementptr inbounds i8, ptr %233, i64 1128
  %237 = getelementptr inbounds i8, ptr %233, i64 1028
  br label %238

238:                                              ; preds = %.lr.ph173, %._crit_edge169
  %indvars.iv211 = phi i64 [ 0, %.lr.ph173 ], [ %indvars.iv.next212, %._crit_edge169 ]
  %.292170 = phi ptr [ %.191176, %.lr.ph173 ], [ %245, %._crit_edge169 ]
  %239 = load ptr, ptr %236, align 8, !tbaa !43
  %240 = getelementptr inbounds i32, ptr %239, i64 %indvars.iv211
  %241 = load i32, ptr %240, align 4, !tbaa !44
  store i32 %241, ptr %.292170, align 4, !tbaa !44
  %242 = load ptr, ptr %218, align 8, !tbaa !50
  %243 = getelementptr inbounds i8, ptr %242, i64 24
  %244 = load ptr, ptr %243, align 8, !tbaa !51
  %245 = getelementptr inbounds i8, ptr %.292170, i64 4
  %246 = zext i32 %241 to i64
  %247 = getelementptr inbounds ptr, ptr %244, i64 %246
  %248 = load ptr, ptr %247, align 8, !tbaa !5
  %249 = call noundef float @_ZNK12aiMatrix4x4tIfE11DeterminantEv(ptr noundef nonnull align 4 dereferenceable(64) %237)
  %250 = fcmp olt float %249, 0.000000e+00
  br i1 %250, label %251, label %254

251:                                              ; preds = %238
  invoke void @_ZN6Assimp23FlipWindingOrderProcess11ProcessMeshEP6aiMesh(ptr noundef %248)
          to label %254 unwind label %252

252:                                              ; preds = %251
  %253 = landingpad { ptr, i32 }
          cleanup
  br label %296

254:                                              ; preds = %251, %238
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %33) #12
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %34) #12
  call void @_ZN12aiMatrix3x3tIfEC2ERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(36) %34, ptr noundef nonnull align 4 dereferenceable(64) %237)
  %255 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN12aiMatrix3x3tIfE7InverseEv(ptr noundef nonnull align 4 dereferenceable(36) %34)
          to label %256 unwind label %267

256:                                              ; preds = %254
  %257 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN12aiMatrix3x3tIfE9TransposeEv(ptr noundef nonnull align 4 dereferenceable(36) %255)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %33, ptr noundef nonnull align 4 dereferenceable(36) %257, i64 36, i1 false), !tbaa.struct !53
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %34) #12
  %258 = getelementptr inbounds i8, ptr %248, i64 4
  %259 = load i32, ptr %258, align 4, !tbaa !54
  %.not191 = icmp eq i32 %259, 0
  br i1 %.not191, label %._crit_edge169, label %.lr.ph168

.lr.ph168:                                        ; preds = %256
  %260 = getelementptr inbounds i8, ptr %248, i64 16
  %261 = getelementptr inbounds i8, ptr %248, i64 24
  %262 = getelementptr inbounds i8, ptr %248, i64 32
  %263 = getelementptr inbounds i8, ptr %248, i64 40
  br label %269

._crit_edge169:                                   ; preds = %291, %256
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %33) #12
  %indvars.iv.next212 = add nuw nsw i64 %indvars.iv211, 1
  %264 = load i32, ptr %234, align 8, !tbaa !39
  %265 = zext i32 %264 to i64
  %266 = icmp ult i64 %indvars.iv.next212, %265
  br i1 %266, label %238, label %._crit_edge174, !llvm.loop !59

267:                                              ; preds = %254
  %268 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %34) #12
  br label %295

269:                                              ; preds = %.lr.ph168, %291
  %indvars.iv207 = phi i64 [ 0, %.lr.ph168 ], [ %indvars.iv.next208, %291 ]
  %270 = load ptr, ptr %260, align 8, !tbaa !60
  %271 = getelementptr inbounds %class.aiVector3t, ptr %270, i64 %indvars.iv207
  %272 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(12) %271, ptr noundef nonnull align 4 dereferenceable(64) %237)
          to label %273 unwind label %279

273:                                              ; preds = %269
  %274 = call noundef zeroext i1 @_ZNK6aiMesh10HasNormalsEv(ptr noundef nonnull align 8 dereferenceable(1320) %248)
  br i1 %274, label %275, label %281

275:                                              ; preds = %273
  %276 = load ptr, ptr %261, align 8, !tbaa !61
  %277 = getelementptr inbounds %class.aiVector3t, ptr %276, i64 %indvars.iv207
  %278 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix3x3tIfE(ptr noundef nonnull align 4 dereferenceable(12) %277, ptr noundef nonnull align 4 dereferenceable(36) %33)
          to label %281 unwind label %279

279:                                              ; preds = %287, %283, %275, %269
  %280 = landingpad { ptr, i32 }
          cleanup
  br label %295

281:                                              ; preds = %275, %273
  %282 = call noundef zeroext i1 @_ZNK6aiMesh24HasTangentsAndBitangentsEv(ptr noundef nonnull align 8 dereferenceable(1320) %248)
  br i1 %282, label %283, label %291

283:                                              ; preds = %281
  %284 = load ptr, ptr %262, align 8, !tbaa !62
  %285 = getelementptr inbounds %class.aiVector3t, ptr %284, i64 %indvars.iv207
  %286 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix3x3tIfE(ptr noundef nonnull align 4 dereferenceable(12) %285, ptr noundef nonnull align 4 dereferenceable(36) %33)
          to label %287 unwind label %279

287:                                              ; preds = %283
  %288 = load ptr, ptr %263, align 8, !tbaa !63
  %289 = getelementptr inbounds %class.aiVector3t, ptr %288, i64 %indvars.iv207
  %290 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix3x3tIfE(ptr noundef nonnull align 4 dereferenceable(12) %289, ptr noundef nonnull align 4 dereferenceable(36) %33)
          to label %291 unwind label %279

291:                                              ; preds = %281, %287
  %indvars.iv.next208 = add nuw nsw i64 %indvars.iv207, 1
  %292 = load i32, ptr %258, align 4, !tbaa !54
  %293 = zext i32 %292 to i64
  %294 = icmp ult i64 %indvars.iv.next208, %293
  br i1 %294, label %269, label %._crit_edge169, !llvm.loop !64

295:                                              ; preds = %279, %267
  %.pn111 = phi { ptr, i32 } [ %280, %279 ], [ %268, %267 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %33) #12
  br label %296

296:                                              ; preds = %295, %252
  %.pn111.pn = phi { ptr, i32 } [ %.pn111, %295 ], [ %253, %252 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #12
  br label %304

._crit_edge174:                                   ; preds = %._crit_edge169, %231
  %.292.lcssa = phi ptr [ %.191176, %231 ], [ %245, %._crit_edge169 ]
  call void @_ZN6aiNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(1144) %233) #12
  call void @_ZdlPvm(ptr noundef nonnull %233, i64 noundef 1144) #13
  %297 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #12
  %298 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #12
  br i1 %298, label %231, label %._crit_edge179

299:                                              ; preds = %._crit_edge179
  call void @_ZdaPv(ptr noundef nonnull %229) #13
  br label %300

300:                                              ; preds = %299, %._crit_edge179
  store ptr %211, ptr %228, align 8, !tbaa !43
  %301 = load i32, ptr %206, align 8, !tbaa !39
  %302 = add i32 %301, %201
  store i32 %302, ptr %206, align 8, !tbaa !39
  br label %303

303:                                              ; preds = %._crit_edge159.thread, %._crit_edge154.thread, %._crit_edge159, %300, %186, %._crit_edge154
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #12
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #12
  br label %305

304:                                              ; preds = %219, %296, %185
  %.pn118.pn.pn = phi { ptr, i32 } [ %.pn118.pn, %185 ], [ %.pn111.pn, %296 ], [ %220, %219 ]
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #12
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #12
  br label %355

305:                                              ; preds = %117, %303
  %306 = call noundef zeroext i1 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  br i1 %306, label %._crit_edge216, label %307

._crit_edge216:                                   ; preds = %305
  %.pre217 = load ptr, ptr %4, align 8, !tbaa !5
  br label %314

307:                                              ; preds = %305
  %308 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  %309 = load ptr, ptr %4, align 8, !tbaa !5
  %310 = getelementptr inbounds i8, ptr %309, i64 1104
  %311 = load i32, ptr %310, align 8, !tbaa !9
  %312 = zext i32 %311 to i64
  %313 = icmp ugt i64 %308, %312
  br i1 %313, label %314, label %329

314:                                              ; preds = %._crit_edge216, %307
  %315 = phi ptr [ %.pre217, %._crit_edge216 ], [ %309, %307 ]
  %316 = getelementptr inbounds i8, ptr %315, i64 1112
  %317 = load ptr, ptr %316, align 8, !tbaa !36
  %318 = icmp eq ptr %317, null
  br i1 %318, label %320, label %319

319:                                              ; preds = %314
  call void @_ZdaPv(ptr noundef nonnull %317) #13
  br label %320

320:                                              ; preds = %319, %314
  %321 = call noundef zeroext i1 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  br i1 %321, label %.sink.split, label %322

322:                                              ; preds = %320
  %323 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  %324 = icmp ugt i64 %323, 2305843009213693951
  %325 = shl nuw i64 %323, 3
  %326 = select i1 %324, i64 -1, i64 %325
  %327 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %326) #14
          to label %.sink.split unwind label %118

.sink.split:                                      ; preds = %320, %322
  %.sink = phi ptr [ %327, %322 ], [ null, %320 ]
  %.sink236 = load ptr, ptr %4, align 8, !tbaa !5
  %328 = getelementptr inbounds i8, ptr %.sink236, i64 1112
  store ptr %.sink, ptr %328, align 8, !tbaa !36
  br label %329

329:                                              ; preds = %.sink.split, %307
  %330 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  %331 = trunc i64 %330 to i32
  %332 = load ptr, ptr %4, align 8, !tbaa !5
  %333 = getelementptr inbounds i8, ptr %332, i64 1104
  store i32 %331, ptr %333, align 8, !tbaa !9
  %334 = getelementptr inbounds i8, ptr %332, i64 1112
  %335 = load ptr, ptr %334, align 8, !tbaa !36
  %.not123 = icmp eq ptr %335, null
  br i1 %.not123, label %348, label %336

336:                                              ; preds = %329
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #12
  %337 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  store ptr %337, ptr %35, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #12
  %338 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  store ptr %338, ptr %36, align 8
  %339 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #12
  br i1 %339, label %.lr.ph185, label %._crit_edge186

._crit_edge186:                                   ; preds = %.lr.ph185, %336
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #12
  br label %348

.lr.ph185:                                        ; preds = %336, %.lr.ph185
  %.073183 = phi ptr [ %342, %.lr.ph185 ], [ %335, %336 ]
  %340 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIP6aiNodeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #12
  %341 = load ptr, ptr %340, align 8, !tbaa !5
  %342 = getelementptr inbounds i8, ptr %.073183, i64 8
  store ptr %341, ptr %.073183, align 8, !tbaa !5
  %343 = load ptr, ptr %4, align 8, !tbaa !5
  %344 = getelementptr inbounds i8, ptr %341, i64 1096
  store ptr %343, ptr %344, align 8, !tbaa !65
  %345 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #12
  %346 = call ptr @_ZNSt7__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  store ptr %346, ptr %36, align 8
  %347 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #12
  br i1 %347, label %.lr.ph185, label %._crit_edge186, !llvm.loop !66

348:                                              ; preds = %._crit_edge186, %329
  %349 = call noundef i64 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  %350 = trunc i64 %349 to i32
  %351 = getelementptr inbounds i8, ptr %0, i64 108
  %352 = load i32, ptr %351, align 4, !tbaa !67
  %353 = add i32 %352, %350
  store i32 %353, ptr %351, align 4, !tbaa !67
  br label %354

354:                                              ; preds = %120, %123, %348
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #12
  ret void

355:                                              ; preds = %304, %118, %114, %78, %60
  %.pn128 = phi { ptr, i32 } [ %61, %60 ], [ %.pn126, %114 ], [ %119, %118 ], [ %.pn118.pn.pn, %304 ], [ %.pn, %78 ]
  call void @_ZNSt7__cxx1110_List_baseIP6aiNodeSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #12
  resume { ptr, i32 } %.pn128
}

; 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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_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 uwtable
declare dso_local ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4findERKS5_(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 ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt14_List_iteratorIP6aiNodeES4_(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__cxx114listIP6aiNodeSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind noalias writable sret(%class.aiMatrix4x4t) align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt20_List_const_iteratorIP6aiNodeEC2ERKSt14_List_iteratorIS1_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 nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIP6aiNodeEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

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

; 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE7InverseEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #3 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #7

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorIP6aiNodeES4_(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 @_ZNKSt7__cxx114listIP6aiNodeSaIS2_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK12aiMatrix4x4tIfE11DeterminantEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #9 align 2

declare void @_ZN6Assimp23FlipWindingOrderProcess11ProcessMeshEP6aiMesh(ptr noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12aiMatrix3x3tIfEC2ERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN12aiMatrix3x3tIfE7InverseEv(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN12aiMatrix3x3tIfE9TransposeEv(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #11 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLERK12aiMatrix3x3tIfE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #11 align 2

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #6

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

!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, !12, i64 1104}
!10 = !{!"_ZTS6aiNode", !11, i64 0, !13, i64 1028, !6, i64 1096, !12, i64 1104, !6, i64 1112, !12, i64 1120, !6, i64 1128, !6, i64 1136}
!11 = !{!"_ZTS8aiString", !12, i64 0, !7, i64 4}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS12aiMatrix4x4tIfE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !14, i64 60}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !12, i64 104}
!16 = !{!"_ZTSN6Assimp20OptimizeGraphProcessE", !17, i64 0, !6, i64 24, !18, i64 32, !27, i64 80, !12, i64 104, !12, i64 108, !12, i64 112, !32, i64 120}
!17 = !{!"_ZTSN6Assimp11BaseProcessE", !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !19, i64 0}
!19 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !20, i64 0}
!20 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !21, i64 0, !23, i64 8}
!21 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !22, i64 0}
!22 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!23 = !{!"_ZTSSt15_Rb_tree_header", !24, i64 0, !26, i64 32}
!24 = !{!"_ZTSSt18_Rb_tree_node_base", !25, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!25 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{!"_ZTSNSt7__cxx114listINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEE", !28, i64 0}
!28 = !{!"_ZTSNSt7__cxx1110_List_baseINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEE", !29, i64 0}
!29 = !{!"_ZTSNSt7__cxx1110_List_baseINS_12basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE10_List_implE", !30, i64 0}
!30 = !{!"_ZTSNSt8__detail17_List_node_headerE", !31, i64 0, !26, i64 16}
!31 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!32 = !{!"_ZTSSt6vectorIjSaIjEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!10, !6, i64 1112}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!10, !12, i64 1120}
!40 = !{i64 0, i64 4, !41, i64 4, i64 4, !41, i64 8, i64 4, !41, i64 12, i64 4, !41, i64 16, i64 4, !41, i64 20, i64 4, !41, i64 24, i64 4, !41, i64 28, i64 4, !41, i64 32, i64 4, !41, i64 36, i64 4, !41, i64 40, i64 4, !41, i64 44, i64 4, !41, i64 48, i64 4, !41, i64 52, i64 4, !41, i64 56, i64 4, !41, i64 60, i64 4, !41}
!41 = !{!14, !14, i64 0}
!42 = distinct !{!42, !38}
!43 = !{!10, !6, i64 1128}
!44 = !{!12, !12, i64 0}
!45 = distinct !{!45, !38}
!46 = !{!16, !12, i64 112}
!47 = !{!10, !12, i64 0}
!48 = distinct !{!48, !38}
!49 = distinct !{!49, !38}
!50 = !{!16, !6, i64 24}
!51 = !{!52, !6, i64 24}
!52 = !{!"_ZTS7aiScene", !12, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !12, i64 64, !6, i64 72, !12, i64 80, !6, i64 88, !12, i64 96, !6, i64 104, !6, i64 112, !11, i64 120, !12, i64 1148, !6, i64 1152, !6, i64 1160}
!53 = !{i64 0, i64 4, !41, i64 4, i64 4, !41, i64 8, i64 4, !41, i64 12, i64 4, !41, i64 16, i64 4, !41, i64 20, i64 4, !41, i64 24, i64 4, !41, i64 28, i64 4, !41, i64 32, i64 4, !41}
!54 = !{!55, !12, i64 4}
!55 = !{!"_ZTS6aiMesh", !12, i64 0, !12, i64 4, !12, 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, !12, i64 216, !6, i64 224, !12, i64 232, !11, i64 236, !12, i64 1264, !6, i64 1272, !56, i64 1280, !57, i64 1284, !6, i64 1312}
!56 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!57 = !{!"_ZTS6aiAABB", !58, i64 0, !58, i64 12}
!58 = !{!"_ZTS10aiVector3tIfE", !14, i64 0, !14, i64 4, !14, i64 8}
!59 = distinct !{!59, !38}
!60 = !{!55, !6, i64 16}
!61 = !{!55, !6, i64 24}
!62 = !{!55, !6, i64 32}
!63 = !{!55, !6, i64 40}
!64 = distinct !{!64, !38}
!65 = !{!10, !6, i64 1096}
!66 = distinct !{!66, !38}
!67 = !{!16, !12, i64 108}


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