; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/AssetLib/FBX (FBXConverter)

; 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::vector.130" = type { %"struct.std::_Vector_base.131" }
%"struct.std::_Vector_base.131" = type { %"struct.std::_Vector_base<const Assimp::FBX::Connection *, std::allocator<const Assimp::FBX::Connection *>>::_Vector_impl" }
%"struct.std::_Vector_base<const Assimp::FBX::Connection *, std::allocator<const Assimp::FBX::Connection *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const Assimp::FBX::Connection *, std::allocator<const Assimp::FBX::Connection *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const Assimp::FBX::Connection *, std::allocator<const Assimp::FBX::Connection *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.135" = type { %"struct.std::_Vector_base.136" }
%"struct.std::_Vector_base.136" = type { %"struct.std::_Vector_base<Assimp::FBX::FBXConverter::PotentialNode, std::allocator<Assimp::FBX::FBXConverter::PotentialNode>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::FBX::FBXConverter::PotentialNode, std::allocator<Assimp::FBX::FBXConverter::PotentialNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::FBX::FBXConverter::PotentialNode, std::allocator<Assimp::FBX::FBXConverter::PotentialNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::FBX::FBXConverter::PotentialNode, std::allocator<Assimp::FBX::FBXConverter::PotentialNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.140" = type { ptr }
%class.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%"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.__gnu_cxx::__normal_iterator.149" = type { ptr }
%"class.Assimp::FBX::FBXConverter" = type <{ i32, [4 x i8], %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.15", %"class.std::vector.20", %"class.std::map", %"class.std::map.28", %"class.std::map.34", %"class.std::map.40", %"class.std::map.40", %"class.std::map.46", double, %"class.std::vector.52", ptr, ptr, i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<aiMaterial *, std::allocator<aiMaterial *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiMaterial *, std::allocator<aiMaterial *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiMaterial *, std::allocator<aiMaterial *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiMaterial *, std::allocator<aiMaterial *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<aiAnimation *, std::allocator<aiAnimation *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiAnimation *, std::allocator<aiAnimation *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiAnimation *, std::allocator<aiAnimation *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiAnimation *, std::allocator<aiAnimation *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<aiLight *, std::allocator<aiLight *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiLight *, std::allocator<aiLight *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiLight *, std::allocator<aiLight *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiLight *, std::allocator<aiLight *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<aiCamera *, std::allocator<aiCamera *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiCamera *, std::allocator<aiCamera *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiCamera *, std::allocator<aiCamera *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiCamera *, std::allocator<aiCamera *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<aiTexture *, std::allocator<aiTexture *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiTexture *, std::allocator<aiTexture *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiTexture *, std::allocator<aiTexture *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiTexture *, std::allocator<aiTexture *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const Assimp::FBX::Material *, std::pair<const Assimp::FBX::Material *const, unsigned int>, std::_Select1st<std::pair<const Assimp::FBX::Material *const, unsigned int>>, std::less<const Assimp::FBX::Material *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const Assimp::FBX::Material *, std::pair<const Assimp::FBX::Material *const, unsigned int>, std::_Select1st<std::pair<const Assimp::FBX::Material *const, unsigned int>>, std::less<const Assimp::FBX::Material *>>::_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.28" = type { %"class.std::_Rb_tree.29" }
%"class.std::_Rb_tree.29" = type { %"struct.std::_Rb_tree<const Assimp::FBX::Video *, std::pair<const Assimp::FBX::Video *const, unsigned int>, std::_Select1st<std::pair<const Assimp::FBX::Video *const, unsigned int>>, std::less<const Assimp::FBX::Video *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const Assimp::FBX::Video *, std::pair<const Assimp::FBX::Video *const, unsigned int>, std::_Select1st<std::pair<const Assimp::FBX::Video *const, unsigned int>>, std::less<const Assimp::FBX::Video *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.34" = type { %"class.std::_Rb_tree.35" }
%"class.std::_Rb_tree.35" = type { %"struct.std::_Rb_tree<const Assimp::FBX::Geometry *, std::pair<const Assimp::FBX::Geometry *const, std::vector<unsigned int>>, std::_Select1st<std::pair<const Assimp::FBX::Geometry *const, std::vector<unsigned int>>>, std::less<const Assimp::FBX::Geometry *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const Assimp::FBX::Geometry *, std::pair<const Assimp::FBX::Geometry *const, std::vector<unsigned int>>, std::_Select1st<std::pair<const Assimp::FBX::Geometry *const, std::vector<unsigned int>>>, std::less<const Assimp::FBX::Geometry *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.40" = type { %"class.std::_Rb_tree.41" }
%"class.std::_Rb_tree.41" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.46" = type { %"class.std::_Rb_tree.47" }
%"class.std::_Rb_tree.47" = type { %"struct.std::_Rb_tree<const std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, aiBone *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, aiBone *>>, std::less<const std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, aiBone *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, aiBone *>>, std::less<const std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.52" = type { %"struct.std::_Vector_base.53" }
%"struct.std::_Vector_base.53" = type { %"struct.std::_Vector_base<aiSkeleton *, std::allocator<aiSkeleton *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiSkeleton *, std::allocator<aiSkeleton *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiSkeleton *, std::allocator<aiSkeleton *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiSkeleton *, std::allocator<aiSkeleton *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.aiNode = type { %struct.aiString, %class.aiMatrix4x4t, ptr, i32, ptr, i32, ptr, ptr }
%struct.aiString = type { i32, [1024 x i8] }
%"struct.Assimp::FBX::FBXConverter::PotentialNode" = type { %"class.std::unique_ptr.141", ptr }
%"class.std::unique_ptr.141" = type { %"struct.std::__uniq_ptr_data.142" }
%"struct.std::__uniq_ptr_data.142" = type { %"class.std::__uniq_ptr_impl.143" }
%"class.std::__uniq_ptr_impl.143" = type { %"class.std::tuple.144" }
%"class.std::tuple.144" = type { %"struct.std::_Tuple_impl.145" }
%"struct.std::_Tuple_impl.145" = type { %"struct.std::_Head_base.148" }
%"struct.std::_Head_base.148" = type { ptr }
%"struct.Assimp::FBX::ImportSettings" = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }

@_ZTIN6Assimp3FBX6ObjectE = external dso_local constant { ptr, ptr }, align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [47 x i8], align 1
@_ZTIN6Assimp3FBX5ModelE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #0

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #3

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

; 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 uwtable
define dso_local void @_ZN6Assimp3FBX12FBXConverter12ConvertNodesEmP6aiNodeS3_(ptr noundef nonnull align 8 dereferenceable(489) %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #4 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::vector.130", align 8
  %11 = alloca %"class.std::vector.135", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.135", align 8
  %15 = alloca %"class.std::vector.135", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %class.aiMatrix4x4t, align 4
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca i8, align 1
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.149", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.149", align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.std::vector.130", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.149", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.149", align 8
  %36 = alloca ptr, align 8
  %37 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %38 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #11
  %39 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %38, i32 0, i32 17
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %41 = load i64, ptr %6, align 8, !tbaa !9
  call void @_ZNK6Assimp3FBX8Document36GetConnectionsByDestinationSequencedEmPKc(ptr dead_on_unwind writable sret(%"class.std::vector.130") align 8 %10, ptr noundef nonnull align 8 dereferenceable(336) %40, i64 noundef %41, ptr noundef @.str.1)
  store ptr %10, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #11
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = call noundef i64 @_ZNKSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #11
  invoke void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %43)
          to label %44 unwind label %55

44:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #11
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #11
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %45, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %46 = load ptr, ptr %16, align 8, !tbaa !5
  %47 = call ptr @_ZNKSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #11
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.140", ptr %17, i32 0, i32 0
  store ptr %47, ptr %48, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %49 = load ptr, ptr %16, align 8, !tbaa !5
  %50 = call ptr @_ZNKSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #11
  %51 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.140", ptr %18, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  br label %52

52:                                               ; preds = %308, %44
  %53 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPKN6Assimp3FBX10ConnectionESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #11
  br i1 %53, label %59, label %54

54:                                               ; preds = %52
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  br label %312

55:                                               ; preds = %4
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %12, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %13, align 4
  br label %360

59:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPKN6Assimp3FBX10ConnectionESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #11
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  store ptr %61, ptr %20, align 8, !tbaa !5
  %62 = load ptr, ptr %20, align 8, !tbaa !5
  %63 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Assimp3FBX10Connection12PropertyNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(64) %62)
          to label %64 unwind label %69

64:                                               ; preds = %59
  %65 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %63) #11
  %66 = icmp ne i64 %65, 0
  br i1 %66, label %67, label %73

67:                                               ; preds = %64
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogInfoIJRA56_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(56) @.str.2)
          to label %68 unwind label %69

68:                                               ; preds = %67
  store i32 3, ptr %19, align 4
  br label %305

69:                                               ; preds = %67, %59
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %12, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %13, align 4
  br label %311

73:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #11
  %74 = load ptr, ptr %20, align 8, !tbaa !5
  %75 = invoke noundef ptr @_ZNK6Assimp3FBX10Connection12SourceObjectEv(ptr noundef nonnull align 8 dereferenceable(64) %74)
          to label %76 unwind label %81

76:                                               ; preds = %73
  store ptr %75, ptr %21, align 8, !tbaa !5
  %77 = load ptr, ptr %21, align 8, !tbaa !5
  %78 = icmp eq ptr null, %77
  br i1 %78, label %79, label %85

79:                                               ; preds = %76
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE8LogErrorIJRA47_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(47) @.str.3)
          to label %80 unwind label %81

80:                                               ; preds = %79
  store i32 3, ptr %19, align 4
  br label %302

81:                                               ; preds = %79, %73
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %12, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %13, align 4
  br label %310

85:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #11
  %86 = load ptr, ptr %21, align 8, !tbaa !5
  %87 = icmp eq ptr %86, null
  br i1 %87, label %90, label %88

88:                                               ; preds = %85
  %89 = call ptr @__dynamic_cast(ptr %86, ptr @_ZTIN6Assimp3FBX6ObjectE, ptr @_ZTIN6Assimp3FBX5ModelE, i64 0) #11
  br label %91

90:                                               ; preds = %85
  br label %91

91:                                               ; preds = %90, %88
  %92 = phi ptr [ %89, %88 ], [ null, %90 ]
  store ptr %92, ptr %22, align 8, !tbaa !5
  %93 = load ptr, ptr %22, align 8, !tbaa !5
  %94 = icmp ne ptr null, %93
  br i1 %94, label %95, label %301

95:                                               ; preds = %91
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #11
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.aiNode, ptr %96, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %97, i64 64, i1 false), !tbaa.struct !72
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #11
  %98 = load ptr, ptr %22, align 8, !tbaa !5
  %99 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Assimp3FBX6Object4NameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(56) %98)
          to label %100 unwind label %117

