
(/VERSIONCHECK 2) 

(PUT '|SPLTREE;rep| '|SPADreplace| '(XLAM (|n|) |n|)) 

(DEFUN |SPLTREE;rep| (|n| $) |n|) 

(PUT '|SPLTREE;per| '|SPADreplace| '(XLAM (|r|) |r|)) 

(DEFUN |SPLTREE;per| (|r| $) |r|) 

(DEFUN |SPLTREE;construct;Sn$;3| (|s| $) (|SPLTREE;per| (CONS |s| NIL) $)) 

(DEFUN |SPLTREE;construct;VCL$;4| (|v| |t| |la| $)
  (|SPLTREE;per| (CONS (SPADCALL |v| |t| (QREFELT $ 10)) |la|) $)) 

(DEFUN |SPLTREE;construct;VCL$;5| (|v| |t| |ls| $)
  (PROG (#1=#:G1862 |s| #2=#:G1861)
    (RETURN
     (SEQ
      (|SPLTREE;per|
       (CONS (SPADCALL |v| |t| (QREFELT $ 10))
             (PROGN
              (LETT #2# NIL . #3=(|SPLTREE;construct;VCL$;5|))
              (SEQ (LETT |s| NIL . #3#) (LETT #1# |ls| . #3#) G190
                   (COND
                    ((OR (ATOM #1#) (PROGN (LETT |s| (CAR #1#) . #3#) NIL))
                     (GO G191)))
                   (SEQ
                    (EXIT
                     (LETT #2# (CONS (SPADCALL |s| (QREFELT $ 9)) #2#) . #3#)))
                   (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                   (EXIT (NREVERSE0 #2#)))))
       $))))) 

(DEFUN |SPLTREE;construct;VCVL$;6| (|v1| |t| |v2| |lt| $)
  (SPADCALL |v1| |t| (SPADCALL |v2| |lt| (QREFELT $ 16)) (QREFELT $ 14))) 

(DEFUN |SPLTREE;empty?;$B;7| (|a| $)
  (COND
   ((SPADCALL (QCAR (|SPLTREE;rep| |a| $)) (QREFELT $ 19))
    (SPADCALL (QCDR (|SPLTREE;rep| |a| $)) (QREFELT $ 21)))
   ('T 'NIL))) 

(DEFUN |SPLTREE;empty;$;8| ($)
  (SPADCALL (SPADCALL (QREFELT $ 23)) (QREFELT $ 9))) 

(DEFUN |SPLTREE;remove;Sn2$;9| (|s| |a| $)
  (PROG (|lb| |la|)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) |a|)
            ('T
             (SEQ
              (COND
               ((SPADCALL |s| (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 26))
                (COND
                 ((|BooleanEquality| (SPADCALL |s| (QREFELT $ 27))
                                     (SPADCALL (SPADCALL |a| (QREFELT $ 25))
                                               (QREFELT $ 27)))
                  (EXIT (SPADCALL (QREFELT $ 24)))))))
              (LETT |la| (SPADCALL |a| (QREFELT $ 28))
                    . #1=(|SPLTREE;remove;Sn2$;9|))
              (LETT |lb| NIL . #1#)
              (SEQ G190
                   (COND
                    ((NULL
                      (COND ((SPADCALL |la| (QREFELT $ 21)) 'NIL) ('T 'T)))
                     (GO G191)))
                   (SEQ
                    (LETT |lb|
                          (SPADCALL
                           (SPADCALL |s| (SPADCALL |la| (QREFELT $ 29))
                                     (QREFELT $ 30))
                           |lb| (QREFELT $ 31))
                          . #1#)
                    (EXIT (LETT |la| (SPADCALL |la| (QREFELT $ 32)) . #1#)))
                   NIL (GO G190) G191 (EXIT NIL))
              (LETT |lb|
                    (SPADCALL (SPADCALL (ELT $ 22) |lb| (QREFELT $ 34))
                              (QREFELT $ 35))
                    . #1#)
              (EXIT
               (SPADCALL
                (SPADCALL (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 36))
                (SPADCALL (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 37)) |lb|
                (QREFELT $ 12)))))))))) 

(DEFUN |SPLTREE;remove!;Sn2$;10| (|s| |a| $)
  (PROG (|lb| |la|)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) |a|)
            ('T
             (SEQ
              (COND
               ((SPADCALL |s| (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 26))
                (COND
                 ((|BooleanEquality| (SPADCALL |s| (QREFELT $ 27))
                                     (SPADCALL (SPADCALL |a| (QREFELT $ 25))
                                               (QREFELT $ 27)))
                  (EXIT
                   (SEQ
                    (PROGN
                     (RPLACA #1=(|SPLTREE;rep| |a| $)
                             (SPADCALL (QREFELT $ 23)))
                     (QCAR #1#))
                    (PROGN (RPLACD #2=(|SPLTREE;rep| |a| $) NIL) (QCDR #2#))
                    (EXIT |a|)))))))
              (LETT |la| (SPADCALL |a| (QREFELT $ 28))
                    . #3=(|SPLTREE;remove!;Sn2$;10|))
              (LETT |lb| NIL . #3#)
              (SEQ G190
                   (COND
                    ((NULL
                      (COND ((SPADCALL |la| (QREFELT $ 21)) 'NIL) ('T 'T)))
                     (GO G191)))
                   (SEQ
                    (LETT |lb|
                          (SPADCALL
                           (SPADCALL |s| (SPADCALL |la| (QREFELT $ 29))
                                     (QREFELT $ 38))
                           |lb| (QREFELT $ 31))
                          . #3#)
                    (EXIT (LETT |la| (SPADCALL |la| (QREFELT $ 32)) . #3#)))
                   NIL (GO G190) G191 (EXIT NIL))
              (LETT |lb|
                    (SPADCALL
                     (SPADCALL (SPADCALL (QREFELT $ 24)) |lb| (QREFELT $ 39))
                     (QREFELT $ 35))
                    . #3#)
              (EXIT (SPADCALL |a| |lb| (QREFELT $ 40)))))))))) 

(DEFUN |SPLTREE;value;$Sn;11| (|a| $) (QCAR (|SPLTREE;rep| |a| $))) 

(DEFUN |SPLTREE;children;$L;12| (|a| $) (QCDR (|SPLTREE;rep| |a| $))) 

(DEFUN |SPLTREE;leaf?;$B;13| (|a| $)
  (COND ((SPADCALL |a| (QREFELT $ 22)) 'NIL)
        ('T (SPADCALL (QCDR (|SPLTREE;rep| |a| $)) (QREFELT $ 21))))) 

(DEFUN |SPLTREE;setchildren!;$L$;14| (|a| |la| $)
  (SEQ (PROGN (RPLACD #1=(|SPLTREE;rep| |a| $) |la|) (QCDR #1#)) (EXIT |a|))) 

(DEFUN |SPLTREE;setvalue!;$2Sn;15| (|a| |s| $)
  (SEQ (PROGN (RPLACA #1=(|SPLTREE;rep| |a| $) |s|) (QCAR #1#)) (EXIT |s|))) 

(PUT '|SPLTREE;cyclic?;$B;16| '|SPADreplace| '(XLAM (|a|) 'NIL)) 

(DEFUN |SPLTREE;cyclic?;$B;16| (|a| $) 'NIL) 

(DEFUN |SPLTREE;map;M2$;17| (|foo| |a| $)
  (PROG (#1=#:G1905 |c| #2=#:G1904 |b|)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) |a|)
            (#3='T
             (SEQ
              (LETT |b|
                    (SPADCALL (SPADCALL (SPADCALL |a| (QREFELT $ 25)) |foo|)
                              (QREFELT $ 9))
                    . #4=(|SPLTREE;map;M2$;17|))
              (EXIT
               (COND ((SPADCALL |a| (QREFELT $ 41)) |b|)
                     (#3#
                      (SPADCALL |b|
                                (PROGN
                                 (LETT #2# NIL . #4#)
                                 (SEQ (LETT |c| NIL . #4#)
                                      (LETT #1# (SPADCALL |a| (QREFELT $ 28))
                                            . #4#)
                                      G190
                                      (COND
                                       ((OR (ATOM #1#)
                                            (PROGN
                                             (LETT |c| (CAR #1#) . #4#)
                                             NIL))
                                        (GO G191)))
                                      (SEQ
                                       (EXIT
                                        (LETT #2#
                                              (CONS
                                               (SPADCALL |foo| |c|
                                                         (QREFELT $ 45))
                                               #2#)
                                              . #4#)))
                                      (LETT #1# (CDR #1#) . #4#) (GO G190) G191
                                      (EXIT (NREVERSE0 #2#))))
                                (QREFELT $ 40)))))))))))) 

(DEFUN |SPLTREE;map!;M2$;18| (|foo| |a| $)
  (PROG (#1=#:G1911 |c| #2=#:G1910)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) |a|)
            (#3='T
             (SEQ
              (SPADCALL |a| (SPADCALL (SPADCALL |a| (QREFELT $ 25)) |foo|)
                        (QREFELT $ 42))
              (EXIT
               (COND ((SPADCALL |a| (QREFELT $ 41)) |a|)
                     (#3#
                      (SPADCALL |a|
                                (PROGN
                                 (LETT #2# NIL . #4=(|SPLTREE;map!;M2$;18|))
                                 (SEQ (LETT |c| NIL . #4#)
                                      (LETT #1# (SPADCALL |a| (QREFELT $ 28))
                                            . #4#)
                                      G190
                                      (COND
                                       ((OR (ATOM #1#)
                                            (PROGN
                                             (LETT |c| (CAR #1#) . #4#)
                                             NIL))
                                        (GO G191)))
                                      (SEQ
                                       (EXIT
                                        (LETT #2#
                                              (CONS
                                               (SPADCALL |foo| |c|
                                                         (QREFELT $ 46))
                                               #2#)
                                              . #4#)))
                                      (LETT #1# (CDR #1#) . #4#) (GO G190) G191
                                      (EXIT (NREVERSE0 #2#))))
                                (QREFELT $ 40)))))))))))) 

(DEFUN |SPLTREE;copy;2$;19| (|a| $) (SPADCALL (ELT $ 47) |a| (QREFELT $ 45))) 

(PUT '|SPLTREE;eq?;2$B;20| '|SPADreplace|
     '(XLAM (|a1| |a2|) (|error| "in eq? from SPLTREE : unimplemented"))) 

(DEFUN |SPLTREE;eq?;2$B;20| (|a1| |a2| $)
  (|error| "in eq? from SPLTREE : unimplemented")) 

(DEFUN |SPLTREE;nodes;$L;21| (|a| $)
  (PROG (#1=#:G1927 |c| #2=#:G1926)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) NIL)
            ((SPADCALL |a| (QREFELT $ 41)) (LIST |a|))
            ('T
             (SPADCALL |a|
                       (SPADCALL
                        (PROGN
                         (LETT #2# NIL . #3=(|SPLTREE;nodes;$L;21|))
                         (SEQ (LETT |c| NIL . #3#)
                              (LETT #1# (SPADCALL |a| (QREFELT $ 28)) . #3#)
                              G190
                              (COND
                               ((OR (ATOM #1#)
                                    (PROGN (LETT |c| (CAR #1#) . #3#) NIL))
                                (GO G191)))
                              (SEQ
                               (EXIT
                                (LETT #2#
                                      (CONS (SPADCALL |c| (QREFELT $ 50)) #2#)
                                      . #3#)))
                              (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                              (EXIT (NREVERSE0 #2#))))
                        (QREFELT $ 51))
                       (QREFELT $ 31)))))))) 

(DEFUN |SPLTREE;leaves;$L;22| (|a| $)
  (PROG (#1=#:G1933 |c| #2=#:G1932)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) NIL)
            ((SPADCALL |a| (QREFELT $ 41))
             (LIST (SPADCALL |a| (QREFELT $ 25))))
            ('T
             (SPADCALL
              (PROGN
               (LETT #2# NIL . #3=(|SPLTREE;leaves;$L;22|))
               (SEQ (LETT |c| NIL . #3#)
                    (LETT #1# (SPADCALL |a| (QREFELT $ 28)) . #3#) G190
                    (COND
                     ((OR (ATOM #1#) (PROGN (LETT |c| (CAR #1#) . #3#) NIL))
                      (GO G191)))
                    (SEQ
                     (EXIT
                      (LETT #2# (CONS (SPADCALL |c| (QREFELT $ 52)) #2#)
                            . #3#)))
                    (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                    (EXIT (NREVERSE0 #2#))))
              (QREFELT $ 53)))))))) 

(DEFUN |SPLTREE;members;$L;23| (|a| $)
  (PROG (#1=#:G1939 |c| #2=#:G1938)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) NIL)
            ((SPADCALL |a| (QREFELT $ 41))
             (LIST (SPADCALL |a| (QREFELT $ 25))))
            ('T
             (CONS (SPADCALL |a| (QREFELT $ 25))
                   (SPADCALL
                    (PROGN
                     (LETT #2# NIL . #3=(|SPLTREE;members;$L;23|))
                     (SEQ (LETT |c| NIL . #3#)
                          (LETT #1# (SPADCALL |a| (QREFELT $ 28)) . #3#) G190
                          (COND
                           ((OR (ATOM #1#)
                                (PROGN (LETT |c| (CAR #1#) . #3#) NIL))
                            (GO G191)))
                          (SEQ
                           (EXIT
                            (LETT #2# (CONS (SPADCALL |c| (QREFELT $ 54)) #2#)
                                  . #3#)))
                          (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                          (EXIT (NREVERSE0 #2#))))
                    (QREFELT $ 53))))))))) 

(DEFUN |SPLTREE;#;$Nni;24| (|a| $)
  (PROG (#1=#:G1946 |c| #2=#:G1945)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) 0) ((SPADCALL |a| (QREFELT $ 41)) 1)
            ('T
             (SPADCALL (ELT $ 56)
                       (PROGN
                        (LETT #2# NIL . #3=(|SPLTREE;#;$Nni;24|))
                        (SEQ (LETT |c| NIL . #3#)
                             (LETT #1# (SPADCALL |a| (QREFELT $ 28)) . #3#)
                             G190
                             (COND
                              ((OR (ATOM #1#)
                                   (PROGN (LETT |c| (CAR #1#) . #3#) NIL))
                               (GO G191)))
                             (SEQ
                              (EXIT
                               (LETT #2#
                                     (CONS (SPADCALL |c| (QREFELT $ 57)) #2#)
                                     . #3#)))
                             (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                             (EXIT (NREVERSE0 #2#))))
                       1 (QREFELT $ 60)))))))) 

(DEFUN |SPLTREE;=;2$B;25| (|a1| |a2| $)
  (COND ((SPADCALL |a1| (QREFELT $ 22)) (SPADCALL |a2| (QREFELT $ 22)))
        ((SPADCALL |a2| (QREFELT $ 22)) 'NIL)
        ((SPADCALL |a1| (QREFELT $ 41))
         (COND ((NULL (SPADCALL |a2| (QREFELT $ 41))) 'NIL)
               ('T
                (SPADCALL (SPADCALL |a1| (QREFELT $ 25))
                          (SPADCALL |a2| (QREFELT $ 25)) (QREFELT $ 26)))))
        ((OR (SPADCALL |a2| (QREFELT $ 41))
             (NULL
              (SPADCALL (SPADCALL |a1| (QREFELT $ 25))
                        (SPADCALL |a2| (QREFELT $ 25)) (QREFELT $ 26))))
         'NIL)
        ('T
         (SPADCALL (SPADCALL |a1| (QREFELT $ 28))
                   (SPADCALL |a2| (QREFELT $ 28)) (QREFELT $ 61))))) 

(DEFUN |SPLTREE;localCoerce| (|a| |k| $)
  (PROG (|lo| #1=#:G1965 |c| #2=#:G1964 |ro| |s| |i|)
    (RETURN
     (SEQ
      (COND ((EQL |k| 1) (LETT |s| "* " . #3=(|SPLTREE;localCoerce|)))
            (#4='T (LETT |s| "-> " . #3#)))
      (SEQ (LETT |i| 2 . #3#) G190 (COND ((QSGREATERP |i| |k|) #5=(GO G191)))
           (SEQ (EXIT (LETT |s| (STRCONC "-+" |s|) . #3#)))
           (LETT |i| (QSADD1 |i|) . #3#) #6=(GO G190) G191 (EXIT NIL))
      (LETT |ro|
            (SPADCALL
             (SPADCALL (SPADCALL |s| (QREFELT $ 65))
                       (SPADCALL (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 66))
                       (QREFELT $ 67))
             (QREFELT $ 68))
            . #3#)
      (EXIT
       (COND ((SPADCALL |a| (QREFELT $ 41)) |ro|)
             (#4#
              (SEQ
               (LETT |lo|
                     (PROGN
                      (LETT #2# NIL . #3#)
                      (SEQ (LETT |c| NIL . #3#)
                           (LETT #1# (SPADCALL |a| (QREFELT $ 28)) . #3#) G190
                           (COND
                            ((OR (ATOM #1#)
                                 (PROGN (LETT |c| (CAR #1#) . #3#) NIL))
                             #5#))
                           (SEQ
                            (EXIT
                             (LETT #2#
                                   (CONS
                                    (|SPLTREE;localCoerce| |c| (+ |k| 1) $)
                                    #2#)
                                   . #3#)))
                           (LETT #1# (CDR #1#) . #3#) #6# G191
                           (EXIT (NREVERSE0 #2#))))
                     . #3#)
               (LETT |lo| (CONS |ro| |lo|) . #3#)
               (EXIT (SPADCALL |lo| (QREFELT $ 69))))))))))) 

(DEFUN |SPLTREE;coerce;$Of;27| (|a| $)
  (COND
   ((SPADCALL |a| (QREFELT $ 22))
    (SPADCALL (SPADCALL " " (QREFELT $ 65)) (SPADCALL "* []" (QREFELT $ 65))
              (QREFELT $ 70)))
   ('T
    (SPADCALL (SPADCALL " " (QREFELT $ 65)) (|SPLTREE;localCoerce| |a| 1 $)
              (QREFELT $ 70))))) 

(DEFUN |SPLTREE;extractSplittingLeaf;$U;28| (|a| $)
  (PROG (|la| #1=#:G1981 |esl|)
    (RETURN
     (SEQ
      (EXIT
       (COND
        ((OR (SPADCALL |a| (QREFELT $ 22))
             (SPADCALL (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 27)))
         (CONS 1 "failed"))
        ('T
         (SEQ
          (LETT |la| (SPADCALL |a| (QREFELT $ 28))
                . #2=(|SPLTREE;extractSplittingLeaf;$U;28|))
          (EXIT
           (COND ((SPADCALL |la| (QREFELT $ 21)) (CONS 0 |a|))
                 ('T
                  (SEQ
                   (SEQ G190
                        (COND
                         ((NULL
                           (COND ((SPADCALL |la| (QREFELT $ 21)) 'NIL)
                                 ('T 'T)))
                          (GO G191)))
                        (SEQ
                         (LETT |esl|
                               (SPADCALL (SPADCALL |la| (QREFELT $ 29))
                                         (QREFELT $ 73))
                               . #2#)
                         (EXIT
                          (COND
                           ((QEQCAR |esl| 0)
                            (PROGN (LETT #1# |esl| . #2#) (GO #1#)))
                           ('T
                            (LETT |la| (SPADCALL |la| (QREFELT $ 32))
                                  . #2#)))))
                        NIL (GO G190) G191 (EXIT NIL))
                   (EXIT (CONS 1 "failed"))))))))))
      #1# (EXIT #1#))))) 

(DEFUN |SPLTREE;updateStatus!;2$;29| (|a| $)
  (PROG (|la| |done|)
    (RETURN
     (SEQ
      (LETT |la| (SPADCALL |a| (QREFELT $ 28))
            . #1=(|SPLTREE;updateStatus!;2$;29|))
      (COND
       ((OR (SPADCALL |la| (QREFELT $ 21))
            (SPADCALL (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 27)))
        (EXIT |a|)))
      (LETT |done| 'T . #1#)
      (SEQ G190
           (COND
            ((NULL (COND ((SPADCALL |la| (QREFELT $ 21)) 'NIL) ('T |done|)))
             (GO G191)))
           (SEQ
            (LETT |done|
                  (COND
                   (|done|
                    (SPADCALL
                     (SPADCALL
                      (SPADCALL (SPADCALL |la| (QREFELT $ 29)) (QREFELT $ 74))
                      (QREFELT $ 25))
                     (QREFELT $ 27)))
                   ('T 'NIL))
                  . #1#)
            (EXIT (LETT |la| (SPADCALL |la| (QREFELT $ 32)) . #1#)))
           NIL (GO G190) G191 (EXIT NIL))
      (SPADCALL (SPADCALL |a| (QREFELT $ 25)) |done| (QREFELT $ 75))
      (EXIT |a|))))) 

(DEFUN |SPLTREE;result;$L;30| (|a| $)
  (PROG (#1=#:G1998 |s| #2=#:G1997 |ls|)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) NIL)
            ((NULL (SPADCALL (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 27)))
             (|error| "in result from SLPTREE : mad cow!"))
            ('T
             (SEQ
              (LETT |ls| (SPADCALL |a| (QREFELT $ 52))
                    . #3=(|SPLTREE;result;$L;30|))
              (EXIT
               (PROGN
                (LETT #2# NIL . #3#)
                (SEQ (LETT |s| NIL . #3#) (LETT #1# |ls| . #3#) G190
                     (COND
                      ((OR (ATOM #1#) (PROGN (LETT |s| (CAR #1#) . #3#) NIL))
                       (GO G191)))
                     (SEQ
                      (EXIT
                       (LETT #2#
                             (CONS
                              (CONS (SPADCALL |s| (QREFELT $ 36))
                                    (SPADCALL |s| (QREFELT $ 37)))
                              #2#)
                             . #3#)))
                     (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                     (EXIT (NREVERSE0 #2#)))))))))))) 

(DEFUN |SPLTREE;conditions;$L;31| (|a| $)
  (PROG (#1=#:G2004 |s| #2=#:G2003 |ls|)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) NIL)
            ('T
             (SEQ
              (LETT |ls| (SPADCALL |a| (QREFELT $ 52))
                    . #3=(|SPLTREE;conditions;$L;31|))
              (EXIT
               (PROGN
                (LETT #2# NIL . #3#)
                (SEQ (LETT |s| NIL . #3#) (LETT #1# |ls| . #3#) G190
                     (COND
                      ((OR (ATOM #1#) (PROGN (LETT |s| (CAR #1#) . #3#) NIL))
                       (GO G191)))
                     (SEQ
                      (EXIT
                       (LETT #2# (CONS (SPADCALL |s| (QREFELT $ 37)) #2#)
                             . #3#)))
                     (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                     (EXIT (NREVERSE0 #2#)))))))))))) 

(DEFUN |SPLTREE;nodeOf?;Sn$B;32| (|s| |a| $)
  (PROG (|la|)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) 'NIL)
            ((SPADCALL |s| (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 26)) 'T)
            (#1='T
             (SEQ
              (LETT |la| (SPADCALL |a| (QREFELT $ 28))
                    . #2=(|SPLTREE;nodeOf?;Sn$B;32|))
              (SEQ G190
                   (COND
                    ((NULL
                      (COND
                       ((OR (SPADCALL |la| (QREFELT $ 21))
                            (SPADCALL |s| (SPADCALL |la| (QREFELT $ 29))
                                      (QREFELT $ 80)))
                        'NIL)
                       ('T 'T)))
                     (GO G191)))
                   (SEQ
                    (EXIT (LETT |la| (SPADCALL |la| (QREFELT $ 32)) . #2#)))
                   NIL (GO G190) G191 (EXIT NIL))
              (EXIT
               (COND ((SPADCALL |la| (QREFELT $ 21)) 'NIL) (#1# 'T)))))))))) 

(DEFUN |SPLTREE;subNodeOf?;Sn$MB;33| (|s| |a| |sub?| $)
  (PROG (|la|)
    (RETURN
     (SEQ
      (COND ((SPADCALL |a| (QREFELT $ 22)) 'NIL)
            (#1='T
             (SEQ
              (COND
               ((SPADCALL (SPADCALL |a| (QREFELT $ 25)) (QREFELT $ 27))
                (COND
                 ((SPADCALL |s| (SPADCALL |a| (QREFELT $ 25)) |sub?|
                            (QREFELT $ 82))
                  (EXIT 'T)))))
              (LETT |la| (SPADCALL |a| (QREFELT $ 28))
                    . #2=(|SPLTREE;subNodeOf?;Sn$MB;33|))
              (SEQ G190
                   (COND
                    ((NULL
                      (COND
                       ((OR (SPADCALL |la| (QREFELT $ 21))
                            (SPADCALL |s| (SPADCALL |la| (QREFELT $ 29)) |sub?|
                                      (QREFELT $ 83)))
                        'NIL)
                       ('T 'T)))
                     (GO G191)))
                   (SEQ
                    (EXIT (LETT |la| (SPADCALL |la| (QREFELT $ 32)) . #2#)))
                   NIL (GO G190) G191 (EXIT NIL))
              (EXIT
               (COND ((SPADCALL |la| (QREFELT $ 21)) 'NIL) (#1# 'T)))))))))) 

(DEFUN |SPLTREE;splitNodeOf!;2$L$;34| (|l| |a| |ls| $)
  (PROG (|la| |ln|)
    (RETURN
     (SEQ
      (LETT |ln| (SPADCALL |ls| (QREFELT $ 84))
            . #1=(|SPLTREE;splitNodeOf!;2$L$;34|))
      (LETT |la| NIL . #1#)
      (SEQ G190 (COND ((NULL (COND ((NULL |ln|) 'NIL) ('T 'T))) (GO G191)))
           (SEQ
            (COND
             ((NULL (SPADCALL (|SPADfirst| |ln|) |a| (QREFELT $ 80)))
              (LETT |la|
                    (SPADCALL (SPADCALL (|SPADfirst| |ln|) (QREFELT $ 9)) |la|
                              (QREFELT $ 31))
                    . #1#)))
            (EXIT (LETT |ln| (CDR |ln|) . #1#)))
           NIL (GO G190) G191 (EXIT NIL))
      (LETT |la| (SPADCALL |la| (QREFELT $ 35)) . #1#)
      (SPADCALL |l| |la| (QREFELT $ 40))
      (COND
       ((SPADCALL |la| (QREFELT $ 21))
        (PROGN
         (RPLACA #2=(|SPLTREE;rep| |l| $)
                 (SPADCALL (SPADCALL (QREFELT $ 85)) (SPADCALL (QREFELT $ 86))
                           'T (QREFELT $ 87)))
         (QCAR #2#))))
      (EXIT (SPADCALL |a| (QREFELT $ 74))))))) 

(DEFUN |SPLTREE;splitNodeOf!;2$LM$;35| (|l| |a| |ls| |sub?| $)
  (PROG (|la| |ln|)
    (RETURN
     (SEQ
      (LETT |ln| (SPADCALL |ls| (QREFELT $ 84))
            . #1=(|SPLTREE;splitNodeOf!;2$LM$;35|))
      (LETT |la| NIL . #1#)
      (SEQ G190 (COND ((NULL (COND ((NULL |ln|) 'NIL) ('T 'T))) (GO G191)))
           (SEQ
            (COND
             ((NULL (SPADCALL (|SPADfirst| |ln|) |a| |sub?| (QREFELT $ 83)))
              (LETT |la|
                    (SPADCALL (SPADCALL (|SPADfirst| |ln|) (QREFELT $ 9)) |la|
                              (QREFELT $ 31))
                    . #1#)))
            (EXIT (LETT |ln| (CDR |ln|) . #1#)))
           NIL (GO G190) G191 (EXIT NIL))
      (LETT |la| (SPADCALL |la| (QREFELT $ 35)) . #1#)
      (SPADCALL |l| |la| (QREFELT $ 40))
      (COND
       ((SPADCALL |la| (QREFELT $ 21))
        (PROGN
         (RPLACA #2=(|SPLTREE;rep| |l| $)
                 (SPADCALL (SPADCALL (QREFELT $ 85)) (SPADCALL (QREFELT $ 86))
                           'T (QREFELT $ 87)))
         (QCAR #2#))))
      (EXIT (SPADCALL |a| (QREFELT $ 74))))))) 

(DEFUN |SplittingTree| (&REST #1=#:G2037)
  (PROG ()
    (RETURN
     (PROG (#2=#:G2038)
       (RETURN
        (COND
         ((LETT #2#
                (|lassocShiftWithFunction| (|devaluateList| #1#)
                                           (HGET |$ConstructorCache|
                                                 '|SplittingTree|)
                                           '|domainEqualList|)
                . #3=(|SplittingTree|))
          (|CDRwithIncrement| #2#))
         ('T
          (UNWIND-PROTECT
              (PROG1 (APPLY (|function| |SplittingTree;|) #1#)
                (LETT #2# T . #3#))
            (COND
             ((NOT #2#) (HREM |$ConstructorCache| '|SplittingTree|))))))))))) 

(DEFUN |SplittingTree;| (|#1| |#2|)
  (PROG (|pv$| #1=#:G2036 $ |dv$| DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #2=(|SplittingTree|))
      (LETT DV$2 (|devaluate| |#2|) . #2#)
      (LETT |dv$| (LIST '|SplittingTree| DV$1 DV$2) . #2#)
      (LETT $ (GETREFV 96) . #2#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (LETT #1#
                                                (|HasCategory|
                                                 (|SplittingNode| |#1| |#2|)
                                                 '(|SetCategory|))
                                                . #2#)
                                          (AND
                                           (|HasCategory|
                                            (|SplittingNode| |#1| |#2|)
                                            (LIST '|Evalable|
                                                  (LIST '|SplittingNode|
                                                        (|devaluate| |#1|)
                                                        (|devaluate| |#2|))))
                                           #1#)))
                      . #2#))
      (|haddProp| |$ConstructorCache| '|SplittingTree| (LIST DV$1 DV$2)
                  (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (AND (|HasCategory| $ '(|finiteAggregate|)) (|augmentPredVector| $ 4))
      (AND (|HasCategory| $ '(|finiteAggregate|)) #1#
           (|augmentPredVector| $ 8))
      (AND (|HasCategory| $ '(|shallowlyMutable|)) (|augmentPredVector| $ 16))
      $)))) 

(MAKEPROP '|SplittingTree| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|SplittingNode| 6 7) |SPLTREE;construct;Sn$;3| (0 . |construct|)
              (|List| $) |SPLTREE;construct;VCL$;4| (|List| 8)
              |SPLTREE;construct;VCL$;5| (|List| 7) (6 . |construct|)
              |SPLTREE;construct;VCVL$;6| (|Boolean|) (12 . |empty?|)
              (|List| $$) (17 . |empty?|) |SPLTREE;empty?;$B;7| (22 . |empty|)
              |SPLTREE;empty;$;8| |SPLTREE;value;$Sn;11| (26 . =)
              (32 . |status|) |SPLTREE;children;$L;12| (37 . |first|)
              |SPLTREE;remove;Sn2$;9| (42 . |cons|) (48 . |rest|)
              (|Mapping| 18 $$) (53 . |remove|) (59 . |reverse|) (64 . |value|)
              (69 . |condition|) |SPLTREE;remove!;Sn2$;10| (74 . |remove|)
              |SPLTREE;setchildren!;$L$;14| |SPLTREE;leaf?;$B;13|
              |SPLTREE;setvalue!;$2Sn;15| |SPLTREE;cyclic?;$B;16|
              (|Mapping| 8 8) |SPLTREE;map;M2$;17| |SPLTREE;map!;M2$;18|
              (80 . |copy|) |SPLTREE;copy;2$;19| |SPLTREE;eq?;2$B;20|
              |SPLTREE;nodes;$L;21| (85 . |concat|) |SPLTREE;leaves;$L;22|
              (90 . |concat|) |SPLTREE;members;$L;23| (|NonNegativeInteger|)
              (95 . +) |SPLTREE;#;$Nni;24| (|Mapping| 55 55 55) (|List| 55)
              (101 . |reduce|) (108 . =) |SPLTREE;=;2$B;25| (|String|)
              (|OutputForm|) (114 . |message|) (119 . |coerce|)
              (124 . |hconcat|) (130 . |left|) (135 . |vconcat|)
              (140 . |vconcat|) |SPLTREE;coerce;$Of;27| (|Union| $ '"failed")
              |SPLTREE;extractSplittingLeaf;$U;28|
              |SPLTREE;updateStatus!;2$;29| (146 . |setStatus!|)
              (|Record| (|:| |val| 6) (|:| |tower| 7)) (|List| 76)
              |SPLTREE;result;$L;30| |SPLTREE;conditions;$L;31|
              |SPLTREE;nodeOf?;Sn$B;32| (|Mapping| 18 7 7) (152 . |subNode?|)
              |SPLTREE;subNodeOf?;Sn$MB;33| (159 . |removeDuplicates|)
              (164 . |empty|) (168 . |empty|) (172 . |construct|)
              |SPLTREE;splitNodeOf!;2$L$;34| |SPLTREE;splitNodeOf!;2$LM$;35|
              (|List| 91) (|Equation| 8) (|SingleInteger|) (|Mapping| 18 8)
              '"value" (|Integer|))
           '#(~= 179 |value| 185 |updateStatus!| 190 |subNodeOf?| 195
              |splitNodeOf!| 202 |size?| 217 |setvalue!| 223 |setelt| 229
              |setchildren!| 236 |sample| 242 |result| 246 |remove!| 251
              |remove| 257 |parts| 263 |nodes| 268 |nodeOf?| 273 |node?| 279
              |more?| 285 |members| 291 |member?| 296 |map!| 302 |map| 308
              |less?| 314 |leaves| 320 |leaf?| 325 |latex| 330 |hash| 335
              |extractSplittingLeaf| 340 |every?| 345 |eval| 351 |eq?| 377
              |empty?| 383 |empty| 388 |elt| 392 |distance| 398 |cyclic?| 404
              |count| 409 |copy| 421 |construct| 426 |conditions| 453 |coerce|
              458 |children| 463 |child?| 468 |any?| 474 = 480 |#| 486)
           'NIL
           (CONS (|makeByteWordVec2| 2 '(0 0 0 2 1 0 0 0 2 1 1))
                 (CONS
                  '#(|RecursiveAggregate&| |HomogeneousAggregate&| |Aggregate&|
                     |Evalable&| |SetCategory&| NIL NIL NIL |InnerEvalable&|
                     |BasicType&| NIL)
                  (CONS
                   '#((|RecursiveAggregate| (|SplittingNode| 6 7))
                      (|HomogeneousAggregate| (|SplittingNode| 6 7))
                      (|Aggregate|) (|Evalable| (|SplittingNode| 6 7))
                      (|SetCategory|) (|Type|) (|finiteAggregate|)
                      (|shallowlyMutable|)
                      (|InnerEvalable| (|SplittingNode| 6 7)
                                       (|SplittingNode| 6 7))
                      (|BasicType|) (|CoercibleTo| 64))
                   (|makeByteWordVec2| 95
                                       '(2 8 0 6 7 10 2 8 11 6 15 16 1 8 18 0
                                         19 1 20 18 0 21 0 8 0 23 2 8 18 0 0 26
                                         1 8 18 0 27 1 20 2 0 29 2 20 0 2 0 31
                                         1 20 0 0 32 2 20 0 33 0 34 1 20 0 0 35
                                         1 8 6 0 36 1 8 7 0 37 2 20 0 2 0 39 1
                                         8 0 0 47 1 20 0 11 51 1 13 0 11 53 2
                                         55 0 0 0 56 3 59 55 58 0 55 60 2 20 18
                                         0 0 61 1 64 0 63 65 1 8 64 0 66 2 64 0
                                         0 0 67 1 64 0 0 68 1 64 0 11 69 2 64 0
                                         0 0 70 2 8 0 0 18 75 3 8 18 0 0 81 82
                                         1 13 0 0 84 0 6 0 85 0 7 0 86 3 8 0 6
                                         7 18 87 2 1 18 0 0 1 1 0 8 0 25 1 0 0
                                         0 74 3 0 18 8 0 81 83 4 0 0 0 0 13 81
                                         89 3 0 0 0 0 13 88 2 0 18 0 55 1 2 5 8
                                         0 8 42 3 5 8 0 94 8 1 2 5 0 0 11 40 0
                                         0 0 1 1 0 77 0 78 2 0 0 8 0 38 2 0 0 8
                                         0 30 1 3 13 0 1 1 0 11 0 50 2 0 18 8 0
                                         80 2 1 18 0 0 1 2 0 18 0 55 1 1 3 13 0
                                         54 2 4 18 8 0 1 2 5 0 44 0 46 2 0 0 44
                                         0 45 2 0 18 0 55 1 1 0 13 0 52 1 0 18
                                         0 41 1 1 63 0 1 1 1 92 0 1 1 0 72 0 73
                                         2 3 18 93 0 1 3 2 0 0 13 13 1 3 2 0 0
                                         8 8 1 2 2 0 0 90 1 2 2 0 0 91 1 2 0 18
                                         0 0 49 1 0 18 0 22 0 0 0 24 2 0 8 0 94
                                         1 2 0 95 0 0 1 1 0 18 0 43 2 4 55 8 0
                                         1 2 3 55 93 0 1 1 0 0 0 48 4 0 0 6 7 6
                                         15 17 3 0 0 6 7 11 12 3 0 0 6 7 13 14
                                         1 0 0 8 9 1 0 15 0 79 1 1 64 0 71 1 0
                                         11 0 28 2 1 18 0 0 1 2 3 18 93 0 1 2 1
                                         18 0 0 62 1 3 55 0 57)))))
           '|lookupComplete|)) 
