def nm.multi
import bend-osdev-acpi@0.1.1.0/aml_name.bend as AmlNameimport Base
import bend-osdev-acpi@0.1.1.0/error.bend as E
268def nm.multi(t: List<&2, U32>) -> Result<&2, &2, E.AcpiError, AmlSegsL>:
269 match t:
270 case Nil{}:
271 Fail{E.AcpiAmlTruncated{}}
272 case Con{c, r}:
273 +n = U32.to_nat(c)
274 nm.multi.k(Nat.is_eq(n, 0n), n, r)