; LLVM IR from yangfengzzz/Arche-webgpu :: vox.animation/runtime/sampling_job.ll (ZNK3vox9animation11SamplingJob3RunEv)

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

%"struct.vox::span.2" = type { ptr, i64 }
%"struct.vox::span.3" = type { ptr, i64 }
%"struct.vox::animation::SamplingJob" = type { float, ptr, ptr, %"struct.vox::span" }
%"struct.vox::span" = type { ptr, i64 }
%"class.vox::animation::SamplingJob::Context" = type { ptr, float, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [44 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [97 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3vox9animation11SamplingJob3RunEv = external hidden unnamed_addr constant [46 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3vox9animation11SamplingJob8ValidateEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; 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 noundef i32 @_ZNK3vox9animation9Animation14num_soa_tracksEv(ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3vox9animation11SamplingJob7Context14max_soa_tracksEv(ptr noundef nonnull align 8 dereferenceable(104)) #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: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3vox9animation11SamplingJob3RunEv(ptr noundef nonnull align 8 dereferenceable(40) %0) #0 align 2 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca %"struct.vox::span.2", align 8
  %8 = alloca %"struct.vox::span.2", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.vox::span.3", align 8
  %11 = alloca %"struct.vox::span.3", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.vox::span.2", align 8
  %14 = alloca %"struct.vox::span.2", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %18 = load ptr, ptr %3, align 8
  %19 = call noundef zeroext i1 @_ZNK3vox9animation11SamplingJob8ValidateEv(ptr noundef nonnull align 8 dereferenceable(40) %18)
  br i1 %19, label %21, label %20

20:                                               ; preds = %1
  store i1 false, ptr %2, align 1
  br label %188

21:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  %22 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 1
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = call noundef i32 @_ZNK3vox9animation9Animation14num_soa_tracksEv(ptr noundef nonnull align 8 dereferenceable(64) %23)
  store i32 %24, ptr %4, align 4, !tbaa !14
  %25 = load i32, ptr %4, align 4, !tbaa !14
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %21
  store i1 true, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %187

28:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %29 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 0
  %30 = load float, ptr %29, align 8, !tbaa !16
  %31 = call noundef float @_ZN3vox5clampIfEET_S1_S1_S1_(float noundef 0.000000e+00, float noundef %30, float noundef 1.000000e+00)
  store float %31, ptr %6, align 4, !tbaa !17
  %32 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %33 = load ptr, ptr %32, align 8, !tbaa !18
  %34 = call noundef i32 @_ZNK3vox9animation11SamplingJob7Context14max_soa_tracksEv(ptr noundef nonnull align 8 dereferenceable(104) %33)
  %35 = load i32, ptr %4, align 4, !tbaa !14
  %36 = icmp sge i32 %34, %35
  br i1 %36, label %37, label %38

37:                                               ; preds = %28
  br label %40

38:                                               ; preds = %28
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 278, ptr noundef @__PRETTY_FUNCTION__._ZNK3vox9animation11SamplingJob3RunEv) #9
  unreachable

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39, %37
  %41 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %42 = load ptr, ptr %41, align 8, !tbaa !18
  %43 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = load float, ptr %6, align 4, !tbaa !17
  call void @_ZN3vox9animation11SamplingJob7Context4StepERKNS0_9AnimationEf(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull align 8 dereferenceable(64) %44, float noundef %45)
  %46 = load float, ptr %6, align 4, !tbaa !17
  %47 = load i32, ptr %4, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #8
  %48 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 1
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  %50 = call { ptr, i64 } @_ZNK3vox9animation9Animation12translationsEv(ptr noundef nonnull align 8 dereferenceable(64) %49)
  %51 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  %52 = extractvalue { ptr, i64 } %50, 0
  store ptr %52, ptr %51, align 8
  %53 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  %54 = extractvalue { ptr, i64 } %50, 1
  store i64 %54, ptr %53, align 8
  %55 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %56 = load ptr, ptr %55, align 8, !tbaa !18
  %57 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %56, i32 0, i32 9
  %58 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %59 = load ptr, ptr %58, align 8, !tbaa !18
  %60 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %59, i32 0, i32 6
  %61 = load ptr, ptr %60, align 8, !tbaa !19
  %62 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %63 = load ptr, ptr %62, align 8, !tbaa !18
  %64 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %63, i32 0, i32 12
  %65 = load ptr, ptr %64, align 8, !tbaa !21
  call void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_9Float3KeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef %46, i32 noundef %47, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %57, ptr noundef %61, ptr noundef %65)
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  %66 = load i32, ptr %4, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  %67 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8, !tbaa !9
  %69 = call { ptr, i64 } @_ZNK3vox9animation9Animation12translationsEv(ptr noundef nonnull align 8 dereferenceable(64) %68)
  %70 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 0
  %71 = extractvalue { ptr, i64 } %69, 0
  store ptr %71, ptr %70, align 8
  %72 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 1
  %73 = extractvalue { ptr, i64 } %69, 1
  store i64 %73, ptr %72, align 8
  %74 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %75 = load ptr, ptr %74, align 8, !tbaa !18
  %76 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %75, i32 0, i32 6
  %77 = load ptr, ptr %76, align 8, !tbaa !19
  %78 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %79 = load ptr, ptr %78, align 8, !tbaa !18
  %80 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %79, i32 0, i32 12
  %81 = load ptr, ptr %80, align 8, !tbaa !21
  %82 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %83 = load ptr, ptr %82, align 8, !tbaa !18
  %84 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %83, i32 0, i32 3
  %85 = load ptr, ptr %84, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  store ptr @_ZN3vox9animation12_GLOBAL__N_116DecompressFloat3ERKNS0_9Float3KeyES4_S4_S4_PNS_9simd_math9SoaFloat3E, ptr %9, align 8, !tbaa !5
  call void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_9Float3KeyENS0_8internal15InterpSoaFloat3EPFvRKS3_S7_S7_S7_PNS_9simd_math9SoaFloat3EEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef %66, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %77, ptr noundef %81, ptr noundef %85, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  %86 = load float, ptr %6, align 4, !tbaa !17
  %87 = load i32, ptr %4, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  %88 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 1
  %89 = load ptr, ptr %88, align 8, !tbaa !9
  %90 = call { ptr, i64 } @_ZNK3vox9animation9Animation9rotationsEv(ptr noundef nonnull align 8 dereferenceable(64) %89)
  %91 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %92 = extractvalue { ptr, i64 } %90, 0
  store ptr %92, ptr %91, align 8
  %93 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %94 = extractvalue { ptr, i64 } %90, 1
  store i64 %94, ptr %93, align 8
  %95 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %96 = load ptr, ptr %95, align 8, !tbaa !18
  %97 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %96, i32 0, i32 10
  %98 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %99 = load ptr, ptr %98, align 8, !tbaa !18
  %100 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %99, i32 0, i32 7
  %101 = load ptr, ptr %100, align 8, !tbaa !23
  %102 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %103 = load ptr, ptr %102, align 8, !tbaa !18
  %104 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %103, i32 0, i32 13
  %105 = load ptr, ptr %104, align 8, !tbaa !24
  call void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_13QuaternionKeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef %86, i32 noundef %87, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %97, ptr noundef %101, ptr noundef %105)
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  %106 = load i32, ptr %4, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  %107 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 1
  %108 = load ptr, ptr %107, align 8, !tbaa !9
  %109 = call { ptr, i64 } @_ZNK3vox9animation9Animation9rotationsEv(ptr noundef nonnull align 8 dereferenceable(64) %108)
  %110 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %111 = extractvalue { ptr, i64 } %109, 0
  store ptr %111, ptr %110, align 8
  %112 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %113 = extractvalue { ptr, i64 } %109, 1
  store i64 %113, ptr %112, align 8
  %114 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %115 = load ptr, ptr %114, align 8, !tbaa !18
  %116 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %115, i32 0, i32 7
  %117 = load ptr, ptr %116, align 8, !tbaa !23
  %118 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !18
  %120 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %119, i32 0, i32 13
  %121 = load ptr, ptr %120, align 8, !tbaa !24
  %122 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %123 = load ptr, ptr %122, align 8, !tbaa !18
  %124 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %123, i32 0, i32 4
  %125 = load ptr, ptr %124, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  store ptr @_ZN3vox9animation12_GLOBAL__N_120DecompressQuaternionERKNS0_13QuaternionKeyES4_S4_S4_PNS_9simd_math13SoaQuaternionE, ptr %12, align 8, !tbaa !5
  call void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_13QuaternionKeyENS0_8internal19InterpSoaQuaternionEPFvRKS3_S7_S7_S7_PNS_9simd_math13SoaQuaternionEEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef %106, ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %117, ptr noundef %121, ptr noundef %125, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  %126 = load float, ptr %6, align 4, !tbaa !17
  %127 = load i32, ptr %4, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %128 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !9
  %130 = call { ptr, i64 } @_ZNK3vox9animation9Animation6scalesEv(ptr noundef nonnull align 8 dereferenceable(64) %129)
  %131 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %132 = extractvalue { ptr, i64 } %130, 0
  store ptr %132, ptr %131, align 8
  %133 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %134 = extractvalue { ptr, i64 } %130, 1
  store i64 %134, ptr %133, align 8
  %135 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %136 = load ptr, ptr %135, align 8, !tbaa !18
  %137 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %136, i32 0, i32 11
  %138 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %139 = load ptr, ptr %138, align 8, !tbaa !18
  %140 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %139, i32 0, i32 8
  %141 = load ptr, ptr %140, align 8, !tbaa !26
  %142 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %143 = load ptr, ptr %142, align 8, !tbaa !18
  %144 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %143, i32 0, i32 14
  %145 = load ptr, ptr %144, align 8, !tbaa !27
  call void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_9Float3KeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef %126, i32 noundef %127, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %137, ptr noundef %141, ptr noundef %145)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  %146 = load i32, ptr %4, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %147 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 1
  %148 = load ptr, ptr %147, align 8, !tbaa !9
  %149 = call { ptr, i64 } @_ZNK3vox9animation9Animation6scalesEv(ptr noundef nonnull align 8 dereferenceable(64) %148)
  %150 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %151 = extractvalue { ptr, i64 } %149, 0
  store ptr %151, ptr %150, align 8
  %152 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %153 = extractvalue { ptr, i64 } %149, 1
  store i64 %153, ptr %152, align 8
  %154 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %155 = load ptr, ptr %154, align 8, !tbaa !18
  %156 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %155, i32 0, i32 8
  %157 = load ptr, ptr %156, align 8, !tbaa !26
  %158 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %159 = load ptr, ptr %158, align 8, !tbaa !18
  %160 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %159, i32 0, i32 14
  %161 = load ptr, ptr %160, align 8, !tbaa !27
  %162 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %163 = load ptr, ptr %162, align 8, !tbaa !18
  %164 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %163, i32 0, i32 5
  %165 = load ptr, ptr %164, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store ptr @_ZN3vox9animation12_GLOBAL__N_116DecompressFloat3ERKNS0_9Float3KeyES4_S4_S4_PNS_9simd_math9SoaFloat3E, ptr %15, align 8, !tbaa !5
  call void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_9Float3KeyENS0_8internal15InterpSoaFloat3EPFvRKS3_S7_S7_S7_PNS_9simd_math9SoaFloat3EEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef %146, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %157, ptr noundef %161, ptr noundef %165, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %166 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 3
  %167 = call noundef i64 @_ZNK3vox4spanINS_9simd_math12SoaTransformEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %166)
  %168 = trunc i64 %167 to i32
  store i32 %168, ptr %17, align 4, !tbaa !14
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %170 = load i32, ptr %169, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  store i32 %170, ptr %16, align 4, !tbaa !14
  %171 = load float, ptr %6, align 4, !tbaa !17
  %172 = load i32, ptr %16, align 4, !tbaa !14
  %173 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %174 = load ptr, ptr %173, align 8, !tbaa !18
  %175 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %174, i32 0, i32 3
  %176 = load ptr, ptr %175, align 8, !tbaa !22
  %177 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %178 = load ptr, ptr %177, align 8, !tbaa !18
  %179 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %178, i32 0, i32 4
  %180 = load ptr, ptr %179, align 8, !tbaa !25
  %181 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 2
  %182 = load ptr, ptr %181, align 8, !tbaa !18
  %183 = getelementptr inbounds %"class.vox::animation::SamplingJob::Context", ptr %182, i32 0, i32 5
  %184 = load ptr, ptr %183, align 8, !tbaa !28
  %185 = getelementptr inbounds %"struct.vox::animation::SamplingJob", ptr %18, i32 0, i32 3
  %186 = call noundef ptr @_ZNK3vox4spanINS_9simd_math12SoaTransformEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %185)
  call void @_ZN3vox9animation12_GLOBAL__N_112InterpolatesEfiPKNS0_8internal15InterpSoaFloat3EPKNS2_19InterpSoaQuaternionES5_PNS_9simd_math12SoaTransformE(float noundef %171, i32 noundef %172, ptr noundef %176, ptr noundef %180, ptr noundef %184, ptr noundef %186)
  store i1 true, ptr %2, align 1
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %187

