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

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

%"class.std::vector" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = 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 }
%"class.std::allocator.6" = type { i8 }
%"class.Assimp::SpatialSort" = type <{ %class.aiVector3t, %class.aiVector3t, %"class.std::vector.9", i8, [7 x i8] }>
%class.aiVector3t = type { float, float, float }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<Assimp::SpatialSort::Entry, std::allocator<Assimp::SpatialSort::Entry>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::SpatialSort::Entry, std::allocator<Assimp::SpatialSort::Entry>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::SpatialSort::Entry, std::allocator<Assimp::SpatialSort::Entry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::SpatialSort::Entry, std::allocator<Assimp::SpatialSort::Entry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::hash" = type { i8 }
%"struct.std::equal_to" = type { i32, i32 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { %"struct.std::__detail::_Hashtable_base", ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hashtable_base" = type { %"struct.std::__detail::_Hashtable_ebo_helper.27" }
%"struct.std::__detail::_Hashtable_ebo_helper.27" = type { %"struct.std::equal_to" }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::allocator.32" = type { i8 }
%"struct.Assimp::Vertex" = type { %class.aiVector3t, %class.aiVector3t, %class.aiVector3t, %class.aiVector3t, [8 x %class.aiVector3t], [8 x %class.aiColor4t] }
%class.aiColor4t = type { float, float, float, float }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<aiVertexWeight, std::allocator<aiVertexWeight>>::_Vector_impl" }
%"struct.std::_Vector_base<aiVertexWeight, std::allocator<aiVertexWeight>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiVertexWeight, std::allocator<aiVertexWeight>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiVertexWeight, std::allocator<aiVertexWeight>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.aiVertexWeight = type { i32, float }
%struct.aiMesh = type { i32, i32, i32, ptr, ptr, ptr, ptr, [8 x ptr], [8 x ptr], [8 x i32], ptr, i32, ptr, i32, %struct.aiString, i32, ptr, i32, %struct.aiAABB, ptr }
%struct.aiString = type { i32, [1024 x i8] }
%struct.aiAABB = type { %class.aiVector3t, %class.aiVector3t }
%struct.aiFace = type { i32, ptr }
%"class.Assimp::BaseProcess" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %"class.Assimp::SpatialSort", float, [4 x i8] }
%"struct.std::pair.35" = type { %"struct.Assimp::Vertex", i32 }
%struct.aiBone = type { %struct.aiString, i32, ptr, ptr, ptr, %class.aiMatrix4x4t }
%class.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }

@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [72 x i8], align 1

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() #0

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

declare noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv() #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6Assimp19JoinVerticesProcess11ProcessMeshEP6aiMeshj(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, i32 noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::_Bit_reference", align 8
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca %"class.std::vector.4", align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::allocator.6", align 1
  %20 = alloca ptr, align 8
  %21 = alloca %"class.Assimp::SpatialSort", align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.std::vector.4", align 8
  %25 = alloca i8, align 1
  %26 = alloca %"class.std::vector.22", align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"struct.std::hash", align 1
  %30 = alloca %"struct.std::equal_to", align 4
  %31 = alloca %"class.std::unordered_map", align 8
  %32 = alloca %"class.std::allocator.32", align 1
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"struct.std::_Bit_reference", align 8
  %36 = alloca %"struct.Assimp::Vertex", align 4
  %37 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %38 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca ptr, align 8
  %42 = alloca i64, align 8
  %43 = alloca float, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca ptr, align 8
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca ptr, align 8
  %50 = alloca %"class.std::vector.37", align 8
  %51 = alloca i32, align 4
  %52 = alloca ptr, align 8
  %53 = alloca %struct.aiVertexWeight, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  %54 = load ptr, ptr %5, align 8
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZNK6aiMesh12HasPositionsEv(ptr noundef nonnull align 8 dereferenceable(1320) %55)
  br i1 %56, label %57, label %60

57:                                               ; preds = %3
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = call noundef zeroext i1 @_ZNK6aiMesh8HasFacesEv(ptr noundef nonnull align 8 dereferenceable(1320) %58)
  br i1 %59, label %61, label %60

60:                                               ; preds = %57, %3
  store i32 0, ptr %4, align 4
  br label %632

61:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #10
  call void @_ZNSt6vectorIbSaIbEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #10
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.aiMesh, ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 4, !tbaa !11
  %65 = zext i32 %64 to i64
  invoke void @_ZNSt6vectorIbSaIbEE6resizeEmb(ptr noundef nonnull align 8 dereferenceable(40) %8, i64 noundef %65, i1 noundef zeroext false)
          to label %66 unwind label %74

66:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %116, %66
  %68 = load i32, ptr %11, align 4, !tbaa !9
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.aiMesh, ptr %69, i32 0, i32 2
  %71 = load i32, ptr %70, align 8, !tbaa !18
  %72 = icmp ult i32 %68, %71
  br i1 %72, label %78, label %73

73:                                               ; preds = %67
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  br label %119

74:                                               ; preds = %61
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %9, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %10, align 4
  br label %631

78:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.aiMesh, ptr %79, i32 0, i32 10
  %81 = load ptr, ptr %80, align 8, !tbaa !19
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds %struct.aiFace, ptr %81, i64 %83
  store ptr %84, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %108, %78
  %86 = load i32, ptr %14, align 4, !tbaa !9
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.aiFace, ptr %87, i32 0, i32 0
  %89 = load i32, ptr %88, align 8, !tbaa !20
  %90 = icmp ult i32 %86, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %85
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  br label %115

92:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #10
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.aiFace, ptr %93, i32 0, i32 1
  %95 = load ptr, ptr %94, align 8, !tbaa !22
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds i32, ptr %95, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %8, i64 noundef %100)
          to label %102 unwind label %111

102:                                              ; preds = %92
  %103 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %104 = extractvalue { ptr, i64 } %101, 0
  store ptr %104, ptr %103, align 8
  %105 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %106 = extractvalue { ptr, i64 } %101, 1
  store i64 %106, ptr %105, align 8
  %107 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %15, i1 noundef zeroext true) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #10
  br label %108

108:                                              ; preds = %102
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = add i32 %109, 1
  store i32 %110, ptr %14, align 4, !tbaa !9
  br label %85, !llvm.loop !23

111:                                              ; preds = %92
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %9, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  br label %631

115:                                              ; preds = %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %116

116:                                              ; preds = %115
  %117 = load i32, ptr %11, align 4, !tbaa !9
  %118 = add i32 %117, 1
  store i32 %118, ptr %11, align 4, !tbaa !9
  br label %67, !llvm.loop !25

119:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #10
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.aiMesh, ptr %120, i32 0, i32 1
  %122 = load i32, ptr %121, align 4, !tbaa !11
  %123 = zext i32 %122 to i64
  invoke void @_ZNSt6vectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %123)
          to label %124 unwind label %148

124:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #10
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.aiMesh, ptr %125, i32 0, i32 1
  %127 = load i32, ptr %126, align 4, !tbaa !11
  %128 = zext i32 %127 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  store i32 -1, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #10
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #10
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %128, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %129 unwind label %152

129:                                              ; preds = %124
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  store ptr null, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %21) #10
  invoke void @_ZN6Assimp11SpatialSortC1Ev(ptr noundef nonnull align 8 dereferenceable(49) %21)
          to label %130 unwind label %156

130:                                              ; preds = %129
  %131 = getelementptr inbounds %"class.Assimp::BaseProcess", ptr %54, i32 0, i32 1
  %132 = load ptr, ptr %131, align 8, !tbaa !26
  %133 = icmp ne ptr %132, null
  br i1 %133, label %134, label %165

134:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %135 = getelementptr inbounds %"class.Assimp::BaseProcess", ptr %54, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !26
  %137 = invoke noundef zeroext i1 @_ZNK6Assimp21SharedPostProcessInfo11GetPropertyISt6vectorISt4pairINS_11SpatialSortEfESaIS5_EEEEbPKcRPT_(ptr noundef nonnull align 8 dereferenceable(48) %136, ptr noundef @.str.5, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %138 unwind label %160

138:                                              ; preds = %134
  %139 = load ptr, ptr %22, align 8, !tbaa !5
  %140 = icmp ne ptr %139, null
  br i1 %140, label %141, label %164

141:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %142 = load ptr, ptr %22, align 8, !tbaa !5
  %143 = load i32, ptr %7, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  %145 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorISt4pairIN6Assimp11SpatialSortEfESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %142, i64 noundef %144) #10
  store ptr %145, ptr %23, align 8, !tbaa !5
  %146 = load ptr, ptr %23, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.std::pair", ptr %146, i32 0, i32 0
  store ptr %147, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %164

148:                                              ; preds = %119
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %9, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %10, align 4
  br label %630

152:                                              ; preds = %124
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %9, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %629

156:                                              ; preds = %129
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %9, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %10, align 4
  br label %628

160:                                              ; preds = %134
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %9, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %627

164:                                              ; preds = %141, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %165

165:                                              ; preds = %164, %130
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  %167 = icmp ne ptr %166, null
  br i1 %167, label %180, label %168

168:                                              ; preds = %165
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.aiMesh, ptr %169, i32 0, i32 3
  %171 = load ptr, ptr %170, align 8, !tbaa !28
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.aiMesh, ptr %172, i32 0, i32 1
  %174 = load i32, ptr %173, align 4, !tbaa !11
  invoke void @_ZN6Assimp11SpatialSort4FillEPK10aiVector3tIfEjjb(ptr noundef nonnull align 8 dereferenceable(49) %21, ptr noundef %171, i32 noundef %174, i32 noundef 12, i1 noundef zeroext true)
          to label %175 unwind label %176

175:                                              ; preds = %168
  store ptr %21, ptr %20, align 8, !tbaa !5
  br label %180

176:                                              ; preds = %168
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %9, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %10, align 4
  br label %627

