; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/AssetLib/Obj (ObjExporter)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%class.aiVector3t = type { float, float, float }
%class.aiColor4t = type { float, float, float, float }
%"struct.Assimp::ObjExporter::vertexData" = type { %class.aiVector3t, %struct.aiColor3D, i32 }
%struct.aiColor3D = type { float, float, float }
%class.aiMatrix3x3t = type { float, float, float, float, float, float, float, float, float }
%"class.Assimp::ObjExporter" = type { %"class.std::__cxx11::basic_ostringstream", %"class.std::__cxx11::basic_ostringstream", %"class.std::__cxx11::basic_string", ptr, %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.8", i8, %"class.Assimp::ObjExporter::indexMap", %"class.Assimp::ObjExporter::indexMap", %"class.Assimp::ObjExporter::indexMap.16", %"class.std::vector.23", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<aiVector3t<float>, std::allocator<aiVector3t<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<aiVector3t<float>, std::allocator<aiVector3t<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiVector3t<float>, std::allocator<aiVector3t<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiVector3t<float>, std::allocator<aiVector3t<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<aiColor4t<float>, std::allocator<aiColor4t<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<aiColor4t<float>, std::allocator<aiColor4t<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiColor4t<float>, std::allocator<aiColor4t<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiColor4t<float>, std::allocator<aiColor4t<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Assimp::ObjExporter::vertexData, std::allocator<Assimp::ObjExporter::vertexData>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::ObjExporter::vertexData, std::allocator<Assimp::ObjExporter::vertexData>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::ObjExporter::vertexData, std::allocator<Assimp::ObjExporter::vertexData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::ObjExporter::vertexData, std::allocator<Assimp::ObjExporter::vertexData>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Assimp::ObjExporter::indexMap" = type { i32, %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<aiVector3t<float>, std::pair<const aiVector3t<float>, int>, std::_Select1st<std::pair<const aiVector3t<float>, int>>, Assimp::ObjExporter::aiVectorCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<aiVector3t<float>, std::pair<const aiVector3t<float>, int>, std::_Select1st<std::pair<const aiVector3t<float>, int>>, Assimp::ObjExporter::aiVectorCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.Assimp::ObjExporter::indexMap.16" = type { i32, %"class.std::map.17" }
%"class.std::map.17" = type { %"class.std::_Rb_tree.18" }
%"class.std::_Rb_tree.18" = type { %"struct.std::_Rb_tree<Assimp::ObjExporter::vertexData, std::pair<const Assimp::ObjExporter::vertexData, int>, std::_Select1st<std::pair<const Assimp::ObjExporter::vertexData, int>>, Assimp::ObjExporter::vertexDataCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Assimp::ObjExporter::vertexData, std::pair<const Assimp::ObjExporter::vertexData, int>, std::_Select1st<std::pair<const Assimp::ObjExporter::vertexData, int>>, Assimp::ObjExporter::vertexDataCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<Assimp::ObjExporter::MeshInstance, std::allocator<Assimp::ObjExporter::MeshInstance>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::ObjExporter::MeshInstance, std::allocator<Assimp::ObjExporter::MeshInstance>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::ObjExporter::MeshInstance, std::allocator<Assimp::ObjExporter::MeshInstance>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::ObjExporter::MeshInstance, std::allocator<Assimp::ObjExporter::MeshInstance>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.aiMesh = type { i32, i32, i32, ptr, ptr, ptr, ptr, [8 x ptr], [8 x ptr], [8 x i32], ptr, i32, ptr, i32, %struct.aiString, i32, ptr, i32, %struct.aiAABB, ptr }
%struct.aiString = type { i32, [1024 x i8] }
%struct.aiAABB = type { %class.aiVector3t, %class.aiVector3t }
%"struct.Assimp::ObjExporter::MeshInstance" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.65" }
%"class.std::vector.65" = type { %"struct.std::_Vector_base.66" }
%"struct.std::_Vector_base.66" = type { %"struct.std::_Vector_base<Assimp::ObjExporter::Face, std::allocator<Assimp::ObjExporter::Face>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::ObjExporter::Face, std::allocator<Assimp::ObjExporter::Face>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::ObjExporter::Face, std::allocator<Assimp::ObjExporter::Face>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::ObjExporter::Face, std::allocator<Assimp::ObjExporter::Face>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.aiFace = type { i32, ptr }
%"struct.Assimp::ObjExporter::Face" = type { i8, %"class.std::vector.71" }
%"class.std::vector.71" = type { %"struct.std::_Vector_base.72" }
%"struct.std::_Vector_base.72" = type { %"struct.std::_Vector_base<Assimp::ObjExporter::FaceVertex, std::allocator<Assimp::ObjExporter::FaceVertex>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::ObjExporter::FaceVertex, std::allocator<Assimp::ObjExporter::FaceVertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::ObjExporter::FaceVertex, std::allocator<Assimp::ObjExporter::FaceVertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::ObjExporter::FaceVertex, std::allocator<Assimp::ObjExporter::FaceVertex>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Assimp::ObjExporter::FaceVertex" = type { i32, i32, i32 }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp11ObjExporter7AddMeshERK8aiStringPK6aiMeshRK12aiMatrix4x4tIfEb(ptr noundef nonnull align 8 dereferenceable(1120) %0, ptr noundef nonnull align 4 dereferenceable(1028) %1, ptr noundef %2, ptr noundef nonnull align 4 dereferenceable(64) %3, i1 noundef zeroext %4) #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %class.aiVector3t, align 4
  %25 = alloca { <2 x float>, float }, align 8
  %26 = alloca %class.aiColor4t, align 4
  %27 = alloca %"struct.Assimp::ObjExporter::vertexData", align 4
  %28 = alloca %"struct.Assimp::ObjExporter::vertexData", align 4
  %29 = alloca %class.aiVector3t, align 4
  %30 = alloca %class.aiMatrix3x3t, align 4
  %31 = alloca { <2 x float>, float }, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %32 = zext i1 %4 to i8
  store i8 %32, ptr %10, align 1, !tbaa !9
  %33 = load ptr, ptr %6, align 8
  %34 = getelementptr inbounds %"class.Assimp::ObjExporter", ptr %33, i32 0, i32 12
  %35 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE12emplace_backIJEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %34)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %36 = getelementptr inbounds %"class.Assimp::ObjExporter", ptr %33, i32 0, i32 12
  %37 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  store ptr %37, ptr %11, align 8, !tbaa !5
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.aiMesh, ptr %38, i32 0, i32 7
  %40 = getelementptr inbounds [8 x ptr], ptr %39, i64 0, i64 0
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = icmp ne ptr null, %41
  br i1 %42, label %43, label %45

43:                                               ; preds = %5
  %44 = getelementptr inbounds %"class.Assimp::ObjExporter", ptr %33, i32 0, i32 8
  store i8 1, ptr %44, align 8, !tbaa !11
  br label %45

45:                                               ; preds = %43, %5
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.aiString, ptr %46, i32 0, i32 1
  %48 = getelementptr inbounds [1024 x i8], ptr %47, i64 0, i64 0
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.aiString, ptr %49, i32 0, i32 0
  %51 = load i32, ptr %50, align 4, !tbaa !54
  %52 = zext i32 %51 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcmRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef %48, i64 noundef %52, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %53 unwind label %76

53:                                               ; preds = %45
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.Assimp::ObjExporter::MeshInstance", ptr %54, i32 0, i32 0
  %56 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #6
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.aiMesh, ptr %57, i32 0, i32 13
  %59 = load i32, ptr %58, align 8, !tbaa !56
  call void @_ZN6Assimp11ObjExporter15GetMaterialNameB5cxx11Ej(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(1120) %33, i32 noundef %59)
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.Assimp::ObjExporter::MeshInstance", ptr %60, i32 0, i32 1
  %62 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.Assimp::ObjExporter::MeshInstance", ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.aiMesh, ptr %65, i32 0, i32 2
  %67 = load i32, ptr %66, align 8, !tbaa !62
  %68 = zext i32 %67 to i64
  call void @_ZNSt6vectorIN6Assimp11ObjExporter4FaceESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %68)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !63
  br label %69

69:                                               ; preds = %248, %53
  %70 = load i32, ptr %17, align 4, !tbaa !63
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.aiMesh, ptr %71, i32 0, i32 2
  %73 = load i32, ptr %72, align 8, !tbaa !62
  %74 = icmp ult i32 %70, %73
  br i1 %74, label %80, label %75

75:                                               ; preds = %69
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %251

76:                                               ; preds = %45
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %14, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %15, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %252

80:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.aiMesh, ptr %81, i32 0, i32 10
  %83 = load ptr, ptr %82, align 8, !tbaa !64
  %84 = load i32, ptr %17, align 4, !tbaa !63
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds %struct.aiFace, ptr %83, i64 %85
  store ptr %86, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.Assimp::ObjExporter::MeshInstance", ptr %87, i32 0, i32 2
  %89 = load i32, ptr %17, align 4, !tbaa !63
  %90 = zext i32 %89 to i64
  %91 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN6Assimp11ObjExporter4FaceESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %90) #6
  store ptr %91, ptr %20, align 8, !tbaa !5
  %92 = load ptr, ptr %19, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.aiFace, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %93, align 8, !tbaa !65
  switch i32 %94, label %101 [
    i32 1, label %95
    i32 2, label %98
  ]

95:                                               ; preds = %80
  %96 = load ptr, ptr %20, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %96, i32 0, i32 0
  store i8 112, ptr %97, align 8, !tbaa !67
  br label %104

98:                                               ; preds = %80
  %99 = load ptr, ptr %20, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %99, i32 0, i32 0
  store i8 108, ptr %100, align 8, !tbaa !67
  br label %104

101:                                              ; preds = %80
  %102 = load ptr, ptr %20, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %102, i32 0, i32 0
  store i8 102, ptr %103, align 8, !tbaa !67
  br label %104

104:                                              ; preds = %101, %98, %95
  %105 = load ptr, ptr %20, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %105, i32 0, i32 1
  %107 = load ptr, ptr %19, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.aiFace, ptr %107, i32 0, i32 0
  %109 = load i32, ptr %108, align 8, !tbaa !65
  %110 = zext i32 %109 to i64
  call void @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef %110)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !63
  br label %111

111:                                              ; preds = %244, %104
  %112 = load i32, ptr %21, align 4, !tbaa !63
  %113 = load ptr, ptr %19, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.aiFace, ptr %113, i32 0, i32 0
  %115 = load i32, ptr %114, align 8, !tbaa !65
  %116 = icmp ult i32 %112, %115
  br i1 %116, label %118, label %117

117:                                              ; preds = %111
  store i32 6, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %247

118:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %119 = load ptr, ptr %19, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.aiFace, ptr %119, i32 0, i32 1
  %121 = load ptr, ptr %120, align 8, !tbaa !73
  %122 = load i32, ptr %21, align 4, !tbaa !63
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds i32, ptr %121, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !63
  store i32 %125, ptr %22, align 4, !tbaa !63
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %126 = load i8, ptr %10, align 1, !tbaa !9, !range !74, !noundef !75
  %127 = trunc i8 %126 to i1
  br i1 %127, label %128, label %129

128:                                              ; preds = %118
  br label %131

129:                                              ; preds = %118
  %130 = load i32, ptr %22, align 4, !tbaa !63
  br label %131

131:                                              ; preds = %129, %128
  %132 = phi i32 [ 0, %128 ], [ %130, %129 ]
  store i32 %132, ptr %23, align 4, !tbaa !63
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #6
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.aiMesh, ptr %134, i32 0, i32 3
  %136 = load ptr, ptr %135, align 8, !tbaa !76
  %137 = load i32, ptr %22, align 4, !tbaa !63
  %138 = zext i32 %137 to i64
  %139 = getelementptr inbounds %class.aiVector3t, ptr %136, i64 %138
  %140 = call { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix4x4tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %133, ptr noundef nonnull align 4 dereferenceable(12) %139)
  store { <2 x float>, float } %140, ptr %25, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 8 %25, i64 12, i1 false)
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.aiMesh, ptr %141, i32 0, i32 7
  %143 = getelementptr inbounds [8 x ptr], ptr %142, i64 0, i64 0
  %144 = load ptr, ptr %143, align 8, !tbaa !5
  %145 = icmp ne ptr null, %144
  br i1 %145, label %146, label %172

146:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.aiMesh, ptr %147, i32 0, i32 7
  %149 = getelementptr inbounds [8 x ptr], ptr %148, i64 0, i64 0
  %150 = load ptr, ptr %149, align 8, !tbaa !5
  %151 = load i32, ptr %22, align 4, !tbaa !63
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds %class.aiColor4t, ptr %150, i64 %152
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %153, i64 16, i1 false), !tbaa.struct !77
  %154 = getelementptr inbounds %"class.Assimp::ObjExporter", ptr %33, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 28, ptr %27) #6
  %155 = getelementptr inbounds %"struct.Assimp::ObjExporter::vertexData", ptr %27, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %155, ptr align 4 %24, i64 12, i1 false), !tbaa.struct !79
  %156 = getelementptr inbounds %"struct.Assimp::ObjExporter::vertexData", ptr %27, i32 0, i32 1
  %157 = getelementptr inbounds %class.aiColor4t, ptr %26, i32 0, i32 0
  %158 = load float, ptr %157, align 4, !tbaa !80
  %159 = getelementptr inbounds %class.aiColor4t, ptr %26, i32 0, i32 1
  %160 = load float, ptr %159, align 4, !tbaa !82
  %161 = getelementptr inbounds %class.aiColor4t, ptr %26, i32 0, i32 2
  %162 = load float, ptr %161, align 4, !tbaa !83
  call void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %156, float noundef %158, float noundef %160, float noundef %162)
  %163 = getelementptr inbounds %"struct.Assimp::ObjExporter::vertexData", ptr %27, i32 0, i32 2
  %164 = load i32, ptr %23, align 4, !tbaa !63
  store i32 %164, ptr %163, align 4, !tbaa !84
  %165 = call noundef i32 @_ZN6Assimp11ObjExporter8indexMapINS0_10vertexDataENS0_17vertexDataCompareEE8getIndexERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %154, ptr noundef nonnull align 4 dereferenceable(28) %27)
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %166, i32 0, i32 1
  %168 = load i32, ptr %21, align 4, !tbaa !63
  %169 = zext i32 %168 to i64
  %170 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %169) #6
  %171 = getelementptr inbounds %"struct.Assimp::ObjExporter::FaceVertex", ptr %170, i32 0, i32 0
  store i32 %165, ptr %171, align 4, !tbaa !87
  call void @llvm.lifetime.end.p0(i64 28, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %185

172:                                              ; preds = %131
  %173 = getelementptr inbounds %"class.Assimp::ObjExporter", ptr %33, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 28, ptr %28) #6
  %174 = getelementptr inbounds %"struct.Assimp::ObjExporter::vertexData", ptr %28, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %174, ptr align 4 %24, i64 12, i1 false), !tbaa.struct !79
  %175 = getelementptr inbounds %"struct.Assimp::ObjExporter::vertexData", ptr %28, i32 0, i32 1
  call void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %175, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %176 = getelementptr inbounds %"struct.Assimp::ObjExporter::vertexData", ptr %28, i32 0, i32 2
  %177 = load i32, ptr %23, align 4, !tbaa !63
  store i32 %177, ptr %176, align 4, !tbaa !84
  %178 = call noundef i32 @_ZN6Assimp11ObjExporter8indexMapINS0_10vertexDataENS0_17vertexDataCompareEE8getIndexERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %173, ptr noundef nonnull align 4 dereferenceable(28) %28)
  %179 = load ptr, ptr %20, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %179, i32 0, i32 1
  %181 = load i32, ptr %21, align 4, !tbaa !63
  %182 = zext i32 %181 to i64
  %183 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %180, i64 noundef %182) #6
  %184 = getelementptr inbounds %"struct.Assimp::ObjExporter::FaceVertex", ptr %183, i32 0, i32 0
  store i32 %178, ptr %184, align 4, !tbaa !87
  call void @llvm.lifetime.end.p0(i64 28, ptr %28) #6
  br label %185

