Derived and refactored from the m1n1 adt parser Rust code.
https://github.com/AsahiLinux/m1n1/blob/6e90da100d4f88c914bcc3dc329bd6325425ae42/rust/src/adt.rs
Authors:
- James Calligeros jcalligeros99@gmail.com
- Janne Grunau j@jannau.net
- Yureka Lilian yureka@cyberchaos.dev