; LLVM IR from thuhcsi/Crystal.TTVS :: Xface/XFace/src/XMath/Quaternion.ll (ZNK5XMath10Quaternion16ToRotationMatrixEv)

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

%"class.XMath::Matrix4" = type { [16 x float] }
%"class.XMath::Quaternion" = type { float, float, float, float }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK5XMath10Quaternion16ToRotationMatrixEv(ptr dead_on_unwind noalias writable sret(%"class.XMath::Matrix4") align 4 %0, ptr noundef nonnull align 4 dereferenceable(16) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZN5XMath7Matrix4C1Ev(ptr noundef nonnull align 4 dereferenceable(64) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %21 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 0
  %22 = load float, ptr %21, align 4, !tbaa !9
  %23 = fmul float 2.000000e+00, %22
  store float %23, ptr %6, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %24 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 1
  %25 = load float, ptr %24, align 4, !tbaa !13
  %26 = fmul float 2.000000e+00, %25
  store float %26, ptr %7, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %27 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 2
  %28 = load float, ptr %27, align 4, !tbaa !14
  %29 = fmul float 2.000000e+00, %28
  store float %29, ptr %8, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %30 = load float, ptr %6, align 4, !tbaa !12
  %31 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 3
  %32 = load float, ptr %31, align 4, !tbaa !15
  %33 = fmul float %30, %32
  store float %33, ptr %9, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %34 = load float, ptr %7, align 4, !tbaa !12
  %35 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 3
  %36 = load float, ptr %35, align 4, !tbaa !15
  %37 = fmul float %34, %36
  store float %37, ptr %10, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %38 = load float, ptr %8, align 4, !tbaa !12
  %39 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 3
  %40 = load float, ptr %39, align 4, !tbaa !15
  %41 = fmul float %38, %40
  store float %41, ptr %11, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %42 = load float, ptr %6, align 4, !tbaa !12
  %43 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 0
  %44 = load float, ptr %43, align 4, !tbaa !9
  %45 = fmul float %42, %44
  store float %45, ptr %12, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %46 = load float, ptr %7, align 4, !tbaa !12
  %47 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 0
  %48 = load float, ptr %47, align 4, !tbaa !9
  %49 = fmul float %46, %48
  store float %49, ptr %13, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %50 = load float, ptr %8, align 4, !tbaa !12
  %51 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 0
  %52 = load float, ptr %51, align 4, !tbaa !9
  %53 = fmul float %50, %52
  store float %53, ptr %14, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %54 = load float, ptr %7, align 4, !tbaa !12
  %55 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 1
  %56 = load float, ptr %55, align 4, !tbaa !13
  %57 = fmul float %54, %56
  store float %57, ptr %15, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %58 = load float, ptr %8, align 4, !tbaa !12
  %59 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 1
  %60 = load float, ptr %59, align 4, !tbaa !13
  %61 = fmul float %58, %60
  store float %61, ptr %16, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %62 = load float, ptr %8, align 4, !tbaa !12
  %63 = getelementptr inbounds %"class.XMath::Quaternion", ptr %20, i32 0, i32 2
  %64 = load float, ptr %63, align 4, !tbaa !14
  %65 = fmul float %62, %64
  store float %65, ptr %17, align 4, !tbaa !12
  %66 = load float, ptr %15, align 4, !tbaa !12
  %67 = load float, ptr %17, align 4, !tbaa !12
  %68 = fadd float %66, %67
  %69 = fsub float 1.000000e+00, %68
  %70 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 0)
          to label %71 unwind label %129

71:                                               ; preds = %2
  store float %69, ptr %70, align 4, !tbaa !12
  %72 = load float, ptr %13, align 4, !tbaa !12
  %73 = load float, ptr %11, align 4, !tbaa !12
  %74 = fsub float %72, %73
  %75 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 1)
          to label %76 unwind label %129

76:                                               ; preds = %71
  store float %74, ptr %75, align 4, !tbaa !12
  %77 = load float, ptr %14, align 4, !tbaa !12
  %78 = load float, ptr %10, align 4, !tbaa !12
  %79 = fadd float %77, %78
  %80 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 2)
          to label %81 unwind label %129