185:                                              ; preds = %172, %146
  %186 = load ptr, ptr %8, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.aiMesh, ptr %186, i32 0, i32 4
  %188 = load ptr, ptr %187, align 8, !tbaa !89
  %189 = icmp ne ptr %188, null
  br i1 %189, label %190, label %207

190:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %30) #6
  %191 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN12aiMatrix3x3tIfEC2ERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(36) %30, ptr noundef nonnull align 4 dereferenceable(64) %191)
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.aiMesh, ptr %192, i32 0, i32 4
  %194 = load ptr, ptr %193, align 8, !tbaa !89
  %195 = load i32, ptr %22, align 4, !tbaa !63
  %196 = zext i32 %195 to i64
  %197 = getelementptr inbounds %class.aiVector3t, ptr %194, i64 %196
  %198 = call { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix3x3tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %30, ptr noundef nonnull align 4 dereferenceable(12) %197)
  store { <2 x float>, float } %198, ptr %31, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 8 %31, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 36, ptr %30) #6
  %199 = getelementptr inbounds %"class.Assimp::ObjExporter", ptr %33, i32 0, i32 9
  %200 = call noundef i32 @_ZN6Assimp11ObjExporter8indexMapI10aiVector3tIfENS0_15aiVectorCompareEE8getIndexERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %199, ptr noundef nonnull align 4 dereferenceable(12) %29)
  %201 = load ptr, ptr %20, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %201, i32 0, i32 1
  %203 = load i32, ptr %21, align 4, !tbaa !63
  %204 = zext i32 %203 to i64
  %205 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %202, i64 noundef %204) #6
  %206 = getelementptr inbounds %"struct.Assimp::ObjExporter::FaceVertex", ptr %205, i32 0, i32 1
  store i32 %200, ptr %206, align 4, !tbaa !90
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #6
  br label %214

