def in.up_int
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterpimport Base
import bend-osdev-word64@0.1.1.0/word64.bend as W
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as S
412# the Integer seg names in p or the nearest scope enclosing it (0 if none)
413def in.up_int(+ns: S.AmlNs, +p: String, +seg: String) -> W.W64:
414 in.up.go(String.length(p), S.AmlNs.has(ns, S.AmlPath.child(p, seg)), ns, p, seg)