
(/VERSIONCHECK 2) 

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

(DEFUN |RCAGG-;setelt;Avalue2S;2| (|x| T2 |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 (#1=#:G680 |i| #2=#:G679)
    (RETURN
     (SEQ
      (PROGN
       (LETT #2# NIL . #3=(|RCAGG-;parts;AL;4|))
       (SEQ (LETT |i| NIL . #3#) (LETT #1# (SPADCALL |x| (QREFELT $ 19)) . #3#)
            G190
            (COND
             ((OR (ATOM #1#) (PROGN (LETT |i| (CAR #1#) . #3#) NIL))
              (GO G191)))
            (SEQ
             (EXIT (LETT #2# (CONS (SPADCALL |i| (QREFELT $ 8)) #2#) . #3#)))
            (LETT #1# (CDR #1#) . #3#) (GO G190) G191
            (EXIT (NREVERSE0 #2#)))))))) 

(DEFUN |RecursiveAggregate&| (|#1| |#2|)
  (PROG (|pv$| $ |dv$| DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|RecursiveAggregate&|))
      (LETT DV$2 (|devaluate| |#2|) . #1#)
      (LETT |dv$| (LIST '|RecursiveAggregate&| DV$1 DV$2) . #1#)
      (LETT $ (GETREFV 22) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (|HasCategory| |#1|
                                                         '(|shallowlyMutable|))
                                          (|HasCategory| |#2|
                                                         '(|SetCategory|))))
                      . #1#))
      (|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|)) 
