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

; 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.3 = external hidden unnamed_addr constant [105 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox8geometry16SkinningPNTNOIT2ERKNS0_11SkinningJobE = external hidden unnamed_addr constant [58 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 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 @_ZN3vox8geometry16SkinningPNTNOIT2ERKNS0_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 ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca <4 x float>, align 16
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca <4 x float>, align 16
  %15 = alloca i16, align 2
  %16 = alloca i16, align 2
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca <4 x float>, align 16
  %20 = alloca %"struct.vox::math::Float4x4", align 16
  %21 = alloca %"struct.vox::math::Float4x4", align 16
  %22 = alloca %"struct.vox::math::Float4x4", align 16
  %23 = alloca ptr, align 8
  %24 = alloca <4 x float>, align 16
  %25 = alloca <4 x float>, 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 <4 x float>, align 16
  %41 = alloca <4 x float>, align 16
  %42 = alloca <4 x float>, align 16
  %43 = alloca <4 x float>, align 16
  %44 = alloca <4 x float>, align 16
  %45 = alloca <4 x float>, align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %46, i32 0, i32 0
  %48 = load i32, ptr %47, align 8, !tbaa !9
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %63

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

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

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

63:                                               ; preds = %58, %54, %50, %1
  %64 = phi i1 [ false, %54 ], [ false, %50 ], [ false, %1 ], [ %62, %58 ]
  br i1 %64, label %65, label %66

65:                                               ; preds = %63
  br label %68

66:                                               ; preds = %63
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 422, ptr noundef @__PRETTY_FUNCTION__._ZN3vox8geometry16SkinningPNTNOIT2ERKNS0_11SkinningJobE) #6
  unreachable

67:                                               ; No predecessors!
  br label %68

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

98:                                               ; preds = %207, %68
  %99 = load i32, ptr %13, align 4, !tbaa !18
  %100 = load i32, ptr %12, align 4, !tbaa !18
  %101 = icmp slt i32 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %210

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

207:                                              ; preds = %103
  %208 = load i32, ptr %13, align 4, !tbaa !18
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %13, align 4, !tbaa !18
  br label %98, !llvm.loop !29

210:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  %211 = load ptr, ptr %11, align 8, !tbaa !5
  %212 = getelementptr inbounds float, ptr %211, i64 0
  %213 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %212)
  store <4 x float> %213, ptr %30, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2, ptr %31) #7
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = getelementptr inbounds i16, ptr %214, i64 0
  %216 = load i16, ptr %215, align 2, !tbaa !19
  store i16 %216, ptr %31, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 2, ptr %32) #7
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = getelementptr inbounds i16, ptr %217, i64 1
  %219 = load i16, ptr %218, align 2, !tbaa !19
  store i16 %219, ptr %32, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %220, i32 0, i32 2
  %222 = load i16, ptr %31, align 2, !tbaa !19
  %223 = zext i16 %222 to i64
  %224 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %221, i64 noundef %223)
  store ptr %224, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %225 = load ptr, ptr %2, align 8, !tbaa !5
  %226 = getelementptr inbounds %"struct.vox::geometry::SkinningJob", ptr %225, i32 0, i32 2
  %227 = load i16, ptr %32, align 2, !tbaa !19
  %228 = zext i16 %227 to i64
  %229 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %226, i64 noundef %228)
  store ptr %229, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  %230 = load <4 x float>, ptr %10, align 16, !tbaa !17
  %231 = load <4 x float>, ptr %30, align 16, !tbaa !17
  %232 = fsub <4 x float> %230, %231
  store <4 x float> %232, 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
  %233 = load ptr, ptr %33, align 8, !tbaa !5
  %234 = 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) %233, <4 x float> noundef %234)
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #7
  %235 = load ptr, ptr %34, align 8, !tbaa !5
  %236 = 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) %235, <4 x float> noundef %236)
  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
  store ptr %36, ptr %39, align 8, !tbaa !5
  %237 = load ptr, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #7
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  %239 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %238)
  store <4 x float> %239, ptr %40, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #7
  %240 = load <4 x float>, ptr %40, align 16, !tbaa !17
  %241 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %36, <4 x float> noundef %240)
  store <4 x float> %241, ptr %41, align 16, !tbaa !17
  %242 = load <4 x float>, ptr %41, align 16, !tbaa !17
  %243 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %242, ptr noundef %243)
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #7
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %244)
  store <4 x float> %245, ptr %42, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #7
  %246 = load ptr, ptr %39, align 8, !tbaa !5
  %247 = load <4 x float>, ptr %42, align 16, !tbaa !17
  %248 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %246, <4 x float> noundef %247)
  store <4 x float> %248, ptr %43, align 16, !tbaa !17
  %249 = load <4 x float>, ptr %43, align 16, !tbaa !17
  %250 = load ptr, ptr %7, 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 %44) #7
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  %252 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %251)
  store <4 x float> %252, ptr %44, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #7
  %253 = load ptr, ptr %39, align 8, !tbaa !5
  %254 = load <4 x float>, ptr %44, align 16, !tbaa !17
  %255 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %253, <4 x float> noundef %254)
  store <4 x float> %255, ptr %45, align 16, !tbaa !17
  %256 = load <4 x float>, ptr %45, align 16, !tbaa !17
  %257 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %256, ptr noundef %257)
  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 16, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 16, 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 %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, 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 152}
