def rot63
import bend-collections@1.0.0.0/src/crypto/blake/blake2b/lane.bend as Laneimport Base
import bend-collections@1.0.0.0/src/crypto/blake/blake2b/types.bend as T
31def rot63(a: T.Lane) -> T.Lane:
32 match a:
33 case T.W{+lo,+hi}:
34 T.W{U32.or(U32.shrn(hi,31n),U32.shln(lo,1n)),U32.or(U32.shrn(lo,31n),U32.shln(hi,1n))}