
(/VERSIONCHECK 2) 

(DEFUN |COMPLPAT;convert;CSP;1| (|cs| $)
  (COND
    ((SPADCALL (SPADCALL |cs| (QREFELT $ 16)) (QREFELT $ 17))
     (SPADCALL (SPADCALL |cs| (QREFELT $ 18)) (QREFELT $ 19)))
    ('T
     (SPADCALL (SPADCALL (SPADCALL |cs| (QREFELT $ 18)) (QREFELT $ 19))
         (SPADCALL (QREFELT $ 15)
             (SPADCALL (SPADCALL |cs| (QREFELT $ 16)) (QREFELT $ 19))
             (QREFELT $ 20))
         (QREFELT $ 21))))) 

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

(DEFUN |ComplexPattern;| (|#1| |#2| |#3|)
  (PROG (DV$1 DV$2 DV$3 |dv$| $ |pv$|)
    (RETURN
      (PROGN
        (LETT DV$1 (|devaluate| |#1|) . #0=(|ComplexPattern|))
        (LETT DV$2 (|devaluate| |#2|) . #0#)
        (LETT DV$3 (|devaluate| |#3|) . #0#)
        (LETT |dv$| (LIST '|ComplexPattern| DV$1 DV$2 DV$3) . #0#)
        (LETT $ (GETREFV 23) . #0#)
        (QSETREFV $ 0 |dv$|)
        (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #0#))
        (|haddProp| |$ConstructorCache| '|ComplexPattern|
            (LIST DV$1 DV$2 DV$3) (CONS 1 $))
        (|stuffDomainSlots| $)
        (QSETREFV $ 6 |#1|)
        (QSETREFV $ 7 |#2|)
        (QSETREFV $ 8 |#3|)
        (QSETREFV $ 15
            (SPADCALL (SPADCALL "%i" (QREFELT $ 11)) 'T 'NIL 'NIL
                (QREFELT $ 14)))
        $)))) 

(MAKEPROP '|ComplexPattern| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
             (|local| |#3|) (|String|) (|Symbol|) (0 . |coerce|)
             (|Boolean|) (|Pattern| 6) (5 . |patternVariable|) '|ipat|
             (13 . |imag|) (18 . |zero?|) (23 . |real|)
             (28 . |convert|) (33 . *) (39 . +)
             |COMPLPAT;convert;CSP;1|)
          '#(|convert| 45) 'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 22
                                '(1 10 0 9 11 4 13 0 10 12 12 12 14 1 8
                                  7 0 16 1 7 12 0 17 1 8 7 0 18 1 7 13
                                  0 19 2 13 0 0 0 20 2 13 0 0 0 21 1 0
                                  13 8 22)))))
          '|lookupComplete|)) 
