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

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

%"class.std::unique_ptr.434" = type { %"struct.std::__uniq_ptr_data.435" }
%"struct.std::__uniq_ptr_data.435" = type { %"class.std::__uniq_ptr_impl.436" }
%"class.std::__uniq_ptr_impl.436" = type { %"class.std::tuple.437" }
%"class.std::tuple.437" = type { %"struct.std::_Tuple_impl.438" }
%"struct.std::_Tuple_impl.438" = type { %"struct.std::_Head_base.441" }
%"struct.std::_Head_base.441" = type { ptr }
%class.aiVector3t = type { float, float, float }
%struct.aiNodeAnim = type { %struct.aiString, i32, ptr, i32, ptr, i32, ptr, i32, i32 }
%struct.aiString = type { i32, [1024 x i8] }
%struct.aiVectorKey = type { double, %class.aiVector3t, i32 }

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK6Assimp3FBX5Model13RotationOrderEv(ptr noundef nonnull align 8 dereferenceable(208)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN6Assimp3FBX12FBXConverter24GenerateRotationNodeAnimERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_5ModelERKSt6vectorIPKNS0_18AnimationCurveNodeESaISG_EERKSt3mapISG_PKNS0_14AnimationLayerESt4lessISG_ESaISt4pairIKSG_SO_EEEllRdSY_(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(208) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i64 noundef %5, i64 noundef %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::unique_ptr.434", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca %class.aiVector3t, align 4
  %23 = alloca %class.aiVector3t, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store i64 %5, ptr %15, align 8, !tbaa !9
  store i64 %6, ptr %16, align 8, !tbaa !9
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  %24 = load ptr, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %25 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 1080) #6
  call void @_ZN10aiNodeAnimC2Ev(ptr noundef nonnull align 8 dereferenceable(1080) %25) #5
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %25) #5
  %26 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %27 = getelementptr inbounds %struct.aiNodeAnim, ptr %26, i32 0, i32 0
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028) %27, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %29 unwind label %87

29:                                               ; preds = %9
  %30 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %31 = load ptr, ptr %13, align 8, !tbaa !5
  %32 = load ptr, ptr %14, align 8, !tbaa !5
  %33 = load i64, ptr %15, align 8, !tbaa !9
  %34 = load i64, ptr %16, align 8, !tbaa !9
  %35 = load ptr, ptr %17, align 8, !tbaa !5
  %36 = load ptr, ptr %18, align 8, !tbaa !5
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  %38 = invoke noundef i32 @_ZNK6Assimp3FBX5Model13RotationOrderEv(ptr noundef nonnull align 8 dereferenceable(208) %37)
          to label %39 unwind label %87

39:                                               ; preds = %29
  invoke void @_ZN6Assimp3FBX12FBXConverter19ConvertRotationKeysEP10aiNodeAnimRKSt6vectorIPKNS0_18AnimationCurveNodeESaIS7_EERKSt3mapIS7_PKNS0_14AnimationLayerESt4lessIS7_ESaISt4pairIKS7_SF_EEEllRdSP_NS0_5Model8RotOrderE(ptr noundef nonnull align 8 dereferenceable(489) %24, ptr noundef %30, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(48) %32, i64 noundef %33, i64 noundef %34, ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36, i32 noundef %38)
          to label %40 unwind label %87

40:                                               ; preds = %39
  %41 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 24) #6
          to label %42 unwind label %87

42:                                               ; preds = %40
  %43 = getelementptr inbounds %struct.aiVectorKey, ptr %41, i64 1
  br label %44

44:                                               ; preds = %44, %42
  %45 = phi ptr [ %41, %42 ], [ %46, %44 ]
  call void @_ZN11aiVectorKeyC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  %46 = getelementptr inbounds %struct.aiVectorKey, ptr %45, i64 1
  %47 = icmp eq ptr %46, %43
  br i1 %47, label %48, label %44

48:                                               ; preds = %44
  %49 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %50 = getelementptr inbounds %struct.aiNodeAnim, ptr %49, i32 0, i32 6
  store ptr %41, ptr %50, align 8, !tbaa !11
  %51 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %52 = getelementptr inbounds %struct.aiNodeAnim, ptr %51, i32 0, i32 5
  store i32 1, ptr %52, align 8, !tbaa !16
  %53 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %54 = getelementptr inbounds %struct.aiNodeAnim, ptr %53, i32 0, i32 6
  %55 = load ptr, ptr %54, align 8, !tbaa !11
  %56 = getelementptr inbounds %struct.aiVectorKey, ptr %55, i64 0
  %57 = getelementptr inbounds %struct.aiVectorKey, ptr %56, i32 0, i32 0
  store double 0.000000e+00, ptr %57, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #5
  invoke void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %22, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %58 unwind label %91

