
(/VERSIONCHECK 2) 

(DEFUN |MTHING;mergeDifference;3L;1| (|x| |y| $)
  (SEQ (COND
         ((OR (NULL |x|) (NULL |y|)) |x|)
         ('T
          (SEQ (|MTHING;mergeDifference1| |x| (|SPADfirst| |y|)
                   (CDR |y|) $)
               (EXIT (COND
                       ((SPADCALL (|SPADfirst| |x|) (|SPADfirst| |y|)
                            (QREFELT $ 8))
                        (CDR |x|))
                       ('T |x|)))))))) 

(DEFUN |MTHING;mergeDifference1| (|x| |fy| |ry| $)
  (PROG (|rx| |frx| #0=#:G1826)
    (RETURN
      (SEQ (EXIT (SEQ (LETT |rx| |x| . #1=(|MTHING;mergeDifference1|))
                      (EXIT (SEQ G190
                                 (COND
                                   ((NULL
                                     (COND ((NULL |rx|) 'NIL) ('T 'T)))
                                    #2=(GO G191)))
                                 (SEQ (LETT |rx| (CDR |rx|) . #1#)
                                      (LETT |frx|
                                       (|SPADfirst| |rx|) . #1#)
                                      (SEQ G190
                                       (COND
                                         ((NULL
                                           (SPADCALL |fy| |frx|
                                            (QREFELT $ 11)))
                                          #2#))
                                       (SEQ
                                        (EXIT
                                         (COND
                                           ((NULL |ry|)
                                            (PROGN
                                              (LETT #0# |x| . #1#)
                                              (GO #0#)))
                                           ('T
                                            (SEQ
                                             (LETT |fy|
                                              (|SPADfirst| |ry|) . #1#)
                                             (EXIT
                                              (LETT |ry|
                                               (CDR |ry|) . #1#)))))))
                                       NIL #3=(GO G190) G191
                                       (EXIT NIL))
                                      (EXIT
                                       (COND
                                         ((SPADCALL |frx| |fy|
                                           (QREFELT $ 8))
                                          (SEQ
                                           (SPADCALL |x| '|rest|
                                            (CDR |rx|) (QREFELT $ 13))
                                           (EXIT
                                            (COND
                                              ((NULL |ry|)
                                               (PROGN
                                                 (LETT #0# |x| . #1#)
                                                 (GO #0#)))
                                              ('T
                                               (SEQ
                                                (LETT |fy|
                                                 (|SPADfirst| |ry|) . #1#)
                                                (EXIT
                                                 (LETT |ry|
                                                  (CDR |ry|) . #1#))))))))
                                         ('T (LETT |x| |rx| . #1#)))))
                                 NIL #3# G191 (EXIT NIL)))))
           #0# (EXIT #0#))))) 

(DEFUN |MergeThing| (#0=#:G1827)
  (PROG ()
    (RETURN
      (PROG (#1=#:G1828)
        (RETURN
          (COND
            ((LETT #1#
                   (|lassocShiftWithFunction| (LIST (|devaluate| #0#))
                       (HGET |$ConstructorCache| '|MergeThing|)
                       '|domainEqualList|)
                   . #2=(|MergeThing|))
             (|CDRwithIncrement| #1#))
            ('T
             (UNWIND-PROTECT
               (PROG1 (|MergeThing;| #0#) (LETT #1# T . #2#))
               (COND
                 ((NOT #1#) (HREM |$ConstructorCache| '|MergeThing|))))))))))) 

(DEFUN |MergeThing;| (|#1|)
  (PROG (DV$1 |dv$| $ |pv$|)
    (RETURN
      (PROGN
        (LETT DV$1 (|devaluate| |#1|) . #0=(|MergeThing|))
        (LETT |dv$| (LIST '|MergeThing| DV$1) . #0#)
        (LETT $ (GETREFV 14) . #0#)
        (QSETREFV $ 0 |dv$|)
        (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #0#))
        (|haddProp| |$ConstructorCache| '|MergeThing| (LIST DV$1)
            (CONS 1 $))
        (|stuffDomainSlots| $)
        (QSETREFV $ 6 |#1|)
        $)))) 

(MAKEPROP '|MergeThing| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|Boolean|) (0 . =)
             (|List| 6) |MTHING;mergeDifference;3L;1| (6 . <) '"rest"
             (12 . |setelt|))
          '#(|mergeDifference| 19) 'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 13
                                '(2 6 7 0 0 8 2 6 7 0 0 11 3 9 0 0 12 0
                                  13 2 0 9 9 9 10)))))
          '|lookupComplete|)) 
