; LLVM IR from yangfengzzz/DigitalVox3 :: vox.render/geometry/skinning_job.ll (ZN3vox8geometry14SkinningPNOITNERKNS0_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__._ZN3vox8geometry14SkinningPNOITNERKNS0_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: mustprogress uwtable
define dso_local void @_ZN3vox8geometry14SkinningPNOITNERKNS0_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 i32, align 4
  %11 = alloca <4 x float>, align 16
  %12 = alloca %"struct.vox::math::Float4x4", align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca <4 x float>, align 16
  %16 = alloca %"struct.vox::math::Float4x4", align 16
  %17 = alloca %"struct.vox::math::Float4x4", align 16
  %18 = alloca %"struct.vox::math::Float4x4", align 16
  %19 = alloca %"struct.vox::math::Float4x4", align 16
  %20 = alloca ptr, align 8
  %21 = alloca <4 x float>, align 16
  %22 = alloca <4 x float>, align 16
  %23 = alloca <4 x float>, align 16
  %24 = alloca %"struct.vox::math::Float4x4", align 16
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca <4 x float>, align 16
  %28 = alloca %"struct.vox::math::Float4x4", align 16
  %29 = alloca %"struct.vox::math::Float4x4", align 16
  %30 = alloca %"struct.vox::math::Float4x4", align 16
  %31 = alloca %"struct.vox::math::Float4x4", align 16
  %32 = alloca ptr, align 8
  %33 = alloca <4 x float>, align 16
  %34 = alloca <4 x float>, align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %35, i32 0, i32 0
  %37 = load i32, ptr %36, align 8, !tbaa !9
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %47

39:                                               ; preds = %1
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %40, i32 0, i32 8
  %42 = call noundef zeroext i1 @_ZNK3vox4spanIKfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %41)
  br i1 %42, label %47, label %43

43:                                               ; preds = %39
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %44, i32 0, i32 10
  %46 = call noundef zeroext i1 @_ZNK3vox4spanIKfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %45)
  br label %47

47:                                               ; preds = %43, %39, %1
  %48 = phi i1 [ false, %39 ], [ false, %1 ], [ %46, %43 ]
  br i1 %48, label %49, label %50

49:                                               ; preds = %47
  br label %52

50:                                               ; preds = %47
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 435, ptr noundef @__PRETTY_FUNCTION__._ZN3vox8geometry14SkinningPNOITNERKNS0_11SkinningJobE) #7
  unreachable

51:                                               ; No predecessors!
  br label %52

52:                                               ; preds = %51, %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %53, i32 0, i32 4
  %55 = call noundef ptr @_ZNK3vox4spanIKtE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %54)
  store ptr %55, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %56, i32 0, i32 8
  %58 = call noundef ptr @_ZNK3vox4spanIKfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %57)
  store ptr %58, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %59, i32 0, i32 14
  %61 = call noundef ptr @_ZNK3vox4spanIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %60)
  store ptr %61, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #8
  %62 = call noundef <4 x float> @_ZN3vox4math11simd_float43oneEv()
  store <4 x float> %62, ptr %6, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %63, i32 0, i32 6
  %65 = call noundef ptr @_ZNK3vox4spanIKfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %64)
  store ptr %65, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 8, !tbaa !9
  %69 = sub nsw i32 %68, 1
  store i32 %69, ptr %8, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !18
  br label %70

70:                                               ; preds = %166, %52
  %71 = load i32, ptr %9, align 4, !tbaa !18
  %72 = load i32, ptr %8, align 4, !tbaa !18
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %169

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds float, ptr %76, i64 0
  %78 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %77)
  store <4 x float> %78, ptr %11, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #8
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %79, i32 0, i32 2
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds i16, ptr %81, i64 0
  %83 = load i16, ptr %82, align 2, !tbaa !19
  %84 = zext i16 %83 to i64
  %85 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %80, i64 noundef %84)
  %86 = 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 %12, ptr noundef nonnull align 16 dereferenceable(64) %85, <4 x float> noundef %86)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %87, i32 0, i32 1
  %89 = load i32, ptr %88, align 4, !tbaa !21
  %90 = sub nsw i32 %89, 1
  store i32 %90, ptr %13, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 1, ptr %14, align 4, !tbaa !18
  br label %91