207:                                              ; preds = %185
  %208 = load ptr, ptr %20, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %208, i32 0, i32 1
  %210 = load i32, ptr %21, align 4, !tbaa !63
  %211 = zext i32 %210 to i64
  %212 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %209, i64 noundef %211) #6
  %213 = getelementptr inbounds %"struct.Assimp::ObjExporter::FaceVertex", ptr %212, i32 0, i32 1
  store i32 0, ptr %213, align 4, !tbaa !90
  br label %214

214:                                              ; preds = %207, %190
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.aiMesh, ptr %215, i32 0, i32 8
  %217 = getelementptr inbounds [8 x ptr], ptr %216, i64 0, i64 0
  %218 = load ptr, ptr %217, align 8, !tbaa !5
  %219 = icmp ne ptr %218, null
  br i1 %219, label %220, label %236

220:                                              ; preds = %214
  %221 = getelementptr inbounds %"class.Assimp::ObjExporter", ptr %33, i32 0, i32 10
  %222 = load ptr, ptr %8, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.aiMesh, ptr %222, i32 0, i32 8
  %224 = getelementptr inbounds [8 x ptr], ptr %223, i64 0, i64 0
  %225 = load ptr, ptr %224, align 8, !tbaa !5
  %226 = load i32, ptr %22, align 4, !tbaa !63
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds %class.aiVector3t, ptr %225, i64 %227
  %229 = call noundef i32 @_ZN6Assimp11ObjExporter8indexMapI10aiVector3tIfENS0_15aiVectorCompareEE8getIndexERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %221, ptr noundef nonnull align 4 dereferenceable(12) %228)
  %230 = load ptr, ptr %20, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %230, i32 0, i32 1
  %232 = load i32, ptr %21, align 4, !tbaa !63
  %233 = zext i32 %232 to i64
  %234 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef %233) #6
  %235 = getelementptr inbounds %"struct.Assimp::ObjExporter::FaceVertex", ptr %234, i32 0, i32 2
  store i32 %229, ptr %235, align 4, !tbaa !91
  br label %243

236:                                              ; preds = %214
  %237 = load ptr, ptr %20, align 8, !tbaa !5
  %238 = getelementptr inbounds %"struct.Assimp::ObjExporter::Face", ptr %237, i32 0, i32 1
  %239 = load i32, ptr %21, align 4, !tbaa !63
  %240 = zext i32 %239 to i64
  %241 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %238, i64 noundef %240) #6
  %242 = getelementptr inbounds %"struct.Assimp::ObjExporter::FaceVertex", ptr %241, i32 0, i32 2
  store i32 0, ptr %242, align 4, !tbaa !91
  br label %243

243:                                              ; preds = %236, %220
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %244

244:                                              ; preds = %243
  %245 = load i32, ptr %21, align 4, !tbaa !63
  %246 = add i32 %245, 1
  store i32 %246, ptr %21, align 4, !tbaa !63
  br label %111, !llvm.loop !92

247:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %248

248:                                              ; preds = %247
  %249 = load i32, ptr %17, align 4, !tbaa !63
  %250 = add i32 %249, 1
  store i32 %250, ptr %17, align 4, !tbaa !63
  br label %69, !llvm.loop !94

251:                                              ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  ret void

252:                                              ; preds = %76
  %253 = load ptr, ptr %14, align 8
  %254 = load i32, ptr %15, align 4
  %255 = insertvalue { ptr, i32 } poison, ptr %253, 0
  %256 = insertvalue { ptr, i32 } %255, i32 %254, 1
  resume { ptr, i32 } %256
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN6Assimp11ObjExporter4FaceESaIS2_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(32) ptr @_ZNSt6vectorIN6Assimp11ObjExporter4FaceESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix4x4tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(12)) #4

