
(/VERSIONCHECK 2) 

(PUT '|IFARRAY;physicalLength;$Nni;1| '|SPADreplace|
     '(XLAM (|r|) (QVELT |r| 0))) 

(DEFUN |IFARRAY;physicalLength;$Nni;1| (|r| $) (QVELT |r| 0)) 

(DEFUN |IFARRAY;physicalLength!;$I$;2| (|r| |n| $)
  (COND ((EQL (QVELT |r| 0) 0) (|error| "flexible array must be non-empty"))
        ('T (|IFARRAY;growWith| |r| |n| (ELT (QVELT |r| 2) 0) $)))) 

(DEFUN |IFARRAY;empty;$;3| ($) (VECTOR 0 0 (GETREFV 0))) 

(DEFUN |IFARRAY;#;$Nni;4| (|r| $)
  (PROG (#1=#:G689)
    (RETURN
     (PROG1 (LETT #1# (QVELT |r| 1) |IFARRAY;#;$Nni;4|)
       (|check-subtype| (>= #1# 0) '(|NonNegativeInteger|) #1#))))) 

(DEFUN |IFARRAY;fill!;$S$;5| (|r| |x| $)
  (SEQ (SPADCALL (QVELT |r| 2) |x| (QREFELT $ 17)) (EXIT |r|))) 

(DEFUN |IFARRAY;maxIndex;$I;6| (|r| $) (+ (- (QVELT |r| 1) 1) (QREFELT $ 7))) 

(DEFUN |IFARRAY;minIndex;$I;7| (|r| $) (QREFELT $ 7)) 

(DEFUN |IFARRAY;new;NniS$;8| (|n| |a| $)
  (VECTOR |n| |n| (SPADCALL |n| |a| (QREFELT $ 21)))) 

(DEFUN |IFARRAY;shrinkable;2B;9| (|b| $)
  (PROG (|oldval|)
    (RETURN
     (SEQ (LETT |oldval| (QREFELT $ 9) |IFARRAY;shrinkable;2B;9|)
          (SETELT $ 9 |b|) (EXIT |oldval|))))) 

(DEFUN |IFARRAY;flexibleArray;L$;10| (|l| $)
  (PROG (#1=#:G703 |i| #2=#:G704 |y| |a| |x| |n|)
    (RETURN
     (SEQ (LETT |n| (LENGTH |l|) . #3=(|IFARRAY;flexibleArray;L$;10|))
          (EXIT
           (COND ((EQL |n| 0) (SPADCALL (QREFELT $ 14)))
                 ('T
                  (SEQ (LETT |x| (SPADCALL |l| 1 (QREFELT $ 26)) . #3#)
                       (LETT |a| (SPADCALL |n| |x| (QREFELT $ 22)) . #3#)
                       (SEQ (LETT |y| NIL . #3#) (LETT #2# (CDR |l|) . #3#)
                            (LETT |i| (+ (QREFELT $ 7) 1) . #3#)
                            (LETT #1# (- (+ (QREFELT $ 7) |n|) 1) . #3#) G190
                            (COND
                             ((OR (> |i| #1#) (ATOM #2#)
                                  (PROGN (LETT |y| (CAR #2#) . #3#) NIL))
                              (GO G191)))
                            (SEQ (EXIT (SPADCALL |a| |i| |y| (QREFELT $ 27))))
                            (LETT |i|
                                  (PROG1 (+ |i| 1) (LETT #2# (CDR #2#) . #3#))
                                  . #3#)
                            (GO G190) G191 (EXIT NIL))
                       (EXIT |a|))))))))) 

(DEFUN |IFARRAY;newa| (|n| |a| $)
  (COND ((ZEROP |n|) (GETREFV 0))
        ('T (SPADCALL |n| (ELT |a| 0) (QREFELT $ 21))))) 

(DEFUN |IFARRAY;growAdding| (|r| |b| |s| $)
  (COND ((EQL |b| 0) |r|)
        ((< 0 (SPADCALL |r| (QREFELT $ 15)))
         (|IFARRAY;growAndFill| |r| |b| (ELT (QVELT |r| 2) 0) $))
        ((< 0 (SPADCALL |s| (QREFELT $ 15)))
         (|IFARRAY;growAndFill| |r| |b| (ELT (QVELT |s| 2) 0) $))
        ('T (|error| "no default filler element")))) 

(DEFUN |IFARRAY;growAndFill| (|r| |b| |x| $)
  (PROG (|n|)
    (RETURN
     (SEQ
      (COND
       ((NULL (< (QVELT |r| 0) (QSETVELT |r| 1 (+ (QVELT |r| 1) |b|)))) |r|)
       ('T
        (SEQ
         (LETT |n| (+ (+ (QVELT |r| 0) (QUOTIENT2 (QVELT |r| 0) 2)) 1)
               . #1=(|IFARRAY;growAndFill|))
         (COND ((< |n| (QVELT |r| 1)) (LETT |n| (QVELT |r| 1) . #1#)))
         (EXIT (|IFARRAY;growWith| |r| |n| |x| $))))))))) 

(DEFUN |IFARRAY;growWith| (|r| |n| |x| $)
  (PROG (#1=#:G720 |k| |a| |y| #2=#:G715)
    (RETURN
     (SEQ
      (LETT |y|
            (SPADCALL
             (PROG1 (LETT #2# |n| . #3=(|IFARRAY;growWith|))
               (|check-subtype| (>= #2# 0) '(|NonNegativeInteger|) #2#))
             |x| (QREFELT $ 21))
            . #3#)
      (LETT |a| (QVELT |r| 2) . #3#)
      (SEQ (LETT |k| 0 . #3#) (LETT #1# (- (QVELT |r| 0) 1) . #3#) G190
           (COND ((QSGREATERP |k| #1#) (GO G191)))
           (SEQ (EXIT (SETELT |y| |k| (ELT |a| |k|))))
           (LETT |k| (QSADD1 |k|) . #3#) (GO G190) G191 (EXIT NIL))
      (QSETVELT |r| 0 |n|) (QSETVELT |r| 2 |y|) (EXIT |r|))))) 

(DEFUN |IFARRAY;shrink| (|r| |i| $)
  (PROG (#1=#:G730 |k| |y| |a| #2=#:G722 |n|)
    (RETURN
     (SEQ (QSETVELT |r| 1 (- (QVELT |r| 1) |i|))
          (EXIT
           (COND
            ((MINUSP (LETT |n| (QVELT |r| 1) . #3=(|IFARRAY;shrink|)))
             (|error| "internal bug in flexible array"))
            ((OR (< (QVELT |r| 0) (+ (SPADCALL 2 |n| (QREFELT $ 30)) 2))
                 (NULL (QREFELT $ 9)))
             |r|)
            ('T
             (SEQ
              (COND
               ((< |n| (QVELT |r| 1))
                (|error| "cannot shrink flexible array to indicated size")))
              (EXIT
               (COND ((EQL |n| 0) (SPADCALL (QREFELT $ 14)))
                     ('T
                      (SEQ (QSETVELT |r| 0 |n|)
                           (LETT |y|
                                 (|IFARRAY;newa|
                                  (PROG1 (LETT #2# |n| . #3#)
                                    (|check-subtype| (>= #2# 0)
                                                     '(|NonNegativeInteger|)
                                                     #2#))
                                  (LETT |a| (QVELT |r| 2) . #3#) $)
                                 . #3#)
                           (SEQ (LETT |k| 0 . #3#) (LETT #1# (- |n| 1) . #3#)
                                G190 (COND ((QSGREATERP |k| #1#) (GO G191)))
                                (SEQ (EXIT (SETELT |y| |k| (ELT |a| |k|))))
                                (LETT |k| (QSADD1 |k|) . #3#) (GO G190) G191
                                (EXIT NIL))
                           (QSETVELT |r| 2 |y|) (EXIT |r|))))))))))))) 

(DEFUN |IFARRAY;copy;2$;16| (|r| $)
  (PROG (#1=#:G735 |k| |v| |a| |n|)
    (RETURN
     (SEQ (LETT |n| (SPADCALL |r| (QREFELT $ 15)) . #2=(|IFARRAY;copy;2$;16|))
          (LETT |a| (QVELT |r| 2) . #2#)
          (LETT |v| (|IFARRAY;newa| |n| (LETT |a| (QVELT |r| 2) . #2#) $)
                . #2#)
          (SEQ (LETT |k| 0 . #2#) (LETT #1# (- |n| 1) . #2#) G190
               (COND ((QSGREATERP |k| #1#) (GO G191)))
               (SEQ (EXIT (SETELT |v| |k| (ELT |a| |k|))))
               (LETT |k| (QSADD1 |k|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT (VECTOR |n| |n| |v|)))))) 

(DEFUN |IFARRAY;elt;$IS;17| (|r| |i| $)
  (COND
   ((OR (< |i| (QREFELT $ 7)) (NULL (< |i| (+ (QVELT |r| 1) (QREFELT $ 7)))))
    (|error| "index out of range"))
   ('T (ELT (QVELT |r| 2) (- |i| (QREFELT $ 7)))))) 

(DEFUN |IFARRAY;setelt;$I2S;18| (|r| |i| |x| $)
  (COND
   ((OR (< |i| (QREFELT $ 7)) (NULL (< |i| (+ (QVELT |r| 1) (QREFELT $ 7)))))
    (|error| "index out of range"))
   ('T (SETELT (QVELT |r| 2) (- |i| (QREFELT $ 7)) |x|)))) 

(DEFUN |IFARRAY;merge;M3$;19| (|g| |a| |b| $)
  (SPADCALL |g| (SPADCALL |a| (QREFELT $ 31)) |b| (QREFELT $ 34))) 

(DEFUN |IFARRAY;concat;S2$;20| (|x| |r| $)
  (SPADCALL |x| |r| (QREFELT $ 7) (QREFELT $ 36))) 

(DEFUN |IFARRAY;concat!;$S$;21| (|r| |x| $)
  (SEQ (|IFARRAY;growAndFill| |r| 1 |x| $)
       (SETELT (QVELT |r| 2) (- (QVELT |r| 1) 1) |x|) (EXIT |r|))) 

(DEFUN |IFARRAY;concat!;3$;22| (|a| |b| $)
  (PROG (|n|)
    (RETURN
     (SEQ
      (COND
       ((SPADCALL |a| |b| (QREFELT $ 39))
        (LETT |b| (SPADCALL |b| (QREFELT $ 31))
              . #1=(|IFARRAY;concat!;3$;22|))))
      (LETT |n| (SPADCALL |a| (QREFELT $ 15)) . #1#)
      (|IFARRAY;growAdding| |a| (SPADCALL |b| (QREFELT $ 15)) |b| $)
      (EXIT (SPADCALL |a| |b| (+ |n| (QREFELT $ 7)) (QREFELT $ 40))))))) 

(DEFUN |IFARRAY;remove!;M2$;23| (|g| |a| $)
  (PROG (|k| #1=#:G759 |i|)
    (RETURN
     (SEQ (LETT |k| 0 . #2=(|IFARRAY;remove!;M2$;23|))
          (SEQ (LETT |i| 0 . #2#)
               (LETT #1# (- (SPADCALL |a| (QREFELT $ 19)) (QREFELT $ 7)) . #2#)
               G190 (COND ((QSGREATERP |i| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((NULL (SPADCALL (SPADCALL |a| |i| (QREFELT $ 32)) |g|))
                   (SEQ
                    (SPADCALL |a| |k| (SPADCALL |a| |i| (QREFELT $ 32))
                              (QREFELT $ 27))
                    (EXIT (LETT |k| (+ |k| 1) . #2#)))))))
               (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT
           (|IFARRAY;shrink| |a| (- (SPADCALL |a| (QREFELT $ 15)) |k|) $)))))) 

(DEFUN |IFARRAY;delete!;$I$;24| (|r| |i1| $)
  (PROG (#1=#:G765 |k| |i|)
    (RETURN
     (SEQ (LETT |i| (- |i1| (QREFELT $ 7)) . #2=(|IFARRAY;delete!;$I$;24|))
          (COND
           ((OR (< |i| 0) (< (QVELT |r| 1) |i|))
            (EXIT (|error| "index out of range"))))
          (SEQ (LETT |k| |i| . #2#) (LETT #1# (- (QVELT |r| 1) 2) . #2#) G190
               (COND ((> |k| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (SETELT (QVELT |r| 2) |k| (ELT (QVELT |r| 2) (+ |k| 1)))))
               (LETT |k| (+ |k| 1) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT (|IFARRAY;shrink| |r| 1 $)))))) 

(DEFUN |IFARRAY;delete!;$Us$;25| (|r| |i| $)
  (PROG (|j| |k| |h| |m| |l|)
    (RETURN
     (SEQ
      (LETT |l| (- (SPADCALL |i| (QREFELT $ 46)) (QREFELT $ 7))
            . #1=(|IFARRAY;delete!;$Us$;25|))
      (LETT |m| (- (SPADCALL |r| (QREFELT $ 19)) (QREFELT $ 7)) . #1#)
      (LETT |h|
            (COND
             ((SPADCALL |i| (QREFELT $ 47))
              (- (SPADCALL |i| (QREFELT $ 48)) (QREFELT $ 7)))
             ('T |m|))
            . #1#)
      (COND ((OR (< |l| 0) (< |m| |h|)) (EXIT (|error| "index out of range"))))
      (SEQ (LETT |k| (+ |h| 1) . #1#) (LETT |j| |l| . #1#) G190
           (COND ((> |k| |m|) (GO G191)))
           (SEQ (EXIT (SETELT (QVELT |r| 2) |j| (ELT (QVELT |r| 2) |k|))))
           (LETT |j| (PROG1 (+ |j| 1) (LETT |k| (+ |k| 1) . #1#)) . #1#)
           (GO G190) G191 (EXIT NIL))
      (EXIT (|IFARRAY;shrink| |r| (MAX 0 (+ (- |h| |l|) 1)) $)))))) 

(DEFUN |IFARRAY;insert!;S$I$;26| (|x| |r| |i1| $)
  (PROG (|k| |n| |i|)
    (RETURN
     (SEQ (LETT |i| (- |i1| (QREFELT $ 7)) . #1=(|IFARRAY;insert!;S$I$;26|))
          (LETT |n| (QVELT |r| 1) . #1#)
          (COND
           ((OR (< |i| 0) (< |n| |i|)) (EXIT (|error| "index out of range"))))
          (|IFARRAY;growAndFill| |r| 1 |x| $)
          (SEQ (LETT |k| (- |n| 1) . #1#) G190 (COND ((< |k| |i|) (GO G191)))
               (SEQ
                (EXIT
                 (SETELT (QVELT |r| 2) (+ |k| 1) (ELT (QVELT |r| 2) |k|))))
               (LETT |k| (+ |k| -1) . #1#) (GO G190) G191 (EXIT NIL))
          (SETELT (QVELT |r| 2) |i| |x|) (EXIT |r|))))) 

(DEFUN |IFARRAY;insert!;2$I$;27| (|a| |b| |i1| $)
  (PROG (|k| |n| |m| |i|)
    (RETURN
     (SEQ (LETT |i| (- |i1| (QREFELT $ 7)) . #1=(|IFARRAY;insert!;2$I$;27|))
          (COND
           ((SPADCALL |a| |b| (QREFELT $ 39))
            (LETT |b| (SPADCALL |b| (QREFELT $ 31)) . #1#)))
          (LETT |m| (SPADCALL |a| (QREFELT $ 15)) . #1#)
          (LETT |n| (SPADCALL |b| (QREFELT $ 15)) . #1#)
          (COND
           ((OR (< |i| 0) (< |n| |i|)) (EXIT (|error| "index out of range"))))
          (|IFARRAY;growAdding| |b| |m| |a| $)
          (SEQ (LETT |k| (- |n| 1) . #1#) G190
               (COND ((< |k| |i|) #2=(GO G191)))
               (SEQ
                (EXIT
                 (SETELT (QVELT |b| 2) (+ |m| |k|) (ELT (QVELT |b| 2) |k|))))
               (LETT |k| (+ |k| -1) . #1#) #3=(GO G190) G191 (EXIT NIL))
          (SEQ (LETT |k| (- |m| 1) . #1#) G190 (COND ((< |k| 0) #2#))
               (SEQ
                (EXIT
                 (SETELT (QVELT |b| 2) (+ |i| |k|) (ELT (QVELT |a| 2) |k|))))
               (LETT |k| (+ |k| -1) . #1#) #3# G191 (EXIT NIL))
          (EXIT |b|))))) 

(DEFUN |IFARRAY;merge!;M3$;28| (|g| |a| |b| $)
  (PROG (|k| #1=#:G791 |j| |i| |n| |m|)
    (RETURN
     (SEQ
      (LETT |m| (SPADCALL |a| (QREFELT $ 15)) . #2=(|IFARRAY;merge!;M3$;28|))
      (LETT |n| (SPADCALL |b| (QREFELT $ 15)) . #2#)
      (|IFARRAY;growAdding| |a| |n| |b| $)
      (SEQ (LETT |j| (- (+ |m| |n|) 1) . #2#) (LETT |i| (- |m| 1) . #2#) G190
           (COND ((< |i| 0) #3=(GO G191)))
           (SEQ (EXIT (SETELT (QVELT |a| 2) |j| (ELT (QVELT |a| 2) |i|))))
           (LETT |i| (PROG1 (+ |i| -1) (LETT |j| (+ |j| -1) . #2#)) . #2#)
           #4=(GO G190) G191 (EXIT NIL))
      (LETT |i| |n| . #2#) (LETT |j| 0 . #2#)
      (SEQ (LETT |k| 0 . #2#) G190
           (COND
            ((NULL (COND ((< |i| (+ |n| |m|)) (< |j| |n|)) ('T 'NIL))) #3#))
           (SEQ
            (EXIT
             (COND
              ((SPADCALL (ELT (QVELT |a| 2) |i|) (ELT (QVELT |b| 2) |j|) |g|)
               (SEQ (SETELT (QVELT |a| 2) |k| (ELT (QVELT |a| 2) |i|))
                    (EXIT (LETT |i| (+ |i| 1) . #2#))))
              ('T
               (SEQ (SETELT (QVELT |a| 2) |k| (ELT (QVELT |b| 2) |j|))
                    (EXIT (LETT |j| (+ |j| 1) . #2#)))))))
           (LETT |k| (QSADD1 |k|) . #2#) #4# G191 (EXIT NIL))
      (SEQ (LETT |j| |j| . #2#) (LETT #1# (- |n| 1) . #2#) (LETT |k| |k| . #2#)
           G190 (COND ((> |j| #1#) #3#))
           (SEQ (EXIT (SETELT (QVELT |a| 2) |k| (ELT (QVELT |b| 2) |j|))))
           (LETT |k| (PROG1 (+ |k| 1) (LETT |j| (+ |j| 1) . #2#)) . #2#) #4#
           G191 (EXIT NIL))
      (EXIT |a|))))) 

(DEFUN |IFARRAY;select!;M2$;29| (|g| |a| $)
  (PROG (|k| #1=#:G798 |i|)
    (RETURN
     (SEQ (LETT |k| 0 . #2=(|IFARRAY;select!;M2$;29|))
          (SEQ (LETT |i| 0 . #2#)
               (LETT #1# (- (SPADCALL |a| (QREFELT $ 19)) (QREFELT $ 7)) . #2#)
               G190 (COND ((QSGREATERP |i| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((SPADCALL (ELT (QVELT |a| 2) |i|) |g|)
                   (SEQ (SETELT (QVELT |a| 2) |k| (ELT (QVELT |a| 2) |i|))
                        (EXIT (LETT |k| (+ |k| 1) . #2#)))))))
               (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT
           (|IFARRAY;shrink| |a| (- (SPADCALL |a| (QREFELT $ 15)) |k|) $)))))) 

(DEFUN |IFARRAY;removeDuplicates!;2$;30| (|a| $)
  (PROG (|i| |nlim| |j| #1=#:G808 |k| |nlim0| |ct|)
    (RETURN
     (SEQ
      (LETT |ct| (SPADCALL |a| (QREFELT $ 15))
            . #2=(|IFARRAY;removeDuplicates!;2$;30|))
      (EXIT
       (COND ((< |ct| 2) |a|)
             (#3='T
              (SEQ (LETT |i| (QREFELT $ 7) . #2#)
                   (LETT |nlim| (+ (QREFELT $ 7) |ct|) . #2#)
                   (LETT |nlim0| |nlim| . #2#)
                   (SEQ G190 (COND ((NULL (< |i| |nlim|)) #4=(GO G191)))
                        (SEQ (LETT |j| (+ |i| 1) . #2#)
                             (SEQ (LETT |k| |j| . #2#)
                                  (LETT #1# (- |nlim| 1) . #2#) G190
                                  (COND ((> |k| #1#) #4#))
                                  (SEQ
                                   (EXIT
                                    (COND
                                     ((COND
                                       ((SPADCALL
                                         (SPADCALL |a| |k| (QREFELT $ 32))
                                         (SPADCALL |a| |i| (QREFELT $ 32))
                                         (QREFELT $ 52))
                                        'NIL)
                                       ('T 'T))
                                      (SEQ
                                       (SPADCALL |a| |j|
                                                 (SPADCALL |a| |k|
                                                           (QREFELT $ 32))
                                                 (QREFELT $ 27))
                                       (EXIT (LETT |j| (+ |j| 1) . #2#)))))))
                                  (LETT |k| (+ |k| 1) . #2#) #5=(GO G190) G191
                                  (EXIT NIL))
                             (LETT |nlim| |j| . #2#)
                             (EXIT (LETT |i| (+ |i| 1) . #2#)))
                        NIL #5# G191 (EXIT NIL))
                   (EXIT
                    (COND ((EQL |nlim| |nlim0|) |a|)
                          (#3#
                           (SPADCALL |a| (SPADCALL |i| (QREFELT $ 53))
                                     (QREFELT $ 49))))))))))))) 

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

(DEFUN |IndexedFlexibleArray;| (|#1| |#2|)
  (PROG (#1=#:G816 |pv$| #2=#:G815 $ |dv$| DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #3=(|IndexedFlexibleArray|))
      (LETT DV$2 (|devaluate| |#2|) . #3#)
      (LETT |dv$| (LIST '|IndexedFlexibleArray| DV$1 DV$2) . #3#)
      (LETT $ (GETREFV 67) . #3#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (|HasCategory| |#1| '(|SetCategory|))
                                          (|HasCategory| |#1|
                                                         '(|ConvertibleTo|
                                                           (|InputForm|)))
                                          (LETT #2#
                                                (|HasCategory| |#1|
                                                               '(|OrderedSet|))
                                                . #3#)
                                          (OR #2#
                                              (|HasCategory| |#1|
                                                             '(|SetCategory|)))
                                          (|HasCategory| (|Integer|)
                                                         '(|OrderedSet|))
                                          (AND
                                           (|HasCategory| |#1|
                                                          '(|SetCategory|))
                                           (|HasCategory| |#1|
                                                          (LIST '|Evalable|
                                                                (|devaluate|
                                                                 |#1|))))
                                          (OR
                                           (AND #2#
                                                (|HasCategory| |#1|
                                                               (LIST
                                                                '|Evalable|
                                                                (|devaluate|
                                                                 |#1|))))
                                           (AND
                                            (|HasCategory| |#1|
                                                           '(|SetCategory|))
                                            (|HasCategory| |#1|
                                                           (LIST '|Evalable|
                                                                 (|devaluate|
                                                                  |#1|)))))))
                      . #3#))
      (|haddProp| |$ConstructorCache| '|IndexedFlexibleArray| (LIST DV$1 DV$2)
                  (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (AND (LETT #1# (|HasCategory| $ '(|finiteAggregate|)) . #3#)
           (|augmentPredVector| $ 128))
      (AND #1# (|HasCategory| |#1| '(|SetCategory|))
           (|augmentPredVector| $ 256))
      (AND (|HasCategory| $ '(|shallowlyMutable|)) (|augmentPredVector| $ 512))
      (AND (|HasCategory| $ '(|shallowlyMutable|)) #2#
           (|augmentPredVector| $ 1024))
      (QSETREFV $ 8
                (|Record| (|:| |physLen| (|Integer|))
                          (|:| |logLen| (|Integer|))
                          (|:| |f| (|PrimitiveArray| |#1|))))
      (QSETREFV $ 9 'T)
      (COND
       ((|testBitVector| |pv$| 1)
        (QSETREFV $ 54
                  (CONS (|dispatchFunction| |IFARRAY;removeDuplicates!;2$;30|)
                        $))))
      $)))) 

(MAKEPROP '|IndexedFlexibleArray| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|) '|Rep|
              '|shrinkable?| (|NonNegativeInteger|)
              |IFARRAY;physicalLength;$Nni;1| (|Integer|)
              |IFARRAY;physicalLength!;$I$;2| |IFARRAY;empty;$;3|
              |IFARRAY;#;$Nni;4| (|PrimitiveArray| 6) (0 . |fill!|)
              |IFARRAY;fill!;$S$;5| |IFARRAY;maxIndex;$I;6|
              |IFARRAY;minIndex;$I;7| (6 . |new|) |IFARRAY;new;NniS$;8|
              (|Boolean|) |IFARRAY;shrinkable;2B;9| (|List| 6) (12 . |elt|)
              |IFARRAY;setelt;$I2S;18| |IFARRAY;flexibleArray;L$;10|
              (|PositiveInteger|) (18 . *) |IFARRAY;copy;2$;16|
              |IFARRAY;elt;$IS;17| (|Mapping| 23 6 6) |IFARRAY;merge!;M3$;28|
              |IFARRAY;merge;M3$;19| |IFARRAY;insert!;S$I$;26|
              |IFARRAY;concat;S2$;20| |IFARRAY;concat!;$S$;21| (24 . |eq?|)
              (30 . |copyInto!|) |IFARRAY;concat!;3$;22| (|Mapping| 23 6)
              |IFARRAY;remove!;M2$;23| |IFARRAY;delete!;$I$;24|
              (|UniversalSegment| 12) (37 . |lo|) (42 . |hasHi|) (47 . |hi|)
              |IFARRAY;delete!;$Us$;25| |IFARRAY;insert!;2$I$;27|
              |IFARRAY;select!;M2$;29| (52 . =) (58 . SEGMENT)
              (63 . |removeDuplicates!|) (|Mapping| 6 6 6) (|Equation| 6)
              (|List| 56) (|Void|) (|Mapping| 6 6) (|InputForm|) (|OutputForm|)
              (|SingleInteger|) (|String|) (|List| $) (|Union| 6 '"failed")
              (|List| 12))
           '#(~= 68 |swap!| 74 |sorted?| 81 |sort!| 92 |sort| 103 |smaller?|
              114 |size?| 120 |shrinkable| 126 |setelt| 131 |select!| 145
              |select| 151 |sample| 157 |reverse!| 161 |reverse| 166
              |removeDuplicates!| 171 |removeDuplicates| 176 |remove!| 181
              |remove| 193 |reduce| 205 |qsetelt!| 226 |qelt| 233 |position|
              239 |physicalLength!| 258 |physicalLength| 264 |parts| 269 |new|
              274 |more?| 280 |minIndex| 286 |min| 291 |merge!| 297 |merge| 310
              |members| 323 |member?| 328 |maxIndex| 334 |max| 339 |map!| 345
              |map| 351 |less?| 364 |latex| 370 |insert!| 375 |insert| 389
              |indices| 403 |index?| 408 |hash| 414 |flexibleArray| 419 |first|
              424 |find| 429 |fill!| 435 |every?| 441 |eval| 447 |eq?| 473
              |entry?| 479 |entries| 485 |empty?| 490 |empty| 495 |elt| 499
              |delete!| 518 |delete| 530 |count| 542 |copyInto!| 554 |copy| 561
              |convert| 566 |construct| 571 |concat!| 576 |concat| 588 |coerce|
              611 |any?| 616 >= 622 > 628 = 634 <= 640 < 646 |#| 652)
           'NIL
           (CONS
            (|makeByteWordVec2| 7 '(0 0 0 0 0 0 3 0 3 0 0 7 4 0 0 0 0 7 1 2 4))
            (CONS
             '#(|OneDimensionalArrayAggregate&| |FiniteLinearAggregate&|
                |ExtensibleLinearAggregate&| |LinearAggregate&|
                |IndexedAggregate&| |Collection&| |OrderedSet&|
                |HomogeneousAggregate&| NIL |Aggregate&| |EltableAggregate&|
                |Evalable&| |SetCategory&| NIL NIL NIL NIL |InnerEvalable&| NIL
                NIL |BasicType&|)
             (CONS
              '#((|OneDimensionalArrayAggregate| 6) (|FiniteLinearAggregate| 6)
                 (|ExtensibleLinearAggregate| 6) (|LinearAggregate| 6)
                 (|IndexedAggregate| 12 6) (|Collection| 6) (|OrderedSet|)
                 (|HomogeneousAggregate| 6) (|Comparable|) (|Aggregate|)
                 (|EltableAggregate| 12 6) (|Evalable| 6) (|SetCategory|)
                 (|shallowlyMutable|) (|finiteAggregate|) (|Type|)
                 (|Eltable| 12 6) (|InnerEvalable| 6 6) (|CoercibleTo| 61)
                 (|ConvertibleTo| 60) (|BasicType|))
              (|makeByteWordVec2| 66
                                  '(2 16 0 0 6 17 2 16 0 10 6 21 2 25 6 0 12 26
                                    2 12 0 29 0 30 2 0 23 0 0 39 3 0 0 0 0 12
                                    40 1 45 12 0 46 1 45 23 0 47 1 45 12 0 48 2
                                    6 23 0 0 52 1 45 0 12 53 1 0 0 0 54 2 1 23
                                    0 0 1 3 10 58 0 12 12 1 1 3 23 0 1 2 0 23
                                    33 0 1 1 11 0 0 1 2 10 0 33 0 1 1 3 0 0 1 2
                                    0 0 33 0 1 2 3 23 0 0 1 2 0 23 0 10 1 1 0
                                    23 23 24 3 10 6 0 45 6 1 3 10 6 0 12 6 27 2
                                    0 0 42 0 51 2 8 0 42 0 1 0 0 0 1 1 10 0 0 1
                                    1 0 0 0 1 1 1 0 0 54 1 9 0 0 1 2 1 0 6 0 1
                                    2 0 0 42 0 43 2 9 0 6 0 1 2 8 0 42 0 1 4 9
                                    6 55 0 6 6 1 2 8 6 55 0 1 3 8 6 55 0 6 1 3
                                    10 6 0 12 6 1 2 0 6 0 12 1 2 1 12 6 0 1 3 1
                                    12 6 0 12 1 2 0 12 42 0 1 2 0 0 0 12 13 1 0
                                    10 0 11 1 8 25 0 1 2 0 0 10 6 22 2 0 23 0
                                    10 1 1 5 12 0 20 2 3 0 0 0 1 2 3 0 0 0 1 3
                                    0 0 33 0 0 34 2 3 0 0 0 1 3 0 0 33 0 0 35 1
                                    8 25 0 1 2 9 23 6 0 1 1 5 12 0 19 2 3 0 0 0
                                    1 2 10 0 59 0 1 3 0 0 55 0 0 1 2 0 0 59 0 1
                                    2 0 23 0 10 1 1 1 63 0 1 3 0 0 6 0 12 36 3
                                    0 0 0 0 12 50 3 0 0 0 0 12 1 3 0 0 6 0 12 1
                                    1 0 66 0 1 2 0 23 12 0 1 1 1 62 0 1 1 0 0
                                    25 28 1 5 6 0 1 2 0 65 42 0 1 2 10 0 0 6 18
                                    2 8 23 42 0 1 3 6 0 0 25 25 1 2 6 0 0 56 1
                                    3 6 0 0 6 6 1 2 6 0 0 57 1 2 0 23 0 0 39 2
                                    9 23 6 0 1 1 0 25 0 1 1 0 23 0 1 0 0 0 14 2
                                    0 0 0 45 1 3 0 6 0 12 6 1 2 0 6 0 12 32 2 0
                                    0 0 12 44 2 0 0 0 45 49 2 0 0 0 45 1 2 0 0
                                    0 12 1 2 9 10 6 0 1 2 8 10 42 0 1 3 10 0 0
                                    0 12 40 1 0 0 0 31 1 2 60 0 1 1 0 0 25 1 2
                                    0 0 0 6 38 2 0 0 0 0 41 1 0 0 64 1 2 0 0 0
                                    0 1 2 0 0 0 6 1 2 0 0 6 0 37 1 1 61 0 1 2 8
                                    23 42 0 1 2 3 23 0 0 1 2 3 23 0 0 1 2 1 23
                                    0 0 1 2 3 23 0 0 1 2 3 23 0 0 1 1 8 10 0
                                    15)))))
           '|lookupComplete|)) 
