; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.aiString = type { i32, [1024 x i8] }
%"struct.std::_Rb_tree_const_iterator.344" = type { ptr }
%struct.aiUVTransform = type { %class.aiVector2t, %class.aiVector2t, float }
%class.aiVector2t = type { float, float }
%"class.std::allocator.72" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.105" = type { ptr }
%"struct.std::_Rb_tree_iterator.224" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.227" = type { ptr }
%"struct.std::pair.345" = type { %"class.std::__cxx11::basic_string", 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.std::pair.225" = type { ptr, %"class.std::vector.190" }
%"class.std::vector.190" = type { %"struct.std::_Vector_base.191" }
%"struct.std::_Vector_base.191" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTIN6Assimp3FBX8GeometryE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN6Assimp3FBX12MeshGeometryE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.83 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [8 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry18GetMaterialIndicesEv(ptr noundef nonnull align 8 dereferenceable(1000)) #5

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000), i32 noundef) #5

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

declare void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(1000), i32 noundef) #5

declare noundef i32 @_ZN10aiMaterial11AddPropertyEPK8aiStringPKcjj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, i32 noundef, i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter14GetTexturePathEPKNS0_7TextureE(ptr dead_on_unwind noalias writable sret(%struct.aiString) align 4, ptr noundef nonnull align 8 dereferenceable(489), ptr noundef) #3 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN10aiMaterial11AddPropertyEPK13aiUVTransformjPKcjj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZNK6Assimp3FBX7Texture5PropsEv(ptr noundef nonnull align 8 dereferenceable(248)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX11PropertyGetINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_RKNS0_13PropertyTableERKS7_Rbb(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), i1 noundef zeroext) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZSt8distanceIN9__gnu_cxx17__normal_iteratorIPP10aiMaterialSt6vectorIS3_SaIS3_EEEEENSt15iterator_traitsIT_E15difference_typeESA_SA_(ptr, ptr) #6

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEEiET_S8_S8_RKT0_(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(4)) #6

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN10aiMaterial11AddPropertyEPKijPKcjj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp3FBX12FBXConverter23TrySetTexturePropertiesEP10aiMaterialRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS0_14LayeredTextureESt4lessISA_ESaISt4pairIKSA_SD_EEERSH_13aiTextureTypePKNS0_12MeshGeometryE(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef %4, ptr noundef %5) #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator.344", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator.344", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %struct.aiString, align 4
  %21 = alloca %struct.aiUVTransform, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i8, align 1
  %25 = alloca ptr, align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.72", align 1
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.105", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.105", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.105", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.105", align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"struct.std::_Rb_tree_iterator.224", align 8
  %38 = alloca %"struct.std::_Rb_tree_iterator.224", align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %45 = alloca i32, align 4
  %46 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca ptr, align 8
  %50 = alloca %"class.std::__cxx11::basic_string", align 8
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca ptr, align 8
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !5
  %55 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureESt4lessIS5_ESaISt4pairIKS5_SA_EEE4findERSE_(ptr noundef nonnull align 8 dereferenceable(48) %56, ptr noundef nonnull align 8 dereferenceable(32) %57)
  %59 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.344", ptr %13, i32 0, i32 0
  store ptr %58, ptr %59, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureESt4lessIS5_ESaISt4pairIKS5_SA_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %60) #8
  %62 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.344", ptr %14, i32 0, i32 0
  store ptr %61, ptr %62, align 8
  %63 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEEESG_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br i1 %63, label %64, label %65

64:                                               ; preds = %6
  store i32 1, ptr %15, align 4
  br label %368

65:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %66 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %67 = getelementptr inbounds %"struct.std::pair.345", ptr %66, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8, !tbaa !11
  %69 = call noundef i32 @_ZNK6Assimp3FBX14LayeredTexture12textureCountEv(ptr noundef nonnull align 8 dereferenceable(88) %68)
  store i32 %69, ptr %16, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %70 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %71 = getelementptr inbounds %"struct.std::pair.345", ptr %70, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  %73 = call noundef i32 @_ZNK6Assimp3FBX14LayeredTexture12GetBlendModeEv(ptr noundef nonnull align 8 dereferenceable(88) %72)
  store i32 %73, ptr %17, align 4, !tbaa !16
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = call noundef i32 @_ZN10aiMaterial11AddPropertyEPKijPKcjj(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr noundef %17, i32 noundef 1, ptr noundef @.str.94, i32 noundef %75, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !16
  br label %77

77:                                               ; preds = %362, %65
  %78 = load i32, ptr %18, align 4, !tbaa !16
  %79 = load i32, ptr %16, align 4, !tbaa !16
  %80 = icmp slt i32 %78, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %77
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %367

82:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %83 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %84 = getelementptr inbounds %"struct.std::pair.345", ptr %83, i32 0, i32 1
  %85 = load ptr, ptr %84, align 8, !tbaa !11
  %86 = load i32, ptr %18, align 4, !tbaa !16
  %87 = call noundef ptr @_ZNK6Assimp3FBX14LayeredTexture10getTextureEi(ptr noundef nonnull align 8 dereferenceable(88) %85, i32 noundef %86)
  store ptr %87, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1028, ptr %20) #8
  %88 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN6Assimp3FBX12FBXConverter14GetTexturePathEPKNS0_7TextureE(ptr dead_on_unwind writable sret(%struct.aiString) align 4 %20, ptr noundef nonnull align 8 dereferenceable(489) %55, ptr noundef %88)
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = load i32, ptr %11, align 4, !tbaa !9
  %91 = load i32, ptr %18, align 4, !tbaa !16
  %92 = call noundef i32 @_ZN10aiMaterial11AddPropertyEPK8aiStringPKcjj(ptr noundef nonnull align 8 dereferenceable(16) %89, ptr noundef %20, ptr noundef @.str.83, i32 noundef %90, i32 noundef %91)
  call void @llvm.lifetime.start.p0(i64 20, ptr %21) #8
  call void @_ZN13aiUVTransformC2Ev(ptr noundef nonnull align 4 dereferenceable(20) %21) #8
  %93 = load ptr, ptr %19, align 8, !tbaa !5
  %94 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK6Assimp3FBX7Texture9UVScalingEv(ptr noundef nonnull align 8 dereferenceable(248) %93)
  %95 = getelementptr inbounds %struct.aiUVTransform, ptr %21, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %95, ptr align 4 %94, i64 8, i1 false), !tbaa.struct !18
  %96 = load ptr, ptr %19, align 8, !tbaa !5
  %97 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK6Assimp3FBX7Texture13UVTranslationEv(ptr noundef nonnull align 8 dereferenceable(248) %96)
  %98 = getelementptr inbounds %struct.aiUVTransform, ptr %21, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %98, ptr align 4 %97, i64 8, i1 false), !tbaa.struct !18
  %99 = load ptr, ptr %19, align 8, !tbaa !5
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK6Assimp3FBX7Texture10UVRotationEv(ptr noundef nonnull align 8 dereferenceable(248) %99)
  %101 = load float, ptr %100, align 4, !tbaa !19
  %102 = getelementptr inbounds %struct.aiUVTransform, ptr %21, i32 0, i32 2
  store float %101, ptr %102, align 4, !tbaa !21
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  %104 = load i32, ptr %11, align 4, !tbaa !9
  %105 = load i32, ptr %18, align 4, !tbaa !16
  %106 = call noundef i32 @_ZN10aiMaterial11AddPropertyEPK13aiUVTransformjPKcjj(ptr noundef nonnull align 8 dereferenceable(16) %103, ptr noundef %21, i32 noundef 1, ptr noundef @.str.84, i32 noundef %104, i32 noundef %105)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %107 = load ptr, ptr %19, align 8, !tbaa !5
  %108 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK6Assimp3FBX7Texture5PropsEv(ptr noundef nonnull align 8 dereferenceable(248) %107)
  store ptr %108, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  %109 = load ptr, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.85, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %110 unwind label %159