; 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) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Assimp11ObjExporter8indexMapINS0_10vertexDataENS0_17vertexDataCompareEE8getIndexERKS2_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(28)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix3x3tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Assimp11ObjExporter8indexMapI10aiVector3tIfENS0_15aiVectorCompareEE8getIndexERKS3_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !10, i64 888}
!12 = !{!"_ZTSN6Assimp11ObjExporterE", !13, i64 0, !13, i64 376, !19, i64 752, !6, i64 784, !22, i64 792, !22, i64 816, !26, i64 840, !30, i64 864, !10, i64 888, !34, i64 896, !34, i64 952, !44, i64 1008, !50, i64 1064, !19, i64 1088}
!13 = !{!"_ZTSNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8}
!14 = !{!"_ZTSSo"}
!15 = !{!"_ZTSNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE", !16, i64 0, !18, i64 64, !19, i64 72}
!16 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !17, i64 56}
!17 = !{!"_ZTSSt6locale", !6, i64 0}
!18 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !20, i64 0, !21, i64 8, !7, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSSt6vectorI10aiVector3tIfESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseI10aiVector3tIfESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI10aiVector3tIfESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseI10aiVector3tIfESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorI9aiColor4tIfESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI9aiColor4tIfESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI9aiColor4tIfESaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI9aiColor4tIfESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIN6Assimp11ObjExporter10vertexDataESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN6Assimp11ObjExporter10vertexDataESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter10vertexDataESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter10vertexDataESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSN6Assimp11ObjExporter8indexMapI10aiVector3tIfENS0_15aiVectorCompareEEE", !35, i64 0, !36, i64 8}
!35 = !{!"int", !7, i64 0}
!36 = !{!"_ZTSSt3mapI10aiVector3tIfEiN6Assimp11ObjExporter15aiVectorCompareESaISt4pairIKS1_iEEE", !37, i64 0}
!37 = !{!"_ZTSSt8_Rb_treeI10aiVector3tIfESt4pairIKS1_iESt10_Select1stIS4_EN6Assimp11ObjExporter15aiVectorCompareESaIS4_EE", !38, i64 0}
!38 = !{!"_ZTSNSt8_Rb_treeI10aiVector3tIfESt4pairIKS1_iESt10_Select1stIS4_EN6Assimp11ObjExporter15aiVectorCompareESaIS4_EE13_Rb_tree_implIS9_Lb1EEE", !39, i64 0, !41, i64 8}
!39 = !{!"_ZTSSt20_Rb_tree_key_compareIN6Assimp11ObjExporter15aiVectorCompareEE", !40, i64 0}
!40 = !{!"_ZTSN6Assimp11ObjExporter15aiVectorCompareE"}
!41 = !{!"_ZTSSt15_Rb_tree_header", !42, i64 0, !21, i64 32}
!42 = !{!"_ZTSSt18_Rb_tree_node_base", !43, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!43 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!44 = !{!"_ZTSN6Assimp11ObjExporter8indexMapINS0_10vertexDataENS0_17vertexDataCompareEEE", !35, i64 0, !45, i64 8}
!45 = !{!"_ZTSSt3mapIN6Assimp11ObjExporter10vertexDataEiNS1_17vertexDataCompareESaISt4pairIKS2_iEEE", !46, i64 0}
!46 = !{!"_ZTSSt8_Rb_treeIN6Assimp11ObjExporter10vertexDataESt4pairIKS2_iESt10_Select1stIS5_ENS1_17vertexDataCompareESaIS5_EE", !47, i64 0}
!47 = !{!"_ZTSNSt8_Rb_treeIN6Assimp11ObjExporter10vertexDataESt4pairIKS2_iESt10_Select1stIS5_ENS1_17vertexDataCompareESaIS5_EE13_Rb_tree_implIS8_Lb1EEE", !48, i64 0, !41, i64 8}
!48 = !{!"_ZTSSt20_Rb_tree_key_compareIN6Assimp11ObjExporter17vertexDataCompareEE", !49, i64 0}
!49 = !{!"_ZTSN6Assimp11ObjExporter17vertexDataCompareE"}
!50 = !{!"_ZTSSt6vectorIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!55, !35, i64 0}
!55 = !{!"_ZTS8aiString", !35, i64 0, !7, i64 4}
!56 = !{!57, !35, i64 232}
!57 = !{!"_ZTS6aiMesh", !35, i64 0, !35, i64 4, !35, 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, !35, i64 216, !6, i64 224, !35, i64 232, !55, i64 236, !35, i64 1264, !6, i64 1272, !58, i64 1280, !59, i64 1284, !6, i64 1312}
!58 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!59 = !{!"_ZTS6aiAABB", !60, i64 0, !60, i64 12}
!60 = !{!"_ZTS10aiVector3tIfE", !61, i64 0, !61, i64 4, !61, i64 8}
!61 = !{!"float", !7, i64 0}
!62 = !{!57, !35, i64 8}
!63 = !{!35, !35, i64 0}
!64 = !{!57, !6, i64 208}
!65 = !{!66, !35, i64 0}
!66 = !{!"_ZTS6aiFace", !35, i64 0, !6, i64 8}
!67 = !{!68, !7, i64 0}
!68 = !{!"_ZTSN6Assimp11ObjExporter4FaceE", !7, i64 0, !69, i64 8}
!69 = !{!"_ZTSSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EE", !70, i64 0}
!70 = !{!"_ZTSSt12_Vector_baseIN6Assimp11ObjExporter10FaceVertexESaIS2_EE", !71, i64 0}
!71 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter10FaceVertexESaIS2_EE12_Vector_implE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter10FaceVertexESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!73 = !{!66, !6, i64 8}
!74 = !{i8 0, i8 2}
!75 = !{}
!76 = !{!57, !6, i64 16}
!77 = !{i64 0, i64 4, !78, i64 4, i64 4, !78, i64 8, i64 4, !78, i64 12, i64 4, !78}
!78 = !{!61, !61, i64 0}
!79 = !{i64 0, i64 4, !78, i64 4, i64 4, !78, i64 8, i64 4, !78}
!80 = !{!81, !61, i64 0}
!81 = !{!"_ZTS9aiColor4tIfE", !61, i64 0, !61, i64 4, !61, i64 8, !61, i64 12}
!82 = !{!81, !61, i64 4}
!83 = !{!81, !61, i64 8}
!84 = !{!85, !35, i64 24}
!85 = !{!"_ZTSN6Assimp11ObjExporter10vertexDataE", !60, i64 0, !86, i64 12, !35, i64 24}
!86 = !{!"_ZTS9aiColor3D", !61, i64 0, !61, i64 4, !61, i64 8}
!87 = !{!88, !35, i64 0}
!88 = !{!"_ZTSN6Assimp11ObjExporter10FaceVertexE", !35, i64 0, !35, i64 4, !35, i64 8}
!89 = !{!57, !6, i64 24}
!90 = !{!88, !35, i64 4}
!91 = !{!88, !35, i64 8}
!92 = distinct !{!92, !93}
!93 = !{!"llvm.loop.mustprogress"}
!94 = distinct !{!94, !93}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"struct.Assimp::ObjExporter::vertexData" = type { %class.aiVector3t, %struct.aiColor3D, i32 }
%class.aiVector3t = type { float, float, float }
%struct.aiColor3D = type { float, float, float }
%class.aiMatrix3x3t = type { float, float, float, float, float, float, float, float, float }
%struct.aiFace = type { i32, ptr }
%class.aiColor4t = type { float, float, float, float }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp11ObjExporter7AddMeshERK8aiStringPK6aiMeshRK12aiMatrix4x4tIfEb(ptr noundef nonnull align 8 dereferenceable(1120) %0, ptr noundef nonnull align 4 dereferenceable(1028) %1, ptr nocapture noundef readonly %2, ptr noundef nonnull align 4 dereferenceable(64) %3, i1 noundef zeroext %4) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"struct.Assimp::ObjExporter::vertexData", align 8
  %10 = alloca %"struct.Assimp::ObjExporter::vertexData", align 8
  %11 = alloca %class.aiVector3t, align 8
  %12 = alloca %class.aiMatrix3x3t, align 4
  %13 = getelementptr inbounds i8, ptr %0, i64 1064
  %14 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE12emplace_backIJEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %13)
  %15 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  %16 = getelementptr inbounds i8, ptr %2, i64 48
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  %.not = icmp eq ptr %17, null
  br i1 %.not, label %20, label %18

18:                                               ; preds = %5
  %19 = getelementptr inbounds i8, ptr %0, i64 888
  store i8 1, ptr %19, align 8, !tbaa !9
  br label %20

20:                                               ; preds = %18, %5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  %21 = getelementptr inbounds i8, ptr %1, i64 4
  %22 = load i32, ptr %1, align 4, !tbaa !53
  %23 = zext i32 %22 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcmRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull %21, i64 noundef %23, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %24 unwind label %46

24:                                               ; preds = %20
  %25 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  %26 = getelementptr inbounds i8, ptr %2, i64 232
  %27 = load i32, ptr %26, align 8, !tbaa !55
  call void @_ZN6Assimp11ObjExporter15GetMaterialNameB5cxx11Ej(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(1120) %0, i32 noundef %27)
  %28 = getelementptr inbounds i8, ptr %15, i64 32
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  %30 = getelementptr inbounds i8, ptr %15, i64 64
  %31 = getelementptr inbounds i8, ptr %2, i64 8
  %32 = load i32, ptr %31, align 8, !tbaa !61
  %33 = zext i32 %32 to i64
  call void @_ZNSt6vectorIN6Assimp11ObjExporter4FaceESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %33)
  %34 = load i32, ptr %31, align 8, !tbaa !61
  %.not78 = icmp eq i32 %34, 0
  br i1 %.not78, label %._crit_edge77, label %.lr.ph76

