
(/VERSIONCHECK 2) 

(DEFUN |SWITCH;coerce;$Of;1| (|s| $)
  (PROG (|ran| #1=#:G1820 |u| #2=#:G1819 |rat|)
    (RETURN
     (SEQ
      (LETT |rat| (SPADCALL (QCAR |s|) (QREFELT $ 12))
            . #3=(|SWITCH;coerce;$Of;1|))
      (LETT |ran|
            (PROGN
             (LETT #2# NIL . #3#)
             (SEQ (LETT |u| NIL . #3#) (LETT #1# (QCDR |s|) . #3#) G190
                  (COND
                   ((OR (ATOM #1#) (PROGN (LETT |u| (CAR #1#) . #3#) NIL))
                    (GO G191)))
                  (SEQ
                   (EXIT
                    (LETT #2# (CONS (SPADCALL |u| (QREFELT $ 14)) #2#) . #3#)))
                  (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                  (EXIT (NREVERSE0 #2#))))
            . #3#)
      (EXIT
       (COND
        ((SPADCALL (QCAR |s|) (QREFELT $ 10) (QREFELT $ 16))
         (|SPADfirst| |ran|))
        ((EQL (LENGTH |ran|) 1) (SPADCALL |rat| |ran| (QREFELT $ 20)))
        ('T (SPADCALL |rat| |ran| (QREFELT $ 21))))))))) 

(DEFUN |SWITCH;coerce;S$;2| (|s| $)
  (CONS (QREFELT $ 10) (LIST (CONS 0 (SPADCALL |s| (QREFELT $ 23)))))) 

(DEFUN |SWITCH;NOT;U$;3| (|r| $)
  (CONS (SPADCALL (SPADCALL "~" (QREFELT $ 26)) (QREFELT $ 9)) (LIST |r|))) 

(DEFUN |SWITCH;NOT;2$;4| (|r| $)
  (CONS (SPADCALL (SPADCALL "~" (QREFELT $ 26)) (QREFELT $ 9))
        (LIST (CONS 3 |r|)))) 

(DEFUN |SWITCH;LT;2U$;5| (|r1| |r2| $)
  (CONS (SPADCALL (SPADCALL "<" (QREFELT $ 26)) (QREFELT $ 9))
        (LIST |r1| |r2|))) 

(DEFUN |SWITCH;GT;2U$;6| (|r1| |r2| $)
  (CONS (SPADCALL (SPADCALL ">" (QREFELT $ 26)) (QREFELT $ 9))
        (LIST |r1| |r2|))) 

(DEFUN |SWITCH;LE;2U$;7| (|r1| |r2| $)
  (CONS (SPADCALL (SPADCALL "<=" (QREFELT $ 26)) (QREFELT $ 9))
        (LIST |r1| |r2|))) 

(DEFUN |SWITCH;GE;2U$;8| (|r1| |r2| $)
  (CONS (SPADCALL (SPADCALL ">=" (QREFELT $ 26)) (QREFELT $ 9))
        (LIST |r1| |r2|))) 

(DEFUN |SWITCH;AND;2U$;9| (|r1| |r2| $)
  (CONS (SPADCALL '|and| (QREFELT $ 9)) (LIST |r1| |r2|))) 

(DEFUN |SWITCH;OR;2U$;10| (|r1| |r2| $)
  (CONS (SPADCALL '|or| (QREFELT $ 9)) (LIST |r1| |r2|))) 

(DEFUN |SWITCH;EQ;2U$;11| (|r1| |r2| $)
  (CONS (SPADCALL 'EQ (QREFELT $ 9)) (LIST |r1| |r2|))) 

(DEFUN |Switch| #1=()
  (PROG #1#
    (RETURN
     (PROG (#2=#:G1884)
       (RETURN
        (COND
         ((LETT #2# (HGET |$ConstructorCache| '|Switch|) . #3=(|Switch|))
          (|CDRwithIncrement| (CDAR #2#)))
         ('T
          (UNWIND-PROTECT
              (PROG1
                  (CDDAR
                   (HPUT |$ConstructorCache| '|Switch|
                         (LIST (CONS NIL (CONS 1 (|Switch;|))))))
                (LETT #2# T . #3#))
            (COND ((NOT #2#) (HREM |$ConstructorCache| '|Switch|))))))))))) 

(DEFUN |Switch;| ()
  (PROG (|dv$| $ |pv$|)
    (RETURN
     (PROGN
      (LETT |dv$| '(|Switch|) . #1=(|Switch|))
      (LETT $ (GETREFV 37) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|haddProp| |$ConstructorCache| '|Switch| NIL (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6
                (|Record| (|:| |op| (|BasicOperator|))
                          (|:| |rands|
                               (|List|
                                (|Union| (|:| I (|Expression| (|Integer|)))
                                         (|:| F (|Expression| (|Float|)))
                                         (|:| CF
                                              (|Expression|
                                               (|Complex| (|Float|))))
                                         (|:| |switch| $))))))
      (QSETREFV $ 10 (SPADCALL 'NULL (QREFELT $ 9)))
      $)))) 

(MAKEPROP '|Switch| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL '|Rep| (|Symbol|) (|BasicOperator|)
              (0 . |operator|) '|nullOp| (|OutputForm|) (5 . |coerce|)
              (|Union| (|:| I 17) (|:| F (|Expression| (|Float|)))
                       (|:| CF (|Expression| (|Complex| (|Float|))))
                       (|:| |switch| $$))
              (10 . |coerce|) (|Boolean|) (15 . =) (|Expression| (|Integer|))
              (21 . |One|) (|List| $) (25 . |prefix|) (31 . |infix|)
              |SWITCH;coerce;$Of;1| (37 . |coerce|) |SWITCH;coerce;S$;2|
              (|String|) (42 . |coerce|)
              (|Union| (|:| I 17) (|:| F (|Expression| (|Float|)))
                       (|:| CF (|Expression| (|Complex| (|Float|))))
                       (|:| |switch| $))
              |SWITCH;NOT;U$;3| |SWITCH;NOT;2$;4| |SWITCH;LT;2U$;5|
              |SWITCH;GT;2U$;6| |SWITCH;LE;2U$;7| |SWITCH;GE;2U$;8|
              |SWITCH;AND;2U$;9| |SWITCH;OR;2U$;10| |SWITCH;EQ;2U$;11|)
           '#(|coerce| 47 OR 57 NOT 63 LT 73 LE 79 GT 85 GE 91 EQ 97 AND 103)
           'NIL
           (CONS (|makeByteWordVec2| 1 '(0))
                 (CONS '#(NIL)
                       (CONS '#((|CoercibleTo| 11))
                             (|makeByteWordVec2| 36
                                                 '(1 8 0 7 9 1 8 11 0 12 1 13
                                                   11 0 14 2 8 15 0 0 16 0 17 0
                                                   18 2 11 0 0 19 20 2 11 0 0
                                                   19 21 1 17 0 7 23 1 7 0 25
                                                   26 1 0 11 0 22 1 0 0 7 24 2
                                                   0 0 27 27 35 1 0 0 27 28 1 0
                                                   0 0 29 2 0 0 27 27 30 2 0 0
                                                   27 27 32 2 0 0 27 27 31 2 0
                                                   0 27 27 33 2 0 0 27 27 36 2
                                                   0 0 27 27 34)))))
           '|lookupComplete|)) 

(MAKEPROP '|Switch| 'NILADIC T) 