187:                                              ; preds = %40, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %188

188:                                              ; preds = %187, %20
  %189 = load i1, ptr %2, align 1
  ret i1 %189
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3vox5clampIfEET_S1_S1_S1_(float noundef, float noundef, float noundef) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox9animation11SamplingJob7Context4StepERKNS0_9AnimationEf(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(64), float noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_9Float3KeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_9Float3KeyENS0_8internal15InterpSoaFloat3EPFvRKS3_S7_S7_S7_PNS_9simd_math9SoaFloat3EEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_116DecompressFloat3ERKNS0_9Float3KeyES4_S4_S4_PNS_9simd_math9SoaFloat3E(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_13QuaternionKeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_13QuaternionKeyENS0_8internal19InterpSoaQuaternionEPFvRKS3_S7_S7_S7_PNS_9simd_math13SoaQuaternionEEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_120DecompressQuaternionERKNS0_13QuaternionKeyES4_S4_S4_PNS_9simd_math13SoaQuaternionE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #7

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_112InterpolatesEfiPKNS0_8internal15InterpSoaFloat3EPKNS2_19InterpSoaQuaternionES5_PNS_9simd_math12SoaTransformE(float noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3vox4spanINS_9simd_math12SoaTransformEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) #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 = { alwaysinline 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="128" "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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn 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, !6, i64 8}
!10 = !{!"_ZTSN3vox9animation11SamplingJobE", !11, i64 0, !6, i64 8, !6, i64 16, !12, i64 24}
!11 = !{!"float", !7, i64 0}
!12 = !{!"_ZTSN3vox4spanINS_9simd_math12SoaTransformEEE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!10, !11, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!10, !6, i64 16}
!19 = !{!20, !6, i64 40}
!20 = !{!"_ZTSN3vox9animation11SamplingJob7ContextE", !6, i64 0, !11, i64 8, !15, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !15, i64 64, !15, i64 68, !15, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!21 = !{!20, !6, i64 80}
!22 = !{!20, !6, i64 16}
!23 = !{!20, !6, i64 48}
!24 = !{!20, !6, i64 88}
!25 = !{!20, !6, i64 24}
!26 = !{!20, !6, i64 56}
!27 = !{!20, !6, i64 96}
!28 = !{!20, !6, i64 32}


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

%"struct.vox::span.2" = type { ptr, i64 }
%"struct.vox::span.3" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [44 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [97 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3vox9animation11SamplingJob3RunEv = external hidden unnamed_addr constant [46 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3vox9animation11SamplingJob8ValidateEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; 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 noundef i32 @_ZNK3vox9animation9Animation14num_soa_tracksEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3vox9animation11SamplingJob7Context14max_soa_tracksEv(ptr noundef nonnull align 8 dereferenceable(104)) local_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: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3vox9animation11SamplingJob3RunEv(ptr noundef nonnull align 8 dereferenceable(40) %0) local_unnamed_addr #0 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca %"struct.vox::span.2", align 8
  %4 = alloca %"struct.vox::span.2", align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.vox::span.3", align 8
  %7 = alloca %"struct.vox::span.3", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.vox::span.2", align 8
  %10 = alloca %"struct.vox::span.2", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = tail call noundef zeroext i1 @_ZNK3vox9animation11SamplingJob8ValidateEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %13, label %14, label %112

14:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  %17 = tail call noundef i32 @_ZNK3vox9animation9Animation14num_soa_tracksEv(ptr noundef nonnull align 8 dereferenceable(64) %16)
  store i32 %17, ptr %2, align 4, !tbaa !13
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %111, label %19

19:                                               ; preds = %14
  %20 = load float, ptr %0, align 8, !tbaa !15
  %21 = tail call noundef float @_ZN3vox5clampIfEET_S1_S1_S1_(float noundef 0.000000e+00, float noundef %20, float noundef 1.000000e+00)
  %22 = getelementptr inbounds i8, ptr %0, i64 16
  %23 = load ptr, ptr %22, align 8, !tbaa !16
  %24 = tail call noundef i32 @_ZNK3vox9animation11SamplingJob7Context14max_soa_tracksEv(ptr noundef nonnull align 8 dereferenceable(104) %23)
  %.not = icmp slt i32 %24, %17
  br i1 %.not, label %25, label %26

25:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 278, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3vox9animation11SamplingJob3RunEv) #9
  unreachable

26:                                               ; preds = %19
  %27 = load ptr, ptr %22, align 8, !tbaa !16
  %28 = load ptr, ptr %15, align 8, !tbaa !5
  tail call void @_ZN3vox9animation11SamplingJob7Context4StepERKNS0_9AnimationEf(ptr noundef nonnull align 8 dereferenceable(104) %27, ptr noundef nonnull align 8 dereferenceable(64) %28, float noundef %21)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  %29 = load ptr, ptr %15, align 8, !tbaa !5
  %30 = tail call { ptr, i64 } @_ZNK3vox9animation9Animation12translationsEv(ptr noundef nonnull align 8 dereferenceable(64) %29)
  %31 = extractvalue { ptr, i64 } %30, 0
  store ptr %31, ptr %3, align 8
  %32 = getelementptr inbounds i8, ptr %3, i64 8
  %33 = extractvalue { ptr, i64 } %30, 1
  store i64 %33, ptr %32, align 8
  %34 = load ptr, ptr %22, align 8, !tbaa !16
  %35 = getelementptr inbounds i8, ptr %34, i64 64
  %36 = getelementptr inbounds i8, ptr %34, i64 40
  %37 = load ptr, ptr %36, align 8, !tbaa !17
  %38 = getelementptr inbounds i8, ptr %34, i64 80
  %39 = load ptr, ptr %38, align 8, !tbaa !19
  call void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_9Float3KeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef %21, i32 noundef %17, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull %35, ptr noundef %37, ptr noundef %39)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %40 = load ptr, ptr %15, align 8, !tbaa !5
  %41 = call { ptr, i64 } @_ZNK3vox9animation9Animation12translationsEv(ptr noundef nonnull align 8 dereferenceable(64) %40)
  %42 = extractvalue { ptr, i64 } %41, 0
  store ptr %42, ptr %4, align 8
  %43 = getelementptr inbounds i8, ptr %4, i64 8
  %44 = extractvalue { ptr, i64 } %41, 1
  store i64 %44, ptr %43, align 8
  %45 = load ptr, ptr %22, align 8, !tbaa !16
  %46 = getelementptr inbounds i8, ptr %45, i64 40
  %47 = load ptr, ptr %46, align 8, !tbaa !17
  %48 = getelementptr inbounds i8, ptr %45, i64 80
  %49 = load ptr, ptr %48, align 8, !tbaa !19
  %50 = getelementptr inbounds i8, ptr %45, i64 16
  %51 = load ptr, ptr %50, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  store ptr @_ZN3vox9animation12_GLOBAL__N_116DecompressFloat3ERKNS0_9Float3KeyES4_S4_S4_PNS_9simd_math9SoaFloat3E, ptr %5, align 8, !tbaa !21
  call void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_9Float3KeyENS0_8internal15InterpSoaFloat3EPFvRKS3_S7_S7_S7_PNS_9simd_math9SoaFloat3EEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef %17, ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %47, ptr noundef %49, ptr noundef %51, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  %52 = load ptr, ptr %15, align 8, !tbaa !5
  %53 = call { ptr, i64 } @_ZNK3vox9animation9Animation9rotationsEv(ptr noundef nonnull align 8 dereferenceable(64) %52)
  %54 = extractvalue { ptr, i64 } %53, 0
  store ptr %54, ptr %6, align 8
  %55 = getelementptr inbounds i8, ptr %6, i64 8
  %56 = extractvalue { ptr, i64 } %53, 1
  store i64 %56, ptr %55, align 8
  %57 = load ptr, ptr %22, align 8, !tbaa !16
  %58 = getelementptr inbounds i8, ptr %57, i64 68
  %59 = getelementptr inbounds i8, ptr %57, i64 48
  %60 = load ptr, ptr %59, align 8, !tbaa !22
  %61 = getelementptr inbounds i8, ptr %57, i64 88
  %62 = load ptr, ptr %61, align 8, !tbaa !23
  call void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_13QuaternionKeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef %21, i32 noundef %17, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull %58, ptr noundef %60, ptr noundef %62)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  %63 = load ptr, ptr %15, align 8, !tbaa !5
  %64 = call { ptr, i64 } @_ZNK3vox9animation9Animation9rotationsEv(ptr noundef nonnull align 8 dereferenceable(64) %63)
  %65 = extractvalue { ptr, i64 } %64, 0
  store ptr %65, ptr %7, align 8
  %66 = getelementptr inbounds i8, ptr %7, i64 8
  %67 = extractvalue { ptr, i64 } %64, 1
  store i64 %67, ptr %66, align 8
  %68 = load ptr, ptr %22, align 8, !tbaa !16
  %69 = getelementptr inbounds i8, ptr %68, i64 48
  %70 = load ptr, ptr %69, align 8, !tbaa !22
  %71 = getelementptr inbounds i8, ptr %68, i64 88
  %72 = load ptr, ptr %71, align 8, !tbaa !23
  %73 = getelementptr inbounds i8, ptr %68, i64 24
  %74 = load ptr, ptr %73, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  store ptr @_ZN3vox9animation12_GLOBAL__N_120DecompressQuaternionERKNS0_13QuaternionKeyES4_S4_S4_PNS_9simd_math13SoaQuaternionE, ptr %8, align 8, !tbaa !21
  call void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_13QuaternionKeyENS0_8internal19InterpSoaQuaternionEPFvRKS3_S7_S7_S7_PNS_9simd_math13SoaQuaternionEEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef %17, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %70, ptr noundef %72, ptr noundef %74, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  %75 = load ptr, ptr %15, align 8, !tbaa !5
  %76 = call { ptr, i64 } @_ZNK3vox9animation9Animation6scalesEv(ptr noundef nonnull align 8 dereferenceable(64) %75)
  %77 = extractvalue { ptr, i64 } %76, 0
  store ptr %77, ptr %9, align 8
  %78 = getelementptr inbounds i8, ptr %9, i64 8
  %79 = extractvalue { ptr, i64 } %76, 1
  store i64 %79, ptr %78, align 8
  %80 = load ptr, ptr %22, align 8, !tbaa !16
  %81 = getelementptr inbounds i8, ptr %80, i64 72
  %82 = getelementptr inbounds i8, ptr %80, i64 56
  %83 = load ptr, ptr %82, align 8, !tbaa !25
  %84 = getelementptr inbounds i8, ptr %80, i64 96
  %85 = load ptr, ptr %84, align 8, !tbaa !26
  call void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_9Float3KeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef %21, i32 noundef %17, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull %81, ptr noundef %83, ptr noundef %85)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  %86 = load ptr, ptr %15, align 8, !tbaa !5
  %87 = call { ptr, i64 } @_ZNK3vox9animation9Animation6scalesEv(ptr noundef nonnull align 8 dereferenceable(64) %86)
  %88 = extractvalue { ptr, i64 } %87, 0
  store ptr %88, ptr %10, align 8
  %89 = getelementptr inbounds i8, ptr %10, i64 8
  %90 = extractvalue { ptr, i64 } %87, 1
  store i64 %90, ptr %89, align 8
  %91 = load ptr, ptr %22, align 8, !tbaa !16
  %92 = getelementptr inbounds i8, ptr %91, i64 56
  %93 = load ptr, ptr %92, align 8, !tbaa !25
  %94 = getelementptr inbounds i8, ptr %91, i64 96
  %95 = load ptr, ptr %94, align 8, !tbaa !26
  %96 = getelementptr inbounds i8, ptr %91, i64 32
  %97 = load ptr, ptr %96, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  store ptr @_ZN3vox9animation12_GLOBAL__N_116DecompressFloat3ERKNS0_9Float3KeyES4_S4_S4_PNS_9simd_math9SoaFloat3E, ptr %11, align 8, !tbaa !21
  call void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_9Float3KeyENS0_8internal15InterpSoaFloat3EPFvRKS3_S7_S7_S7_PNS_9simd_math9SoaFloat3EEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef %17, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %93, ptr noundef %95, ptr noundef %97, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #8
  %98 = getelementptr inbounds i8, ptr %0, i64 24
  %99 = call noundef i64 @_ZNK3vox4spanINS_9simd_math12SoaTransformEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %98)
  %100 = trunc i64 %99 to i32
  store i32 %100, ptr %12, align 4, !tbaa !13
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %102 = load i32, ptr %101, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  %103 = load ptr, ptr %22, align 8, !tbaa !16
  %104 = getelementptr inbounds i8, ptr %103, i64 16
  %105 = load ptr, ptr %104, align 8, !tbaa !20
  %106 = getelementptr inbounds i8, ptr %103, i64 24
  %107 = load ptr, ptr %106, align 8, !tbaa !24
  %108 = getelementptr inbounds i8, ptr %103, i64 32
  %109 = load ptr, ptr %108, align 8, !tbaa !27
  %110 = call noundef ptr @_ZNK3vox4spanINS_9simd_math12SoaTransformEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %98)
  call void @_ZN3vox9animation12_GLOBAL__N_112InterpolatesEfiPKNS0_8internal15InterpSoaFloat3EPKNS2_19InterpSoaQuaternionES5_PNS_9simd_math12SoaTransformE(float noundef %21, i32 noundef %102, ptr noundef %105, ptr noundef %107, ptr noundef %109, ptr noundef %110)
  br label %111

111:                                              ; preds = %14, %26
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #8
  br label %112

112:                                              ; preds = %1, %111
  ret i1 %13
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3vox5clampIfEET_S1_S1_S1_(float noundef, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox9animation11SamplingJob7Context4StepERKNS0_9AnimationEf(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(64), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_9Float3KeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_9Float3KeyENS0_8internal15InterpSoaFloat3EPFvRKS3_S7_S7_S7_PNS_9simd_math9SoaFloat3EEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_116DecompressFloat3ERKNS0_9Float3KeyES4_S4_S4_PNS_9simd_math9SoaFloat3E(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_117UpdateCacheCursorINS0_13QuaternionKeyEEEvfiRKNS_4spanIKT_EEPiSA_Ph(float noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_121UpdateInterpKeyframesINS0_13QuaternionKeyENS0_8internal19InterpSoaQuaternionEPFvRKS3_S7_S7_S7_PNS_9simd_math13SoaQuaternionEEEEviRKNS_4spanIKT_EEPKiPhPT0_RKT1_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_120DecompressQuaternionERKNS0_13QuaternionKeyES4_S4_S4_PNS_9simd_math13SoaQuaternionE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation12_GLOBAL__N_112InterpolatesEfiPKNS0_8internal15InterpSoaFloat3EPKNS2_19InterpSoaQuaternionES5_PNS_9simd_math12SoaTransformE(float noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3vox4spanINS_9simd_math12SoaTransformEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) 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 = { alwaysinline 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="128" "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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn 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, !10, i64 8}
!6 = !{!"_ZTSN3vox9animation11SamplingJobE", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTSN3vox4spanINS_9simd_math12SoaTransformEEE", !10, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !10, i64 16}
!17 = !{!18, !10, i64 40}
!18 = !{!"_ZTSN3vox9animation11SamplingJob7ContextE", !10, i64 0, !7, i64 8, !14, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !14, i64 64, !14, i64 68, !14, i64 72, !10, i64 80, !10, i64 88, !10, i64 96}
!19 = !{!18, !10, i64 80}
!20 = !{!18, !10, i64 16}
!21 = !{!10, !10, i64 0}
!22 = !{!18, !10, i64 48}
!23 = !{!18, !10, i64 88}
!24 = !{!18, !10, i64 24}
!25 = !{!18, !10, i64 56}
!26 = !{!18, !10, i64 96}
!27 = !{!18, !10, i64 32}


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