def in.set.arg
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterpimport Base
import bend-osdev-acpi@0.1.1.0/aml_value.bend as V
496def in.set.arg(-H: Data, w: AmlWorld<H>, i: Nat, v: V.AmlValue) -> AmlWorld<H>:
497 match w:
498 case AmlWorld{AmlCtx{s, a, l, t}, n, h, e}:
499 AmlWorld{AmlCtx{s, in.list.set(i, a, v), l, t}, n, h, e}