180:                                              ; preds = %175, %165
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #10
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  invoke void @_ZNSt6vectorIjSaIjEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 10)
          to label %181 unwind label %202

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #10
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.aiMesh, ptr %182, i32 0, i32 15
  %184 = load i32, ptr %183, align 8, !tbaa !29
  %185 = icmp ugt i32 %184, 0
  %186 = zext i1 %185 to i8
  store i8 %186, ptr %25, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #10
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  %187 = load i8, ptr %25, align 1, !tbaa !30, !range !32, !noundef !33
  %188 = trunc i8 %187 to i1
  br i1 %188, label %189, label %227

189:                                              ; preds = %181
  %190 = load ptr, ptr %6, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.aiMesh, ptr %190, i32 0, i32 15
  %192 = load i32, ptr %191, align 8, !tbaa !29
  %193 = zext i32 %192 to i64
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %193)
          to label %194 unwind label %206

194:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %195

195:                                              ; preds = %219, %194
  %196 = load i32, ptr %27, align 4, !tbaa !9
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.aiMesh, ptr %197, i32 0, i32 15
  %199 = load i32, ptr %198, align 8, !tbaa !29
  %200 = icmp ult i32 %196, %199
  br i1 %200, label %210, label %201

201:                                              ; preds = %195
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  br label %226

202:                                              ; preds = %180
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %9, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %10, align 4
  br label %626

206:                                              ; preds = %189
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %9, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %10, align 4
  br label %625

210:                                              ; preds = %195
  %211 = load i32, ptr %27, align 4, !tbaa !9
  %212 = zext i32 %211 to i64
  %213 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %212) #10
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.aiMesh, ptr %214, i32 0, i32 1
  %216 = load i32, ptr %215, align 4, !tbaa !11
  %217 = zext i32 %216 to i64
  invoke void @_ZNSt6vectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %213, i64 noundef %217)
          to label %218 unwind label %222

218:                                              ; preds = %210
  br label %219

219:                                              ; preds = %218
  %220 = load i32, ptr %27, align 4, !tbaa !9
  %221 = add i32 %220, 1
  store i32 %221, ptr %27, align 4, !tbaa !9
  br label %195, !llvm.loop !34

222:                                              ; preds = %210
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %9, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  br label %625

226:                                              ; preds = %201
  br label %227

227:                                              ; preds = %226, %181
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #10
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.aiMesh, ptr %228, i32 0, i32 1
  %230 = load i32, ptr %229, align 4, !tbaa !11
  store i32 %230, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #10
  call void @llvm.memset.p0.i64(ptr align 1 %29, i8 0, i64 1, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = invoke noundef i32 @_ZNK6aiMesh16GetNumUVChannelsEv(ptr noundef nonnull align 8 dereferenceable(1320) %231)
          to label %233 unwind label %253

233:                                              ; preds = %227
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  %235 = invoke noundef i32 @_ZNK6aiMesh19GetNumColorChannelsEv(ptr noundef nonnull align 8 dereferenceable(1320) %234)
          to label %236 unwind label %253

236:                                              ; preds = %233
  invoke void @_ZNSt8equal_toIN6Assimp6VertexEEC2Ejj(ptr noundef nonnull align 4 dereferenceable(8) %30, i32 noundef %232, i32 noundef %235)
          to label %237 unwind label %253

237:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #10
  %238 = load i32, ptr %28, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #10
  call void @_ZNSaISt4pairIKN6Assimp6VertexEiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #10
  invoke void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEEC2EmRKS3_RKS5_RKS9_(ptr noundef nonnull align 8 dereferenceable(64) %31, i64 noundef %239, ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %240 unwind label %257

240:                                              ; preds = %237
  call void @_ZNSt15__new_allocatorISt4pairIKN6Assimp6VertexEiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #10
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.aiMesh, ptr %241, i32 0, i32 1
  %243 = load i32, ptr %242, align 4, !tbaa !11
  %244 = zext i32 %243 to i64
  invoke void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(64) %31, i64 noundef %244)
          to label %245 unwind label %261

245:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #10
  store i32 0, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %246

246:                                              ; preds = %352, %245
  %247 = load i32, ptr %34, align 4, !tbaa !9
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.aiMesh, ptr %248, i32 0, i32 1
  %250 = load i32, ptr %249, align 4, !tbaa !11
  %251 = icmp ult i32 %247, %250
  br i1 %251, label %265, label %252

252:                                              ; preds = %246
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  br label %358

253:                                              ; preds = %236, %233, %227
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %9, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %10, align 4
  br label %624

257:                                              ; preds = %237
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %9, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %10, align 4
  call void @_ZNSt15__new_allocatorISt4pairIKN6Assimp6VertexEiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #10
  br label %623

261:                                              ; preds = %240
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %9, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %10, align 4
  br label %622

265:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #10
  %266 = load i32, ptr %34, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %8, i64 noundef %267)
          to label %269 unwind label %277

269:                                              ; preds = %265
  %270 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %271 = extractvalue { ptr, i64 } %268, 0
  store ptr %271, ptr %270, align 8
  %272 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %273 = extractvalue { ptr, i64 } %268, 1
  store i64 %273, ptr %272, align 8
  %274 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %35) #10
  %275 = xor i1 %274, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #10
  br i1 %275, label %276, label %281

276:                                              ; preds = %269
  br label %352

277:                                              ; preds = %265
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %9, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #10
  br label %357

281:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 272, ptr %36) #10
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  %283 = load i32, ptr %34, align 4, !tbaa !9
  invoke void @_ZN6Assimp6VertexC2EPK6aiMeshj(ptr noundef nonnull align 4 dereferenceable(272) %36, ptr noundef %282, i32 noundef %283)
          to label %284 unwind label %314

284:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %285 = invoke ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(64) %31, ptr noundef nonnull align 4 dereferenceable(272) %36)
          to label %286 unwind label %318

286:                                              ; preds = %284
  %287 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %37, i32 0, i32 0
  %288 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %287, i32 0, i32 0
  store ptr %285, ptr %288, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  %289 = call ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %31) #10
  %290 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %38, i32 0, i32 0
  %291 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %290, i32 0, i32 0
  store ptr %289, ptr %291, align 8
  %292 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKN6Assimp6VertexEiELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br i1 %292, label %293, label %341

293:                                              ; preds = %286
  %294 = load i32, ptr %33, align 4, !tbaa !9
  %295 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(64) %31, ptr noundef nonnull align 4 dereferenceable(272) %36)
          to label %296 unwind label %318

296:                                              ; preds = %293
  store i32 %294, ptr %295, align 4, !tbaa !9
  %297 = load i32, ptr %33, align 4, !tbaa !9
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr %33, align 4, !tbaa !9
  %299 = load i32, ptr %34, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %300) #10
  store i32 %297, ptr %301, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  %302 = load i32, ptr %34, align 4, !tbaa !9
  store i32 %302, ptr %39, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %303 unwind label %322

303:                                              ; preds = %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  %304 = load i8, ptr %25, align 1, !tbaa !30, !range !32, !noundef !33
  %305 = trunc i8 %304 to i1
  br i1 %305, label %306, label %340

306:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #10
  store i32 0, ptr %40, align 4, !tbaa !9
  br label %307

307:                                              ; preds = %332, %306
  %308 = load i32, ptr %40, align 4, !tbaa !9
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.aiMesh, ptr %309, i32 0, i32 15
  %311 = load i32, ptr %310, align 8, !tbaa !29
  %312 = icmp ult i32 %308, %311
  br i1 %312, label %326, label %313

313:                                              ; preds = %307
  store i32 14, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #10
  br label %339

314:                                              ; preds = %281
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %9, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %10, align 4
  br label %356

318:                                              ; preds = %293, %284
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %9, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %10, align 4
  br label %355

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

326:                                              ; preds = %307
  %327 = load i32, ptr %40, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %328) #10
  %330 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE12emplace_backIJRjEEERiDpOT_(ptr noundef nonnull align 8 dereferenceable(24) %329, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %331 unwind label %335

331:                                              ; preds = %326
  br label %332

332:                                              ; preds = %331
  %333 = load i32, ptr %40, align 4, !tbaa !9
  %334 = add i32 %333, 1
  store i32 %334, ptr %40, align 4, !tbaa !9
  br label %307, !llvm.loop !35

335:                                              ; preds = %326
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %9, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #10
  br label %355

339:                                              ; preds = %313
  br label %340

340:                                              ; preds = %339, %303
  br label %351

341:                                              ; preds = %286
  %342 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN6Assimp6VertexEiELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #10
  %343 = getelementptr inbounds %"struct.std::pair.35", ptr %342, i32 0, i32 1
  %344 = load i32, ptr %343, align 4, !tbaa !36
  %345 = sext i32 %344 to i64
  %346 = or i64 %345, 2147483648
  %347 = trunc i64 %346 to i32
  %348 = load i32, ptr %34, align 4, !tbaa !9
  %349 = zext i32 %348 to i64
  %350 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %349) #10
  store i32 %347, ptr %350, align 4, !tbaa !9
  br label %351

351:                                              ; preds = %341, %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 272, ptr %36) #10
  br label %352

352:                                              ; preds = %351, %276
  %353 = load i32, ptr %34, align 4, !tbaa !9
  %354 = add i32 %353, 1
  store i32 %354, ptr %34, align 4, !tbaa !9
  br label %246, !llvm.loop !39

355:                                              ; preds = %335, %322, %318
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  br label %356

356:                                              ; preds = %355, %314
  call void @llvm.lifetime.end.p0(i64 272, ptr %36) #10
  br label %357

357:                                              ; preds = %356, %277
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  br label %621

358:                                              ; preds = %252
  %359 = invoke noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv()
          to label %360 unwind label %400

360:                                              ; preds = %358
  br i1 %359, label %408, label %361

361:                                              ; preds = %360
  %362 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %363 unwind label %400

363:                                              ; preds = %361
  %364 = invoke noundef i32 @_ZNK6Assimp6Logger14getLogSeverityEv(ptr noundef nonnull align 8 dereferenceable(12) %362)
          to label %365 unwind label %400

