def u64_wrapping_shr
import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as Fixedimport Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X
384def u64_wrapping_shr(+a: W.U64, +s: U32) -> W.U64:
385 X.shr(a, U32.to_nat(U32.and(s, 63)))