.lr.ph76:                                         ; preds = %24
  %35 = getelementptr inbounds i8, ptr %2, i64 208
  %36 = getelementptr inbounds i8, ptr %2, i64 16
  %37 = getelementptr inbounds i8, ptr %0, i64 1008
  %.sroa.58.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  %38 = getelementptr inbounds i8, ptr %9, i64 12
  %39 = getelementptr inbounds i8, ptr %9, i64 24
  %.sroa.58.0..sroa_idx9 = getelementptr inbounds i8, ptr %10, i64 8
  %40 = getelementptr inbounds i8, ptr %10, i64 12
  %41 = getelementptr inbounds i8, ptr %10, i64 24
  %42 = getelementptr inbounds i8, ptr %2, i64 24
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %43 = getelementptr inbounds i8, ptr %0, i64 896
  %44 = getelementptr inbounds i8, ptr %2, i64 112
  %45 = getelementptr inbounds i8, ptr %0, i64 952
  br label %48

._crit_edge77:                                    ; preds = %._crit_edge, %24
  ret void

46:                                               ; preds = %20
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  resume { ptr, i32 } %47

48:                                               ; preds = %.lr.ph76, %._crit_edge
  %indvars.iv81 = phi i64 [ 0, %.lr.ph76 ], [ %indvars.iv.next82, %._crit_edge ]
  %49 = load ptr, ptr %35, align 8, !tbaa !62
  %50 = getelementptr inbounds %struct.aiFace, ptr %49, i64 %indvars.iv81
  %51 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN6Assimp11ObjExporter4FaceESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv81) #5
  %52 = load i32, ptr %50, align 8, !tbaa !63
  %switch.selectcmp = icmp eq i32 %52, 2
  %switch.select = select i1 %switch.selectcmp, i8 108, i8 102
  %switch.selectcmp87 = icmp eq i32 %52, 1
  %switch.select88 = select i1 %switch.selectcmp87, i8 112, i8 %switch.select
  store i8 %switch.select88, ptr %51, align 8, !tbaa !65
  %53 = getelementptr inbounds i8, ptr %51, i64 8
  %54 = zext i32 %52 to i64
  call void @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %54)
  %55 = load i32, ptr %50, align 8, !tbaa !63
  %.not79 = icmp eq i32 %55, 0
  br i1 %.not79, label %._crit_edge, label %.lr.ph

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

._crit_edge:                                      ; preds = %94, %48
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %57 = load i32, ptr %31, align 8, !tbaa !61
  %58 = zext i32 %57 to i64
  %59 = icmp ult i64 %indvars.iv.next82, %58
  br i1 %59, label %48, label %._crit_edge77, !llvm.loop !71

60:                                               ; preds = %.lr.ph, %94
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %94 ]
  %61 = load ptr, ptr %56, align 8, !tbaa !73
  %62 = getelementptr inbounds i32, ptr %61, i64 %indvars.iv
  %63 = load i32, ptr %62, align 4, !tbaa !74
  %64 = select i1 %4, i32 0, i32 %63
  %65 = load ptr, ptr %36, align 8, !tbaa !75
  %66 = zext i32 %63 to i64
  %67 = getelementptr inbounds %class.aiVector3t, ptr %65, i64 %66
  %68 = call { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix4x4tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(12) %67)
  %.fca.0.extract2 = extractvalue { <2 x float>, float } %68, 0
  %.fca.1.extract3 = extractvalue { <2 x float>, float } %68, 1
  %69 = load ptr, ptr %16, align 8, !tbaa !5
  %.not70 = icmp eq ptr %69, null
  br i1 %.not70, label %74, label %70

