def mul_32_64_fin
import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
293# the product of a U32 and a U64 as (low 64 bits, top 32 bits)
294def mul_32_64_fin(+p0: W.U64, +p1: W.U64) -> W.U64 & U32:
295 (W.U64{lo(p0), U32.add(hi(p0), lo(p1))}, U32.add(hi(p1), b32(U32.is_lt(U32.add(hi(p0), lo(p1)), hi(p0)))))