100:                                              ; preds = %95
  invoke void @_ZN6Assimp3FBX12FBXConverter11FixNodeNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(489) %38, ptr noundef nonnull align 8 dereferenceable(32) %99)
          to label %101 unwind label %117

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #11
  %102 = load ptr, ptr %22, align 8, !tbaa !5
  %103 = invoke noundef zeroext i1 @_ZN6Assimp3FBX12FBXConverter31GenerateTransformationNodeChainERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorINS1_13PotentialNodeESaISE_EESH_(ptr noundef nonnull align 8 dereferenceable(489) %38, ptr noundef nonnull align 8 dereferenceable(208) %102, ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %104 unwind label %121

104:                                              ; preds = %101
  %105 = zext i1 %103 to i8
  store i8 %105, ptr %25, align 1, !tbaa !75
  %106 = call noundef i64 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  %107 = icmp ne i64 %106, 0
  br i1 %107, label %110, label %108

108:                                              ; preds = %104
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 291)
          to label %109 unwind label %121

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109, %104
  %111 = phi i1 [ true, %104 ], [ false, %109 ]
  %112 = load i8, ptr %25, align 1, !tbaa !75, !range !76, !noundef !77
  %113 = trunc i8 %112 to i1
  br i1 %113, label %114, label %125

114:                                              ; preds = %110
  %115 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE12emplace_backIJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %116 unwind label %121

116:                                              ; preds = %114
  br label %125

117:                                              ; preds = %100, %95
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %12, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %13, align 4
  br label %300

121:                                              ; preds = %125, %114, %108, %101
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %12, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %13, align 4
  br label %299

125:                                              ; preds = %116, %110
  %126 = load ptr, ptr %22, align 8, !tbaa !5
  %127 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  %128 = getelementptr inbounds %"struct.Assimp::FBX::FBXConverter::PotentialNode", ptr %127, i32 0, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !78
  invoke void @_ZN6Assimp3FBX12FBXConverter17SetupNodeMetadataERKNS0_5ModelER6aiNode(ptr noundef nonnull align 8 dereferenceable(489) %38, ptr noundef nonnull align 8 dereferenceable(208) %126, ptr noundef nonnull align 8 dereferenceable(1144) %129)
          to label %130 unwind label %121

130:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #11
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %131, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #11
  store ptr %14, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %132 = load ptr, ptr %27, align 8, !tbaa !5
  %133 = call ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #11
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.149", ptr %28, i32 0, i32 0
  store ptr %133, ptr %134, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #11
  %135 = load ptr, ptr %27, align 8, !tbaa !5
  %136 = call ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #11
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.149", ptr %29, i32 0, i32 0
  store ptr %136, ptr %137, align 8
  br label %138

138:                                              ; preds = %181, %130
  %139 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #11
  br i1 %139, label %141, label %140

140:                                              ; preds = %138
  store i32 4, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  br label %183

141:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  %142 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #11
  store ptr %142, ptr %30, align 8, !tbaa !5
  %143 = load ptr, ptr %30, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.Assimp::FBX::FBXConverter::PotentialNode", ptr %143, i32 0, i32 1
  %145 = load ptr, ptr %144, align 8, !tbaa !78
  %146 = icmp ne ptr %145, null
  br i1 %146, label %149, label %147

147:                                              ; preds = %141
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.6, ptr noundef @.str.5, i32 noundef 303)
          to label %148 unwind label %168

148:                                              ; preds = %147
  br label %149

149:                                              ; preds = %148, %141
  %150 = phi i1 [ true, %141 ], [ false, %148 ]
  %151 = load ptr, ptr %26, align 8, !tbaa !5
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = icmp ne ptr %151, %152
  br i1 %153, label %154, label %172

154:                                              ; preds = %149
  %155 = load ptr, ptr %26, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.aiNode, ptr %155, i32 0, i32 3
  store i32 1, ptr %156, align 8, !tbaa !86
  %157 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 8) #12
          to label %158 unwind label %168

158:                                              ; preds = %154
  %159 = load ptr, ptr %26, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.aiNode, ptr %159, i32 0, i32 4
  store ptr %157, ptr %160, align 8, !tbaa !90
  %161 = load ptr, ptr %30, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.Assimp::FBX::FBXConverter::PotentialNode", ptr %161, i32 0, i32 0
  %163 = call noundef ptr @_ZNSt10unique_ptrI6aiNodeSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %162) #11
  %164 = load ptr, ptr %26, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.aiNode, ptr %164, i32 0, i32 4
  %166 = load ptr, ptr %165, align 8, !tbaa !90
  %167 = getelementptr inbounds ptr, ptr %166, i64 0
  store ptr %163, ptr %167, align 8, !tbaa !5
  br label %172

168:                                              ; preds = %172, %154, %147
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %12, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  br label %298

172:                                              ; preds = %158, %149
  %173 = load ptr, ptr %26, align 8, !tbaa !5
  %174 = load ptr, ptr %30, align 8, !tbaa !5
  %175 = invoke noundef ptr @_ZN6Assimp3FBX12FBXConverter13PotentialNodeptEv(ptr noundef nonnull align 8 dereferenceable(16) %174)
          to label %176 unwind label %168

176:                                              ; preds = %172
  %177 = getelementptr inbounds %struct.aiNode, ptr %175, i32 0, i32 2
  store ptr %173, ptr %177, align 8, !tbaa !91
  %178 = load ptr, ptr %30, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.Assimp::FBX::FBXConverter::PotentialNode", ptr %178, i32 0, i32 1
  %180 = load ptr, ptr %179, align 8, !tbaa !78
  store ptr %180, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  br label %181

181:                                              ; preds = %176
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #11
  br label %138

