
(SDEFUN |SEQU2;map;MSS;1|
        ((|f| (|Mapping| R2 R1)) (|x| (|Sequence| R1)) (% (|Sequence| R2)))
        (SPADCALL (SPADCALL |f| (SPADCALL |x| (QREFELT % 10)) (QREFELT % 14))
                  (QREFELT % 16))) 

(DECLAIM (NOTINLINE |SequenceFunctions2;|)) 

(DEFUN |SequenceFunctions2;| (|#1| |#2|)
  (SPROG ((|pv$| NIL) (% NIL) (|dv$| NIL) (DV$2 NIL) (DV$1 NIL))
         (PROGN
          (LETT DV$1 (|devaluate| |#1|))
          (LETT DV$2 (|devaluate| |#2|))
          (LETT |dv$| (LIST '|SequenceFunctions2| DV$1 DV$2))
          (LETT % (GETREFV 18))
          (QSETREFV % 0 |dv$|)
          (QSETREFV % 3 (LETT |pv$| (|buildPredVector| 0 0 NIL)))
          (|haddProp| |$ConstructorCache| '|SequenceFunctions2|
                      (LIST DV$1 DV$2) (CONS 1 %))
          (|stuffDomainSlots| %)
          (QSETREFV % 6 |#1|)
          (QSETREFV % 7 |#2|)
          (SETF |pv$| (QREFELT % 3))
          %))) 

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

(MAKEPROP '|SequenceFunctions2| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|Stream| 6) (|Sequence| 6) (0 . |stream|) (|Stream| 7)
              (|Mapping| 7 6) (|StreamFunctions2| 6 7) (5 . |map|)
              (|Sequence| 7) (11 . |sequence|) |SEQU2;map;MSS;1|)
           '#(|map| 16) 'NIL
           (CONS (|makeByteWordVec2| 1 '(0))
                 (CONS '#(NIL)
                       (CONS
                        '#((|Join|
                            (|mkCategory|
                             (LIST
                              '((|map|
                                 ((|Sequence| |#2|) (|Mapping| |#2| |#1|)
                                  (|Sequence| |#1|)))
                                T))
                             (LIST) NIL NIL)))
                        (|makeByteWordVec2| 17
                                            '(1 9 8 0 10 2 13 11 12 8 14 1 15 0
                                              11 16 2 0 15 12 9 17)))))
           '|lookupComplete|)) 
