Permutation.rotate_nonzero: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/keccak/permutation.bend as Permutation Lines 17-20 of bend-collections@1.0.0.0/spec/crypto/keccak/permutation.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/spec/crypto/keccak/permutation.bend&start_line=17&end_line=20 import Base import bend-collections@1.0.0.0/src/crypto/keccak/types.bend as T def rotate_nonzero(lo: U32, hi: U32, +n: Nat, b: Bool) -> T.Lane: match b: case True{}: rotate_small(lo,hi,n) case False{}: rotate_small(hi,lo,Nat.sub(n,32n)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/keccak/permutation.bend&name=rotate_small https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/keccak/types.bend&name=Lane