; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/Common/BaseImporter.ll (ZN6Assimp11BatchLoader7LoadAllEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::_List_iterator" = type { ptr }
%"class.Assimp::BatchLoader" = type { ptr }
%"struct.Assimp::BatchData" = type <{ ptr, ptr, %"class.std::__cxx11::list", %"class.std::__cxx11::basic_string", i32, i8, [3 x i8] }>
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<Assimp::LoadRequest, std::allocator<Assimp::LoadRequest>>::_List_impl" }
%"struct.std::__cxx11::_List_base<Assimp::LoadRequest, std::allocator<Assimp::LoadRequest>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.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] }
%"struct.Assimp::LoadRequest" = type <{ %"class.std::__cxx11::basic_string", i32, i32, ptr, i8, [7 x i8], %"struct.Assimp::BatchLoader::PropertyMap", i32, [4 x i8] }>
%"struct.Assimp::BatchLoader::PropertyMap" = type { %"class.std::map", %"class.std::map.42", %"class.std::map.47", %"class.std::map.52" }
%"class.std::map" = type { %"class.std::_Rb_tree.37" }
%"class.std::_Rb_tree.37" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, int>, std::_Select1st<std::pair<const unsigned int, int>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, int>, std::_Select1st<std::pair<const unsigned int, int>>, std::less<unsigned int>>::_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::map.42" = type { %"class.std::_Rb_tree.43" }
%"class.std::_Rb_tree.43" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, float>, std::_Select1st<std::pair<const unsigned int, float>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, float>, std::_Select1st<std::pair<const unsigned int, float>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.47" = type { %"class.std::_Rb_tree.48" }
%"class.std::_Rb_tree.48" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const unsigned int, std::__cxx11::basic_string<char>>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const unsigned int, std::__cxx11::basic_string<char>>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.52" = type { %"class.std::_Rb_tree.53" }
%"class.std::_Rb_tree.53" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, aiMatrix4x4t<float>>, std::_Select1st<std::pair<const unsigned int, aiMatrix4x4t<float>>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, aiMatrix4x4t<float>>, std::_Select1st<std::pair<const unsigned int, aiMatrix4x4t<float>>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.Assimp::ImporterPimpl" = type { ptr, i8, ptr, i8, %"class.std::vector.57", %"class.std::vector.62", ptr, %"class.std::__cxx11::basic_string", %"class.std::__exception_ptr::exception_ptr", %"class.std::map", %"class.std::map.42", %"class.std::map.47", %"class.std::map.52", %"class.std::map.67", i8, ptr }
%"class.std::vector.57" = type { %"struct.std::_Vector_base.58" }
%"struct.std::_Vector_base.58" = type { %"struct.std::_Vector_base<Assimp::BaseImporter *, std::allocator<Assimp::BaseImporter *>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::BaseImporter *, std::allocator<Assimp::BaseImporter *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::BaseImporter *, std::allocator<Assimp::BaseImporter *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::BaseImporter *, std::allocator<Assimp::BaseImporter *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<Assimp::BaseProcess *, std::allocator<Assimp::BaseProcess *>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::BaseProcess *, std::allocator<Assimp::BaseProcess *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::BaseProcess *, std::allocator<Assimp::BaseProcess *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::BaseProcess *, std::allocator<Assimp::BaseProcess *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__exception_ptr::exception_ptr" = type { ptr }
%"class.std::map.67" = type { %"class.std::_Rb_tree.68" }
%"class.std::_Rb_tree.68" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, void *>, std::_Select1st<std::pair<const unsigned int, void *>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, void *>, std::_Select1st<std::pair<const unsigned int, void *>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

@.str.31 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [26 x i8], align 1

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

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp11BatchLoader7LoadAllEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.std::_List_iterator", align 8
  %4 = alloca %"struct.std::_List_iterator", align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %8 = getelementptr inbounds %"class.Assimp::BatchLoader", ptr %7, i32 0, i32 0
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  %10 = getelementptr inbounds %"struct.Assimp::BatchData", ptr %9, i32 0, i32 2
  %11 = call ptr @_ZNSt7__cxx114listIN6Assimp11LoadRequestESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  %12 = getelementptr inbounds %"struct.std::_List_iterator", ptr %3, i32 0, i32 0
  store ptr %11, ptr %12, align 8
  br label %13

13:                                               ; preds = %88, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %14 = getelementptr inbounds %"class.Assimp::BatchLoader", ptr %7, i32 0, i32 0
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = getelementptr inbounds %"struct.Assimp::BatchData", ptr %15, i32 0, i32 2
  %17 = call ptr @_ZNSt7__cxx114listIN6Assimp11LoadRequestESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  %18 = getelementptr inbounds %"struct.std::_List_iterator", ptr %4, i32 0, i32 0
  store ptr %17, ptr %18, align 8
  %19 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN6Assimp11LoadRequestEES4_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br i1 %19, label %21, label %20

20:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %90

21:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %22 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %23 = getelementptr inbounds %"struct.Assimp::LoadRequest", ptr %22, i32 0, i32 1
  %24 = load i32, ptr %23, align 8, !tbaa !11
  store i32 %24, ptr %5, align 4, !tbaa !36
  %25 = getelementptr inbounds %"class.Assimp::BatchLoader", ptr %7, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds %"struct.Assimp::BatchData", ptr %26, i32 0, i32 5
  %28 = load i8, ptr %27, align 4, !tbaa !37, !range !44, !noundef !45
  %29 = trunc i8 %28 to i1
  br i1 %29, label %30, label %33

30:                                               ; preds = %21
  %31 = load i32, ptr %5, align 4, !tbaa !36
  %32 = or i32 %31, 1024
  store i32 %32, ptr %5, align 4, !tbaa !36
  br label %33

33:                                               ; preds = %30, %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %34 = getelementptr inbounds %"class.Assimp::BatchLoader", ptr %7, i32 0, i32 0
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = getelementptr inbounds %"struct.Assimp::BatchData", ptr %35, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !46
  %38 = call noundef ptr @_ZN6Assimp8Importer5PimplEv(ptr noundef nonnull align 8 dereferenceable(8) %37)
  store ptr %38, ptr %6, align 8, !tbaa !5
  %39 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %40 = getelementptr inbounds %"struct.Assimp::LoadRequest", ptr %39, i32 0, i32 6
  %41 = getelementptr inbounds %"struct.Assimp::BatchLoader::PropertyMap", ptr %40, i32 0, i32 1
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.Assimp::ImporterPimpl", ptr %42, i32 0, i32 10
  %44 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIjfSt4lessIjESaISt4pairIKjfEEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(48) %41)
  %45 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %46 = getelementptr inbounds %"struct.Assimp::LoadRequest", ptr %45, i32 0, i32 6
  %47 = getelementptr inbounds %"struct.Assimp::BatchLoader::PropertyMap", ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.Assimp::ImporterPimpl", ptr %48, i32 0, i32 9
  %50 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIjiSt4lessIjESaISt4pairIKjiEEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(48) %49, ptr noundef nonnull align 8 dereferenceable(48) %47)
  %51 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %52 = getelementptr inbounds %"struct.Assimp::LoadRequest", ptr %51, i32 0, i32 6
  %53 = getelementptr inbounds %"struct.Assimp::BatchLoader::PropertyMap", ptr %52, i32 0, i32 2
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.Assimp::ImporterPimpl", ptr %54, i32 0, i32 11
  %56 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIjESaISt4pairIKjS5_EEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(48) %55, ptr noundef nonnull align 8 dereferenceable(48) %53)
  %57 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %58 = getelementptr inbounds %"struct.Assimp::LoadRequest", ptr %57, i32 0, i32 6
  %59 = getelementptr inbounds %"struct.Assimp::BatchLoader::PropertyMap", ptr %58, i32 0, i32 3
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.Assimp::ImporterPimpl", ptr %60, i32 0, i32 12
  %62 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIj12aiMatrix4x4tIfESt4lessIjESaISt4pairIKjS1_EEEaSERKS8_(ptr noundef nonnull align 8 dereferenceable(48) %61, ptr noundef nonnull align 8 dereferenceable(48) %59)
  %63 = call noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv()
  br i1 %63, label %69, label %64