183:                                              ; preds = %140
  %184 = load ptr, ptr %22, align 8, !tbaa !5
  %185 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  %186 = getelementptr inbounds %"struct.Assimp::FBX::FBXConverter::PotentialNode", ptr %185, i32 0, i32 1
  %187 = load ptr, ptr %186, align 8, !tbaa !78
  %188 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN6Assimp3FBX12FBXConverter12ConvertModelERKNS0_5ModelEP6aiNodeS6_RK12aiMatrix4x4tIfE(ptr noundef nonnull align 8 dereferenceable(489) %38, ptr noundef nonnull align 8 dereferenceable(208) %184, ptr noundef %187, ptr noundef %188, ptr noundef nonnull align 4 dereferenceable(64) %23)
          to label %189 unwind label %209

189:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #11
  %190 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %38, i32 0, i32 17
  %191 = load ptr, ptr %190, align 8, !tbaa !11
  %192 = load ptr, ptr %22, align 8, !tbaa !5
  %193 = invoke noundef i64 @_ZNK6Assimp3FBX6Object2IDEv(ptr noundef nonnull align 8 dereferenceable(56) %192)
          to label %194 unwind label %213

194:                                              ; preds = %189
  invoke void @_ZNK6Assimp3FBX8Document36GetConnectionsByDestinationSequencedEmPKc(ptr dead_on_unwind writable sret(%"class.std::vector.130") align 8 %32, ptr noundef nonnull align 8 dereferenceable(336) %191, i64 noundef %193, ptr noundef @.str.1)
          to label %195 unwind label %213

195:                                              ; preds = %194
  store ptr %32, ptr %31, align 8, !tbaa !5
  %196 = load ptr, ptr %31, align 8, !tbaa !5
  %197 = call noundef i64 @_ZNKSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %196) #11
  %198 = icmp ne i64 %197, 0
  br i1 %198, label %199, label %260

199:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #11
  store ptr %15, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  %200 = load ptr, ptr %33, align 8, !tbaa !5
  %201 = call ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %200) #11
  %202 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.149", ptr %34, i32 0, i32 0
  store ptr %201, ptr %202, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  %203 = load ptr, ptr %33, align 8, !tbaa !5
  %204 = call ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %203) #11
  %205 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.149", ptr %35, i32 0, i32 0
  store ptr %204, ptr %205, align 8
  br label %206

206:                                              ; preds = %257, %199
  %207 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #11
  br i1 %207, label %217, label %208

208:                                              ; preds = %206
  store i32 6, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #11
  br label %259

209:                                              ; preds = %183
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %12, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %13, align 4
  br label %298

213:                                              ; preds = %194, %189
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %12, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %13, align 4
  br label %297

217:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #11
  %218 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #11
  store ptr %218, ptr %36, align 8, !tbaa !5
  %219 = load ptr, ptr %36, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.Assimp::FBX::FBXConverter::PotentialNode", ptr %219, i32 0, i32 1
  %221 = load ptr, ptr %220, align 8, !tbaa !78
  %222 = icmp ne ptr %221, null
  br i1 %222, label %225, label %223

223:                                              ; preds = %217
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.7, ptr noundef @.str.5, i32 noundef 325)
          to label %224 unwind label %244

224:                                              ; preds = %223
  br label %225

225:                                              ; preds = %224, %217
  %226 = phi i1 [ true, %217 ], [ false, %224 ]
  %227 = load ptr, ptr %26, align 8, !tbaa !5
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = icmp ne ptr %227, %228
  br i1 %229, label %230, label %248

230:                                              ; preds = %225
  %231 = load ptr, ptr %26, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.aiNode, ptr %231, i32 0, i32 3
  store i32 1, ptr %232, align 8, !tbaa !86
  %233 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 8) #12
          to label %234 unwind label %244

234:                                              ; preds = %230
  %235 = load ptr, ptr %26, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.aiNode, ptr %235, i32 0, i32 4
  store ptr %233, ptr %236, align 8, !tbaa !90
  %237 = load ptr, ptr %36, align 8, !tbaa !5
  %238 = getelementptr inbounds %"struct.Assimp::FBX::FBXConverter::PotentialNode", ptr %237, i32 0, i32 0
  %239 = call noundef ptr @_ZNSt10unique_ptrI6aiNodeSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %238) #11
  %240 = load ptr, ptr %26, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.aiNode, ptr %240, i32 0, i32 4
  %242 = load ptr, ptr %241, align 8, !tbaa !90
  %243 = getelementptr inbounds ptr, ptr %242, i64 0
  store ptr %239, ptr %243, align 8, !tbaa !5
  br label %248

244:                                              ; preds = %248, %230, %223
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %12, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #11
  br label %296

248:                                              ; preds = %234, %225
  %249 = load ptr, ptr %26, align 8, !tbaa !5
  %250 = load ptr, ptr %36, align 8, !tbaa !5
  %251 = invoke noundef ptr @_ZN6Assimp3FBX12FBXConverter13PotentialNodeptEv(ptr noundef nonnull align 8 dereferenceable(16) %250)
          to label %252 unwind label %244

252:                                              ; preds = %248
  %253 = getelementptr inbounds %struct.aiNode, ptr %251, i32 0, i32 2
  store ptr %249, ptr %253, align 8, !tbaa !91
  %254 = load ptr, ptr %36, align 8, !tbaa !5
  %255 = getelementptr inbounds %"struct.Assimp::FBX::FBXConverter::PotentialNode", ptr %254, i32 0, i32 1
  %256 = load ptr, ptr %255, align 8, !tbaa !78
  store ptr %256, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #11
  br label %257

257:                                              ; preds = %252
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #11
  br label %206

259:                                              ; preds = %208
  br label %261

260:                                              ; preds = %195
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  br label %261

261:                                              ; preds = %260, %259
  %262 = load ptr, ptr %22, align 8, !tbaa !5
  %263 = invoke noundef i64 @_ZNK6Assimp3FBX6Object2IDEv(ptr noundef nonnull align 8 dereferenceable(56) %262)
          to label %264 unwind label %278

264:                                              ; preds = %261
  %265 = load ptr, ptr %26, align 8, !tbaa !5
  %266 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN6Assimp3FBX12FBXConverter12ConvertNodesEmP6aiNodeS3_(ptr noundef nonnull align 8 dereferenceable(489) %38, i64 noundef %263, ptr noundef %265, ptr noundef %266)
          to label %267 unwind label %278

267:                                              ; preds = %264
  %268 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %38, i32 0, i32 17
  %269 = load ptr, ptr %268, align 8, !tbaa !11
  %270 = invoke noundef nonnull align 1 dereferenceable(15) ptr @_ZNK6Assimp3FBX8Document8SettingsEv(ptr noundef nonnull align 8 dereferenceable(336) %269)
          to label %271 unwind label %278

271:                                              ; preds = %267
  %272 = getelementptr inbounds %"struct.Assimp::FBX::ImportSettings", ptr %270, i32 0, i32 6
  %273 = load i8, ptr %272, align 1, !tbaa !92, !range !76, !noundef !77
  %274 = trunc i8 %273 to i1
  br i1 %274, label %275, label %282

275:                                              ; preds = %271
  %276 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_ZN6Assimp3FBX12FBXConverter13ConvertLightsERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(489) %38, ptr noundef nonnull align 8 dereferenceable(208) %276, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %277 unwind label %278

277:                                              ; preds = %275
  br label %282

278:                                              ; preds = %293, %290, %282, %275, %267, %264, %261
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %12, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %13, align 4
  br label %296

282:                                              ; preds = %277, %271
  %283 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %38, i32 0, i32 17
  %284 = load ptr, ptr %283, align 8, !tbaa !11
  %285 = invoke noundef nonnull align 1 dereferenceable(15) ptr @_ZNK6Assimp3FBX8Document8SettingsEv(ptr noundef nonnull align 8 dereferenceable(336) %284)
          to label %286 unwind label %278

286:                                              ; preds = %282
  %287 = getelementptr inbounds %"struct.Assimp::FBX::ImportSettings", ptr %285, i32 0, i32 5
  %288 = load i8, ptr %287, align 1, !tbaa !94, !range !76, !noundef !77
  %289 = trunc i8 %288 to i1
  br i1 %289, label %290, label %293

290:                                              ; preds = %286
  %291 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_ZN6Assimp3FBX12FBXConverter14ConvertCamerasERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(489) %38, ptr noundef nonnull align 8 dereferenceable(208) %291, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %292 unwind label %278

292:                                              ; preds = %290
  br label %293

