; 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 }
%class.aiQuaterniont = type { float, 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 }
%struct.aiQuatKey = type <{ double, %class.aiQuaterniont, i32, [4 x i8] }>

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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN6Assimp3FBX12FBXConverter27GenerateTranslationNodeAnimERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_5ModelERKSt6vectorIPKNS0_18AnimationCurveNodeESaISG_EERKSt3mapISG_PKNS0_14AnimationLayerESt4lessISG_ESaISt4pairIKSG_SO_EEEllRdSY_b(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, i1 noundef zeroext %9) #5 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i8, align 1
  %21 = alloca %"class.std::unique_ptr.434", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %class.aiVector3t, align 4
  %26 = alloca %class.aiQuaterniont, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store ptr %4, ptr %15, align 8, !tbaa !5
  store i64 %5, ptr %16, align 8, !tbaa !9
  store i64 %6, ptr %17, align 8, !tbaa !9
  store ptr %7, ptr %18, align 8, !tbaa !5
  store ptr %8, ptr %19, align 8, !tbaa !5
  %27 = zext i1 %9 to i8
  store i8 %27, ptr %20, align 1, !tbaa !11
  %28 = load ptr, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %29 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 1080) #7
  call void @_ZN10aiNodeAnimC2Ev(ptr noundef nonnull align 8 dereferenceable(1080) %29) #6
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef %29) #6
  %30 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %31 = getelementptr inbounds %struct.aiNodeAnim, ptr %30, i32 0, i32 0
  %32 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028) %31, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %33 unwind label %52

33:                                               ; preds = %10
  %34 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  %36 = load ptr, ptr %15, align 8, !tbaa !5
  %37 = load i64, ptr %16, align 8, !tbaa !9
  %38 = load i64, ptr %17, align 8, !tbaa !9
  %39 = load ptr, ptr %18, align 8, !tbaa !5
  %40 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN6Assimp3FBX12FBXConverter22ConvertTranslationKeysEP10aiNodeAnimRKSt6vectorIPKNS0_18AnimationCurveNodeESaIS7_EERKSt3mapIS7_PKNS0_14AnimationLayerESt4lessIS7_ESaISt4pairIKS7_SF_EEEllRdSP_(ptr noundef nonnull align 8 dereferenceable(489) %28, ptr noundef %34, ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(48) %36, i64 noundef %37, i64 noundef %38, ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %41 unwind label %52

41:                                               ; preds = %33
  %42 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %43 = trunc i8 %42 to i1
  br i1 %43, label %44, label %74

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 0, ptr %24, align 4, !tbaa !15
  br label %45

45:                                               ; preds = %66, %44
  %46 = load i32, ptr %24, align 4, !tbaa !15
  %47 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %48 = getelementptr inbounds %struct.aiNodeAnim, ptr %47, i32 0, i32 1
  %49 = load i32, ptr %48, align 4, !tbaa !17
  %50 = icmp ult i32 %46, %49
  br i1 %50, label %56, label %51

51:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %73

52:                                               ; preds = %92, %74, %33, %10
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %22, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %23, align 4
  br label %125

56:                                               ; preds = %45
  %57 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %58 = getelementptr inbounds %struct.aiNodeAnim, ptr %57, i32 0, i32 2
  %59 = load ptr, ptr %58, align 8, !tbaa !21
  %60 = load i32, ptr %24, align 4, !tbaa !15
  %61 = zext i32 %60 to i64
  %62 = getelementptr inbounds %struct.aiVectorKey, ptr %59, i64 %61
  %63 = getelementptr inbounds %struct.aiVectorKey, ptr %62, i32 0, i32 1
  %64 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLEf(ptr noundef nonnull align 4 dereferenceable(12) %63, float noundef -1.000000e+00)
          to label %65 unwind label %69

65:                                               ; preds = %56
  br label %66

66:                                               ; preds = %65
  %67 = load i32, ptr %24, align 4, !tbaa !15
  %68 = add i32 %67, 1
  store i32 %68, ptr %24, align 4, !tbaa !15
  br label %45, !llvm.loop !22

69:                                               ; preds = %56
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %22, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %125

73:                                               ; preds = %51
  br label %74

74:                                               ; preds = %73, %41
  %75 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 24) #7
          to label %76 unwind label %52

