def in.if.op
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterpimport Base
import bend-osdev-acpi@0.1.1.0/error.bend as E
2300def in.if.op(-H: Data, r: Result<&2, &2, E.AcpiError, AmlPkgC>, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2301 match r:
2302 case Fail{e}:
2303 AmlMachine{AmlMFail{e}, in.no.cur(), fs, w}
2304 case Done{AmlPkgC{body, after}}:
2305 AmlMachine{AmlMEval{AmlKTerm{}}, body, Con{AmlFIf{after}, fs}, w}