; LLVM IR from yangfengzzz/DigitalVox4 :: vox.render/scene_animation_clip.ll (ZN3vox18SceneAnimationClip6updateEf)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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::locale" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.vox::Vector" = type { float, float, float, float }
%"class.vox::Point" = type { float, float, float }
%"class.vox::Quaternion" = type { float, float, float, float }
%"class.vox::Vector.40" = type { float, float, float }
%"class.vox::SceneAnimationClip" = type <{ %"class.std::__cxx11::basic_string", %"class.std::vector", %"class.std::vector.3", float, float, float, [4 x i8] }>
%"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vox::SceneAnimationClip::AnimationSampler, std::allocator<vox::SceneAnimationClip::AnimationSampler>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::SceneAnimationClip::AnimationSampler, std::allocator<vox::SceneAnimationClip::AnimationSampler>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::SceneAnimationClip::AnimationSampler, std::allocator<vox::SceneAnimationClip::AnimationSampler>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::SceneAnimationClip::AnimationSampler, std::allocator<vox::SceneAnimationClip::AnimationSampler>>::_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<vox::SceneAnimationClip::AnimationChannel, std::allocator<vox::SceneAnimationClip::AnimationChannel>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::SceneAnimationClip::AnimationChannel, std::allocator<vox::SceneAnimationClip::AnimationChannel>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::SceneAnimationClip::AnimationChannel, std::allocator<vox::SceneAnimationClip::AnimationChannel>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::SceneAnimationClip::AnimationChannel, std::allocator<vox::SceneAnimationClip::AnimationChannel>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vox::SceneAnimationClip::AnimationChannel" = type <{ i32, [4 x i8], %"class.std::shared_ptr", i32, [4 x i8] }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.vox::SceneAnimationClip::AnimationSampler" = type { i32, %"class.std::vector.8", %"class.std::vector.13" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<vox::Vector<float, 4>, std::allocator<vox::Vector<float, 4>>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::Vector<float, 4>, std::allocator<vox::Vector<float, 4>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::Vector<float, 4>, std::allocator<vox::Vector<float, 4>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::Vector<float, 4>, std::allocator<vox::Vector<float, 4>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.vox::Entity" = type { %"class.std::__cxx11::basic_string", i32, ptr, i8, %"class.std::vector.18", %"class.std::vector.23", %"class.std::vector.28", ptr, i8, i8, ptr, %"class.std::vector.33", %"class.std::unique_ptr" }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<std::unique_ptr<vox::Component>, std::allocator<std::unique_ptr<vox::Component>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<vox::Component>, std::allocator<std::unique_ptr<vox::Component>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<vox::Component>, std::allocator<std::unique_ptr<vox::Component>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<vox::Component>, std::allocator<std::unique_ptr<vox::Component>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<vox::Script *, std::allocator<vox::Script *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::Script *, std::allocator<vox::Script *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::Script *, std::allocator<vox::Script *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::Script *, std::allocator<vox::Script *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<std::shared_ptr<vox::Entity>, std::allocator<std::shared_ptr<vox::Entity>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<vox::Entity>, std::allocator<std::shared_ptr<vox::Entity>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<vox::Entity>, std::allocator<std::shared_ptr<vox::Entity>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<vox::Entity>, std::allocator<std::shared_ptr<vox::Entity>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<vox::Component *, std::allocator<vox::Component *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::Component *, std::allocator<vox::Component *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::Component *, std::allocator<vox::Component *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::Component *, std::allocator<vox::Component *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.39" }
%"struct.std::_Head_base.39" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [49 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox18SceneAnimationClip6updateEf(ptr noundef nonnull align 8 dereferenceable(92) %0, float noundef %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca float, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca float, align 4
  %13 = alloca %"class.vox::Vector", align 4
  %14 = alloca %"class.vox::Point", align 4
  %15 = alloca %"class.vox::Quaternion", align 4
  %16 = alloca %"class.vox::Quaternion", align 4
  %17 = alloca %"class.vox::Quaternion", align 4
  %18 = alloca %"class.vox::Quaternion", align 4
  %19 = alloca %"class.vox::Vector", align 4
  %20 = alloca %"class.vox::Vector.40", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store float %1, ptr %4, align 4, !tbaa !9
  %21 = load ptr, ptr %3, align 8
  %22 = load float, ptr %4, align 4, !tbaa !9
  %23 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 5
  %24 = load float, ptr %23, align 8, !tbaa !11
  %25 = fadd float %24, %22
  store float %25, ptr %23, align 8, !tbaa !11
  %26 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 5
  %27 = load float, ptr %26, align 8, !tbaa !11
  %28 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 4
  %29 = load float, ptr %28, align 4, !tbaa !24
  %30 = fcmp ogt float %27, %29
  br i1 %30, label %31, label %37

31:                                               ; preds = %2
  %32 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 4
  %33 = load float, ptr %32, align 4, !tbaa !24
  %34 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 5
  %35 = load float, ptr %34, align 8, !tbaa !11
  %36 = fsub float %35, %33
  store float %36, ptr %34, align 8, !tbaa !11
  br label %37

37:                                               ; preds = %31, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %38 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 2
  store ptr %38, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = call ptr @_ZNSt6vectorIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %41 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  store ptr %40, ptr %41, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = call ptr @_ZNSt6vectorIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #6
  %44 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  br label %45

45:                                               ; preds = %243, %37
  %46 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3vox18SceneAnimationClip16AnimationChannelESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %46, label %48, label %47

47:                                               ; preds = %45
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %245

48:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %49 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3vox18SceneAnimationClip16AnimationChannelESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  store ptr %49, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %50 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 1
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationChannel", ptr %51, i32 0, i32 3
  %53 = load i32, ptr %52, align 8, !tbaa !25
  %54 = zext i32 %53 to i64
  %55 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %54) #6
  store ptr %55, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store i64 0, ptr %11, align 8, !tbaa !32
  br label %56

56:                                               ; preds = %239, %48
  %57 = load i64, ptr %11, align 8, !tbaa !32
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %58, i32 0, i32 1
  %60 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #6
  %61 = sub i64 %60, 1
  %62 = icmp ult i64 %57, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %56
  store i32 4, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %242

64:                                               ; preds = %56
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %65, i32 0, i32 0
  %67 = load i32, ptr %66, align 8, !tbaa !33
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %71

69:                                               ; preds = %64
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  br label %239

71:                                               ; preds = %64
  %72 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 5
  %73 = load float, ptr %72, align 8, !tbaa !11
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %74, i32 0, i32 1
  %76 = load i64, ptr %11, align 8, !tbaa !32
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %76) #6
  %78 = load float, ptr %77, align 4, !tbaa !9
  %79 = fcmp oge float %73, %78
  br i1 %79, label %80, label %238

