def in.stmt
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
2696# a statement: refused (AcpiAmlBadOperand) where a value is wanted
2697def in.stmt(-H: Data, exec: Bool, +n: Nat, c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2698 match exec:
2699 case True{}:
2700 in.stmt.go(H, n, c, fs, w)
2701 case False{}:
2702 AmlMachine{AmlMFail{E.AcpiAmlBadOperand{U32.from_nat(n)}}, c, fs, w}