There's a better explanation here, though I still don't understand "34-bit unsigned second counter right shifted two bits" and "(((2^34-1) + (2^31-1)) & ~3)":
Seems to be described in this patch comment: https://patchwork.kernel.org/project/xfs/patch/157784114490....