80:                                               ; preds = %71
  %81 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 5
  %82 = load float, ptr %81, align 8, !tbaa !11
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %83, i32 0, i32 1
  %85 = load i64, ptr %11, align 8, !tbaa !32
  %86 = add i64 %85, 1
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %86) #6
  %88 = load float, ptr %87, align 4, !tbaa !9
  %89 = fcmp ole float %82, %88
  br i1 %89, label %90, label %238

90:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %91 = getelementptr inbounds %"class.vox::SceneAnimationClip", ptr %21, i32 0, i32 5
  %92 = load float, ptr %91, align 8, !tbaa !11
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %93, i32 0, i32 1
  %95 = load i64, ptr %11, align 8, !tbaa !32
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %95) #6
  %97 = load float, ptr %96, align 4, !tbaa !9
  %98 = fsub float %92, %97
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %99, i32 0, i32 1
  %101 = load i64, ptr %11, align 8, !tbaa !32
  %102 = add i64 %101, 1
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %102) #6
  %104 = load float, ptr %103, align 4, !tbaa !9
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %105, i32 0, i32 1
  %107 = load i64, ptr %11, align 8, !tbaa !32
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef %107) #6
  %109 = load float, ptr %108, align 4, !tbaa !9
  %110 = fsub float %104, %109
  %111 = fdiv float %98, %110
  store float %111, ptr %12, align 4, !tbaa !9
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationChannel", ptr %112, i32 0, i32 0
  %114 = load i32, ptr %113, align 8, !tbaa !44
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %116, label %138

116:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %117, i32 0, i32 2
  %119 = load i64, ptr %11, align 8, !tbaa !32
  %120 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %119) #6
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %121, i32 0, i32 2
  %123 = load i64, ptr %11, align 8, !tbaa !32
  %124 = add i64 %123, 1
  %125 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %124) #6
  %126 = load float, ptr %12, align 4, !tbaa !9
  call void @_ZN3vox4lerpINS_6VectorIfLm4EEEfEET_RKS3_S5_T0_(ptr dead_on_unwind writable sret(%"class.vox::Vector") align 4 %13, ptr noundef nonnull align 4 dereferenceable(16) %120, ptr noundef nonnull align 4 dereferenceable(16) %125, float noundef %126)
  %127 = load ptr, ptr %9, align 8, !tbaa !5
  %128 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationChannel", ptr %127, i32 0, i32 2
  %129 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3vox6EntityELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %128) #6
  %130 = getelementptr inbounds %"class.vox::Entity", ptr %129, i32 0, i32 2
  %131 = load ptr, ptr %130, align 8, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #6
  %132 = getelementptr inbounds %"class.vox::Vector", ptr %13, i32 0, i32 0
  %133 = load float, ptr %132, align 4, !tbaa !70
  %134 = getelementptr inbounds %"class.vox::Vector", ptr %13, i32 0, i32 1
  %135 = load float, ptr %134, align 4, !tbaa !72
  %136 = getelementptr inbounds %"class.vox::Vector", ptr %13, i32 0, i32 2
  %137 = load float, ptr %136, align 4, !tbaa !73
  call void @_ZN3vox5PointIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %14, float noundef %133, float noundef %135, float noundef %137)
  call void @_ZN3vox9Transform11setPositionERKNS_5PointIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(300) %131, ptr noundef nonnull align 4 dereferenceable(12) %14)
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %138