70:                                               ; preds = %60
  %71 = getelementptr inbounds %class.aiColor4t, ptr %69, i64 %66
  %.sroa.01.0.copyload = load float, ptr %71, align 4, !tbaa !76
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %71, i64 4
  %.sroa.4.0.copyload = load float, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !76
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %71, i64 8
  %.sroa.5.0.copyload = load float, ptr %.sroa.5.0..sroa_idx, align 4, !tbaa !76
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %9) #5
  store <2 x float> %.fca.0.extract2, ptr %9, align 8
  store float %.fca.1.extract3, ptr %.sroa.58.0..sroa_idx, align 8, !tbaa !76
  call void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %38, float noundef %.sroa.01.0.copyload, float noundef %.sroa.4.0.copyload, float noundef %.sroa.5.0.copyload)
  store i32 %64, ptr %39, align 8, !tbaa !77
  %72 = call noundef i32 @_ZN6Assimp11ObjExporter8indexMapINS0_10vertexDataENS0_17vertexDataCompareEE8getIndexERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %37, ptr noundef nonnull align 4 dereferenceable(28) %9)
  %73 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %indvars.iv) #5
  store i32 %72, ptr %73, align 4, !tbaa !80
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %9) #5
  br label %77

74:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %10) #5
  store <2 x float> %.fca.0.extract2, ptr %10, align 8
  store float %.fca.1.extract3, ptr %.sroa.58.0..sroa_idx9, align 8, !tbaa !76
  call void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %40, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  store i32 %64, ptr %41, align 8, !tbaa !77
  %75 = call noundef i32 @_ZN6Assimp11ObjExporter8indexMapINS0_10vertexDataENS0_17vertexDataCompareEE8getIndexERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %37, ptr noundef nonnull align 4 dereferenceable(28) %10)
  %76 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %indvars.iv) #5
  store i32 %75, ptr %76, align 4, !tbaa !80
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %10) #5
  br label %77

77:                                               ; preds = %74, %70
  %78 = load ptr, ptr %42, align 8, !tbaa !82
  %.not71 = icmp eq ptr %78, null
  br i1 %.not71, label %86, label %79

79:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %12) #5
  call void @_ZN12aiMatrix3x3tIfEC2ERK12aiMatrix4x4tIfE(ptr noundef nonnull align 4 dereferenceable(36) %12, ptr noundef nonnull align 4 dereferenceable(64) %3)
  %80 = load ptr, ptr %42, align 8, !tbaa !82
  %81 = getelementptr inbounds %class.aiVector3t, ptr %80, i64 %66
  %82 = call { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix3x3tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(36) %12, ptr noundef nonnull align 4 dereferenceable(12) %81)
  %.fca.0.extract = extractvalue { <2 x float>, float } %82, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %82, 1
  store <2 x float> %.fca.0.extract, ptr %11, align 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %12) #5
  %83 = call noundef i32 @_ZN6Assimp11ObjExporter8indexMapI10aiVector3tIfENS0_15aiVectorCompareEE8getIndexERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %43, ptr noundef nonnull align 4 dereferenceable(12) %11)
  %84 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %indvars.iv) #5
  %85 = getelementptr inbounds i8, ptr %84, i64 4
  store i32 %83, ptr %85, align 4, !tbaa !83
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #5
  br label %89

86:                                               ; preds = %77
  %87 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %indvars.iv) #5
  %88 = getelementptr inbounds i8, ptr %87, i64 4
  store i32 0, ptr %88, align 4, !tbaa !83
  br label %89

89:                                               ; preds = %86, %79
  %90 = load ptr, ptr %44, align 8, !tbaa !5
  %.not72 = icmp eq ptr %90, null
  br i1 %.not72, label %94, label %91

91:                                               ; preds = %89
  %92 = getelementptr inbounds %class.aiVector3t, ptr %90, i64 %66
  %93 = call noundef i32 @_ZN6Assimp11ObjExporter8indexMapI10aiVector3tIfENS0_15aiVectorCompareEE8getIndexERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef nonnull align 4 dereferenceable(12) %92)
  br label %94