293:                                              ; preds = %292, %286
  %294 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  invoke void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(16) %294)
          to label %295 unwind label %278

295:                                              ; preds = %293
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  call void @_ZNSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #11
  br label %301

296:                                              ; preds = %278, %244
  call void @_ZNSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #11
  br label %297

297:                                              ; preds = %296, %213
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  br label %298

298:                                              ; preds = %297, %209, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  br label %299

299:                                              ; preds = %298, %121
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #11
  br label %300

300:                                              ; preds = %299, %117
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  br label %310

301:                                              ; preds = %295, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  store i32 0, ptr %19, align 4
  br label %302

302:                                              ; preds = %301, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  %303 = load i32, ptr %19, align 4
  switch i32 %303, label %305 [
    i32 0, label %304
  ]

304:                                              ; preds = %302
  store i32 0, ptr %19, align 4
  br label %305

305:                                              ; preds = %304, %302, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #11
  %306 = load i32, ptr %19, align 4
  switch i32 %306, label %366 [
    i32 0, label %307
    i32 3, label %308
  ]

307:                                              ; preds = %305
  br label %308

308:                                              ; preds = %307, %305
  %309 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPKN6Assimp3FBX10ConnectionESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #11
  br label %52

310:                                              ; preds = %300, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  br label %311

311:                                              ; preds = %310, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  br label %359

312:                                              ; preds = %54
  %313 = call noundef zeroext i1 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  br i1 %313, label %314, label %319

314:                                              ; preds = %312
  %315 = load ptr, ptr %7, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.aiNode, ptr %315, i32 0, i32 3
  store i32 0, ptr %316, align 8, !tbaa !86
  %317 = load ptr, ptr %7, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.aiNode, ptr %317, i32 0, i32 4
  store ptr null, ptr %318, align 8, !tbaa !90
  br label %319

319:                                              ; preds = %314, %312
  %320 = call noundef i64 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  %321 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %320, i64 8)
  %322 = extractvalue { i64, i1 } %321, 1
  %323 = extractvalue { i64, i1 } %321, 0
  %324 = select i1 %322, i64 -1, i64 %323
  %325 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %324) #12
          to label %326 unwind label %339

326:                                              ; preds = %319
  call void @llvm.memset.p0.i64(ptr align 8 %325, i8 0, i64 %324, i1 false)
  %327 = load ptr, ptr %7, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.aiNode, ptr %327, i32 0, i32 4
  store ptr %325, ptr %328, align 8, !tbaa !90
  %329 = call noundef i64 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  %330 = trunc i64 %329 to i32
  %331 = load ptr, ptr %7, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.aiNode, ptr %331, i32 0, i32 3
  store i32 %330, ptr %332, align 8, !tbaa !86
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #11
  store i32 0, ptr %37, align 4, !tbaa !95
  br label %333

333:                                              ; preds = %355, %326
  %334 = load i32, ptr %37, align 4, !tbaa !95
  %335 = zext i32 %334 to i64
  %336 = call noundef i64 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  %337 = icmp ult i64 %335, %336
  br i1 %337, label %343, label %338

338:                                              ; preds = %333
  store i32 8, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #11
  br label %358

339:                                              ; preds = %319
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %12, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %13, align 4
  br label %359

343:                                              ; preds = %333
  %344 = load i32, ptr %37, align 4, !tbaa !95
  %345 = zext i32 %344 to i64
  %346 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %345) #11
  %347 = getelementptr inbounds %"struct.Assimp::FBX::FBXConverter::PotentialNode", ptr %346, i32 0, i32 0
  %348 = call noundef ptr @_ZNSt10unique_ptrI6aiNodeSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %347) #11
  %349 = load ptr, ptr %7, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.aiNode, ptr %349, i32 0, i32 4
  %351 = load ptr, ptr %350, align 8, !tbaa !90
  %352 = load i32, ptr %37, align 4, !tbaa !95
  %353 = zext i32 %352 to i64
  %354 = getelementptr inbounds ptr, ptr %351, i64 %353
  store ptr %348, ptr %354, align 8, !tbaa !5
  br label %355

355:                                              ; preds = %343
  %356 = load i32, ptr %37, align 4, !tbaa !95
  %357 = add i32 %356, 1
  store i32 %357, ptr %37, align 4, !tbaa !95
  br label %333, !llvm.loop !96

358:                                              ; preds = %338
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #11
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #11
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #11
  call void @_ZNSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  ret void

359:                                              ; preds = %339, %311
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #11
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #11
  br label %360

360:                                              ; preds = %359, %55
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #11
  call void @_ZNSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  br label %361

361:                                              ; preds = %360
  %362 = load ptr, ptr %12, align 8
  %363 = load i32, ptr %13, align 4
  %364 = insertvalue { ptr, i32 } poison, ptr %362, 0
  %365 = insertvalue { ptr, i32 } %364, i32 %363, 1
  resume { ptr, i32 } %365

366:                                              ; preds = %305
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter11FixNodeNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

declare void @_ZNK6Assimp3FBX8Document36GetConnectionsByDestinationSequencedEmPKc(ptr dead_on_unwind writable sret(%"class.std::vector.130") align 8, ptr noundef nonnull align 8 dereferenceable(336), i64 noundef, ptr noundef) #5

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogInfoIJRA56_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(56)) #4 align 2