365:                                              ; preds = %363
  %366 = icmp eq i32 %364, 2
  br i1 %366, label %367, label %408

367:                                              ; preds = %365
  %368 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %369 unwind label %400

369:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #10
  %370 = load ptr, ptr %6, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.aiMesh, ptr %370, i32 0, i32 14
  %372 = getelementptr inbounds %struct.aiString, ptr %371, i32 0, i32 0
  %373 = load i32, ptr %372, align 4, !tbaa !40
  %374 = icmp ne i32 %373, 0
  br i1 %374, label %375, label %380

375:                                              ; preds = %369
  %376 = load ptr, ptr %6, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.aiMesh, ptr %376, i32 0, i32 14
  %378 = getelementptr inbounds %struct.aiString, ptr %377, i32 0, i32 1
  %379 = getelementptr inbounds [1024 x i8], ptr %378, i64 0, i64 0
  br label %381

380:                                              ; preds = %369
  br label %381

381:                                              ; preds = %380, %375
  %382 = phi ptr [ %379, %375 ], [ @.str.8, %380 ]
  store ptr %382, ptr %41, align 8, !tbaa !5
  %383 = load ptr, ptr %6, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.aiMesh, ptr %383, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  %385 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  store i64 %385, ptr %42, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %386 = load ptr, ptr %6, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.aiMesh, ptr %386, i32 0, i32 1
  %388 = load i32, ptr %387, align 4, !tbaa !11
  %389 = zext i32 %388 to i64
  %390 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  %391 = sub i64 %389, %390
  %392 = uitofp i64 %391 to float
  %393 = load ptr, ptr %6, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.aiMesh, ptr %393, i32 0, i32 1
  %395 = load i32, ptr %394, align 4, !tbaa !11
  %396 = uitofp i32 %395 to float
  %397 = fdiv float %392, %396
  %398 = fmul float %397, 1.000000e+02
  store float %398, ptr %43, align 4, !tbaa !43
  invoke void @_ZN6Assimp6Logger12verboseDebugIJRA6_KcRjRA3_S2_PS2_RA15_S2_S5_RA7_S2_mRA5_S2_fRA2_S2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %368, ptr noundef nonnull align 1 dereferenceable(6) @.str.6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(3) @.str.7, ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 1 dereferenceable(15) @.str.9, ptr noundef nonnull align 4 dereferenceable(4) %384, ptr noundef nonnull align 1 dereferenceable(7) @.str.3, ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 1 dereferenceable(5) @.str.4, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 1 dereferenceable(2) @.str.10)
          to label %399 unwind label %404

399:                                              ; preds = %381
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  br label %408

400:                                              ; preds = %408, %367, %363, %361, %358
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %9, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %10, align 4
  br label %621

404:                                              ; preds = %381
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %9, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  br label %621

408:                                              ; preds = %399, %365, %360
  %409 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_119updateXMeshVerticesI6aiMeshEEvPT_RSt6vectorIiSaIiEE(ptr noundef %409, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %410 unwind label %400

410:                                              ; preds = %408
  %411 = load i8, ptr %25, align 1, !tbaa !30, !range !32, !noundef !33
  %412 = trunc i8 %411 to i1
  br i1 %412, label %413, label %441

413:                                              ; preds = %410
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #10
  store i32 0, ptr %44, align 4, !tbaa !9
  br label %414

414:                                              ; preds = %433, %413
  %415 = load i32, ptr %44, align 4, !tbaa !9
  %416 = load ptr, ptr %6, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.aiMesh, ptr %416, i32 0, i32 15
  %418 = load i32, ptr %417, align 8, !tbaa !29
  %419 = icmp ult i32 %415, %418
  br i1 %419, label %421, label %420

420:                                              ; preds = %414
  store i32 17, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #10
  br label %440

421:                                              ; preds = %414
  %422 = load ptr, ptr %6, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.aiMesh, ptr %422, i32 0, i32 16
  %424 = load ptr, ptr %423, align 8, !tbaa !44
  %425 = load i32, ptr %44, align 4, !tbaa !9
  %426 = zext i32 %425 to i64
  %427 = getelementptr inbounds ptr, ptr %424, i64 %426
  %428 = load ptr, ptr %427, align 8, !tbaa !5
  %429 = load i32, ptr %44, align 4, !tbaa !9
  %430 = zext i32 %429 to i64
  %431 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %430) #10
  invoke void @_ZN12_GLOBAL__N_119updateXMeshVerticesI10aiAnimMeshEEvPT_RSt6vectorIiSaIiEE(ptr noundef %428, ptr noundef nonnull align 8 dereferenceable(24) %431)
          to label %432 unwind label %436

432:                                              ; preds = %421
  br label %433

433:                                              ; preds = %432
  %434 = load i32, ptr %44, align 4, !tbaa !9
  %435 = add i32 %434, 1
  store i32 %435, ptr %44, align 4, !tbaa !9
  br label %414, !llvm.loop !45

436:                                              ; preds = %421
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %9, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #10
  br label %621

440:                                              ; preds = %420
  br label %441

441:                                              ; preds = %440, %410
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #10
  store i32 0, ptr %45, align 4, !tbaa !9
  br label %442

442:                                              ; preds = %487, %441
  %443 = load i32, ptr %45, align 4, !tbaa !9
  %444 = load ptr, ptr %6, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.aiMesh, ptr %444, i32 0, i32 2
  %446 = load i32, ptr %445, align 8, !tbaa !18
  %447 = icmp ult i32 %443, %446
  br i1 %447, label %449, label %448

448:                                              ; preds = %442
  store i32 20, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #10
  br label %490

449:                                              ; preds = %442
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %450 = load ptr, ptr %6, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.aiMesh, ptr %450, i32 0, i32 10
  %452 = load ptr, ptr %451, align 8, !tbaa !19
  %453 = load i32, ptr %45, align 4, !tbaa !9
  %454 = zext i32 %453 to i64
  %455 = getelementptr inbounds %struct.aiFace, ptr %452, i64 %454
  store ptr %455, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #10
  store i32 0, ptr %47, align 4, !tbaa !9
  br label %456

456:                                              ; preds = %483, %449
  %457 = load i32, ptr %47, align 4, !tbaa !9
  %458 = load ptr, ptr %46, align 8, !tbaa !5
  %459 = getelementptr inbounds %struct.aiFace, ptr %458, i32 0, i32 0
  %460 = load i32, ptr %459, align 8, !tbaa !20
  %461 = icmp ult i32 %457, %460
  br i1 %461, label %463, label %462

462:                                              ; preds = %456
  store i32 23, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #10
  br label %486

463:                                              ; preds = %456
  %464 = load ptr, ptr %46, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.aiFace, ptr %464, i32 0, i32 1
  %466 = load ptr, ptr %465, align 8, !tbaa !22
  %467 = load i32, ptr %47, align 4, !tbaa !9
  %468 = zext i32 %467 to i64
  %469 = getelementptr inbounds i32, ptr %466, i64 %468
  %470 = load i32, ptr %469, align 4, !tbaa !9
  %471 = zext i32 %470 to i64
  %472 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %471) #10
  %473 = load i32, ptr %472, align 4, !tbaa !9
  %474 = zext i32 %473 to i64
  %475 = and i64 %474, -2147483649
  %476 = trunc i64 %475 to i32
  %477 = load ptr, ptr %46, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.aiFace, ptr %477, i32 0, i32 1
  %479 = load ptr, ptr %478, align 8, !tbaa !22
  %480 = load i32, ptr %47, align 4, !tbaa !9
  %481 = zext i32 %480 to i64
  %482 = getelementptr inbounds i32, ptr %479, i64 %481
  store i32 %476, ptr %482, align 4, !tbaa !9
  br label %483

483:                                              ; preds = %463
  %484 = load i32, ptr %47, align 4, !tbaa !9
  %485 = add i32 %484, 1
  store i32 %485, ptr %47, align 4, !tbaa !9
  br label %456, !llvm.loop !46

486:                                              ; preds = %462
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  br label %487

487:                                              ; preds = %486
  %488 = load i32, ptr %45, align 4, !tbaa !9
  %489 = add i32 %488, 1
  store i32 %489, ptr %45, align 4, !tbaa !9
  br label %442, !llvm.loop !47

490:                                              ; preds = %448
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #10
  store i32 0, ptr %48, align 4, !tbaa !9
  br label %491

491:                                              ; preds = %613, %490
  %492 = load i32, ptr %48, align 4, !tbaa !9
  %493 = load ptr, ptr %6, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.aiMesh, ptr %493, i32 0, i32 11
  %495 = load i32, ptr %494, align 8, !tbaa !48
  %496 = icmp slt i32 %492, %495
  br i1 %496, label %498, label %497

497:                                              ; preds = %491
  store i32 26, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #10
  br label %617

498:                                              ; preds = %491
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #10
  %499 = load ptr, ptr %6, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.aiMesh, ptr %499, i32 0, i32 12
  %501 = load ptr, ptr %500, align 8, !tbaa !49
  %502 = load i32, ptr %48, align 4, !tbaa !9
  %503 = sext i32 %502 to i64
  %504 = getelementptr inbounds ptr, ptr %501, i64 %503
  %505 = load ptr, ptr %504, align 8, !tbaa !5
  store ptr %505, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #10
  call void @_ZNSt6vectorI14aiVertexWeightSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #10
  %506 = load ptr, ptr %49, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct.aiBone, ptr %506, i32 0, i32 1
  %508 = load i32, ptr %507, align 4, !tbaa !50
  %509 = zext i32 %508 to i64
  invoke void @_ZNSt6vectorI14aiVertexWeightSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %509)
          to label %510 unwind label %523

510:                                              ; preds = %498
  %511 = load ptr, ptr %49, align 8, !tbaa !5
  %512 = getelementptr inbounds %struct.aiBone, ptr %511, i32 0, i32 4
  %513 = load ptr, ptr %512, align 8, !tbaa !53
  %514 = icmp ne ptr null, %513
  br i1 %514, label %515, label %565

