def qnext.pick
import bend-toon-codec@0.1.0.0/src/split.bend as Splitimport Base
14def qnext.pick(+st: U32, +quote: Bool, +bslash: Bool) -> U32:
15 sel.u(U32.is_eq(st, 0), sel.u(quote, 1, 0),
16 sel.u(U32.is_eq(st, 1), sel.u(bslash, 2, sel.u(quote, 0, 1)), 1))