The computation of quaternions during matrix decomposition looks like it's based off of the matrix transpose. The matrix data is actually column major order but the quaternion operations seem to assume row major order. More info in the equivalent chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=929841
<rdar://problem/73747851>
Pull request: https://github.com/WebKit/WebKit/pull/17162
Committed 267424@main (a959acf1111c): <https://commits.webkit.org/267424@main> Reviewed commits have been landed. Closing PR #17162 and removing active labels.