515:                                              ; preds = %510
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #10
  store i32 0, ptr %51, align 4, !tbaa !9
  br label %516

516:                                              ; preds = %561, %515
  %517 = load i32, ptr %51, align 4, !tbaa !9
  %518 = load ptr, ptr %49, align 8, !tbaa !5
  %519 = getelementptr inbounds %struct.aiBone, ptr %518, i32 0, i32 1
  %520 = load i32, ptr %519, align 4, !tbaa !50
  %521 = icmp ult i32 %517, %520
  br i1 %521, label %527, label %522

522:                                              ; preds = %516
  store i32 29, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #10
  br label %564

523:                                              ; preds = %578, %567, %565, %498
  %524 = landingpad { ptr, i32 }
          cleanup
  %525 = extractvalue { ptr, i32 } %524, 0
  store ptr %525, ptr %9, align 8
  %526 = extractvalue { ptr, i32 } %524, 1
  store i32 %526, ptr %10, align 4
  br label %616

527:                                              ; preds = %516
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  %528 = load ptr, ptr %49, align 8, !tbaa !5
  %529 = getelementptr inbounds %struct.aiBone, ptr %528, i32 0, i32 4
  %530 = load ptr, ptr %529, align 8, !tbaa !53
  %531 = load i32, ptr %51, align 4, !tbaa !9
  %532 = zext i32 %531 to i64
  %533 = getelementptr inbounds %struct.aiVertexWeight, ptr %530, i64 %532
  store ptr %533, ptr %52, align 8, !tbaa !5
  %534 = load ptr, ptr %52, align 8, !tbaa !5
  %535 = getelementptr inbounds %struct.aiVertexWeight, ptr %534, i32 0, i32 0
  %536 = load i32, ptr %535, align 4, !tbaa !54
  %537 = zext i32 %536 to i64
  %538 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %537) #10
  %539 = load i32, ptr %538, align 4, !tbaa !9
  %540 = zext i32 %539 to i64
  %541 = and i64 %540, 2147483648
  %542 = icmp ne i64 %541, 0
  br i1 %542, label %560, label %543

543:                                              ; preds = %527
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #10
  call void @_ZN14aiVertexWeightC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %53) #10
  %544 = load ptr, ptr %52, align 8, !tbaa !5
  %545 = getelementptr inbounds %struct.aiVertexWeight, ptr %544, i32 0, i32 0
  %546 = load i32, ptr %545, align 4, !tbaa !54
  %547 = zext i32 %546 to i64
  %548 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %547) #10
  %549 = load i32, ptr %548, align 4, !tbaa !9
  %550 = getelementptr inbounds %struct.aiVertexWeight, ptr %53, i32 0, i32 0
  store i32 %549, ptr %550, align 4, !tbaa !54
  %551 = load ptr, ptr %52, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.aiVertexWeight, ptr %551, i32 0, i32 1
  %553 = load float, ptr %552, align 4, !tbaa !56
  %554 = getelementptr inbounds %struct.aiVertexWeight, ptr %53, i32 0, i32 1
  store float %553, ptr %554, align 4, !tbaa !56
  invoke void @_ZNSt6vectorI14aiVertexWeightSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 4 dereferenceable(8) %53)
          to label %555 unwind label %556

555:                                              ; preds = %543
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #10
  br label %560

556:                                              ; preds = %543
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %9, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #10
  br label %616

560:                                              ; preds = %555, %527
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  br label %561

561:                                              ; preds = %560
  %562 = load i32, ptr %51, align 4, !tbaa !9
  %563 = add i32 %562, 1
  store i32 %563, ptr %51, align 4, !tbaa !9
  br label %516, !llvm.loop !57

564:                                              ; preds = %522
  br label %569

565:                                              ; preds = %510
  %566 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %567 unwind label %523

567:                                              ; preds = %565
  invoke void @_ZN6Assimp6Logger5errorEPKc(ptr noundef nonnull align 8 dereferenceable(12) %566, ptr noundef @.str.11)
          to label %568 unwind label %523

568:                                              ; preds = %567
  br label %569

569:                                              ; preds = %568, %564
  %570 = call noundef i64 @_ZNKSt6vectorI14aiVertexWeightSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #10
  %571 = icmp ugt i64 %570, 0
  br i1 %571, label %572, label %612

572:                                              ; preds = %569
  %573 = load ptr, ptr %49, align 8, !tbaa !5
  %574 = getelementptr inbounds %struct.aiBone, ptr %573, i32 0, i32 4
  %575 = load ptr, ptr %574, align 8, !tbaa !53
  %576 = icmp eq ptr %575, null
  br i1 %576, label %578, label %577

577:                                              ; preds = %572
  call void @_ZdaPv(ptr noundef %575) #11
  br label %578

578:                                              ; preds = %577, %572
  %579 = call noundef i64 @_ZNKSt6vectorI14aiVertexWeightSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #10
  %580 = trunc i64 %579 to i32
  %581 = load ptr, ptr %49, align 8, !tbaa !5
  %582 = getelementptr inbounds %struct.aiBone, ptr %581, i32 0, i32 1
  store i32 %580, ptr %582, align 4, !tbaa !50
  %583 = load ptr, ptr %49, align 8, !tbaa !5
  %584 = getelementptr inbounds %struct.aiBone, ptr %583, i32 0, i32 1
  %585 = load i32, ptr %584, align 4, !tbaa !50
  %586 = zext i32 %585 to i64
  %587 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %586, i64 8)
  %588 = extractvalue { i64, i1 } %587, 1
  %589 = extractvalue { i64, i1 } %587, 0
  %590 = select i1 %588, i64 -1, i64 %589
  %591 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %590) #12
          to label %592 unwind label %523

592:                                              ; preds = %578
  %593 = icmp eq i64 %586, 0
  br i1 %593, label %600, label %594

594:                                              ; preds = %592
  %595 = getelementptr inbounds %struct.aiVertexWeight, ptr %591, i64 %586
  br label %596

596:                                              ; preds = %596, %594
  %597 = phi ptr [ %591, %594 ], [ %598, %596 ]
  call void @_ZN14aiVertexWeightC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %597) #10
  %598 = getelementptr inbounds %struct.aiVertexWeight, ptr %597, i64 1
  %599 = icmp eq ptr %598, %595
  br i1 %599, label %600, label %596

600:                                              ; preds = %596, %592
  %601 = load ptr, ptr %49, align 8, !tbaa !5
  %602 = getelementptr inbounds %struct.aiBone, ptr %601, i32 0, i32 4
  store ptr %591, ptr %602, align 8, !tbaa !53
  %603 = load ptr, ptr %49, align 8, !tbaa !5
  %604 = getelementptr inbounds %struct.aiBone, ptr %603, i32 0, i32 4
  %605 = load ptr, ptr %604, align 8, !tbaa !53
  %606 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI14aiVertexWeightSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef 0) #10
  %607 = load ptr, ptr %49, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.aiBone, ptr %607, i32 0, i32 1
  %609 = load i32, ptr %608, align 4, !tbaa !50
  %610 = zext i32 %609 to i64
  %611 = mul i64 %610, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %605, ptr align 4 %606, i64 %611, i1 false)
  br label %612

612:                                              ; preds = %600, %569
  call void @_ZNSt6vectorI14aiVertexWeightSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  br label %613

613:                                              ; preds = %612
  %614 = load i32, ptr %48, align 4, !tbaa !9
  %615 = add nsw i32 %614, 1
  store i32 %615, ptr %48, align 4, !tbaa !9
  br label %491, !llvm.loop !58

616:                                              ; preds = %556, %523
  call void @_ZNSt6vectorI14aiVertexWeightSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #10
  br label %621

617:                                              ; preds = %497
  %618 = load ptr, ptr %6, align 8, !tbaa !5
  %619 = getelementptr inbounds %struct.aiMesh, ptr %618, i32 0, i32 1
  %620 = load i32, ptr %619, align 4, !tbaa !11
  store i32 %620, ptr %4, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %31) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #10
  call void @_ZN6Assimp11SpatialSortD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %21) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #10
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #10
  br label %632

621:                                              ; preds = %616, %436, %404, %400, %357
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  br label %622

622:                                              ; preds = %621, %261
  call void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %31) #10
  br label %623

623:                                              ; preds = %622, %257
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #10
  br label %624

624:                                              ; preds = %623, %253
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  br label %625

625:                                              ; preds = %624, %222, %206
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #10
  br label %626

626:                                              ; preds = %625, %202
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #10
  br label %627

627:                                              ; preds = %626, %176, %160
  call void @_ZN6Assimp11SpatialSortD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %21) #10
  br label %628

628:                                              ; preds = %627, %156
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  br label %629

629:                                              ; preds = %628, %152
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  br label %630

630:                                              ; preds = %629, %148
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #10
  br label %631

631:                                              ; preds = %630, %111, %74
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #10
  br label %634

632:                                              ; preds = %617, %60
  %633 = load i32, ptr %4, align 4
  ret i32 %633

634:                                              ; preds = %631
  %635 = load ptr, ptr %9, align 8
  %636 = load i32, ptr %10, align 4
  %637 = insertvalue { ptr, i32 } poison, ptr %635, 0
  %638 = insertvalue { ptr, i32 } %637, i32 %636, 1
  resume { ptr, i32 } %638
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEE6resizeEmb(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i1 noundef zeroext) #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2 align 2

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

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

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

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

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

declare void @_ZN6Assimp11SpatialSortC1Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorISt4pairIN6Assimp11SpatialSortEfESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

