The -d flag stands for decompress. You will see an output size roughly 2-4x larger than the original.
This file is the primary target for rooting methods like Magisk . To root a modern Samsung device, you generally must: Extract the boot.img.lz4 from the official firmware. Decompress it into a standard .img file. Patch the .img file using the Magisk app.
brew install lz4