
(PUT '|PRIMARR;#;$Nni;1| '|SPADreplace| 'QVSIZE) 

(SDEFUN |PRIMARR;#;$Nni;1| ((|x| $) ($ |NonNegativeInteger|)) (QVSIZE |x|)) 

(PUT '|PRIMARR;minIndex;$I;2| '|SPADreplace| '(XLAM (|x|) 0)) 

(SDEFUN |PRIMARR;minIndex;$I;2| ((|x| $) ($ |Integer|)) 0) 

(PUT '|PRIMARR;empty;$;3| '|SPADreplace| '(XLAM NIL (MAKE-ARRAY 0))) 

(SDEFUN |PRIMARR;empty;$;3| (($ $)) (MAKE-ARRAY 0)) 

(PUT '|PRIMARR;new;NniS$;4| '|SPADreplace| 'MAKEARR1) 

(SDEFUN |PRIMARR;new;NniS$;4| ((|n| |NonNegativeInteger|) (|x| S) ($ $))
        (MAKEARR1 |n| |x|)) 

(PUT '|PRIMARR;qelt;$IS;5| '|SPADreplace| 'QAREF1) 

(SDEFUN |PRIMARR;qelt;$IS;5| ((|x| $) (|i| |Integer|) ($ S)) (QAREF1 |x| |i|)) 

(PUT '|PRIMARR;elt;$IS;6| '|SPADreplace| 'QAREF1) 

(SDEFUN |PRIMARR;elt;$IS;6| ((|x| $) (|i| |Integer|) ($ S)) (QAREF1 |x| |i|)) 

(PUT '|PRIMARR;qsetelt!;$I2S;7| '|SPADreplace| 'QSETAREF1) 

(SDEFUN |PRIMARR;qsetelt!;$I2S;7| ((|x| $) (|i| |Integer|) (|s| S) ($ S))
        (QSETAREF1 |x| |i| |s|)) 

(PUT '|PRIMARR;setelt!;$I2S;8| '|SPADreplace| 'QSETAREF1) 

(SDEFUN |PRIMARR;setelt!;$I2S;8| ((|x| $) (|i| |Integer|) (|s| S) ($ S))
        (QSETAREF1 |x| |i| |s|)) 

(SDEFUN |PRIMARR;fill!;$S$;9| ((|x| $) (|s| S) ($ $))
        (SPROG ((#1=#:G2476 NIL) (|i| NIL))
               (SEQ
                (SEQ (LETT |i| 0) (LETT #1# (QVMAXINDEX |x|)) G190
                     (COND ((|greater_SI| |i| #1#) (GO G191)))
                     (SEQ (EXIT (QSETAREF1 |x| |i| |s|)))
                     (LETT |i| (|inc_SI| |i|)) (GO G190) G191 (EXIT NIL))
                (EXIT |x|)))) 

(SDEFUN |PRIMARR;hashUpdate!;Hs$Hs;10|
        ((|s| |HashState|) (|x| $) ($ |HashState|))
        (SPROG ((#1=#:G2480 NIL) (|i| NIL))
               (SEQ
                (SEQ (LETT |i| 0) (LETT #1# (QVMAXINDEX |x|)) G190
                     (COND ((|greater_SI| |i| #1#) (GO G191)))
                     (SEQ
                      (EXIT
                       (LETT |s|
                             (SPADCALL |s| (QAREF1 |x| |i|) (QREFELT $ 19)))))
                     (LETT |i| (|inc_SI| |i|)) (GO G190) G191 (EXIT NIL))
                (EXIT |s|)))) 

(DECLAIM (NOTINLINE |PrimitiveArray;|)) 

(DEFUN |PrimitiveArray| (#1=#:G2491)
  (SPROG NIL
         (PROG (#2=#:G2492)
           (RETURN
            (COND
             ((LETT #2#
                    (|lassocShiftWithFunction| (LIST (|devaluate| #1#))
                                               (HGET |$ConstructorCache|
                                                     '|PrimitiveArray|)
                                               '|domainEqualList|))
              (|CDRwithIncrement| #2#))
             ('T
              (UNWIND-PROTECT (PROG1 (|PrimitiveArray;| #1#) (LETT #2# T))
                (COND
                 ((NOT #2#)
                  (HREM |$ConstructorCache| '|PrimitiveArray|)))))))))) 

(DEFUN |PrimitiveArray;| (|#1|)
  (SPROG
   ((|pv$| NIL) (#1=#:G2488 NIL) (#2=#:G2489 NIL) (#3=#:G2490 NIL) ($ NIL)
    (|dv$| NIL) (DV$1 NIL))
   (PROGN
    (LETT DV$1 (|devaluate| |#1|))
    (LETT |dv$| (LIST '|PrimitiveArray| DV$1))
    (LETT $ (GETREFV 38))
    (QSETREFV $ 0 |dv$|)
    (QSETREFV $ 3
              (LETT |pv$|
                    (|buildPredVector| 0 0
                                       (LIST
                                        (|HasCategory| |#1| '(|OrderedSet|))
                                        (|HasCategory| |#1|
                                                       '(|ConvertibleTo|
                                                         (|InputForm|)))
                                        (|HasCategory| (|Integer|)
                                                       '(|OrderedSet|))
                                        (|HasCategory| |#1| '(|BasicType|))
                                        (LETT #3#
                                              (|HasCategory| |#1|
                                                             '(|Comparable|)))
                                        (OR #3#
                                            (|HasCategory| |#1|
                                                           '(|OrderedSet|)))
                                        (LETT #2#
                                              (|HasCategory| |#1|
                                                             '(|SetCategory|)))
                                        (AND
                                         (|HasCategory| |#1|
                                                        (LIST '|Evalable|
                                                              (|devaluate|
                                                               |#1|)))
                                         #2#)
                                        (OR (|HasCategory| |#1| '(|BasicType|))
                                            #3#
                                            (|HasCategory| |#1|
                                                           '(|OrderedSet|))
                                            #2#)
                                        (OR #3#
                                            (|HasCategory| |#1|
                                                           '(|OrderedSet|))
                                            #2#)
                                        (LETT #1#
                                              (|HasCategory| |#1|
                                                             '(|CoercibleTo|
                                                               (|OutputForm|))))
                                        (OR #1# #3#
                                            (|HasCategory| |#1|
                                                           '(|OrderedSet|))
                                            #2#)))))
    (|haddProp| |$ConstructorCache| '|PrimitiveArray| (LIST DV$1) (CONS 1 $))
    (|stuffDomainSlots| $)
    (QSETREFV $ 6 |#1|)
    (AND (|HasCategory| $ '(|shallowlyMutable|)) (|augmentPredVector| $ 4096))
    (AND (|HasCategory| $ '(|finiteAggregate|)) (|augmentPredVector| $ 8192))
    (AND (|HasCategory| |#1| '(|BasicType|))
         (|HasCategory| $ '(|finiteAggregate|)) (|augmentPredVector| $ 16384))
    (AND (|HasCategory| $ '(|finiteAggregate|))
         (|HasCategory| $ '(|shallowlyMutable|)) (|augmentPredVector| $ 32768))
    (AND (|HasCategory| |#1| '(|OrderedSet|))
         (|HasCategory| $ '(|finiteAggregate|))
         (|HasCategory| $ '(|shallowlyMutable|)) (|augmentPredVector| $ 65536))
    (AND (|HasCategory| |#1| '(|OrderedSet|))
         (|HasCategory| $ '(|finiteAggregate|)) (|augmentPredVector| $ 131072))
    (AND
     (OR (AND #3# (|HasCategory| $ '(|finiteAggregate|)))
         (AND (|HasCategory| |#1| '(|OrderedSet|))
              (|HasCategory| $ '(|finiteAggregate|))))
     (|augmentPredVector| $ 262144))
    (AND
     (OR (AND #3# (|HasCategory| $ '(|finiteAggregate|)))
         (AND (|HasCategory| |#1| '(|OrderedSet|))
              (|HasCategory| $ '(|finiteAggregate|)))
         #2#)
     (|augmentPredVector| $ 524288))
    (AND
     (OR #1# (AND #3# (|HasCategory| $ '(|finiteAggregate|)))
         (AND (|HasCategory| |#1| '(|OrderedSet|))
              (|HasCategory| $ '(|finiteAggregate|))))
     (|augmentPredVector| $ 1048576))
    (AND
     (OR
      (AND (|HasCategory| |#1| '(|BasicType|))
           (|HasCategory| $ '(|finiteAggregate|)))
      (AND #3# (|HasCategory| $ '(|finiteAggregate|)))
      (AND (|HasCategory| |#1| '(|OrderedSet|))
           (|HasCategory| $ '(|finiteAggregate|)))
      #2#)
     (|augmentPredVector| $ 2097152))
    (SETF |pv$| (QREFELT $ 3))
    (COND
     ((|testBitVector| |pv$| 7)
      (QSETREFV $ 20
                (CONS (|dispatchFunction| |PRIMARR;hashUpdate!;Hs$Hs;10|) $))))
    $))) 

(MAKEPROP '|PrimitiveArray| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|NonNegativeInteger|)
              |PRIMARR;#;$Nni;1| (|Integer|) |PRIMARR;minIndex;$I;2|
              |PRIMARR;empty;$;3| |PRIMARR;new;NniS$;4| |PRIMARR;qelt;$IS;5|
              |PRIMARR;elt;$IS;6| |PRIMARR;qsetelt!;$I2S;7|
              |PRIMARR;setelt!;$I2S;8| |PRIMARR;fill!;$S$;9| (|HashState|)
              (0 . |hashUpdate!|) (6 . |hashUpdate!|) (|Mapping| 23 6 6)
              (|Mapping| 6 6 6) (|Boolean|) (|List| 6) (|List| 26)
              (|Equation| 6) (|OutputForm|) (|SingleInteger|) (|String|)
              (|Mapping| 23 6) (|UniversalSegment| 9) (|Void|) (|Mapping| 6 6)
              (|InputForm|) (|List| $) (|Union| 6 '"failed") (|List| 9))
           '#(~= 12 |trim| 18 |swap!| 24 |sorted?| 31 |sort!| 42 |sort| 53
              |smaller?| 64 |size?| 70 |setelt!| 76 |select| 90 |sample| 96
              |rightTrim| 100 |reverse!| 106 |reverse| 111 |removeDuplicates|
              116 |remove| 121 |reduce| 133 |qsetelt!| 154 |qelt| 161
              |position| 167 |parts| 186 |new| 191 |more?| 197 |minIndex| 203
              |min| 208 |merge| 219 |members| 232 |member?| 237 |maxIndex| 243
              |max| 248 |map!| 265 |map| 271 |less?| 284 |leftTrim| 290 |latex|
              296 |insert| 301 |indices| 315 |index?| 320 |hashUpdate!| 326
              |hash| 332 |first| 337 |find| 348 |fill!| 354 |every?| 360 |eval|
              366 |eq?| 392 |entry?| 398 |entries| 404 |empty?| 409 |empty| 414
              |elt| 418 |delete| 437 |count| 449 |copyInto!| 461 |copy| 468
              |convert| 473 |construct| 478 |concat| 483 |coerce| 506 |any?|
              511 >= 517 > 523 = 529 <= 535 < 541 |#| 547)
           'NIL
           (CONS
            (|makeByteWordVec2| 12
                                '(0 0 0 0 0 1 0 6 0 0 8 10 0 0 0 0 0 8 9 12 1
                                  2))
            (CONS
             '#(|OneDimensionalArrayAggregate&| NIL |LinearAggregate&|
                |IndexedAggregate&| |Collection&| |OrderedSet&|
                |HomogeneousAggregate&| NIL |Aggregate&| |EltableAggregate&|
                |Evalable&| |SetCategory&| NIL NIL NIL NIL NIL |InnerEvalable&|
                |BasicType&| NIL |PartialOrder&| NIL)
             (CONS
              '#((|OneDimensionalArrayAggregate| 6) (|FiniteLinearAggregate| 6)
                 (|LinearAggregate| 6) (|IndexedAggregate| 9 6)
                 (|Collection| 6) (|OrderedSet|) (|HomogeneousAggregate| 6)
                 (|Comparable|) (|Aggregate|) (|EltableAggregate| 9 6)
                 (|Evalable| 6) (|SetCategory|) (|shallowlyMutable|)
                 (|finiteAggregate|) (|Eltable| 31 $$) (|Type|) (|Eltable| 9 6)
                 (|InnerEvalable| 6 6) (|BasicType|) (|CoercibleTo| 27)
                 (|PartialOrder|) (|ConvertibleTo| 34))
              (|makeByteWordVec2| 37
                                  '(2 6 18 18 0 19 2 0 18 18 0 20 2 22 23 0 0 1
                                    2 15 0 0 6 1 3 13 32 0 9 9 1 1 18 23 0 1 2
                                    14 23 21 0 1 1 17 0 0 1 2 16 0 21 0 1 1 18
                                    0 0 1 2 14 0 21 0 1 2 19 23 0 0 1 2 0 23 0
                                    7 1 3 13 6 0 31 6 1 3 13 6 0 9 6 16 2 14 0
                                    30 0 1 0 0 0 1 2 15 0 0 6 1 1 16 0 0 1 1 14
                                    0 0 1 1 15 0 0 1 2 15 0 6 0 1 2 14 0 30 0 1
                                    4 15 6 22 0 6 6 1 2 14 6 22 0 1 3 14 6 22 0
                                    6 1 3 13 6 0 9 6 15 2 0 6 0 9 13 2 15 9 6 0
                                    1 3 15 9 6 0 9 1 2 14 9 30 0 1 1 14 24 0 1
                                    2 0 0 7 6 12 2 0 23 0 7 1 1 3 9 0 10 2 18 0
                                    0 0 1 1 18 6 0 1 2 18 0 0 0 1 3 14 0 21 0 0
                                    1 1 14 24 0 1 2 15 23 6 0 1 1 3 9 0 1 2 18
                                    0 0 0 1 1 18 6 0 1 2 14 6 21 0 1 2 13 0 33
                                    0 1 3 0 0 22 0 0 1 2 0 0 33 0 1 2 0 23 0 7
                                    1 2 15 0 0 6 1 1 20 29 0 1 3 0 0 0 0 9 1 3
                                    0 0 6 0 9 1 1 0 37 0 1 2 0 23 9 0 1 2 20 18
                                    18 0 20 1 20 28 0 1 1 3 6 0 1 2 0 0 0 7 1 2
                                    0 36 30 0 1 2 13 0 0 6 17 2 14 23 30 0 1 3
                                    8 0 0 6 6 1 3 8 0 0 24 24 1 2 8 0 0 25 1 2
                                    8 0 0 26 1 2 0 23 0 0 1 2 15 23 6 0 1 1 0
                                    24 0 1 1 0 23 0 1 0 0 0 11 2 0 0 0 31 1 2 0
                                    6 0 9 14 3 0 6 0 9 6 1 2 0 0 0 31 1 2 0 0 0
                                    9 1 2 15 7 6 0 1 2 14 7 30 0 1 3 16 0 0 0 9
                                    1 1 0 0 0 1 1 2 34 0 1 1 0 0 24 1 1 0 0 35
                                    1 2 0 0 6 0 1 2 0 0 0 0 1 2 0 0 0 6 1 1 21
                                    27 0 1 2 14 23 30 0 1 2 18 23 0 0 1 2 18 23
                                    0 0 1 2 22 23 0 0 1 2 18 23 0 0 1 2 18 23 0
                                    0 1 1 14 7 0 8)))))
           '|lookupComplete|)) 
