def val.hex.parse
import bend-osdev-acpi@0.1.1.0/aml_value.bend as AmlValueimport Base
import bend-osdev-word64@0.1.1.0/word64.bend as W
155def val.hex.parse(+wide: Bool, +xs: List<&2, U32>) -> W.W64:
156 val.digits(Nat.mul(2n, AmlInt.width_bytes(wide)), xs, val.dig.head(True{}, xs), W.W64.zero(), True{})