58:                                               ; preds = %48
  %59 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %60 = getelementptr inbounds %struct.aiNodeAnim, ptr %59, i32 0, i32 6
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = getelementptr inbounds %struct.aiVectorKey, ptr %61, i64 0
  %63 = getelementptr inbounds %struct.aiVectorKey, ptr %62, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %63, ptr align 4 %22, i64 12, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #5
  %64 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 24) #6
          to label %65 unwind label %87

65:                                               ; preds = %58
  %66 = getelementptr inbounds %struct.aiVectorKey, ptr %64, i64 1
  br label %67

67:                                               ; preds = %67, %65
  %68 = phi ptr [ %64, %65 ], [ %69, %67 ]
  call void @_ZN11aiVectorKeyC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #5
  %69 = getelementptr inbounds %struct.aiVectorKey, ptr %68, i64 1
  %70 = icmp eq ptr %69, %66
  br i1 %70, label %71, label %67

71:                                               ; preds = %67
  %72 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %73 = getelementptr inbounds %struct.aiNodeAnim, ptr %72, i32 0, i32 2
  store ptr %64, ptr %73, align 8, !tbaa !25
  %74 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %75 = getelementptr inbounds %struct.aiNodeAnim, ptr %74, i32 0, i32 1
  store i32 1, ptr %75, align 4, !tbaa !26
  %76 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %77 = getelementptr inbounds %struct.aiNodeAnim, ptr %76, i32 0, i32 2
  %78 = load ptr, ptr %77, align 8, !tbaa !25
  %79 = getelementptr inbounds %struct.aiVectorKey, ptr %78, i64 0
  %80 = getelementptr inbounds %struct.aiVectorKey, ptr %79, i32 0, i32 0
  store double 0.000000e+00, ptr %80, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 12, ptr %23) #5
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %23) #5
  %81 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %82 = getelementptr inbounds %struct.aiNodeAnim, ptr %81, i32 0, i32 2
  %83 = load ptr, ptr %82, align 8, !tbaa !25
  %84 = getelementptr inbounds %struct.aiVectorKey, ptr %83, i64 0
  %85 = getelementptr inbounds %struct.aiVectorKey, ptr %84, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %85, ptr align 4 %23, i64 12, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #5
  %86 = call noundef ptr @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  ret ptr %86

87:                                               ; preds = %58, %40, %39, %29, %9
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %20, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %21, align 4
  br label %95

91:                                               ; preds = %48
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %20, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #5
  br label %95

95:                                               ; preds = %91, %87
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %96

96:                                               ; preds = %95
  %97 = load ptr, ptr %20, align 8
  %98 = load i32, ptr %21, align 4
  %99 = insertvalue { ptr, i32 } poison, ptr %97, 0
  %100 = insertvalue { ptr, i32 } %99, i32 %98, 1
  resume { ptr, i32 } %100
}

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 1064}
!12 = !{!"_ZTS10aiNodeAnim", !13, i64 0, !14, i64 1028, !6, i64 1032, !14, i64 1040, !6, i64 1048, !14, i64 1056, !6, i64 1064, !15, i64 1072, !15, i64 1076}
!13 = !{!"_ZTS8aiString", !14, i64 0, !7, i64 4}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS15aiAnimBehaviour", !7, i64 0}
!16 = !{!12, !14, i64 1056}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTS11aiVectorKey", !19, i64 0, !20, i64 8, !22, i64 20}
!19 = !{!"double", !7, i64 0}
!20 = !{!"_ZTS10aiVector3tIfE", !21, i64 0, !21, i64 4, !21, i64 8}
!21 = !{!"float", !7, i64 0}
!22 = !{!"_ZTS19aiAnimInterpolation", !7, i64 0}
!23 = !{i64 0, i64 4, !24, i64 4, i64 4, !24, i64 8, i64 4, !24}
!24 = !{!21, !21, i64 0}
!25 = !{!12, !6, i64 1032}
!26 = !{!12, !14, i64 1028}