138:                                              ; preds = %116, %90
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationChannel", ptr %139, i32 0, i32 0
  %141 = load i32, ptr %140, align 8, !tbaa !44
  %142 = icmp eq i32 %141, 1
  br i1 %142, label %143, label %210

143:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  call void @_ZN3vox10QuaternionIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %144 = load ptr, ptr %10, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %144, i32 0, i32 2
  %146 = load i64, ptr %11, align 8, !tbaa !32
  %147 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef %146) #6
  %148 = getelementptr inbounds %"class.vox::Vector", ptr %147, i32 0, i32 0
  %149 = load float, ptr %148, align 4, !tbaa !70
  %150 = getelementptr inbounds %"class.vox::Quaternion", ptr %15, i32 0, i32 1
  store float %149, ptr %150, align 4, !tbaa !74
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %151, i32 0, i32 2
  %153 = load i64, ptr %11, align 8, !tbaa !32
  %154 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %153) #6
  %155 = getelementptr inbounds %"class.vox::Vector", ptr %154, i32 0, i32 1
  %156 = load float, ptr %155, align 4, !tbaa !72
  %157 = getelementptr inbounds %"class.vox::Quaternion", ptr %15, i32 0, i32 2
  store float %156, ptr %157, align 4, !tbaa !76
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %158, i32 0, i32 2
  %160 = load i64, ptr %11, align 8, !tbaa !32
  %161 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef %160) #6
  %162 = getelementptr inbounds %"class.vox::Vector", ptr %161, i32 0, i32 2
  %163 = load float, ptr %162, align 4, !tbaa !73
  %164 = getelementptr inbounds %"class.vox::Quaternion", ptr %15, i32 0, i32 3
  store float %163, ptr %164, align 4, !tbaa !77
  %165 = load ptr, ptr %10, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %165, i32 0, i32 2
  %167 = load i64, ptr %11, align 8, !tbaa !32
  %168 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %167) #6
  %169 = getelementptr inbounds %"class.vox::Vector", ptr %168, i32 0, i32 3
  %170 = load float, ptr %169, align 4, !tbaa !78
  %171 = getelementptr inbounds %"class.vox::Quaternion", ptr %15, i32 0, i32 0
  store float %170, ptr %171, align 4, !tbaa !79
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  call void @_ZN3vox10QuaternionIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %172 = load ptr, ptr %10, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %172, i32 0, i32 2
  %174 = load i64, ptr %11, align 8, !tbaa !32
  %175 = add i64 %174, 1
  %176 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %173, i64 noundef %175) #6
  %177 = getelementptr inbounds %"class.vox::Vector", ptr %176, i32 0, i32 0
  %178 = load float, ptr %177, align 4, !tbaa !70
  %179 = getelementptr inbounds %"class.vox::Quaternion", ptr %16, i32 0, i32 1
  store float %178, ptr %179, align 4, !tbaa !74
  %180 = load ptr, ptr %10, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %180, i32 0, i32 2
  %182 = load i64, ptr %11, align 8, !tbaa !32
  %183 = add i64 %182, 1
  %184 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %181, i64 noundef %183) #6
  %185 = getelementptr inbounds %"class.vox::Vector", ptr %184, i32 0, i32 1
  %186 = load float, ptr %185, align 4, !tbaa !72
  %187 = getelementptr inbounds %"class.vox::Quaternion", ptr %16, i32 0, i32 2
  store float %186, ptr %187, align 4, !tbaa !76
  %188 = load ptr, ptr %10, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %188, i32 0, i32 2
  %190 = load i64, ptr %11, align 8, !tbaa !32
  %191 = add i64 %190, 1
  %192 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %191) #6
  %193 = getelementptr inbounds %"class.vox::Vector", ptr %192, i32 0, i32 2
  %194 = load float, ptr %193, align 4, !tbaa !73
  %195 = getelementptr inbounds %"class.vox::Quaternion", ptr %16, i32 0, i32 3
  store float %194, ptr %195, align 4, !tbaa !77
  %196 = load ptr, ptr %10, align 8, !tbaa !5
  %197 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %196, i32 0, i32 2
  %198 = load i64, ptr %11, align 8, !tbaa !32
  %199 = add i64 %198, 1
  %200 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %197, i64 noundef %199) #6
  %201 = getelementptr inbounds %"class.vox::Vector", ptr %200, i32 0, i32 3
  %202 = load float, ptr %201, align 4, !tbaa !78
  %203 = getelementptr inbounds %"class.vox::Quaternion", ptr %16, i32 0, i32 0
  store float %202, ptr %203, align 4, !tbaa !79
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationChannel", ptr %204, i32 0, i32 2
  %206 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3vox6EntityELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %205) #6
  %207 = getelementptr inbounds %"class.vox::Entity", ptr %206, i32 0, i32 2
  %208 = load ptr, ptr %207, align 8, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %209 = load float, ptr %12, align 4, !tbaa !9
  call void @_ZN3vox5slerpIfEENS_10QuaternionIT_EERKS3_S5_S2_(ptr dead_on_unwind writable sret(%"class.vox::Quaternion") align 4 %18, ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef %209)
  call void @_ZNK3vox10QuaternionIfE10normalizedEv(ptr dead_on_unwind writable sret(%"class.vox::Quaternion") align 4 %17, ptr noundef nonnull align 4 dereferenceable(16) %18)
  call void @_ZN3vox9Transform21setRotationQuaternionERKNS_10QuaternionIfEE(ptr noundef nonnull align 8 dereferenceable(300) %208, ptr noundef nonnull align 4 dereferenceable(16) %17)
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %210

