; LLVM IR from yangfengzzz/DigitalVox3 :: vox.render/geometry/skinning_job.ll (ZN3vox8geometry14SkinningPNOIT4ERKNS0_11SkinningJobE)

; 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::math::Float4x4" = type { [4 x <4 x float>] }
%"struct.vox::geometry::SkinningJob" = type { i32, i32, %"struct.vox::span", %"struct.vox::span", %"struct.vox::span.0", i64, %"struct.vox::span.1", i64, %"struct.vox::span.1", i64, %"struct.vox::span.1", i64, %"struct.vox::span.1", i64, %"struct.vox::span.2", i64, %"struct.vox::span.2", i64, %"struct.vox::span.2", i64 }
%"struct.vox::span" = type { ptr, i64 }
%"struct.vox::span.0" = type { ptr, i64 }
%"struct.vox::span.1" = type { ptr, i64 }
%"struct.vox::span.2" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [75 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox8geometry14SkinningPNOIT4ERKNS0_11SkinningJobE = external hidden unnamed_addr constant [56 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3vox4spanIKfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64), <4 x float> noundef) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef, ptr noundef) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math11simd_float43oneEv() #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind noalias writable sret(%"struct.vox::math::Float4x4") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind noalias writable sret(%"struct.vox::math::Float4x4") align 16, ptr noundef nonnull align 16 dereferenceable(64), <4 x float> noundef) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math6SplatXEDv4_f(<4 x float> noundef) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math6SplatYEDv4_f(<4 x float> noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox8geometry14SkinningPNOIT4ERKNS0_11SkinningJobE(ptr noundef nonnull align 8 dereferenceable(232) %0) #5 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca <4 x float>, align 16
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca <4 x float>, align 16
  %11 = alloca <4 x float>, align 16
  %12 = alloca <4 x float>, align 16
  %13 = alloca <4 x float>, align 16
  %14 = alloca i16, align 2
  %15 = alloca i16, align 2
  %16 = alloca i16, align 2
  %17 = alloca i16, align 2
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca <4 x float>, align 16
  %23 = alloca %"struct.vox::math::Float4x4", align 16
  %24 = alloca %"struct.vox::math::Float4x4", align 16
  %25 = alloca %"struct.vox::math::Float4x4", align 16
  %26 = alloca %"struct.vox::math::Float4x4", align 16
  %27 = alloca %"struct.vox::math::Float4x4", align 16
  %28 = alloca %"struct.vox::math::Float4x4", align 16
  %29 = alloca %"struct.vox::math::Float4x4", align 16
  %30 = alloca ptr, align 8
  %31 = alloca <4 x float>, align 16
  %32 = alloca <4 x float>, align 16
  %33 = alloca <4 x float>, align 16
  %34 = alloca <4 x float>, align 16
  %35 = alloca <4 x float>, align 16
  %36 = alloca i16, align 2
  %37 = alloca i16, align 2
  %38 = alloca i16, align 2
  %39 = alloca i16, align 2
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca <4 x float>, align 16
  %45 = alloca %"struct.vox::math::Float4x4", align 16
  %46 = alloca %"struct.vox::math::Float4x4", align 16
  %47 = alloca %"struct.vox::math::Float4x4", align 16
  %48 = alloca %"struct.vox::math::Float4x4", align 16
  %49 = alloca %"struct.vox::math::Float4x4", align 16
  %50 = alloca %"struct.vox::math::Float4x4", align 16
  %51 = alloca %"struct.vox::math::Float4x4", align 16
  %52 = alloca ptr, align 8
  %53 = alloca <4 x float>, align 16
  %54 = alloca <4 x float>, align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %55, i32 0, i32 0
  %57 = load i32, ptr %56, align 8, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %67

59:                                               ; preds = %1
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %60, i32 0, i32 8
  %62 = call noundef zeroext i1 @_ZNK3vox4spanIKfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %61)
  br i1 %62, label %67, label %63

63:                                               ; preds = %59
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %64, i32 0, i32 10
  %66 = call noundef zeroext i1 @_ZNK3vox4spanIKfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %65)
  br label %67

67:                                               ; preds = %63, %59, %1
  %68 = phi i1 [ false, %59 ], [ false, %1 ], [ %66, %63 ]
  br i1 %68, label %69, label %70

69:                                               ; preds = %67
  br label %72