91:                                               ; preds = %115, %75
  %92 = load i32, ptr %14, align 4, !tbaa !18
  %93 = load i32, ptr %13, align 4, !tbaa !18
  %94 = icmp slt i32 %92, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %91
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %118

96:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = load i32, ptr %14, align 4, !tbaa !18
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds float, ptr %97, i64 %99
  %101 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %100)
  store <4 x float> %101, ptr %15, align 16, !tbaa !17
  %102 = load <4 x float>, ptr %11, align 16, !tbaa !17
  %103 = load <4 x float>, ptr %15, align 16, !tbaa !17
  %104 = fadd <4 x float> %102, %103
  store <4 x float> %104, ptr %11, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #8
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %105, i32 0, i32 2
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = load i32, ptr %14, align 4, !tbaa !18
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds i16, ptr %107, i64 %109
  %111 = load i16, ptr %110, align 2, !tbaa !19
  %112 = zext i16 %111 to i64
  %113 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %106, i64 noundef %112)
  %114 = load <4 x float>, ptr %15, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %17, ptr noundef nonnull align 16 dereferenceable(64) %113, <4 x float> noundef %114)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %16, ptr noundef nonnull align 16 dereferenceable(64) %12, ptr noundef nonnull align 16 dereferenceable(64) %17)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 %16, i64 64, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  br label %115

115:                                              ; preds = %96
  %116 = load i32, ptr %14, align 4, !tbaa !18
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %14, align 4, !tbaa !18
  br label %91, !llvm.loop !23

118:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #8
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %119, i32 0, i32 2
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = load i32, ptr %13, align 4, !tbaa !18
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds i16, ptr %121, i64 %123
  %125 = load i16, ptr %124, align 2, !tbaa !19
  %126 = zext i16 %125 to i64
  %127 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %120, i64 noundef %126)
  %128 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %129 = load <4 x float>, ptr %11, align 16, !tbaa !17
  %130 = fsub <4 x float> %128, %129
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %19, ptr noundef nonnull align 16 dereferenceable(64) %127, <4 x float> noundef %130)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %18, ptr noundef nonnull align 16 dereferenceable(64) %12, ptr noundef nonnull align 16 dereferenceable(64) %19)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 %18, i64 64, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  store ptr %12, ptr %20, align 8, !tbaa !5
  %131 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %132)
  store <4 x float> %133, ptr %21, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  %134 = load <4 x float>, ptr %21, align 16, !tbaa !17
  %135 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %12, <4 x float> noundef %134)
  store <4 x float> %135, ptr %22, align 16, !tbaa !17
  %136 = load <4 x float>, ptr %22, align 16, !tbaa !17
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %136, ptr noundef %137)
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = ptrtoint ptr %138 to i64
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %140, i32 0, i32 5
  %142 = load i64, ptr %141, align 8, !tbaa !25
  %143 = add i64 %139, %142
  %144 = inttoptr i64 %143 to ptr
  store ptr %144, ptr %3, align 8, !tbaa !5
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = ptrtoint ptr %145 to i64
  %147 = load ptr, ptr %2, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %147, i32 0, i32 9
  %149 = load i64, ptr %148, align 8, !tbaa !26
  %150 = add i64 %146, %149
  %151 = inttoptr i64 %150 to ptr
  store ptr %151, ptr %4, align 8, !tbaa !5
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = ptrtoint ptr %152 to i64
  %154 = load ptr, ptr %2, align 8, !tbaa !5
  %155 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %154, i32 0, i32 15
  %156 = load i64, ptr %155, align 8, !tbaa !27
  %157 = add i64 %153, %156
  %158 = inttoptr i64 %157 to ptr
  store ptr %158, ptr %5, align 8, !tbaa !5
  %159 = load ptr, ptr %7, align 8, !tbaa !5
  %160 = ptrtoint ptr %159 to i64
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %161, i32 0, i32 7
  %163 = load i64, ptr %162, align 8, !tbaa !28
  %164 = add i64 %160, %163
  %165 = inttoptr i64 %164 to ptr
  store ptr %165, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  br label %166

166:                                              ; preds = %118
  %167 = load i32, ptr %9, align 4, !tbaa !18
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %9, align 4, !tbaa !18
  br label %70, !llvm.loop !29

169:                                              ; preds = %74
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds float, ptr %170, i64 0
  %172 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %171)
  store <4 x float> %172, ptr %23, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #8
  %173 = load ptr, ptr %2, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %173, i32 0, i32 2
  %175 = load ptr, ptr %3, align 8, !tbaa !5
  %176 = getelementptr inbounds i16, ptr %175, i64 0
  %177 = load i16, ptr %176, align 2, !tbaa !19
  %178 = zext i16 %177 to i64
  %179 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %174, i64 noundef %178)
  %180 = load <4 x float>, ptr %23, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %24, ptr noundef nonnull align 16 dereferenceable(64) %179, <4 x float> noundef %180)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %181, i32 0, i32 1
  %183 = load i32, ptr %182, align 4, !tbaa !21
  %184 = sub nsw i32 %183, 1
  store i32 %184, ptr %25, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 1, ptr %26, align 4, !tbaa !18
  br label %185

185:                                              ; preds = %209, %169
  %186 = load i32, ptr %26, align 4, !tbaa !18
  %187 = load i32, ptr %25, align 4, !tbaa !18
  %188 = icmp slt i32 %186, %187
  br i1 %188, label %190, label %189

189:                                              ; preds = %185
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %212

190:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %191 = load ptr, ptr %7, align 8, !tbaa !5
  %192 = load i32, ptr %26, align 4, !tbaa !18
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds float, ptr %191, i64 %193
  %195 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %194)
  store <4 x float> %195, ptr %27, align 16, !tbaa !17
  %196 = load <4 x float>, ptr %23, align 16, !tbaa !17
  %197 = load <4 x float>, ptr %27, align 16, !tbaa !17
  %198 = fadd <4 x float> %196, %197
  store <4 x float> %198, ptr %23, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #8
  %199 = load ptr, ptr %2, align 8, !tbaa !5
  %200 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %199, i32 0, i32 2
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = load i32, ptr %26, align 4, !tbaa !18
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds i16, ptr %201, i64 %203
  %205 = load i16, ptr %204, align 2, !tbaa !19
  %206 = zext i16 %205 to i64
  %207 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %200, i64 noundef %206)
  %208 = load <4 x float>, ptr %27, 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) %207, <4 x float> noundef %208)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %28, ptr noundef nonnull align 16 dereferenceable(64) %24, ptr noundef nonnull align 16 dereferenceable(64) %29)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 16 %28, i64 64, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %209

209:                                              ; preds = %190
  %210 = load i32, ptr %26, align 4, !tbaa !18
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %26, align 4, !tbaa !18
  br label %185, !llvm.loop !30

212:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #8
  %213 = load ptr, ptr %2, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %213, i32 0, i32 2
  %215 = load ptr, ptr %3, align 8, !tbaa !5
  %216 = load i32, ptr %25, align 4, !tbaa !18
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds i16, ptr %215, i64 %217
  %219 = load i16, ptr %218, align 2, !tbaa !19
  %220 = zext i16 %219 to i64
  %221 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %214, i64 noundef %220)
  %222 = load <4 x float>, ptr %6, align 16, !tbaa !17
  %223 = load <4 x float>, ptr %23, align 16, !tbaa !17
  %224 = fsub <4 x float> %222, %223
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %31, ptr noundef nonnull align 16 dereferenceable(64) %221, <4 x float> noundef %224)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %30, ptr noundef nonnull align 16 dereferenceable(64) %24, ptr noundef nonnull align 16 dereferenceable(64) %31)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 16 %30, i64 64, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  store ptr %24, ptr %32, align 8, !tbaa !5
  %225 = load ptr, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #8
  %226 = load ptr, ptr %4, align 8, !tbaa !5
  %227 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %226)
  store <4 x float> %227, ptr %33, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #8
  %228 = load <4 x float>, ptr %33, align 16, !tbaa !17
  %229 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %24, <4 x float> noundef %228)
  store <4 x float> %229, ptr %34, align 16, !tbaa !17
  %230 = load <4 x float>, ptr %34, align 16, !tbaa !17
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %230, ptr noundef %231)
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  ret void
}

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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, !11, i64 4}
!22 = !{i64 0, i64 64, !17}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!10, !13, i64 56}
!26 = !{!10, !13, i64 104}
!27 = !{!10, !13, i64 176}
!28 = !{!10, !13, i64 80}
!29 = distinct !{!29, !24}
!30 = distinct !{!30, !24}


; 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__._ZN3vox8geometry14SkinningPNOITNERKNS0_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: mustprogress uwtable
define dso_local void @_ZN3vox8geometry14SkinningPNOITNERKNS0_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 = load i32, ptr %0, align 8, !tbaa !5
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %.critedge, label %13

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

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

.critedge:                                        ; preds = %13, %1, %16
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 435, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox8geometry14SkinningPNOITNERKNS0_11SkinningJobE) #7
  unreachable

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

.lr.ph88:                                         ; preds = %19
  %30 = getelementptr inbounds i8, ptr %0, i64 8
  %31 = getelementptr inbounds i8, ptr %0, i64 4
  %32 = getelementptr inbounds i8, ptr %0, i64 56
  %33 = getelementptr inbounds i8, ptr %0, i64 104
  %34 = getelementptr inbounds i8, ptr %0, i64 176
  %35 = getelementptr inbounds i8, ptr %0, i64 80
  %36 = add nsw i32 %28, -2
  br label %46

._crit_edge89:                                    ; preds = %._crit_edge, %19
  %.072.lcssa = phi ptr [ %27, %19 ], [ %77, %._crit_edge ]
  %.071.lcssa = phi ptr [ %24, %19 ], [ %73, %._crit_edge ]
  %.070.lcssa = phi ptr [ %22, %19 ], [ %69, %._crit_edge ]
  %.0.lcssa = phi ptr [ %21, %19 ], [ %65, %._crit_edge ]
  %37 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %.072.lcssa)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #8
  %38 = getelementptr inbounds i8, ptr %0, i64 8
  %39 = load i16, ptr %.0.lcssa, align 2, !tbaa !16
  %40 = zext i16 %39 to i64
  %41 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %38, i64 noundef %40)
  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) %41, <4 x float> noundef %37)
  %42 = getelementptr inbounds i8, ptr %0, i64 4
  %43 = load i32, ptr %42, align 4, !tbaa !18
  %44 = add i32 %43, -1
  %45 = icmp sgt i32 %43, 2
  br i1 %45, label %.lr.ph97.preheader, label %._crit_edge98

.lr.ph97.preheader:                               ; preds = %._crit_edge89
  %wide.trip.count110 = zext nneg i32 %44 to i64
  br label %.lr.ph97

46:                                               ; preds = %.lr.ph88, %._crit_edge
  %.086 = phi ptr [ %21, %.lr.ph88 ], [ %65, %._crit_edge ]
  %.07085 = phi ptr [ %22, %.lr.ph88 ], [ %69, %._crit_edge ]
  %.07184 = phi ptr [ %24, %.lr.ph88 ], [ %73, %._crit_edge ]
  %.07283 = phi ptr [ %27, %.lr.ph88 ], [ %77, %._crit_edge ]
  %.07482 = phi i32 [ 0, %.lr.ph88 ], [ %78, %._crit_edge ]
  %47 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %.07283)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #8
  %48 = load i16, ptr %.086, align 2, !tbaa !16
  %49 = zext i16 %48 to i64
  %50 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %30, i64 noundef %49)
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %2, ptr noundef nonnull align 16 dereferenceable(64) %50, <4 x float> noundef %47)
  %51 = load i32, ptr %31, align 4, !tbaa !18
  %52 = add i32 %51, -1
  %53 = icmp sgt i32 %51, 2
  br i1 %53, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %46
  %wide.trip.count = zext nneg i32 %52 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %46
  %.076.lcssa = phi <4 x float> [ %47, %46 ], [ %81, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #8
  %54 = sext i32 %52 to i64
  %55 = getelementptr inbounds i16, ptr %.086, i64 %54
  %56 = load i16, ptr %55, align 2, !tbaa !16
  %57 = zext i16 %56 to i64
  %58 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %30, i64 noundef %57)
  %59 = fsub <4 x float> %25, %.076.lcssa
  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) %58, <4 x float> noundef %59)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %5, ptr noundef nonnull align 16 dereferenceable(64) %2, ptr noundef nonnull align 16 dereferenceable(64) %6)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %2, ptr noundef nonnull align 16 dereferenceable(64) %5, i64 64, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #8
  %60 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %.07085)
  %61 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %2, <4 x float> noundef %60)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %61, ptr noundef %.07184)
  %62 = ptrtoint ptr %.086 to i64
  %63 = load i64, ptr %32, align 8, !tbaa !21
  %64 = add i64 %63, %62
  %65 = inttoptr i64 %64 to ptr
  %66 = ptrtoint ptr %.07085 to i64
  %67 = load i64, ptr %33, align 8, !tbaa !22
  %68 = add i64 %67, %66
  %69 = inttoptr i64 %68 to ptr
  %70 = ptrtoint ptr %.07184 to i64
  %71 = load i64, ptr %34, align 8, !tbaa !23
  %72 = add i64 %71, %70
  %73 = inttoptr i64 %72 to ptr
  %74 = ptrtoint ptr %.07283 to i64
  %75 = load i64, ptr %35, align 8, !tbaa !24
  %76 = add i64 %75, %74
  %77 = inttoptr i64 %76 to ptr
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  %78 = add nuw nsw i32 %.07482, 1
  %exitcond106.not = icmp eq i32 %.07482, %36
  br i1 %exitcond106.not, label %._crit_edge89, label %46, !llvm.loop !25

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.07681 = phi <4 x float> [ %47, %.lr.ph.preheader ], [ %81, %.lr.ph ]
  %79 = getelementptr inbounds float, ptr %.07283, i64 %indvars.iv
  %80 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef nonnull %79)
  %81 = fadd <4 x float> %.07681, %80
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #8
  %82 = getelementptr inbounds i16, ptr %.086, i64 %indvars.iv
  %83 = load i16, ptr %82, align 2, !tbaa !16
  %84 = zext i16 %83 to i64
  %85 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %30, i64 noundef %84)
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %4, ptr noundef nonnull align 16 dereferenceable(64) %85, <4 x float> noundef %80)
  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) %2, ptr noundef nonnull align 16 dereferenceable(64) %4)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %2, ptr noundef nonnull align 16 dereferenceable(64) %3, i64 64, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !27

._crit_edge98:                                    ; preds = %.lr.ph97, %._crit_edge89
  %.075.lcssa = phi <4 x float> [ %37, %._crit_edge89 ], [ %96, %.lr.ph97 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #8
  %86 = sext i32 %44 to i64
  %87 = getelementptr inbounds i16, ptr %.0.lcssa, i64 %86
  %88 = load i16, ptr %87, align 2, !tbaa !16
  %89 = zext i16 %88 to i64
  %90 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %38, i64 noundef %89)
  %91 = fsub <4 x float> %25, %.075.lcssa
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %11, ptr noundef nonnull align 16 dereferenceable(64) %90, <4 x float> noundef %91)
  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) %7, ptr noundef nonnull align 16 dereferenceable(64) %11)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %7, ptr noundef nonnull align 16 dereferenceable(64) %10, i64 64, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #8
  %92 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %.070.lcssa)
  %93 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %7, <4 x float> noundef %92)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %93, ptr noundef %.071.lcssa)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #8
  ret void

.lr.ph97:                                         ; preds = %.lr.ph97.preheader, %.lr.ph97
  %indvars.iv107 = phi i64 [ 1, %.lr.ph97.preheader ], [ %indvars.iv.next108, %.lr.ph97 ]
  %.07594 = phi <4 x float> [ %37, %.lr.ph97.preheader ], [ %96, %.lr.ph97 ]
  %94 = getelementptr inbounds float, ptr %.072.lcssa, i64 %indvars.iv107
  %95 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef nonnull %94)
  %96 = fadd <4 x float> %.07594, %95
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #8
  %97 = getelementptr inbounds i16, ptr %.0.lcssa, i64 %indvars.iv107
  %98 = load i16, ptr %97, align 2, !tbaa !16
  %99 = zext i16 %98 to i64
  %100 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %38, i64 noundef %99)
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %9, ptr noundef nonnull align 16 dereferenceable(64) %100, <4 x float> noundef %95)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %8, ptr noundef nonnull align 16 dereferenceable(64) %7, ptr noundef nonnull align 16 dereferenceable(64) %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %7, ptr noundef nonnull align 16 dereferenceable(64) %8, i64 64, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #8
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %exitcond111.not = icmp eq i64 %indvars.iv.next108, %wide.trip.count110
  br i1 %exitcond111.not, label %._crit_edge98, label %.lr.ph97, !llvm.loop !28
}

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

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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, !7, i64 4}
!19 = !{i64 0, i64 64, !20}
!20 = !{!8, !8, i64 0}
!21 = !{!6, !12, i64 56}
!22 = !{!6, !12, i64 104}
!23 = !{!6, !12, i64 176}
!24 = !{!6, !12, i64 80}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !26}


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