210:                                              ; preds = %143, %138
  %211 = load ptr, ptr %9, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationChannel", ptr %211, i32 0, i32 0
  %213 = load i32, ptr %212, align 8, !tbaa !44
  %214 = icmp eq i32 %213, 2
  br i1 %214, label %215, label %237

215:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  %216 = load ptr, ptr %10, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %216, i32 0, i32 2
  %218 = load i64, ptr %11, align 8, !tbaa !32
  %219 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %217, i64 noundef %218) #6
  %220 = load ptr, ptr %10, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationSampler", ptr %220, i32 0, i32 2
  %222 = load i64, ptr %11, align 8, !tbaa !32
  %223 = add i64 %222, 1
  %224 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %221, i64 noundef %223) #6
  %225 = load float, ptr %12, align 4, !tbaa !9
  call void @_ZN3vox4lerpINS_6VectorIfLm4EEEfEET_RKS3_S5_T0_(ptr dead_on_unwind writable sret(%"class.vox::Vector") align 4 %19, ptr noundef nonnull align 4 dereferenceable(16) %219, ptr noundef nonnull align 4 dereferenceable(16) %224, float noundef %225)
  %226 = load ptr, ptr %9, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.vox::SceneAnimationClip::AnimationChannel", ptr %226, i32 0, i32 2
  %228 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3vox6EntityELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %227) #6
  %229 = getelementptr inbounds %"class.vox::Entity", ptr %228, i32 0, i32 2
  %230 = load ptr, ptr %229, align 8, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #6
  %231 = getelementptr inbounds %"class.vox::Vector", ptr %19, i32 0, i32 0
  %232 = load float, ptr %231, align 4, !tbaa !70
  %233 = getelementptr inbounds %"class.vox::Vector", ptr %19, i32 0, i32 1
  %234 = load float, ptr %233, align 4, !tbaa !72
  %235 = getelementptr inbounds %"class.vox::Vector", ptr %19, i32 0, i32 2
  %236 = load float, ptr %235, align 4, !tbaa !73
  call void @_ZN3vox6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %20, float noundef %232, float noundef %234, float noundef %236)
  call void @_ZN3vox9Transform8setScaleERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(300) %230, ptr noundef nonnull align 4 dereferenceable(12) %20)
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br label %237

237:                                              ; preds = %215, %210
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %238

238:                                              ; preds = %237, %80, %71
  br label %239

239:                                              ; preds = %238, %69
  %240 = load i64, ptr %11, align 8, !tbaa !32
  %241 = add i64 %240, 1
  store i64 %241, ptr %11, align 8, !tbaa !32
  br label %56, !llvm.loop !80

242:                                              ; preds = %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %243

243:                                              ; preds = %242
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3vox18SceneAnimationClip16AnimationChannelESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %45

245:                                              ; preds = %47
  ret void
}

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3vox4lerpINS_6VectorIfLm4EEEfEET_RKS3_S5_T0_(ptr dead_on_unwind noalias writable sret(%"class.vox::Vector") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef) #4

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

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

declare void @_ZN3vox9Transform11setPositionERKNS_5PointIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(300), ptr noundef nonnull align 4 dereferenceable(12)) #5

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

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

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