64:                                               ; preds = %33
  %65 = call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  call void @_ZN6Assimp6Logger4infoEPKc(ptr noundef nonnull align 8 dereferenceable(12) %65, ptr noundef @.str.31)
  %66 = call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  %67 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %68 = getelementptr inbounds %"struct.Assimp::LoadRequest", ptr %67, i32 0, i32 0
  call void @_ZN6Assimp6Logger4infoIJRA7_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %66, ptr noundef nonnull align 1 dereferenceable(7) @.str.32, ptr noundef nonnull align 8 dereferenceable(32) %68)
  br label %69

69:                                               ; preds = %64, %33
  %70 = getelementptr inbounds %"class.Assimp::BatchLoader", ptr %7, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8, !tbaa !9
  %72 = getelementptr inbounds %"struct.Assimp::BatchData", ptr %71, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !46
  %74 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %75 = getelementptr inbounds %"struct.Assimp::LoadRequest", ptr %74, i32 0, i32 0
  %76 = load i32, ptr %5, align 4, !tbaa !36
  %77 = call noundef ptr @_ZN6Assimp8Importer8ReadFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(32) %75, i32 noundef %76)
  %78 = getelementptr inbounds %"class.Assimp::BatchLoader", ptr %7, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8, !tbaa !9
  %80 = getelementptr inbounds %"struct.Assimp::BatchData", ptr %79, i32 0, i32 1
  %81 = load ptr, ptr %80, align 8, !tbaa !46
  %82 = call noundef ptr @_ZN6Assimp8Importer16GetOrphanedSceneEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
  %83 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %84 = getelementptr inbounds %"struct.Assimp::LoadRequest", ptr %83, i32 0, i32 3
  store ptr %82, ptr %84, align 8, !tbaa !47
  %85 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %86 = getelementptr inbounds %"struct.Assimp::LoadRequest", ptr %85, i32 0, i32 4
  store i8 1, ptr %86, align 8, !tbaa !48
  %87 = call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  call void @_ZN6Assimp6Logger4infoEPKc(ptr noundef nonnull align 8 dereferenceable(12) %87, ptr noundef @.str.33)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %88

