
(/VERSIONCHECK 2) 

(DEFUN |MPCPF;factor;PPRF;1| (|p| $)
  (PROG (#1=#:G675 #2=#:G674 #3=#:G676 #4=#:G682 |ff| |fcont| |ffact| #5=#:G681
         |u| #6=#:G680 |flist| |g| |vars| #7=#:G667 |c|)
    (RETURN
     (SEQ
      (COND ((SPADCALL |p| (QREFELT $ 11)) (SPADCALL |p| 1 (QREFELT $ 16)))
            (#8='T
             (SEQ
              (LETT |c| (SPADCALL |p| (QREFELT $ 18))
                    . #9=(|MPCPF;factor;PPRF;1|))
              (LETT |p|
                    (PROG2
                        (LETT #7# (SPADCALL |p| |c| (QREFELT $ 20)) . #9#)
                        (QCDR #7#)
                      (|check-union| (QEQCAR #7# 0) (QREFELT $ 9) #7#))
                    . #9#)
              (LETT |vars| (SPADCALL |p| (QREFELT $ 22)) . #9#)
              (LETT |g|
                    (SPADCALL (SPADCALL |p| |vars| (QREFELT $ 24))
                              (QREFELT $ 25))
                    . #9#)
              (LETT |flist| (SPADCALL |g| (QREFELT $ 28)) . #9#)
              (LETT |ffact|
                    (PROGN
                     (LETT #6# NIL . #9#)
                     (SEQ (LETT |u| NIL . #9#)
                          (LETT #5# (SPADCALL |flist| (QREFELT $ 31)) . #9#)
                          G190
                          (COND
                           ((OR (ATOM #5#)
                                (PROGN (LETT |u| (CAR #5#) . #9#) NIL))
                            #10=(GO G191)))
                          (SEQ
                           (EXIT
                            (LETT #6#
                                  (CONS
                                   (CONS
                                    (SPADCALL
                                     (SPADCALL (QCAR |u|) (QREFELT $ 32))
                                     |vars| (QREFELT $ 33))
                                    (QCDR |u|))
                                   #6#)
                                  . #9#)))
                          (LETT #5# (CDR #5#) . #9#) #11=(GO G190) G191
                          (EXIT (NREVERSE0 #6#))))
                    . #9#)
              (LETT |fcont|
                    (SPADCALL (SPADCALL |flist| (QREFELT $ 34)) (QREFELT $ 32))
                    . #9#)
              (EXIT
               (SPADCALL
                (SPADCALL (SPADCALL |c| |fcont| (QREFELT $ 35)) 1
                          (QREFELT $ 16))
                (PROGN
                 (LETT #1# NIL . #9#)
                 (SEQ (LETT |ff| NIL . #9#) (LETT #4# |ffact| . #9#) G190
                      (COND
                       ((OR (ATOM #4#) (PROGN (LETT |ff| (CAR #4#) . #9#) NIL))
                        #10#))
                      (SEQ
                       (EXIT
                        (PROGN
                         (LETT #3#
                               (SPADCALL (QCAR |ff|) (QCDR |ff|)
                                         (QREFELT $ 36))
                               . #9#)
                         (COND
                          (#1#
                           (LETT #2# (SPADCALL #2# #3# (QREFELT $ 37)) . #9#))
                          ('T
                           (PROGN
                            (LETT #2# #3# . #9#)
                            (LETT #1# 'T . #9#)))))))
                      (LETT #4# (CDR #4#) . #9#) #11# G191 (EXIT NIL))
                 (COND (#1# #2#) (#8# (|spadConstant| $ 38))))
                (QREFELT $ 37)))))))))) 

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

(DEFUN |MPolyCatPolyFactorizer;| (|#1| |#2| |#3| |#4|)
  (PROG (|pv$| $ |dv$| DV$4 DV$3 DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|MPolyCatPolyFactorizer|))
      (LETT DV$2 (|devaluate| |#2|) . #1#)
      (LETT DV$3 (|devaluate| |#3|) . #1#)
      (LETT DV$4 (|devaluate| |#4|) . #1#)
      (LETT |dv$| (LIST '|MPolyCatPolyFactorizer| DV$1 DV$2 DV$3 DV$4) . #1#)
      (LETT $ (GETREFV 40) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|haddProp| |$ConstructorCache| '|MPolyCatPolyFactorizer|
                  (LIST DV$1 DV$2 DV$3 DV$4) (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (QSETREFV $ 8 |#3|)
      (QSETREFV $ 9 |#4|)
      $)))) 

(MAKEPROP '|MPolyCatPolyFactorizer| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|local| |#3|) (|local| |#4|) (|Boolean|) (0 . |ground?|)
              (5 . |One|) (9 . |One|) (|Integer|) (|Factored| 9)
              (13 . |nilFactor|) (|Polynomial| 8) (19 . |content|)
              (|Union| $ '"failed") (24 . |exquo|) (|List| 7)
              (30 . |variables|) (|PushVariables| 8 6 7 9) (35 . |pushdown|)
              (41 . |retract|) (|Factored| 17)
              (|GeneralizedMultivariateFactorize| (|Symbol|)
                                                  (|IndexedExponents|
                                                   (|Symbol|))
                                                  8 8 17)
              (46 . |factor|) (|Record| (|:| |factor| 17) (|:| |exponent| 14))
              (|List| 29) (51 . |factors|) (56 . |coerce|) (61 . |pushup|)
              (67 . |unit|) (72 . *) (78 . |primeFactor|) (84 . *) (90 . |One|)
              |MPCPF;factor;PPRF;1|)
           '#(|factor| 94) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 39
                                                 '(1 9 10 0 11 0 8 0 12 0 9 0
                                                   13 2 15 0 9 14 16 1 9 17 0
                                                   18 2 9 19 0 17 20 1 9 21 0
                                                   22 2 23 9 9 21 24 1 9 17 0
                                                   25 1 27 26 17 28 1 26 30 0
                                                   31 1 9 0 17 32 2 23 9 9 21
                                                   33 1 26 17 0 34 2 9 0 17 0
                                                   35 2 15 0 9 14 36 2 15 0 0 0
                                                   37 0 15 0 38 1 0 15 9
                                                   39)))))
           '|lookupComplete|)) 