declare void @_ZN3vox9Transform21setRotationQuaternionERKNS_10QuaternionIfEE(ptr noundef nonnull align 8 dereferenceable(300), ptr noundef nonnull align 4 dereferenceable(16)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3vox5slerpIfEENS_10QuaternionIT_EERKS3_S5_S2_(ptr dead_on_unwind noalias writable sret(%"class.vox::Quaternion") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3vox10QuaternionIfE10normalizedEv(ptr dead_on_unwind noalias writable sret(%"class.vox::Quaternion") align 4, ptr noundef nonnull align 4 dereferenceable(16)) #0 align 2

declare void @_ZN3vox9Transform8setScaleERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(300), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox6VectorIfLm3EEC2Efff(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 noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3vox18SceneAnimationClip16AnimationChannelESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 88}
!12 = !{!"_ZTSN3vox18SceneAnimationClipE", !13, i64 0, !16, i64 32, !20, i64 56, !10, i64 80, !10, i64 84, !10, i64 88}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!12, !10, i64 84}
!25 = !{!26, !31, i64 24}
!26 = !{!"_ZTSN3vox18SceneAnimationClip16AnimationChannelE", !27, i64 0, !28, i64 8, !31, i64 24}
!27 = !{!"_ZTSN3vox18SceneAnimationClip16AnimationChannel8PathTypeE", !7, i64 0}
!28 = !{!"_ZTSSt10shared_ptrIN3vox6EntityEE", !29, i64 0}
!29 = !{!"_ZTSSt12__shared_ptrIN3vox6EntityELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !30, i64 8}
!30 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!31 = !{!"int", !7, i64 0}
!32 = !{!15, !15, i64 0}
!33 = !{!34, !35, i64 0}
!34 = !{!"_ZTSN3vox18SceneAnimationClip16AnimationSamplerE", !35, i64 0, !36, i64 8, !40, i64 32}
!35 = !{!"_ZTSN3vox18SceneAnimationClip16AnimationSampler17InterpolationTypeE", !7, i64 0}
!36 = !{!"_ZTSSt6vectorIfSaIfEE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!"_ZTSSt6vectorIN3vox6VectorIfLm4EEESaIS2_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIN3vox6VectorIfLm4EEESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN3vox6VectorIfLm4EEESaIS2_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN3vox6VectorIfLm4EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!26, !27, i64 0}
!45 = !{!46, !6, i64 40}
!46 = !{!"_ZTSN3vox6EntityE", !13, i64 0, !31, i64 32, !6, i64 40, !47, i64 48, !48, i64 56, !52, i64 80, !56, i64 104, !6, i64 128, !47, i64 136, !47, i64 137, !6, i64 144, !60, i64 152, !64, i64 176}
!47 = !{!"bool", !7, i64 0}
!48 = !{!"_ZTSSt6vectorISt10unique_ptrIN3vox9ComponentESt14default_deleteIS2_EESaIS5_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3vox9ComponentESt14default_deleteIS2_EESaIS5_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3vox9ComponentESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3vox9ComponentESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!52 = !{!"_ZTSSt6vectorIPN3vox6ScriptESaIS2_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseIPN3vox6ScriptESaIS2_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIPN3vox6ScriptESaIS2_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIPN3vox6ScriptESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!56 = !{!"_ZTSSt6vectorISt10shared_ptrIN3vox6EntityEESaIS3_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN3vox6EntityEESaIS3_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN3vox6EntityEESaIS3_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN3vox6EntityEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!60 = !{!"_ZTSSt6vectorIPN3vox9ComponentESaIS2_EE", !61, i64 0}
!61 = !{!"_ZTSSt12_Vector_baseIPN3vox9ComponentESaIS2_EE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIPN3vox9ComponentESaIS2_EE12_Vector_implE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIPN3vox9ComponentESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!64 = !{!"_ZTSSt10unique_ptrIN3vox10UpdateFlagESt14default_deleteIS1_EE", !65, i64 0}
!65 = !{!"_ZTSSt15__uniq_ptr_dataIN3vox10UpdateFlagESt14default_deleteIS1_ELb1ELb1EE", !66, i64 0}
!66 = !{!"_ZTSSt15__uniq_ptr_implIN3vox10UpdateFlagESt14default_deleteIS1_EE", !67, i64 0}
!67 = !{!"_ZTSSt5tupleIJPN3vox10UpdateFlagESt14default_deleteIS1_EEE", !68, i64 0}
!68 = !{!"_ZTSSt11_Tuple_implILm0EJPN3vox10UpdateFlagESt14default_deleteIS1_EEE", !69, i64 0}
!69 = !{!"_ZTSSt10_Head_baseILm0EPN3vox10UpdateFlagELb0EE", !6, i64 0}
!70 = !{!71, !10, i64 0}
!71 = !{!"_ZTSN3vox6VectorIfLm4EEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!72 = !{!71, !10, i64 4}
!73 = !{!71, !10, i64 8}
!74 = !{!75, !10, i64 4}
!75 = !{!"_ZTSN3vox10QuaternionIfEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!76 = !{!75, !10, i64 8}
!77 = !{!75, !10, i64 12}
!78 = !{!71, !10, i64 12}
!79 = !{!75, !10, i64 0}
!80 = distinct !{!80, !81}
!81 = !{!"llvm.loop.mustprogress"}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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::locale" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.vox::Vector" = type { float, float, float, float }
%"class.vox::Point" = type { float, float, float }
%"class.vox::Quaternion" = type { float, float, float, float }
%"class.vox::Vector.40" = type { float, float, float }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [49 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox18SceneAnimationClip6updateEf(ptr noundef nonnull align 8 dereferenceable(92) %0, float noundef %1) local_unnamed_addr #0 align 2 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.vox::Vector", align 4
  %6 = alloca %"class.vox::Point", align 4
  %7 = alloca %"class.vox::Quaternion", align 4
  %8 = alloca %"class.vox::Quaternion", align 4
  %9 = alloca %"class.vox::Quaternion", align 4
  %10 = alloca %"class.vox::Quaternion", align 4
  %11 = alloca %"class.vox::Vector", align 4
  %12 = alloca %"class.vox::Vector.40", align 4
  %13 = getelementptr inbounds i8, ptr %0, i64 88
  %14 = load float, ptr %13, align 8, !tbaa !5
  %15 = fadd float %14, %1
  store float %15, ptr %13, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %0, i64 84
  %17 = load float, ptr %16, align 4, !tbaa !22
  %18 = fcmp ogt float %15, %17
  br i1 %18, label %19, label %21

19:                                               ; preds = %2
  %20 = fsub float %15, %17
  store float %20, ptr %13, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %19, %2
  %22 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %23 = tail call ptr @_ZNSt6vectorIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  store ptr %23, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %24 = tail call ptr @_ZNSt6vectorIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  store ptr %24, ptr %4, align 8
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3vox18SceneAnimationClip16AnimationChannelESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br i1 %25, label %.lr.ph55, label %._crit_edge56

.lr.ph55:                                         ; preds = %21
  %26 = getelementptr inbounds i8, ptr %0, i64 32
  %27 = getelementptr inbounds i8, ptr %5, i64 4
  %28 = getelementptr inbounds i8, ptr %5, i64 8
  %29 = getelementptr inbounds i8, ptr %7, i64 4
  %30 = getelementptr inbounds i8, ptr %7, i64 8
  %31 = getelementptr inbounds i8, ptr %7, i64 12
  %32 = getelementptr inbounds i8, ptr %8, i64 4
  %33 = getelementptr inbounds i8, ptr %8, i64 8
  %34 = getelementptr inbounds i8, ptr %8, i64 12
  %35 = getelementptr inbounds i8, ptr %11, i64 4
  %36 = getelementptr inbounds i8, ptr %11, i64 8
  br label %37

._crit_edge56:                                    ; preds = %._crit_edge, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret void

37:                                               ; preds = %.lr.ph55, %._crit_edge
  %38 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3vox18SceneAnimationClip16AnimationChannelESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %39 = getelementptr inbounds i8, ptr %38, i64 24
  %40 = load i32, ptr %39, align 8, !tbaa !23
  %41 = zext i32 %40 to i64
  %42 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %41) #6
  %43 = getelementptr inbounds i8, ptr %42, i64 8
  %44 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  %.not57 = icmp eq i64 %44, 1
  br i1 %.not57, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %37
  %45 = getelementptr inbounds i8, ptr %42, i64 32
  %46 = getelementptr inbounds i8, ptr %38, i64 8
  br label %49

._crit_edge:                                      ; preds = %127, %37
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3vox18SceneAnimationClip16AnimationChannelESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %48 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3vox18SceneAnimationClip16AnimationChannelESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br i1 %48, label %37, label %._crit_edge56

49:                                               ; preds = %.lr.ph, %127
  %.053 = phi i64 [ 0, %.lr.ph ], [ %128, %127 ]
  %50 = load i32, ptr %42, align 8, !tbaa !30
  %.not = icmp eq i32 %50, 0
  br i1 %.not, label %53, label %51

51:                                               ; preds = %49
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  br label %127

53:                                               ; preds = %49
  %54 = load float, ptr %13, align 8, !tbaa !5
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %.053) #6
  %56 = load float, ptr %55, align 4, !tbaa !41
  %57 = fcmp ult float %54, %56
  br i1 %57, label %127, label %58

58:                                               ; preds = %53
  %59 = load float, ptr %13, align 8, !tbaa !5
  %60 = add nuw i64 %.053, 1
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %60) #6
  %62 = load float, ptr %61, align 4, !tbaa !41
  %63 = fcmp ugt float %59, %62
  br i1 %63, label %127, label %64

64:                                               ; preds = %58
  %65 = load float, ptr %13, align 8, !tbaa !5
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %.053) #6
  %67 = load float, ptr %66, align 4, !tbaa !41
  %68 = fsub float %65, %67
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %60) #6
  %70 = load float, ptr %69, align 4, !tbaa !41
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %.053) #6
  %72 = load float, ptr %71, align 4, !tbaa !41
  %73 = fsub float %70, %72
  %74 = fdiv float %68, %73
  %75 = load i32, ptr %38, align 8, !tbaa !42
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %77, label %86

77:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %78 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %.053) #6
  %79 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %60) #6
  call void @_ZN3vox4lerpINS_6VectorIfLm4EEEfEET_RKS3_S5_T0_(ptr dead_on_unwind nonnull writable sret(%"class.vox::Vector") align 4 %5, ptr noundef nonnull align 4 dereferenceable(16) %78, ptr noundef nonnull align 4 dereferenceable(16) %79, float noundef %74)
  %80 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3vox6EntityELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %46) #6
  %81 = getelementptr inbounds i8, ptr %80, i64 40
  %82 = load ptr, ptr %81, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #6
  %83 = load float, ptr %5, align 4, !tbaa !68
  %84 = load float, ptr %27, align 4, !tbaa !70
  %85 = load float, ptr %28, align 4, !tbaa !71
  call void @_ZN3vox5PointIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef %83, float noundef %84, float noundef %85)
  call void @_ZN3vox9Transform11setPositionERKNS_5PointIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(300) %82, ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  %.pr = load i32, ptr %38, align 8, !tbaa !42
  br label %86