declare noundef ptr @_ZNK6Assimp3FBX10Connection12SourceObjectEv(ptr noundef nonnull align 8 dereferenceable(64)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE8LogErrorIJRA47_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(47)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6Assimp3FBX12FBXConverter31GenerateTransformationNodeChainERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorINS1_13PotentialNodeESaISE_EESH_(ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #8 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter17SetupNodeMetadataERKNS0_5ModelER6aiNode(ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(1144)) #4 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter12ConvertModelERKNS0_5ModelEP6aiNodeS6_RK12aiMatrix4x4tIfE(ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(64)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter13ConvertLightsERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter14ConvertCamerasERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind willreturn memory(read) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { 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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #11 = { nounwind }
attributes #12 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 480}
!12 = !{!"_ZTSN6Assimp3FBX12FBXConverterE", !13, i64 0, !14, i64 8, !18, i64 32, !22, i64 56, !26, i64 80, !30, i64 104, !34, i64 128, !38, i64 152, !46, i64 200, !51, i64 248, !56, i64 296, !56, i64 344, !61, i64 392, !66, i64 440, !67, i64 448, !6, i64 472, !6, i64 480, !71, i64 488}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIP6aiMeshSaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIP6aiMeshSaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIP6aiMeshSaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIP6aiMeshSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorIP10aiMaterialSaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIP10aiMaterialSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP10aiMaterialSaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP10aiMaterialSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIP11aiAnimationSaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIP11aiAnimationSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIP11aiAnimationSaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP11aiAnimationSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorIP7aiLightSaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIP7aiLightSaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP7aiLightSaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP7aiLightSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIP8aiCameraSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIP8aiCameraSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP8aiCameraSaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP8aiCameraSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt6vectorIP9aiTextureSaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIP9aiTextureSaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIP9aiTextureSaIS1_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIP9aiTextureSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTSSt3mapIPKN6Assimp3FBX8MaterialEjSt4lessIS4_ESaISt4pairIKS4_jEEE", !39, i64 0}
!39 = !{!"_ZTSSt8_Rb_treeIPKN6Assimp3FBX8MaterialESt4pairIKS4_jESt10_Select1stIS7_ESt4lessIS4_ESaIS7_EE", !40, i64 0}
!40 = !{!"_ZTSNSt8_Rb_treeIPKN6Assimp3FBX8MaterialESt4pairIKS4_jESt10_Select1stIS7_ESt4lessIS4_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !41, i64 0, !43, i64 8}
!41 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Assimp3FBX8MaterialEEE", !42, i64 0}
!42 = !{!"_ZTSSt4lessIPKN6Assimp3FBX8MaterialEE"}
!43 = !{!"_ZTSSt15_Rb_tree_header", !44, i64 0, !10, i64 32}
!44 = !{!"_ZTSSt18_Rb_tree_node_base", !45, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!45 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!46 = !{!"_ZTSSt3mapIPKN6Assimp3FBX5VideoEjSt4lessIS4_ESaISt4pairIKS4_jEEE", !47, i64 0}
!47 = !{!"_ZTSSt8_Rb_treeIPKN6Assimp3FBX5VideoESt4pairIKS4_jESt10_Select1stIS7_ESt4lessIS4_ESaIS7_EE", !48, i64 0}
!48 = !{!"_ZTSNSt8_Rb_treeIPKN6Assimp3FBX5VideoESt4pairIKS4_jESt10_Select1stIS7_ESt4lessIS4_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !49, i64 0, !43, i64 8}
!49 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Assimp3FBX5VideoEEE", !50, i64 0}
!50 = !{!"_ZTSSt4lessIPKN6Assimp3FBX5VideoEE"}
!51 = !{!"_ZTSSt3mapIPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEESt4lessIS4_ESaISt4pairIKS4_S7_EEE", !52, i64 0}
!52 = !{!"_ZTSSt8_Rb_treeIPKN6Assimp3FBX8GeometryESt4pairIKS4_St6vectorIjSaIjEEESt10_Select1stISA_ESt4lessIS4_ESaISA_EE", !53, i64 0}
!53 = !{!"_ZTSNSt8_Rb_treeIPKN6Assimp3FBX8GeometryESt4pairIKS4_St6vectorIjSaIjEEESt10_Select1stISA_ESt4lessIS4_ESaISA_EE13_Rb_tree_implISE_Lb1EEE", !54, i64 0, !43, i64 8}
!54 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Assimp3FBX8GeometryEEE", !55, i64 0}
!55 = !{!"_ZTSSt4lessIPKN6Assimp3FBX8GeometryEE"}
!56 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEE", !57, i64 0}
!57 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !58, i64 0}
!58 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !59, i64 0, !43, i64 8}
!59 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !60, i64 0}
!60 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!61 = !{!"_ZTSSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP6aiBoneSt4lessIS6_ESaISt4pairIS6_S8_EEE", !62, i64 0}
!62 = !{!"_ZTSSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_P6aiBoneESt10_Select1stISA_ESt4lessIS6_ESaISA_EE", !63, i64 0}
!63 = !{!"_ZTSNSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_P6aiBoneESt10_Select1stISA_ESt4lessIS6_ESaISA_EE13_Rb_tree_implISE_Lb1EEE", !64, i64 0, !43, i64 8}
!64 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !65, i64 0}
!65 = !{!"_ZTSSt4lessIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!66 = !{!"double", !7, i64 0}
!67 = !{!"_ZTSSt6vectorIP10aiSkeletonSaIS1_EE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseIP10aiSkeletonSaIS1_EE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIP10aiSkeletonSaIS1_EE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIP10aiSkeletonSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!71 = !{!"bool", !7, i64 0}
!72 = !{i64 0, i64 4, !73, i64 4, i64 4, !73, i64 8, i64 4, !73, i64 12, i64 4, !73, i64 16, i64 4, !73, i64 20, i64 4, !73, i64 24, i64 4, !73, i64 28, i64 4, !73, i64 32, i64 4, !73, i64 36, i64 4, !73, i64 40, i64 4, !73, i64 44, i64 4, !73, i64 48, i64 4, !73, i64 52, i64 4, !73, i64 56, i64 4, !73, i64 60, i64 4, !73}
!73 = !{!74, !74, i64 0}
!74 = !{!"float", !7, i64 0}
!75 = !{!71, !71, i64 0}
!76 = !{i8 0, i8 2}
!77 = !{}
!78 = !{!79, !6, i64 8}
!79 = !{!"_ZTSN6Assimp3FBX12FBXConverter13PotentialNodeE", !80, i64 0, !6, i64 8}
!80 = !{!"_ZTSSt10unique_ptrI6aiNodeSt14default_deleteIS0_EE", !81, i64 0}
!81 = !{!"_ZTSSt15__uniq_ptr_dataI6aiNodeSt14default_deleteIS0_ELb1ELb1EE", !82, i64 0}
!82 = !{!"_ZTSSt15__uniq_ptr_implI6aiNodeSt14default_deleteIS0_EE", !83, i64 0}
!83 = !{!"_ZTSSt5tupleIJP6aiNodeSt14default_deleteIS0_EEE", !84, i64 0}
!84 = !{!"_ZTSSt11_Tuple_implILm0EJP6aiNodeSt14default_deleteIS0_EEE", !85, i64 0}
!85 = !{!"_ZTSSt10_Head_baseILm0EP6aiNodeLb0EE", !6, i64 0}
!86 = !{!87, !13, i64 1104}
!87 = !{!"_ZTS6aiNode", !88, i64 0, !89, i64 1028, !6, i64 1096, !13, i64 1104, !6, i64 1112, !13, i64 1120, !6, i64 1128, !6, i64 1136}
!88 = !{!"_ZTS8aiString", !13, i64 0, !7, i64 4}
!89 = !{!"_ZTS12aiMatrix4x4tIfE", !74, i64 0, !74, i64 4, !74, i64 8, !74, i64 12, !74, i64 16, !74, i64 20, !74, i64 24, !74, i64 28, !74, i64 32, !74, i64 36, !74, i64 40, !74, i64 44, !74, i64 48, !74, i64 52, !74, i64 56, !74, i64 60}
!90 = !{!87, !6, i64 1112}
!91 = !{!87, !6, i64 1096}
!92 = !{!93, !71, i64 6}
!93 = !{!"_ZTSN6Assimp3FBX14ImportSettingsE", !71, i64 0, !71, i64 1, !71, i64 2, !71, i64 3, !71, i64 4, !71, i64 5, !71, i64 6, !71, i64 7, !71, i64 8, !71, i64 9, !71, i64 10, !71, i64 11, !71, i64 12, !71, i64 13, !71, i64 14}
!94 = !{!93, !71, i64 5}
!95 = !{!13, !13, i64 0}
!96 = distinct !{!96, !97}
!97 = !{!"llvm.loop.mustprogress"}


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

%"class.std::vector.130" = type { %"struct.std::_Vector_base.131" }
%"struct.std::_Vector_base.131" = type { %"struct.std::_Vector_base<const Assimp::FBX::Connection *, std::allocator<const Assimp::FBX::Connection *>>::_Vector_impl" }
%"struct.std::_Vector_base<const Assimp::FBX::Connection *, std::allocator<const Assimp::FBX::Connection *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const Assimp::FBX::Connection *, std::allocator<const Assimp::FBX::Connection *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const Assimp::FBX::Connection *, std::allocator<const Assimp::FBX::Connection *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.135" = type { %"struct.std::_Vector_base.136" }
%"struct.std::_Vector_base.136" = type { %"struct.std::_Vector_base<Assimp::FBX::FBXConverter::PotentialNode, std::allocator<Assimp::FBX::FBXConverter::PotentialNode>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::FBX::FBXConverter::PotentialNode, std::allocator<Assimp::FBX::FBXConverter::PotentialNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::FBX::FBXConverter::PotentialNode, std::allocator<Assimp::FBX::FBXConverter::PotentialNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::FBX::FBXConverter::PotentialNode, std::allocator<Assimp::FBX::FBXConverter::PotentialNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.140" = type { ptr }
%class.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%"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.__gnu_cxx::__normal_iterator.149" = type { ptr }

@_ZTIN6Assimp3FBX6ObjectE = external dso_local constant { ptr, ptr }, align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [47 x i8], align 1
@_ZTIN6Assimp3FBX5ModelE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #0

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #3

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

; 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 uwtable
define dso_local void @_ZN6Assimp3FBX12FBXConverter12ConvertNodesEmP6aiNodeS3_(ptr noundef nonnull align 8 dereferenceable(489) %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::vector.130", align 8
  %6 = alloca %"class.std::vector.135", align 8
  %7 = alloca %"class.std::vector.135", align 8
  %8 = alloca %"class.std::vector.135", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %11 = alloca %class.aiMatrix4x4t, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.149", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.149", align 8
  %15 = alloca %"class.std::vector.130", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.149", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.149", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #10
  %18 = getelementptr inbounds i8, ptr %0, i64 480
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZNK6Assimp3FBX8Document36GetConnectionsByDestinationSequencedEmPKc(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.130") align 8 %5, ptr noundef nonnull align 8 dereferenceable(336) %19, i64 noundef %1, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #10
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %20 = call noundef i64 @_ZNKSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  invoke void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %20)
          to label %21 unwind label %27

21:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #10
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #10
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  %22 = call ptr @_ZNKSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  store ptr %22, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  %23 = call ptr @_ZNKSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  store ptr %23, ptr %10, align 8
  %24 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPKN6Assimp3FBX10ConnectionESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  br i1 %24, label %.lr.ph106, label %._crit_edge107

.lr.ph106:                                        ; preds = %21
  %25 = getelementptr inbounds i8, ptr %2, i64 1028
  br label %29

._crit_edge107:                                   ; preds = %149, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  %26 = call noundef zeroext i1 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  br i1 %26, label %153, label %156

27:                                               ; preds = %4
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %180

29:                                               ; preds = %.lr.ph106, %149
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPKN6Assimp3FBX10ConnectionESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  %31 = load ptr, ptr %30, align 8, !tbaa !70
  %32 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Assimp3FBX10Connection12PropertyNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(64) %31)
  %33 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %32) #10
  %.not = icmp eq i64 %33, 0
  br i1 %.not, label %37, label %34

34:                                               ; preds = %29
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogInfoIJRA56_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(56) @.str.2)
          to label %149 unwind label %35

35:                                               ; preds = %34
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %152

37:                                               ; preds = %29
  %38 = invoke noundef ptr @_ZNK6Assimp3FBX10Connection12SourceObjectEv(ptr noundef nonnull align 8 dereferenceable(64) %31)
          to label %39 unwind label %42

39:                                               ; preds = %37
  %40 = icmp eq ptr %38, null
  br i1 %40, label %41, label %44

41:                                               ; preds = %39
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE8LogErrorIJRA47_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(47) @.str.3)
          to label %149 unwind label %42

42:                                               ; preds = %41, %37
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %152

44:                                               ; preds = %39
  %45 = call ptr @__dynamic_cast(ptr nonnull %38, ptr nonnull @_ZTIN6Assimp3FBX6ObjectE, ptr nonnull @_ZTIN6Assimp3FBX5ModelE, i64 0) #10
  %.not78 = icmp eq ptr %45, null
  br i1 %.not78, label %149, label %46

46:                                               ; preds = %44
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(64) %25, i64 64, i1 false), !tbaa.struct !71
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #10
  %47 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Assimp3FBX6Object4NameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(56) %45)
  invoke void @_ZN6Assimp3FBX12FBXConverter11FixNodeNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %48 unwind label %56

48:                                               ; preds = %46
  %49 = invoke noundef zeroext i1 @_ZN6Assimp3FBX12FBXConverter31GenerateTransformationNodeChainERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorINS1_13PotentialNodeESaISE_EESH_(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(208) %45, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %50 unwind label %58

50:                                               ; preds = %48
  %51 = call noundef i64 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %.not79 = icmp eq i64 %51, 0
  br i1 %.not79, label %52, label %53

52:                                               ; preds = %50
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, i32 noundef 291)
          to label %53 unwind label %58

53:                                               ; preds = %52, %50
  br i1 %49, label %54, label %60

54:                                               ; preds = %53
  %55 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE12emplace_backIJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %60 unwind label %58

56:                                               ; preds = %46
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %148

58:                                               ; preds = %60, %54, %52, %48
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %147

60:                                               ; preds = %54, %53
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %62 = getelementptr inbounds i8, ptr %61, i64 8
  %63 = load ptr, ptr %62, align 8, !tbaa !74
  invoke void @_ZN6Assimp3FBX12FBXConverter17SetupNodeMetadataERKNS0_5ModelER6aiNode(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(208) %45, ptr noundef nonnull align 8 dereferenceable(1144) %63)
          to label %64 unwind label %58

64:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  %65 = call ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  store ptr %65, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  %66 = call ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  store ptr %66, ptr %14, align 8
  %67 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  br i1 %67, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %85, %64
  %.072.lcssa = phi ptr [ %2, %64 ], [ %88, %85 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  %68 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %69 = getelementptr inbounds i8, ptr %68, i64 8
  %70 = load ptr, ptr %69, align 8, !tbaa !74
  invoke void @_ZN6Assimp3FBX12FBXConverter12ConvertModelERKNS0_5ModelEP6aiNodeS6_RK12aiMatrix4x4tIfE(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(208) %45, ptr noundef %70, ptr noundef %3, ptr noundef nonnull align 4 dereferenceable(64) %11)
          to label %91 unwind label %100

.lr.ph:                                           ; preds = %64, %85
  %.07299 = phi ptr [ %88, %85 ], [ %2, %64 ]
  %71 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  %72 = getelementptr inbounds i8, ptr %71, i64 8
  %73 = load ptr, ptr %72, align 8, !tbaa !74
  %.not85 = icmp eq ptr %73, null
  br i1 %.not85, label %74, label %75

74:                                               ; preds = %.lr.ph
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.5, i32 noundef 303)
          to label %75 unwind label %83

75:                                               ; preds = %74, %.lr.ph
  %.not86 = icmp eq ptr %.07299, %2
  br i1 %.not86, label %85, label %76

76:                                               ; preds = %75
  %77 = getelementptr inbounds i8, ptr %.07299, i64 1104
  store i32 1, ptr %77, align 8, !tbaa !82
  %78 = invoke noalias noundef nonnull dereferenceable(8) ptr @_Znam(i64 noundef 8) #11
          to label %79 unwind label %83

79:                                               ; preds = %76
  %80 = getelementptr inbounds i8, ptr %.07299, i64 1112
  store ptr %78, ptr %80, align 8, !tbaa !86
  %81 = call noundef ptr @_ZNSt10unique_ptrI6aiNodeSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #10
  %82 = load ptr, ptr %80, align 8, !tbaa !86
  store ptr %81, ptr %82, align 8, !tbaa !70
  br label %85

83:                                               ; preds = %76, %74
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br label %147

85:                                               ; preds = %79, %75
  %86 = call noundef ptr @_ZN6Assimp3FBX12FBXConverter13PotentialNodeptEv(ptr noundef nonnull align 8 dereferenceable(16) %71)
  %87 = getelementptr inbounds i8, ptr %86, i64 1096
  store ptr %.07299, ptr %87, align 8, !tbaa !87
  %88 = load ptr, ptr %72, align 8, !tbaa !74
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  %90 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  br i1 %90, label %.lr.ph, label %._crit_edge

91:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #10
  %92 = load ptr, ptr %18, align 8, !tbaa !5
  %93 = call noundef i64 @_ZNK6Assimp3FBX6Object2IDEv(ptr noundef nonnull align 8 dereferenceable(56) %45)
  invoke void @_ZNK6Assimp3FBX8Document36GetConnectionsByDestinationSequencedEmPKc(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.130") align 8 %15, ptr noundef nonnull align 8 dereferenceable(336) %92, i64 noundef %93, ptr noundef nonnull @.str.1)
          to label %94 unwind label %102

94:                                               ; preds = %91
  %95 = call noundef i64 @_ZNKSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  %.not80 = icmp eq i64 %95, 0
  br i1 %.not80, label %124, label %96

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  %97 = call ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  store ptr %97, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  %98 = call ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  store ptr %98, ptr %17, align 8
  %99 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  br i1 %99, label %.lr.ph102, label %._crit_edge103

._crit_edge103:                                   ; preds = %118, %96
  %.173.lcssa = phi ptr [ %.072.lcssa, %96 ], [ %121, %118 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  br label %125

100:                                              ; preds = %._crit_edge
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %147

102:                                              ; preds = %91
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %147

.lr.ph102:                                        ; preds = %96, %118
  %.173100 = phi ptr [ %121, %118 ], [ %.072.lcssa, %96 ]
  %104 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  %105 = getelementptr inbounds i8, ptr %104, i64 8
  %106 = load ptr, ptr %105, align 8, !tbaa !74
  %.not81 = icmp eq ptr %106, null
  br i1 %.not81, label %107, label %108

107:                                              ; preds = %.lr.ph102
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.5, i32 noundef 325)
          to label %108 unwind label %116

108:                                              ; preds = %107, %.lr.ph102
  %.not82 = icmp eq ptr %.173100, %2
  br i1 %.not82, label %118, label %109

109:                                              ; preds = %108
  %110 = getelementptr inbounds i8, ptr %.173100, i64 1104
  store i32 1, ptr %110, align 8, !tbaa !82
  %111 = invoke noalias noundef nonnull dereferenceable(8) ptr @_Znam(i64 noundef 8) #11
          to label %112 unwind label %116

112:                                              ; preds = %109
  %113 = getelementptr inbounds i8, ptr %.173100, i64 1112
  store ptr %111, ptr %113, align 8, !tbaa !86
  %114 = call noundef ptr @_ZNSt10unique_ptrI6aiNodeSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #10
  %115 = load ptr, ptr %113, align 8, !tbaa !86
  store ptr %114, ptr %115, align 8, !tbaa !70
  br label %118

116:                                              ; preds = %109, %107
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  br label %146

118:                                              ; preds = %112, %108
  %119 = call noundef ptr @_ZN6Assimp3FBX12FBXConverter13PotentialNodeptEv(ptr noundef nonnull align 8 dereferenceable(16) %104)
  %120 = getelementptr inbounds i8, ptr %119, i64 1096
  store ptr %.173100, ptr %120, align 8, !tbaa !87
  %121 = load ptr, ptr %105, align 8, !tbaa !74
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  %123 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Assimp3FBX12FBXConverter13PotentialNodeESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  br i1 %123, label %.lr.ph102, label %._crit_edge103

124:                                              ; preds = %94
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  br label %125

125:                                              ; preds = %124, %._crit_edge103
  %.274 = phi ptr [ %.173.lcssa, %._crit_edge103 ], [ %.072.lcssa, %124 ]
  %126 = call noundef i64 @_ZNK6Assimp3FBX6Object2IDEv(ptr noundef nonnull align 8 dereferenceable(56) %45)
  invoke void @_ZN6Assimp3FBX12FBXConverter12ConvertNodesEmP6aiNodeS3_(ptr noundef nonnull align 8 dereferenceable(489) %0, i64 noundef %126, ptr noundef %.274, ptr noundef %3)
          to label %127 unwind label %134

127:                                              ; preds = %125
  %128 = load ptr, ptr %18, align 8, !tbaa !5
  %129 = call noundef nonnull align 1 dereferenceable(15) ptr @_ZNK6Assimp3FBX8Document8SettingsEv(ptr noundef nonnull align 8 dereferenceable(336) %128)
  %130 = getelementptr inbounds i8, ptr %129, i64 6
  %131 = load i8, ptr %130, align 1, !tbaa !88, !range !90, !noundef !91
  %132 = trunc nuw i8 %131 to i1
  br i1 %132, label %133, label %136

133:                                              ; preds = %127
  invoke void @_ZN6Assimp3FBX12FBXConverter13ConvertLightsERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(208) %45, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %136 unwind label %134

134:                                              ; preds = %143, %142, %133, %125
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %146

136:                                              ; preds = %133, %127
  %137 = load ptr, ptr %18, align 8, !tbaa !5
  %138 = call noundef nonnull align 1 dereferenceable(15) ptr @_ZNK6Assimp3FBX8Document8SettingsEv(ptr noundef nonnull align 8 dereferenceable(336) %137)
  %139 = getelementptr inbounds i8, ptr %138, i64 5
  %140 = load i8, ptr %139, align 1, !tbaa !92, !range !90, !noundef !91
  %141 = trunc nuw i8 %140 to i1
  br i1 %141, label %142, label %143

142:                                              ; preds = %136
  invoke void @_ZN6Assimp3FBX12FBXConverter14ConvertCamerasERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(208) %45, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %143 unwind label %134

143:                                              ; preds = %142, %136
  %144 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  invoke void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %144)
          to label %145 unwind label %134

145:                                              ; preds = %143
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @_ZNSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #10
  br label %149

146:                                              ; preds = %134, %116
  %.pn = phi { ptr, i32 } [ %117, %116 ], [ %135, %134 ]
  call void @_ZNSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #10
  br label %147

147:                                              ; preds = %83, %100, %146, %102, %58
  %.pn87.pn = phi { ptr, i32 } [ %59, %58 ], [ %84, %83 ], [ %101, %100 ], [ %.pn, %146 ], [ %103, %102 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  br label %148

148:                                              ; preds = %147, %56
  %.pn87.pn.pn = phi { ptr, i32 } [ %.pn87.pn, %147 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #10
  br label %152

149:                                              ; preds = %41, %145, %44, %34
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPKN6Assimp3FBX10ConnectionESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  %151 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPKN6Assimp3FBX10ConnectionESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  br i1 %151, label %29, label %._crit_edge107

152:                                              ; preds = %42, %148, %35
  %.pn93 = phi { ptr, i32 } [ %36, %35 ], [ %43, %42 ], [ %.pn87.pn.pn, %148 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %179

153:                                              ; preds = %._crit_edge107
  %154 = getelementptr inbounds i8, ptr %2, i64 1104
  store i32 0, ptr %154, align 8, !tbaa !82
  %155 = getelementptr inbounds i8, ptr %2, i64 1112
  store ptr null, ptr %155, align 8, !tbaa !86
  br label %156

156:                                              ; preds = %153, %._crit_edge107
  %157 = call noundef i64 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %158 = icmp ugt i64 %157, 2305843009213693951
  %159 = shl nuw i64 %157, 3
  %160 = select i1 %158, i64 -1, i64 %159
  %161 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %160) #11
          to label %162 unwind label %168

162:                                              ; preds = %156
  call void @llvm.memset.p0.i64(ptr nonnull align 8 %161, i8 0, i64 %160, i1 false)
  %163 = getelementptr inbounds i8, ptr %2, i64 1112
  store ptr %161, ptr %163, align 8, !tbaa !86
  %164 = call noundef i64 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %165 = trunc i64 %164 to i32
  %166 = getelementptr inbounds i8, ptr %2, i64 1104
  store i32 %165, ptr %166, align 8, !tbaa !82
  %167 = call noundef i64 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %.not112 = icmp eq i64 %167, 0
  br i1 %.not112, label %._crit_edge111, label %.lr.ph110

._crit_edge111:                                   ; preds = %.lr.ph110, %162
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #10
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  call void @_ZNSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  ret void

168:                                              ; preds = %156
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %179

.lr.ph110:                                        ; preds = %162, %.lr.ph110
  %170 = phi i64 [ %176, %.lr.ph110 ], [ 0, %162 ]
  %.0108 = phi i32 [ %175, %.lr.ph110 ], [ 0, %162 ]
  %171 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %170) #10
  %172 = call noundef ptr @_ZNSt10unique_ptrI6aiNodeSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %171) #10
  %173 = load ptr, ptr %163, align 8, !tbaa !86
  %174 = getelementptr inbounds ptr, ptr %173, i64 %170
  store ptr %172, ptr %174, align 8, !tbaa !70
  %175 = add i32 %.0108, 1
  %176 = zext i32 %175 to i64
  %177 = call noundef i64 @_ZNKSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %178 = icmp ugt i64 %177, %176
  br i1 %178, label %.lr.ph110, label %._crit_edge111, !llvm.loop !93

179:                                              ; preds = %168, %152
  %.pn93.pn = phi { ptr, i32 } [ %.pn93, %152 ], [ %169, %168 ]
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #10
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  br label %180

180:                                              ; preds = %179, %27
  %.pn93.pn.pn = phi { ptr, i32 } [ %.pn93.pn, %179 ], [ %28, %27 ]
  call void @_ZNSt6vectorIN6Assimp3FBX12FBXConverter13PotentialNodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  call void @_ZNSt6vectorIPKN6Assimp3FBX10ConnectionESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  resume { ptr, i32 } %.pn93.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter11FixNodeNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

declare void @_ZNK6Assimp3FBX8Document36GetConnectionsByDestinationSequencedEmPKc(ptr dead_on_unwind writable sret(%"class.std::vector.130") align 8, ptr noundef nonnull align 8 dereferenceable(336), i64 noundef, ptr noundef) local_unnamed_addr #5

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogInfoIJRA56_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(56)) local_unnamed_addr #4 align 2