70:                                               ; preds = %67
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 430, ptr noundef @__PRETTY_FUNCTION__._ZN3vox8geometry14SkinningPNOIT4ERKNS0_11SkinningJobE) #6
  unreachable

71:                                               ; No predecessors!
  br label %72

72:                                               ; preds = %71, %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %73, i32 0, i32 4
  %75 = call noundef ptr @_ZNK3vox4spanIKtE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %74)
  store ptr %75, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %76, i32 0, i32 8
  %78 = call noundef ptr @_ZNK3vox4spanIKfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %77)
  store ptr %78, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %79, i32 0, i32 14
  %81 = call noundef ptr @_ZNK3vox4spanIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %80)
  store ptr %81, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  %82 = call noundef <4 x float> @_ZN3vox4math11simd_float43oneEv()
  store <4 x float> %82, ptr %6, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %83, i32 0, i32 6
  %85 = call noundef ptr @_ZNK3vox4spanIKfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %84)
  store ptr %85, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %86, i32 0, i32 0
  %88 = load i32, ptr %87, align 8, !tbaa !9
  %89 = sub nsw i32 %88, 1
  store i32 %89, ptr %8, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !18
  br label %90

90:                                               ; preds = %186, %72
  %91 = load i32, ptr %9, align 4, !tbaa !18
  %92 = load i32, ptr %8, align 4, !tbaa !18
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %189

95:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %96)
  store <4 x float> %97, ptr %10, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  %98 = load <4 x float>, ptr %10, align 16, !tbaa !17
  %99 = call noundef <4 x float> @_ZN3vox4math6SplatXEDv4_f(<4 x float> noundef %98)
  store <4 x float> %99, ptr %11, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %100 = load <4 x float>, ptr %10, align 16, !tbaa !17
  %101 = call noundef <4 x float> @_ZN3vox4math6SplatYEDv4_f(<4 x float> noundef %100)
  store <4 x float> %101, ptr %12, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  %102 = load <4 x float>, ptr %10, align 16, !tbaa !17
  %103 = call noundef <4 x float> @_ZN3vox4math6SplatZEDv4_f(<4 x float> noundef %102)
  store <4 x float> %103, ptr %13, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #7
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds i16, ptr %104, i64 0
  %106 = load i16, ptr %105, align 2, !tbaa !19
  store i16 %106, ptr %14, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 2, ptr %15) #7
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds i16, ptr %107, i64 1
  %109 = load i16, ptr %108, align 2, !tbaa !19
  store i16 %109, ptr %15, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 2, ptr %16) #7
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds i16, ptr %110, i64 2
  %112 = load i16, ptr %111, align 2, !tbaa !19
  store i16 %112, ptr %16, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #7
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds i16, ptr %113, i64 3
  %115 = load i16, ptr %114, align 2, !tbaa !19
  store i16 %115, ptr %17, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %116, i32 0, i32 2
  %118 = load i16, ptr %14, align 2, !tbaa !19
  %119 = zext i16 %118 to i64
  %120 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %117, i64 noundef %119)
  store ptr %120, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %121 = load ptr, ptr %2, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %121, i32 0, i32 2
  %123 = load i16, ptr %15, align 2, !tbaa !19
  %124 = zext i16 %123 to i64
  %125 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %122, i64 noundef %124)
  store ptr %125, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %126, i32 0, i32 2
  %128 = load i16, ptr %16, align 2, !tbaa !19
  %129 = zext i16 %128 to i64
  %130 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %127, i64 noundef %129)
  store ptr %130, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %131 = load ptr, ptr %2, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %131, i32 0, i32 2
  %133 = load i16, ptr %17, align 2, !tbaa !19
  %134 = zext i16 %133 to i64
  %135 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %132, i64 noundef %134)
  store ptr %135, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #7
  %136 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %137 = load <4 x float>, ptr %11, align 16, !tbaa !17
  %138 = load <4 x float>, ptr %12, align 16, !tbaa !17
  %139 = fadd <4 x float> %137, %138
  %140 = load <4 x float>, ptr %13, align 16, !tbaa !17
  %141 = fadd <4 x float> %139, %140
  %142 = fsub <4 x float> %136, %141
  store <4 x float> %142, ptr %22, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #7
  %143 = load ptr, ptr %18, align 8, !tbaa !5
  %144 = load <4 x float>, ptr %11, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %26, ptr noundef nonnull align 16 dereferenceable(64) %143, <4 x float> noundef %144)
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #7
  %145 = load ptr, ptr %19, align 8, !tbaa !5
  %146 = load <4 x float>, ptr %12, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %27, ptr noundef nonnull align 16 dereferenceable(64) %145, <4 x float> noundef %146)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %25, ptr noundef nonnull align 16 dereferenceable(64) %26, ptr noundef nonnull align 16 dereferenceable(64) %27)
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #7
  %147 = load ptr, ptr %20, align 8, !tbaa !5
  %148 = load <4 x float>, ptr %13, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %28, ptr noundef nonnull align 16 dereferenceable(64) %147, <4 x float> noundef %148)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %24, ptr noundef nonnull align 16 dereferenceable(64) %25, ptr noundef nonnull align 16 dereferenceable(64) %28)
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #7
  %149 = load ptr, ptr %21, align 8, !tbaa !5
  %150 = load <4 x float>, ptr %22, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %29, ptr noundef nonnull align 16 dereferenceable(64) %149, <4 x float> noundef %150)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %23, ptr noundef nonnull align 16 dereferenceable(64) %24, ptr noundef nonnull align 16 dereferenceable(64) %29)
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store ptr %23, ptr %30, align 8, !tbaa !5
  %151 = load ptr, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #7
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %152)
  store <4 x float> %153, ptr %31, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  %154 = load <4 x float>, ptr %31, align 16, !tbaa !17
  %155 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %23, <4 x float> noundef %154)
  store <4 x float> %155, ptr %32, align 16, !tbaa !17
  %156 = load <4 x float>, ptr %32, align 16, !tbaa !17
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %156, ptr noundef %157)
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = ptrtoint ptr %158 to i64
  %160 = load ptr, ptr %2, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %160, i32 0, i32 5
  %162 = load i64, ptr %161, align 8, !tbaa !21
  %163 = add i64 %159, %162
  %164 = inttoptr i64 %163 to ptr
  store ptr %164, ptr %3, align 8, !tbaa !5
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = ptrtoint ptr %165 to i64
  %167 = load ptr, ptr %2, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %167, i32 0, i32 9
  %169 = load i64, ptr %168, align 8, !tbaa !22
  %170 = add i64 %166, %169
  %171 = inttoptr i64 %170 to ptr
  store ptr %171, ptr %4, align 8, !tbaa !5
  %172 = load ptr, ptr %5, align 8, !tbaa !5
  %173 = ptrtoint ptr %172 to i64
  %174 = load ptr, ptr %2, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %174, i32 0, i32 15
  %176 = load i64, ptr %175, align 8, !tbaa !23
  %177 = add i64 %173, %176
  %178 = inttoptr i64 %177 to ptr
  store ptr %178, ptr %5, align 8, !tbaa !5
  %179 = load ptr, ptr %7, align 8, !tbaa !5
  %180 = ptrtoint ptr %179 to i64
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %181, i32 0, i32 7
  %183 = load i64, ptr %182, align 8, !tbaa !24
  %184 = add i64 %180, %183
  %185 = inttoptr i64 %184 to ptr
  store ptr %185, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %186

186:                                              ; preds = %95
  %187 = load i32, ptr %9, align 4, !tbaa !18
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %9, align 4, !tbaa !18
  br label %90, !llvm.loop !25

189:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #7
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds float, ptr %190, i64 0
  %192 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %191)
  store <4 x float> %192, ptr %33, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #7
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = getelementptr inbounds float, ptr %193, i64 1
  %195 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %194)
  store <4 x float> %195, ptr %34, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  %196 = load ptr, ptr %7, align 8, !tbaa !5
  %197 = getelementptr inbounds float, ptr %196, i64 2
  %198 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %197)
  store <4 x float> %198, ptr %35, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2, ptr %36) #7
  %199 = load ptr, ptr %3, align 8, !tbaa !5
  %200 = getelementptr inbounds i16, ptr %199, i64 0
  %201 = load i16, ptr %200, align 2, !tbaa !19
  store i16 %201, ptr %36, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 2, ptr %37) #7
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = getelementptr inbounds i16, ptr %202, i64 1
  %204 = load i16, ptr %203, align 2, !tbaa !19
  store i16 %204, ptr %37, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 2, ptr %38) #7
  %205 = load ptr, ptr %3, align 8, !tbaa !5
  %206 = getelementptr inbounds i16, ptr %205, i64 2
  %207 = load i16, ptr %206, align 2, !tbaa !19
  store i16 %207, ptr %38, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 2, ptr %39) #7
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = getelementptr inbounds i16, ptr %208, i64 3
  %210 = load i16, ptr %209, align 2, !tbaa !19
  store i16 %210, ptr %39, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %211 = load ptr, ptr %2, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %211, i32 0, i32 2
  %213 = load i16, ptr %36, align 2, !tbaa !19
  %214 = zext i16 %213 to i64
  %215 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %212, i64 noundef %214)
  store ptr %215, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %216 = load ptr, ptr %2, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %216, i32 0, i32 2
  %218 = load i16, ptr %37, align 2, !tbaa !19
  %219 = zext i16 %218 to i64
  %220 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %217, i64 noundef %219)
  store ptr %220, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  %221 = load ptr, ptr %2, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %221, i32 0, i32 2
  %223 = load i16, ptr %38, align 2, !tbaa !19
  %224 = zext i16 %223 to i64
  %225 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %222, i64 noundef %224)
  store ptr %225, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %226 = load ptr, ptr %2, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %226, i32 0, i32 2
  %228 = load i16, ptr %39, align 2, !tbaa !19
  %229 = zext i16 %228 to i64
  %230 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %227, i64 noundef %229)
  store ptr %230, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #7
  %231 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %232 = load <4 x float>, ptr %33, align 16, !tbaa !17
  %233 = load <4 x float>, ptr %34, align 16, !tbaa !17
  %234 = fadd <4 x float> %232, %233
  %235 = load <4 x float>, ptr %35, align 16, !tbaa !17
  %236 = fadd <4 x float> %234, %235
  %237 = fsub <4 x float> %231, %236
  store <4 x float> %237, ptr %44, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 64, ptr %45) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %46) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %48) #7
  %238 = load ptr, ptr %40, align 8, !tbaa !5
  %239 = load <4 x float>, ptr %33, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %48, ptr noundef nonnull align 16 dereferenceable(64) %238, <4 x float> noundef %239)
  call void @llvm.lifetime.start.p0(i64 64, ptr %49) #7
  %240 = load ptr, ptr %41, align 8, !tbaa !5
  %241 = load <4 x float>, ptr %34, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %49, ptr noundef nonnull align 16 dereferenceable(64) %240, <4 x float> noundef %241)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %47, ptr noundef nonnull align 16 dereferenceable(64) %48, ptr noundef nonnull align 16 dereferenceable(64) %49)
  call void @llvm.lifetime.start.p0(i64 64, ptr %50) #7
  %242 = load ptr, ptr %42, align 8, !tbaa !5
  %243 = load <4 x float>, ptr %35, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %50, ptr noundef nonnull align 16 dereferenceable(64) %242, <4 x float> noundef %243)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %46, ptr noundef nonnull align 16 dereferenceable(64) %47, ptr noundef nonnull align 16 dereferenceable(64) %50)
  call void @llvm.lifetime.start.p0(i64 64, ptr %51) #7
  %244 = load ptr, ptr %43, align 8, !tbaa !5
  %245 = load <4 x float>, ptr %44, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %51, ptr noundef nonnull align 16 dereferenceable(64) %244, <4 x float> noundef %245)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %45, ptr noundef nonnull align 16 dereferenceable(64) %46, ptr noundef nonnull align 16 dereferenceable(64) %51)
  call void @llvm.lifetime.end.p0(i64 64, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %46) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  store ptr %45, ptr %52, align 8, !tbaa !5
  %246 = load ptr, ptr %52, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %53) #7
  %247 = load ptr, ptr %4, align 8, !tbaa !5
  %248 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %247)
  store <4 x float> %248, ptr %53, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #7
  %249 = load <4 x float>, ptr %53, align 16, !tbaa !17
  %250 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %45, <4 x float> noundef %249)
  store <4 x float> %250, ptr %54, align 16, !tbaa !17
  %251 = load <4 x float>, ptr %54, align 16, !tbaa !17
  %252 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %251, ptr noundef %252)
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math6SplatZEDv4_f(<4 x float> noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { alwaysinline 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 #4 = { alwaysinline mustprogress nounwind 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 #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 = { noreturn nounwind }
attributes #7 = { 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, !11, i64 0}
!10 = !{!"_ZTSN3vox8geometry11SkinningJobE", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 24, !14, i64 40, !13, i64 56, !15, i64 64, !13, i64 80, !15, i64 88, !13, i64 104, !15, i64 112, !13, i64 128, !15, i64 136, !13, i64 152, !16, i64 160, !13, i64 176, !16, i64 184, !13, i64 200, !16, i64 208, !13, i64 224}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSN3vox4spanIKNS_4math8Float4x4EEE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN3vox4spanIKtEE", !6, i64 0, !13, i64 8}
!15 = !{!"_ZTSN3vox4spanIKfEE", !6, i64 0, !13, i64 8}
!16 = !{!"_ZTSN3vox4spanIfEE", !6, i64 0, !13, i64 8}
!17 = !{!7, !7, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"short", !7, i64 0}
!21 = !{!10, !13, i64 56}
!22 = !{!10, !13, i64 104}
!23 = !{!10, !13, i64 176}
!24 = !{!10, !13, i64 80}
!25 = distinct !{!25, !26}
!26 = !{!"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"

%"struct.vox::math::Float4x4" = type { [4 x <4 x float>] }

@.str = external hidden unnamed_addr constant [75 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox8geometry14SkinningPNOIT4ERKNS0_11SkinningJobE = external hidden unnamed_addr constant [56 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3vox4spanIKfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64), <4 x float> noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math11simd_float43oneEv() local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind noalias writable sret(%"struct.vox::math::Float4x4") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind noalias writable sret(%"struct.vox::math::Float4x4") align 16, ptr noundef nonnull align 16 dereferenceable(64), <4 x float> noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math6SplatXEDv4_f(<4 x float> noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math6SplatYEDv4_f(<4 x float> noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox8geometry14SkinningPNOIT4ERKNS0_11SkinningJobE(ptr noundef nonnull align 8 dereferenceable(232) %0) local_unnamed_addr #5 {
  %2 = alloca %"struct.vox::math::Float4x4", align 16
  %3 = alloca %"struct.vox::math::Float4x4", align 16
  %4 = alloca %"struct.vox::math::Float4x4", align 16
  %5 = alloca %"struct.vox::math::Float4x4", align 16
  %6 = alloca %"struct.vox::math::Float4x4", align 16
  %7 = alloca %"struct.vox::math::Float4x4", align 16
  %8 = alloca %"struct.vox::math::Float4x4", align 16
  %9 = alloca %"struct.vox::math::Float4x4", align 16
  %10 = alloca %"struct.vox::math::Float4x4", align 16
  %11 = alloca %"struct.vox::math::Float4x4", align 16
  %12 = alloca %"struct.vox::math::Float4x4", align 16
  %13 = alloca %"struct.vox::math::Float4x4", align 16
  %14 = alloca %"struct.vox::math::Float4x4", align 16
  %15 = alloca %"struct.vox::math::Float4x4", align 16
  %16 = load i32, ptr %0, align 8, !tbaa !5
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %.critedge, label %17

17:                                               ; preds = %1
  %18 = getelementptr inbounds i8, ptr %0, i64 88
  %19 = tail call noundef zeroext i1 @_ZNK3vox4spanIKfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  br i1 %19, label %.critedge, label %20

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %0, i64 112
  %22 = tail call noundef zeroext i1 @_ZNK3vox4spanIKfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
  br i1 %22, label %23, label %.critedge

.critedge:                                        ; preds = %17, %1, %20
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 430, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox8geometry14SkinningPNOIT4ERKNS0_11SkinningJobE) #6
  unreachable

23:                                               ; preds = %20
  %24 = getelementptr inbounds i8, ptr %0, i64 40
  %25 = tail call noundef ptr @_ZNK3vox4spanIKtE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
  %26 = tail call noundef ptr @_ZNK3vox4spanIKfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  %27 = getelementptr inbounds i8, ptr %0, i64 160
  %28 = tail call noundef ptr @_ZNK3vox4spanIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
  %29 = tail call noundef <4 x float> @_ZN3vox4math11simd_float43oneEv()
  %30 = getelementptr inbounds i8, ptr %0, i64 64
  %31 = tail call noundef ptr @_ZNK3vox4spanIKfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  %32 = load i32, ptr %0, align 8, !tbaa !5
  %33 = icmp sgt i32 %32, 1
  br i1 %33, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %23
  %34 = getelementptr inbounds i8, ptr %0, i64 8
  %35 = getelementptr inbounds i8, ptr %0, i64 56
  %36 = getelementptr inbounds i8, ptr %0, i64 104
  %37 = getelementptr inbounds i8, ptr %0, i64 176
  %38 = getelementptr inbounds i8, ptr %0, i64 80
  %39 = add nsw i32 %32, -2
  br label %66

._crit_edge:                                      ; preds = %66, %23
  %.085.lcssa = phi ptr [ %31, %23 ], [ %106, %66 ]
  %.084.lcssa = phi ptr [ %28, %23 ], [ %102, %66 ]
  %.083.lcssa = phi ptr [ %26, %23 ], [ %98, %66 ]
  %.0.lcssa = phi ptr [ %25, %23 ], [ %94, %66 ]
  %40 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %.085.lcssa)
  %41 = getelementptr inbounds i8, ptr %.085.lcssa, i64 4
  %42 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef nonnull %41)
  %43 = getelementptr inbounds i8, ptr %.085.lcssa, i64 8
  %44 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef nonnull %43)
  %45 = load i16, ptr %.0.lcssa, align 2, !tbaa !16
  %46 = getelementptr inbounds i8, ptr %.0.lcssa, i64 2
  %47 = load i16, ptr %46, align 2, !tbaa !16
  %48 = getelementptr inbounds i8, ptr %.0.lcssa, i64 4
  %49 = load i16, ptr %48, align 2, !tbaa !16
  %50 = getelementptr inbounds i8, ptr %.0.lcssa, i64 6
  %51 = load i16, ptr %50, align 2, !tbaa !16
  %52 = getelementptr inbounds i8, ptr %0, i64 8
  %53 = zext i16 %45 to i64
  %54 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %52, i64 noundef %53)
  %55 = zext i16 %47 to i64
  %56 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %52, i64 noundef %55)
  %57 = zext i16 %49 to i64
  %58 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %52, i64 noundef %57)
  %59 = zext i16 %51 to i64
  %60 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %52, i64 noundef %59)
  %61 = fadd <4 x float> %40, %42
  %62 = fadd <4 x float> %61, %44
  %63 = fsub <4 x float> %29, %62
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #7
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %12, ptr noundef nonnull align 16 dereferenceable(64) %54, <4 x float> noundef %40)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #7
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %13, ptr noundef nonnull align 16 dereferenceable(64) %56, <4 x float> noundef %42)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %11, ptr noundef nonnull align 16 dereferenceable(64) %12, ptr noundef nonnull align 16 dereferenceable(64) %13)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #7
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %14, ptr noundef nonnull align 16 dereferenceable(64) %58, <4 x float> noundef %44)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %10, ptr noundef nonnull align 16 dereferenceable(64) %11, ptr noundef nonnull align 16 dereferenceable(64) %14)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #7
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %15, ptr noundef nonnull align 16 dereferenceable(64) %60, <4 x float> noundef %63)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %9, ptr noundef nonnull align 16 dereferenceable(64) %10, ptr noundef nonnull align 16 dereferenceable(64) %15)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #7
  %64 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %.083.lcssa)
  %65 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %9, <4 x float> noundef %64)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %65, ptr noundef %.084.lcssa)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #7
  ret void