86:                                               ; preds = %77, %64
  %87 = phi i32 [ %.pr, %77 ], [ %75, %64 ]
  %88 = icmp eq i32 %87, 1
  br i1 %88, label %89, label %115

89:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN3vox10QuaternionIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %90 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %.053) #6
  %91 = load float, ptr %90, align 4, !tbaa !68
  store float %91, ptr %29, align 4, !tbaa !72
  %92 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %.053) #6
  %93 = getelementptr inbounds i8, ptr %92, i64 4
  %94 = load float, ptr %93, align 4, !tbaa !70
  store float %94, ptr %30, align 4, !tbaa !74
  %95 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %.053) #6
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  %97 = load float, ptr %96, align 4, !tbaa !71
  store float %97, ptr %31, align 4, !tbaa !75
  %98 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %.053) #6
  %99 = getelementptr inbounds i8, ptr %98, i64 12
  %100 = load float, ptr %99, align 4, !tbaa !76
  store float %100, ptr %7, align 4, !tbaa !77
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN3vox10QuaternionIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %101 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %60) #6
  %102 = load float, ptr %101, align 4, !tbaa !68
  store float %102, ptr %32, align 4, !tbaa !72
  %103 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %60) #6
  %104 = getelementptr inbounds i8, ptr %103, i64 4
  %105 = load float, ptr %104, align 4, !tbaa !70
  store float %105, ptr %33, align 4, !tbaa !74
  %106 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %60) #6
  %107 = getelementptr inbounds i8, ptr %106, i64 8
  %108 = load float, ptr %107, align 4, !tbaa !71
  store float %108, ptr %34, align 4, !tbaa !75
  %109 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %60) #6
  %110 = getelementptr inbounds i8, ptr %109, i64 12
  %111 = load float, ptr %110, align 4, !tbaa !76
  store float %111, ptr %8, align 4, !tbaa !77
  %112 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3vox6EntityELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %46) #6
  %113 = getelementptr inbounds i8, ptr %112, i64 40
  %114 = load ptr, ptr %113, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  call void @_ZN3vox5slerpIfEENS_10QuaternionIT_EERKS3_S5_S2_(ptr dead_on_unwind nonnull writable sret(%"class.vox::Quaternion") align 4 %10, ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef %74)
  call void @_ZNK3vox10QuaternionIfE10normalizedEv(ptr dead_on_unwind nonnull writable sret(%"class.vox::Quaternion") align 4 %9, ptr noundef nonnull align 4 dereferenceable(16) %10)
  call void @_ZN3vox9Transform21setRotationQuaternionERKNS_10QuaternionIfEE(ptr noundef nonnull align 8 dereferenceable(300) %114, ptr noundef nonnull align 4 dereferenceable(16) %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  %.pre = load i32, ptr %38, align 8, !tbaa !42
  br label %115

115:                                              ; preds = %89, %86
  %116 = phi i32 [ %.pre, %89 ], [ %87, %86 ]
  %117 = icmp eq i32 %116, 2
  br i1 %117, label %118, label %127

118:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  %119 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %.053) #6
  %120 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3vox6VectorIfLm4EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %60) #6
  call void @_ZN3vox4lerpINS_6VectorIfLm4EEEfEET_RKS3_S5_T0_(ptr dead_on_unwind nonnull writable sret(%"class.vox::Vector") align 4 %11, ptr noundef nonnull align 4 dereferenceable(16) %119, ptr noundef nonnull align 4 dereferenceable(16) %120, float noundef %74)
  %121 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3vox6EntityELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %46) #6
  %122 = getelementptr inbounds i8, ptr %121, i64 40
  %123 = load ptr, ptr %122, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #6
  %124 = load float, ptr %11, align 4, !tbaa !68
  %125 = load float, ptr %35, align 4, !tbaa !70
  %126 = load float, ptr %36, align 4, !tbaa !71
  call void @_ZN3vox6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %12, float noundef %124, float noundef %125, float noundef %126)
  call void @_ZN3vox9Transform8setScaleERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(300) %123, ptr noundef nonnull align 4 dereferenceable(12) %12)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %127