declare void @_ZN6Assimp11SpatialSort4FillEPK10aiVector3tIfEjjb(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext) #0

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8equal_toIN6Assimp6VertexEEC2Ejj(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEEC2EmRKS3_RKS5_RKS9_(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6VertexC2EPK6aiMeshj(ptr noundef nonnull align 4 dereferenceable(272), ptr noundef, i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(272)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(272)) #2 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6Assimp6Logger14getLogSeverityEv(ptr noundef nonnull align 8 dereferenceable(12)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger12verboseDebugIJRA6_KcRjRA3_S2_PS2_RA15_S2_S5_RA7_S2_mRA5_S2_fRA2_S2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(6), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(3), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(15), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(7), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(2)) #2 align 2

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

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

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

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

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

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

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

declare void @_ZN6Assimp6Logger5errorEPKc(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) #0

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Assimp11SpatialSortD2Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #3 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"_ZTS6aiMesh", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !7, i64 48, !7, i64 112, !7, i64 176, !6, i64 208, !10, i64 216, !6, i64 224, !10, i64 232, !13, i64 236, !10, i64 1264, !6, i64 1272, !14, i64 1280, !15, i64 1284, !6, i64 1312}
!13 = !{!"_ZTS8aiString", !10, i64 0, !7, i64 4}
!14 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!15 = !{!"_ZTS6aiAABB", !16, i64 0, !16, i64 12}
!16 = !{!"_ZTS10aiVector3tIfE", !17, i64 0, !17, i64 4, !17, i64 8}
!17 = !{!"float", !7, i64 0}
!18 = !{!12, !10, i64 8}
!19 = !{!12, !6, i64 208}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTS6aiFace", !10, i64 0, !6, i64 8}
!22 = !{!21, !6, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!27, !6, i64 8}
!27 = !{!"_ZTSN6Assimp11BaseProcessE", !6, i64 8, !6, i64 16}
!28 = !{!12, !6, i64 16}
!29 = !{!12, !10, i64 1264}
!30 = !{!31, !31, i64 0}
!31 = !{!"bool", !7, i64 0}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = distinct !{!34, !24}
!35 = distinct !{!35, !24}
!36 = !{!37, !10, i64 272}
!37 = !{!"_ZTSSt4pairIKN6Assimp6VertexEiE", !38, i64 0, !10, i64 272}
!38 = !{!"_ZTSN6Assimp6VertexE", !16, i64 0, !16, i64 12, !16, i64 24, !16, i64 36, !7, i64 48, !7, i64 144}
!39 = distinct !{!39, !24}
!40 = !{!12, !10, i64 236}
!41 = !{!42, !42, i64 0}
!42 = !{!"long", !7, i64 0}
!43 = !{!17, !17, i64 0}
!44 = !{!12, !6, i64 1272}
!45 = distinct !{!45, !24}
!46 = distinct !{!46, !24}
!47 = distinct !{!47, !24}
!48 = !{!12, !10, i64 216}
!49 = !{!12, !6, i64 224}
!50 = !{!51, !10, i64 1028}
!51 = !{!"_ZTS6aiBone", !13, i64 0, !10, i64 1028, !6, i64 1032, !6, i64 1040, !6, i64 1048, !52, i64 1056}
!52 = !{!"_ZTS12aiMatrix4x4tIfE", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60}
!53 = !{!51, !6, i64 1048}
!54 = !{!55, !10, i64 0}
!55 = !{!"_ZTS14aiVertexWeight", !10, i64 0, !17, i64 4}
!56 = !{!55, !17, i64 4}
!57 = distinct !{!57, !24}
!58 = distinct !{!58, !24}


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

%"class.std::vector" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = 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 }
%"class.std::allocator.6" = type { i8 }
%"class.Assimp::SpatialSort" = type <{ %class.aiVector3t, %class.aiVector3t, %"class.std::vector.9", i8, [7 x i8] }>
%class.aiVector3t = type { float, float, float }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<Assimp::SpatialSort::Entry, std::allocator<Assimp::SpatialSort::Entry>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::SpatialSort::Entry, std::allocator<Assimp::SpatialSort::Entry>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::SpatialSort::Entry, std::allocator<Assimp::SpatialSort::Entry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::SpatialSort::Entry, std::allocator<Assimp::SpatialSort::Entry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::hash" = type { i8 }
%"struct.std::equal_to" = type { i32, i32 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { %"struct.std::__detail::_Hashtable_base", ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hashtable_base" = type { %"struct.std::__detail::_Hashtable_ebo_helper.27" }
%"struct.std::__detail::_Hashtable_ebo_helper.27" = type { %"struct.std::equal_to" }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::allocator.32" = type { i8 }
%"struct.Assimp::Vertex" = type { %class.aiVector3t, %class.aiVector3t, %class.aiVector3t, %class.aiVector3t, [8 x %class.aiVector3t], [8 x %class.aiColor4t] }
%class.aiColor4t = type { float, float, float, float }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<aiVertexWeight, std::allocator<aiVertexWeight>>::_Vector_impl" }
%"struct.std::_Vector_base<aiVertexWeight, std::allocator<aiVertexWeight>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiVertexWeight, std::allocator<aiVertexWeight>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiVertexWeight, std::allocator<aiVertexWeight>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.aiVertexWeight = type { i32, float }
%struct.aiFace = type { i32, ptr }

@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [72 x i8], align 1

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() local_unnamed_addr #0

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

declare noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv() local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6Assimp19JoinVerticesProcess11ProcessMeshEP6aiMeshj(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i32 noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"struct.std::_Bit_reference", align 8
  %7 = alloca %"class.std::vector.0", align 8
  %8 = alloca %"class.std::vector.4", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::allocator.6", align 1
  %11 = alloca %"class.Assimp::SpatialSort", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.std::vector.4", align 8
  %14 = alloca %"class.std::vector.22", align 8
  %15 = alloca %"struct.std::hash", align 1
  %16 = alloca %"struct.std::equal_to", align 4
  %17 = alloca %"class.std::unordered_map", align 8
  %18 = alloca %"class.std::allocator.32", align 1
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::_Bit_reference", align 8
  %21 = alloca %"struct.Assimp::Vertex", align 4
  %22 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %23 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca i64, align 8
  %27 = alloca float, align 4
  %28 = alloca %"class.std::vector.37", align 8
  %29 = alloca %struct.aiVertexWeight, align 4
  store i32 %2, ptr %4, align 4, !tbaa !5
  %30 = tail call noundef zeroext i1 @_ZNK6aiMesh12HasPositionsEv(ptr noundef nonnull align 8 dereferenceable(1320) %1)
  br i1 %30, label %31, label %335

31:                                               ; preds = %3
  %32 = tail call noundef zeroext i1 @_ZNK6aiMesh8HasFacesEv(ptr noundef nonnull align 8 dereferenceable(1320) %1)
  br i1 %32, label %33, label %335

33:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #8
  call void @_ZNSt6vectorIbSaIbEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #8
  %34 = getelementptr inbounds i8, ptr %1, i64 4
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  invoke void @_ZNSt6vectorIbSaIbEE6resizeEmb(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %36, i1 noundef zeroext false)
          to label %.preheader160 unwind label %43

.preheader160:                                    ; preds = %33
  %37 = getelementptr inbounds i8, ptr %1, i64 8
  %38 = load i32, ptr %37, align 8, !tbaa !17
  %.not189 = icmp eq i32 %38, 0
  br i1 %.not189, label %._crit_edge165, label %.lr.ph164

.lr.ph164:                                        ; preds = %.preheader160
  %39 = getelementptr inbounds i8, ptr %1, i64 208
  %40 = getelementptr inbounds i8, ptr %6, i64 8
  br label %45

._crit_edge165:                                   ; preds = %._crit_edge, %.preheader160
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %41 = load i32, ptr %34, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  invoke void @_ZNSt6vectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %42)
          to label %69 unwind label %80

43:                                               ; preds = %33
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %334

45:                                               ; preds = %.lr.ph164, %._crit_edge
  %46 = phi i32 [ %38, %.lr.ph164 ], [ %51, %._crit_edge ]
  %indvars.iv199 = phi i64 [ 0, %.lr.ph164 ], [ %indvars.iv.next200, %._crit_edge ]
  %47 = load ptr, ptr %39, align 8, !tbaa !18
  %48 = getelementptr inbounds %struct.aiFace, ptr %47, i64 %indvars.iv199
  %49 = load i32, ptr %48, align 8, !tbaa !19
  %.not190 = icmp eq i32 %49, 0
  br i1 %.not190, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %45
  %50 = getelementptr inbounds i8, ptr %48, i64 8
  br label %54

._crit_edge.loopexit:                             ; preds = %60
  %.pre = load i32, ptr %37, align 8, !tbaa !17
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %45
  %51 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %46, %45 ]
  %indvars.iv.next200 = add nuw nsw i64 %indvars.iv199, 1
  %52 = zext i32 %51 to i64
  %53 = icmp ult i64 %indvars.iv.next200, %52
  br i1 %53, label %45, label %._crit_edge165, !llvm.loop !21

54:                                               ; preds = %.lr.ph, %60
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %60 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  %55 = load ptr, ptr %50, align 8, !tbaa !23
  %56 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = zext i32 %57 to i64
  %59 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %58)
          to label %60 unwind label %67

60:                                               ; preds = %54
  %61 = extractvalue { ptr, i64 } %59, 0
  store ptr %61, ptr %6, align 8
  %62 = extractvalue { ptr, i64 } %59, 1
  store i64 %62, ptr %40, align 8
  %63 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %6, i1 noundef zeroext true) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %64 = load i32, ptr %48, align 8, !tbaa !19
  %65 = zext i32 %64 to i64
  %66 = icmp ult i64 %indvars.iv.next, %65
  br i1 %66, label %54, label %._crit_edge.loopexit, !llvm.loop !24

67:                                               ; preds = %54
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %334

69:                                               ; preds = %._crit_edge165
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #8
  %70 = load i32, ptr %34, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  store i32 -1, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %71, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %72 unwind label %82

72:                                               ; preds = %69
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %11) #8
  invoke void @_ZN6Assimp11SpatialSortC1Ev(ptr noundef nonnull align 8 dereferenceable(49) %11)
          to label %73 unwind label %84