76:                                               ; preds = %74
  %77 = getelementptr inbounds %struct.aiVectorKey, ptr %75, i64 1
  br label %78

78:                                               ; preds = %78, %76
  %79 = phi ptr [ %75, %76 ], [ %80, %78 ]
  call void @_ZN11aiVectorKeyC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #6
  %80 = getelementptr inbounds %struct.aiVectorKey, ptr %79, i64 1
  %81 = icmp eq ptr %80, %77
  br i1 %81, label %82, label %78

82:                                               ; preds = %78
  %83 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %84 = getelementptr inbounds %struct.aiNodeAnim, ptr %83, i32 0, i32 6
  store ptr %75, ptr %84, align 8, !tbaa !24
  %85 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %86 = getelementptr inbounds %struct.aiNodeAnim, ptr %85, i32 0, i32 5
  store i32 1, ptr %86, align 8, !tbaa !25
  %87 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %88 = getelementptr inbounds %struct.aiNodeAnim, ptr %87, i32 0, i32 6
  %89 = load ptr, ptr %88, align 8, !tbaa !24
  %90 = getelementptr inbounds %struct.aiVectorKey, ptr %89, i64 0
  %91 = getelementptr inbounds %struct.aiVectorKey, ptr %90, i32 0, i32 0
  store double 0.000000e+00, ptr %91, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #6
  invoke void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %25, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %92 unwind label %121

92:                                               ; preds = %82
  %93 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %94 = getelementptr inbounds %struct.aiNodeAnim, ptr %93, i32 0, i32 6
  %95 = load ptr, ptr %94, align 8, !tbaa !24
  %96 = getelementptr inbounds %struct.aiVectorKey, ptr %95, i64 0
  %97 = getelementptr inbounds %struct.aiVectorKey, ptr %96, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %97, ptr align 4 %25, i64 12, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #6
  %98 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 32) #7
          to label %99 unwind label %52

99:                                               ; preds = %92
  %100 = getelementptr inbounds %struct.aiQuatKey, ptr %98, i64 1
  br label %101

101:                                              ; preds = %101, %99
  %102 = phi ptr [ %98, %99 ], [ %103, %101 ]
  call void @_ZN9aiQuatKeyC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %102) #6
  %103 = getelementptr inbounds %struct.aiQuatKey, ptr %102, i64 1
  %104 = icmp eq ptr %103, %100
  br i1 %104, label %105, label %101

105:                                              ; preds = %101
  %106 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %107 = getelementptr inbounds %struct.aiNodeAnim, ptr %106, i32 0, i32 4
  store ptr %98, ptr %107, align 8, !tbaa !34
  %108 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %109 = getelementptr inbounds %struct.aiNodeAnim, ptr %108, i32 0, i32 3
  store i32 1, ptr %109, align 8, !tbaa !35
  %110 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %111 = getelementptr inbounds %struct.aiNodeAnim, ptr %110, i32 0, i32 4
  %112 = load ptr, ptr %111, align 8, !tbaa !34
  %113 = getelementptr inbounds %struct.aiQuatKey, ptr %112, i64 0
  %114 = getelementptr inbounds %struct.aiQuatKey, ptr %113, i32 0, i32 0
  store double 0.000000e+00, ptr %114, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  call void @_ZN13aiQuaterniontIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %26) #6
  %115 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %116 = getelementptr inbounds %struct.aiNodeAnim, ptr %115, i32 0, i32 4
  %117 = load ptr, ptr %116, align 8, !tbaa !34
  %118 = getelementptr inbounds %struct.aiQuatKey, ptr %117, i64 0
  %119 = getelementptr inbounds %struct.aiQuatKey, ptr %118, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %119, ptr align 4 %26, i64 16, i1 false), !tbaa.struct !39
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  %120 = call noundef ptr @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  ret ptr %120

121:                                              ; preds = %82
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %22, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #6
  br label %125

125:                                              ; preds = %121, %69, %52
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %126

126:                                              ; preds = %125
  %127 = load ptr, ptr %22, align 8
  %128 = load i32, ptr %23, align 4
  %129 = insertvalue { ptr, i32 } poison, ptr %127, 0
  %130 = insertvalue { ptr, i32 } %129, i32 %128, 1
  resume { ptr, i32 } %130
}

