def nm.text.segs
import bend-osdev-acpi@0.1.1.0/aml_name.bend as AmlNameimport Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
386def nm.text.segs(ps: List<&2, String>) -> List<&2, B.Octets>:
387 match ps:
388 case Nil{}:
389 Nil{}
390 case Con{p, t}:
391 Con{AmlName.seg(p), nm.text.segs(t)}