73:                                               ; preds = %72
  %74 = getelementptr inbounds i8, ptr %0, i64 8
  %75 = load ptr, ptr %74, align 8, !tbaa !25
  %.not = icmp eq ptr %75, null
  br i1 %.not, label %.thread, label %76

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %77 = invoke noundef zeroext i1 @_ZNK6Assimp21SharedPostProcessInfo11GetPropertyISt6vectorISt4pairINS_11SpatialSortEfESaIS5_EEEEbPKcRPT_(ptr noundef nonnull align 8 dereferenceable(48) %75, ptr noundef nonnull @.str.5, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %78 unwind label %86

78:                                               ; preds = %76
  %79 = load ptr, ptr %12, align 8, !tbaa !27
  %.not123 = icmp eq ptr %79, null
  br i1 %.not123, label %.thread149, label %88

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

80:                                               ; preds = %._crit_edge165
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %333

82:                                               ; preds = %69
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  br label %332

84:                                               ; preds = %72
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %331

86:                                               ; preds = %76
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %330

88:                                               ; preds = %78
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = zext i32 %89 to i64
  %91 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorISt4pairIN6Assimp11SpatialSortEfESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %90) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %97

.thread:                                          ; preds = %73, %.thread149
  %92 = getelementptr inbounds i8, ptr %1, i64 16
  %93 = load ptr, ptr %92, align 8, !tbaa !28
  %94 = load i32, ptr %34, align 4, !tbaa !9
  invoke void @_ZN6Assimp11SpatialSort4FillEPK10aiVector3tIfEjjb(ptr noundef nonnull align 8 dereferenceable(49) %11, ptr noundef %93, i32 noundef %94, i32 noundef 12, i1 noundef zeroext true)
          to label %97 unwind label %95

95:                                               ; preds = %.thread
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %330

97:                                               ; preds = %88, %.thread
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #8
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  invoke void @_ZNSt6vectorIjSaIjEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 10)
          to label %98 unwind label %105

98:                                               ; preds = %97
  %99 = getelementptr inbounds i8, ptr %1, i64 1264
  %100 = load i32, ptr %99, align 8, !tbaa !29
  %.not125 = icmp eq i32 %100, 0
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  br i1 %.not125, label %.loopexit159, label %101

101:                                              ; preds = %98
  %102 = load i32, ptr %99, align 8, !tbaa !29
  %103 = zext i32 %102 to i64
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %103)
          to label %.preheader158 unwind label %107

.preheader158:                                    ; preds = %101
  %104 = load i32, ptr %99, align 8, !tbaa !29
  %.not191 = icmp eq i32 %104, 0
  br i1 %.not191, label %.loopexit159, label %.lr.ph167

105:                                              ; preds = %97
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %329

107:                                              ; preds = %101
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %328

.lr.ph167:                                        ; preds = %.preheader158, %112
  %indvars.iv202 = phi i64 [ %indvars.iv.next203, %112 ], [ 0, %.preheader158 ]
  %109 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv202) #8
  %110 = load i32, ptr %34, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  invoke void @_ZNSt6vectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %111)
          to label %112 unwind label %116

112:                                              ; preds = %.lr.ph167
  %indvars.iv.next203 = add nuw nsw i64 %indvars.iv202, 1
  %113 = load i32, ptr %99, align 8, !tbaa !29
  %114 = zext i32 %113 to i64
  %115 = icmp ult i64 %indvars.iv.next203, %114
  br i1 %115, label %.lr.ph167, label %.loopexit159, !llvm.loop !30

116:                                              ; preds = %.lr.ph167
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %328

.loopexit159:                                     ; preds = %112, %.preheader158, %98
  %118 = load i32, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #8
  store i8 0, ptr %15, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %119 = call noundef i32 @_ZNK6aiMesh16GetNumUVChannelsEv(ptr noundef nonnull align 8 dereferenceable(1320) %1)
  %120 = call noundef i32 @_ZNK6aiMesh19GetNumColorChannelsEv(ptr noundef nonnull align 8 dereferenceable(1320) %1)
  call void @_ZNSt8equal_toIN6Assimp6VertexEEC2Ejj(ptr noundef nonnull align 4 dereferenceable(8) %16, i32 noundef %119, i32 noundef %120)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #8
  %121 = zext i32 %118 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #8
  call void @_ZNSaISt4pairIKN6Assimp6VertexEiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  invoke void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEEC2EmRKS3_RKS5_RKS9_(ptr noundef nonnull align 8 dereferenceable(64) %17, i64 noundef %121, ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %122 unwind label %129

122:                                              ; preds = %.loopexit159
  call void @_ZNSt15__new_allocatorISt4pairIKN6Assimp6VertexEiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  %123 = load i32, ptr %34, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  invoke void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(64) %17, i64 noundef %124)
          to label %125 unwind label %131

125:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #8
  store i32 0, ptr %19, align 4, !tbaa !5
  %126 = load i32, ptr %34, align 4, !tbaa !9
  %.not192 = icmp eq i32 %126, 0
  br i1 %.not192, label %._crit_edge174, label %.lr.ph173

.lr.ph173:                                        ; preds = %125
  %127 = getelementptr inbounds i8, ptr %20, i64 8
  br label %133

._crit_edge174:                                   ; preds = %181, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  %128 = invoke noundef zeroext i1 @_ZN6Assimp13DefaultLogger12isNullLoggerEv()
          to label %189 unwind label %213

129:                                              ; preds = %.loopexit159
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIKN6Assimp6VertexEiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  br label %327

131:                                              ; preds = %122
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %326

133:                                              ; preds = %.lr.ph173, %181
  %.0112171 = phi i32 [ 0, %.lr.ph173 ], [ %.2114, %181 ]
  %storemerge170 = phi i32 [ 0, %.lr.ph173 ], [ %183, %181 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #8
  %134 = zext i32 %storemerge170 to i64
  %135 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %134)
          to label %136 unwind label %140

136:                                              ; preds = %133
  %137 = extractvalue { ptr, i64 } %135, 0
  store ptr %137, ptr %20, align 8
  %138 = extractvalue { ptr, i64 } %135, 1
  store i64 %138, ptr %127, align 8
  %139 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #8
  br i1 %139, label %142, label %181

140:                                              ; preds = %133
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #8
  br label %188

142:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 272, ptr nonnull %21) #8
  %143 = load i32, ptr %19, align 4, !tbaa !5
  invoke void @_ZN6Assimp6VertexC2EPK6aiMeshj(ptr noundef nonnull align 4 dereferenceable(272) %21, ptr noundef nonnull %1, i32 noundef %143)
          to label %144 unwind label %159

144:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  %145 = invoke ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 4 dereferenceable(272) %21)
          to label %146 unwind label %161

146:                                              ; preds = %144
  store ptr %145, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %147 = call ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(64) %17) #8
  store ptr %147, ptr %23, align 8
  %148 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKN6Assimp6VertexEiELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  br i1 %148, label %149, label %173

149:                                              ; preds = %146
  %150 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 4 dereferenceable(272) %21)
          to label %151 unwind label %161

151:                                              ; preds = %149
  store i32 %.0112171, ptr %150, align 4, !tbaa !5
  %152 = add nsw i32 %.0112171, 1
  %153 = load i32, ptr %19, align 4, !tbaa !5
  %154 = zext i32 %153 to i64
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %154) #8
  store i32 %.0112171, ptr %155, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #8
  %156 = load i32, ptr %19, align 4, !tbaa !5
  store i32 %156, ptr %24, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %157 unwind label %163

157:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  br i1 %.not125, label %.loopexit157, label %.preheader156

.preheader156:                                    ; preds = %157
  %158 = load i32, ptr %99, align 8, !tbaa !29
  %.not193 = icmp eq i32 %158, 0
  br i1 %.not193, label %.loopexit157, label %.lr.ph169

159:                                              ; preds = %142
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %187

161:                                              ; preds = %149, %144
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %186

163:                                              ; preds = %151
  %164 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  br label %186

.lr.ph169:                                        ; preds = %.preheader156, %167
  %indvars.iv205 = phi i64 [ %indvars.iv.next206, %167 ], [ 0, %.preheader156 ]
  %165 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv205) #8
  %166 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE12emplace_backIJRjEEERiDpOT_(ptr noundef nonnull align 8 dereferenceable(24) %165, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %167 unwind label %171

167:                                              ; preds = %.lr.ph169
  %indvars.iv.next206 = add nuw nsw i64 %indvars.iv205, 1
  %168 = load i32, ptr %99, align 8, !tbaa !29
  %169 = zext i32 %168 to i64
  %170 = icmp ult i64 %indvars.iv.next206, %169
  br i1 %170, label %.lr.ph169, label %.loopexit157, !llvm.loop !31

171:                                              ; preds = %.lr.ph169
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %186

173:                                              ; preds = %146
  %174 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN6Assimp6VertexEiELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  %175 = getelementptr inbounds i8, ptr %174, i64 272
  %176 = load i32, ptr %175, align 4, !tbaa !32
  %177 = or i32 %176, -2147483648
  %178 = load i32, ptr %19, align 4, !tbaa !5
  %179 = zext i32 %178 to i64
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %179) #8
  store i32 %177, ptr %180, align 4, !tbaa !5
  br label %.loopexit157

.loopexit157:                                     ; preds = %167, %.preheader156, %157, %173
  %.1113 = phi i32 [ %152, %157 ], [ %.0112171, %173 ], [ %152, %.preheader156 ], [ %152, %167 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %21) #8
  br label %181

181:                                              ; preds = %136, %.loopexit157
  %.2114 = phi i32 [ %.0112171, %136 ], [ %.1113, %.loopexit157 ]
  %182 = load i32, ptr %19, align 4, !tbaa !5
  %183 = add i32 %182, 1
  store i32 %183, ptr %19, align 4, !tbaa !5
  %184 = load i32, ptr %34, align 4, !tbaa !9
  %185 = icmp ult i32 %183, %184
  br i1 %185, label %133, label %._crit_edge174, !llvm.loop !35

186:                                              ; preds = %171, %163, %161
  %.pn131 = phi { ptr, i32 } [ %172, %171 ], [ %164, %163 ], [ %162, %161 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %187

187:                                              ; preds = %186, %159
  %.pn131.pn = phi { ptr, i32 } [ %.pn131, %186 ], [ %160, %159 ]
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %21) #8
  br label %188