94:                                               ; preds = %89, %91
  %.sink84 = phi i32 [ %93, %91 ], [ 0, %89 ]
  %95 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %indvars.iv) #5
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  store i32 %.sink84, ptr %96, align 4, !tbaa !84
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %97 = load i32, ptr %50, align 8, !tbaa !63
  %98 = zext i32 %97 to i64
  %99 = icmp ult i64 %indvars.iv.next, %98
  br i1 %99, label %60, label %._crit_edge, !llvm.loop !85
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN6Assimp11ObjExporter4FaceESaIS2_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(32) ptr @_ZNSt6vectorIN6Assimp11ObjExporter4FaceESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix4x4tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Assimp11ObjExporter8indexMapINS0_10vertexDataENS0_17vertexDataCompareEE8getIndexERKS2_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(28)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix3x3tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Assimp11ObjExporter8indexMapI10aiVector3tIfENS0_15aiVectorCompareEE8getIndexERKS3_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !32, i64 888}
!10 = !{!"_ZTSN6Assimp11ObjExporterE", !11, i64 0, !11, i64 376, !17, i64 752, !6, i64 784, !20, i64 792, !20, i64 816, !24, i64 840, !28, i64 864, !32, i64 888, !33, i64 896, !33, i64 952, !43, i64 1008, !49, i64 1064, !17, i64 1088}
!11 = !{!"_ZTSNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8}
!12 = !{!"_ZTSSo"}
!13 = !{!"_ZTSNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE", !14, i64 0, !16, i64 64, !17, i64 72}
!14 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56}
!15 = !{!"_ZTSSt6locale", !6, i64 0}
!16 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSSt6vectorI10aiVector3tIfESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseI10aiVector3tIfESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI10aiVector3tIfESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI10aiVector3tIfESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt6vectorI9aiColor4tIfESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseI9aiColor4tIfESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseI9aiColor4tIfESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseI9aiColor4tIfESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt6vectorIN6Assimp11ObjExporter10vertexDataESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN6Assimp11ObjExporter10vertexDataESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter10vertexDataESaIS2_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter10vertexDataESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"bool", !7, i64 0}
!33 = !{!"_ZTSN6Assimp11ObjExporter8indexMapI10aiVector3tIfENS0_15aiVectorCompareEEE", !34, i64 0, !35, i64 8}
!34 = !{!"int", !7, i64 0}
!35 = !{!"_ZTSSt3mapI10aiVector3tIfEiN6Assimp11ObjExporter15aiVectorCompareESaISt4pairIKS1_iEEE", !36, i64 0}
!36 = !{!"_ZTSSt8_Rb_treeI10aiVector3tIfESt4pairIKS1_iESt10_Select1stIS4_EN6Assimp11ObjExporter15aiVectorCompareESaIS4_EE", !37, i64 0}
!37 = !{!"_ZTSNSt8_Rb_treeI10aiVector3tIfESt4pairIKS1_iESt10_Select1stIS4_EN6Assimp11ObjExporter15aiVectorCompareESaIS4_EE13_Rb_tree_implIS9_Lb1EEE", !38, i64 0, !40, i64 8}
!38 = !{!"_ZTSSt20_Rb_tree_key_compareIN6Assimp11ObjExporter15aiVectorCompareEE", !39, i64 0}
!39 = !{!"_ZTSN6Assimp11ObjExporter15aiVectorCompareE"}
!40 = !{!"_ZTSSt15_Rb_tree_header", !41, i64 0, !19, i64 32}
!41 = !{!"_ZTSSt18_Rb_tree_node_base", !42, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!42 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!43 = !{!"_ZTSN6Assimp11ObjExporter8indexMapINS0_10vertexDataENS0_17vertexDataCompareEEE", !34, i64 0, !44, i64 8}
!44 = !{!"_ZTSSt3mapIN6Assimp11ObjExporter10vertexDataEiNS1_17vertexDataCompareESaISt4pairIKS2_iEEE", !45, i64 0}
!45 = !{!"_ZTSSt8_Rb_treeIN6Assimp11ObjExporter10vertexDataESt4pairIKS2_iESt10_Select1stIS5_ENS1_17vertexDataCompareESaIS5_EE", !46, i64 0}
!46 = !{!"_ZTSNSt8_Rb_treeIN6Assimp11ObjExporter10vertexDataESt4pairIKS2_iESt10_Select1stIS5_ENS1_17vertexDataCompareESaIS5_EE13_Rb_tree_implIS8_Lb1EEE", !47, i64 0, !40, i64 8}
!47 = !{!"_ZTSSt20_Rb_tree_key_compareIN6Assimp11ObjExporter17vertexDataCompareEE", !48, i64 0}
!48 = !{!"_ZTSN6Assimp11ObjExporter17vertexDataCompareE"}
!49 = !{!"_ZTSSt6vectorIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter12MeshInstanceESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!53 = !{!54, !34, i64 0}
!54 = !{!"_ZTS8aiString", !34, i64 0, !7, i64 4}
!55 = !{!56, !34, i64 232}
!56 = !{!"_ZTS6aiMesh", !34, i64 0, !34, i64 4, !34, 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, !34, i64 216, !6, i64 224, !34, i64 232, !54, i64 236, !34, i64 1264, !6, i64 1272, !57, i64 1280, !58, i64 1284, !6, i64 1312}
!57 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!58 = !{!"_ZTS6aiAABB", !59, i64 0, !59, i64 12}
!59 = !{!"_ZTS10aiVector3tIfE", !60, i64 0, !60, i64 4, !60, i64 8}
!60 = !{!"float", !7, i64 0}
!61 = !{!56, !34, i64 8}
!62 = !{!56, !6, i64 208}
!63 = !{!64, !34, i64 0}
!64 = !{!"_ZTS6aiFace", !34, i64 0, !6, i64 8}
!65 = !{!66, !7, i64 0}
!66 = !{!"_ZTSN6Assimp11ObjExporter4FaceE", !7, i64 0, !67, i64 8}
!67 = !{!"_ZTSSt6vectorIN6Assimp11ObjExporter10FaceVertexESaIS2_EE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseIN6Assimp11ObjExporter10FaceVertexESaIS2_EE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter10FaceVertexESaIS2_EE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIN6Assimp11ObjExporter10FaceVertexESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!71 = distinct !{!71, !72}
!72 = !{!"llvm.loop.mustprogress"}
!73 = !{!64, !6, i64 8}
!74 = !{!34, !34, i64 0}
!75 = !{!56, !6, i64 16}
!76 = !{!60, !60, i64 0}
!77 = !{!78, !34, i64 24}
!78 = !{!"_ZTSN6Assimp11ObjExporter10vertexDataE", !59, i64 0, !79, i64 12, !34, i64 24}
!79 = !{!"_ZTS9aiColor3D", !60, i64 0, !60, i64 4, !60, i64 8}
!80 = !{!81, !34, i64 0}
!81 = !{!"_ZTSN6Assimp11ObjExporter10FaceVertexE", !34, i64 0, !34, i64 4, !34, i64 8}
!82 = !{!56, !6, i64 24}
!83 = !{!81, !34, i64 4}
!84 = !{!81, !34, i64 8}
!85 = distinct !{!85, !72}


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