!27 = !{!10, !13, i64 224}
!28 = !{!10, !13, i64 80}
!29 = distinct !{!29, !30}
!30 = !{!"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.3 = external hidden unnamed_addr constant [105 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox8geometry16SkinningPNTNOIT2ERKNS0_11SkinningJobE = external hidden unnamed_addr constant [58 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 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 @_ZN3vox8geometry16SkinningPNTNOIT2ERKNS0_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 = load i32, ptr %0, align 8, !tbaa !5
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %.critedge, label %9

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

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

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

.critedge:                                        ; preds = %12, %9, %1, %15
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 422, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox8geometry16SkinningPNTNOIT2ERKNS0_11SkinningJobE) #6
  unreachable

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

.lr.ph:                                           ; preds = %18
  %35 = getelementptr inbounds i8, ptr %0, i64 8
  %36 = getelementptr inbounds i8, ptr %0, i64 56
  %37 = getelementptr inbounds i8, ptr %0, i64 104
  %38 = getelementptr inbounds i8, ptr %0, i64 176
  %39 = getelementptr inbounds i8, ptr %0, i64 128
  %40 = getelementptr inbounds i8, ptr %0, i64 200
  %41 = getelementptr inbounds i8, ptr %0, i64 152
  %42 = getelementptr inbounds i8, ptr %0, i64 224
  %43 = getelementptr inbounds i8, ptr %0, i64 80
  %44 = add nsw i32 %33, -2
  br label %61

._crit_edge:                                      ; preds = %61, %18
  %.093.lcssa = phi ptr [ %32, %18 ], [ %108, %61 ]
  %.092.lcssa = phi ptr [ %29, %18 ], [ %104, %61 ]
  %.091.lcssa = phi ptr [ %27, %18 ], [ %100, %61 ]
  %.090.lcssa = phi ptr [ %26, %18 ], [ %96, %61 ]
  %.089.lcssa = phi ptr [ %24, %18 ], [ %92, %61 ]
  %.088.lcssa = phi ptr [ %23, %18 ], [ %88, %61 ]
  %.087.lcssa = phi ptr [ %21, %18 ], [ %84, %61 ]
  %.0.lcssa = phi ptr [ %20, %18 ], [ %80, %61 ]
  %45 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %.093.lcssa)
  %46 = load i16, ptr %.0.lcssa, align 2, !tbaa !16
  %47 = getelementptr inbounds i8, ptr %.0.lcssa, i64 2
  %48 = load i16, ptr %47, align 2, !tbaa !16
  %49 = getelementptr inbounds i8, ptr %0, i64 8
  %50 = zext i16 %46 to i64
  %51 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %49, i64 noundef %50)
  %52 = zext i16 %48 to i64
  %53 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %49, i64 noundef %52)
  %54 = fsub <4 x float> %30, %45
  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) %51, <4 x float> noundef %45)
  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) %53, <4 x float> noundef %54)
  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
  %55 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %.087.lcssa)
  %56 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %5, <4 x float> noundef %55)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %56, ptr noundef %.088.lcssa)
  %57 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %.089.lcssa)
  %58 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %5, <4 x float> noundef %57)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %58, ptr noundef %.090.lcssa)
  %59 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load3PtrUEPKf(ptr noundef %.091.lcssa)
  %60 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %5, <4 x float> noundef %59)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %60, ptr noundef %.092.lcssa)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #7
  ret void