188:                                              ; preds = %187, %140
  %.pn131.pn.pn = phi { ptr, i32 } [ %.pn131.pn, %187 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  br label %326

189:                                              ; preds = %._crit_edge174
  br i1 %128, label %217, label %190

190:                                              ; preds = %189
  %191 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %192 unwind label %213

192:                                              ; preds = %190
  %193 = call noundef i32 @_ZNK6Assimp6Logger14getLogSeverityEv(ptr noundef nonnull align 8 dereferenceable(12) %191)
  %194 = icmp eq i32 %193, 2
  br i1 %194, label %195, label %217

195:                                              ; preds = %192
  %196 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %197 unwind label %213

197:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  %198 = getelementptr inbounds i8, ptr %1, i64 236
  %199 = load i32, ptr %198, align 4, !tbaa !36
  %.not126 = icmp eq i32 %199, 0
  %200 = getelementptr inbounds i8, ptr %1, i64 240
  %201 = select i1 %.not126, ptr @.str.8, ptr %200
  store ptr %201, ptr %25, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  %202 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  store i64 %202, ptr %26, align 8, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #8
  %203 = load i32, ptr %34, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %206 = sub i64 %204, %205
  %207 = uitofp i64 %206 to float
  %208 = load i32, ptr %34, align 4, !tbaa !9
  %209 = uitofp i32 %208 to float
  %210 = fdiv float %207, %209
  %211 = fmul float %210, 1.000000e+02
  store float %211, ptr %27, align 4, !tbaa !39
  invoke void @_ZN6Assimp6Logger12verboseDebugIJRA6_KcRjRA3_S2_PS2_RA15_S2_S5_RA7_S2_mRA5_S2_fRA2_S2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %196, ptr noundef nonnull align 1 dereferenceable(6) @.str.6, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 1 dereferenceable(3) @.str.7, ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 1 dereferenceable(15) @.str.9, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 1 dereferenceable(7) @.str.3, ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 1 dereferenceable(5) @.str.4, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 1 dereferenceable(2) @.str.10)
          to label %212 unwind label %215

212:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  br label %217

213:                                              ; preds = %217, %195, %190, %._crit_edge174
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %326

215:                                              ; preds = %197
  %216 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  br label %326

217:                                              ; preds = %212, %192, %189
  invoke void @_ZN12_GLOBAL__N_119updateXMeshVerticesI6aiMeshEEvPT_RSt6vectorIiSaIiEE(ptr noundef nonnull %1, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %218 unwind label %213

218:                                              ; preds = %217
  br i1 %.not125, label %.loopexit155, label %.preheader154

.preheader154:                                    ; preds = %218
  %219 = load i32, ptr %99, align 8, !tbaa !29
  %.not194 = icmp eq i32 %219, 0
  br i1 %.not194, label %.loopexit155, label %.lr.ph176

.lr.ph176:                                        ; preds = %.preheader154
  %220 = getelementptr inbounds i8, ptr %1, i64 1272
  br label %221

221:                                              ; preds = %.lr.ph176, %226
  %indvars.iv208 = phi i64 [ 0, %.lr.ph176 ], [ %indvars.iv.next209, %226 ]
  %222 = load ptr, ptr %220, align 8, !tbaa !40
  %223 = getelementptr inbounds ptr, ptr %222, i64 %indvars.iv208
  %224 = load ptr, ptr %223, align 8, !tbaa !27
  %225 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv208) #8
  invoke void @_ZN12_GLOBAL__N_119updateXMeshVerticesI10aiAnimMeshEEvPT_RSt6vectorIiSaIiEE(ptr noundef %224, ptr noundef nonnull align 8 dereferenceable(24) %225)
          to label %226 unwind label %230

226:                                              ; preds = %221
  %indvars.iv.next209 = add nuw nsw i64 %indvars.iv208, 1
  %227 = load i32, ptr %99, align 8, !tbaa !29
  %228 = zext i32 %227 to i64
  %229 = icmp ult i64 %indvars.iv.next209, %228
  br i1 %229, label %221, label %.loopexit155, !llvm.loop !41

230:                                              ; preds = %221
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %326

.loopexit155:                                     ; preds = %226, %.preheader154, %218
  %232 = load i32, ptr %37, align 8, !tbaa !17
  %.not195 = icmp eq i32 %232, 0
  br i1 %.not195, label %.preheader153, label %.lr.ph183

.lr.ph183:                                        ; preds = %.loopexit155
  %233 = getelementptr inbounds i8, ptr %1, i64 208
  br label %239

.preheader153:                                    ; preds = %._crit_edge180, %.loopexit155
  %234 = getelementptr inbounds i8, ptr %1, i64 216
  %235 = load i32, ptr %234, align 8, !tbaa !42
  %236 = icmp sgt i32 %235, 0
  br i1 %236, label %.lr.ph187, label %._crit_edge188

.lr.ph187:                                        ; preds = %.preheader153
  %237 = getelementptr inbounds i8, ptr %1, i64 224
  %238 = getelementptr inbounds i8, ptr %29, i64 4
  br label %262

239:                                              ; preds = %.lr.ph183, %._crit_edge180
  %240 = phi i32 [ %232, %.lr.ph183 ], [ %245, %._crit_edge180 ]
  %indvars.iv214 = phi i64 [ 0, %.lr.ph183 ], [ %indvars.iv.next215, %._crit_edge180 ]
  %241 = load ptr, ptr %233, align 8, !tbaa !18
  %242 = getelementptr inbounds %struct.aiFace, ptr %241, i64 %indvars.iv214
  %243 = load i32, ptr %242, align 8, !tbaa !19
  %.not196 = icmp eq i32 %243, 0
  br i1 %.not196, label %._crit_edge180, label %.lr.ph179

.lr.ph179:                                        ; preds = %239
  %244 = getelementptr inbounds i8, ptr %242, i64 8
  %.pre223 = load ptr, ptr %244, align 8, !tbaa !23
  br label %248

._crit_edge180.loopexit:                          ; preds = %248
  %.pre224 = load i32, ptr %37, align 8, !tbaa !17
  br label %._crit_edge180

._crit_edge180:                                   ; preds = %._crit_edge180.loopexit, %239
  %245 = phi i32 [ %.pre224, %._crit_edge180.loopexit ], [ %240, %239 ]
  %indvars.iv.next215 = add nuw nsw i64 %indvars.iv214, 1
  %246 = zext i32 %245 to i64
  %247 = icmp ult i64 %indvars.iv.next215, %246
  br i1 %247, label %239, label %.preheader153, !llvm.loop !43

248:                                              ; preds = %.lr.ph179, %248
  %249 = phi ptr [ %.pre223, %.lr.ph179 ], [ %256, %248 ]
  %indvars.iv211 = phi i64 [ 0, %.lr.ph179 ], [ %indvars.iv.next212, %248 ]
  %250 = getelementptr inbounds i32, ptr %249, i64 %indvars.iv211
  %251 = load i32, ptr %250, align 4, !tbaa !5
  %252 = zext i32 %251 to i64
  %253 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %252) #8
  %254 = load i32, ptr %253, align 4, !tbaa !5
  %255 = and i32 %254, 2147483647
  %256 = load ptr, ptr %244, align 8, !tbaa !23
  %257 = getelementptr inbounds i32, ptr %256, i64 %indvars.iv211
  store i32 %255, ptr %257, align 4, !tbaa !5
  %indvars.iv.next212 = add nuw nsw i64 %indvars.iv211, 1
  %258 = load i32, ptr %242, align 8, !tbaa !19
  %259 = zext i32 %258 to i64
  %260 = icmp ult i64 %indvars.iv.next212, %259
  br i1 %260, label %248, label %._crit_edge180.loopexit, !llvm.loop !44

._crit_edge188:                                   ; preds = %321, %.preheader153
  %261 = load i32, ptr %34, align 4, !tbaa !9
  call void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  call void @_ZN6Assimp11SpatialSortD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %11) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #8
  br label %335

262:                                              ; preds = %.lr.ph187, %321
  %indvars.iv220 = phi i64 [ 0, %.lr.ph187 ], [ %indvars.iv.next221, %321 ]
  %263 = load ptr, ptr %237, align 8, !tbaa !45
  %264 = getelementptr inbounds ptr, ptr %263, i64 %indvars.iv220
  %265 = load ptr, ptr %264, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #8
  call void @_ZNSt6vectorI14aiVertexWeightSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  %266 = getelementptr inbounds i8, ptr %265, i64 1028
  %267 = load i32, ptr %266, align 4, !tbaa !46
  %268 = zext i32 %267 to i64
  invoke void @_ZNSt6vectorI14aiVertexWeightSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %268)
          to label %269 unwind label %273

269:                                              ; preds = %262
  %270 = getelementptr inbounds i8, ptr %265, i64 1048
  %271 = load ptr, ptr %270, align 8, !tbaa !49
  %.not127 = icmp eq ptr %271, null
  br i1 %.not127, label %295, label %.preheader

.preheader:                                       ; preds = %269
  %272 = load i32, ptr %266, align 4, !tbaa !46
  %.not197 = icmp eq i32 %272, 0
  br i1 %.not197, label %.loopexit152, label %.lr.ph185

273:                                              ; preds = %303, %297, %295, %262
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %325

.lr.ph185:                                        ; preds = %.preheader, %291
  %indvars.iv217 = phi i64 [ %indvars.iv.next218, %291 ], [ 0, %.preheader ]
  %275 = load ptr, ptr %270, align 8, !tbaa !49
  %276 = getelementptr inbounds %struct.aiVertexWeight, ptr %275, i64 %indvars.iv217
  %277 = load i32, ptr %276, align 4, !tbaa !50
  %278 = zext i32 %277 to i64
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %278) #8
  %280 = load i32, ptr %279, align 4, !tbaa !5
  %.not129 = icmp sgt i32 %280, -1
  br i1 %.not129, label %281, label %291