110:                                              ; preds = %82
  invoke void @_ZN6Assimp3FBX11PropertyGetINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_RKNS0_13PropertyTableERKS7_Rbb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef nonnull align 8 dereferenceable(120) %109, ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 1 dereferenceable(1) %24, i1 noundef zeroext false)
          to label %111 unwind label %163

111:                                              ; preds = %110
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #8
  store ptr %26, ptr %25, align 8, !tbaa !5
  %112 = load i8, ptr %24, align 1, !tbaa !24, !range !26, !noundef !27
  %113 = trunc i8 %112 to i1
  br i1 %113, label %114, label %356

114:                                              ; preds = %111
  %115 = load ptr, ptr %25, align 8, !tbaa !5
  %116 = invoke noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %115, ptr noundef @.str.86)
          to label %117 unwind label %168

117:                                              ; preds = %114
  br i1 %116, label %118, label %355

118:                                              ; preds = %117
  %119 = load ptr, ptr %25, align 8, !tbaa !5
  %120 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %119) #8
  %121 = icmp ne i64 %120, 0
  br i1 %121, label %122, label %355

122:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  %123 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %55, i32 0, i32 3
  %124 = call ptr @_ZNSt6vectorIP10aiMaterialSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #8
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.105", ptr %32, i32 0, i32 0
  store ptr %124, ptr %125, align 8
  %126 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %55, i32 0, i32 3
  %127 = call ptr @_ZNSt6vectorIP10aiMaterialSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #8
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.105", ptr %34, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  %129 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %55, i32 0, i32 3
  %130 = call ptr @_ZNSt6vectorIP10aiMaterialSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #8
  %131 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.105", ptr %35, i32 0, i32 0
  store ptr %130, ptr %131, align 8
  %132 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.105", ptr %34, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.105", ptr %35, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8
  %136 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPP10aiMaterialSt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr %133, ptr %135, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %137 unwind label %172

137:                                              ; preds = %122
  %138 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.105", ptr %33, i32 0, i32 0
  store ptr %136, ptr %138, align 8
  %139 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.105", ptr %32, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8
  %141 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.105", ptr %33, i32 0, i32 0
  %142 = load ptr, ptr %141, align 8
  %143 = invoke noundef i64 @_ZSt8distanceIN9__gnu_cxx17__normal_iteratorIPP10aiMaterialSt6vectorIS3_SaIS3_EEEEENSt15iterator_traitsIT_E15difference_typeESA_SA_(ptr %140, ptr %142)
          to label %144 unwind label %172

144:                                              ; preds = %137
  %145 = trunc i64 %143 to i32
  store i32 %145, ptr %31, align 4, !tbaa !16
  store i32 -1, ptr %23, align 4, !tbaa !16
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  %147 = icmp ne ptr %146, null
  br i1 %147, label %292, label %148

148:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %149 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %55, i32 0, i32 10
  store ptr %149, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %150 = load ptr, ptr %36, align 8, !tbaa !5
  %151 = call ptr @_ZNSt3mapIPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEESt4lessIS4_ESaISt4pairIKS4_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %150) #8
  %152 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.224", ptr %37, i32 0, i32 0
  store ptr %151, ptr %152, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %153 = load ptr, ptr %36, align 8, !tbaa !5
  %154 = call ptr @_ZNSt3mapIPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEESt4lessIS4_ESaISt4pairIKS4_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %153) #8
  %155 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.224", ptr %38, i32 0, i32 0
  store ptr %154, ptr %155, align 8
  br label %156

156:                                              ; preds = %286, %148
  %157 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  br i1 %157, label %176, label %158

158:                                              ; preds = %156
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %291

159:                                              ; preds = %82
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %29, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %30, align 4
  br label %167

163:                                              ; preds = %110
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %29, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %30, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  br label %167

167:                                              ; preds = %163, %159
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #8
  br label %366

168:                                              ; preds = %356, %114
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %29, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %30, align 4
  br label %365

172:                                              ; preds = %350, %137, %122
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %29, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %30, align 4
  br label %354

176:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %177 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  store ptr %177, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %178 = load ptr, ptr %39, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.std::pair.225", ptr %178, i32 0, i32 0
  %180 = load ptr, ptr %179, align 8, !tbaa !28
  %181 = icmp eq ptr %180, null
  br i1 %181, label %184, label %182

182:                                              ; preds = %176
  %183 = call ptr @__dynamic_cast(ptr %180, ptr @_ZTIN6Assimp3FBX8GeometryE, ptr @_ZTIN6Assimp3FBX12MeshGeometryE, i64 0) #8
  br label %185

184:                                              ; preds = %176
  br label %185

185:                                              ; preds = %184, %182
  %186 = phi ptr [ %183, %182 ], [ null, %184 ]
  store ptr %186, ptr %40, align 8, !tbaa !5
  %187 = load ptr, ptr %40, align 8, !tbaa !5
  %188 = icmp ne ptr %187, null
  br i1 %188, label %190, label %189

189:                                              ; preds = %185
  store i32 6, ptr %15, align 4
  br label %280

190:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %191 = load ptr, ptr %40, align 8, !tbaa !5
  %192 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry18GetMaterialIndicesEv(ptr noundef nonnull align 8 dereferenceable(1000) %191)
          to label %193 unwind label %213

193:                                              ; preds = %190
  store ptr %192, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %194 = load ptr, ptr %41, align 8, !tbaa !5
  %195 = call ptr @_ZNKSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %194) #8
  %196 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %43, i32 0, i32 0
  store ptr %195, ptr %196, align 8
  %197 = load ptr, ptr %41, align 8, !tbaa !5
  %198 = call ptr @_ZNKSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %197) #8
  %199 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %44, i32 0, i32 0
  store ptr %198, ptr %199, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  %200 = load i32, ptr %31, align 4, !tbaa !16
  store i32 %200, ptr %45, align 4, !tbaa !16
  %201 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %43, i32 0, i32 0
  %202 = load ptr, ptr %201, align 8
  %203 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %44, i32 0, i32 0
  %204 = load ptr, ptr %203, align 8
  %205 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEEiET_S8_S8_RKT0_(ptr %202, ptr %204, ptr noundef nonnull align 4 dereferenceable(4) %45)
          to label %206 unwind label %217

206:                                              ; preds = %193
  %207 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %42, i32 0, i32 0
  store ptr %205, ptr %207, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %208 = load ptr, ptr %41, align 8, !tbaa !5
  %209 = call ptr @_ZNKSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %208) #8
  %210 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %46, i32 0, i32 0
  store ptr %209, ptr %210, align 8
  %211 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br i1 %211, label %212, label %221

212:                                              ; preds = %206
  store i32 6, ptr %15, align 4
  br label %279

213:                                              ; preds = %190
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %29, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %30, align 4
  br label %290

217:                                              ; preds = %193
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %29, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %289

221:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #8
  store i32 -1, ptr %47, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #8
  store i32 0, ptr %48, align 4, !tbaa !16
  br label %222

222:                                              ; preds = %254, %221
  %223 = load i32, ptr %48, align 4, !tbaa !16
  %224 = icmp ult i32 %223, 8
  br i1 %224, label %226, label %225

225:                                              ; preds = %222
  store i32 7, ptr %15, align 4
  br label %257

226:                                              ; preds = %222
  %227 = load ptr, ptr %40, align 8, !tbaa !5
  %228 = load i32, ptr %48, align 4, !tbaa !16
  %229 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %227, i32 noundef %228)
          to label %230 unwind label %233

230:                                              ; preds = %226
  %231 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %229) #8
  br i1 %231, label %232, label %237

232:                                              ; preds = %230
  store i32 7, ptr %15, align 4
  br label %257

233:                                              ; preds = %226
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %29, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %30, align 4
  br label %258

237:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #8
  %238 = load ptr, ptr %40, align 8, !tbaa !5
  %239 = load i32, ptr %48, align 4, !tbaa !16
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %50, ptr noundef nonnull align 8 dereferenceable(1000) %238, i32 noundef %239)
          to label %240 unwind label %246

240:                                              ; preds = %237
  store ptr %50, ptr %49, align 8, !tbaa !5
  %241 = load ptr, ptr %49, align 8, !tbaa !5
  %242 = load ptr, ptr %25, align 8, !tbaa !5
  %243 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %241, ptr noundef nonnull align 8 dereferenceable(32) %242) #8
  br i1 %243, label %244, label %250

244:                                              ; preds = %240
  %245 = load i32, ptr %48, align 4, !tbaa !16
  store i32 %245, ptr %47, align 4, !tbaa !16
  store i32 7, ptr %15, align 4
  br label %251

246:                                              ; preds = %237
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %29, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %258

250:                                              ; preds = %240
  store i32 0, ptr %15, align 4
  br label %251

251:                                              ; preds = %250, %244
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  %252 = load i32, ptr %15, align 4
  switch i32 %252, label %257 [
    i32 0, label %253
  ]

253:                                              ; preds = %251
  br label %254

254:                                              ; preds = %253
  %255 = load i32, ptr %48, align 4, !tbaa !16
  %256 = add i32 %255, 1
  store i32 %256, ptr %48, align 4, !tbaa !16
  br label %222, !llvm.loop !34

257:                                              ; preds = %251, %232, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %259

258:                                              ; preds = %246, %233
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %288

259:                                              ; preds = %257
  %260 = load i32, ptr %47, align 4, !tbaa !16
  %261 = icmp eq i32 %260, -1
  br i1 %261, label %262, label %269

262:                                              ; preds = %259
  %263 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA31_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(31) @.str.87, ptr noundef nonnull align 8 dereferenceable(32) %263, ptr noundef nonnull align 1 dereferenceable(31) @.str.88)
          to label %264 unwind label %265

264:                                              ; preds = %262
  store i32 6, ptr %15, align 4
  br label %278

265:                                              ; preds = %274, %262
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %29, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %30, align 4
  br label %288

269:                                              ; preds = %259
  %270 = load i32, ptr %23, align 4, !tbaa !16
  %271 = icmp eq i32 %270, -1
  br i1 %271, label %272, label %274

