def top32
import bend-collections-laws-crypto@1.0.0.0/src/math/random/rand.bend as Randimport Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as X
69def top32(-S: Data, p: W.U64 & S) -> U32 & S:
70 (x, s) = p
71 (X.hi(x), s)