127:                                              ; preds = %115, %118, %53, %58, %51
  %128 = add nuw i64 %.053, 1
  %129 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  %130 = add i64 %129, -1
  %131 = icmp ult i64 %128, %130
  br i1 %131, label %49, label %._crit_edge, !llvm.loop !78
}

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3vox4lerpINS_6VectorIfLm4EEEfEET_RKS3_S5_T0_(ptr dead_on_unwind noalias writable sret(%"class.vox::Vector") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #4

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

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

declare void @_ZN3vox9Transform11setPositionERKNS_5PointIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(300), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

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

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

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

declare void @_ZN3vox9Transform21setRotationQuaternionERKNS_10QuaternionIfEE(ptr noundef nonnull align 8 dereferenceable(300), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3vox5slerpIfEENS_10QuaternionIT_EERKS3_S5_S2_(ptr dead_on_unwind noalias writable sret(%"class.vox::Quaternion") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3vox10QuaternionIfE10normalizedEv(ptr dead_on_unwind noalias writable sret(%"class.vox::Quaternion") align 4, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

declare void @_ZN3vox9Transform8setScaleERKNS_6VectorIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(300), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox6VectorIfLm3EEC2Efff(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 noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3vox18SceneAnimationClip16AnimationChannelESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !21, i64 88}
!6 = !{!"_ZTSN3vox18SceneAnimationClipE", !7, i64 0, !13, i64 32, !17, i64 56, !21, i64 80, !21, i64 84, !21, i64 88}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"_ZTSSt6vectorIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationSamplerESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!17 = !{!"_ZTSSt6vectorIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3vox18SceneAnimationClip16AnimationChannelESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!21 = !{!"float", !10, i64 0}
!22 = !{!6, !21, i64 84}
!23 = !{!24, !29, i64 24}
!24 = !{!"_ZTSN3vox18SceneAnimationClip16AnimationChannelE", !25, i64 0, !26, i64 8, !29, i64 24}
!25 = !{!"_ZTSN3vox18SceneAnimationClip16AnimationChannel8PathTypeE", !10, i64 0}
!26 = !{!"_ZTSSt10shared_ptrIN3vox6EntityEE", !27, i64 0}
!27 = !{!"_ZTSSt12__shared_ptrIN3vox6EntityELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !28, i64 8}
!28 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0}
!29 = !{!"int", !10, i64 0}
!30 = !{!31, !32, i64 0}
!31 = !{!"_ZTSN3vox18SceneAnimationClip16AnimationSamplerE", !32, i64 0, !33, i64 8, !37, i64 32}
!32 = !{!"_ZTSN3vox18SceneAnimationClip16AnimationSampler17InterpolationTypeE", !10, i64 0}
!33 = !{!"_ZTSSt6vectorIfSaIfEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!37 = !{!"_ZTSSt6vectorIN3vox6VectorIfLm4EEESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN3vox6VectorIfLm4EEESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN3vox6VectorIfLm4EEESaIS2_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN3vox6VectorIfLm4EEESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!41 = !{!21, !21, i64 0}
!42 = !{!24, !25, i64 0}
!43 = !{!44, !9, i64 40}
!44 = !{!"_ZTSN3vox6EntityE", !7, i64 0, !29, i64 32, !9, i64 40, !45, i64 48, !46, i64 56, !50, i64 80, !54, i64 104, !9, i64 128, !45, i64 136, !45, i64 137, !9, i64 144, !58, i64 152, !62, i64 176}
!45 = !{!"bool", !10, i64 0}
!46 = !{!"_ZTSSt6vectorISt10unique_ptrIN3vox9ComponentESt14default_deleteIS2_EESaIS5_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3vox9ComponentESt14default_deleteIS2_EESaIS5_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3vox9ComponentESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3vox9ComponentESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!50 = !{!"_ZTSSt6vectorIPN3vox6ScriptESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIPN3vox6ScriptESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIPN3vox6ScriptESaIS2_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIPN3vox6ScriptESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!54 = !{!"_ZTSSt6vectorISt10shared_ptrIN3vox6EntityEESaIS3_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN3vox6EntityEESaIS3_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN3vox6EntityEESaIS3_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN3vox6EntityEESaIS3_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!58 = !{!"_ZTSSt6vectorIPN3vox9ComponentESaIS2_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseIPN3vox9ComponentESaIS2_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIPN3vox9ComponentESaIS2_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIPN3vox9ComponentESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!62 = !{!"_ZTSSt10unique_ptrIN3vox10UpdateFlagESt14default_deleteIS1_EE", !63, i64 0}
!63 = !{!"_ZTSSt15__uniq_ptr_dataIN3vox10UpdateFlagESt14default_deleteIS1_ELb1ELb1EE", !64, i64 0}
!64 = !{!"_ZTSSt15__uniq_ptr_implIN3vox10UpdateFlagESt14default_deleteIS1_EE", !65, i64 0}
!65 = !{!"_ZTSSt5tupleIJPN3vox10UpdateFlagESt14default_deleteIS1_EEE", !66, i64 0}
!66 = !{!"_ZTSSt11_Tuple_implILm0EJPN3vox10UpdateFlagESt14default_deleteIS1_EEE", !67, i64 0}
!67 = !{!"_ZTSSt10_Head_baseILm0EPN3vox10UpdateFlagELb0EE", !9, i64 0}
!68 = !{!69, !21, i64 0}
!69 = !{!"_ZTSN3vox6VectorIfLm4EEE", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12}
!70 = !{!69, !21, i64 4}
!71 = !{!69, !21, i64 8}
!72 = !{!73, !21, i64 4}
!73 = !{!"_ZTSN3vox10QuaternionIfEE", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12}
!74 = !{!73, !21, i64 8}
!75 = !{!73, !21, i64 12}
!76 = !{!69, !21, i64 12}
!77 = !{!73, !21, i64 0}
!78 = distinct !{!78, !79}
!79 = !{!"llvm.loop.mustprogress"}


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