
(/VERSIONCHECK 2) 

(DEFUN |UTSODETL;UP2UTS;UPUTS;1| (|p| $)
  (PROG (|q| |i| #0=#:G1821 #1=#:G1818 #2=#:G1816 #3=#:G1817)
    (RETURN
      (SEQ (LETT |q|
                 (SPADCALL |p|
                     (SPADCALL
                         (SPADCALL (|spadConstant| $ 10) 1
                             (QREFELT $ 13))
                         (SPADCALL
                             (SPADCALL (|spadConstant| $ 16)
                                 (QREFELT $ 17))
                             (QREFELT $ 18))
                         (QREFELT $ 19))
                     (QREFELT $ 20))
                 . #4=(|UTSODETL;UP2UTS;UPUTS;1|))
           (EXIT (PROGN
                   (LETT #3# NIL . #4#)
                   (SEQ (LETT |i| 0 . #4#)
                        (LETT #0# (SPADCALL |q| (QREFELT $ 21)) . #4#)
                        G190 (COND ((QSGREATERP |i| #0#) (GO G191)))
                        (SEQ (EXIT (PROGN
                                     (LETT #1#
                                      (SPADCALL
                                       (SPADCALL |q| |i|
                                        (QREFELT $ 22))
                                       |i| (QREFELT $ 23)) . #4#)
                                     (COND
                                       (#3#
                                        (LETT #2#
                                         (SPADCALL #2# #1#
                                          (QREFELT $ 24)) . #4#))
                                       ('T
                                        (PROGN
                                          (LETT #2# #1# . #4#)
                                          (LETT #3# 'T . #4#)))))))
                        (LETT |i| (QSADD1 |i|) . #4#) (GO G190) G191
                        (EXIT NIL))
                   (COND (#3# #2#) ('T (|spadConstant| $ 16))))))))) 

(DEFUN |UTSODETL;UTS2UP;UTSNniUP;2| (|s| |n| $)
  (PROG (|xmc| |i| |ans| |xmcn|)
    (RETURN
      (SEQ (LETT |xmc|
                 (SPADCALL
                     (SPADCALL (|spadConstant| $ 10) 1 (QREFELT $ 13))
                     (SPADCALL
                         (SPADCALL (|spadConstant| $ 16)
                             (QREFELT $ 17))
                         (QREFELT $ 18))
                     (QREFELT $ 26))
                 . #0=(|UTSODETL;UTS2UP;UTSNniUP;2|))
           (LETT |xmcn| (|spadConstant| $ 11) . #0#)
           (LETT |ans| (|spadConstant| $ 15) . #0#)
           (SEQ (LETT |i| 0 . #0#) G190
                (COND ((QSGREATERP |i| |n|) (GO G191)))
                (SEQ (LETT |ans|
                           (SPADCALL |ans|
                               (SPADCALL
                                   (SPADCALL |s| |i| (QREFELT $ 27))
                                   |xmcn| (QREFELT $ 28))
                               (QREFELT $ 19)) . #0#)
                     (EXIT (LETT |xmcn|
                                 (SPADCALL |xmc| |xmcn| (QREFELT $ 29)) . #0#)))
                (LETT |i| (QSADD1 |i|) . #0#) (GO G190) G191
                (EXIT NIL))
           (EXIT |ans|))))) 

(DEFUN |UTSODETL;LODO2FUN;LM;3| (|op| $)
  (PROG ()
    (RETURN
      (SEQ (CONS #'|UTSODETL;LODO2FUN;LM;3!0|
                 (VECTOR (QREFELT $ 9) $ |op|)))))) 

(DEFUN |UTSODETL;LODO2FUN;LM;3!0| (|#1| $$)
  (PROG (|op| $)
    (LETT |op| (QREFELT $$ 2) . #0=(|UTSODETL;LODO2FUN;LM;3|))
    (LETT $ (QREFELT $$ 1) . #0#)
    (RETURN
      (PROGN
        (PROG (#1=#:G1830 |a| #2=#:G1832 |n| #3=#:G1835 #4=#:G1836 |i|
                  |v|)
          (RETURN
            (SEQ (LETT |a|
                       (PROG2 (LETT #1#
                                    (SPADCALL
                                     (SPADCALL
                                      (SPADCALL
                                       (SPADCALL |op| (QREFELT $ 31))
                                       (QREFELT $ 32))
                                      (QREFELT $ 25))
                                     (QREFELT $ 34))
                                    NIL)
                              (QCDR #1#)
                         (|check-union| (QEQCAR #1# 0) (QREFELT $$ 0)
                             #1#))
                       NIL)
                 (LETT |n|
                       (PROG1 (LETT #2#
                                    (SPADCALL
                                     (SPADCALL |op| (QREFELT $ 35))
                                     (|spadConstant| $ 36)
                                     (QREFELT $ 38))
                                    NIL)
                         (|check-subtype| (>= #2# 0)
                             '(|NonNegativeInteger|) #2#))
                       NIL)
                 (LETT |v|
                       (PRIMVEC2ARR
                           (PROGN
                             (LETT #3#
                                   (GETREFV
                                    (QSADD1
                                     (- |n| (|spadConstant| $ 41))))
                                   NIL)
                             (SEQ (LETT #4# 0 NIL)
                                  (LETT |i| (|spadConstant| $ 41) NIL)
                                  G190 (COND ((> |i| |n|) (GO G191)))
                                  (SEQ (EXIT
                                        (SETELT #3# #4#
                                         (SPADCALL |a|
                                          (SPADCALL
                                           (SPADCALL |op| |i|
                                            (QREFELT $ 42))
                                           (QREFELT $ 25))
                                          (QREFELT $ 43)))))
                                  (LETT |i|
                                        (PROG1 (+ |i| 1)
                                          (LETT #4# (QSADD1 #4#) NIL))
                                        NIL)
                                  (GO G190) G191 (EXIT NIL))
                             #3#))
                       NIL)
                 (EXIT (|UTSODETL;fun| |v| |#1| $))))))))) 

(DEFUN |UTSODETL;fun| (|v| |l| $)
  (PROG (|i| |b| #0=#:G1842 |ans|)
    (RETURN
      (SEQ (LETT |ans| (|spadConstant| $ 16) . #1=(|UTSODETL;fun|))
           (SEQ (LETT |i| 1 . #1#) (LETT |b| NIL . #1#)
                (LETT #0# |l| . #1#) G190
                (COND
                  ((OR (ATOM #0#)
                       (PROGN (LETT |b| (CAR #0#) . #1#) NIL))
                   (GO G191)))
                (SEQ (EXIT (LETT |ans|
                                 (SPADCALL |ans|
                                     (SPADCALL
                                      (SPADCALL |v| |i| (QREFELT $ 47))
                                      |b| (QREFELT $ 43))
                                     (QREFELT $ 24)) . #1#)))
                (LETT #0#
                      (PROG1 (CDR #0#) (LETT |i| (QSADD1 |i|) . #1#)) . #1#)
                (GO G190) G191 (EXIT NIL))
           (EXIT |ans|))))) 

(DEFUN |UTSODETL;RF2UTS;FUTS;5| (|f| $)
  (PROG (#0=#:G1844)
    (RETURN
      (SPADCALL (SPADCALL (SPADCALL |f| (QREFELT $ 49)) (QREFELT $ 25))
          (PROG2 (LETT #0#
                       (SPADCALL
                           (SPADCALL (SPADCALL |f| (QREFELT $ 50))
                               (QREFELT $ 25))
                           (QREFELT $ 34))
                       |UTSODETL;RF2UTS;FUTS;5|)
                 (QCDR #0#)
            (|check-union| (QEQCAR #0# 0) (QREFELT $ 9) #0#))
          (QREFELT $ 43))))) 

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

(DEFUN |UTSodetools;| (|#1| |#2| |#3| |#4|)
  (PROG (DV$1 DV$2 DV$3 DV$4 |dv$| $ |pv$|)
    (RETURN
      (PROGN
        (LETT DV$1 (|devaluate| |#1|) . #0=(|UTSodetools|))
        (LETT DV$2 (|devaluate| |#2|) . #0#)
        (LETT DV$3 (|devaluate| |#3|) . #0#)
        (LETT DV$4 (|devaluate| |#4|) . #0#)
        (LETT |dv$| (LIST '|UTSodetools| DV$1 DV$2 DV$3 DV$4) . #0#)
        (LETT $ (GETREFV 52) . #0#)
        (QSETREFV $ 0 |dv$|)
        (QSETREFV $ 3
            (LETT |pv$|
                  (|buildPredVector| 0 0
                      (LIST (|HasCategory| |#1| '(|IntegralDomain|)))) . #0#))
        (|haddProp| |$ConstructorCache| '|UTSodetools|
            (LIST DV$1 DV$2 DV$3 DV$4) (CONS 1 $))
        (|stuffDomainSlots| $)
        (QSETREFV $ 6 |#1|)
        (QSETREFV $ 7 |#2|)
        (QSETREFV $ 8 |#3|)
        (QSETREFV $ 9 |#4|)
        (COND
          ((|testBitVector| |pv$| 1)
           (QSETREFV $ 51
               (CONS (|dispatchFunction| |UTSODETL;RF2UTS;FUTS;5|) $))))
        $)))) 

(MAKEPROP '|UTSodetools| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
             (|local| |#3|) (|local| |#4|) (0 . |One|) (4 . |One|)
             (|NonNegativeInteger|) (8 . |monomial|) (14 . |Zero|)
             (18 . |Zero|) (22 . |Zero|) (26 . |center|)
             (31 . |coerce|) (36 . +) (42 . |elt|) (48 . |degree|)
             (53 . |coefficient|) (59 . |monomial|) (65 . +)
             |UTSODETL;UP2UTS;UPUTS;1| (71 . -) (77 . |coefficient|)
             (83 . *) (89 . *) |UTSODETL;UTS2UP;UTSNniUP;2|
             (95 . |leadingCoefficient|) (100 . -)
             (|Union| $ '"failed") (105 . |recip|) (110 . |degree|)
             (115 . |One|) (|Integer|) (119 . -) (|SingleInteger|)
             (125 . |Zero|) (129 . |Zero|) (133 . |coefficient|)
             (139 . *) (|Mapping| 9 (|List| 9))
             |UTSODETL;LODO2FUN;LM;3| (|Vector| 9) (145 . |elt|)
             (|Fraction| 7) (151 . |numer|) (156 . |denom|)
             (161 . RF2UTS))
          '#(UTS2UP 166 UP2UTS 172 RF2UTS 177 LODO2FUN 182) 'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 51
                                '(0 6 0 10 0 7 0 11 2 7 0 6 12 13 0 6 0
                                  14 0 7 0 15 0 9 0 16 1 9 6 0 17 1 7 0
                                  6 18 2 7 0 0 0 19 2 7 0 0 0 20 1 7 12
                                  0 21 2 7 6 0 12 22 2 9 0 6 12 23 2 9
                                  0 0 0 24 2 7 0 0 0 26 2 9 6 0 12 27 2
                                  7 0 6 0 28 2 7 0 0 0 29 1 8 7 0 31 1
                                  7 0 0 32 1 9 33 0 34 1 8 12 0 35 0 12
                                  0 36 2 37 0 0 0 38 0 39 0 40 0 12 0
                                  41 2 8 7 0 12 42 2 9 0 0 0 43 2 46 9
                                  0 37 47 1 48 7 0 49 1 48 7 0 50 1 0 9
                                  48 51 2 0 7 9 12 30 1 0 9 7 25 1 1 9
                                  48 51 1 0 44 8 45)))))
          '|lookupComplete|)) 
