Recognizer for stat32i structures.
(stat32ip x) → *
Function:
(defun stat32ip (x) (declare (xargs :guard t)) (let ((__function__ 'stat32ip)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(xregs pc memory error))) :exec (fty::alist-with-carsp x '(xregs pc memory error))) (b* ((xregs (cdr (std::da-nth 0 x))) (pc (cdr (std::da-nth 1 x))) (memory (cdr (std::da-nth 2 x))) (error (cdr (std::da-nth 3 x)))) (and (xregs32ip xregs) (ubyte32p pc) (memory32ip memory) (booleanp error))))))
Theorem:
(defthm consp-when-stat32ip (implies (stat32ip x) (consp x)) :rule-classes :compound-recognizer)