66:                                               ; preds = %.lr.ph, %66
  %.091 = phi ptr [ %25, %.lr.ph ], [ %94, %66 ]
  %.08390 = phi ptr [ %26, %.lr.ph ], [ %98, %66 ]
  %.08489 = phi ptr [ %28, %.lr.ph ], [ %102, %66 ]
  %.08588 = phi ptr [ %31, %.lr.ph ], [ %106, %66 ]
  %.08687 = phi i32 [ 0, %.lr.ph ], [ %107, %66 ]
  %67 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %.08588)
  %68 = call noundef <4 x float> @_ZN3vox4math6SplatXEDv4_f(<4 x float> noundef %67)
  %69 = call noundef <4 x float> @_ZN3vox4math6SplatYEDv4_f(<4 x float> noundef %67)
  %70 = call noundef <4 x float> @_ZN3vox4math6SplatZEDv4_f(<4 x float> noundef %67)
  %71 = load i16, ptr %.091, align 2, !tbaa !16
  %72 = getelementptr inbounds i8, ptr %.091, i64 2
  %73 = load i16, ptr %72, align 2, !tbaa !16
  %74 = getelementptr inbounds i8, ptr %.091, i64 4
  %75 = load i16, ptr %74, align 2, !tbaa !16
  %76 = getelementptr inbounds i8, ptr %.091, i64 6
  %77 = load i16, ptr %76, align 2, !tbaa !16
  %78 = zext i16 %71 to i64
  %79 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %34, i64 noundef %78)
  %80 = zext i16 %73 to i64
  %81 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %34, i64 noundef %80)
  %82 = zext i16 %75 to i64
  %83 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %34, i64 noundef %82)
  %84 = zext i16 %77 to i64
  %85 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %34, i64 noundef %84)
  %86 = fadd <4 x float> %68, %69
  %87 = fadd <4 x float> %86, %70
  %88 = fsub <4 x float> %29, %87
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #7
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %5, ptr noundef nonnull align 16 dereferenceable(64) %79, <4 x float> noundef %68)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #7
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %6, ptr noundef nonnull align 16 dereferenceable(64) %81, <4 x float> noundef %69)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %4, ptr noundef nonnull align 16 dereferenceable(64) %5, ptr noundef nonnull align 16 dereferenceable(64) %6)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #7
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %7, ptr noundef nonnull align 16 dereferenceable(64) %83, <4 x float> noundef %70)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %3, ptr noundef nonnull align 16 dereferenceable(64) %4, ptr noundef nonnull align 16 dereferenceable(64) %7)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #7
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %8, ptr noundef nonnull align 16 dereferenceable(64) %85, <4 x float> noundef %88)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %2, ptr noundef nonnull align 16 dereferenceable(64) %3, ptr noundef nonnull align 16 dereferenceable(64) %8)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #7
  %89 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %.08390)
  %90 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %2, <4 x float> noundef %89)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %90, ptr noundef %.08489)
  %91 = ptrtoint ptr %.091 to i64
  %92 = load i64, ptr %35, align 8, !tbaa !18
  %93 = add i64 %92, %91
  %94 = inttoptr i64 %93 to ptr
  %95 = ptrtoint ptr %.08390 to i64
  %96 = load i64, ptr %36, align 8, !tbaa !19
  %97 = add i64 %96, %95
  %98 = inttoptr i64 %97 to ptr
  %99 = ptrtoint ptr %.08489 to i64
  %100 = load i64, ptr %37, align 8, !tbaa !20
  %101 = add i64 %100, %99
  %102 = inttoptr i64 %101 to ptr
  %103 = ptrtoint ptr %.08588 to i64
  %104 = load i64, ptr %38, align 8, !tbaa !21
  %105 = add i64 %104, %103
  %106 = inttoptr i64 %105 to ptr
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #7
  %107 = add nuw nsw i32 %.08687, 1
  %exitcond.not = icmp eq i32 %.08687, %39
  br i1 %exitcond.not, label %._crit_edge, label %66, !llvm.loop !22
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math6SplatZEDv4_f(<4 x float> noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { alwaysinline 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 #4 = { alwaysinline mustprogress nounwind 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 #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 = { noreturn nounwind }
attributes #7 = { 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, !7, i64 0}
!6 = !{!"_ZTSN3vox8geometry11SkinningJobE", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 24, !13, i64 40, !12, i64 56, !14, i64 64, !12, i64 80, !14, i64 88, !12, i64 104, !14, i64 112, !12, i64 128, !14, i64 136, !12, i64 152, !15, i64 160, !12, i64 176, !15, i64 184, !12, i64 200, !15, i64 208, !12, i64 224}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3vox4spanIKNS_4math8Float4x4EEE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_ZTSN3vox4spanIKtEE", !11, i64 0, !12, i64 8}
!14 = !{!"_ZTSN3vox4spanIKfEE", !11, i64 0, !12, i64 8}
!15 = !{!"_ZTSN3vox4spanIfEE", !11, i64 0, !12, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"short", !8, i64 0}
!18 = !{!6, !12, i64 56}
!19 = !{!6, !12, i64 104}
!20 = !{!6, !12, i64 176}
!21 = !{!6, !12, i64 80}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


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