272:                                              ; preds = %269
  %273 = load i32, ptr %47, align 4, !tbaa !16
  store i32 %273, ptr %23, align 4, !tbaa !16
  br label %277

274:                                              ; preds = %269
  %275 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA22_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA65_S4_EEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(22) @.str.89, ptr noundef nonnull align 8 dereferenceable(32) %275, ptr noundef nonnull align 1 dereferenceable(65) @.str.90)
          to label %276 unwind label %265

276:                                              ; preds = %274
  br label %277

277:                                              ; preds = %276, %272
  store i32 0, ptr %15, align 4
  br label %278

278:                                              ; preds = %277, %264
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  br label %279

279:                                              ; preds = %278, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %280

280:                                              ; preds = %279, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  %281 = load i32, ptr %15, align 4
  switch i32 %281, label %283 [
    i32 0, label %282
  ]

282:                                              ; preds = %280
  store i32 0, ptr %15, align 4
  br label %283

283:                                              ; preds = %282, %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  %284 = load i32, ptr %15, align 4
  switch i32 %284, label %376 [
    i32 0, label %285
    i32 6, label %286
  ]

285:                                              ; preds = %283
  br label %286

286:                                              ; preds = %285, %283
  %287 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  br label %156

288:                                              ; preds = %265, %258
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  br label %289

289:                                              ; preds = %288, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br label %290

290:                                              ; preds = %289, %213
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %354

291:                                              ; preds = %158
  br label %347

292:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  store i32 -1, ptr %51, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  store i32 0, ptr %52, align 4, !tbaa !16
  br label %293

293:                                              ; preds = %325, %292
  %294 = load i32, ptr %52, align 4, !tbaa !16
  %295 = icmp ult i32 %294, 8
  br i1 %295, label %297, label %296

296:                                              ; preds = %293
  store i32 10, ptr %15, align 4
  br label %328

297:                                              ; preds = %293
  %298 = load ptr, ptr %12, align 8, !tbaa !5
  %299 = load i32, ptr %52, align 4, !tbaa !16
  %300 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %298, i32 noundef %299)
          to label %301 unwind label %304

301:                                              ; preds = %297
  %302 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %300) #8
  br i1 %302, label %303, label %308

303:                                              ; preds = %301
  store i32 10, ptr %15, align 4
  br label %328

304:                                              ; preds = %297
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %29, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %30, align 4
  br label %329

308:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #8
  %309 = load ptr, ptr %12, align 8, !tbaa !5
  %310 = load i32, ptr %52, align 4, !tbaa !16
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %54, ptr noundef nonnull align 8 dereferenceable(1000) %309, i32 noundef %310)
          to label %311 unwind label %317

311:                                              ; preds = %308
  store ptr %54, ptr %53, align 8, !tbaa !5
  %312 = load ptr, ptr %53, align 8, !tbaa !5
  %313 = load ptr, ptr %25, align 8, !tbaa !5
  %314 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %312, ptr noundef nonnull align 8 dereferenceable(32) %313) #8
  br i1 %314, label %315, label %321

315:                                              ; preds = %311
  %316 = load i32, ptr %52, align 4, !tbaa !16
  store i32 %316, ptr %51, align 4, !tbaa !16
  store i32 10, ptr %15, align 4
  br label %322

317:                                              ; preds = %308
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %29, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  br label %329

321:                                              ; preds = %311
  store i32 0, ptr %15, align 4
  br label %322

322:                                              ; preds = %321, %315
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  %323 = load i32, ptr %15, align 4
  switch i32 %323, label %328 [
    i32 0, label %324
  ]

324:                                              ; preds = %322
  br label %325

325:                                              ; preds = %324
  %326 = load i32, ptr %52, align 4, !tbaa !16
  %327 = add i32 %326, 1
  store i32 %327, ptr %52, align 4, !tbaa !16
  br label %293, !llvm.loop !36

328:                                              ; preds = %322, %303, %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  br label %330

329:                                              ; preds = %317, %304
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  br label %346

330:                                              ; preds = %328
  %331 = load i32, ptr %51, align 4, !tbaa !16
  %332 = icmp eq i32 %331, -1
  br i1 %332, label %333, label %340

333:                                              ; preds = %330
  %334 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA31_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(31) @.str.87, ptr noundef nonnull align 8 dereferenceable(32) %334, ptr noundef nonnull align 1 dereferenceable(31) @.str.88)
          to label %335 unwind label %336

335:                                              ; preds = %333
  br label %340

336:                                              ; preds = %333
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %29, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %30, align 4
  br label %346

340:                                              ; preds = %335, %330
  %341 = load i32, ptr %23, align 4, !tbaa !16
  %342 = icmp eq i32 %341, -1
  br i1 %342, label %343, label %345

343:                                              ; preds = %340
  %344 = load i32, ptr %51, align 4, !tbaa !16
  store i32 %344, ptr %23, align 4, !tbaa !16
  br label %345

345:                                              ; preds = %343, %340
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  br label %347

346:                                              ; preds = %336, %329
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  br label %354

347:                                              ; preds = %345, %291
  %348 = load i32, ptr %23, align 4, !tbaa !16
  %349 = icmp eq i32 %348, -1
  br i1 %349, label %350, label %353

350:                                              ; preds = %347
  %351 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA30_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA25_S4_EEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(30) @.str.91, ptr noundef nonnull align 8 dereferenceable(32) %351, ptr noundef nonnull align 1 dereferenceable(25) @.str.92)
          to label %352 unwind label %172

352:                                              ; preds = %350
  store i32 0, ptr %23, align 4, !tbaa !16
  br label %353

353:                                              ; preds = %352, %347
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %355

354:                                              ; preds = %346, %290, %172
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %365

355:                                              ; preds = %353, %118, %117
  br label %356