281:                                              ; preds = %.lr.ph185
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #8
  call void @_ZN14aiVertexWeightC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %29) #8
  %282 = load i32, ptr %276, align 4, !tbaa !50
  %283 = zext i32 %282 to i64
  %284 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %283) #8
  %285 = load i32, ptr %284, align 4, !tbaa !5
  store i32 %285, ptr %29, align 4, !tbaa !50
  %286 = getelementptr inbounds i8, ptr %276, i64 4
  %287 = load float, ptr %286, align 4, !tbaa !52
  store float %287, ptr %238, align 4, !tbaa !52
  invoke void @_ZNSt6vectorI14aiVertexWeightSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 4 dereferenceable(8) %29)
          to label %288 unwind label %289

288:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  br label %291

289:                                              ; preds = %281
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  br label %325

291:                                              ; preds = %288, %.lr.ph185
  %indvars.iv.next218 = add nuw nsw i64 %indvars.iv217, 1
  %292 = load i32, ptr %266, align 4, !tbaa !46
  %293 = zext i32 %292 to i64
  %294 = icmp ult i64 %indvars.iv.next218, %293
  br i1 %294, label %.lr.ph185, label %.loopexit152, !llvm.loop !53

295:                                              ; preds = %269
  %296 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %297 unwind label %273

297:                                              ; preds = %295
  invoke void @_ZN6Assimp6Logger5errorEPKc(ptr noundef nonnull align 8 dereferenceable(12) %296, ptr noundef nonnull @.str.11)
          to label %.loopexit152 unwind label %273

.loopexit152:                                     ; preds = %291, %.preheader, %297
  %298 = call noundef i64 @_ZNKSt6vectorI14aiVertexWeightSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  %.not128 = icmp eq i64 %298, 0
  br i1 %.not128, label %321, label %299

299:                                              ; preds = %.loopexit152
  %300 = load ptr, ptr %270, align 8, !tbaa !49
  %301 = icmp eq ptr %300, null
  br i1 %301, label %303, label %302

302:                                              ; preds = %299
  call void @_ZdaPv(ptr noundef nonnull %300) #9
  br label %303

303:                                              ; preds = %302, %299
  %304 = call noundef i64 @_ZNKSt6vectorI14aiVertexWeightSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  %305 = trunc i64 %304 to i32
  store i32 %305, ptr %266, align 4, !tbaa !46
  %306 = and i64 %304, 4294967295
  %307 = shl nuw nsw i64 %306, 3
  %308 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %307) #10
          to label %309 unwind label %273

309:                                              ; preds = %303
  %310 = icmp eq i64 %306, 0
  br i1 %310, label %.loopexit, label %311

311:                                              ; preds = %309
  %312 = getelementptr inbounds %struct.aiVertexWeight, ptr %308, i64 %306
  br label %313

313:                                              ; preds = %313, %311
  %314 = phi ptr [ %308, %311 ], [ %315, %313 ]
  call void @_ZN14aiVertexWeightC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %314) #8
  %315 = getelementptr inbounds i8, ptr %314, i64 8
  %316 = icmp eq ptr %315, %312
  br i1 %316, label %.loopexit, label %313

.loopexit:                                        ; preds = %313, %309
  store ptr %308, ptr %270, align 8, !tbaa !49
  %317 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI14aiVertexWeightSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 0) #8
  %318 = load i32, ptr %266, align 4, !tbaa !46
  %319 = zext i32 %318 to i64
  %320 = shl nuw nsw i64 %319, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %308, ptr nonnull align 4 %317, i64 %320, i1 false)
  br label %321

321:                                              ; preds = %.loopexit, %.loopexit152
  call void @_ZNSt6vectorI14aiVertexWeightSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #8
  %indvars.iv.next221 = add nuw nsw i64 %indvars.iv220, 1
  %322 = load i32, ptr %234, align 8, !tbaa !42
  %323 = sext i32 %322 to i64
  %324 = icmp slt i64 %indvars.iv.next221, %323
  br i1 %324, label %262, label %._crit_edge188, !llvm.loop !54

325:                                              ; preds = %289, %273
  %.pn = phi { ptr, i32 } [ %290, %289 ], [ %274, %273 ]
  call void @_ZNSt6vectorI14aiVertexWeightSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #8
  br label %326

326:                                              ; preds = %188, %213, %215, %230, %325, %131
  %.pn131.pn.pn.pn.pn = phi { ptr, i32 } [ %132, %131 ], [ %.pn131.pn.pn, %188 ], [ %231, %230 ], [ %.pn, %325 ], [ %214, %213 ], [ %216, %215 ]
  call void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #8
  br label %327

327:                                              ; preds = %326, %129
  %.pn131.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn131.pn.pn.pn.pn, %326 ], [ %130, %129 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  br label %328

328:                                              ; preds = %327, %116, %107
  %.pn138 = phi { ptr, i32 } [ %117, %116 ], [ %.pn131.pn.pn.pn.pn.pn, %327 ], [ %108, %107 ]
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  br label %329

329:                                              ; preds = %328, %105
  %.pn138.pn = phi { ptr, i32 } [ %.pn138, %328 ], [ %106, %105 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  br label %330

330:                                              ; preds = %329, %95, %86
  %.pn138.pn.pn = phi { ptr, i32 } [ %.pn138.pn, %329 ], [ %96, %95 ], [ %87, %86 ]
  call void @_ZN6Assimp11SpatialSortD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %11) #8
  br label %331

331:                                              ; preds = %330, %84
  %.pn138.pn.pn.pn = phi { ptr, i32 } [ %.pn138.pn.pn, %330 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  br label %332

332:                                              ; preds = %331, %82
  %.pn138.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn138.pn.pn.pn, %331 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  br label %333

333:                                              ; preds = %332, %80
  %.pn138.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn138.pn.pn.pn.pn, %332 ], [ %81, %80 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  br label %334

334:                                              ; preds = %333, %67, %43
  %.pn145 = phi { ptr, i32 } [ %68, %67 ], [ %.pn138.pn.pn.pn.pn.pn, %333 ], [ %44, %43 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #8
  resume { ptr, i32 } %.pn145

335:                                              ; preds = %3, %31, %._crit_edge188
  %.0 = phi i32 [ %261, %._crit_edge188 ], [ 0, %31 ], [ 0, %3 ]
  ret i32 %.0
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEE6resizeEmb(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

declare void @_ZN6Assimp11SpatialSortC1Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt6vectorISt4pairIN6Assimp11SpatialSortEfESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

declare void @_ZN6Assimp11SpatialSort4FillEPK10aiVector3tIfEjjb(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #0

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8equal_toIN6Assimp6VertexEEC2Ejj(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEEC2EmRKS3_RKS5_RKS9_(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6VertexC2EPK6aiMeshj(ptr noundef nonnull align 4 dereferenceable(272), ptr noundef, i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(272)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIN6Assimp6VertexEiSt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(272)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6Assimp6Logger14getLogSeverityEv(ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger12verboseDebugIJRA6_KcRjRA3_S2_PS2_RA15_S2_S5_RA7_S2_mRA5_S2_fRA2_S2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(6), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(3), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(15), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(7), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

declare void @_ZN6Assimp6Logger5errorEPKc(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Assimp11SpatialSortD2Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #3 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"_ZTS6aiMesh", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !7, i64 48, !7, i64 112, !7, i64 176, !11, i64 208, !6, i64 216, !11, i64 224, !6, i64 232, !12, i64 236, !6, i64 1264, !11, i64 1272, !13, i64 1280, !14, i64 1284, !11, i64 1312}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"_ZTS8aiString", !6, i64 0, !7, i64 4}
!13 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!14 = !{!"_ZTS6aiAABB", !15, i64 0, !15, i64 12}
!15 = !{!"_ZTS10aiVector3tIfE", !16, i64 0, !16, i64 4, !16, i64 8}
!16 = !{!"float", !7, i64 0}
!17 = !{!10, !6, i64 8}
!18 = !{!10, !11, i64 208}
!19 = !{!20, !6, i64 0}
!20 = !{!"_ZTS6aiFace", !6, i64 0, !11, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!20, !11, i64 8}
!24 = distinct !{!24, !22}
!25 = !{!26, !11, i64 8}
!26 = !{!"_ZTSN6Assimp11BaseProcessE", !11, i64 8, !11, i64 16}
!27 = !{!11, !11, i64 0}
!28 = !{!10, !11, i64 16}
!29 = !{!10, !6, i64 1264}
!30 = distinct !{!30, !22}
!31 = distinct !{!31, !22}
!32 = !{!33, !6, i64 272}
!33 = !{!"_ZTSSt4pairIKN6Assimp6VertexEiE", !34, i64 0, !6, i64 272}
!34 = !{!"_ZTSN6Assimp6VertexE", !15, i64 0, !15, i64 12, !15, i64 24, !15, i64 36, !7, i64 48, !7, i64 144}
!35 = distinct !{!35, !22}
!36 = !{!10, !6, i64 236}
!37 = !{!38, !38, i64 0}
!38 = !{!"long", !7, i64 0}
!39 = !{!16, !16, i64 0}
!40 = !{!10, !11, i64 1272}
!41 = distinct !{!41, !22}
!42 = !{!10, !6, i64 216}
!43 = distinct !{!43, !22}
!44 = distinct !{!44, !22}
!45 = !{!10, !11, i64 224}
!46 = !{!47, !6, i64 1028}
!47 = !{!"_ZTS6aiBone", !12, i64 0, !6, i64 1028, !11, i64 1032, !11, i64 1040, !11, i64 1048, !48, i64 1056}
!48 = !{!"_ZTS12aiMatrix4x4tIfE", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !16, i64 60}
!49 = !{!47, !11, i64 1048}
!50 = !{!51, !6, i64 0}
!51 = !{!"_ZTS14aiVertexWeight", !6, i64 0, !16, i64 4}
!52 = !{!51, !16, i64 4}
!53 = distinct !{!53, !22}
!54 = distinct !{!54, !22}


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