Recognizer for asm-qual structures.
(asm-qualp x) → *
Function:
(defun asm-qualp (x) (declare (xargs :guard t)) (let ((__function__ 'asm-qualp)) (declare (ignorable __function__)) (and (consp x) (cond ((or (atom x) (eq (car x) :volatile)) (and (true-listp (cdr x)) (eql (len (cdr x)) 1) (b* ((uscores (std::da-nth 0 (cdr x)))) (keyword-uscores-p uscores)))) ((eq (car x) :inline) (and (true-listp (cdr x)) (eql (len (cdr x)) 1) (b* ((uscores (std::da-nth 0 (cdr x)))) (keyword-uscores-p uscores)))) (t (and (eq (car x) :goto) (and (true-listp (cdr x)) (eql (len (cdr x)) 0)) (b* nil t)))))))
Theorem:
(defthm consp-when-asm-qualp (implies (asm-qualp x) (consp x)) :rule-classes :compound-recognizer)