88:                                               ; preds = %69
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN6Assimp11LoadRequestEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  br label %13, !llvm.loop !49

90:                                               ; preds = %20
  ret void
}

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

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

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

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

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

declare noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv() #1

declare void @_ZN6Assimp6Logger4infoEPKc(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger4infoIJRA7_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(7), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

declare noundef ptr @_ZN6Assimp8Importer16GetOrphanedSceneEv(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN6Assimp11BatchLoaderE", !6, i64 0}
!11 = !{!12, !16, i64 32}
!12 = !{!"_ZTSN6Assimp11LoadRequestE", !13, i64 0, !16, i64 32, !16, i64 36, !6, i64 40, !17, i64 48, !18, i64 56, !16, i64 248}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN6Assimp11BatchLoader11PropertyMapE", !19, i64 0, !27, i64 48, !30, i64 96, !33, i64 144}
!19 = !{!"_ZTSSt3mapIjiSt4lessIjESaISt4pairIKjiEEE", !20, i64 0}
!20 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjiESt10_Select1stIS2_ESt4lessIjESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjiESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !22, i64 0, !24, i64 8}
!22 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !23, i64 0}
!23 = !{!"_ZTSSt4lessIjE"}
!24 = !{!"_ZTSSt15_Rb_tree_header", !25, i64 0, !15, i64 32}
!25 = !{!"_ZTSSt18_Rb_tree_node_base", !26, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!26 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!27 = !{!"_ZTSSt3mapIjfSt4lessIjESaISt4pairIKjfEEE", !28, i64 0}
!28 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjfESt10_Select1stIS2_ESt4lessIjESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjfESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !22, i64 0, !24, i64 8}
!30 = !{!"_ZTSSt3mapIjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIjESaISt4pairIKjS5_EEE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIjESaIS8_EE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIjESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !22, i64 0, !24, i64 8}
!33 = !{!"_ZTSSt3mapIj12aiMatrix4x4tIfESt4lessIjESaISt4pairIKjS1_EEE", !34, i64 0}
!34 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKj12aiMatrix4x4tIfEESt10_Select1stIS4_ESt4lessIjESaIS4_EE", !35, i64 0}
!35 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKj12aiMatrix4x4tIfEESt10_Select1stIS4_ESt4lessIjESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !22, i64 0, !24, i64 8}
!36 = !{!16, !16, i64 0}
!37 = !{!38, !17, i64 76}
!38 = !{!"_ZTSN6Assimp9BatchDataE", !6, i64 0, !6, i64 8, !39, i64 16, !13, i64 40, !16, i64 72, !17, i64 76}
!39 = !{!"_ZTSNSt7__cxx114listIN6Assimp11LoadRequestESaIS2_EEE", !40, i64 0}
!40 = !{!"_ZTSNSt7__cxx1110_List_baseIN6Assimp11LoadRequestESaIS2_EEE", !41, i64 0}
!41 = !{!"_ZTSNSt7__cxx1110_List_baseIN6Assimp11LoadRequestESaIS2_EE10_List_implE", !42, i64 0}
!42 = !{!"_ZTSNSt8__detail17_List_node_headerE", !43, i64 0, !15, i64 16}
!43 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!38, !6, i64 8}
!47 = !{!12, !6, i64 40}
!48 = !{!12, !17, i64 48}
!49 = distinct !{!49, !50}
!50 = !{!"llvm.loop.mustprogress"}


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