; 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 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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter22ConvertTranslationKeysEP10aiNodeAnimRKSt6vectorIPKNS0_18AnimationCurveNodeESaIS7_EERKSt3mapIS7_PKNS0_14AnimationLayerESt4lessIS7_ESaISt4pairIKS7_SF_EEEllRdSP_(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)) #5 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 = { 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !16, i64 1028}
!18 = !{!"_ZTS10aiNodeAnim", !19, i64 0, !16, i64 1028, !6, i64 1032, !16, i64 1040, !6, i64 1048, !16, i64 1056, !6, i64 1064, !20, i64 1072, !20, i64 1076}
!19 = !{!"_ZTS8aiString", !16, i64 0, !7, i64 4}
!20 = !{!"_ZTS15aiAnimBehaviour", !7, i64 0}
!21 = !{!18, !6, i64 1032}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!18, !6, i64 1064}
!25 = !{!18, !16, i64 1056}
!26 = !{!27, !28, i64 0}
!27 = !{!"_ZTS11aiVectorKey", !28, i64 0, !29, i64 8, !31, i64 20}
!28 = !{!"double", !7, i64 0}
!29 = !{!"_ZTS10aiVector3tIfE", !30, i64 0, !30, i64 4, !30, i64 8}
!30 = !{!"float", !7, i64 0}
!31 = !{!"_ZTS19aiAnimInterpolation", !7, i64 0}
!32 = !{i64 0, i64 4, !33, i64 4, i64 4, !33, i64 8, i64 4, !33}
!33 = !{!30, !30, i64 0}
!34 = !{!18, !6, i64 1048}
!35 = !{!18, !16, i64 1040}
!36 = !{!37, !28, i64 0}
!37 = !{!"_ZTS9aiQuatKey", !28, i64 0, !38, i64 8, !31, i64 24}
!38 = !{!"_ZTS13aiQuaterniontIfE", !30, i64 0, !30, i64 4, !30, i64 8, !30, i64 12}
!39 = !{i64 0, i64 4, !33, i64 4, i64 4, !33, i64 8, i64 4, !33, i64 12, i64 4, !33}


; 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 }
%class.aiQuaterniont = type { float, float, float, float }
%struct.aiVectorKey = type { double, %class.aiVector3t, i32 }

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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN6Assimp3FBX12FBXConverter27GenerateTranslationNodeAnimERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_5ModelERKSt6vectorIPKNS0_18AnimationCurveNodeESaISG_EERKSt3mapISG_PKNS0_14AnimationLayerESt4lessISG_ESaISt4pairIKSG_SO_EEEllRdSY_b(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr nocapture noundef nonnull readnone 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, i1 noundef zeroext %9) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca %"class.std::unique_ptr.434", align 8
  %12 = alloca %class.aiVector3t, align 4
  %13 = alloca %class.aiQuaterniont, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %14 = tail call noalias noundef nonnull dereferenceable(1080) ptr @_Znwm(i64 noundef 1080) #7
  tail call void @_ZN10aiNodeAnimC2Ev(ptr noundef nonnull align 8 dereferenceable(1080) %14) #6
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %14) #6
  %15 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028) %15, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %16 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  invoke void @_ZN6Assimp3FBX12FBXConverter22ConvertTranslationKeysEP10aiNodeAnimRKSt6vectorIPKNS0_18AnimationCurveNodeESaIS7_EERKSt3mapIS7_PKNS0_14AnimationLayerESt4lessIS7_ESaISt4pairIKS7_SF_EEEllRdSP_(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef %16, 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)
          to label %17 unwind label %21

17:                                               ; preds = %10
  br i1 %9, label %.preheader14, label %.loopexit

.preheader14:                                     ; preds = %17
  %18 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %19 = getelementptr inbounds i8, ptr %18, i64 1028
  %20 = load i32, ptr %19, align 4, !tbaa !5
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %.loopexit, label %.lr.ph

21:                                               ; preds = %.preheader13.preheader, %.loopexit, %10
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  resume { ptr, i32 } %22

.lr.ph:                                           ; preds = %.preheader14, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader14 ]
  %23 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %24 = getelementptr inbounds i8, ptr %23, i64 1032
  %25 = load ptr, ptr %24, align 8, !tbaa !13
  %26 = getelementptr inbounds %struct.aiVectorKey, ptr %25, i64 %indvars.iv, i32 1
  %27 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN10aiVector3tIfEmLEf(ptr noundef nonnull align 4 dereferenceable(12) %26, float noundef -1.000000e+00)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %28 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %29 = getelementptr inbounds i8, ptr %28, i64 1028
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = zext i32 %30 to i64
  %32 = icmp ult i64 %indvars.iv.next, %31
  br i1 %32, label %.lr.ph, label %.loopexit, !llvm.loop !14

