It doesn’t have to be reverse engineered. Apple publishes the source of its SMB client licensed as BSD-4 on GitHub.
https://github.com/apple-oss-distributions/SMBClient
I’m not sure where Phoronix/the author got the information that this was reverse-engineered, because the patch doesn’t say that either.