81:                                               ; preds = %76
  store float %79, ptr %80, align 4, !tbaa !12
  %82 = load float, ptr %13, align 4, !tbaa !12
  %83 = load float, ptr %11, align 4, !tbaa !12
  %84 = fadd float %82, %83
  %85 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 4)
          to label %86 unwind label %129

86:                                               ; preds = %81
  store float %84, ptr %85, align 4, !tbaa !12
  %87 = load float, ptr %12, align 4, !tbaa !12
  %88 = load float, ptr %17, align 4, !tbaa !12
  %89 = fadd float %87, %88
  %90 = fsub float 1.000000e+00, %89
  %91 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 5)
          to label %92 unwind label %129

92:                                               ; preds = %86
  store float %90, ptr %91, align 4, !tbaa !12
  %93 = load float, ptr %16, align 4, !tbaa !12
  %94 = load float, ptr %9, align 4, !tbaa !12
  %95 = fsub float %93, %94
  %96 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 6)
          to label %97 unwind label %129

97:                                               ; preds = %92
  store float %95, ptr %96, align 4, !tbaa !12
  %98 = load float, ptr %14, align 4, !tbaa !12
  %99 = load float, ptr %10, align 4, !tbaa !12
  %100 = fsub float %98, %99
  %101 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 8)
          to label %102 unwind label %129

102:                                              ; preds = %97
  store float %100, ptr %101, align 4, !tbaa !12
  %103 = load float, ptr %16, align 4, !tbaa !12
  %104 = load float, ptr %9, align 4, !tbaa !12
  %105 = fadd float %103, %104
  %106 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 9)
          to label %107 unwind label %129

107:                                              ; preds = %102
  store float %105, ptr %106, align 4, !tbaa !12
  %108 = load float, ptr %12, align 4, !tbaa !12
  %109 = load float, ptr %15, align 4, !tbaa !12
  %110 = fadd float %108, %109
  %111 = fsub float 1.000000e+00, %110
  %112 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 10)
          to label %113 unwind label %129

113:                                              ; preds = %107
  store float %111, ptr %112, align 4, !tbaa !12
  %114 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 11)
          to label %115 unwind label %129

115:                                              ; preds = %113
  store float 0.000000e+00, ptr %114, align 4, !tbaa !12
  %116 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 7)
          to label %117 unwind label %129

117:                                              ; preds = %115
  store float 0.000000e+00, ptr %116, align 4, !tbaa !12
  %118 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 3)
          to label %119 unwind label %129

119:                                              ; preds = %117
  store float 0.000000e+00, ptr %118, align 4, !tbaa !12
  %120 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 14)
          to label %121 unwind label %129

121:                                              ; preds = %119
  store float 0.000000e+00, ptr %120, align 4, !tbaa !12
  %122 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 13)
          to label %123 unwind label %129

123:                                              ; preds = %121
  store float 0.000000e+00, ptr %122, align 4, !tbaa !12
  %124 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 12)
          to label %125 unwind label %129

125:                                              ; preds = %123
  store float 0.000000e+00, ptr %124, align 4, !tbaa !12
  %126 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 15)
          to label %127 unwind label %129

127:                                              ; preds = %125
  store float 1.000000e+00, ptr %126, align 4, !tbaa !12
  store i1 true, ptr %5, align 1
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %128 = load i1, ptr %5, align 1
  br i1 %128, label %134, label %133

129:                                              ; preds = %125, %123, %121, %119, %117, %115, %113, %107, %102, %97, %92, %86, %81, %76, %71, %2
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %18, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @_ZN5XMath7Matrix4D2Ev(ptr noundef nonnull align 4 dereferenceable(64) %0) #4
  br label %135

133:                                              ; preds = %127
  call void @_ZN5XMath7Matrix4D2Ev(ptr noundef nonnull align 4 dereferenceable(64) %0) #4
  br label %134

134:                                              ; preds = %133, %127
  ret void