; 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::unique_ptr.434" = type { %"struct.std::__uniq_ptr_data.435" }
%"struct.std::__uniq_ptr_data.435" = type { %"class.std::__uniq_ptr_impl.436" }
%"class.std::__uniq_ptr_impl.436" = type { %"class.std::tuple.437" }
%"class.std::tuple.437" = type { %"struct.std::_Tuple_impl.438" }
%"struct.std::_Tuple_impl.438" = type { %"struct.std::_Head_base.441" }
%"struct.std::_Head_base.441" = type { ptr }
%class.aiVector3t = type { float, float, float }

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 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) #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK6Assimp3FBX5Model13RotationOrderEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN6Assimp3FBX12FBXConverter24GenerateRotationNodeAnimERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_5ModelERKSt6vectorIPKNS0_18AnimationCurveNodeESaISG_EERKSt3mapISG_PKNS0_14AnimationLayerESt4lessISG_ESaISt4pairIKSG_SO_EEEllRdSY_(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(208) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i64 noundef %5, i64 noundef %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.std::unique_ptr.434", align 8
  %11 = alloca %class.aiVector3t, align 4
  %12 = alloca %class.aiVector3t, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %13 = tail call noalias noundef nonnull dereferenceable(1080) ptr @_Znwm(i64 noundef 1080) #6
  tail call void @_ZN10aiNodeAnimC2Ev(ptr noundef nonnull align 8 dereferenceable(1080) %13) #5
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull %13) #5
  %14 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028) %14, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %15 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %16 = invoke noundef i32 @_ZNK6Assimp3FBX5Model13RotationOrderEv(ptr noundef nonnull align 8 dereferenceable(208) %2)
          to label %17 unwind label %44

17:                                               ; preds = %9
  invoke void @_ZN6Assimp3FBX12FBXConverter19ConvertRotationKeysEP10aiNodeAnimRKSt6vectorIPKNS0_18AnimationCurveNodeESaIS7_EERKSt3mapIS7_PKNS0_14AnimationLayerESt4lessIS7_ESaISt4pairIKS7_SF_EEEllRdSP_NS0_5Model8RotOrderE(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef %15, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i64 noundef %5, i64 noundef %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %16)
          to label %18 unwind label %44

18:                                               ; preds = %17
  %19 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znam(i64 noundef 24) #6
          to label %.preheader10.preheader unwind label %44

.preheader10.preheader:                           ; preds = %18
  call void @_ZN11aiVectorKeyC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  %20 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %21 = getelementptr inbounds i8, ptr %20, i64 1064
  store ptr %19, ptr %21, align 8, !tbaa !5
  %22 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %23 = getelementptr inbounds i8, ptr %22, i64 1056
  store i32 1, ptr %23, align 8, !tbaa !13
  %24 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %25 = getelementptr inbounds i8, ptr %24, i64 1064
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  store double 0.000000e+00, ptr %26, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #5
  call void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %11, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %27 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %28 = getelementptr inbounds i8, ptr %27, i64 1064
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(12) %11, i64 12, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #5
  %31 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znam(i64 noundef 24) #6
          to label %.preheader.preheader unwind label %44

.preheader.preheader:                             ; preds = %.preheader10.preheader
  call void @_ZN11aiVectorKeyC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  %32 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %33 = getelementptr inbounds i8, ptr %32, i64 1032
  store ptr %31, ptr %33, align 8, !tbaa !22
  %34 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %35 = getelementptr inbounds i8, ptr %34, i64 1028
  store i32 1, ptr %35, align 4, !tbaa !23
  %36 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %37 = getelementptr inbounds i8, ptr %36, i64 1032
  %38 = load ptr, ptr %37, align 8, !tbaa !22
  store double 0.000000e+00, ptr %38, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #5
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %12) #5
  %39 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %40 = getelementptr inbounds i8, ptr %39, i64 1032
  %41 = load ptr, ptr %40, align 8, !tbaa !22
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %12, i64 12, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #5
  %43 = call noundef ptr @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  ret ptr %43

44:                                               ; preds = %.preheader10.preheader, %18, %17, %9
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  resume { ptr, i32 } %45
}

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { 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, !11, i64 1064}
!6 = !{!"_ZTS10aiNodeAnim", !7, i64 0, !8, i64 1028, !11, i64 1032, !8, i64 1040, !11, i64 1048, !8, i64 1056, !11, i64 1064, !12, i64 1072, !12, i64 1076}
!7 = !{!"_ZTS8aiString", !8, i64 0, !9, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTS15aiAnimBehaviour", !9, i64 0}
!13 = !{!6, !8, i64 1056}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTS11aiVectorKey", !16, i64 0, !17, i64 8, !19, i64 20}
!16 = !{!"double", !9, i64 0}
!17 = !{!"_ZTS10aiVector3tIfE", !18, i64 0, !18, i64 4, !18, i64 8}
!18 = !{!"float", !9, i64 0}
!19 = !{!"_ZTS19aiAnimInterpolation", !9, i64 0}
!20 = !{i64 0, i64 4, !21, i64 4, i64 4, !21, i64 8, i64 4, !21}
!21 = !{!18, !18, i64 0}
!22 = !{!6, !11, i64 1032}
!23 = !{!6, !8, i64 1028}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass