; LLVM IR from yangfengzzz/DigitalVox3 :: vox.render/geometry/skinning_job.ll (ZN3vox8geometry13SkinningPNIT2ERKNS0_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.1 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox8geometry13SkinningPNIT2ERKNS0_11SkinningJobE = external hidden unnamed_addr constant [55 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 @_ZNK3vox4spanIKNS_4math8Float4x4EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; 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 nounwind uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64), <4 x float> noundef) #4

; 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 @_ZN3vox8geometry13SkinningPNIT2ERKNS0_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 ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca <4 x float>, align 16
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca <4 x float>, align 16
  %13 = alloca i16, align 2
  %14 = alloca i16, align 2
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca <4 x float>, align 16
  %18 = alloca %"struct.vox::math::Float4x4", align 16
  %19 = alloca %"struct.vox::math::Float4x4", align 16
  %20 = alloca %"struct.vox::math::Float4x4", align 16
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %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 <4 x float>, align 16
  %27 = alloca <4 x float>, align 16
  %28 = alloca <4 x float>, align 16
  %29 = alloca <4 x float>, align 16
  %30 = alloca <4 x float>, align 16
  %31 = alloca i16, align 2
  %32 = alloca i16, align 2
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca <4 x float>, align 16
  %36 = alloca %"struct.vox::math::Float4x4", align 16
  %37 = alloca %"struct.vox::math::Float4x4", align 16
  %38 = alloca %"struct.vox::math::Float4x4", align 16
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca %"struct.vox::math::Float4x4", align 16
  %42 = alloca %"struct.vox::math::Float4x4", align 16
  %43 = alloca %"struct.vox::math::Float4x4", align 16
  %44 = alloca <4 x float>, align 16
  %45 = alloca <4 x float>, align 16
  %46 = alloca <4 x float>, align 16
  %47 = alloca <4 x float>, align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %48 = load ptr, ptr %2, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %48, i32 0, i32 0
  %50 = load i32, ptr %49, align 8, !tbaa !9
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %64

52:                                               ; preds = %1
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %53, i32 0, i32 8
  %55 = call noundef zeroext i1 @_ZNK3vox4spanIKfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %54)
  br i1 %55, label %64, label %56

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

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

64:                                               ; preds = %60, %56, %52, %1
  %65 = phi i1 [ false, %56 ], [ false, %52 ], [ false, %1 ], [ %63, %60 ]
  br i1 %65, label %66, label %67

66:                                               ; preds = %64
  br label %69

67:                                               ; preds = %64
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 423, ptr noundef @__PRETTY_FUNCTION__._ZN3vox8geometry13SkinningPNIT2ERKNS0_11SkinningJobE) #6
  unreachable

68:                                               ; No predecessors!
  br label %69

69:                                               ; preds = %68, %66
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %70, i32 0, i32 3
  %72 = call noundef zeroext i1 @_ZNK3vox4spanIKNS_4math8Float4x4EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %71)
  %73 = xor i1 %72, true
  br i1 %73, label %74, label %75

74:                                               ; preds = %69
  br label %77

75:                                               ; preds = %69
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 423, ptr noundef @__PRETTY_FUNCTION__._ZN3vox8geometry13SkinningPNIT2ERKNS0_11SkinningJobE) #6
  unreachable

76:                                               ; No predecessors!
  br label %77

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

101:                                              ; preds = %201, %77
  %102 = load i32, ptr %11, align 4, !tbaa !18
  %103 = load i32, ptr %10, align 4, !tbaa !18
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %204

106:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = getelementptr inbounds float, ptr %107, i64 0
  %109 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %108)
  store <4 x float> %109, ptr %12, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #7
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds i16, ptr %110, i64 0
  %112 = load i16, ptr %111, align 2, !tbaa !19
  store i16 %112, ptr %13, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #7
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds i16, ptr %113, i64 1
  %115 = load i16, ptr %114, align 2, !tbaa !19
  store i16 %115, ptr %14, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #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 %13, 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 %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #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 %14, 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 %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %126 = load <4 x float>, ptr %8, align 16, !tbaa !17
  %127 = load <4 x float>, ptr %12, align 16, !tbaa !17
  %128 = fsub <4 x float> %126, %127
  store <4 x float> %128, ptr %17, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #7
  %129 = load ptr, ptr %15, align 8, !tbaa !5
  %130 = 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 %19, ptr noundef nonnull align 16 dereferenceable(64) %129, <4 x float> noundef %130)
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #7
  %131 = load ptr, ptr %16, align 8, !tbaa !5
  %132 = load <4 x float>, ptr %17, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %20, ptr noundef nonnull align 16 dereferenceable(64) %131, <4 x float> noundef %132)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %18, ptr noundef nonnull align 16 dereferenceable(64) %19, ptr noundef nonnull align 16 dereferenceable(64) %20)
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %133, i32 0, i32 3
  %135 = load i16, ptr %13, align 2, !tbaa !19
  %136 = zext i16 %135 to i64
  %137 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %134, i64 noundef %136)
  store ptr %137, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %138, i32 0, i32 3
  %140 = load i16, ptr %14, align 2, !tbaa !19
  %141 = zext i16 %140 to i64
  %142 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %139, i64 noundef %141)
  store ptr %142, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #7
  %143 = load ptr, ptr %21, align 8, !tbaa !5
  %144 = 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 %24, ptr noundef nonnull align 16 dereferenceable(64) %143, <4 x float> noundef %144)
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #7
  %145 = load ptr, ptr %22, align 8, !tbaa !5
  %146 = load <4 x float>, ptr %17, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %25, 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 %23, ptr noundef nonnull align 16 dereferenceable(64) %24, ptr noundef nonnull align 16 dereferenceable(64) %25)
  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 16, ptr %26) #7
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %147)
  store <4 x float> %148, ptr %26, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  %149 = load <4 x float>, ptr %26, align 16, !tbaa !17
  %150 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %18, <4 x float> noundef %149)
  store <4 x float> %150, ptr %27, align 16, !tbaa !17
  %151 = load <4 x float>, ptr %27, align 16, !tbaa !17
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %151, ptr noundef %152)
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #7
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %153)
  store <4 x float> %154, ptr %28, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  %155 = load <4 x float>, ptr %28, align 16, !tbaa !17
  %156 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %23, <4 x float> noundef %155)
  store <4 x float> %156, ptr %29, align 16, !tbaa !17
  %157 = load <4 x float>, ptr %29, align 16, !tbaa !17
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %157, ptr noundef %158)
  %159 = load ptr, ptr %3, 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 5
  %163 = load i64, ptr %162, align 8, !tbaa !21
  %164 = add i64 %160, %163
  %165 = inttoptr i64 %164 to ptr
  store ptr %165, ptr %3, align 8, !tbaa !5
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = ptrtoint ptr %166 to i64
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %168, i32 0, i32 9
  %170 = load i64, ptr %169, align 8, !tbaa !22
  %171 = add i64 %167, %170
  %172 = inttoptr i64 %171 to ptr
  store ptr %172, ptr %4, align 8, !tbaa !5
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = ptrtoint ptr %173 to i64
  %175 = load ptr, ptr %2, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %175, i32 0, i32 15
  %177 = load i64, ptr %176, align 8, !tbaa !23
  %178 = add i64 %174, %177
  %179 = inttoptr i64 %178 to ptr
  store ptr %179, ptr %5, align 8, !tbaa !5
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = ptrtoint ptr %180 to i64
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %182, i32 0, i32 11
  %184 = load i64, ptr %183, align 8, !tbaa !24
  %185 = add i64 %181, %184
  %186 = inttoptr i64 %185 to ptr
  store ptr %186, ptr %6, align 8, !tbaa !5
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = ptrtoint ptr %187 to i64
  %189 = load ptr, ptr %2, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %189, i32 0, i32 17
  %191 = load i64, ptr %190, align 8, !tbaa !25
  %192 = add i64 %188, %191
  %193 = inttoptr i64 %192 to ptr
  store ptr %193, ptr %7, align 8, !tbaa !5
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = ptrtoint ptr %194 to i64
  %196 = load ptr, ptr %2, align 8, !tbaa !5
  %197 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %196, i32 0, i32 7
  %198 = load i64, ptr %197, align 8, !tbaa !26
  %199 = add i64 %195, %198
  %200 = inttoptr i64 %199 to ptr
  store ptr %200, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %201

201:                                              ; preds = %106
  %202 = load i32, ptr %11, align 4, !tbaa !18
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %11, align 4, !tbaa !18
  br label %101, !llvm.loop !27

204:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = getelementptr inbounds float, ptr %205, i64 0
  %207 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %206)
  store <4 x float> %207, ptr %30, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2, ptr %31) #7
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = getelementptr inbounds i16, ptr %208, i64 0
  %210 = load i16, ptr %209, align 2, !tbaa !19
  store i16 %210, ptr %31, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 2, ptr %32) #7
  %211 = load ptr, ptr %3, align 8, !tbaa !5
  %212 = getelementptr inbounds i16, ptr %211, i64 1
  %213 = load i16, ptr %212, align 2, !tbaa !19
  store i16 %213, ptr %32, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %214 = load ptr, ptr %2, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %214, i32 0, i32 2
  %216 = load i16, ptr %31, align 2, !tbaa !19
  %217 = zext i16 %216 to i64
  %218 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %215, i64 noundef %217)
  store ptr %218, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %219 = load ptr, ptr %2, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %219, i32 0, i32 2
  %221 = load i16, ptr %32, align 2, !tbaa !19
  %222 = zext i16 %221 to i64
  %223 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %220, i64 noundef %222)
  store ptr %223, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  %224 = load <4 x float>, ptr %8, align 16, !tbaa !17
  %225 = load <4 x float>, ptr %30, align 16, !tbaa !17
  %226 = fsub <4 x float> %224, %225
  store <4 x float> %226, ptr %35, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 64, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #7
  %227 = load ptr, ptr %33, align 8, !tbaa !5
  %228 = load <4 x float>, ptr %30, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %37, ptr noundef nonnull align 16 dereferenceable(64) %227, <4 x float> noundef %228)
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #7
  %229 = load ptr, ptr %34, align 8, !tbaa !5
  %230 = 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 %38, ptr noundef nonnull align 16 dereferenceable(64) %229, <4 x float> noundef %230)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %36, ptr noundef nonnull align 16 dereferenceable(64) %37, ptr noundef nonnull align 16 dereferenceable(64) %38)
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  %231 = load ptr, ptr %2, align 8, !tbaa !5
  %232 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %231, i32 0, i32 3
  %233 = load i16, ptr %31, align 2, !tbaa !19
  %234 = zext i16 %233 to i64
  %235 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %232, i64 noundef %234)
  store ptr %235, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %236, i32 0, i32 3
  %238 = load i16, ptr %32, align 2, !tbaa !19
  %239 = zext i16 %238 to i64
  %240 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %237, i64 noundef %239)
  store ptr %240, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #7
  %241 = load ptr, ptr %39, align 8, !tbaa !5
  %242 = load <4 x float>, ptr %30, align 16, !tbaa !17
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %42, ptr noundef nonnull align 16 dereferenceable(64) %241, <4 x float> noundef %242)
  call void @llvm.lifetime.start.p0(i64 64, ptr %43) #7
  %243 = load ptr, ptr %40, align 8, !tbaa !5
  %244 = 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 %43, ptr noundef nonnull align 16 dereferenceable(64) %243, <4 x float> noundef %244)
  call void @_ZN3vox4mathplERKNS0_8Float4x4ES3_(ptr dead_on_unwind writable sret(%"struct.vox::math::Float4x4") align 16 %41, ptr noundef nonnull align 16 dereferenceable(64) %42, ptr noundef nonnull align 16 dereferenceable(64) %43)
  call void @llvm.lifetime.end.p0(i64 64, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #7
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %245)
  store <4 x float> %246, ptr %44, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #7
  %247 = load <4 x float>, ptr %44, align 16, !tbaa !17
  %248 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %36, <4 x float> noundef %247)
  store <4 x float> %248, ptr %45, align 16, !tbaa !17
  %249 = load <4 x float>, ptr %45, align 16, !tbaa !17
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %249, ptr noundef %250)
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #7
  %251 = load ptr, ptr %6, align 8, !tbaa !5
  %252 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %251)
  store <4 x float> %252, ptr %46, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #7
  %253 = load <4 x float>, ptr %46, align 16, !tbaa !17
  %254 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %41, <4 x float> noundef %253)
  store <4 x float> %254, ptr %47, align 16, !tbaa !17
  %255 = load <4 x float>, ptr %47, align 16, !tbaa !17
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %255, ptr noundef %256)
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, 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
}

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 128}
!25 = !{!10, !13, i64 200}
!26 = !{!10, !13, i64 80}
!27 = distinct !{!27, !28}
!28 = !{!"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.1 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox8geometry13SkinningPNIT2ERKNS0_11SkinningJobE = external hidden unnamed_addr constant [55 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 @_ZNK3vox4spanIKNS_4math8Float4x4EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; 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 nounwind uwtable
declare dso_local noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64), <4 x float> noundef) local_unnamed_addr #4

; 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 @_ZN3vox8geometry13SkinningPNIT2ERKNS0_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 = load i32, ptr %0, align 8, !tbaa !5
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %.critedge, label %15

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

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

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

.critedge:                                        ; preds = %18, %15, %1, %21
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 423, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox8geometry13SkinningPNIT2ERKNS0_11SkinningJobE) #6
  unreachable

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 24
  %26 = tail call noundef zeroext i1 @_ZNK3vox4spanIKNS_4math8Float4x4EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
  br i1 %26, label %27, label %28

27:                                               ; preds = %24
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 423, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox8geometry13SkinningPNIT2ERKNS0_11SkinningJobE) #6
  unreachable

28:                                               ; preds = %24
  %29 = getelementptr inbounds i8, ptr %0, i64 40
  %30 = tail call noundef ptr @_ZNK3vox4spanIKtE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
  %31 = tail call noundef ptr @_ZNK3vox4spanIKfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  %32 = getelementptr inbounds i8, ptr %0, i64 160
  %33 = tail call noundef ptr @_ZNK3vox4spanIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %32)
  %34 = tail call noundef ptr @_ZNK3vox4spanIKfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  %35 = getelementptr inbounds i8, ptr %0, i64 184
  %36 = tail call noundef ptr @_ZNK3vox4spanIfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %37 = tail call noundef <4 x float> @_ZN3vox4math11simd_float43oneEv()
  %38 = getelementptr inbounds i8, ptr %0, i64 64
  %39 = tail call noundef ptr @_ZNK3vox4spanIKfE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
  %40 = load i32, ptr %0, align 8, !tbaa !5
  %41 = icmp sgt i32 %40, 1
  br i1 %41, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %28
  %42 = getelementptr inbounds i8, ptr %0, i64 8
  %43 = getelementptr inbounds i8, ptr %0, i64 56
  %44 = getelementptr inbounds i8, ptr %0, i64 104
  %45 = getelementptr inbounds i8, ptr %0, i64 176
  %46 = getelementptr inbounds i8, ptr %0, i64 128
  %47 = getelementptr inbounds i8, ptr %0, i64 200
  %48 = getelementptr inbounds i8, ptr %0, i64 80
  %49 = add nsw i32 %40, -2
  br label %66

._crit_edge:                                      ; preds = %66, %28
  %.088.lcssa = phi ptr [ %39, %28 ], [ %105, %66 ]
  %.087.lcssa = phi ptr [ %36, %28 ], [ %101, %66 ]
  %.086.lcssa = phi ptr [ %34, %28 ], [ %97, %66 ]
  %.085.lcssa = phi ptr [ %33, %28 ], [ %93, %66 ]
  %.084.lcssa = phi ptr [ %31, %28 ], [ %89, %66 ]
  %.0.lcssa = phi ptr [ %30, %28 ], [ %85, %66 ]
  %50 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %.088.lcssa)
  %51 = load i16, ptr %.0.lcssa, align 2, !tbaa !16
  %52 = getelementptr inbounds i8, ptr %.0.lcssa, i64 2
  %53 = load i16, ptr %52, align 2, !tbaa !16
  %54 = getelementptr inbounds i8, ptr %0, i64 8
  %55 = zext i16 %51 to i64
  %56 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %54, i64 noundef %55)
  %57 = zext i16 %53 to i64
  %58 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %54, i64 noundef %57)
  %59 = fsub <4 x float> %37, %50
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #7
  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) %56, <4 x float> noundef %50)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #7
  call void @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %10, 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 %8, ptr noundef nonnull align 16 dereferenceable(64) %9, ptr noundef nonnull align 16 dereferenceable(64) %10)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #7
  %60 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %25, i64 noundef %55)
  %61 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %25, i64 noundef %57)
  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) %60, <4 x float> noundef %50)
  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) %61, <4 x float> noundef %59)
  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.end.p0(i64 64, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #7
  %62 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %.084.lcssa)
  %63 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %8, <4 x float> noundef %62)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %63, ptr noundef %.085.lcssa)
  %64 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %.086.lcssa)
  %65 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %11, <4 x float> noundef %64)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %65, ptr noundef %.087.lcssa)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #7
  ret void

66:                                               ; preds = %.lr.ph, %66
  %.096 = phi ptr [ %30, %.lr.ph ], [ %85, %66 ]
  %.08495 = phi ptr [ %31, %.lr.ph ], [ %89, %66 ]
  %.08594 = phi ptr [ %33, %.lr.ph ], [ %93, %66 ]
  %.08693 = phi ptr [ %34, %.lr.ph ], [ %97, %66 ]
  %.08792 = phi ptr [ %36, %.lr.ph ], [ %101, %66 ]
  %.08891 = phi ptr [ %39, %.lr.ph ], [ %105, %66 ]
  %.08990 = phi i32 [ 0, %.lr.ph ], [ %106, %66 ]
  %67 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %.08891)
  %68 = load i16, ptr %.096, align 2, !tbaa !16
  %69 = getelementptr inbounds i8, ptr %.096, i64 2
  %70 = load i16, ptr %69, align 2, !tbaa !16
  %71 = zext i16 %68 to i64
  %72 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %42, i64 noundef %71)
  %73 = zext i16 %70 to i64
  %74 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %42, i64 noundef %73)
  %75 = fsub <4 x float> %37, %67
  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 @_ZN3vox4math14ColumnMultiplyERKNS0_8Float4x4EDv4_f(ptr dead_on_unwind nonnull writable sret(%"struct.vox::math::Float4x4") align 16 %3, ptr noundef nonnull align 16 dereferenceable(64) %72, <4 x float> noundef %67)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #7
  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) %74, <4 x float> noundef %75)
  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) %4)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #7
  %76 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %25, i64 noundef %71)
  %77 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %25, i64 noundef %73)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #7
  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) %76, <4 x float> noundef %67)
  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) %77, <4 x float> noundef %75)
  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) %6, ptr noundef nonnull align 16 dereferenceable(64) %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
  %78 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %.08495)
  %79 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %2, <4 x float> noundef %78)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %79, ptr noundef %.08594)
  %80 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %.08693)
  %81 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %5, <4 x float> noundef %80)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %81, ptr noundef %.08792)
  %82 = ptrtoint ptr %.096 to i64
  %83 = load i64, ptr %43, align 8, !tbaa !18
  %84 = add i64 %83, %82
  %85 = inttoptr i64 %84 to ptr
  %86 = ptrtoint ptr %.08495 to i64
  %87 = load i64, ptr %44, align 8, !tbaa !19
  %88 = add i64 %87, %86
  %89 = inttoptr i64 %88 to ptr
  %90 = ptrtoint ptr %.08594 to i64
  %91 = load i64, ptr %45, align 8, !tbaa !20
  %92 = add i64 %91, %90
  %93 = inttoptr i64 %92 to ptr
  %94 = ptrtoint ptr %.08693 to i64
  %95 = load i64, ptr %46, align 8, !tbaa !21
  %96 = add i64 %95, %94
  %97 = inttoptr i64 %96 to ptr
  %98 = ptrtoint ptr %.08792 to i64
  %99 = load i64, ptr %47, align 8, !tbaa !22
  %100 = add i64 %99, %98
  %101 = inttoptr i64 %100 to ptr
  %102 = ptrtoint ptr %.08891 to i64
  %103 = load i64, ptr %48, align 8, !tbaa !23
  %104 = add i64 %103, %102
  %105 = inttoptr i64 %104 to ptr
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #7
  %106 = add nuw nsw i32 %.08990, 1
  %exitcond.not = icmp eq i32 %.08990, %49
  br i1 %exitcond.not, label %._crit_edge, label %66, !llvm.loop !24
}

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 128}
!22 = !{!6, !12, i64 200}
!23 = !{!6, !12, i64 80}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


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