135:                                              ; preds = %129
  %136 = load ptr, ptr %18, align 8
  %137 = load i32, ptr %19, align 4
  %138 = insertvalue { ptr, i32 } poison, ptr %136, 0
  %139 = insertvalue { ptr, i32 } %138, i32 %137, 1
  resume { ptr, i32 } %139
}

declare void @_ZN5XMath7Matrix4C1Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef) #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5XMath7Matrix4D2Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"_ZTSN5XMath10QuaternionE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!11 = !{!"float", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 4}
!14 = !{!10, !11, i64 8}
!15 = !{!10, !11, i64 12}


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

%"class.XMath::Matrix4" = type { [16 x float] }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK5XMath10Quaternion16ToRotationMatrixEv(ptr dead_on_unwind noalias nonnull writable sret(%"class.XMath::Matrix4") align 4 %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(16) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN5XMath7Matrix4C1Ev(ptr noundef nonnull align 4 dereferenceable(64) %0)
  %3 = load float, ptr %1, align 4, !tbaa !5
  %4 = fmul float %3, 2.000000e+00
  %5 = getelementptr inbounds i8, ptr %1, i64 4
  %6 = getelementptr inbounds i8, ptr %1, i64 12
  %7 = load float, ptr %6, align 4, !tbaa !10
  %8 = fmul float %4, %7
  %9 = fmul float %3, %4
  %10 = load <2 x float>, ptr %5, align 4, !tbaa !11
  %11 = fmul <2 x float> %10, <float 2.000000e+00, float 2.000000e+00>
  %12 = extractelement <2 x float> %11, i64 0
  %13 = fmul float %12, %7
  %14 = extractelement <2 x float> %11, i64 1
  %15 = fmul float %14, %7
  %16 = fmul float %3, %12
  %17 = fmul float %3, %14
  %18 = extractelement <2 x float> %10, i64 0
  %19 = fmul float %18, %14
  %20 = fmul <2 x float> %10, %11
  %21 = extractelement <2 x float> %20, i64 0
  %22 = extractelement <2 x float> %20, i64 1
  %23 = fadd float %21, %22
  %24 = fsub float 1.000000e+00, %23
  %25 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 0)
  store float %24, ptr %25, align 4, !tbaa !11
  %26 = fsub float %16, %15
  %27 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 1)
  store float %26, ptr %27, align 4, !tbaa !11
  %28 = fadd float %17, %13
  %29 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 2)
  store float %28, ptr %29, align 4, !tbaa !11
  %30 = fadd float %16, %15
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 4)
  store float %30, ptr %31, align 4, !tbaa !11
  %32 = fadd float %9, %22
  %33 = fsub float 1.000000e+00, %32
  %34 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 5)
  store float %33, ptr %34, align 4, !tbaa !11
  %35 = fsub float %19, %8
  %36 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 6)
  store float %35, ptr %36, align 4, !tbaa !11
  %37 = fsub float %17, %13
  %38 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 8)
  store float %37, ptr %38, align 4, !tbaa !11
  %39 = fadd float %19, %8
  %40 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 9)
  store float %39, ptr %40, align 4, !tbaa !11
  %41 = fadd float %9, %21
  %42 = fsub float 1.000000e+00, %41
  %43 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 10)
  store float %42, ptr %43, align 4, !tbaa !11
  %44 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 11)
  store float 0.000000e+00, ptr %44, align 4, !tbaa !11
  %45 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 7)
  store float 0.000000e+00, ptr %45, align 4, !tbaa !11
  %46 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 3)
  store float 0.000000e+00, ptr %46, align 4, !tbaa !11
  %47 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 14)
  store float 0.000000e+00, ptr %47, align 4, !tbaa !11
  %48 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 13)
  store float 0.000000e+00, ptr %48, align 4, !tbaa !11
  %49 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 12)
  store float 0.000000e+00, ptr %49, align 4, !tbaa !11
  %50 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64) %0, i32 noundef 15)
  store float 1.000000e+00, ptr %50, align 4, !tbaa !11
  ret void
}

declare void @_ZN5XMath7Matrix4C1Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5XMath7Matrix4ixEi(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 = { 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" }

!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 = !{!"_ZTSN5XMath10QuaternionE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 12}
!11 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass