
(SDEFUN |QUATCT2;map;MQRQS;1| ((|fn| |Mapping| S R) (|u| QR) ($ QS))
        (SPADCALL (SPADCALL (SPADCALL |u| (QREFELT $ 10)) |fn|)
                  (SPADCALL (SPADCALL |u| (QREFELT $ 11)) |fn|)
                  (SPADCALL (SPADCALL |u| (QREFELT $ 12)) |fn|)
                  (SPADCALL (SPADCALL |u| (QREFELT $ 13)) |fn|) (QREFELT $ 14))) 

(DECLAIM (NOTINLINE |QuaternionCategoryFunctions2;|)) 

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

(DEFUN |QuaternionCategoryFunctions2;| (|#1| |#2| |#3| |#4|)
  (SPROG
   ((|pv$| NIL) ($ NIL) (|dv$| NIL) (DV$4 NIL) (DV$3 NIL) (DV$2 NIL)
    (DV$1 NIL))
   (PROGN
    (LETT DV$1 (|devaluate| |#1|) . #1=(|QuaternionCategoryFunctions2|))
    (LETT DV$2 (|devaluate| |#2|) . #1#)
    (LETT DV$3 (|devaluate| |#3|) . #1#)
    (LETT DV$4 (|devaluate| |#4|) . #1#)
    (LETT |dv$| (LIST '|QuaternionCategoryFunctions2| DV$1 DV$2 DV$3 DV$4)
          . #1#)
    (LETT $ (GETREFV 17) . #1#)
    (QSETREFV $ 0 |dv$|)
    (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
    (|haddProp| |$ConstructorCache| '|QuaternionCategoryFunctions2|
                (LIST DV$1 DV$2 DV$3 DV$4) (CONS 1 $))
    (|stuffDomainSlots| $)
    (QSETREFV $ 6 |#1|)
    (QSETREFV $ 7 |#2|)
    (QSETREFV $ 8 |#3|)
    (QSETREFV $ 9 |#4|)
    (SETF |pv$| (QREFELT $ 3))
    $))) 

(MAKEPROP '|QuaternionCategoryFunctions2| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|local| |#3|) (|local| |#4|) (0 . |real|) (5 . |imagI|)
              (10 . |imagJ|) (15 . |imagK|) (20 . |quatern|) (|Mapping| 9 7)
              |QUATCT2;map;MQRQS;1|)
           '#(|map| 28) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 16
                                                 '(1 6 7 0 10 1 6 7 0 11 1 6 7
                                                   0 12 1 6 7 0 13 4 8 0 9 9 9
                                                   9 14 2 0 8 15 6 16)))))
           '|lookupComplete|)) 