61:                                               ; preds = %.lr.ph, %61
  %.0103 = phi ptr [ %20, %.lr.ph ], [ %80, %61 ]
  %.087102 = phi ptr [ %21, %.lr.ph ], [ %84, %61 ]
  %.088101 = phi ptr [ %23, %.lr.ph ], [ %88, %61 ]
  %.089100 = phi ptr [ %24, %.lr.ph ], [ %92, %61 ]
  %.09099 = phi ptr [ %26, %.lr.ph ], [ %96, %61 ]
  %.09198 = phi ptr [ %27, %.lr.ph ], [ %100, %61 ]
  %.09297 = phi ptr [ %29, %.lr.ph ], [ %104, %61 ]
  %.09396 = phi ptr [ %32, %.lr.ph ], [ %108, %61 ]
  %.09495 = phi i32 [ 0, %.lr.ph ], [ %109, %61 ]
  %62 = call noundef <4 x float> @_ZN3vox4math11simd_float49Load1PtrUEPKf(ptr noundef %.09396)
  %63 = load i16, ptr %.0103, align 2, !tbaa !16
  %64 = getelementptr inbounds i8, ptr %.0103, i64 2
  %65 = load i16, ptr %64, align 2, !tbaa !16
  %66 = zext i16 %63 to i64
  %67 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %35, i64 noundef %66)
  %68 = zext i16 %65 to i64
  %69 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZNK3vox4spanIKNS_4math8Float4x4EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %35, i64 noundef %68)
  %70 = fsub <4 x float> %30, %62
  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) %67, <4 x float> noundef %62)
  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) %69, <4 x float> noundef %70)
  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
  %71 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %.087102)
  %72 = call noundef <4 x float> @_ZN3vox4math14TransformPointERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %2, <4 x float> noundef %71)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %72, ptr noundef %.088101)
  %73 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %.089100)
  %74 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %2, <4 x float> noundef %73)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %74, ptr noundef %.09099)
  %75 = call noundef <4 x float> @_ZN3vox4math11simd_float48LoadPtrUEPKf(ptr noundef %.09198)
  %76 = call noundef <4 x float> @_ZN3vox4math15TransformVectorERKNS0_8Float4x4EDv4_f(ptr noundef nonnull align 16 dereferenceable(64) %2, <4 x float> noundef %75)
  call void @_ZN3vox4math10Store3PtrUEDv4_fPf(<4 x float> noundef %76, ptr noundef %.09297)
  %77 = ptrtoint ptr %.0103 to i64
  %78 = load i64, ptr %36, align 8, !tbaa !18
  %79 = add i64 %78, %77
  %80 = inttoptr i64 %79 to ptr
  %81 = ptrtoint ptr %.087102 to i64
  %82 = load i64, ptr %37, align 8, !tbaa !19
  %83 = add i64 %82, %81
  %84 = inttoptr i64 %83 to ptr
  %85 = ptrtoint ptr %.088101 to i64
  %86 = load i64, ptr %38, align 8, !tbaa !20
  %87 = add i64 %86, %85
  %88 = inttoptr i64 %87 to ptr
  %89 = ptrtoint ptr %.089100 to i64
  %90 = load i64, ptr %39, align 8, !tbaa !21
  %91 = add i64 %90, %89
  %92 = inttoptr i64 %91 to ptr
  %93 = ptrtoint ptr %.09099 to i64
  %94 = load i64, ptr %40, align 8, !tbaa !22
  %95 = add i64 %94, %93
  %96 = inttoptr i64 %95 to ptr
  %97 = ptrtoint ptr %.09198 to i64
  %98 = load i64, ptr %41, align 8, !tbaa !23
  %99 = add i64 %98, %97
  %100 = inttoptr i64 %99 to ptr
  %101 = ptrtoint ptr %.09297 to i64
  %102 = load i64, ptr %42, align 8, !tbaa !24
  %103 = add i64 %102, %101
  %104 = inttoptr i64 %103 to ptr
  %105 = ptrtoint ptr %.09396 to i64
  %106 = load i64, ptr %43, align 8, !tbaa !25
  %107 = add i64 %106, %105
  %108 = inttoptr i64 %107 to ptr
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #7
  %109 = add nuw nsw i32 %.09495, 1
  %exitcond.not = icmp eq i32 %.09495, %44
  br i1 %exitcond.not, label %._crit_edge, label %61, !llvm.loop !26
}

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 152}
!24 = !{!6, !12, i64 224}
!25 = !{!6, !12, i64 80}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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