
(/VERSIONCHECK 2) 

(DEFUN |STREAM2;mapp| (|f| |x| $)
  (PROG ()
    (RETURN
     (SPADCALL (CONS #'|STREAM2;mapp!0| (VECTOR |f| $ |x|)) (QREFELT $ 19))))) 

(DEFUN |STREAM2;mapp!0| ($$)
  (PROG (|x| $ |f|)
    (LETT |x| (QREFELT $$ 2) . #1=(|STREAM2;mapp|))
    (LETT $ (QREFELT $$ 1) . #1#)
    (LETT |f| (QREFELT $$ 0) . #1#)
    (RETURN
     (PROGN
      (COND ((SPADCALL |x| (QREFELT $ 10)) (SPADCALL (QREFELT $ 12)))
            ('T
             (SPADCALL (SPADCALL (SPADCALL |x| (QREFELT $ 13)) |f|)
                       (SPADCALL |f| (SPADCALL |x| (QREFELT $ 14))
                                 (QREFELT $ 16))
                       (QREFELT $ 17)))))))) 

(DEFUN |STREAM2;map;MSS;2| (|f| |x| $)
  (COND ((SPADCALL |x| (QREFELT $ 20)) (SPADCALL (QREFELT $ 12)))
        ((SPADCALL |x| (SPADCALL |x| (QREFELT $ 14)) (QREFELT $ 21))
         (SPADCALL (LIST (SPADCALL (SPADCALL |x| (QREFELT $ 13)) |f|))
                   (QREFELT $ 23)))
        ('T (|STREAM2;mapp| |f| |x| $)))) 

(DEFUN |STREAM2;scan;BMSS;3| (|b| |h| |x| $)
  (PROG ()
    (RETURN
     (SEQ
      (SPADCALL (CONS #'|STREAM2;scan;BMSS;3!0| (VECTOR |h| |b| $ |x|))
                (QREFELT $ 19)))))) 

(DEFUN |STREAM2;scan;BMSS;3!0| ($$)
  (PROG (|x| $ |b| |h|)
    (LETT |x| (QREFELT $$ 3) . #1=(|STREAM2;scan;BMSS;3|))
    (LETT $ (QREFELT $$ 2) . #1#)
    (LETT |b| (QREFELT $$ 1) . #1#)
    (LETT |h| (QREFELT $$ 0) . #1#)
    (RETURN
     (PROGN
      (PROG (|c|)
        (RETURN
         (SEQ
          (COND ((SPADCALL |x| (QREFELT $ 10)) (SPADCALL (QREFELT $ 12)))
                ('T
                 (SEQ
                  (LETT |c| (SPADCALL (SPADCALL |x| (QREFELT $ 13)) |b| |h|)
                        NIL)
                  (EXIT
                   (SPADCALL |c|
                             (SPADCALL |c| |h| (SPADCALL |x| (QREFELT $ 14))
                                       (QREFELT $ 25))
                             (QREFELT $ 17))))))))))))) 

(DEFUN |STREAM2;reduce;BMSB;4| (|b| |h| |x| $)
  (COND ((SPADCALL |x| (QREFELT $ 10)) |b|)
        ('T
         (SPADCALL (SPADCALL (SPADCALL |x| (QREFELT $ 13)) |b| |h|) |h|
                   (SPADCALL |x| (QREFELT $ 14)) (QREFELT $ 26))))) 

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

(DEFUN |StreamFunctions2;| (|#1| |#2|)
  (PROG (|pv$| $ |dv$| DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|StreamFunctions2|))
      (LETT DV$2 (|devaluate| |#2|) . #1#)
      (LETT |dv$| (LIST '|StreamFunctions2| DV$1 DV$2) . #1#)
      (LETT $ (GETREFV 27) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|haddProp| |$ConstructorCache| '|StreamFunctions2| (LIST DV$1 DV$2)
                  (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (SETF |pv$| (QREFELT $ 3))
      $)))) 

(MAKEPROP '|StreamFunctions2| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|) (|Boolean|)
              (|Stream| 6) (0 . |empty?|) (|Stream| 7) (5 . |empty|)
              (9 . |frst|) (14 . |rst|) (|Mapping| 7 6) |STREAM2;map;MSS;2|
              (19 . |concat|) (|Mapping| $) (25 . |delay|)
              (30 . |explicitlyEmpty?|) (35 . |eq?|) (|List| 7)
              (41 . |repeating|) (|Mapping| 7 6 7) |STREAM2;scan;BMSS;3|
              |STREAM2;reduce;BMSB;4|)
           '#(|scan| 46 |reduce| 53 |map| 60) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 26
                                                 '(1 9 8 0 10 0 11 0 12 1 9 6 0
                                                   13 1 9 0 0 14 2 11 0 7 0 17
                                                   1 11 0 18 19 1 9 8 0 20 2 9
                                                   8 0 0 21 1 11 0 22 23 3 0 11
                                                   7 24 9 25 3 0 7 7 24 9 26 2
                                                   0 11 15 9 16)))))
           '|lookupComplete|)) 
