def majority
import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Coreimport Base
52# Handle majority in the SHA-256 compression implementation.
53def majority(+word_x: U32, +word_y: U32, +word_z: U32) -> U32:
54 ((word_x .&. word_y) .^. (word_x .&. word_z) .^. (word_y .&. word_z) : U32)