%"struct.std::_List_iterator" = type { ptr }

@.str.31 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [26 x i8], align 1

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

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() local_unnamed_addr #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp11BatchLoader7LoadAllEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0) local_unnamed_addr #3 align 2 {
  %2 = alloca %"struct.std::_List_iterator", align 8
  %3 = alloca %"struct.std::_List_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %4 = load ptr, ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 16
  %6 = tail call ptr @_ZNSt7__cxx114listIN6Assimp11LoadRequestESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  store ptr %6, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %7 = load ptr, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 16
  %9 = tail call ptr @_ZNSt7__cxx114listIN6Assimp11LoadRequestESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  store ptr %9, ptr %3, align 8
  %10 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN6Assimp11LoadRequestEES4_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br i1 %10, label %.lr.ph, label %._crit_edge

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

.lr.ph:                                           ; preds = %1, %43
  %11 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  %12 = getelementptr inbounds i8, ptr %11, i64 32
  %13 = load i32, ptr %12, align 8, !tbaa !10
  %14 = load ptr, ptr %0, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %14, i64 76
  %16 = load i8, ptr %15, align 4, !tbaa !35, !range !42, !noundef !43
  %17 = trunc nuw i8 %16 to i1
  %18 = or i32 %13, 1024
  %spec.select = select i1 %17, i32 %18, i32 %13
  %19 = getelementptr inbounds i8, ptr %14, i64 8
  %20 = load ptr, ptr %19, align 8, !tbaa !44
  %21 = call noundef ptr @_ZN6Assimp8Importer5PimplEv(ptr noundef nonnull align 8 dereferenceable(8) %20)
  %22 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  %23 = getelementptr inbounds i8, ptr %22, i64 104
  %24 = getelementptr inbounds i8, ptr %21, i64 176
  %25 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIjfSt4lessIjESaISt4pairIKjfEEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull align 8 dereferenceable(48) %23)
  %26 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  %27 = getelementptr inbounds i8, ptr %26, i64 56
  %28 = getelementptr inbounds i8, ptr %21, i64 128
  %29 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIjiSt4lessIjESaISt4pairIKjiEEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(48) %27)
  %30 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  %31 = getelementptr inbounds i8, ptr %30, i64 152
  %32 = getelementptr inbounds i8, ptr %21, i64 224
  %33 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIjESaISt4pairIKjS5_EEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(48) %32, ptr noundef nonnull align 8 dereferenceable(48) %31)
  %34 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  %35 = getelementptr inbounds i8, ptr %34, i64 200
  %36 = getelementptr inbounds i8, ptr %21, i64 272
  %37 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIj12aiMatrix4x4tIfESt4lessIjESaISt4pairIKjS1_EEEaSERKS8_(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef nonnull align 8 dereferenceable(48) %35)
  %38 = call noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv()
  br i1 %38, label %43, label %39

39:                                               ; preds = %.lr.ph
  %40 = call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  call void @_ZN6Assimp6Logger4infoEPKc(ptr noundef nonnull align 8 dereferenceable(12) %40, ptr noundef nonnull @.str.31)
  %41 = call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  %42 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  call void @_ZN6Assimp6Logger4infoIJRA7_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %41, ptr noundef nonnull align 1 dereferenceable(7) @.str.32, ptr noundef nonnull align 8 dereferenceable(32) %42)
  br label %43

43:                                               ; preds = %39, %.lr.ph
  %44 = load ptr, ptr %0, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %46 = load ptr, ptr %45, align 8, !tbaa !44
  %47 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  %48 = call noundef ptr @_ZN6Assimp8Importer8ReadFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(32) %47, i32 noundef %spec.select)
  %49 = load ptr, ptr %0, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 8
  %51 = load ptr, ptr %50, align 8, !tbaa !44
  %52 = call noundef ptr @_ZN6Assimp8Importer16GetOrphanedSceneEv(ptr noundef nonnull align 8 dereferenceable(8) %51)
  %53 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  %54 = getelementptr inbounds i8, ptr %53, i64 40
  store ptr %52, ptr %54, align 8, !tbaa !45
  %55 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZNKSt14_List_iteratorIN6Assimp11LoadRequestEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  %56 = getelementptr inbounds i8, ptr %55, i64 48
  store i8 1, ptr %56, align 8, !tbaa !46
  %57 = call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  call void @_ZN6Assimp6Logger4infoEPKc(ptr noundef nonnull align 8 dereferenceable(12) %57, ptr noundef nonnull @.str.33)
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN6Assimp11LoadRequestEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %59 = load ptr, ptr %0, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %59, i64 16
  %61 = call ptr @_ZNSt7__cxx114listIN6Assimp11LoadRequestESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #5
  store ptr %61, ptr %3, align 8
  %62 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN6Assimp11LoadRequestEES4_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br i1 %62, label %.lr.ph, label %._crit_edge, !llvm.loop !47
}

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

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

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

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

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

declare noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv() local_unnamed_addr #1

declare void @_ZN6Assimp6Logger4infoEPKc(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger4infoIJRA7_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(7), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

declare noundef ptr @_ZN6Assimp8Importer16GetOrphanedSceneEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN6Assimp11BatchLoaderE", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !15, i64 32}
!11 = !{!"_ZTSN6Assimp11LoadRequestE", !12, i64 0, !15, i64 32, !15, i64 36, !7, i64 40, !16, i64 48, !17, i64 56, !15, i64 248}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !14, i64 8, !8, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!"bool", !8, i64 0}
!17 = !{!"_ZTSN6Assimp11BatchLoader11PropertyMapE", !18, i64 0, !26, i64 48, !29, i64 96, !32, i64 144}
!18 = !{!"_ZTSSt3mapIjiSt4lessIjESaISt4pairIKjiEEE", !19, i64 0}
!19 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjiESt10_Select1stIS2_ESt4lessIjESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjiESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !21, i64 0, !23, i64 8}
!21 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !22, i64 0}
!22 = !{!"_ZTSSt4lessIjE"}
!23 = !{!"_ZTSSt15_Rb_tree_header", !24, i64 0, !14, i64 32}
!24 = !{!"_ZTSSt18_Rb_tree_node_base", !25, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!25 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!26 = !{!"_ZTSSt3mapIjfSt4lessIjESaISt4pairIKjfEEE", !27, i64 0}
!27 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjfESt10_Select1stIS2_ESt4lessIjESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjfESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !21, i64 0, !23, i64 8}
!29 = !{!"_ZTSSt3mapIjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIjESaISt4pairIKjS5_EEE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIjESaIS8_EE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIjESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !21, i64 0, !23, i64 8}
!32 = !{!"_ZTSSt3mapIj12aiMatrix4x4tIfESt4lessIjESaISt4pairIKjS1_EEE", !33, i64 0}
!33 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKj12aiMatrix4x4tIfEESt10_Select1stIS4_ESt4lessIjESaIS4_EE", !34, i64 0}
!34 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKj12aiMatrix4x4tIfEESt10_Select1stIS4_ESt4lessIjESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !21, i64 0, !23, i64 8}
!35 = !{!36, !16, i64 76}
!36 = !{!"_ZTSN6Assimp9BatchDataE", !7, i64 0, !7, i64 8, !37, i64 16, !12, i64 40, !15, i64 72, !16, i64 76}
!37 = !{!"_ZTSNSt7__cxx114listIN6Assimp11LoadRequestESaIS2_EEE", !38, i64 0}
!38 = !{!"_ZTSNSt7__cxx1110_List_baseIN6Assimp11LoadRequestESaIS2_EEE", !39, i64 0}
!39 = !{!"_ZTSNSt7__cxx1110_List_baseIN6Assimp11LoadRequestESaIS2_EE10_List_implE", !40, i64 0}
!40 = !{!"_ZTSNSt8__detail17_List_node_headerE", !41, i64 0, !14, i64 16}
!41 = !{!"_ZTSNSt8__detail15_List_node_baseE", !7, i64 0, !7, i64 8}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!36, !7, i64 8}
!45 = !{!11, !7, i64 40}
!46 = !{!11, !16, i64 48}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}


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