.loopexit:                                        ; preds = %.lr.ph, %.preheader14, %17
  %33 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znam(i64 noundef 24) #7
          to label %.preheader13.preheader unwind label %21

.preheader13.preheader:                           ; preds = %.loopexit
  call void @_ZN11aiVectorKeyC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  %34 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %35 = getelementptr inbounds i8, ptr %34, i64 1064
  store ptr %33, ptr %35, align 8, !tbaa !16
  %36 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %37 = getelementptr inbounds i8, ptr %36, i64 1056
  store i32 1, ptr %37, align 8, !tbaa !17
  %38 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %39 = getelementptr inbounds i8, ptr %38, i64 1064
  %40 = load ptr, ptr %39, align 8, !tbaa !16
  store double 0.000000e+00, ptr %40, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #6
  call void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %12, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %41 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %42 = getelementptr inbounds i8, ptr %41, i64 1064
  %43 = load ptr, ptr %42, align 8, !tbaa !16
  %44 = getelementptr inbounds i8, ptr %43, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %44, ptr noundef nonnull align 4 dereferenceable(12) %12, i64 12, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #6
  %45 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znam(i64 noundef 32) #7
          to label %.preheader.preheader unwind label %21

.preheader.preheader:                             ; preds = %.preheader13.preheader
  call void @_ZN9aiQuatKeyC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %45) #6
  %46 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %47 = getelementptr inbounds i8, ptr %46, i64 1048
  store ptr %45, ptr %47, align 8, !tbaa !26
  %48 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %49 = getelementptr inbounds i8, ptr %48, i64 1040
  store i32 1, ptr %49, align 8, !tbaa !27
  %50 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %51 = getelementptr inbounds i8, ptr %50, i64 1048
  %52 = load ptr, ptr %51, align 8, !tbaa !26
  store double 0.000000e+00, ptr %52, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  call void @_ZN13aiQuaterniontIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #6
  %53 = call noundef ptr @_ZNKSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %54 = getelementptr inbounds i8, ptr %53, i64 1048
  %55 = load ptr, ptr %54, align 8, !tbaa !26
  %56 = getelementptr inbounds i8, ptr %55, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 4 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  %57 = call noundef ptr @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @_ZNSt10unique_ptrI10aiNodeAnimSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  ret ptr %57
}

; 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 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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp3FBX12FBXConverter22ConvertTranslationKeysEP10aiNodeAnimRKSt6vectorIPKNS0_18AnimationCurveNodeESaIS7_EERKSt3mapIS7_PKNS0_14AnimationLayerESt4lessIS7_ESaISt4pairIKS7_SF_EEEllRdSP_(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)) local_unnamed_addr #5 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 = { 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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, !8, i64 1028}
!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, !11, i64 1032}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !11, i64 1064}
!17 = !{!6, !8, i64 1056}
!18 = !{!19, !20, i64 0}
!19 = !{!"_ZTS11aiVectorKey", !20, i64 0, !21, i64 8, !23, i64 20}
!20 = !{!"double", !9, i64 0}
!21 = !{!"_ZTS10aiVector3tIfE", !22, i64 0, !22, i64 4, !22, i64 8}
!22 = !{!"float", !9, i64 0}
!23 = !{!"_ZTS19aiAnimInterpolation", !9, i64 0}
!24 = !{i64 0, i64 4, !25, i64 4, i64 4, !25, i64 8, i64 4, !25}
!25 = !{!22, !22, i64 0}
!26 = !{!6, !11, i64 1048}
!27 = !{!6, !8, i64 1040}
!28 = !{!29, !20, i64 0}
!29 = !{!"_ZTS9aiQuatKey", !20, i64 0, !30, i64 8, !23, i64 24}
!30 = !{!"_ZTS13aiQuaterniontIfE", !22, i64 0, !22, i64 4, !22, i64 8, !22, i64 12}
!31 = !{i64 0, i64 4, !25, i64 4, i64 4, !25, i64 8, i64 4, !25, i64 12, i64 4, !25}


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