declare noundef ptr @_ZNK6Assimp3FBX10Connection12SourceObjectEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE8LogErrorIJRA47_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(47)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6Assimp3FBX12FBXConverter31GenerateTransformationNodeChainERKNS0_5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorINS1_13PotentialNodeESaISE_EESH_(ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #8 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter17SetupNodeMetadataERKNS0_5ModelER6aiNode(ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(1144)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter12ConvertModelERKNS0_5ModelEP6aiNodeS6_RK12aiMatrix4x4tIfE(ptr noundef nonnull align 8 dereferenceable(489), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(read) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { 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, !14, i64 480}
!6 = !{!"_ZTSN6Assimp3FBX12FBXConverterE", !7, i64 0, !10, i64 8, !15, i64 32, !19, i64 56, !23, i64 80, !27, i64 104, !31, i64 128, !35, i64 152, !44, i64 200, !49, i64 248, !54, i64 296, !54, i64 344, !59, i64 392, !64, i64 440, !65, i64 448, !14, i64 472, !14, i64 480, !69, i64 488}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIP6aiMeshSaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIP6aiMeshSaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIP6aiMeshSaIS1_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIP6aiMeshSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIP10aiMaterialSaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIP10aiMaterialSaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIP10aiMaterialSaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIP10aiMaterialSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!"_ZTSSt6vectorIP11aiAnimationSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIP11aiAnimationSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP11aiAnimationSaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP11aiAnimationSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!23 = !{!"_ZTSSt6vectorIP7aiLightSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP7aiLightSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP7aiLightSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP7aiLightSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!27 = !{!"_ZTSSt6vectorIP8aiCameraSaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIP8aiCameraSaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP8aiCameraSaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIP8aiCameraSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!31 = !{!"_ZTSSt6vectorIP9aiTextureSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIP9aiTextureSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP9aiTextureSaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIP9aiTextureSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!35 = !{!"_ZTSSt3mapIPKN6Assimp3FBX8MaterialEjSt4lessIS4_ESaISt4pairIKS4_jEEE", !36, i64 0}
!36 = !{!"_ZTSSt8_Rb_treeIPKN6Assimp3FBX8MaterialESt4pairIKS4_jESt10_Select1stIS7_ESt4lessIS4_ESaIS7_EE", !37, i64 0}
!37 = !{!"_ZTSNSt8_Rb_treeIPKN6Assimp3FBX8MaterialESt4pairIKS4_jESt10_Select1stIS7_ESt4lessIS4_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !38, i64 0, !40, i64 8}
!38 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Assimp3FBX8MaterialEEE", !39, i64 0}
!39 = !{!"_ZTSSt4lessIPKN6Assimp3FBX8MaterialEE"}
!40 = !{!"_ZTSSt15_Rb_tree_header", !41, i64 0, !43, i64 32}
!41 = !{!"_ZTSSt18_Rb_tree_node_base", !42, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!42 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!43 = !{!"long", !8, i64 0}
!44 = !{!"_ZTSSt3mapIPKN6Assimp3FBX5VideoEjSt4lessIS4_ESaISt4pairIKS4_jEEE", !45, i64 0}
!45 = !{!"_ZTSSt8_Rb_treeIPKN6Assimp3FBX5VideoESt4pairIKS4_jESt10_Select1stIS7_ESt4lessIS4_ESaIS7_EE", !46, i64 0}
!46 = !{!"_ZTSNSt8_Rb_treeIPKN6Assimp3FBX5VideoESt4pairIKS4_jESt10_Select1stIS7_ESt4lessIS4_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !47, i64 0, !40, i64 8}
!47 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Assimp3FBX5VideoEEE", !48, i64 0}
!48 = !{!"_ZTSSt4lessIPKN6Assimp3FBX5VideoEE"}
!49 = !{!"_ZTSSt3mapIPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEESt4lessIS4_ESaISt4pairIKS4_S7_EEE", !50, i64 0}
!50 = !{!"_ZTSSt8_Rb_treeIPKN6Assimp3FBX8GeometryESt4pairIKS4_St6vectorIjSaIjEEESt10_Select1stISA_ESt4lessIS4_ESaISA_EE", !51, i64 0}
!51 = !{!"_ZTSNSt8_Rb_treeIPKN6Assimp3FBX8GeometryESt4pairIKS4_St6vectorIjSaIjEEESt10_Select1stISA_ESt4lessIS4_ESaISA_EE13_Rb_tree_implISE_Lb1EEE", !52, i64 0, !40, i64 8}
!52 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPKN6Assimp3FBX8GeometryEEE", !53, i64 0}
!53 = !{!"_ZTSSt4lessIPKN6Assimp3FBX8GeometryEE"}
!54 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEE", !55, i64 0}
!55 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !56, i64 0}
!56 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !57, i64 0, !40, i64 8}
!57 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !58, i64 0}
!58 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!59 = !{!"_ZTSSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP6aiBoneSt4lessIS6_ESaISt4pairIS6_S8_EEE", !60, i64 0}
!60 = !{!"_ZTSSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_P6aiBoneESt10_Select1stISA_ESt4lessIS6_ESaISA_EE", !61, i64 0}
!61 = !{!"_ZTSNSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_P6aiBoneESt10_Select1stISA_ESt4lessIS6_ESaISA_EE13_Rb_tree_implISE_Lb1EEE", !62, i64 0, !40, i64 8}
!62 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !63, i64 0}
!63 = !{!"_ZTSSt4lessIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!64 = !{!"double", !8, i64 0}
!65 = !{!"_ZTSSt6vectorIP10aiSkeletonSaIS1_EE", !66, i64 0}
!66 = !{!"_ZTSSt12_Vector_baseIP10aiSkeletonSaIS1_EE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIP10aiSkeletonSaIS1_EE12_Vector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseIP10aiSkeletonSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!69 = !{!"bool", !8, i64 0}
!70 = !{!14, !14, i64 0}
!71 = !{i64 0, i64 4, !72, i64 4, i64 4, !72, i64 8, i64 4, !72, i64 12, i64 4, !72, i64 16, i64 4, !72, i64 20, i64 4, !72, i64 24, i64 4, !72, i64 28, i64 4, !72, i64 32, i64 4, !72, i64 36, i64 4, !72, i64 40, i64 4, !72, i64 44, i64 4, !72, i64 48, i64 4, !72, i64 52, i64 4, !72, i64 56, i64 4, !72, i64 60, i64 4, !72}
!72 = !{!73, !73, i64 0}
!73 = !{!"float", !8, i64 0}
!74 = !{!75, !14, i64 8}
!75 = !{!"_ZTSN6Assimp3FBX12FBXConverter13PotentialNodeE", !76, i64 0, !14, i64 8}
!76 = !{!"_ZTSSt10unique_ptrI6aiNodeSt14default_deleteIS0_EE", !77, i64 0}
!77 = !{!"_ZTSSt15__uniq_ptr_dataI6aiNodeSt14default_deleteIS0_ELb1ELb1EE", !78, i64 0}
!78 = !{!"_ZTSSt15__uniq_ptr_implI6aiNodeSt14default_deleteIS0_EE", !79, i64 0}
!79 = !{!"_ZTSSt5tupleIJP6aiNodeSt14default_deleteIS0_EEE", !80, i64 0}
!80 = !{!"_ZTSSt11_Tuple_implILm0EJP6aiNodeSt14default_deleteIS0_EEE", !81, i64 0}
!81 = !{!"_ZTSSt10_Head_baseILm0EP6aiNodeLb0EE", !14, i64 0}
!82 = !{!83, !7, i64 1104}
!83 = !{!"_ZTS6aiNode", !84, i64 0, !85, i64 1028, !14, i64 1096, !7, i64 1104, !14, i64 1112, !7, i64 1120, !14, i64 1128, !14, i64 1136}
!84 = !{!"_ZTS8aiString", !7, i64 0, !8, i64 4}
!85 = !{!"_ZTS12aiMatrix4x4tIfE", !73, i64 0, !73, i64 4, !73, i64 8, !73, i64 12, !73, i64 16, !73, i64 20, !73, i64 24, !73, i64 28, !73, i64 32, !73, i64 36, !73, i64 40, !73, i64 44, !73, i64 48, !73, i64 52, !73, i64 56, !73, i64 60}
!86 = !{!83, !14, i64 1112}
!87 = !{!83, !14, i64 1096}
!88 = !{!89, !69, i64 6}
!89 = !{!"_ZTSN6Assimp3FBX14ImportSettingsE", !69, i64 0, !69, i64 1, !69, i64 2, !69, i64 3, !69, i64 4, !69, i64 5, !69, i64 6, !69, i64 7, !69, i64 8, !69, i64 9, !69, i64 10, !69, i64 11, !69, i64 12, !69, i64 13, !69, i64 14}
!90 = !{i8 0, i8 2}
!91 = !{}
!92 = !{!89, !69, i64 5}
!93 = distinct !{!93, !94}
!94 = !{!"llvm.loop.mustprogress"}


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