356:                                              ; preds = %355, %111
  %357 = load ptr, ptr %8, align 8, !tbaa !5
  %358 = load i32, ptr %11, align 4, !tbaa !9
  %359 = load i32, ptr %18, align 4, !tbaa !16
  %360 = invoke noundef i32 @_ZN10aiMaterial11AddPropertyEPKijPKcjj(ptr noundef nonnull align 8 dereferenceable(16) %357, ptr noundef %23, i32 noundef 1, ptr noundef @.str.93, i32 noundef %358, i32 noundef %359)
          to label %361 unwind label %168

361:                                              ; preds = %356
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 1028, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %362

362:                                              ; preds = %361
  %363 = load i32, ptr %18, align 4, !tbaa !16
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr %18, align 4, !tbaa !16
  br label %77, !llvm.loop !37

365:                                              ; preds = %354, %168
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  br label %366

366:                                              ; preds = %365, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 1028, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %371

367:                                              ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  store i32 0, ptr %15, align 4
  br label %368

368:                                              ; preds = %367, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  %369 = load i32, ptr %15, align 4
  switch i32 %369, label %376 [
    i32 0, label %370
    i32 1, label %370
  ]

370:                                              ; preds = %368, %368
  ret void

371:                                              ; preds = %366
  %372 = load ptr, ptr %29, align 8
  %373 = load i32, ptr %30, align 4
  %374 = insertvalue { ptr, i32 } poison, ptr %372, 0
  %375 = insertvalue { ptr, i32 } %374, i32 %373, 1
  resume { ptr, i32 } %375

376:                                              ; preds = %368, %283
  unreachable
}

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS13aiTextureType", !7, i64 0}
!11 = !{!12, !6, i64 32}
!12 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEE", !13, i64 0, !6, i64 32}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{i64 0, i64 4, !19, i64 4, i64 4, !19}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !7, i64 0}
!21 = !{!22, !20, i64 16}
!22 = !{!"_ZTS13aiUVTransform", !23, i64 0, !23, i64 8, !20, i64 16}
!23 = !{!"_ZTS10aiVector2tIfE", !20, i64 0, !20, i64 4}
!24 = !{!25, !25, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!29, !6, i64 0}
!29 = !{!"_ZTSSt4pairIKPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEEE", !6, i64 0, !30, i64 8}
!30 = !{!"_ZTSSt6vectorIjSaIjEE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = distinct !{!37, !35}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.aiString = type { i32, [1024 x i8] }
%"struct.std::_Rb_tree_const_iterator.344" = type { ptr }
%struct.aiUVTransform = type { %class.aiVector2t, %class.aiVector2t, float }
%class.aiVector2t = type { float, float }
%"class.std::allocator.72" = type { i8 }
%"struct.std::_Rb_tree_iterator.224" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.227" = type { ptr }

@_ZTIN6Assimp3FBX8GeometryE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN6Assimp3FBX12MeshGeometryE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.83 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [8 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry18GetMaterialIndicesEv(ptr noundef nonnull align 8 dereferenceable(1000)) local_unnamed_addr #4

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000), i32 noundef) local_unnamed_addr #4

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

declare void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(1000), i32 noundef) local_unnamed_addr #4

declare noundef i32 @_ZN10aiMaterial11AddPropertyEPK8aiStringPKcjj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter14GetTexturePathEPKNS0_7TextureE(ptr dead_on_unwind noalias writable sret(%struct.aiString) align 4, ptr noundef nonnull align 8 dereferenceable(489), ptr noundef) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN10aiMaterial11AddPropertyEPK13aiUVTransformjPKcjj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZNK6Assimp3FBX7Texture5PropsEv(ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX11PropertyGetINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_RKNS0_13PropertyTableERKS7_Rbb(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), i1 noundef zeroext) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZSt8distanceIN9__gnu_cxx17__normal_iteratorIPP10aiMaterialSt6vectorIS3_SaIS3_EEEEENSt15iterator_traitsIT_E15difference_typeESA_SA_(ptr, ptr) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPP10aiMaterialSt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEEiET_S8_S8_RKT0_(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN10aiMaterial11AddPropertyEPKijPKcjj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp3FBX12FBXConverter23TrySetTexturePropertiesEP10aiMaterialRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS0_14LayeredTextureESt4lessISA_ESaISt4pairIKSA_SD_EEERSH_13aiTextureTypePKNS0_12MeshGeometryE(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef %4, ptr noundef %5) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::_Rb_tree_const_iterator.344", align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator.344", align 8
  %10 = alloca i32, align 4
  %11 = alloca %struct.aiString, align 4
  %12 = alloca %struct.aiUVTransform, align 8
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.72", align 1
  %18 = alloca %"struct.std::_Rb_tree_iterator.224", align 8
  %19 = alloca %"struct.std::_Rb_tree_iterator.224", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %25 = tail call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureESt4lessIS5_ESaISt4pairIKS5_SA_EEE4findERSE_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(32) %3)
  store ptr %25, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %26 = tail call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureESt4lessIS5_ESaISt4pairIKS5_SA_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  store ptr %26, ptr %9, align 8
  %27 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEEESG_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br i1 %27, label %243, label %28

28:                                               ; preds = %6
  %29 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %30 = getelementptr inbounds i8, ptr %29, i64 32
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = call noundef i32 @_ZNK6Assimp3FBX14LayeredTexture12textureCountEv(ptr noundef nonnull align 8 dereferenceable(88) %31)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %33 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %34 = getelementptr inbounds i8, ptr %33, i64 32
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = call noundef i32 @_ZNK6Assimp3FBX14LayeredTexture12GetBlendModeEv(ptr noundef nonnull align 8 dereferenceable(88) %35)
  store i32 %36, ptr %10, align 4, !tbaa !14
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = call noundef i32 @_ZN10aiMaterial11AddPropertyEPKijPKcjj(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull %10, i32 noundef 1, ptr noundef nonnull @.str.94, i32 noundef %4, i32 noundef 0)
  %39 = icmp sgt i32 %32, 0
  br i1 %39, label %.lr.ph122, label %._crit_edge123

