
(/VERSIONCHECK 2) 

(DEFUN |RCAGG-;elt;AvalueS;1| (|x| T0 $) (SPADCALL |x| (QREFELT $ 8))) 

(DEFUN |RCAGG-;setelt;Avalue2S;2| (|x| T1 |y| $)
  (SPADCALL |x| |y| (QREFELT $ 11))) 

(DEFUN |RCAGG-;child?;2AB;3| (|x| |l| $)
  (SPADCALL |x| (SPADCALL |l| (QREFELT $ 14)) (QREFELT $ 17))) 

(DEFUN |RCAGG-;parts;AL;4| (|x| $)
  (PROG (#0=#:G1823 |i| #1=#:G1824)
    (RETURN
      (SEQ (PROGN
             (LETT #0# NIL . #2=(|RCAGG-;parts;AL;4|))
             (SEQ (LETT |i| NIL . #2#)
                  (LETT #1# (SPADCALL |x| (QREFELT $ 19)) . #2#) G190
                  (COND
                    ((OR (ATOM #1#)
                         (PROGN (LETT |i| (CAR #1#) . #2#) NIL))
                     (GO G191)))
                  (SEQ (EXIT (LETT #0#
                                   (CONS (SPADCALL |i| (QREFELT $ 8))
                                    #0#) . #2#)))
                  (LETT #1# (CDR #1#) . #2#) (GO G190) G191
                  (EXIT (NREVERSE0 #0#)))))))) 

(DEFUN |RecursiveAggregate&| (|#1| |#2|)
  (PROG (DV$1 DV$2 |dv$| $ |pv$|)
    (RETURN
      (PROGN
        (LETT DV$1 (|devaluate| |#1|) . #0=(|RecursiveAggregate&|))
        (LETT DV$2 (|devaluate| |#2|) . #0#)
        (LETT |dv$| (LIST '|RecursiveAggregate&| DV$1 DV$2) . #0#)
        (LETT $ (GETREFV 22) . #0#)
        (QSETREFV $ 0 |dv$|)
        (QSETREFV $ 3
            (LETT |pv$|
                  (|buildPredVector| 0 0
                      (LIST (|HasCategory| |#1| '(|shallowlyMutable|))
                            (|HasCategory| |#2| '(|SetCategory|)))) . #0#))
        (|stuffDomainSlots| $)
        (QSETREFV $ 6 |#1|)
        (QSETREFV $ 7 |#2|)
        (COND
          ((|testBitVector| |pv$| 1)
           (QSETREFV $ 12
               (CONS (|dispatchFunction| |RCAGG-;setelt;Avalue2S;2|) $))))
        (COND
          ((|testBitVector| |pv$| 2)
           (QSETREFV $ 18
               (CONS (|dispatchFunction| |RCAGG-;child?;2AB;3|) $))))
        (COND
          ((|HasCategory| |#1| '(|finiteAggregate|))
           (QSETREFV $ 21
               (CONS (|dispatchFunction| |RCAGG-;parts;AL;4|) $))))
        $)))) 

(MAKEPROP '|RecursiveAggregate&| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
             (0 . |value|) '"value" |RCAGG-;elt;AvalueS;1|
             (5 . |setvalue!|) (11 . |setelt|) (|List| $)
             (18 . |children|) (|Boolean|) (|List| 6) (23 . |member?|)
             (29 . |child?|) (35 . |nodes|) (|List| 7) (40 . |parts|))
          '#(|setelt| 45 |parts| 52 |elt| 57 |child?| 63) 'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 21
                                '(1 6 7 0 8 2 6 7 0 7 11 3 0 7 0 9 7 12
                                  1 6 13 0 14 2 16 15 6 0 17 2 0 15 0 0
                                  18 1 6 13 0 19 1 0 20 0 21 3 0 7 0 9
                                  7 12 1 0 20 0 21 2 0 7 0 9 10 2 0 15
                                  0 0 18)))))
          '|lookupComplete|)) 