.lr.ph122:                                        ; preds = %28
  %40 = getelementptr inbounds i8, ptr %12, i64 8
  %41 = getelementptr inbounds i8, ptr %12, i64 16
  %42 = getelementptr inbounds i8, ptr %0, i64 32
  %.not98 = icmp eq ptr %5, null
  %43 = getelementptr inbounds i8, ptr %0, i64 248
  br label %44

._crit_edge123:                                   ; preds = %239, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %243

44:                                               ; preds = %.lr.ph122, %239
  %.074120 = phi i32 [ 0, %.lr.ph122 ], [ %240, %239 ]
  %45 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %46 = getelementptr inbounds i8, ptr %45, i64 32
  %47 = load ptr, ptr %46, align 8, !tbaa !9
  %48 = call noundef ptr @_ZNK6Assimp3FBX14LayeredTexture10getTextureEi(ptr noundef nonnull align 8 dereferenceable(88) %47, i32 noundef %.074120)
  call void @llvm.lifetime.start.p0(i64 1028, ptr nonnull %11) #7
  call void @_ZN6Assimp3FBX12FBXConverter14GetTexturePathEPKNS0_7TextureE(ptr dead_on_unwind nonnull writable sret(%struct.aiString) align 4 %11, ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef %48)
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = call noundef i32 @_ZN10aiMaterial11AddPropertyEPK8aiStringPKcjj(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull %11, ptr noundef nonnull @.str.83, i32 noundef %4, i32 noundef %.074120)
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %12) #7
  call void @_ZN13aiUVTransformC2Ev(ptr noundef nonnull align 4 dereferenceable(20) %12) #7
  %51 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK6Assimp3FBX7Texture9UVScalingEv(ptr noundef nonnull align 8 dereferenceable(248) %48)
  %52 = load i64, ptr %51, align 4
  store i64 %52, ptr %40, align 8
  %53 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK6Assimp3FBX7Texture13UVTranslationEv(ptr noundef nonnull align 8 dereferenceable(248) %48)
  %54 = load i64, ptr %53, align 4
  store i64 %54, ptr %12, align 8
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK6Assimp3FBX7Texture10UVRotationEv(ptr noundef nonnull align 8 dereferenceable(248) %48)
  %56 = load float, ptr %55, align 4, !tbaa !16
  store float %56, ptr %41, align 8, !tbaa !18
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = call noundef i32 @_ZN10aiMaterial11AddPropertyEPK13aiUVTransformjPKcjj(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull %12, i32 noundef 1, ptr noundef nonnull @.str.84, i32 noundef %4, i32 noundef %.074120)
  %59 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK6Assimp3FBX7Texture5PropsEv(ptr noundef nonnull align 8 dereferenceable(248) %48)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 0, ptr %13, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.85, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %60 unwind label %82

60:                                               ; preds = %44
  invoke void @_ZN6Assimp3FBX11PropertyGetINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_RKNS0_13PropertyTableERKS7_Rbb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(120) %59, ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 1 dereferenceable(1) %14, i1 noundef zeroext false)
          to label %61 unwind label %84

61:                                               ; preds = %60
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  %62 = load i8, ptr %14, align 1, !tbaa !21, !range !23, !noundef !24
  %63 = trunc nuw i8 %62 to i1
  br i1 %63, label %64, label %.thread116

64:                                               ; preds = %61
  %65 = call noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.86)
  br i1 %65, label %66, label %.thread116

66:                                               ; preds = %64
  %67 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  %.not = icmp eq i64 %67, 0
  br i1 %.not, label %.thread116, label %68

68:                                               ; preds = %66
  %69 = call ptr @_ZNSt6vectorIP10aiMaterialSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #7
  %70 = call ptr @_ZNSt6vectorIP10aiMaterialSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #7
  %71 = call ptr @_ZNSt6vectorIP10aiMaterialSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #7
  %72 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPP10aiMaterialSt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr %70, ptr %71, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %73 unwind label %89

73:                                               ; preds = %68
  %74 = invoke noundef i64 @_ZSt8distanceIN9__gnu_cxx17__normal_iteratorIPP10aiMaterialSt6vectorIS3_SaIS3_EEEEENSt15iterator_traitsIT_E15difference_typeESA_SA_(ptr %69, ptr %72)
          to label %75 unwind label %89

75:                                               ; preds = %73
  %76 = trunc i64 %74 to i32
  store i32 -1, ptr %13, align 4, !tbaa !14
  br i1 %.not98, label %78, label %.preheader117.preheader

.preheader117.preheader:                          ; preds = %75
  %77 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 0)
          to label %174 unwind label %176

78:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %79 = call ptr @_ZNSt3mapIPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEESt4lessIS4_ESaISt4pairIKS4_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %43) #7
  store ptr %79, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %80 = call ptr @_ZNSt3mapIPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEESt4lessIS4_ESaISt4pairIKS4_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %43) #7
  store ptr %80, ptr %19, align 8
  %81 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  br i1 %81, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.thread, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  %.pr = load i32, ptr %13, align 4, !tbaa !14
  br label %232

82:                                               ; preds = %44
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %60
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %86

86:                                               ; preds = %84, %82
  %.pn = phi { ptr, i32 } [ %85, %84 ], [ %83, %82 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  br label %242

87:                                               ; preds = %.thread116
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %241

89:                                               ; preds = %235, %73, %68
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %241

.lr.ph:                                           ; preds = %78, %.thread
  %91 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  %92 = load ptr, ptr %91, align 8, !tbaa !25
  %93 = icmp eq ptr %92, null
  br i1 %93, label %.thread, label %94

94:                                               ; preds = %.lr.ph
  %95 = call ptr @__dynamic_cast(ptr nonnull %92, ptr nonnull @_ZTIN6Assimp3FBX8GeometryE, ptr nonnull @_ZTIN6Assimp3FBX12MeshGeometryE, i64 0) #7
  %.not99 = icmp eq ptr %95, null
  br i1 %.not99, label %.thread, label %96

96:                                               ; preds = %94
  %97 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry18GetMaterialIndicesEv(ptr noundef nonnull align 8 dereferenceable(1000) %95)
          to label %98 unwind label %106

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %99 = call ptr @_ZNKSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #7
  %100 = call ptr @_ZNKSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #7
  store i32 %76, ptr %21, align 4, !tbaa !14
  %101 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEEiET_S8_S8_RKT0_(ptr %99, ptr %100, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %102 unwind label %108

102:                                              ; preds = %98
  store ptr %101, ptr %20, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %103 = call ptr @_ZNKSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #7
  store ptr %103, ptr %22, align 8
  %104 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br i1 %104, label %169, label %.preheader.preheader

.preheader.preheader:                             ; preds = %102
  %105 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 0)
          to label %110 unwind label %112

106:                                              ; preds = %96
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %173

108:                                              ; preds = %98
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  br label %172

110:                                              ; preds = %.preheader.preheader
  %111 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #7
  br i1 %111, label %161, label %114

112:                                              ; preds = %.preheader.7, %.preheader.6, %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %172

114:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 0)
          to label %115 unwind label %117

115:                                              ; preds = %114
  %116 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br i1 %116, label %164, label %.preheader.1

117:                                              ; preds = %158, %152, %146, %140, %134, %128, %122, %114
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %172

.preheader.1:                                     ; preds = %115
  %119 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 1)
          to label %120 unwind label %112

120:                                              ; preds = %.preheader.1
  %121 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %119) #7
  br i1 %121, label %161, label %122

122:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 1)
          to label %123 unwind label %117

123:                                              ; preds = %122
  %124 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br i1 %124, label %164, label %.preheader.2

.preheader.2:                                     ; preds = %123
  %125 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 2)
          to label %126 unwind label %112

126:                                              ; preds = %.preheader.2
  %127 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %125) #7
  br i1 %127, label %161, label %128

128:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 2)
          to label %129 unwind label %117

129:                                              ; preds = %128
  %130 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br i1 %130, label %164, label %.preheader.3

.preheader.3:                                     ; preds = %129
  %131 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 3)
          to label %132 unwind label %112

132:                                              ; preds = %.preheader.3
  %133 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %131) #7
  br i1 %133, label %161, label %134

134:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 3)
          to label %135 unwind label %117

135:                                              ; preds = %134
  %136 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br i1 %136, label %164, label %.preheader.4

.preheader.4:                                     ; preds = %135
  %137 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 4)
          to label %138 unwind label %112

138:                                              ; preds = %.preheader.4
  %139 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #7
  br i1 %139, label %161, label %140

140:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 4)
          to label %141 unwind label %117

141:                                              ; preds = %140
  %142 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br i1 %142, label %164, label %.preheader.5

.preheader.5:                                     ; preds = %141
  %143 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 5)
          to label %144 unwind label %112

144:                                              ; preds = %.preheader.5
  %145 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %143) #7
  br i1 %145, label %161, label %146

146:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 5)
          to label %147 unwind label %117

147:                                              ; preds = %146
  %148 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br i1 %148, label %164, label %.preheader.6

.preheader.6:                                     ; preds = %147
  %149 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 6)
          to label %150 unwind label %112

150:                                              ; preds = %.preheader.6
  %151 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #7
  br i1 %151, label %161, label %152

152:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 6)
          to label %153 unwind label %117

153:                                              ; preds = %152
  %154 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br i1 %154, label %164, label %.preheader.7

.preheader.7:                                     ; preds = %153
  %155 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 7)
          to label %156 unwind label %112

156:                                              ; preds = %.preheader.7
  %157 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %155) #7
  br i1 %157, label %161, label %158

158:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(1000) %95, i32 noundef 7)
          to label %159 unwind label %117

159:                                              ; preds = %158
  %160 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br i1 %160, label %164, label %161

161:                                              ; preds = %159, %110, %120, %126, %132, %138, %144, %150, %156
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA31_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(31) @.str.87, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 1 dereferenceable(31) @.str.88)
          to label %169 unwind label %162

162:                                              ; preds = %168, %161
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %172

164:                                              ; preds = %115, %123, %129, %135, %141, %147, %153, %159
  %.278 = phi i32 [ 0, %115 ], [ 1, %123 ], [ 2, %129 ], [ 3, %135 ], [ 4, %141 ], [ 5, %147 ], [ 6, %153 ], [ 7, %159 ]
  %165 = load i32, ptr %13, align 4, !tbaa !14
  %166 = icmp eq i32 %165, -1
  br i1 %166, label %167, label %168

167:                                              ; preds = %164
  store i32 %.278, ptr %13, align 4, !tbaa !14
  br label %169

168:                                              ; preds = %164
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA22_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA65_S4_EEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(22) @.str.89, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 1 dereferenceable(65) @.str.90)
          to label %169 unwind label %162

169:                                              ; preds = %161, %168, %167, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %.thread

.thread:                                          ; preds = %.lr.ph, %94, %169
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  %171 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  br i1 %171, label %.lr.ph, label %._crit_edge

172:                                              ; preds = %162, %117, %112, %108
  %.pn102.pn = phi { ptr, i32 } [ %109, %108 ], [ %163, %162 ], [ %118, %117 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %173

173:                                              ; preds = %172, %106
  %.pn102.pn.pn = phi { ptr, i32 } [ %.pn102.pn, %172 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br label %241

174:                                              ; preds = %.preheader117.preheader
  %175 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #7
  br i1 %175, label %225, label %178

176:                                              ; preds = %.preheader117.7, %.preheader117.6, %.preheader117.5, %.preheader117.4, %.preheader117.3, %.preheader117.2, %.preheader117.1, %.preheader117.preheader
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %241

178:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 0)
          to label %179 unwind label %181

179:                                              ; preds = %178
  %180 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br i1 %180, label %228, label %.preheader117.1

181:                                              ; preds = %222, %216, %210, %204, %198, %192, %186, %178
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %241

.preheader117.1:                                  ; preds = %179
  %183 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 1)
          to label %184 unwind label %176

184:                                              ; preds = %.preheader117.1
  %185 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %183) #7
  br i1 %185, label %225, label %186

186:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 1)
          to label %187 unwind label %181

187:                                              ; preds = %186
  %188 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br i1 %188, label %228, label %.preheader117.2

.preheader117.2:                                  ; preds = %187
  %189 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 2)
          to label %190 unwind label %176

190:                                              ; preds = %.preheader117.2
  %191 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %189) #7
  br i1 %191, label %225, label %192

192:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 2)
          to label %193 unwind label %181

193:                                              ; preds = %192
  %194 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br i1 %194, label %228, label %.preheader117.3

.preheader117.3:                                  ; preds = %193
  %195 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 3)
          to label %196 unwind label %176

196:                                              ; preds = %.preheader117.3
  %197 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %195) #7
  br i1 %197, label %225, label %198

198:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 3)
          to label %199 unwind label %181

199:                                              ; preds = %198
  %200 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br i1 %200, label %228, label %.preheader117.4

.preheader117.4:                                  ; preds = %199
  %201 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 4)
          to label %202 unwind label %176

202:                                              ; preds = %.preheader117.4
  %203 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %201) #7
  br i1 %203, label %225, label %204

204:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 4)
          to label %205 unwind label %181

205:                                              ; preds = %204
  %206 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br i1 %206, label %228, label %.preheader117.5

.preheader117.5:                                  ; preds = %205
  %207 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 5)
          to label %208 unwind label %176

208:                                              ; preds = %.preheader117.5
  %209 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %207) #7
  br i1 %209, label %225, label %210

210:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 5)
          to label %211 unwind label %181

211:                                              ; preds = %210
  %212 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br i1 %212, label %228, label %.preheader117.6

.preheader117.6:                                  ; preds = %211
  %213 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 6)
          to label %214 unwind label %176

214:                                              ; preds = %.preheader117.6
  %215 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %213) #7
  br i1 %215, label %225, label %216

216:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 6)
          to label %217 unwind label %181

217:                                              ; preds = %216
  %218 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br i1 %218, label %228, label %.preheader117.7

.preheader117.7:                                  ; preds = %217
  %219 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6Assimp3FBX12MeshGeometry16GetTextureCoordsEj(ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 7)
          to label %220 unwind label %176

220:                                              ; preds = %.preheader117.7
  %221 = call noundef zeroext i1 @_ZNKSt6vectorI10aiVector2tIfESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %219) #7
  br i1 %221, label %225, label %222

222:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  invoke void @_ZNK6Assimp3FBX12MeshGeometry26GetTextureCoordChannelNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(1000) %5, i32 noundef 7)
          to label %223 unwind label %181

223:                                              ; preds = %222
  %224 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br i1 %224, label %228, label %225

225:                                              ; preds = %223, %174, %184, %190, %196, %202, %208, %214, %220
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA31_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(31) @.str.87, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 1 dereferenceable(31) @.str.88)
          to label %228 unwind label %226

226:                                              ; preds = %225
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %241

228:                                              ; preds = %179, %187, %193, %199, %205, %211, %217, %223, %225
  %.273129 = phi i32 [ -1, %225 ], [ 0, %179 ], [ 1, %187 ], [ 2, %193 ], [ 3, %199 ], [ 4, %205 ], [ 5, %211 ], [ 6, %217 ], [ 7, %223 ]
  %229 = load i32, ptr %13, align 4, !tbaa !14
  %230 = icmp eq i32 %229, -1
  br i1 %230, label %231, label %.thread116

231:                                              ; preds = %228
  store i32 %.273129, ptr %13, align 4, !tbaa !14
  br label %232

232:                                              ; preds = %231, %._crit_edge
  %233 = phi i32 [ %.273129, %231 ], [ %.pr, %._crit_edge ]
  %234 = icmp eq i32 %233, -1
  br i1 %234, label %235, label %.thread116

235:                                              ; preds = %232
  invoke void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA30_KcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA25_S4_EEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(30) @.str.91, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 1 dereferenceable(25) @.str.92)
          to label %236 unwind label %89

236:                                              ; preds = %235
  store i32 0, ptr %13, align 4, !tbaa !14
  br label %.thread116

.thread116:                                       ; preds = %228, %232, %236, %64, %66, %61
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  %238 = invoke noundef i32 @_ZN10aiMaterial11AddPropertyEPKijPKcjj(ptr noundef nonnull align 8 dereferenceable(16) %237, ptr noundef nonnull %13, i32 noundef 1, ptr noundef nonnull @.str.93, i32 noundef %4, i32 noundef %.074120)
          to label %239 unwind label %87

239:                                              ; preds = %.thread116
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 1028, ptr nonnull %11) #7
  %240 = add nuw nsw i32 %.074120, 1
  %exitcond.not = icmp eq i32 %240, %32
  br i1 %exitcond.not, label %._crit_edge123, label %44, !llvm.loop !31

241:                                              ; preds = %89, %173, %176, %181, %226, %87
  %.pn112 = phi { ptr, i32 } [ %88, %87 ], [ %90, %89 ], [ %.pn102.pn.pn, %173 ], [ %227, %226 ], [ %182, %181 ], [ %177, %176 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  br label %242

242:                                              ; preds = %241, %86
  %.pn112.pn = phi { ptr, i32 } [ %.pn112, %241 ], [ %.pn, %86 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 1028, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  resume { ptr, i32 } %.pn112.pn

243:                                              ; preds = %6, %._crit_edge123
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  ret void
}

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKN6Assimp3FBX14LayeredTextureEE", !11, i64 0, !6, i64 32}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!19, !17, i64 16}
!19 = !{!"_ZTS13aiUVTransform", !20, i64 0, !20, i64 8, !17, i64 16}
!20 = !{!"_ZTS10aiVector2tIfE", !17, i64 0, !17, i64 4}
!21 = !{!22, !22, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!26, !6, i64 0}
!26 = !{!"_ZTSSt4pairIKPKN6Assimp3FBX8GeometryESt6vectorIjSaIjEEE", !6, i64 0, !27, i64 8}
!27 = !{!"_ZTSSt6vectorIjSaIjEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


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