(guard (e (#t #f))
  (def-var! "clojure.core" "zero?" (letrec ((zero? (lambda (x) (let fnrec951 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "number?") x)) (jolt= x 0) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "zero? requires a number, got: " x))))))) zero?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pos?" (letrec ((pos? (lambda (x) (let fnrec952 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "number?") x)) (> x 0) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "pos? requires a number, got: " x))))))) pos?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "every?" (letrec ((every? (lambda (pred coll) (let fnrec953 ((pred pred) (coll coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-seq coll))) #t (if (jolt-truthy? (jolt-invoke pred (jolt-first coll))) (fnrec953 pred (jolt-next coll)) #f)))))) every?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "empty?" (letrec ((empty? (lambda (coll) (let fnrec954 ((coll coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") coll)) #t (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") coll)) (jolt-zero? (jolt-count coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") coll)) (jolt-zero? (jolt-count coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "set?") coll)) (jolt-zero? (jolt-count coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "string?") coll)) (jolt-zero? (jolt-count coll)) (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-seq coll))))))))))) empty?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "keys" (letrec ((keys (lambda (m) (let fnrec955 ((m m)) (let* ((s (jolt-seq m))) (if (jolt-truthy? s) (jolt-map (lambda (e) (let fnrec956 ((e e)) (jolt-nth e 0))) s) jolt-nil)))))) keys)))
(guard (e (#t #f))
  (def-var! "clojure.core" "vals" (letrec ((vals (lambda (m) (let fnrec957 ((m m)) (let* ((s (jolt-seq m))) (if (jolt-truthy? s) (jolt-map (lambda (e) (let fnrec958 ((e e)) (jolt-nth e 1))) s) jolt-nil)))))) vals)))
(guard (e (#t #f))
  (def-var! "clojure.core" "when"
    (lambda (test . body) (let fnrec959 ((test test) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") test) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) body))))))
  (mark-macro! "clojure.core" "when"))
(guard (e (#t #f))
  (def-var! "clojure.core" "when-not"
    (lambda (test . body) (let fnrec960 ((test test) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "not")) (jolt-invoke (var-deref "clojure.core" "__sq1") test))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) body))))))
  (mark-macro! "clojure.core" "when-not"))
(guard (e (#t #f))
  (def-var! "clojure.core" "and"
    (lambda exprs (let fnrec961 ((exprs (list->cseq exprs))) (if (jolt-empty? exprs) #t (if (jolt-empty? (jolt-rest exprs)) (jolt-first exprs) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "and__13__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first exprs)))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "and__13__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "and")) (jolt-rest exprs))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "and__13__auto"))))))))))
  (mark-macro! "clojure.core" "and"))
(guard (e (#t #f))
  (def-var! "clojure.core" "or"
    (lambda exprs (let fnrec962 ((exprs (list->cseq exprs))) (if (jolt-empty? exprs) jolt-nil (if (jolt-empty? (jolt-rest exprs)) (jolt-first exprs) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "or__14__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first exprs)))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "or__14__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "or__14__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "or")) (jolt-rest exprs)))))))))))
  (mark-macro! "clojure.core" "or"))
(guard (e (#t #f))
  (def-var! "clojure.core" "cond"
    (lambda clauses (let fnrec963 ((clauses (list->cseq clauses))) (if (jolt-empty? clauses) jolt-nil (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first clauses)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth clauses 1)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "cond")) (jolt-drop 2 clauses))))))))
  (mark-macro! "clojure.core" "cond"))
(guard (e (#t #f))
  (def-var! "clojure.core" "ns"
    (lambda (nm . clauses) (let fnrec964 ((nm nm) (clauses (list->cseq clauses))) (let* ((nm (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "seq?") nm))) (if (jolt-truthy? and__13__auto) (jolt= (jolt-symbol #f "with-meta") (jolt-first nm)) and__13__auto))) (jolt-invoke (var-deref "clojure.core" "second") nm) nm)) (calls (jolt-reduce (lambda (acc clause) (let fnrec965 ((acc acc) (clause clause)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") clause)) (let* ((head (jolt-first clause)) (args (jolt-rest clause))) (if (jolt= head (keyword #f "require")) (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "require")) (jolt-map (lambda (s) (let fnrec969 ((s s)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") s)))) args))) (if (jolt= head (keyword #f "use")) (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "use")) (jolt-map (lambda (s) (let fnrec968 ((s s)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") s)))) args))) (if (jolt= head (keyword #f "import")) (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "import")) (jolt-map (lambda (s) (let fnrec967 ((s s)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") s)))) args))) (if (jolt= head (keyword #f "refer-clojure")) (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "refer-clojure")) (jolt-map (lambda (s) (let fnrec966 ((s s)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") s)))) args))) (if (jolt-truthy? (keyword #f "else")) acc jolt-nil)))))) acc))) (jolt-vector) clauses))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "in-ns")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") nm))))) calls)))))
  (mark-macro! "clojure.core" "ns"))
(guard (e (#t #f))
  (def-var! "clojure.core" "->"
    (lambda (x . forms) (let fnrec970 ((x x) (forms (list->cseq forms))) (if (jolt-empty? forms) x (let* ((form (jolt-first forms)) (threaded (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") form)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first form)) (jolt-invoke (var-deref "clojure.core" "__sq1") x) (jolt-rest form)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") form) (jolt-invoke (var-deref "clojure.core" "__sq1") x))))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->")) (jolt-invoke (var-deref "clojure.core" "__sq1") threaded) (jolt-rest forms)))))))
  (mark-macro! "clojure.core" "->"))
(guard (e (#t #f))
  (def-var! "clojure.core" "->>"
    (lambda (x . forms) (let fnrec971 ((x x) (forms (list->cseq forms))) (if (jolt-empty? forms) x (let* ((form (jolt-first forms)) (threaded (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") form)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first form)) (jolt-rest form) (jolt-invoke (var-deref "clojure.core" "__sq1") x)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") form) (jolt-invoke (var-deref "clojure.core" "__sq1") x))))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->>")) (jolt-invoke (var-deref "clojure.core" "__sq1") threaded) (jolt-rest forms)))))))
  (mark-macro! "clojure.core" "->>"))
(guard (e (#t #f))
  (def-var! "clojure.core" "declare"
    (lambda syms (let fnrec972 ((syms (list->cseq syms))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) (jolt-map (lambda (s) (let fnrec973 ((s s)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def")) (jolt-invoke (var-deref "clojure.core" "__sq1") s)))) syms)))))
  (mark-macro! "clojure.core" "declare"))
(guard (e (#t #f))
  (def-var! "clojure.core" "destructure" (letrec ((destructure (lambda (bindings) (let fnrec974 ((bindings bindings)) (let* ((find-or (lambda (or-map nm) (let fnrec975 ((or-map or-map) (nm nm)) (jolt-reduce (lambda (acc k) (let fnrec976 ((acc acc) (k k)) (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "symbol?") k))) (if (jolt-truthy? and__13__auto) (jolt= nm (jolt-invoke (var-deref "clojure.core" "name") k)) and__13__auto))) (let* ((_o$977 #t) (_o$978 (jolt-get or-map k))) (jolt-vector _o$977 _o$978)) acc))) (let* ((_o$979 #f) (_o$980 jolt-nil)) (jolt-vector _o$979 _o$980)) (if (jolt-truthy? or-map) (jolt-keys or-map) (jolt-vector)))))) (amp? (lambda (x) (let fnrec981 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "symbol?") x))) (if (jolt-truthy? and__13__auto) (jolt= "&" (jolt-invoke (var-deref "clojure.core" "name") x)) and__13__auto))))) (proc (letrec ((proc (lambda (pat init acc) (let fnrec982 ((pat pat) (init init) (acc acc)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") pat)) (jolt-conj (jolt-conj acc pat) init) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") pat)) (let* ((g (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke (var-deref "clojure.core" "gensym") )))) (n (jolt-count pat)) (vloop (letrec ((vloop (lambda (i idx a) (let fnrec986 ((i i) (idx idx) (a a)) (if (< i n) (let* ((elem (jolt-nth pat i))) (if (jolt-truthy? (jolt-invoke amp? elem)) (jolt-invoke vloop (+ i 2) idx (jolt-invoke proc (jolt-nth pat (jolt-inc i)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "nthnext")) (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") idx)) a)) (if (jolt= elem (keyword #f "as")) (jolt-invoke vloop (+ i 2) idx (jolt-invoke proc (jolt-nth pat (jolt-inc i)) g a)) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke vloop (jolt-inc i) (jolt-inc idx) (jolt-invoke proc elem (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "nth")) (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") idx) (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil)) a)) jolt-nil)))) a))))) vloop))) (jolt-invoke vloop 0 0 (jolt-conj (jolt-conj acc g) init))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") pat)) (let* ((g (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke (var-deref "clojure.core" "gensym") )))) (gm (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke (var-deref "clojure.core" "gensym") )))) (coerce (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "sequential?")) (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "and")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "=")) (jolt-invoke (var-deref "clojure.core" "__sq1") 1) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "count")) (jolt-invoke (var-deref "clojure.core" "__sq1") g))))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "map?")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "first")) (jolt-invoke (var-deref "clojure.core" "__sq1") g))))))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "first")) (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "apply")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "hash-map")) (jolt-invoke (var-deref "clojure.core" "__sq1") g))))) (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (or-map (jolt-get pat (keyword #f "or"))) (as-sym (jolt-get pat (keyword #f "as"))) (bound (jolt-conj (jolt-conj (jolt-conj (jolt-conj acc g) init) gm) coerce)) (base (if (jolt-truthy? as-sym) (jolt-conj (jolt-conj bound as-sym) gm) bound)) (group (lambda (a kw kind) (let fnrec984 ((a a) (kw kw) (kind kind)) (let* ((names (jolt-get pat kw))) (if (jolt-truthy? names) (jolt-reduce (lambda (aa s) (let fnrec985 ((aa aa) (s s)) (let* ((local (jolt-invoke (var-deref "clojure.core" "name") s)) (nsp (jolt-invoke (var-deref "clojure.core" "namespace") s)) (keyform (if (jolt= kind (keyword #f "kw")) (jolt-invoke (var-deref "clojure.core" "keyword") (if (jolt-truthy? nsp) (jolt-invoke (var-deref "clojure.core" "str") nsp "/" local) local)) (if (jolt= kind (keyword #f "str")) local (if (jolt-truthy? (keyword #f "else")) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "symbol") nsp local))) jolt-nil)))) (fo (jolt-invoke find-or or-map local))) (jolt-conj (jolt-conj aa (jolt-invoke (var-deref "clojure.core" "symbol") local)) (if (jolt-truthy? (jolt-nth fo 0)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get")) (jolt-invoke (var-deref "clojure.core" "__sq1") gm) (jolt-invoke (var-deref "clojure.core" "__sq1") keyform) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth fo 1))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get")) (jolt-invoke (var-deref "clojure.core" "__sq1") gm) (jolt-invoke (var-deref "clojure.core" "__sq1") keyform))))))) a names) a))))) (g1 (jolt-invoke group base (keyword #f "keys") (keyword #f "kw"))) (g2 (jolt-invoke group g1 (keyword #f "strs") (keyword #f "str"))) (g3 (jolt-invoke group g2 (keyword #f "syms") (keyword #f "sym")))) (jolt-reduce (lambda (a k) (let fnrec983 ((a a) (k k)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "keyword?") k)) a (jolt-invoke proc k (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get")) (jolt-invoke (var-deref "clojure.core" "__sq1") gm) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-get pat k))) a)))) g3 (jolt-keys pat))) (if (jolt-truthy? (keyword #f "else")) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "unsupported destructuring pattern")) jolt-nil)))))))) proc)) (ploop (letrec ((ploop (lambda (i acc) (let fnrec987 ((i i) (acc acc)) (if (< i (jolt-count bindings)) (jolt-invoke ploop (+ i 2) (jolt-invoke proc (jolt-nth bindings i) (jolt-nth bindings (jolt-inc i)) acc)) acc))))) ploop))) (jolt-invoke ploop 0 (jolt-vector))))))) destructure)))
(guard (e (#t #f))
  (def-var! "clojure.core" "let"
    (lambda (bindings . body) (let fnrec988 ((bindings bindings) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "destructure") bindings))) body))))
  (mark-macro! "clojure.core" "let"))
(guard (e (#t #f))
  (def-var! "clojure.core" "loop"
    (lambda (bindings . body) (let fnrec989 ((bindings bindings) (body (list->cseq body))) (let* ((d (jolt-invoke (var-deref "clojure.core" "destructure") bindings))) (if (jolt= d bindings) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "loop*")) (jolt-invoke (var-deref "clojure.core" "__sq1") bindings) body) (let* ((bs (jolt-invoke (var-deref "clojure.core" "take-nth") 2 bindings)) (vs (jolt-invoke (var-deref "clojure.core" "take-nth") 2 (jolt-drop 1 bindings))) (gs (jolt-map (lambda (b) (let fnrec990 ((b b)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") b)) b (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke (var-deref "clojure.core" "gensym") )))))) bs)) (outer (jolt-reduce (lambda (acc t) (let fnrec991 ((acc acc) (t t)) (let* ((b (jolt-nth t 0)) (v (jolt-nth t 1)) (g (jolt-nth t 2))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") b)) (jolt-conj (jolt-conj acc g) v) (jolt-conj (jolt-conj (jolt-conj (jolt-conj acc g) v) b) g))))) (jolt-vector) (jolt-map jolt-vector bs vs gs))) (inner (jolt-reduce (lambda (acc t) (let fnrec992 ((acc acc) (t t)) (jolt-conj (jolt-conj acc (jolt-nth t 0)) (jolt-nth t 1)))) (jolt-vector) (jolt-map jolt-vector bs gs))) (loopv (jolt-reduce (lambda (acc g) (let fnrec993 ((acc acc) (g g)) (jolt-conj (jolt-conj acc g) g))) (jolt-vector) gs))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") outer)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "loop*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") loopv)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") inner)) body)))))))))))
  (mark-macro! "clojure.core" "loop"))
(guard (e (#t #f))
  (def-var! "clojure.core" "fn"
    (lambda raw (let fnrec994 ((raw (list->cseq raw))) (let* ((nm (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") (jolt-first raw))) (jolt-first raw) jolt-nil)) (aftn (if (jolt-truthy? nm) (jolt-next raw) raw)) (unhint (lambda (x) (let fnrec995 ((x x)) (if (jolt-truthy? (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") x)) (jolt= (jolt-symbol #f "with-meta") (jolt-first x)) #f)) (jolt-nth x 1) x)))) (md (letrec ((go (lambda (ps nps lets) (let fnrec996 ((ps ps) (nps nps) (lets lets)) (if (jolt-truthy? (jolt-seq ps)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") (jolt-first ps))) (jolt-invoke go (jolt-next ps) (jolt-conj nps (jolt-first ps)) lets) (let* ((g (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke (var-deref "clojure.core" "gensym") ))))) (jolt-invoke go (jolt-next ps) (jolt-conj nps g) (jolt-conj (jolt-conj lets (jolt-first ps)) g)))) (let* ((_o$997 nps) (_o$998 lets)) (jolt-vector _o$997 _o$998))))))) go)) (mk (lambda (sig) (let fnrec999 ((sig sig)) (let* ((ps (jolt-invoke unhint (jolt-first sig))) (hinted (jolt-not (jolt= ps (jolt-first sig)))) (r (jolt-invoke md (jolt-seq ps) (jolt-vector) (jolt-vector)))) (if (jolt-truthy? (if (jolt-empty? (jolt-nth r 1)) (jolt-not hinted) #f)) sig (let* ((pv (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-nth r 0))) (lv (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-nth r 1)))) (if (jolt-empty? (jolt-nth r 1)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") pv) (jolt-rest sig)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") pv) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") lv) (jolt-rest sig)))))))))))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") (jolt-invoke unhint (jolt-first aftn)))) (let* ((a (jolt-invoke mk aftn))) (if (jolt-truthy? nm) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*")) (jolt-invoke (var-deref "clojure.core" "__sq1") nm) a) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*")) a))) (let* ((as (jolt-invoke (var-deref "clojure.core" "vec") (jolt-map mk aftn)))) (if (jolt-truthy? nm) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*")) (jolt-invoke (var-deref "clojure.core" "__sq1") nm) as) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*")) as))))))))
  (mark-macro! "clojure.core" "fn"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defn"
    (lambda (fn-name . body) (let fnrec1000 ((fn-name fn-name) (body (list->cseq body))) (let* ((body (if (jolt-truthy? (let* ((and__13__auto (jolt-seq body))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "string?") (jolt-first body)) and__13__auto))) (jolt-rest body) body)) (body (if (jolt-truthy? (let* ((and__13__auto (jolt-seq body))) (if (jolt-truthy? and__13__auto) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "map?") (jolt-first body)))) (if (jolt-truthy? and__13__auto) (jolt-not (jolt-invoke (var-deref "clojure.core" "symbol?") (jolt-first body))) and__13__auto)) and__13__auto))) (jolt-rest body) body)) (fn-only-name (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") fn-name)) fn-name (jolt-first (jolt-rest fn-name))))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def")) (jolt-invoke (var-deref "clojure.core" "__sq1") fn-name) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") fn-only-name) body)))))))
  (mark-macro! "clojure.core" "defn"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defn-"
    (lambda (fn-name . body) (let fnrec1001 ((fn-name fn-name) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "defn")) (jolt-invoke (var-deref "clojure.core" "__sq1") fn-name) body))))
  (mark-macro! "clojure.core" "defn-"))
(guard (e (#t #f))
  (def-var! "clojure.core" "fresh-sym" (letrec ((fresh-sym (lambda () (let fnrec1002 () (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke (var-deref "clojure.core" "gensym") ))))))) fresh-sym)))
(guard (e (#t #f))
  (def-var! "clojure.core" "cond->"
    (lambda (expr . clauses) (let fnrec1003 ((expr expr) (clauses (list->cseq clauses))) (let* ((step (letrec ((step (lambda (prev cls) (let fnrec1004 ((prev prev) (cls cls)) (if (jolt-empty? cls) prev (let* ((t (jolt-first cls)) (f (jolt-nth cls 1)) (gn (jolt-invoke (var-deref "clojure.core" "fresh-sym") )) (call (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") f)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first f)) (jolt-invoke (var-deref "clojure.core" "__sq1") prev) (jolt-rest f)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") f) (jolt-invoke (var-deref "clojure.core" "__sq1") prev))))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") gn) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") t) (jolt-invoke (var-deref "clojure.core" "__sq1") call) (jolt-invoke (var-deref "clojure.core" "__sq1") prev))))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke step gn (jolt-drop 2 cls)))))))))) step)) (g0 (jolt-invoke (var-deref "clojure.core" "fresh-sym") ))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") g0) (jolt-invoke (var-deref "clojure.core" "__sq1") expr))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke step g0 clauses)))))))
  (mark-macro! "clojure.core" "cond->"))
(guard (e (#t #f))
  (def-var! "clojure.core" "case"
    (lambda (expr . clauses) (let fnrec1005 ((expr expr) (clauses (list->cseq clauses))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym") )) (mk-const (lambda (c) (let fnrec1006 ((c c)) (if (jolt-truthy? (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "symbol?") c))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "seq?") c)))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") c)) c)))) (mk-test (lambda (c) (let fnrec1007 ((c c)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") c)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "or")) (jolt-map (lambda (v) (let fnrec1008 ((v v)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "=")) (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke mk-const v))))) c)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "=")) (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke mk-const c))))))) (collect (letrec ((collect (lambda (cls acc) (let fnrec1009 ((cls cls) (acc acc)) (if (jolt-truthy? (let* ((or__14__auto (jolt-empty? cls))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-empty? (jolt-rest cls))))) acc (let* ((t (jolt-first cls)) (acc (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") t)) (jolt-reduce jolt-conj acc t) (jolt-conj acc t)))) (jolt-invoke collect (jolt-drop 2 cls) acc))))))) collect)) (first-dup (letrec ((fd (lambda (items seen) (let fnrec1010 ((items items) (seen seen)) (if (jolt-empty? items) jolt-nil (let* ((x (jolt-first items))) (if (jolt-truthy? (jolt-reduce (lambda (f s) (let fnrec1011 ((f f) (s s)) (let* ((or__14__auto f)) (if (jolt-truthy? or__14__auto) or__14__auto (jolt= s x))))) #f seen)) (jolt-vector x) (jolt-invoke fd (jolt-rest items) (jolt-conj seen x))))))))) fd)) (dup (jolt-invoke first-dup (jolt-invoke collect clauses (jolt-vector)) (jolt-vector))) (build (letrec ((build (lambda (cls) (let fnrec1012 ((cls cls)) (if (jolt-empty? cls) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "throw")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "ex-info")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "str")) (jolt-invoke (var-deref "clojure.core" "__sq1") "No matching clause: ") (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqmap") ))))) (if (jolt-empty? (jolt-rest cls)) (jolt-first cls) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke mk-test (jolt-first cls))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth cls 1)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke build (jolt-drop 2 cls)))))))))) build))) (if (jolt-truthy? dup) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "Duplicate case test constant: " (jolt-first dup))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") expr))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke build clauses))))))))
  (mark-macro! "clojure.core" "case"))
(guard (e (#t #f))
  (def-var! "clojure.core" "for"
    (lambda (bindings body) (let fnrec1013 ((bindings bindings) (body body)) (let* ((scan (letrec ((scan (lambda (bvec i bind coll mods) (let fnrec1014 ((bvec bvec) (i i) (bind bind) (coll coll) (mods mods)) (if (jolt-truthy? (let* ((and__13__auto (< i (jolt-count bvec)))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "keyword?") (jolt-nth bvec i)) and__13__auto))) (let* ((k (jolt-nth bvec i)) (v (jolt-nth bvec (jolt-inc i)))) (if (jolt= k (keyword #f "when")) (jolt-invoke scan bvec (+ i 2) bind coll (jolt-conj mods (let* ((_o$1021 (keyword #f "when")) (_o$1022 v)) (jolt-vector _o$1021 _o$1022)))) (if (jolt= k (keyword #f "let")) (jolt-invoke scan bvec (+ i 2) bind coll (jolt-conj mods (let* ((_o$1019 (keyword #f "let")) (_o$1020 v)) (jolt-vector _o$1019 _o$1020)))) (if (jolt= k (keyword #f "while")) (jolt-invoke scan bvec (+ i 2) bind (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "take-while")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") bind))) (jolt-invoke (var-deref "clojure.core" "__sq1") v))) (jolt-invoke (var-deref "clojure.core" "__sq1") coll)) mods) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke scan bvec (jolt-inc i) bind coll mods) jolt-nil))))) (let* ((_o$1015 i) (_o$1016 bind) (_o$1017 coll) (_o$1018 mods)) (jolt-vector _o$1015 _o$1016 _o$1017 _o$1018))))))) scan)) (parse-groups (letrec ((parse-groups (lambda (bvec i groups) (let fnrec1023 ((bvec bvec) (i i) (groups groups)) (if (>= i (jolt-count bvec)) groups (let* ((r (jolt-invoke scan bvec (+ i 2) (jolt-nth bvec i) (jolt-nth bvec (jolt-inc i)) (jolt-vector)))) (jolt-invoke parse-groups bvec (jolt-nth r 0) (jolt-conj groups (let* ((_o$1024 (jolt-nth r 1)) (_o$1025 (jolt-nth r 2)) (_o$1026 (jolt-nth r 3))) (jolt-vector _o$1024 _o$1025 _o$1026)))))))))) parse-groups)) (wrap-mods (letrec ((wrap-mods (lambda (mods inner) (let fnrec1027 ((mods mods) (inner inner)) (if (jolt-empty? mods) inner (let* ((m (jolt-first mods)) (sub (jolt-invoke wrap-mods (jolt-rest mods) inner))) (if (jolt= (jolt-first m) (keyword #f "when")) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth m 1)) (jolt-invoke (var-deref "clojure.core" "__sq1") sub) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") ))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth m 1)) (jolt-invoke (var-deref "clojure.core" "__sq1") sub))))))))) wrap-mods)) (build (letrec ((build (lambda (idx groups) (let fnrec1028 ((idx idx) (groups groups)) (let* ((g (jolt-nth groups idx)) (my-bind (jolt-nth g 0)) (my-coll (jolt-nth g 1)) (my-mods (jolt-nth g 2)) (is-last (jolt= idx (jolt-dec (jolt-count groups))))) (if (jolt-truthy? (let* ((and__13__auto is-last)) (if (jolt-truthy? and__13__auto) (jolt-empty? my-mods) and__13__auto))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "map")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") my-bind))) (jolt-invoke (var-deref "clojure.core" "__sq1") body))) (jolt-invoke (var-deref "clojure.core" "__sq1") my-coll)) (let* ((base (if (jolt-truthy? is-last) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "list")) (jolt-invoke (var-deref "clojure.core" "__sq1") body)) (jolt-invoke build (jolt-inc idx) groups)))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "mapcat")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") my-bind))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke wrap-mods my-mods base)))) (jolt-invoke (var-deref "clojure.core" "__sq1") my-coll))))))))) build))) (if (>= (jolt-count bindings) 2) (jolt-invoke build 0 (jolt-invoke parse-groups bindings 0 (jolt-vector))) body)))))
  (mark-macro! "clojure.core" "for"))
(guard (e (#t #f))
  (def-var! "clojure.core" "doseq"
    (lambda (bindings . body) (let fnrec1029 ((bindings bindings) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "count")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "for")) (jolt-invoke (var-deref "clojure.core" "__sq1") bindings) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) body (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil))))))) (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil)))))
  (mark-macro! "clojure.core" "doseq"))
(guard (e (#t #f))
  (def-var! "clojure.core" "when-let"
    (lambda (bindings . body) (let fnrec1030 ((bindings bindings) (body (list->cseq body))) (let* ((form (jolt-invoke bindings 0)) (tst (jolt-invoke bindings 1))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__15__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") tst))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__15__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") form) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__15__auto")))) body)) (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil))))))))
  (mark-macro! "clojure.core" "when-let"))
(guard (e (#t #f))
  (def-var! "clojure.core" "lazy-seq"
    (lambda body (let fnrec1031 ((body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-lazy-seq")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") )) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "coll->cells")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) body))))))))))
  (mark-macro! "clojure.core" "lazy-seq"))
(guard (e (#t #f))
  (def-var! "clojure.core" "lazy-cat"
    (lambda colls (let fnrec1032 ((colls (list->cseq colls))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "concat")) (jolt-map (lambda (c) (let fnrec1033 ((c c)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "lazy-seq")) (jolt-invoke (var-deref "clojure.core" "__sq1") c)))) colls)))))
  (mark-macro! "clojure.core" "lazy-cat"))
(guard (e (#t #f))
  (def-var! "clojure.core" "not=" (letrec ((not= (case-lambda ((x) (let fnrec1034 ((x x)) #f)) ((x y) (let fnrec1035 ((x x) (y y)) (jolt-not (jolt= x y)))) ((x y . more) (let fnrec1036 ((x x) (y y) (more (list->cseq more))) (jolt-not (jolt-apply jolt= x y more))))))) not=)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unreduced" (letrec ((unreduced (lambda (x) (let fnrec1037 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "reduced?") x)) (jolt-invoke (var-deref "clojure.core" "deref") x) x))))) unreduced)))
(guard (e (#t #f))
  (def-var! "clojure.core" "second" (letrec ((second (lambda (coll) (let fnrec1038 ((coll coll)) (jolt-first (jolt-next coll)))))) second)))
(guard (e (#t #f))
  (def-var! "clojure.core" "peek" (letrec ((peek (lambda (coll) (let fnrec1039 ((coll coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") coll)) jolt-nil (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") coll)) (if (jolt-zero? (jolt-count coll)) jolt-nil (jolt-nth coll (jolt-dec (jolt-count coll)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") coll)) (jolt-first coll) (if (jolt-truthy? (keyword #f "else")) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "peek not supported on: " coll)) jolt-nil)))))))) peek)))
(guard (e (#t #f))
  (def-var! "clojure.core" "subvec" (letrec ((subvec (case-lambda ((v start) (let fnrec1040 ((v v) (start start)) (jolt-invoke subvec v start (jolt-count v)))) ((v start end) (let fnrec1041 ((v v) (start start) (end end)) (begin (if (jolt-not (jolt-invoke (var-deref "clojure.core" "vector?") v)) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "subvec requires a vector")) jolt-nil) (let* ((coerce (lambda (x) (let fnrec1043 ((x x)) (if (jolt-not (jolt-invoke (var-deref "clojure.core" "number?") x)) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "subvec index must be a number")) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "not=") x x)) 0 (if (jolt-truthy? (keyword #f "else")) (quotient x 1) jolt-nil)))))) (s (jolt-invoke coerce start)) (e (jolt-invoke coerce end))) (begin (if (jolt-truthy? (let* ((or__14__auto (< s 0))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (< e s))) (if (jolt-truthy? or__14__auto) or__14__auto (< (jolt-count v) e)))))) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "subvec index out of range: " s " " e)) jolt-nil) (let* ((i s) (acc (jolt-vector))) (let loop1042 ((i i) (acc acc)) (if (< i e) (loop1042 (jolt-inc i) (jolt-conj acc (jolt-nth v i))) acc))))))))))) subvec)))
(guard (e (#t #f))
  (def-var! "clojure.core" "mapv" (letrec ((mapv (lambda (f . colls) (let fnrec1044 ((f f) (colls (list->cseq colls))) (jolt-invoke (var-deref "clojure.core" "vec") (jolt-apply jolt-map f colls)))))) mapv)))
(guard (e (#t #f))
  (def-var! "clojure.core" "update" (letrec ((update (lambda (m k f . args) (let fnrec1045 ((m m) (k k) (f f) (args (list->cseq args))) (jolt-assoc m k (jolt-apply f (jolt-get m k) args)))))) update)))
(guard (e (#t #f))
  (def-var! "clojure.core" "vreset!" (letrec ((vreset! (lambda (vol newval) (let fnrec498 ((vol vol) (newval newval)) (begin (jolt-invoke (var-deref "jolt.host" "ref-put!") vol (keyword #f "val") newval) newval))))) vreset!)))
(guard (e (#t #f))
  (def-var! "clojure.core" "vswap!" (letrec ((vswap! (lambda (vol f . args) (let fnrec499 ((vol vol) (f f) (args (list->cseq args))) (jolt-invoke (var-deref "clojure.core" "vreset!") vol (jolt-apply f (jolt-get vol (keyword #f "val")) args)))))) vswap!)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ffirst" (letrec ((ffirst (lambda (coll) (let fnrec500 ((coll coll)) (jolt-first (jolt-first coll)))))) ffirst)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nfirst" (letrec ((nfirst (lambda (coll) (let fnrec501 ((coll coll)) (jolt-next (jolt-first coll)))))) nfirst)))
(guard (e (#t #f))
  (def-var! "clojure.core" "fnext" (letrec ((fnext (lambda (coll) (let fnrec502 ((coll coll)) (jolt-first (jolt-next coll)))))) fnext)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nnext" (letrec ((nnext (lambda (coll) (let fnrec503 ((coll coll)) (jolt-next (jolt-next coll)))))) nnext)))
(guard (e (#t #f))
  (def-var! "clojure.core" "last" (letrec ((last (lambda (s) (let fnrec504 ((s s)) (if (jolt-truthy? (jolt-next s)) (fnrec504 (jolt-next s)) (jolt-first s)))))) last)))
(guard (e (#t #f))
  (def-var! "clojure.core" "butlast" (letrec ((butlast (lambda (s) (let fnrec505 ((s s)) (let* ((ret (jolt-vector)) (s s)) (let loop506 ((ret ret) (s s)) (if (jolt-truthy? (jolt-next s)) (loop506 (jolt-conj ret (jolt-first s)) (jolt-next s)) (jolt-seq ret)))))))) butlast)))
(guard (e (#t #f))
  (def-var! "clojure.core" "partition-by" (letrec ((partition-by (case-lambda ((f) (let fnrec507 ((f f)) (lambda (rf) (let fnrec508 ((rf rf)) (let* ((buf (jolt-invoke (var-deref "clojure.core" "volatile!") (jolt-vector))) (pv (jolt-invoke (var-deref "clojure.core" "volatile!") jolt-nil)) (started (jolt-invoke (var-deref "clojure.core" "volatile!") #f))) (case-lambda (() (let fnrec509 () (jolt-invoke rf ))) ((result) (let fnrec510 ((result result)) (let* ((b (jolt-invoke (var-deref "clojure.core" "deref") buf)) (result (if (jolt-zero? (jolt-count b)) result (begin (jolt-invoke (var-deref "clojure.core" "vreset!") buf (jolt-vector)) (jolt-invoke (var-deref "clojure.core" "unreduced") (jolt-invoke rf result b)))))) (jolt-invoke rf result)))) ((result input) (let fnrec511 ((result result) (input input)) (let* ((val (jolt-invoke f input))) (if (jolt-truthy? (let* ((or__14__auto (jolt-not (jolt-invoke (var-deref "clojure.core" "deref") started)))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt= val (jolt-invoke (var-deref "clojure.core" "deref") pv))))) (begin (jolt-invoke (var-deref "clojure.core" "vreset!") started #t) (jolt-invoke (var-deref "clojure.core" "vreset!") pv val) (jolt-invoke (var-deref "clojure.core" "vswap!") buf jolt-conj input) result) (let* ((b (jolt-invoke (var-deref "clojure.core" "deref") buf))) (begin (jolt-invoke (var-deref "clojure.core" "vreset!") buf (jolt-vector)) (jolt-invoke (var-deref "clojure.core" "vreset!") pv val) (let* ((ret (jolt-invoke rf result b))) (begin (if (jolt-not (jolt-invoke (var-deref "clojure.core" "reduced?") ret)) (jolt-invoke (var-deref "clojure.core" "vswap!") buf jolt-conj input) jolt-nil) ret)))))))))))))) ((f coll) (let fnrec512 ((f f) (coll coll)) (let* ((step (letrec ((step (lambda (s) (let fnrec513 ((s s)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec514 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((s (jolt-seq s))) (if (jolt-truthy? s) (let* ((fst (jolt-first s)) (fv (jolt-invoke f fst)) (run (jolt-cons fst (jolt-invoke (var-deref "clojure.core" "take-while") (lambda (x) (let fnrec516 ((x x)) (jolt= fv (jolt-invoke f x)))) (jolt-rest s))))) (jolt-cons run (jolt-invoke step (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec515 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-drop (jolt-count run) s)))))))) jolt-nil)))))))))) step))) (jolt-invoke step coll))))))) partition-by)))
(guard (e (#t #f))
  (def-var! "clojure.core" "some?" (letrec ((some? (lambda (x) (let fnrec517 ((x x)) (jolt-not (jolt-invoke (var-deref "clojure.core" "nil?") x)))))) some?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "identity" (letrec ((identity (lambda (x) (let fnrec518 ((x x)) x)))) identity)))
(guard (e (#t #f))
  (def-var! "clojure.core" "constantly" (letrec ((constantly (lambda (x) (let fnrec519 ((x x)) (lambda args (let fnrec520 ((args (list->cseq args))) x)))))) constantly)))
(guard (e (#t #f))
  (def-var! "clojure.core" "neg?" (letrec ((neg? (lambda (x) (let fnrec521 ((x x)) (< x 0))))) neg?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bit-and" (letrec ((bit-and (case-lambda ((x y) (let fnrec522 ((x x) (y y)) (jolt-invoke (var-deref "clojure.core" "__bit-and") x y))) ((x y . more) (let fnrec523 ((x x) (y y) (more (list->cseq more))) (jolt-reduce (var-deref "clojure.core" "__bit-and") (jolt-invoke (var-deref "clojure.core" "__bit-and") x y) more)))))) bit-and)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bit-or" (letrec ((bit-or (case-lambda ((x y) (let fnrec524 ((x x) (y y)) (jolt-invoke (var-deref "clojure.core" "__bit-or") x y))) ((x y . more) (let fnrec525 ((x x) (y y) (more (list->cseq more))) (jolt-reduce (var-deref "clojure.core" "__bit-or") (jolt-invoke (var-deref "clojure.core" "__bit-or") x y) more)))))) bit-or)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bit-xor" (letrec ((bit-xor (case-lambda ((x y) (let fnrec526 ((x x) (y y)) (jolt-invoke (var-deref "clojure.core" "__bit-xor") x y))) ((x y . more) (let fnrec527 ((x x) (y y) (more (list->cseq more))) (jolt-reduce (var-deref "clojure.core" "__bit-xor") (jolt-invoke (var-deref "clojure.core" "__bit-xor") x y) more)))))) bit-xor)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bit-and-not" (letrec ((bit-and-not (case-lambda ((x y) (let fnrec528 ((x x) (y y)) (jolt-invoke (var-deref "clojure.core" "__bit-and-not") x y))) ((x y . more) (let fnrec529 ((x x) (y y) (more (list->cseq more))) (jolt-reduce (var-deref "clojure.core" "__bit-and-not") (jolt-invoke (var-deref "clojure.core" "__bit-and-not") x y) more)))))) bit-and-not)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pr-str" (letrec ((pr-str (lambda xs (let fnrec530 ((xs (list->cseq xs))) (let* ((out "") (s (jolt-seq xs)) (first? #t)) (let loop531 ((out out) (s s) (first? first?)) (if (jolt-truthy? s) (loop531 (jolt-invoke (var-deref "clojure.core" "str") out (if (jolt-truthy? first?) "" " ") (jolt-invoke (var-deref "clojure.core" "__pr-str1") (jolt-first s))) (jolt-next s) #f) out))))))) pr-str)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pr" (letrec ((pr (lambda xs (let fnrec532 ((xs (list->cseq xs))) (begin (jolt-invoke (var-deref "clojure.core" "__write") (jolt-apply (var-deref "clojure.core" "pr-str") xs)) jolt-nil))))) pr)))
(guard (e (#t #f))
  (def-var! "clojure.core" "prn" (letrec ((prn (lambda xs (let fnrec533 ((xs (list->cseq xs))) (begin (jolt-apply (var-deref "clojure.core" "pr") xs) (jolt-invoke (var-deref "clojure.core" "__write") "\n") jolt-nil))))) prn)))
(guard (e (#t #f))
  (def-var! "clojure.core" "print" (letrec ((print (lambda xs (let fnrec534 ((xs (list->cseq xs))) (begin (jolt-invoke (var-deref "clojure.core" "__write") (let* ((out "") (s (jolt-seq xs)) (first? #t)) (let loop535 ((out out) (s s) (first? first?)) (if (jolt-truthy? s) (let* ((x (jolt-first s)) (r (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") x)) "nil" (jolt-invoke (var-deref "clojure.core" "str") x)))) (loop535 (jolt-invoke (var-deref "clojure.core" "str") out (if (jolt-truthy? first?) "" " ") r) (jolt-next s) #f)) out)))) jolt-nil))))) print)))
(guard (e (#t #f))
  (def-var! "clojure.core" "println" (letrec ((println (lambda xs (let fnrec536 ((xs (list->cseq xs))) (begin (jolt-apply (var-deref "clojure.core" "print") xs) (jolt-invoke (var-deref "clojure.core" "__write") "\n") jolt-nil))))) println)))
(guard (e (#t #f))
  (def-var! "clojure.core" "frequencies" (letrec ((frequencies (lambda (coll) (let fnrec537 ((coll coll)) (jolt-invoke (var-deref "clojure.core" "persistent!") (jolt-reduce (lambda (counts x) (let fnrec538 ((counts counts) (x x)) (jolt-invoke (var-deref "clojure.core" "assoc!") counts x (jolt-inc (jolt-get counts x 0))))) (jolt-invoke (var-deref "clojure.core" "transient") (jolt-hash-map)) coll)))))) frequencies)))
(guard (e (#t #f))
  (def-var! "clojure.core" "group-by" (letrec ((group-by (lambda (f coll) (let fnrec539 ((f f) (coll coll)) (let* ((tm (jolt-invoke (var-deref "clojure.core" "transient") (jolt-hash-map))) (ks (jolt-reduce (lambda (ks x) (let fnrec541 ((ks ks) (x x)) (let* ((k (jolt-invoke f x)) (b (jolt-get tm k))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") b)) (begin (jolt-invoke (var-deref "clojure.core" "assoc!") tm k (jolt-vector x)) (jolt-invoke (var-deref "clojure.core" "conj!") ks k)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") b)) (begin (jolt-invoke (var-deref "clojure.core" "assoc!") tm k (jolt-invoke (var-deref "clojure.core" "conj!") (jolt-invoke (var-deref "clojure.core" "transient") b) x)) ks) (begin (jolt-invoke (var-deref "clojure.core" "conj!") b x) ks)))))) (jolt-invoke (var-deref "clojure.core" "transient") (jolt-vector)) coll))) (begin (jolt-reduce (lambda (_ k) (let fnrec540 ((_ _) (k k)) (let* ((b (jolt-get tm k))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") b)) jolt-nil (jolt-invoke (var-deref "clojure.core" "assoc!") tm k (jolt-invoke (var-deref "clojure.core" "persistent!") b)))))) jolt-nil (jolt-invoke (var-deref "clojure.core" "persistent!") ks)) (jolt-invoke (var-deref "clojure.core" "persistent!") tm))))))) group-by)))
(guard (e (#t #f))
  (def-var! "clojure.core" "not-empty" (letrec ((not-empty (lambda (coll) (let fnrec542 ((coll coll)) (if (jolt-truthy? (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "nil?") coll))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-zero? (jolt-count coll))))) jolt-nil coll))))) not-empty)))
(guard (e (#t #f))
  (def-var! "clojure.core" "filterv" (letrec ((filterv (lambda (pred coll) (let fnrec543 ((pred pred) (coll coll)) (jolt-invoke (var-deref "clojure.core" "vec") (jolt-filter pred coll)))))) filterv)))
(guard (e (#t #f))
  (def-var! "clojure.core" "max-key" (letrec ((max-key (case-lambda ((k x) (let fnrec544 ((k k) (x x)) x)) ((k x y) (let fnrec545 ((k k) (x x) (y y)) (if (> (jolt-invoke k x) (jolt-invoke k y)) x y))) ((k x y . more) (let fnrec546 ((k k) (x x) (y y) (more (list->cseq more))) (let* ((kx (jolt-invoke k x)) (ky (jolt-invoke k y)) (v (if (> kx ky) x y)) (kv (if (> kx ky) kx ky))) (let* ((v v) (kv kv) (more more)) (let loop547 ((v v) (kv kv) (more more)) (if (jolt-truthy? (jolt-seq more)) (let* ((w (jolt-first more)) (kw (jolt-invoke k w))) (if (>= kw kv) (loop547 w kw (jolt-next more)) (loop547 v kv (jolt-next more)))) v))))))))) max-key)))
(guard (e (#t #f))
  (def-var! "clojure.core" "min-key" (letrec ((min-key (case-lambda ((k x) (let fnrec548 ((k k) (x x)) x)) ((k x y) (let fnrec549 ((k k) (x x) (y y)) (if (< (jolt-invoke k x) (jolt-invoke k y)) x y))) ((k x y . more) (let fnrec550 ((k k) (x x) (y y) (more (list->cseq more))) (let* ((kx (jolt-invoke k x)) (ky (jolt-invoke k y)) (v (if (< kx ky) x y)) (kv (if (< kx ky) kx ky))) (let* ((v v) (kv kv) (more more)) (let loop551 ((v v) (kv kv) (more more)) (if (jolt-truthy? (jolt-seq more)) (let* ((w (jolt-first more)) (kw (jolt-invoke k w))) (if (<= kw kv) (loop551 w kw (jolt-next more)) (loop551 v kv (jolt-next more)))) v))))))))) min-key)))
(guard (e (#t #f))
  (def-var! "clojure.core" "juxt" (letrec ((juxt (lambda fs (let fnrec552 ((fs (list->cseq fs))) (lambda args (let fnrec553 ((args (list->cseq args))) (jolt-invoke (var-deref "clojure.core" "mapv") (lambda (f) (let fnrec554 ((f f)) (jolt-apply f args))) fs))))))) juxt)))
(guard (e (#t #f))
  (def-var! "clojure.core" "every-pred" (letrec ((every-pred (lambda preds (let fnrec555 ((preds (list->cseq preds))) (lambda xs (let fnrec556 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (p) (let fnrec557 ((p p)) (jolt-invoke (var-deref "clojure.core" "every?") p xs))) preds))))))) every-pred)))
(guard (e (#t #f))
  (def-var! "clojure.core" "some" (letrec ((some (lambda (pred coll) (let fnrec558 ((pred pred) (coll coll)) (let* ((temp__15__auto (jolt-seq coll))) (if (jolt-truthy? temp__15__auto) (let* ((s temp__15__auto)) (let* ((or__14__auto (jolt-invoke pred (jolt-first s)))) (if (jolt-truthy? or__14__auto) or__14__auto (fnrec558 pred (jolt-next s))))) jolt-nil)))))) some)))
(guard (e (#t #f))
  (def-var! "clojure.core" "some-fn" (letrec ((some-fn (lambda preds (let fnrec559 ((preds (list->cseq preds))) (lambda xs (let fnrec560 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "some") (lambda (p) (let fnrec561 ((p p)) (jolt-invoke (var-deref "clojure.core" "some") p xs))) preds))))))) some-fn)))
(guard (e (#t #f))
  (def-var! "clojure.core" "not-any?" (letrec ((not-any? (lambda (pred coll) (let fnrec562 ((pred pred) (coll coll)) (jolt-not (jolt-invoke (var-deref "clojure.core" "some") pred coll)))))) not-any?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "not-every?" (letrec ((not-every? (lambda (pred coll) (let fnrec563 ((pred pred) (coll coll)) (jolt-not (jolt-invoke (var-deref "clojure.core" "every?") pred coll)))))) not-every?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "split-at" (letrec ((split-at (lambda (n coll) (let fnrec564 ((n n) (coll coll)) (let* ((_o$565 (jolt-take n coll)) (_o$566 (jolt-drop n coll))) (jolt-vector _o$565 _o$566)))))) split-at)))
(guard (e (#t #f))
  (def-var! "clojure.core" "split-with" (letrec ((split-with (lambda (pred coll) (let fnrec567 ((pred pred) (coll coll)) (let* ((_o$568 (jolt-invoke (var-deref "clojure.core" "take-while") pred coll)) (_o$569 (jolt-invoke (var-deref "clojure.core" "drop-while") pred coll))) (jolt-vector _o$568 _o$569)))))) split-with)))
(guard (e (#t #f))
  (def-var! "clojure.core" "qualified-keyword?" (letrec ((qualified-keyword? (lambda (x) (let fnrec570 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "keyword?") x))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "some?") (jolt-invoke (var-deref "clojure.core" "namespace") x)) and__13__auto)))))) qualified-keyword?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "simple-keyword?" (letrec ((simple-keyword? (lambda (x) (let fnrec571 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "keyword?") x))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-invoke (var-deref "clojure.core" "namespace") x)) and__13__auto)))))) simple-keyword?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "qualified-symbol?" (letrec ((qualified-symbol? (lambda (x) (let fnrec572 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "symbol?") x))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "some?") (jolt-invoke (var-deref "clojure.core" "namespace") x)) and__13__auto)))))) qualified-symbol?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "simple-symbol?" (letrec ((simple-symbol? (lambda (x) (let fnrec573 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "symbol?") x))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-invoke (var-deref "clojure.core" "namespace") x)) and__13__auto)))))) simple-symbol?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ident?" (letrec ((ident? (lambda (x) (let fnrec574 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "keyword?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "symbol?") x))))))) ident?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "qualified-ident?" (letrec ((qualified-ident? (lambda (x) (let fnrec575 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "qualified-symbol?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "qualified-keyword?") x))))))) qualified-ident?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "simple-ident?" (letrec ((simple-ident? (lambda (x) (let fnrec576 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "simple-symbol?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "simple-keyword?") x))))))) simple-ident?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ratio?" (letrec ((ratio? (lambda (x) (let fnrec577 ((x x)) #f)))) ratio?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "decimal?" (letrec ((decimal? (lambda (x) (let fnrec578 ((x x)) #f)))) decimal?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "class?" (letrec ((class? (lambda (x) (let fnrec579 ((x x)) #f)))) class?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "rational?" (letrec ((rational? (lambda (x) (let fnrec580 ((x x)) (jolt-invoke (var-deref "clojure.core" "int?") x))))) rational?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nat-int?" (letrec ((nat-int? (lambda (x) (let fnrec581 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "int?") x))) (if (jolt-truthy? and__13__auto) (>= x 0) and__13__auto)))))) nat-int?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "neg-int?" (letrec ((neg-int? (lambda (x) (let fnrec582 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "int?") x))) (if (jolt-truthy? and__13__auto) (jolt-neg? x) and__13__auto)))))) neg-int?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pos-int?" (letrec ((pos-int? (lambda (x) (let fnrec583 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "int?") x))) (if (jolt-truthy? and__13__auto) (jolt-pos? x) and__13__auto)))))) pos-int?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "replicate" (letrec ((replicate (lambda (n x) (let fnrec584 ((n n) (x x)) (jolt-map (lambda (_) (let fnrec585 ((_ _)) x)) (jolt-range n)))))) replicate)))
(guard (e (#t #f))
  (def-var! "clojure.core" "take-last" (letrec ((take-last (lambda (n coll) (let fnrec586 ((n n) (coll coll)) (let* ((c (jolt-invoke (var-deref "clojure.core" "vec") coll)) (len (jolt-count c))) (if (jolt-pos? len) (jolt-invoke (var-deref "clojure.core" "subvec") c (max 0 (- len n))) jolt-nil)))))) take-last)))
(guard (e (#t #f))
  (def-var! "clojure.core" "drop-last" (letrec ((drop-last (case-lambda ((coll) (let fnrec587 ((coll coll)) (jolt-invoke drop-last 1 coll))) ((n coll) (let fnrec588 ((n n) (coll coll)) (let* ((c (jolt-invoke (var-deref "clojure.core" "vec") coll))) (jolt-invoke (var-deref "clojure.core" "subvec") c 0 (max 0 (- (jolt-count c) n))))))))) drop-last)))
(guard (e (#t #f))
  (def-var! "clojure.core" "distinct?" (letrec ((distinct? (case-lambda ((x) (let fnrec589 ((x x)) #t)) ((x y) (let fnrec590 ((x x) (y y)) (jolt-not (jolt= x y)))) ((x y . more) (let fnrec591 ((x x) (y y) (more (list->cseq more))) (if (jolt-not (jolt= x y)) (let* ((s (let* ((_o$593 x) (_o$594 y)) (jolt-hash-set _o$593 _o$594))) (xs more)) (let loop592 ((s s) (xs xs)) (if (jolt-truthy? xs) (let* ((x (jolt-first xs))) (if (jolt-contains? s x) #f (loop592 (jolt-conj s x) (jolt-next xs)))) #t))) #f)))))) distinct?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "replace" (letrec ((replace (lambda (smap coll) (let fnrec595 ((smap smap) (coll coll)) (jolt-invoke (var-deref "clojure.core" "mapv") (lambda (x) (let fnrec596 ((x x)) (jolt-get smap x x))) coll))))) replace)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nthnext" (letrec ((nthnext (lambda (coll n) (let fnrec597 ((coll coll) (n n)) (let* ((n n) (xs (jolt-seq coll))) (let loop598 ((n n) (xs xs)) (if (jolt-truthy? (let* ((and__13__auto xs)) (if (jolt-truthy? and__13__auto) (jolt-pos? n) and__13__auto))) (loop598 (jolt-dec n) (jolt-next xs)) xs))))))) nthnext)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bounded-count" (letrec ((bounded-count (lambda (n coll) (let fnrec599 ((n n) (coll coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "counted?") coll)) (jolt-count coll) (let* ((i 0) (s (jolt-seq coll))) (let loop600 ((i i) (s s)) (if (jolt-truthy? (let* ((and__13__auto s)) (if (jolt-truthy? and__13__auto) (< i n) and__13__auto))) (loop600 (jolt-inc i) (jolt-next s)) i)))))))) bounded-count)))
(guard (e (#t #f))
  (def-var! "clojure.core" "run!" (letrec ((run! (lambda (proc coll) (let fnrec601 ((proc proc) (coll coll)) (begin (jolt-reduce (lambda (_ x) (let fnrec602 ((_ _) (x x)) (begin (jolt-invoke proc x) jolt-nil))) jolt-nil coll) jolt-nil))))) run!)))
(guard (e (#t #f))
  (def-var! "clojure.core" "completing" (letrec ((completing (case-lambda ((f) (let fnrec603 ((f f)) (jolt-invoke completing f jolt-identity))) ((f cf) (let fnrec604 ((f f) (cf cf)) (case-lambda (() (let fnrec605 () (jolt-invoke f ))) ((x) (let fnrec606 ((x x)) (jolt-invoke cf x))) ((x y) (let fnrec607 ((x x) (y y)) (jolt-invoke f x y))))))))) completing)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nthrest" (letrec ((nthrest (lambda (coll n) (let fnrec608 ((coll coll) (n n)) (if (jolt-pos? n) (let* ((or__14__auto (let* ((n n) (xs coll)) (let loop609 ((n n) (xs xs)) (let* ((s (let* ((and__13__auto (jolt-pos? n))) (if (jolt-truthy? and__13__auto) (jolt-seq xs) and__13__auto)))) (if (jolt-truthy? s) (loop609 (jolt-dec n) (jolt-rest s)) (jolt-seq xs))))))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-list ))) coll))))) nthrest)))
(guard (e (#t #f))
  (def-var! "clojure.core" "abs" (letrec ((abs (lambda (x) (let fnrec610 ((x x)) (if (jolt-neg? x) (- 0 x) x))))) abs)))
(guard (e (#t #f))
  (def-var! "clojure.core" "NaN?" (letrec ((NaN? (lambda (x) (let fnrec611 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "number?") x)) (jolt-not (jolt= x x)) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "NaN? requires a number"))))))) NaN?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "object?" (letrec ((object? (lambda (x) (let fnrec612 ((x x)) #f)))) object?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "undefined?" (letrec ((undefined? (lambda (x) (let fnrec613 ((x x)) #f)))) undefined?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "keyword-identical?" (letrec ((keyword-identical? (lambda (a b) (let fnrec614 ((a a) (b b)) (jolt= a b))))) keyword-identical?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "any?" (letrec ((any? (lambda (x) (let fnrec615 ((x x)) #t)))) any?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "printf" (letrec ((printf (lambda (fmt . args) (let fnrec616 ((fmt fmt) (args (list->cseq args))) (jolt-invoke (var-deref "clojure.core" "print") (jolt-apply (var-deref "clojure.core" "format") fmt args)))))) printf)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bound?" (letrec ((bound? (lambda vars (let fnrec617 ((vars (list->cseq vars))) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (v) (let fnrec618 ((v v)) (jolt-invoke (var-deref "clojure.core" "some?") (jolt-get v (keyword #f "root"))))) vars))))) bound?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-bindings*" (letrec ((with-bindings* (lambda (binding-map f . args) (let fnrec619 ((binding-map binding-map) (f f) (args (list->cseq args))) (begin (jolt-invoke (var-deref "clojure.core" "push-thread-bindings") binding-map) (dynamic-wind (lambda () #f) (lambda () (jolt-apply f args)) (lambda () (jolt-invoke (var-deref "clojure.core" "pop-thread-bindings") )))))))) with-bindings*)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bound-fn*" (letrec ((bound-fn* (lambda (f) (let fnrec620 ((f f)) (let* ((bs (jolt-invoke (var-deref "clojure.core" "get-thread-bindings") ))) (lambda args (let fnrec621 ((args (list->cseq args))) (jolt-apply (var-deref "clojure.core" "with-bindings*") bs f args)))))))) bound-fn*)))
(guard (e (#t #f))
  (def-var! "clojure.core" "thread-bound?" (letrec ((thread-bound? (lambda vars (let fnrec622 ((vars (list->cseq vars))) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (v) (let fnrec623 ((v v)) (jolt-invoke (var-deref "clojure.core" "__thread-bound?") v))) vars))))) thread-bound?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "key" (letrec ((key (lambda (e) (let fnrec624 ((e e)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map-entry?") e)) (jolt-nth e 0) (jolt-throw (jolt-ex-info "key requires a map entry" (jolt-hash-map)))))))) key)))
(guard (e (#t #f))
  (def-var! "clojure.core" "val" (letrec ((val (lambda (e) (let fnrec625 ((e e)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map-entry?") e)) (jolt-nth e 1) (jolt-throw (jolt-ex-info "val requires a map entry" (jolt-hash-map)))))))) val)))
(guard (e (#t #f))
  (def-var! "clojure.core" "make-hierarchy" (letrec ((make-hierarchy (lambda () (let fnrec626 () (let* ((_o$627 (keyword #f "parents")) (_o$628 (jolt-hash-map)) (_o$629 (keyword #f "descendants")) (_o$630 (jolt-hash-map)) (_o$631 (keyword #f "ancestors")) (_o$632 (jolt-hash-map))) (jolt-hash-map _o$627 _o$628 _o$629 _o$630 _o$631 _o$632)))))) make-hierarchy)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "global-hierarchy" (jolt-invoke (var-deref "clojure.core" "atom") (jolt-invoke (var-deref "clojure.core" "make-hierarchy") )) (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "isa?" (letrec ((isa? (case-lambda ((child parent) (let fnrec633 ((child child) (parent parent)) (jolt-invoke isa? (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "global-hierarchy")) child parent))) ((h child parent) (let fnrec634 ((h h) (child child) (parent parent)) (let* ((or__14__auto (jolt= child parent))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-contains? (jolt-get (jolt-get h (keyword #f "ancestors")) child (jolt-hash-set)) parent))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "vector?") parent))) (if (jolt-truthy? and__13__auto) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "vector?") child))) (if (jolt-truthy? and__13__auto) (let* ((and__13__auto (jolt= (jolt-count parent) (jolt-count child)))) (if (jolt-truthy? and__13__auto) (let* ((ret #t) (i 0)) (let loop635 ((ret ret) (i i)) (if (jolt-truthy? (let* ((or__14__auto (jolt-not ret))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt= i (jolt-count parent))))) ret (loop635 (jolt-invoke isa? h (jolt-nth child i) (jolt-nth parent i)) (jolt-inc i))))) and__13__auto)) and__13__auto)) and__13__auto))))))))))) isa?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "parents" (letrec ((parents (case-lambda ((tag) (let fnrec636 ((tag tag)) (jolt-invoke parents (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "global-hierarchy")) tag))) ((h tag) (let fnrec637 ((h h) (tag tag)) (jolt-invoke (var-deref "clojure.core" "not-empty") (jolt-get (jolt-get h (keyword #f "parents")) tag))))))) parents)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ancestors" (letrec ((ancestors (case-lambda ((tag) (let fnrec638 ((tag tag)) (jolt-invoke ancestors (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "global-hierarchy")) tag))) ((h tag) (let fnrec639 ((h h) (tag tag)) (jolt-invoke (var-deref "clojure.core" "not-empty") (jolt-get (jolt-get h (keyword #f "ancestors")) tag))))))) ancestors)))
(guard (e (#t #f))
  (def-var! "clojure.core" "descendants" (letrec ((descendants (case-lambda ((tag) (let fnrec640 ((tag tag)) (jolt-invoke descendants (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "global-hierarchy")) tag))) ((h tag) (let fnrec641 ((h h) (tag tag)) (jolt-invoke (var-deref "clojure.core" "not-empty") (jolt-get (jolt-get h (keyword #f "descendants")) tag))))))) descendants)))
(guard (e (#t #f))
  (def-var! "clojure.core" "derive" (letrec ((derive (case-lambda ((tag parent) (let fnrec642 ((tag tag) (parent parent)) (begin (jolt-invoke (var-deref "clojure.core" "swap!") (var-deref "clojure.core" "global-hierarchy") derive tag parent) jolt-nil))) ((h tag parent) (let fnrec643 ((h h) (tag tag) (parent parent)) (let* ((tp (jolt-get h (keyword #f "parents"))) (td (jolt-get h (keyword #f "descendants"))) (ta (jolt-get h (keyword #f "ancestors"))) (tf (lambda (m source sources target targets) (let fnrec650 ((m m) (source source) (sources sources) (target target) (targets targets)) (jolt-reduce (lambda (ret k) (let fnrec651 ((ret ret) (k k)) (jolt-assoc ret k (jolt-reduce jolt-conj (jolt-get targets k (jolt-hash-set)) (jolt-cons target (jolt-get targets target)))))) m (jolt-cons source (jolt-get sources source))))))) (let* ((or__14__auto (if (jolt-not (jolt-contains? (jolt-get tp tag (jolt-hash-set)) parent)) (begin (if (jolt-contains? (jolt-get ta tag (jolt-hash-set)) parent) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") tag " already has " parent " as ancestor")) jolt-nil) (if (jolt-contains? (jolt-get ta parent (jolt-hash-set)) tag) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "Cyclic derivation: " parent " has " tag " as ancestor")) jolt-nil) (let* ((_o$644 (keyword #f "parents")) (_o$645 (jolt-assoc tp tag (jolt-conj (jolt-get tp tag (jolt-hash-set)) parent))) (_o$646 (keyword #f "ancestors")) (_o$647 (jolt-invoke tf ta tag td parent ta)) (_o$648 (keyword #f "descendants")) (_o$649 (jolt-invoke tf td parent ta tag td))) (jolt-hash-map _o$644 _o$645 _o$646 _o$647 _o$648 _o$649))) jolt-nil))) (if (jolt-truthy? or__14__auto) or__14__auto h)))))))) derive)))
(guard (e (#t #f))
  (def-var! "clojure.core" "underive" (letrec ((underive (case-lambda ((tag parent) (let fnrec652 ((tag tag) (parent parent)) (begin (jolt-invoke (var-deref "clojure.core" "swap!") (var-deref "clojure.core" "global-hierarchy") underive tag parent) jolt-nil))) ((h tag parent) (let fnrec653 ((h h) (tag tag) (parent parent)) (let* ((parent-map (jolt-get h (keyword #f "parents"))) (childs-parents (if (jolt-truthy? (jolt-get parent-map tag)) (jolt-invoke (var-deref "clojure.core" "disj") (jolt-get parent-map tag) parent) (jolt-hash-set))) (new-parents (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "not-empty") childs-parents)) (jolt-assoc parent-map tag childs-parents) (jolt-dissoc parent-map tag))) (deriv-seq (jolt-invoke (var-deref "clojure.core" "mapcat") (lambda (e) (let fnrec655 ((e e)) (jolt-cons (jolt-invoke (var-deref "clojure.core" "key") e) (jolt-invoke (var-deref "clojure.core" "interpose") (jolt-invoke (var-deref "clojure.core" "key") e) (jolt-invoke (var-deref "clojure.core" "val") e))))) (jolt-seq new-parents)))) (if (jolt-contains? (jolt-get parent-map tag (jolt-hash-set)) parent) (jolt-reduce (lambda (p G__27) (let fnrec654 ((p p) (G__27 G__27)) (let* ((G__28 G__27) (t (jolt-nth G__28 0 jolt-nil)) (pr (jolt-nth G__28 1 jolt-nil))) (jolt-invoke (var-deref "clojure.core" "derive") p t pr)))) (jolt-invoke (var-deref "clojure.core" "make-hierarchy") ) (jolt-invoke (var-deref "clojure.core" "partition") 2 deriv-seq)) h))))))) underive)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sequential?" (letrec ((sequential? (lambda (x) (let fnrec656 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "vector?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "seq?") x))))))) sequential?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "associative?" (letrec ((associative? (lambda (x) (let fnrec657 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "map?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "vector?") x))))))) associative?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "counted?" (letrec ((counted? (lambda (x) (let fnrec658 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "vector?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "map?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "set?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "list?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "string?") x))))))))))))) counted?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "indexed?" (letrec ((indexed? (lambda (x) (let fnrec659 ((x x)) (jolt-invoke (var-deref "clojure.core" "vector?") x))))) indexed?)))
(guard (e (#t #f))
  (declare-var! "clojure.core" "sorted?"))
(guard (e (#t #f))
  (def-var! "clojure.core" "reversible?" (letrec ((reversible? (lambda (x) (let fnrec660 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "vector?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "sorted?") x))))))) reversible?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "seqable?" (letrec ((seqable? (lambda (x) (let fnrec661 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "nil?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "coll?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "string?") x))))))))) seqable?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "boolean?" (letrec ((boolean? (lambda (x) (let fnrec662 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "true?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "false?") x))))))) boolean?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "double?" (letrec ((double? (lambda (x) (let fnrec663 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "number?") x))) (if (jolt-truthy? and__13__auto) (jolt-not (jolt-invoke (var-deref "clojure.core" "integer?") x)) and__13__auto)))))) double?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "float?" (letrec ((float? (lambda (x) (let fnrec664 ((x x)) (jolt-invoke (var-deref "clojure.core" "double?") x))))) float?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "infinite?" (letrec ((infinite? (lambda (x) (let fnrec665 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "number?") x))) (if (jolt-truthy? and__13__auto) (let* ((or__14__auto (jolt= x +inf.0))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt= x -inf.0))) and__13__auto)))))) infinite?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "atom?" (letrec ((atom? (lambda (x) (let fnrec666 ((x x)) (jolt= (jolt-get x (keyword "jolt" "type")) (keyword "jolt" "atom")))))) atom?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "volatile?" (letrec ((volatile? (lambda (x) (let fnrec667 ((x x)) (jolt= (jolt-get x (keyword "jolt" "type")) (keyword "jolt" "volatile")))))) volatile?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "reader-conditional?" (letrec ((reader-conditional? (lambda (x) (let fnrec668 ((x x)) (jolt= (jolt-get x (keyword "jolt" "type")) (keyword "jolt" "reader-conditional")))))) reader-conditional?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tagged-literal?" (letrec ((tagged-literal? (lambda (x) (let fnrec669 ((x x)) (jolt= (jolt-get x (keyword "jolt" "type")) (keyword "jolt" "tagged-literal")))))) tagged-literal?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "record?" (letrec ((record? (lambda (x) (let fnrec670 ((x x)) (jolt-invoke (var-deref "clojure.core" "some?") (jolt-get x (keyword "jolt" "deftype"))))))) record?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "uuid?" (letrec ((uuid? (lambda (x) (let fnrec671 ((x x)) (jolt= (jolt-get x (keyword "jolt" "type")) (keyword "jolt" "uuid")))))) uuid?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "inst?" (letrec ((inst? (lambda (x) (let fnrec672 ((x x)) (jolt= (jolt-get x (keyword "jolt" "type")) (keyword "jolt" "inst")))))) inst?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "char?" (letrec ((char? (lambda (x) (let fnrec673 ((x x)) (jolt= (jolt-get x (keyword "jolt" "type")) (keyword "jolt" "char")))))) char?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "realized?" (letrec ((realized? (lambda (x) (let fnrec674 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "delay?") x)) (jolt-invoke (var-deref "clojure.core" "boolean") (jolt-get x (keyword #f "realized"))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "future?") x)) (jolt-invoke (var-deref "clojure.core" "boolean") (jolt-get x (keyword #f "cached"))) (if (jolt= (keyword "jolt" "lazy-seq") (jolt-get x (keyword "jolt" "type"))) (jolt-invoke (var-deref "clojure.core" "boolean") (jolt-get x (keyword #f "realized"))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "atom?") x)) #t (if (jolt-truthy? (keyword #f "else")) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "realized? not supported on: " x)) jolt-nil))))))))) realized?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "force" (letrec ((force (lambda (x) (let fnrec675 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "delay?") x)) (jolt-invoke (var-deref "clojure.core" "deref") x) x))))) force)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pop" (letrec ((pop (lambda (coll) (let fnrec676 ((coll coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") coll)) jolt-nil (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") coll)) (if (jolt-zero? (jolt-count coll)) (jolt-throw "Can't pop empty vector") (jolt-invoke (var-deref "clojure.core" "subvec") coll 0 (jolt-dec (jolt-count coll)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-seq coll))) (jolt-throw "Can't pop empty list") (jolt-rest coll)) (if (jolt-truthy? (keyword #f "else")) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "pop not supported on: " coll)) jolt-nil)))))))) pop)))
(guard (e (#t #f))
  (def-var! "clojure.core" "dorun" (letrec ((dorun (case-lambda ((coll) (let fnrec677 ((coll coll)) (let* ((s (jolt-seq coll))) (let loop678 ((s s)) (if (jolt-truthy? s) (loop678 (jolt-next s)) jolt-nil))))) ((n coll) (let fnrec679 ((n n) (coll coll)) (let* ((n n) (s (jolt-seq coll))) (let loop680 ((n n) (s s)) (if (jolt-truthy? (let* ((and__13__auto s)) (if (jolt-truthy? and__13__auto) (jolt-pos? n) and__13__auto))) (loop680 (jolt-dec n) (jolt-next s)) jolt-nil)))))))) dorun)))
(guard (e (#t #f))
  (def-var! "clojure.core" "doall" (letrec ((doall (case-lambda ((coll) (let fnrec681 ((coll coll)) (begin (jolt-invoke (var-deref "clojure.core" "dorun") coll) coll))) ((n coll) (let fnrec682 ((n n) (coll coll)) (begin (jolt-invoke (var-deref "clojure.core" "dorun") n coll) coll)))))) doall)))
(guard (e (#t #f))
  (def-var! "clojure.core" "spread" (letrec ((spread (lambda (arglist) (let fnrec683 ((arglist arglist)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") arglist)) jolt-nil (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-next arglist))) (jolt-seq (jolt-first arglist)) (if (jolt-truthy? (keyword #f "else")) (jolt-cons (jolt-first arglist) (jolt-invoke spread (jolt-next arglist))) jolt-nil))))))) spread)))
(guard (e (#t #f))
  (def-var! "clojure.core" "list*" (letrec ((list* (case-lambda ((args) (let fnrec684 ((args args)) (jolt-seq args))) ((a args) (let fnrec685 ((a a) (args args)) (jolt-cons a args))) ((a b args) (let fnrec686 ((a a) (b b) (args args)) (jolt-cons a (jolt-cons b args)))) ((a b c args) (let fnrec687 ((a a) (b b) (c c) (args args)) (jolt-cons a (jolt-cons b (jolt-cons c args))))) ((a b c d . more) (let fnrec688 ((a a) (b b) (c c) (d d) (more (list->cseq more))) (jolt-cons a (jolt-cons b (jolt-cons c (jolt-cons d (jolt-invoke (var-deref "clojure.core" "spread") more)))))))))) list*)))
(guard (e (#t #f))
  (def-var! "clojure.core" "print-str" (letrec ((print-str (lambda xs (let fnrec689 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "__with-out-str") (lambda () (let fnrec690 () (jolt-apply (var-deref "clojure.core" "print") xs)))))))) print-str)))
(guard (e (#t #f))
  (def-var! "clojure.core" "println-str" (letrec ((println-str (lambda xs (let fnrec691 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "__with-out-str") (lambda () (let fnrec692 () (jolt-apply (var-deref "clojure.core" "println") xs)))))))) println-str)))
(guard (e (#t #f))
  (def-var! "clojure.core" "prn-str" (letrec ((prn-str (lambda xs (let fnrec693 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "__with-out-str") (lambda () (let fnrec694 () (jolt-apply (var-deref "clojure.core" "prn") xs)))))))) prn-str)))
(guard (e (#t #f))
  (def-var! "clojure.core" "rand-int" (letrec ((rand-int (lambda (n) (let fnrec695 ((n n)) (jolt-invoke (var-deref "clojure.core" "int") (jolt-invoke (var-deref "clojure.core" "rand") n)))))) rand-int)))
(guard (e (#t #f))
  (def-var! "clojure.core" "shuffle" (letrec ((shuffle (lambda (coll) (let fnrec696 ((coll coll)) (begin (if (jolt-not (jolt-invoke (var-deref "clojure.core" "coll?") coll)) (jolt-throw (jolt-ex-info (jolt-invoke (var-deref "clojure.core" "str") "shuffle requires a collection, got: " coll) (jolt-hash-map))) jolt-nil) (let* ((v (jolt-invoke (var-deref "clojure.core" "vec") coll)) (i (jolt-dec (jolt-count v)))) (let loop697 ((v v) (i i)) (if (jolt-pos? i) (let* ((j (jolt-invoke (var-deref "clojure.core" "rand-int") (jolt-inc i))) (t (jolt-nth v i))) (loop697 (jolt-assoc (jolt-assoc v i (jolt-nth v j)) j t) (jolt-dec i))) v)))))))) shuffle)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sort-by" (letrec ((sort-by (case-lambda ((keyfn coll) (let fnrec698 ((keyfn keyfn) (coll coll)) (jolt-invoke sort-by keyfn (var-deref "clojure.core" "compare") coll))) ((keyfn comp coll) (let fnrec699 ((keyfn keyfn) (comp comp) (coll coll)) (jolt-invoke (var-deref "clojure.core" "sort") (lambda (x y) (let fnrec700 ((x x) (y y)) (jolt-invoke comp (jolt-invoke keyfn x) (jolt-invoke keyfn y)))) coll)))))) sort-by)))
(guard (e (#t #f))
  (def-var! "clojure.core" "parse-uuid" (letrec ((parse-uuid (lambda (s) (let fnrec701 ((s s)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "string?") s)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "re-matches") (jolt-regex "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}") s)) (jolt-invoke (var-deref "clojure.core" "__make-uuid") s) jolt-nil) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "parse-uuid requires a string, got: " s))))))) parse-uuid)))
(guard (e (#t #f))
  (def-var! "clojure.core" "random-uuid" (letrec ((random-uuid (lambda () (let fnrec702 () (let* ((hx4 (lambda () (let fnrec703 () (jolt-invoke (var-deref "clojure.core" "format") "%04x" (jolt-invoke (var-deref "clojure.core" "rand-int") 65536))))) (hx3 (lambda () (let fnrec704 () (jolt-invoke (var-deref "clojure.core" "format") "%03x" (jolt-invoke (var-deref "clojure.core" "rand-int") 4096)))))) (jolt-invoke (var-deref "clojure.core" "parse-uuid") (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke hx4 ) (jolt-invoke hx4 ) "-" (jolt-invoke hx4 ) "-4" (jolt-invoke hx3 ) "-" (jolt-invoke (var-deref "clojure.core" "format") "%x" (+ 8 (jolt-invoke (var-deref "clojure.core" "rand-int") 4))) (jolt-invoke hx3 ) "-" (jolt-invoke hx4 ) (jolt-invoke hx4 ) (jolt-invoke hx4 )))))))) random-uuid)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "char-escape-strings" (let* ((_o$705 (integer->char 10)) (_o$706 "\\n") (_o$707 (integer->char 9)) (_o$708 "\\t") (_o$709 (integer->char 13)) (_o$710 "\\r") (_o$711 (integer->char 12)) (_o$712 "\\f") (_o$713 (integer->char 8)) (_o$714 "\\b") (_o$715 (integer->char 34)) (_o$716 "\\\"") (_o$717 (integer->char 92)) (_o$718 "\\\\")) (jolt-hash-map _o$705 _o$706 _o$707 _o$708 _o$709 _o$710 _o$711 _o$712 _o$713 _o$714 _o$715 _o$716 _o$717 _o$718)) (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "char-escape-string" (letrec ((char-escape-string (lambda (c) (let fnrec719 ((c c)) (jolt-get (var-deref "clojure.core" "char-escape-strings") c))))) char-escape-string)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "char-name-strings" (let* ((_o$720 (integer->char 10)) (_o$721 "newline") (_o$722 (integer->char 9)) (_o$723 "tab") (_o$724 (integer->char 13)) (_o$725 "return") (_o$726 (integer->char 12)) (_o$727 "formfeed") (_o$728 (integer->char 8)) (_o$729 "backspace") (_o$730 (integer->char 32)) (_o$731 "space")) (jolt-hash-map _o$720 _o$721 _o$722 _o$723 _o$724 _o$725 _o$726 _o$727 _o$728 _o$729 _o$730 _o$731)) (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "char-name-string" (letrec ((char-name-string (lambda (c) (let fnrec732 ((c c)) (jolt-get (var-deref "clojure.core" "char-name-strings") c))))) char-name-string)))
(guard (e (#t #f))
  (def-var! "clojure.core" "rand-nth" (letrec ((rand-nth (lambda (coll) (let fnrec733 ((coll coll)) (let* ((v (jolt-invoke (var-deref "clojure.core" "vec") coll))) (jolt-nth v (jolt-invoke (var-deref "clojure.core" "rand-int") (jolt-count v)))))))) rand-nth)))
(guard (e (#t #f))
  (def-var! "clojure.core" "random-sample" (letrec ((random-sample (case-lambda ((prob) (let fnrec734 ((prob prob)) (jolt-invoke jolt-filter (lambda (_) (let fnrec735 ((_ _)) (< (jolt-invoke (var-deref "clojure.core" "rand") ) prob)))))) ((prob coll) (let fnrec736 ((prob prob) (coll coll)) (jolt-filter (lambda (_) (let fnrec737 ((_ _)) (< (jolt-invoke (var-deref "clojure.core" "rand") ) prob))) coll)))))) random-sample)))
(guard (e (#t #f))
  (def-var! "clojure.core" "comparator" (letrec ((comparator (lambda (pred) (let fnrec738 ((pred pred)) (lambda (a b) (let fnrec739 ((a a) (b b)) (if (jolt-truthy? (jolt-invoke pred a b)) -1 (if (jolt-truthy? (jolt-invoke pred b a)) 1 (if (jolt-truthy? (keyword #f "else")) 0 jolt-nil))))))))) comparator)))
(guard (e (#t #f))
  (def-var! "clojure.core" "reductions" (letrec ((reductions (case-lambda ((f coll) (let fnrec740 ((f f) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec741 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((s (jolt-seq coll))) (if (jolt-truthy? s) (jolt-invoke reductions f (jolt-first s) (jolt-rest s)) (jolt-list (jolt-invoke f )))))))))) ((f init coll) (let fnrec742 ((f f) (init init) (coll coll)) (jolt-cons init (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec743 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((temp__15__auto (jolt-seq coll))) (if (jolt-truthy? temp__15__auto) (let* ((s temp__15__auto)) (jolt-invoke reductions f (jolt-invoke f init (jolt-first s)) (jolt-rest s))) jolt-nil)))))))))))) reductions)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-seq" (letrec ((tree-seq (lambda (branch? children root) (let fnrec744 ((branch? branch?) (children children) (root root)) (let* ((walk (letrec ((walk (lambda (node) (let fnrec745 ((node node)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec746 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-cons node (if (jolt-truthy? (jolt-invoke branch? node)) (jolt-invoke (var-deref "clojure.core" "mapcat") walk (jolt-invoke children node)) jolt-nil)))))))))) walk))) (jolt-invoke walk root)))))) tree-seq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "file-seq" (letrec ((file-seq (lambda (root) (let fnrec747 ((root root)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "__file?") root)) (jolt-invoke (var-deref "clojure.core" "tree-seq") (lambda (f) (let fnrec748 ((f f)) (jolt-host-call "isDirectory" f))) (lambda (f) (let fnrec749 ((f f)) (jolt-seq (jolt-host-call "listFiles" f)))) root) (jolt-invoke (var-deref "clojure.core" "tree-seq") (var-deref "clojure.core" "__dir?") (var-deref "clojure.core" "__list-dir") root)))))) file-seq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "flatten" (letrec ((flatten (lambda (coll) (let fnrec750 ((coll coll)) (jolt-filter (jolt-invoke (var-deref "clojure.core" "complement") (var-deref "clojure.core" "sequential?")) (jolt-rest (jolt-invoke (var-deref "clojure.core" "tree-seq") (var-deref "clojure.core" "sequential?") jolt-seq coll))))))) flatten)))
(guard (e (#t #f))
  (def-var! "clojure.core" "xml-seq" (letrec ((xml-seq (lambda (root) (let fnrec751 ((root root)) (jolt-invoke (var-deref "clojure.core" "tree-seq") (jolt-invoke (var-deref "clojure.core" "complement") (var-deref "clojure.core" "string?")) (jolt-invoke (var-deref "clojure.core" "comp") jolt-seq (keyword #f "content")) root))))) xml-seq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "interleave" (letrec ((interleave (case-lambda (() (let fnrec752 () (jolt-list ))) ((c1) (let fnrec753 ((c1 c1)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec754 () (jolt-invoke (var-deref "clojure.core" "coll->cells") c1)))))) ((c1 c2) (let fnrec755 ((c1 c1) (c2 c2)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec756 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((s1 (jolt-seq c1)) (s2 (jolt-seq c2))) (if (jolt-truthy? (let* ((and__13__auto s1)) (if (jolt-truthy? and__13__auto) s2 and__13__auto))) (jolt-cons (jolt-first s1) (jolt-cons (jolt-first s2) (jolt-invoke interleave (jolt-rest s1) (jolt-rest s2)))) jolt-nil)))))))) ((c1 c2 . cs) (let fnrec757 ((c1 c1) (c2 c2) (cs (list->cseq cs))) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec758 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((ss (jolt-map jolt-seq (jolt-invoke (var-deref "clojure.core" "list*") c1 c2 cs)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "every?") jolt-identity ss)) (jolt-concat (jolt-map jolt-first ss) (jolt-apply interleave (jolt-map jolt-rest ss))) jolt-nil))))))))))) interleave)))
(guard (e (#t #f))
  (def-var! "clojure.core" "rationalize" (letrec ((rationalize (lambda (x) (let fnrec759 ((x x)) x)))) rationalize)))
(guard (e (#t #f))
  (def-var! "clojure.core" "dedupe" (letrec ((dedupe (lambda (coll) (let fnrec760 ((coll coll)) (let* ((step (letrec ((step (lambda (s prev) (let fnrec762 ((s s) (prev prev)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec763 () (let* ((s (jolt-seq s))) (if (jolt-truthy? s) (let* ((x (jolt-first s))) (if (jolt= x prev) (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-invoke step (jolt-rest s) prev)) (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-cons x (jolt-invoke step (jolt-rest s) x))))) jolt-nil))))))))) step))) (let* ((s (jolt-seq coll))) (if (jolt-truthy? s) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec761 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-cons (jolt-first s) (jolt-invoke step (jolt-rest s) (jolt-first s))))))) (jolt-list )))))))) dedupe)))
(guard (e (#t #f))
  (def-var! "clojure.core" "seq-to-map-for-destructuring" (letrec ((seq-to-map-for-destructuring (lambda (s) (let fnrec764 ((s s)) (if (jolt-truthy? (jolt-next s)) (let* ((m (jolt-hash-map)) (xs (jolt-seq s))) (let loop765 ((m m) (xs xs)) (if (jolt-truthy? xs) (if (jolt-truthy? (jolt-next xs)) (loop765 (jolt-assoc m (jolt-first xs) (jolt-invoke (var-deref "clojure.core" "second") xs)) (jolt-invoke (var-deref "clojure.core" "nnext") xs)) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "No value supplied for key: " (jolt-first xs)))) m))) (if (jolt-truthy? (jolt-seq s)) (jolt-first s) (jolt-hash-map))))))) seq-to-map-for-destructuring)))
(guard (e (#t #f))
  (def-var! "clojure.core" "vary-meta" (letrec ((vary-meta (lambda (obj f . args) (let fnrec766 ((obj obj) (f f) (args (list->cseq args))) (jolt-invoke (var-deref "clojure.core" "with-meta") obj (jolt-apply f (jolt-invoke (var-deref "clojure.core" "meta") obj) args)))))) vary-meta)))
(guard (e (#t #f))
  (def-var! "clojure.core" "namespace-munge" (letrec ((namespace-munge (lambda (s) (let fnrec767 ((s s)) (jolt-apply (var-deref "clojure.core" "str") (jolt-map (lambda (c) (let fnrec768 ((c c)) (if (jolt= c (integer->char 45)) (integer->char 95) c))) (jolt-seq (jolt-invoke (var-deref "clojure.core" "str") s)))))))) namespace-munge)))
(guard (e (#t #f))
  (def-var! "clojure.core" "reduce-kv" (letrec ((reduce-kv (lambda (f init coll) (let fnrec769 ((f f) (init init) (coll coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") coll)) (jolt-reduce (lambda (acc i) (let fnrec771 ((acc acc) (i i)) (jolt-invoke f acc i (jolt-nth coll i)))) init (jolt-range (jolt-count coll))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") coll)) (jolt-reduce (lambda (acc k) (let fnrec770 ((acc acc) (k k)) (jolt-invoke f acc k (jolt-get coll k)))) init (jolt-keys coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") coll)) init (if (jolt-truthy? (keyword #f "else")) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "reduce-kv not supported on: " coll)) jolt-nil)))))))) reduce-kv)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ex-info-val?" (letrec ((ex-info-val? (lambda (x) (let fnrec772 ((x x)) (jolt= (jolt-get x (keyword "jolt" "type")) (keyword "jolt" "ex-info")))))) ex-info-val?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ex-unwrap" (letrec ((ex-unwrap (lambda (e) (let fnrec773 ((e e)) (if (jolt= (jolt-get e (keyword "jolt" "type")) (keyword "jolt" "exception")) (jolt-get e (keyword #f "value")) e))))) ex-unwrap)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ex-data" (letrec ((ex-data (lambda (e) (let fnrec774 ((e e)) (let* ((e (jolt-invoke (var-deref "clojure.core" "ex-unwrap") e))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "ex-info-val?") e)) (jolt-get e (keyword #f "data")) jolt-nil)))))) ex-data)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ex-message" (letrec ((ex-message (lambda (e) (let fnrec775 ((e e)) (let* ((e (jolt-invoke (var-deref "clojure.core" "ex-unwrap") e))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "ex-info-val?") e)) (jolt-get e (keyword #f "message")) (if (jolt-truthy? (keyword #f "else")) jolt-nil jolt-nil))))))) ex-message)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ex-cause" (letrec ((ex-cause (lambda (e) (let fnrec776 ((e e)) (let* ((e (jolt-invoke (var-deref "clojure.core" "ex-unwrap") e))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "ex-info-val?") e)) (jolt-get e (keyword #f "cause")) jolt-nil)))))) ex-cause)))
(guard (e (#t #f))
  (def-var! "clojure.core" "inst-ms" (letrec ((inst-ms (lambda (x) (let fnrec777 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "inst?") x)) (jolt-get x (keyword #f "ms")) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "inst-ms requires an inst, got: " x))))))) inst-ms)))
(guard (e (#t #f))
  (def-var! "clojure.core" "update-keys" (letrec ((update-keys (lambda (m f) (let fnrec778 ((m m) (f f)) (jolt-invoke (var-deref "clojure.core" "reduce-kv") (lambda (acc k v) (let fnrec779 ((acc acc) (k k) (v v)) (jolt-assoc acc (jolt-invoke f k) v))) (jolt-hash-map ) m))))) update-keys)))
(guard (e (#t #f))
  (def-var! "clojure.core" "update-vals" (letrec ((update-vals (lambda (m f) (let fnrec780 ((m m) (f f)) (jolt-invoke (var-deref "clojure.core" "reduce-kv") (lambda (acc k v) (let fnrec781 ((acc acc) (k k) (v v)) (jolt-assoc acc k (jolt-invoke f v)))) (jolt-hash-map ) m))))) update-vals)))
(guard (e (#t #f))
  (def-var! "clojure.core" "partitionv" (letrec ((partitionv (case-lambda ((n coll) (let fnrec782 ((n n) (coll coll)) (jolt-map (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "partition") n coll)))) ((n step coll) (let fnrec783 ((n n) (step step) (coll coll)) (jolt-map (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "partition") n step coll)))) ((n step pad coll) (let fnrec784 ((n n) (step step) (pad pad) (coll coll)) (jolt-map (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "partition") n step pad coll))))))) partitionv)))
(guard (e (#t #f))
  (declare-var! "clojure.core" "partition-all"))
(guard (e (#t #f))
  (def-var! "clojure.core" "partitionv-all" (letrec ((partitionv-all (case-lambda ((n coll) (let fnrec785 ((n n) (coll coll)) (jolt-map (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "partition-all") n coll)))) ((n step coll) (let fnrec786 ((n n) (step step) (coll coll)) (jolt-map (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "partition-all") n step coll))))))) partitionv-all)))
(guard (e (#t #f))
  (def-var! "clojure.core" "splitv-at" (letrec ((splitv-at (lambda (n coll) (let fnrec787 ((n n) (coll coll)) (let* ((_o$788 (jolt-invoke (var-deref "clojure.core" "vec") (jolt-take n coll))) (_o$789 (jolt-drop n coll))) (jolt-vector _o$788 _o$789)))))) splitv-at)))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-redefs-fn" (letrec ((with-redefs-fn (lambda (binding-map func) (let fnrec790 ((binding-map binding-map) (func func)) (let* ((vars (jolt-invoke (var-deref "clojure.core" "vec") (jolt-keys binding-map))) (saved (jolt-invoke (var-deref "clojure.core" "mapv") (var-deref "clojure.core" "var-get") vars))) (begin (begin (jolt-count (jolt-map (lambda (v) (let fnrec792 ((v v)) (begin (jolt-invoke (var-deref "clojure.core" "var-set") v (jolt-get binding-map v)) jolt-nil))) vars)) jolt-nil) (dynamic-wind (lambda () #f) (lambda () (jolt-invoke func )) (lambda () (let* ((i 0)) (let loop791 ((i i)) (if (< i (jolt-count vars)) (begin (jolt-invoke (var-deref "clojure.core" "var-set") (jolt-nth vars i) (jolt-nth saved i)) (loop791 (jolt-inc i))) jolt-nil))))))))))) with-redefs-fn)))
(guard (e (#t #f))
  (def-var! "clojure.core" "chunked-seq?" (letrec ((chunked-seq? (lambda (x) (let fnrec793 ((x x)) #f)))) chunked-seq?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "swap-vals!" (letrec ((swap-vals! (lambda (a f . args) (let fnrec794 ((a a) (f f) (args (list->cseq args))) (let* ((old (jolt-invoke (var-deref "clojure.core" "deref") a))) (let* ((_o$795 old) (_o$796 (jolt-apply (var-deref "clojure.core" "swap!") a f args))) (jolt-vector _o$795 _o$796))))))) swap-vals!)))
(guard (e (#t #f))
  (def-var! "clojure.core" "reset-vals!" (letrec ((reset-vals! (lambda (a newval) (let fnrec797 ((a a) (newval newval)) (let* ((old (jolt-invoke (var-deref "clojure.core" "deref") a))) (begin (jolt-invoke (var-deref "clojure.core" "reset!") a newval) (let* ((_o$798 old) (_o$799 newval)) (jolt-vector _o$798 _o$799)))))))) reset-vals!)))
(guard (e (#t #f))
  (def-var! "clojure.core" "compare-and-set!" (letrec ((compare-and-set! (lambda (a oldval newval) (let fnrec800 ((a a) (oldval oldval) (newval newval)) (if (jolt= oldval (jolt-invoke (var-deref "clojure.core" "deref") a)) (begin (jolt-invoke (var-deref "clojure.core" "reset!") a newval) #t) #f))))) compare-and-set!)))
(guard (e (#t #f))
  (def-var! "clojure.core" "get-validator" (letrec ((get-validator (lambda (a) (let fnrec801 ((a a)) (jolt-get a (keyword #f "validator")))))) get-validator)))
(guard (e (#t #f))
  (def-var! "clojure.core" "add-watch" (letrec ((add-watch (lambda (a key f) (let fnrec802 ((a a) (key key) (f f)) (begin (jolt-invoke (var-deref "jolt.host" "ref-put!") (jolt-get a (keyword #f "watches")) key f) a))))) add-watch)))
(guard (e (#t #f))
  (def-var! "clojure.core" "remove-watch" (letrec ((remove-watch (lambda (a key) (let fnrec803 ((a a) (key key)) (begin (jolt-invoke (var-deref "jolt.host" "ref-put!") (jolt-get a (keyword #f "watches")) key jolt-nil) a))))) remove-watch)))
(guard (e (#t #f))
  (def-var! "clojure.core" "set-validator!" (letrec ((set-validator! (lambda (a f) (let fnrec804 ((a a) (f f)) (begin (jolt-invoke (var-deref "jolt.host" "ref-put!") a (keyword #f "validator") f) jolt-nil))))) set-validator!)))
(guard (e (#t #f))
  (def-var! "clojure.core" "future-done?" (letrec ((future-done? (lambda (x) (let fnrec805 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "future?") x)) (jolt-invoke (var-deref "clojure.core" "boolean") (jolt-get x (keyword #f "cached"))) (jolt-throw "future-done? requires a future")))))) future-done?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "future-cancelled?" (letrec ((future-cancelled? (lambda (x) (let fnrec806 ((x x)) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "future?") x))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "boolean") (jolt-get x (keyword #f "cancelled"))) and__13__auto)))))) future-cancelled?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ns-name" (letrec ((ns-name (lambda (ns) (let fnrec807 ((ns ns)) (let* ((nm (jolt-get ns (keyword #f "name")))) (if (jolt-truthy? nm) (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") nm)) jolt-nil)))))) ns-name)))
(guard (e (#t #f))
  (def-var! "clojure.core" "aget" (letrec ((aget (lambda (arr . idxs) (let fnrec808 ((arr arr) (idxs (list->cseq idxs))) (jolt-reduce (lambda (v i) (let fnrec809 ((v v) (i i)) (jolt-nth v i))) arr idxs))))) aget)))
(guard (e (#t #f))
  (def-var! "clojure.core" "alength" (letrec ((alength (lambda (arr) (let fnrec810 ((arr arr)) (jolt-count arr))))) alength)))
(guard (e (#t #f))
  (def-var! "clojure.core" "aset" (letrec ((aset (lambda (arr . idxs+val) (let fnrec811 ((arr arr) (idxs+val (list->cseq idxs+val))) (let* ((n (jolt-count idxs+val)) (val (jolt-nth idxs+val (jolt-dec n))) (target (jolt-reduce (lambda (t k) (let fnrec812 ((t t) (k k)) (jolt-nth t k))) arr (jolt-take (- n 2) idxs+val)))) (begin (jolt-invoke (var-deref "jolt.host" "ref-put!") target (jolt-nth idxs+val (- n 2)) val) val)))))) aset)))
(guard (e (#t #f))
  (def-var! "clojure.core" "complement" (letrec ((complement (lambda (f) (let fnrec813 ((f f)) (lambda args (let fnrec814 ((args (list->cseq args))) (jolt-not (jolt-apply f args)))))))) complement)))
(guard (e (#t #f))
  (def-var! "clojure.core" "fnil" (letrec ((fnil (case-lambda ((f x) (let fnrec815 ((f f) (x x)) (lambda (a . args) (let fnrec816 ((a a) (args (list->cseq args))) (jolt-apply f (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") a)) x a) args))))) ((f x y) (let fnrec817 ((f f) (x x) (y y)) (lambda (a b . args) (let fnrec818 ((a a) (b b) (args (list->cseq args))) (jolt-apply f (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") a)) x a) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") b)) y b) args))))) ((f x y z) (let fnrec819 ((f f) (x x) (y y) (z z)) (lambda (a b c . args) (let fnrec820 ((a a) (b b) (c c) (args (list->cseq args))) (jolt-apply f (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") a)) x a) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") b)) y b) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") c)) z c) args)))))))) fnil)))
(guard (e (#t #f))
  (def-var! "clojure.core" "clojure-version" (letrec ((clojure-version (lambda () (let fnrec821 () "1.11.0-jolt")))) clojure-version)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bigdec" (letrec ((bigdec (lambda (x) (let fnrec822 ((x x)) (* 1.0 x))))) bigdec)))
(guard (e (#t #f))
  (def-var! "clojure.core" "numerator" (letrec ((numerator (lambda (x) (let fnrec823 ((x x)) (jolt-throw (jolt-ex-info "numerator requires a ratio (Jolt has no ratios)" (jolt-hash-map))))))) numerator)))
(guard (e (#t #f))
  (def-var! "clojure.core" "denominator" (letrec ((denominator (lambda (x) (let fnrec824 ((x x)) (jolt-throw (jolt-ex-info "denominator requires a ratio (Jolt has no ratios)" (jolt-hash-map))))))) denominator)))
(guard (e (#t #f))
  (def-var! "clojure.core" "supers" (letrec ((supers (lambda (x) (let fnrec825 ((x x)) (jolt-hash-set))))) supers)))
(guard (e (#t #f))
  (def-var! "clojure.core" "munge" (letrec ((munge (lambda (s) (let fnrec826 ((s s)) (let* ((m (jolt-invoke (var-deref "clojure.core" "str-replace-all") "-" "_" (jolt-invoke (var-deref "clojure.core" "str") s)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") s)) (jolt-invoke (var-deref "clojure.core" "symbol") m) m)))))) munge)))
(guard (e (#t #f))
  (def-var! "clojure.core" "test" (letrec ((test (lambda (v) (let fnrec827 ((v v)) (let* ((t (jolt-get (jolt-invoke (var-deref "clojure.core" "meta") v) (keyword #f "test")))) (if (jolt-truthy? t) (begin (jolt-invoke t ) (keyword #f "ok")) (keyword #f "no-test"))))))) test)))
(guard (e (#t #f))
  (def-var! "clojure.core" "find" (letrec ((find (lambda (m k) (let fnrec828 ((m m) (k k)) (if (jolt-contains? m k) (jolt-first (let* ((_o$829 k) (_o$830 (jolt-get m k))) (jolt-hash-map _o$829 _o$830))) jolt-nil))))) find)))
(guard (e (#t #f))
  (def-var! "clojure.core" "true?" (letrec ((true? (lambda (x) (let fnrec831 ((x x)) (jolt= #t x))))) true?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "false?" (letrec ((false? (lambda (x) (let fnrec832 ((x x)) (jolt= #f x))))) false?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "select-keys" (letrec ((select-keys (lambda (map keyseq) (let fnrec833 ((map map) (keyseq keyseq)) (jolt-reduce (lambda (m k) (let fnrec834 ((m m) (k k)) (if (jolt-contains? map k) (jolt-assoc m k (jolt-get map k)) m))) (jolt-hash-map ) keyseq))))) select-keys)))
(guard (e (#t #f))
  (def-var! "clojure.core" "zipmap" (letrec ((zipmap (lambda (keys vals) (let fnrec835 ((keys keys) (vals vals)) (let* ((m (jolt-hash-map )) (ks (jolt-seq keys)) (vs (jolt-seq vals))) (let loop836 ((m m) (ks ks) (vs vs)) (if (jolt-truthy? (let* ((and__13__auto ks)) (if (jolt-truthy? and__13__auto) vs and__13__auto))) (loop836 (jolt-assoc m (jolt-first ks) (jolt-first vs)) (jolt-next ks) (jolt-next vs)) m))))))) zipmap)))
(guard (e (#t #f))
  (def-var! "clojure.core" "merge" (letrec ((merge (lambda maps (let fnrec837 ((maps (list->cseq maps))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "some") jolt-identity maps)) (jolt-reduce (lambda (acc m) (let fnrec838 ((acc acc) (m m)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") m)) acc (jolt-conj (let* ((or__14__auto acc)) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-hash-map ))) m)))) maps) jolt-nil))))) merge)))
(guard (e (#t #f))
  (def-var! "clojure.core" "merge-with" (letrec ((merge-with (lambda (f . maps) (let fnrec839 ((f f) (maps (list->cseq maps))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "some") jolt-identity maps)) (let* ((merge-entry (lambda (m e) (let fnrec840 ((m m) (e e)) (let* ((k (jolt-invoke (var-deref "clojure.core" "key") e)) (v (jolt-invoke (var-deref "clojure.core" "val") e))) (if (jolt-contains? m k) (jolt-assoc m k (jolt-invoke f (jolt-get m k) v)) (jolt-assoc m k v)))))) (merge2 (lambda (m1 m2) (let fnrec841 ((m1 m1) (m2 m2)) (jolt-reduce merge-entry (let* ((or__14__auto m1)) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-hash-map ))) (jolt-seq m2)))))) (jolt-reduce merge2 maps)) jolt-nil))))) merge-with)))
(guard (e (#t #f))
  (def-var! "clojure.core" "get-in" (letrec ((get-in (case-lambda ((m ks) (let fnrec842 ((m m) (ks ks)) (jolt-reduce jolt-get m ks))) ((m ks not-found) (let fnrec843 ((m m) (ks ks) (not-found not-found)) (let* ((sentinel (jolt-hash-map ))) (let* ((m m) (ks (jolt-seq ks))) (let loop844 ((m m) (ks ks)) (if (jolt-truthy? ks) (let* ((nxt (jolt-get m (jolt-first ks) sentinel))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "identical?") sentinel nxt)) not-found (loop844 nxt (jolt-next ks)))) m))))))))) get-in)))
(guard (e (#t #f))
  (def-var! "clojure.core" "memoize" (letrec ((memoize (lambda (f) (let fnrec845 ((f f)) (let* ((mem (jolt-invoke (var-deref "clojure.core" "atom") (jolt-hash-map )))) (lambda args (let fnrec846 ((args (list->cseq args))) (let* ((e (jolt-invoke (var-deref "clojure.core" "find") (jolt-invoke (var-deref "clojure.core" "deref") mem) args))) (if (jolt-truthy? e) (jolt-invoke (var-deref "clojure.core" "val") e) (let* ((ret (jolt-apply f args))) (begin (jolt-invoke (var-deref "clojure.core" "swap!") mem jolt-assoc args ret) ret))))))))))) memoize)))
(guard (e (#t #f))
  (def-var! "clojure.core" "partial" (letrec ((partial (case-lambda ((f) (let fnrec847 ((f f)) f)) ((f a) (let fnrec848 ((f f) (a a)) (lambda args (let fnrec849 ((args (list->cseq args))) (jolt-apply f a args))))) ((f a b) (let fnrec850 ((f f) (a a) (b b)) (lambda args (let fnrec851 ((args (list->cseq args))) (jolt-apply f a b args))))) ((f a b c) (let fnrec852 ((f f) (a a) (b b) (c c)) (lambda args (let fnrec853 ((args (list->cseq args))) (jolt-apply f a b c args))))) ((f a b c . more) (let fnrec854 ((f f) (a a) (b b) (c c) (more (list->cseq more))) (lambda args (let fnrec855 ((args (list->cseq args))) (jolt-apply f a b c (jolt-concat more args))))))))) partial)))
(guard (e (#t #f))
  (def-var! "clojure.core" "trampoline" (letrec ((trampoline (case-lambda ((f) (let fnrec856 ((f f)) (let* ((ret (jolt-invoke f ))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "fn?") ret)) (jolt-invoke trampoline ret) ret)))) ((f . args) (let fnrec857 ((f f) (args (list->cseq args))) (jolt-invoke trampoline (lambda () (let fnrec858 () (jolt-apply f args))))))))) trampoline)))
(guard (e (#t #f))
  (def-var! "clojure.core" "max" (letrec ((max (case-lambda ((x) (let fnrec859 ((x x)) x)) ((x y) (let fnrec860 ((x x) (y y)) (if (> x y) x y))) ((x y . more) (let fnrec861 ((x x) (y y) (more (list->cseq more))) (jolt-reduce max (jolt-invoke max x y) more)))))) max)))
(guard (e (#t #f))
  (def-var! "clojure.core" "min" (letrec ((min (case-lambda ((x) (let fnrec862 ((x x)) x)) ((x y) (let fnrec863 ((x x) (y y)) (if (< x y) x y))) ((x y . more) (let fnrec864 ((x x) (y y) (more (list->cseq more))) (jolt-reduce min (jolt-invoke min x y) more)))))) min)))
(guard (e (#t #f))
  (def-var! "clojure.core" "reverse" (letrec ((reverse (lambda (coll) (let fnrec865 ((coll coll)) (jolt-reduce jolt-conj (jolt-list ) coll))))) reverse)))
(guard (e (#t #f))
  (def-var! "clojure.core" "empty" (letrec ((empty (lambda (coll) (let fnrec866 ((coll coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") coll)) jolt-nil (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "sorted?") coll)) (jolt-invoke (jolt-get (jolt-invoke (var-deref "jolt.host" "ref-get") coll (keyword #f "ops")) (keyword #f "empty")) coll) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") coll)) (jolt-hash-map) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "set?") coll)) (jolt-hash-set) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") coll)) (jolt-vector) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "coll?") coll)) (jolt-list ) (if (jolt-truthy? (keyword #f "else")) jolt-nil jolt-nil))))))))))) empty)))
(guard (e (#t #f))
  (def-var! "clojure.core" "assoc-in" (letrec ((assoc-in (lambda (m G__29 v) (let fnrec867 ((m m) (G__29 G__29) (v v)) (let* ((G__30 G__29) (k (jolt-nth G__30 0 jolt-nil)) (ks (jolt-invoke (var-deref "clojure.core" "nthnext") G__30 1))) (if (jolt-truthy? ks) (jolt-assoc m k (jolt-invoke assoc-in (jolt-get m k) ks v)) (jolt-assoc m k v))))))) assoc-in)))
(guard (e (#t #f))
  (def-var! "clojure.core" "update-in" (letrec ((update-in (lambda (m ks f . args) (let fnrec868 ((m m) (ks ks) (f f) (args (list->cseq args))) (let* ((up (letrec ((up (lambda (m ks f args) (let fnrec869 ((m m) (ks ks) (f f) (args args)) (let* ((G__31 ks) (k (jolt-nth G__31 0 jolt-nil)) (ks (jolt-invoke (var-deref "clojure.core" "nthnext") G__31 1))) (if (jolt-truthy? ks) (jolt-assoc m k (jolt-invoke up (jolt-get m k) ks f args)) (jolt-assoc m k (jolt-apply f (jolt-get m k) args)))))))) up))) (jolt-invoke up m ks f args)))))) update-in)))
(guard (e (#t #f))
  (def-var! "clojure.core" "find-keyword" (letrec ((find-keyword (case-lambda ((nm) (let fnrec870 ((nm nm)) (jolt-invoke (var-deref "clojure.core" "keyword") nm))) ((ns nm) (let fnrec871 ((ns ns) (nm nm)) (jolt-invoke (var-deref "clojure.core" "keyword") ns nm)))))) find-keyword)))
(guard (e (#t #f))
  (def-var! "clojure.core" "inst-ms*" (letrec ((inst-ms* (lambda (i) (let fnrec872 ((i i)) (jolt-invoke (var-deref "clojure.core" "inst-ms") i))))) inst-ms*)))
(guard (e (#t #f))
  (def-var! "clojure.core" "comp" (letrec ((comp (case-lambda (() (let fnrec873 () jolt-identity)) ((f) (let fnrec874 ((f f)) f)) ((f g) (let fnrec875 ((f f) (g g)) (case-lambda (() (let fnrec876 () (jolt-invoke f (jolt-invoke g )))) ((x) (let fnrec877 ((x x)) (jolt-invoke f (jolt-invoke g x)))) ((x y) (let fnrec878 ((x x) (y y)) (jolt-invoke f (jolt-invoke g x y)))) ((x y z) (let fnrec879 ((x x) (y y) (z z)) (jolt-invoke f (jolt-invoke g x y z)))) ((x y z . args) (let fnrec880 ((x x) (y y) (z z) (args (list->cseq args))) (jolt-invoke f (jolt-apply g x y z args))))))) ((f g . fs) (let fnrec881 ((f f) (g g) (fs (list->cseq fs))) (jolt-reduce comp (jolt-invoke comp f g) fs)))))) comp)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ifn?" (letrec ((ifn? (lambda (x) (let fnrec882 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "fn?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "keyword?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "symbol?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "map?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "set?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "vector?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "var?") x))))))))))))))))) ifn?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "+'" jolt-add))
(guard (e (#t #f))
  (def-var! "clojure.core" "-'" jolt-sub))
(guard (e (#t #f))
  (def-var! "clojure.core" "*'" jolt-mul))
(guard (e (#t #f))
  (def-var! "clojure.core" "inc'" jolt-inc))
(guard (e (#t #f))
  (def-var! "clojure.core" "dec'" jolt-dec))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-add" (letrec ((unchecked-add (lambda (x y) (let fnrec883 ((x x) (y y)) (+ x y))))) unchecked-add)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-subtract" (letrec ((unchecked-subtract (lambda (x y) (let fnrec884 ((x x) (y y)) (- x y))))) unchecked-subtract)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-multiply" (letrec ((unchecked-multiply (lambda (x y) (let fnrec885 ((x x) (y y)) (* x y))))) unchecked-multiply)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-negate" (letrec ((unchecked-negate (lambda (x) (let fnrec886 ((x x)) (- x))))) unchecked-negate)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-inc" (letrec ((unchecked-inc (lambda (x) (let fnrec887 ((x x)) (+ x 1))))) unchecked-inc)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-dec" (letrec ((unchecked-dec (lambda (x) (let fnrec888 ((x x)) (- x 1))))) unchecked-dec)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-add-int" (var-deref "clojure.core" "unchecked-add")))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-subtract-int" (var-deref "clojure.core" "unchecked-subtract")))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-multiply-int" (var-deref "clojure.core" "unchecked-multiply")))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-negate-int" (var-deref "clojure.core" "unchecked-negate")))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-inc-int" (var-deref "clojure.core" "unchecked-inc")))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-dec-int" (var-deref "clojure.core" "unchecked-dec")))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-divide-int" (letrec ((unchecked-divide-int (lambda (x y) (let fnrec889 ((x x) (y y)) (quotient x y))))) unchecked-divide-int)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-remainder-int" (letrec ((unchecked-remainder-int (lambda (x y) (let fnrec890 ((x x) (y y)) (remainder x y))))) unchecked-remainder-int)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-int" (letrec ((unchecked-int (lambda (x) (let fnrec891 ((x x)) (jolt-invoke (var-deref "clojure.core" "int") x))))) unchecked-int)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-long" (var-deref "clojure.core" "unchecked-int")))
(guard (e (#t #f))
  (def-var! "clojure.core" "int?" (letrec ((int? (lambda (x) (let fnrec892 ((x x)) (jolt-invoke (var-deref "clojure.core" "integer?") x))))) int?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "num" (letrec ((num (lambda (x) (let fnrec893 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "number?") x)) x (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "num requires a number, got: " x))))))) num)))
(guard (e (#t #f))
  (def-var! "clojure.core" "==" (letrec ((== (case-lambda ((x) (let fnrec894 ((x x)) #t)) ((x y) (let fnrec895 ((x x) (y y)) (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "number?") x))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "number?") y) and__13__auto))) (jolt= x y) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "Cannot cast to number: " (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "number?") x)) y x)))))) ((x y . more) (let fnrec896 ((x x) (y y) (more (list->cseq more))) (if (jolt-truthy? (jolt-invoke == x y)) (jolt-apply == y more) #f)))))) ==)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ensure-reduced" (letrec ((ensure-reduced (lambda (x) (let fnrec897 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "reduced?") x)) x (jolt-invoke (var-deref "clojure.core" "reduced") x)))))) ensure-reduced)))
(guard (e (#t #f))
  (def-var! "clojure.core" "halt-when" (letrec ((halt-when (case-lambda ((pred) (let fnrec898 ((pred pred)) (jolt-invoke halt-when pred jolt-nil))) ((pred retf) (let fnrec899 ((pred pred) (retf retf)) (lambda (rf) (let fnrec900 ((rf rf)) (case-lambda (() (let fnrec901 () (jolt-invoke rf ))) ((result) (let fnrec902 ((result result)) (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "map?") result))) (if (jolt-truthy? and__13__auto) (jolt-contains? result (keyword #f "halt")) and__13__auto))) (jolt-get result (keyword #f "halt")) (jolt-invoke rf result)))) ((result input) (let fnrec903 ((result result) (input input)) (if (jolt-truthy? (jolt-invoke pred input)) (jolt-invoke (var-deref "clojure.core" "reduced") (jolt-hash-map (keyword #f "halt") (if (jolt-truthy? retf) (jolt-invoke retf (jolt-invoke rf result) input) input))) (jolt-invoke rf result input)))))))))))) halt-when)))
(guard (e (#t #f))
  (def-var! "clojure.core" "parse-boolean" (letrec ((parse-boolean (lambda (s) (let fnrec904 ((s s)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "string?") s)) (if (jolt= s "true") #t (if (jolt= s "false") #f (if (jolt-truthy? (keyword #f "else")) jolt-nil jolt-nil))) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "parse-boolean requires a string, got: " s))))))) parse-boolean)))
(guard (e (#t #f))
  (def-var! "clojure.core" "newline" (letrec ((newline (lambda () (let fnrec905 () (begin (jolt-invoke (var-deref "clojure.core" "print") "\n") jolt-nil))))) newline)))
(guard (e (#t #f))
  (def-var! "clojure.core" "seque" (letrec ((seque (case-lambda ((s) (let fnrec906 ((s s)) s)) ((n-or-q s) (let fnrec907 ((n-or-q n-or-q) (s s)) s))))) seque)))
(guard (e (#t #f))
  (def-var! "clojure.core" "array-seq" (letrec ((array-seq (lambda (arr . _) (let fnrec908 ((arr arr) (_ (list->cseq _))) (jolt-seq arr))))) array-seq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "to-array-2d" (letrec ((to-array-2d (lambda (coll) (let fnrec909 ((coll coll)) (jolt-invoke (var-deref "clojure.core" "to-array") (jolt-map (var-deref "clojure.core" "to-array") coll)))))) to-array-2d)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-byte" (letrec ((unchecked-byte (lambda (x) (let fnrec910 ((x x)) (jolt-invoke (var-deref "clojure.core" "bit-and") (jolt-invoke (var-deref "clojure.core" "int") x) 255))))) unchecked-byte)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-short" (letrec ((unchecked-short (lambda (x) (let fnrec911 ((x x)) (jolt-invoke (var-deref "clojure.core" "bit-and") (jolt-invoke (var-deref "clojure.core" "int") x) 65535))))) unchecked-short)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-char" (letrec ((unchecked-char (lambda (x) (let fnrec912 ((x x)) (jolt-invoke (var-deref "clojure.core" "bit-and") (jolt-invoke (var-deref "clojure.core" "int") x) 65535))))) unchecked-char)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-float" (letrec ((unchecked-float (lambda (x) (let fnrec913 ((x x)) (jolt-invoke (var-deref "clojure.core" "double") x))))) unchecked-float)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-double" (letrec ((unchecked-double (lambda (x) (let fnrec914 ((x x)) (jolt-invoke (var-deref "clojure.core" "double") x))))) unchecked-double)))
(guard (e (#t #f))
  (def-var! "clojure.core" "transduce" (letrec ((transduce (case-lambda ((xform f coll) (let fnrec915 ((xform xform) (f f) (coll coll)) (jolt-invoke transduce xform f (jolt-invoke f ) coll))) ((xform f init coll) (let fnrec916 ((xform xform) (f f) (init init) (coll coll)) (let* ((xf (jolt-invoke xform f))) (jolt-invoke xf (jolt-reduce xf init coll)))))))) transduce)))
(guard (e (#t #f))
  (def-var! "clojure.core" "eduction" (letrec ((eduction (lambda args (let fnrec917 ((args (list->cseq args))) (let* ((coll (jolt-last args)) (xforms (jolt-invoke (var-deref "clojure.core" "butlast") args))) (if (jolt-truthy? xforms) (jolt-invoke jolt-into (jolt-vector) (jolt-apply (var-deref "clojure.core" "comp") xforms) coll) (jolt-into (jolt-vector) coll))))))) eduction)))
(guard (e (#t #f))
  (def-var! "clojure.core" "->Eduction" (letrec ((->Eduction (lambda (xform coll) (let fnrec918 ((xform xform) (coll coll)) (jolt-invoke jolt-into (jolt-vector) xform coll))))) ->Eduction)))
(guard (e (#t #f))
  (def-var! "clojure.core" "enumeration-seq" (letrec ((enumeration-seq (lambda (e) (let fnrec919 ((e e)) (jolt-seq e))))) enumeration-seq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "iterator-seq" (letrec ((iterator-seq (lambda (i) (let fnrec920 ((i i)) (jolt-seq i))))) iterator-seq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "promise" (letrec ((promise (lambda () (let fnrec921 () (jolt-invoke (var-deref "clojure.core" "atom") jolt-nil))))) promise)))
(guard (e (#t #f))
  (def-var! "clojure.core" "deliver" (letrec ((deliver (lambda (p v) (let fnrec922 ((p p) (v v)) (begin (jolt-invoke (var-deref "clojure.core" "reset!") p v) p))))) deliver)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bean" (letrec ((bean (lambda (x) (let fnrec923 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") x)) x (jolt-hash-map)))))) bean)))
(guard (e (#t #f))
  (def-var! "clojure.core" "uri?" (letrec ((uri? (lambda (x) (let fnrec924 ((x x)) #f)))) uri?)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "special-syms" (let* ((_o$925 (jolt-symbol #f "if")) (_o$926 (jolt-symbol #f "do")) (_o$927 (jolt-symbol #f "let*")) (_o$928 (jolt-symbol #f "fn*")) (_o$929 (jolt-symbol #f "quote")) (_o$930 (jolt-symbol #f "var")) (_o$931 (jolt-symbol #f "def")) (_o$932 (jolt-symbol #f "loop*")) (_o$933 (jolt-symbol #f "recur")) (_o$934 (jolt-symbol #f "throw")) (_o$935 (jolt-symbol #f "try")) (_o$936 (jolt-symbol #f "catch")) (_o$937 (jolt-symbol #f "finally")) (_o$938 (jolt-symbol #f "new")) (_o$939 (jolt-symbol #f "set!")) (_o$940 (jolt-symbol #f ".")) (_o$941 (jolt-symbol #f "monitor-enter")) (_o$942 (jolt-symbol #f "monitor-exit"))) (jolt-hash-set _o$925 _o$926 _o$927 _o$928 _o$929 _o$930 _o$931 _o$932 _o$933 _o$934 _o$935 _o$936 _o$937 _o$938 _o$939 _o$940 _o$941 _o$942)) (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "special-symbol?" (letrec ((special-symbol? (lambda (s) (let fnrec943 ((s s)) (jolt-contains? (var-deref "clojure.core" "special-syms") s))))) special-symbol?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "proxy-mappings" (letrec ((proxy-mappings (lambda (p) (let fnrec944 ((p p)) (jolt-hash-map))))) proxy-mappings)))
(guard (e (#t #f))
  (def-var! "clojure.core" "proxy-call-with-super" (letrec ((proxy-call-with-super (lambda (f p meth) (let fnrec945 ((f f) (p p) (meth meth)) (jolt-invoke f ))))) proxy-call-with-super)))
(guard (e (#t #f))
  (def-var! "clojure.core" "init-proxy" (letrec ((init-proxy (lambda (p mappings) (let fnrec946 ((p p) (mappings mappings)) p)))) init-proxy)))
(guard (e (#t #f))
  (def-var! "clojure.core" "update-proxy" (letrec ((update-proxy (lambda (p mappings) (let fnrec947 ((p p) (mappings mappings)) p)))) update-proxy)))
(guard (e (#t #f))
  (def-var! "clojure.core" "proxy-super" (letrec ((proxy-super (lambda args (let fnrec948 ((args (list->cseq args))) (jolt-throw "proxy-super: JVM proxies are not supported in Jolt"))))) proxy-super)))
(guard (e (#t #f))
  (def-var! "clojure.core" "construct-proxy" (letrec ((construct-proxy (lambda (c . args) (let fnrec949 ((c c) (args (list->cseq args))) (jolt-throw "construct-proxy: not supported in Jolt"))))) construct-proxy)))
(guard (e (#t #f))
  (def-var! "clojure.core" "get-proxy-class" (letrec ((get-proxy-class (lambda interfaces (let fnrec950 ((interfaces (list->cseq interfaces))) (jolt-throw "get-proxy-class: not supported in Jolt"))))) get-proxy-class)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sfield" (letrec ((sfield (lambda (sc k) (let fnrec243 ((sc sc) (k k)) (jolt-invoke (var-deref "jolt.host" "ref-get") sc k))))) sfield)))
(guard (e (#t #f))
  (def-var! "clojure.core" "fn->cmp" (letrec ((fn->cmp (lambda (f) (let fnrec244 ((f f)) (lambda (a b) (let fnrec245 ((a a) (b b)) (let* ((r (jolt-invoke f a b))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "number?") r)) r (if (jolt-truthy? r) -1 (if (jolt-truthy? (jolt-invoke f b a)) 1 0)))))))))) fn->cmp)))
(guard (e (#t #f))
  (def-var! "clojure.core" "the-cmp" (letrec ((the-cmp (lambda (sc) (let fnrec246 ((sc sc)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "sfield") sc (keyword #f "cmp")))) (if (jolt-truthy? or__14__auto) or__14__auto (var-deref "clojure.core" "compare"))))))) the-cmp)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nd-key" (letrec ((nd-key (lambda (n) (let fnrec247 ((n n)) (jolt-nth n 1))))) nd-key)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nd-val" (letrec ((nd-val (lambda (n) (let fnrec248 ((n n)) (jolt-nth n 2))))) nd-val)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nd-left" (letrec ((nd-left (lambda (n) (let fnrec249 ((n n)) (jolt-nth n 3))))) nd-left)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nd-right" (letrec ((nd-right (lambda (n) (let fnrec250 ((n n)) (jolt-nth n 4))))) nd-right)))
(guard (e (#t #f))
  (def-var! "clojure.core" "red?" (letrec ((red? (lambda (n) (let fnrec251 ((n n)) (let* ((and__13__auto n)) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "identical?") (keyword #f "red") (jolt-nth n 0)) and__13__auto)))))) red?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "black?" (letrec ((black? (lambda (n) (let fnrec252 ((n n)) (let* ((and__13__auto n)) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "identical?") (keyword #f "black") (jolt-nth n 0)) and__13__auto)))))) black?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "mk-red" (letrec ((mk-red (lambda (k v l r) (let fnrec253 ((k k) (v v) (l l) (r r)) (let* ((_o$254 (keyword #f "red")) (_o$255 k) (_o$256 v) (_o$257 l) (_o$258 r)) (jolt-vector _o$254 _o$255 _o$256 _o$257 _o$258)))))) mk-red)))
(guard (e (#t #f))
  (def-var! "clojure.core" "mk-black" (letrec ((mk-black (lambda (k v l r) (let fnrec259 ((k k) (v v) (l l) (r r)) (let* ((_o$260 (keyword #f "black")) (_o$261 k) (_o$262 v) (_o$263 l) (_o$264 r)) (jolt-vector _o$260 _o$261 _o$262 _o$263 _o$264)))))) mk-black)))
(guard (e (#t #f))
  (def-var! "clojure.core" "blacken" (letrec ((blacken (lambda (n) (let fnrec265 ((n n)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") n)) (let* ((_o$266 (keyword #f "black")) (_o$267 (jolt-invoke (var-deref "clojure.core" "nd-key") n)) (_o$268 (jolt-invoke (var-deref "clojure.core" "nd-val") n)) (_o$269 (jolt-invoke (var-deref "clojure.core" "nd-left") n)) (_o$270 (jolt-invoke (var-deref "clojure.core" "nd-right") n))) (jolt-vector _o$266 _o$267 _o$268 _o$269 _o$270)) n))))) blacken)))
(guard (e (#t #f))
  (def-var! "clojure.core" "redden" (letrec ((redden (lambda (n) (let fnrec271 ((n n)) (let* ((_o$272 (keyword #f "red")) (_o$273 (jolt-invoke (var-deref "clojure.core" "nd-key") n)) (_o$274 (jolt-invoke (var-deref "clojure.core" "nd-val") n)) (_o$275 (jolt-invoke (var-deref "clojure.core" "nd-left") n)) (_o$276 (jolt-invoke (var-deref "clojure.core" "nd-right") n))) (jolt-vector _o$272 _o$273 _o$274 _o$275 _o$276)))))) redden)))
(guard (e (#t #f))
  (def-var! "clojure.core" "replace-node" (letrec ((replace-node (lambda (n k v l r) (let fnrec277 ((n n) (k k) (v v) (l l) (r r)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") n)) (jolt-invoke (var-deref "clojure.core" "mk-red") k v l r) (jolt-invoke (var-deref "clojure.core" "mk-black") k v l r)))))) replace-node)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ins-balance-left" (letrec ((ins-balance-left (lambda (ins parent) (let fnrec278 ((ins ins) (parent parent)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") ins)) (let* ((l (jolt-invoke (var-deref "clojure.core" "nd-left") ins)) (r (jolt-invoke (var-deref "clojure.core" "nd-right") ins))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") l)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") ins) (jolt-invoke (var-deref "clojure.core" "nd-val") ins) (jolt-invoke (var-deref "clojure.core" "blacken") l) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) r (jolt-invoke (var-deref "clojure.core" "nd-right") parent))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") r)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") r) (jolt-invoke (var-deref "clojure.core" "nd-val") r) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") ins) (jolt-invoke (var-deref "clojure.core" "nd-val") ins) l (jolt-invoke (var-deref "clojure.core" "nd-left") r)) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) (jolt-invoke (var-deref "clojure.core" "nd-right") r) (jolt-invoke (var-deref "clojure.core" "nd-right") parent))) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) ins (jolt-invoke (var-deref "clojure.core" "nd-right") parent)) jolt-nil)))) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) ins (jolt-invoke (var-deref "clojure.core" "nd-right") parent))))))) ins-balance-left)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ins-balance-right" (letrec ((ins-balance-right (lambda (ins parent) (let fnrec279 ((ins ins) (parent parent)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") ins)) (let* ((l (jolt-invoke (var-deref "clojure.core" "nd-left") ins)) (r (jolt-invoke (var-deref "clojure.core" "nd-right") ins))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") r)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") ins) (jolt-invoke (var-deref "clojure.core" "nd-val") ins) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) (jolt-invoke (var-deref "clojure.core" "nd-left") parent) l) (jolt-invoke (var-deref "clojure.core" "blacken") r)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") l)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") l) (jolt-invoke (var-deref "clojure.core" "nd-val") l) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) (jolt-invoke (var-deref "clojure.core" "nd-left") parent) (jolt-invoke (var-deref "clojure.core" "nd-left") l)) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") ins) (jolt-invoke (var-deref "clojure.core" "nd-val") ins) (jolt-invoke (var-deref "clojure.core" "nd-right") l) r)) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) (jolt-invoke (var-deref "clojure.core" "nd-left") parent) ins) jolt-nil)))) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) (jolt-invoke (var-deref "clojure.core" "nd-left") parent) ins)))))) ins-balance-right)))
(guard (e (#t #f))
  (def-var! "clojure.core" "add-left" (letrec ((add-left (lambda (parent ins) (let fnrec280 ((parent parent) (ins ins)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") parent)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) ins (jolt-invoke (var-deref "clojure.core" "nd-right") parent)) (jolt-invoke (var-deref "clojure.core" "ins-balance-left") ins parent)))))) add-left)))
(guard (e (#t #f))
  (def-var! "clojure.core" "add-right" (letrec ((add-right (lambda (parent ins) (let fnrec281 ((parent parent) (ins ins)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") parent)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") parent) (jolt-invoke (var-deref "clojure.core" "nd-val") parent) (jolt-invoke (var-deref "clojure.core" "nd-left") parent) ins) (jolt-invoke (var-deref "clojure.core" "ins-balance-right") ins parent)))))) add-right)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-ins" (letrec ((tree-ins (lambda (cmp tree k v) (let fnrec282 ((cmp cmp) (tree tree) (k k) (v v)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") tree)) (jolt-invoke (var-deref "clojure.core" "mk-red") k v jolt-nil jolt-nil) (if (jolt-neg? (jolt-invoke cmp k (jolt-invoke (var-deref "clojure.core" "nd-key") tree))) (jolt-invoke (var-deref "clojure.core" "add-left") tree (jolt-invoke tree-ins cmp (jolt-invoke (var-deref "clojure.core" "nd-left") tree) k v)) (jolt-invoke (var-deref "clojure.core" "add-right") tree (jolt-invoke tree-ins cmp (jolt-invoke (var-deref "clojure.core" "nd-right") tree) k v)))))))) tree-ins)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-replace" (letrec ((tree-replace (lambda (cmp tree k v) (let fnrec283 ((cmp cmp) (tree tree) (k k) (v v)) (let* ((c (jolt-invoke cmp k (jolt-invoke (var-deref "clojure.core" "nd-key") tree)))) (if (jolt-zero? c) (jolt-invoke (var-deref "clojure.core" "replace-node") tree (jolt-invoke (var-deref "clojure.core" "nd-key") tree) v (jolt-invoke (var-deref "clojure.core" "nd-left") tree) (jolt-invoke (var-deref "clojure.core" "nd-right") tree)) (if (jolt-neg? c) (jolt-invoke (var-deref "clojure.core" "replace-node") tree (jolt-invoke (var-deref "clojure.core" "nd-key") tree) (jolt-invoke (var-deref "clojure.core" "nd-val") tree) (jolt-invoke tree-replace cmp (jolt-invoke (var-deref "clojure.core" "nd-left") tree) k v) (jolt-invoke (var-deref "clojure.core" "nd-right") tree)) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke (var-deref "clojure.core" "replace-node") tree (jolt-invoke (var-deref "clojure.core" "nd-key") tree) (jolt-invoke (var-deref "clojure.core" "nd-val") tree) (jolt-invoke (var-deref "clojure.core" "nd-left") tree) (jolt-invoke tree-replace cmp (jolt-invoke (var-deref "clojure.core" "nd-right") tree) k v)) jolt-nil)))))))) tree-replace)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-lookup" (letrec ((tree-lookup (lambda (tree cmp k) (let fnrec284 ((tree tree) (cmp cmp) (k k)) (let* ((t tree)) (let loop285 ((t t)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") t)) jolt-nil (let* ((c (jolt-invoke cmp k (jolt-invoke (var-deref "clojure.core" "nd-key") t)))) (if (jolt-zero? c) t (if (jolt-neg? c) (loop285 (jolt-invoke (var-deref "clojure.core" "nd-left") t)) (if (jolt-truthy? (keyword #f "else")) (loop285 (jolt-invoke (var-deref "clojure.core" "nd-right") t)) jolt-nil))))))))))) tree-lookup)))
(guard (e (#t #f))
  (def-var! "clojure.core" "balance-left" (letrec ((balance-left (lambda (k v ins right) (let fnrec286 ((k k) (v v) (ins ins) (right right)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") ins)) (let* ((il (jolt-invoke (var-deref "clojure.core" "nd-left") ins)) (ir (jolt-invoke (var-deref "clojure.core" "nd-right") ins))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") il)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") ins) (jolt-invoke (var-deref "clojure.core" "nd-val") ins) (jolt-invoke (var-deref "clojure.core" "blacken") il) (jolt-invoke (var-deref "clojure.core" "mk-black") k v ir right)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") ir)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") ir) (jolt-invoke (var-deref "clojure.core" "nd-val") ir) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") ins) (jolt-invoke (var-deref "clojure.core" "nd-val") ins) il (jolt-invoke (var-deref "clojure.core" "nd-left") ir)) (jolt-invoke (var-deref "clojure.core" "mk-black") k v (jolt-invoke (var-deref "clojure.core" "nd-right") ir) right)) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke (var-deref "clojure.core" "mk-black") k v ins right) jolt-nil)))) (jolt-invoke (var-deref "clojure.core" "mk-black") k v ins right)))))) balance-left)))
(guard (e (#t #f))
  (def-var! "clojure.core" "balance-right" (letrec ((balance-right (lambda (k v left ins) (let fnrec287 ((k k) (v v) (left left) (ins ins)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") ins)) (let* ((il (jolt-invoke (var-deref "clojure.core" "nd-left") ins)) (ir (jolt-invoke (var-deref "clojure.core" "nd-right") ins))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") ir)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") ins) (jolt-invoke (var-deref "clojure.core" "nd-val") ins) (jolt-invoke (var-deref "clojure.core" "mk-black") k v left il) (jolt-invoke (var-deref "clojure.core" "blacken") ir)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") il)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") il) (jolt-invoke (var-deref "clojure.core" "nd-val") il) (jolt-invoke (var-deref "clojure.core" "mk-black") k v left (jolt-invoke (var-deref "clojure.core" "nd-left") il)) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") ins) (jolt-invoke (var-deref "clojure.core" "nd-val") ins) (jolt-invoke (var-deref "clojure.core" "nd-right") il) ir)) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke (var-deref "clojure.core" "mk-black") k v left ins) jolt-nil)))) (jolt-invoke (var-deref "clojure.core" "mk-black") k v left ins)))))) balance-right)))
(guard (e (#t #f))
  (def-var! "clojure.core" "balance-left-del" (letrec ((balance-left-del (lambda (k v del right) (let fnrec288 ((k k) (v v) (del del) (right right)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") del)) (jolt-invoke (var-deref "clojure.core" "mk-red") k v (jolt-invoke (var-deref "clojure.core" "blacken") del) right) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "black?") right)) (jolt-invoke (var-deref "clojure.core" "balance-right") k v del (jolt-invoke (var-deref "clojure.core" "redden") right)) (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "red?") right))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "black?") (jolt-invoke (var-deref "clojure.core" "nd-left") right)) and__13__auto))) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") (jolt-invoke (var-deref "clojure.core" "nd-left") right)) (jolt-invoke (var-deref "clojure.core" "nd-val") (jolt-invoke (var-deref "clojure.core" "nd-left") right)) (jolt-invoke (var-deref "clojure.core" "mk-black") k v del (jolt-invoke (var-deref "clojure.core" "nd-left") (jolt-invoke (var-deref "clojure.core" "nd-left") right))) (jolt-invoke (var-deref "clojure.core" "balance-right") (jolt-invoke (var-deref "clojure.core" "nd-key") right) (jolt-invoke (var-deref "clojure.core" "nd-val") right) (jolt-invoke (var-deref "clojure.core" "nd-right") (jolt-invoke (var-deref "clojure.core" "nd-left") right)) (jolt-invoke (var-deref "clojure.core" "redden") (jolt-invoke (var-deref "clojure.core" "nd-right") right)))) (if (jolt-truthy? (keyword #f "else")) (jolt-throw (jolt-ex-info "red-black tree invariant violation" (jolt-hash-map))) jolt-nil)))))))) balance-left-del)))
(guard (e (#t #f))
  (def-var! "clojure.core" "balance-right-del" (letrec ((balance-right-del (lambda (k v left del) (let fnrec289 ((k k) (v v) (left left) (del del)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") del)) (jolt-invoke (var-deref "clojure.core" "mk-red") k v left (jolt-invoke (var-deref "clojure.core" "blacken") del)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "black?") left)) (jolt-invoke (var-deref "clojure.core" "balance-left") k v (jolt-invoke (var-deref "clojure.core" "redden") left) del) (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "red?") left))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "black?") (jolt-invoke (var-deref "clojure.core" "nd-right") left)) and__13__auto))) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") (jolt-invoke (var-deref "clojure.core" "nd-right") left)) (jolt-invoke (var-deref "clojure.core" "nd-val") (jolt-invoke (var-deref "clojure.core" "nd-right") left)) (jolt-invoke (var-deref "clojure.core" "balance-left") (jolt-invoke (var-deref "clojure.core" "nd-key") left) (jolt-invoke (var-deref "clojure.core" "nd-val") left) (jolt-invoke (var-deref "clojure.core" "redden") (jolt-invoke (var-deref "clojure.core" "nd-left") left)) (jolt-invoke (var-deref "clojure.core" "nd-left") (jolt-invoke (var-deref "clojure.core" "nd-right") left))) (jolt-invoke (var-deref "clojure.core" "mk-black") k v (jolt-invoke (var-deref "clojure.core" "nd-right") (jolt-invoke (var-deref "clojure.core" "nd-right") left)) del)) (if (jolt-truthy? (keyword #f "else")) (jolt-throw (jolt-ex-info "red-black tree invariant violation" (jolt-hash-map))) jolt-nil)))))))) balance-right-del)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-append" (letrec ((tree-append (lambda (left right) (let fnrec290 ((left left) (right right)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") left)) right (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") right)) left (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") left)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") right)) (let* ((app (jolt-invoke tree-append (jolt-invoke (var-deref "clojure.core" "nd-right") left) (jolt-invoke (var-deref "clojure.core" "nd-left") right)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") app)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") app) (jolt-invoke (var-deref "clojure.core" "nd-val") app) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") left) (jolt-invoke (var-deref "clojure.core" "nd-val") left) (jolt-invoke (var-deref "clojure.core" "nd-left") left) (jolt-invoke (var-deref "clojure.core" "nd-left") app)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") right) (jolt-invoke (var-deref "clojure.core" "nd-val") right) (jolt-invoke (var-deref "clojure.core" "nd-right") app) (jolt-invoke (var-deref "clojure.core" "nd-right") right))) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") left) (jolt-invoke (var-deref "clojure.core" "nd-val") left) (jolt-invoke (var-deref "clojure.core" "nd-left") left) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") right) (jolt-invoke (var-deref "clojure.core" "nd-val") right) app (jolt-invoke (var-deref "clojure.core" "nd-right") right))))) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") left) (jolt-invoke (var-deref "clojure.core" "nd-val") left) (jolt-invoke (var-deref "clojure.core" "nd-left") left) (jolt-invoke tree-append (jolt-invoke (var-deref "clojure.core" "nd-right") left) right))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") right)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") right) (jolt-invoke (var-deref "clojure.core" "nd-val") right) (jolt-invoke tree-append left (jolt-invoke (var-deref "clojure.core" "nd-left") right)) (jolt-invoke (var-deref "clojure.core" "nd-right") right)) (if (jolt-truthy? (keyword #f "else")) (let* ((app (jolt-invoke tree-append (jolt-invoke (var-deref "clojure.core" "nd-right") left) (jolt-invoke (var-deref "clojure.core" "nd-left") right)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") app)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") app) (jolt-invoke (var-deref "clojure.core" "nd-val") app) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") left) (jolt-invoke (var-deref "clojure.core" "nd-val") left) (jolt-invoke (var-deref "clojure.core" "nd-left") left) (jolt-invoke (var-deref "clojure.core" "nd-left") app)) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") right) (jolt-invoke (var-deref "clojure.core" "nd-val") right) (jolt-invoke (var-deref "clojure.core" "nd-right") app) (jolt-invoke (var-deref "clojure.core" "nd-right") right))) (jolt-invoke (var-deref "clojure.core" "balance-left-del") (jolt-invoke (var-deref "clojure.core" "nd-key") left) (jolt-invoke (var-deref "clojure.core" "nd-val") left) (jolt-invoke (var-deref "clojure.core" "nd-left") left) (jolt-invoke (var-deref "clojure.core" "mk-black") (jolt-invoke (var-deref "clojure.core" "nd-key") right) (jolt-invoke (var-deref "clojure.core" "nd-val") right) app (jolt-invoke (var-deref "clojure.core" "nd-right") right))))) jolt-nil))))))))) tree-append)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-del" (letrec ((tree-del (lambda (cmp tree k) (let fnrec291 ((cmp cmp) (tree tree) (k k)) (let* ((c (jolt-invoke cmp k (jolt-invoke (var-deref "clojure.core" "nd-key") tree)))) (if (jolt-zero? c) (jolt-invoke (var-deref "clojure.core" "tree-append") (jolt-invoke (var-deref "clojure.core" "nd-left") tree) (jolt-invoke (var-deref "clojure.core" "nd-right") tree)) (if (jolt-neg? c) (let* ((del (jolt-invoke tree-del cmp (jolt-invoke (var-deref "clojure.core" "nd-left") tree) k))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "black?") (jolt-invoke (var-deref "clojure.core" "nd-left") tree))) (jolt-invoke (var-deref "clojure.core" "balance-left-del") (jolt-invoke (var-deref "clojure.core" "nd-key") tree) (jolt-invoke (var-deref "clojure.core" "nd-val") tree) del (jolt-invoke (var-deref "clojure.core" "nd-right") tree)) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") tree) (jolt-invoke (var-deref "clojure.core" "nd-val") tree) del (jolt-invoke (var-deref "clojure.core" "nd-right") tree)))) (if (jolt-truthy? (keyword #f "else")) (let* ((del (jolt-invoke tree-del cmp (jolt-invoke (var-deref "clojure.core" "nd-right") tree) k))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "black?") (jolt-invoke (var-deref "clojure.core" "nd-right") tree))) (jolt-invoke (var-deref "clojure.core" "balance-right-del") (jolt-invoke (var-deref "clojure.core" "nd-key") tree) (jolt-invoke (var-deref "clojure.core" "nd-val") tree) (jolt-invoke (var-deref "clojure.core" "nd-left") tree) del) (jolt-invoke (var-deref "clojure.core" "mk-red") (jolt-invoke (var-deref "clojure.core" "nd-key") tree) (jolt-invoke (var-deref "clojure.core" "nd-val") tree) (jolt-invoke (var-deref "clojure.core" "nd-left") tree) del))) jolt-nil)))))))) tree-del)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-collect" (letrec ((tree-collect (lambda (t proj acc) (let fnrec292 ((t t) (proj proj) (acc acc)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") t)) acc (jolt-invoke tree-collect (jolt-invoke (var-deref "clojure.core" "nd-right") t) proj (jolt-conj (jolt-invoke tree-collect (jolt-invoke (var-deref "clojure.core" "nd-left") t) proj acc) (jolt-invoke proj t)))))))) tree-collect)))
(guard (e (#t #f))
  (def-var! "clojure.core" "make-sorted" (letrec ((make-sorted (lambda (tag tree cnt cmp ops) (let fnrec293 ((tag tag) (tree tree) (cnt cnt) (cmp cmp) (ops ops)) (jolt-invoke (var-deref "jolt.host" "ref-put!") (jolt-invoke (var-deref "jolt.host" "ref-put!") (jolt-invoke (var-deref "jolt.host" "ref-put!") (jolt-invoke (var-deref "jolt.host" "ref-put!") (jolt-invoke (var-deref "jolt.host" "tagged-table") tag) (keyword #f "tree") tree) (keyword #f "cnt") cnt) (keyword #f "cmp") cmp) (keyword #f "ops") ops))))) make-sorted)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sc-entries" (letrec ((sc-entries (lambda (sc proj) (let fnrec294 ((sc sc) (proj proj)) (jolt-invoke (var-deref "clojure.core" "tree-collect") (jolt-invoke (var-deref "clojure.core" "sfield") sc (keyword #f "tree")) proj (jolt-vector)))))) sc-entries)))
(guard (e (#t #f))
  (def-var! "clojure.core" "map-entry" (letrec ((map-entry (lambda (t) (let fnrec295 ((t t)) (let* ((_o$296 (jolt-invoke (var-deref "clojure.core" "nd-key") t)) (_o$297 (jolt-invoke (var-deref "clojure.core" "nd-val") t))) (jolt-vector _o$296 _o$297)))))) map-entry)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-get" (letrec ((sm-get (lambda (sm k not-found) (let fnrec298 ((sm sm) (k k) (not-found not-found)) (let* ((n (jolt-invoke (var-deref "clojure.core" "tree-lookup") (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "tree")) (jolt-invoke (var-deref "clojure.core" "the-cmp") sm) k))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") n)) not-found (jolt-invoke (var-deref "clojure.core" "nd-val") n))))))) sm-get)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-assoc-1" (letrec ((sm-assoc-1 (lambda (sm k v) (let fnrec299 ((sm sm) (k k) (v v)) (let* ((cmp (jolt-invoke (var-deref "clojure.core" "the-cmp") sm)) (tree (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "tree"))) (node (jolt-invoke (var-deref "clojure.core" "tree-lookup") tree cmp k))) (if (jolt-truthy? (let* ((and__13__auto node)) (if (jolt-truthy? and__13__auto) (jolt= v (jolt-invoke (var-deref "clojure.core" "nd-val") node)) and__13__auto))) sm (if (jolt-truthy? node) (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-map") (jolt-invoke (var-deref "clojure.core" "tree-replace") cmp tree k v) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cnt")) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cmp")) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "ops"))) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-map") (jolt-invoke (var-deref "clojure.core" "blacken") (jolt-invoke (var-deref "clojure.core" "tree-ins") cmp tree k v)) (jolt-inc (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cnt"))) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cmp")) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "ops"))) jolt-nil)))))))) sm-assoc-1)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-assoc-many" (letrec ((sm-assoc-many (lambda (sm kvs) (let fnrec300 ((sm sm) (kvs kvs)) (let* ((n (jolt-count kvs))) (begin (if (jolt-odd? n) (jolt-throw (jolt-ex-info "sorted-map assoc expects an even number of key/values" (let* ((_o$302 (keyword #f "count")) (_o$303 n)) (jolt-hash-map _o$302 _o$303)))) jolt-nil) (let* ((m sm) (i 0)) (let loop301 ((m m) (i i)) (if (< i n) (loop301 (jolt-invoke (var-deref "clojure.core" "sm-assoc-1") m (jolt-nth kvs i) (jolt-nth kvs (jolt-inc i))) (+ i 2)) m))))))))) sm-assoc-many)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-dissoc-1" (letrec ((sm-dissoc-1 (lambda (sm k) (let fnrec304 ((sm sm) (k k)) (let* ((cmp (jolt-invoke (var-deref "clojure.core" "the-cmp") sm)) (tree (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "tree")))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-invoke (var-deref "clojure.core" "tree-lookup") tree cmp k))) sm (let* ((t (jolt-invoke (var-deref "clojure.core" "tree-del") cmp tree k))) (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-map") (if (jolt-truthy? t) (jolt-invoke (var-deref "clojure.core" "blacken") t) jolt-nil) (jolt-dec (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cnt"))) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cmp")) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "ops")))))))))) sm-dissoc-1)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-dissoc-many" (letrec ((sm-dissoc-many (lambda (sm ks) (let fnrec305 ((sm sm) (ks ks)) (jolt-reduce (var-deref "clojure.core" "sm-dissoc-1") sm ks))))) sm-dissoc-many)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-conj-1" (letrec ((sm-conj-1 (lambda (sm x) (let fnrec306 ((sm sm) (x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") x)) sm (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") x)) (jolt-reduce (lambda (m e) (let fnrec307 ((m m) (e e)) (jolt-invoke (var-deref "clojure.core" "sm-assoc-1") m (jolt-first e) (jolt-invoke (var-deref "clojure.core" "second") e)))) sm (jolt-seq x)) (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "vector?") x))) (if (jolt-truthy? and__13__auto) (jolt= 2 (jolt-count x)) and__13__auto))) (jolt-invoke (var-deref "clojure.core" "sm-assoc-1") sm (jolt-nth x 0) (jolt-nth x 1)) (if (jolt-truthy? (keyword #f "else")) (jolt-throw (jolt-ex-info "conj on a sorted-map requires a [key value] pair or a map" (jolt-hash-map))) jolt-nil)))))))) sm-conj-1)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-conj-many" (letrec ((sm-conj-many (lambda (sm xs) (let fnrec308 ((sm sm) (xs xs)) (jolt-reduce (var-deref "clojure.core" "sm-conj-1") sm xs))))) sm-conj-many)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ss-get" (letrec ((ss-get (lambda (ss x not-found) (let fnrec309 ((ss ss) (x x) (not-found not-found)) (let* ((n (jolt-invoke (var-deref "clojure.core" "tree-lookup") (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "tree")) (jolt-invoke (var-deref "clojure.core" "the-cmp") ss) x))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") n)) not-found (jolt-invoke (var-deref "clojure.core" "nd-key") n))))))) ss-get)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ss-conj-1" (letrec ((ss-conj-1 (lambda (ss x) (let fnrec310 ((ss ss) (x x)) (let* ((cmp (jolt-invoke (var-deref "clojure.core" "the-cmp") ss)) (tree (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "tree")))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "tree-lookup") tree cmp x)) ss (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-set") (jolt-invoke (var-deref "clojure.core" "blacken") (jolt-invoke (var-deref "clojure.core" "tree-ins") cmp tree x jolt-nil)) (jolt-inc (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cnt"))) (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cmp")) (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "ops"))))))))) ss-conj-1)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ss-conj-many" (letrec ((ss-conj-many (lambda (ss xs) (let fnrec311 ((ss ss) (xs xs)) (jolt-reduce (var-deref "clojure.core" "ss-conj-1") ss xs))))) ss-conj-many)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ss-disj-1" (letrec ((ss-disj-1 (lambda (ss x) (let fnrec312 ((ss ss) (x x)) (let* ((cmp (jolt-invoke (var-deref "clojure.core" "the-cmp") ss)) (tree (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "tree")))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-invoke (var-deref "clojure.core" "tree-lookup") tree cmp x))) ss (let* ((t (jolt-invoke (var-deref "clojure.core" "tree-del") cmp tree x))) (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-set") (if (jolt-truthy? t) (jolt-invoke (var-deref "clojure.core" "blacken") t) jolt-nil) (jolt-dec (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cnt"))) (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cmp")) (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "ops")))))))))) ss-disj-1)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ss-disj-many" (letrec ((ss-disj-many (lambda (ss xs) (let fnrec313 ((ss ss) (xs xs)) (jolt-reduce (var-deref "clojure.core" "ss-disj-1") ss xs))))) ss-disj-many)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "sm-ops" (let* ((_o$321 (keyword #f "count")) (_o$322 (lambda (sm) (let fnrec314 ((sm sm)) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cnt"))))) (_o$323 (keyword #f "entries")) (_o$324 (lambda (sm) (let fnrec315 ((sm sm)) (jolt-invoke (var-deref "clojure.core" "sc-entries") sm (var-deref "clojure.core" "map-entry"))))) (_o$325 (keyword #f "seq")) (_o$326 (lambda (sm) (let fnrec316 ((sm sm)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "sc-entries") sm (var-deref "clojure.core" "map-entry")))))) (_o$327 (keyword #f "rseq")) (_o$328 (lambda (sm) (let fnrec317 ((sm sm)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "vec") (jolt-reverse (jolt-invoke (var-deref "clojure.core" "sc-entries") sm (var-deref "clojure.core" "map-entry")))))))) (_o$329 (keyword #f "first")) (_o$330 (lambda (sm) (let fnrec318 ((sm sm)) (jolt-first (jolt-invoke (var-deref "clojure.core" "sc-entries") sm (var-deref "clojure.core" "map-entry")))))) (_o$331 (keyword #f "get")) (_o$332 (var-deref "clojure.core" "sm-get")) (_o$333 (keyword #f "contains")) (_o$334 (lambda (sm k) (let fnrec319 ((sm sm) (k k)) (jolt-not (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-invoke (var-deref "clojure.core" "tree-lookup") (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "tree")) (jolt-invoke (var-deref "clojure.core" "the-cmp") sm) k)))))) (_o$335 (keyword #f "assoc")) (_o$336 (var-deref "clojure.core" "sm-assoc-many")) (_o$337 (keyword #f "dissoc")) (_o$338 (var-deref "clojure.core" "sm-dissoc-many")) (_o$339 (keyword #f "conj")) (_o$340 (var-deref "clojure.core" "sm-conj-many")) (_o$341 (keyword #f "empty")) (_o$342 (lambda (sm) (let fnrec320 ((sm sm)) (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-map") jolt-nil 0 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cmp")) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "ops"))))))) (jolt-hash-map _o$321 _o$322 _o$323 _o$324 _o$325 _o$326 _o$327 _o$328 _o$329 _o$330 _o$331 _o$332 _o$333 _o$334 _o$335 _o$336 _o$337 _o$338 _o$339 _o$340 _o$341 _o$342)) (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "ss-ops" (let* ((_o$350 (keyword #f "count")) (_o$351 (lambda (ss) (let fnrec343 ((ss ss)) (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cnt"))))) (_o$352 (keyword #f "entries")) (_o$353 (lambda (ss) (let fnrec344 ((ss ss)) (jolt-invoke (var-deref "clojure.core" "sc-entries") ss (var-deref "clojure.core" "nd-key"))))) (_o$354 (keyword #f "seq")) (_o$355 (lambda (ss) (let fnrec345 ((ss ss)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "sc-entries") ss (var-deref "clojure.core" "nd-key")))))) (_o$356 (keyword #f "rseq")) (_o$357 (lambda (ss) (let fnrec346 ((ss ss)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "vec") (jolt-reverse (jolt-invoke (var-deref "clojure.core" "sc-entries") ss (var-deref "clojure.core" "nd-key")))))))) (_o$358 (keyword #f "first")) (_o$359 (lambda (ss) (let fnrec347 ((ss ss)) (jolt-first (jolt-invoke (var-deref "clojure.core" "sc-entries") ss (var-deref "clojure.core" "nd-key")))))) (_o$360 (keyword #f "get")) (_o$361 (var-deref "clojure.core" "ss-get")) (_o$362 (keyword #f "contains")) (_o$363 (lambda (ss x) (let fnrec348 ((ss ss) (x x)) (jolt-not (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-invoke (var-deref "clojure.core" "tree-lookup") (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "tree")) (jolt-invoke (var-deref "clojure.core" "the-cmp") ss) x)))))) (_o$364 (keyword #f "conj")) (_o$365 (var-deref "clojure.core" "ss-conj-many")) (_o$366 (keyword #f "disj")) (_o$367 (var-deref "clojure.core" "ss-disj-many")) (_o$368 (keyword #f "empty")) (_o$369 (lambda (ss) (let fnrec349 ((ss ss)) (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-set") jolt-nil 0 (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cmp")) (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "ops"))))))) (jolt-hash-map _o$350 _o$351 _o$352 _o$353 _o$354 _o$355 _o$356 _o$357 _o$358 _o$359 _o$360 _o$361 _o$362 _o$363 _o$364 _o$365 _o$366 _o$367 _o$368 _o$369)) (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-map" (letrec ((sorted-map (lambda kvs (let fnrec370 ((kvs (list->cseq kvs))) (jolt-invoke (var-deref "clojure.core" "sm-assoc-many") (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-map") jolt-nil 0 jolt-nil (var-deref "clojure.core" "sm-ops")) (jolt-invoke (var-deref "clojure.core" "vec") kvs)))))) sorted-map)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-map-by" (letrec ((sorted-map-by (lambda (comparator . kvs) (let fnrec371 ((comparator comparator) (kvs (list->cseq kvs))) (jolt-invoke (var-deref "clojure.core" "sm-assoc-many") (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-map") jolt-nil 0 (jolt-invoke (var-deref "clojure.core" "fn->cmp") comparator) (var-deref "clojure.core" "sm-ops")) (jolt-invoke (var-deref "clojure.core" "vec") kvs)))))) sorted-map-by)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-set" (letrec ((sorted-set (lambda xs (let fnrec372 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "ss-conj-many") (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-set") jolt-nil 0 jolt-nil (var-deref "clojure.core" "ss-ops")) (jolt-invoke (var-deref "clojure.core" "vec") xs)))))) sorted-set)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-set-by" (letrec ((sorted-set-by (lambda (comparator . xs) (let fnrec373 ((comparator comparator) (xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "ss-conj-many") (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-set") jolt-nil 0 (jolt-invoke (var-deref "clojure.core" "fn->cmp") comparator) (var-deref "clojure.core" "ss-ops")) (jolt-invoke (var-deref "clojure.core" "vec") xs)))))) sorted-set-by)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-map?" (letrec ((sorted-map? (lambda (x) (let fnrec374 ((x x)) (jolt= (keyword "jolt" "sorted-map") (jolt-invoke (var-deref "clojure.core" "sfield") x (keyword "jolt" "type"))))))) sorted-map?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-set?" (letrec ((sorted-set? (lambda (x) (let fnrec375 ((x x)) (jolt= (keyword "jolt" "sorted-set") (jolt-invoke (var-deref "clojure.core" "sfield") x (keyword "jolt" "type"))))))) sorted-set?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted?" (letrec ((sorted? (lambda (x) (let fnrec376 ((x x)) (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "sorted-map?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "sorted-set?") x))))))) sorted?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sc-keyf" (letrec ((sc-keyf (lambda (sc) (let fnrec377 ((sc sc)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "sorted-map?") sc)) jolt-first jolt-identity))))) sc-keyf)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sc-proj" (letrec ((sc-proj (lambda (sc) (let fnrec378 ((sc sc)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "sorted-map?") sc)) (var-deref "clojure.core" "map-entry") (var-deref "clojure.core" "nd-key")))))) sc-proj)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sub-filter" (letrec ((sub-filter (lambda (sc tests) (let fnrec379 ((sc sc) (tests tests)) (let* ((cmp (jolt-invoke (var-deref "clojure.core" "the-cmp") sc)) (keyf (jolt-invoke (var-deref "clojure.core" "sc-keyf") sc))) (jolt-invoke (var-deref "clojure.core" "filterv") (lambda (e) (let fnrec380 ((e e)) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (G__15) (let fnrec381 ((G__15 G__15)) (let* ((G__16 G__15) (test (jolt-nth G__16 0 jolt-nil)) (k (jolt-nth G__16 1 jolt-nil))) (jolt-invoke test (jolt-invoke cmp (jolt-invoke keyf e) k) 0)))) tests))) (jolt-invoke (var-deref "clojure.core" "sc-entries") sc (jolt-invoke (var-deref "clojure.core" "sc-proj") sc)))))))) sub-filter)))
(guard (e (#t #f))
  (def-var! "clojure.core" "subseq" (letrec ((subseq (case-lambda ((sc test k) (let fnrec382 ((sc sc) (test test) (k k)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "sub-filter") sc (jolt-vector (let* ((_o$383 test) (_o$384 k)) (jolt-vector _o$383 _o$384))))))) ((sc start-test start-k end-test end-k) (let fnrec385 ((sc sc) (start-test start-test) (start-k start-k) (end-test end-test) (end-k end-k)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "sub-filter") sc (let* ((_o$390 (let* ((_o$386 start-test) (_o$387 start-k)) (jolt-vector _o$386 _o$387))) (_o$391 (let* ((_o$388 end-test) (_o$389 end-k)) (jolt-vector _o$388 _o$389)))) (jolt-vector _o$390 _o$391))))))))) subseq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "rsubseq" (letrec ((rsubseq (case-lambda ((sc test k) (let fnrec392 ((sc sc) (test test) (k k)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "vec") (jolt-reverse (jolt-invoke (var-deref "clojure.core" "sub-filter") sc (jolt-vector (let* ((_o$393 test) (_o$394 k)) (jolt-vector _o$393 _o$394))))))))) ((sc start-test start-k end-test end-k) (let fnrec395 ((sc sc) (start-test start-test) (start-k start-k) (end-test end-test) (end-k end-k)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "vec") (jolt-reverse (jolt-invoke (var-deref "clojure.core" "sub-filter") sc (let* ((_o$400 (let* ((_o$396 start-test) (_o$397 start-k)) (jolt-vector _o$396 _o$397))) (_o$401 (let* ((_o$398 end-test) (_o$399 end-k)) (jolt-vector _o$398 _o$399)))) (jolt-vector _o$400 _o$401))))))))))) rsubseq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "comment"
    (lambda body (let fnrec402 ((body (list->cseq body))) jolt-nil)))
  (mark-macro! "clojure.core" "comment"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-out-str"
    (lambda body (let fnrec403 ((body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "__with-out-str")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") )) body))))))
  (mark-macro! "clojure.core" "with-out-str"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defmulti"
    (lambda (name . args) (let fnrec404 ((name name) (args (list->cseq args))) (let* ((args (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "string?") (jolt-first args))) (jolt-rest args) args)) (args (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "map?") (jolt-first args)))) (if (jolt-truthy? and__13__auto) (jolt-not (jolt-invoke (var-deref "clojure.core" "symbol?") (jolt-first args))) and__13__auto))) (jolt-rest args) args)) (dispatch (jolt-first args)) (opts (jolt-rest args))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "defmulti-setup")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") name))) (jolt-invoke (var-deref "clojure.core" "__sq1") dispatch) opts)))))
  (mark-macro! "clojure.core" "defmulti"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defmethod"
    (lambda (mm dispatch-val . fn-tail) (let fnrec405 ((mm mm) (dispatch-val dispatch-val) (fn-tail (list->cseq fn-tail))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "defmethod-setup")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") mm))) (jolt-invoke (var-deref "clojure.core" "__sq1") dispatch-val) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) fn-tail))))))
  (mark-macro! "clojure.core" "defmethod"))
(guard (e (#t #f))
  (def-var! "clojure.core" "prefer-method"
    (lambda (mm dval-a dval-b) (let fnrec406 ((mm mm) (dval-a dval-a) (dval-b dval-b)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "prefer-method-setup")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") mm))) (jolt-invoke (var-deref "clojure.core" "__sq1") dval-a) (jolt-invoke (var-deref "clojure.core" "__sq1") dval-b)))))
  (mark-macro! "clojure.core" "prefer-method"))
(guard (e (#t #f))
  (def-var! "clojure.core" "remove-method"
    (lambda (mm dval) (let fnrec407 ((mm mm) (dval dval)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "remove-method-setup")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") mm))) (jolt-invoke (var-deref "clojure.core" "__sq1") dval)))))
  (mark-macro! "clojure.core" "remove-method"))
(guard (e (#t #f))
  (def-var! "clojure.core" "remove-all-methods"
    (lambda (mm) (let fnrec408 ((mm mm)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "remove-all-methods-setup")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") mm)))))))
  (mark-macro! "clojure.core" "remove-all-methods"))
(guard (e (#t #f))
  (def-var! "clojure.core" "get-method"
    (lambda (mm dval) (let fnrec409 ((mm mm) (dval dval)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get-method-setup")) (jolt-invoke (var-deref "clojure.core" "__sq1") mm) (jolt-invoke (var-deref "clojure.core" "__sq1") dval)))))
  (mark-macro! "clojure.core" "get-method"))
(guard (e (#t #f))
  (def-var! "clojure.core" "methods"
    (lambda (mm) (let fnrec410 ((mm mm)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "methods-setup")) (jolt-invoke (var-deref "clojure.core" "__sq1") mm)))))
  (mark-macro! "clojure.core" "methods"))
(guard (e (#t #f))
  (def-var! "clojure.core" "prefers"
    (lambda (mm) (let fnrec411 ((mm mm)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "prefers-setup")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") mm)))))))
  (mark-macro! "clojure.core" "prefers"))
(guard (e (#t #f))
  (def-var! "clojure.core" "instance?"
    (lambda (t x) (let fnrec412 ((t t) (x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") t)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "instance-check")) (jolt-invoke (var-deref "clojure.core" "__sq1") t) (jolt-invoke (var-deref "clojure.core" "__sq1") x)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "instance-check")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") t))) (jolt-invoke (var-deref "clojure.core" "__sq1") x))))))
  (mark-macro! "clojure.core" "instance?"))
(guard (e (#t #f))
  (def-var! "clojure.core" "locking"
    (lambda (x . body) (let fnrec413 ((x x) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) (jolt-invoke (var-deref "clojure.core" "__sq1") x) body))))
  (mark-macro! "clojure.core" "locking"))
(guard (e (#t #f))
  (def-var! "clojure.core" "time"
    (lambda (expr) (let fnrec414 ((expr expr)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "start__1__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "current-time-ms")))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "ret__2__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") expr))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "println")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "str")) (jolt-invoke (var-deref "clojure.core" "__sq1") "Elapsed time: ") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "-")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "current-time-ms")))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "start__1__auto")))) (jolt-invoke (var-deref "clojure.core" "__sq1") " msecs"))))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "ret__2__auto"))))))
  (mark-macro! "clojure.core" "time"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-redefs"
    (lambda (bindings . body) (let fnrec415 ((bindings bindings) (body (list->cseq body))) (let* ((pairs (jolt-reduce (lambda (acc p) (let fnrec416 ((acc acc) (p p)) (jolt-conj (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "var")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first p)))) (jolt-invoke (var-deref "clojure.core" "second") p)))) (jolt-vector) (jolt-invoke (var-deref "clojure.core" "partition") 2 bindings)))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "with-redefs-fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "hash-map")) pairs)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") )) body)))))))
  (mark-macro! "clojure.core" "with-redefs"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-local-vars"
    (lambda (bindings . body) (let fnrec417 ((bindings bindings) (body (list->cseq body))) (let* ((binds (jolt-reduce (lambda (acc p) (let fnrec418 ((acc acc) (p p)) (jolt-conj (jolt-conj acc (jolt-first p)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "__local-var")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "second") p)))))) (jolt-vector) (jolt-invoke (var-deref "clojure.core" "partition") 2 bindings)))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") binds)) body)))))
  (mark-macro! "clojure.core" "with-local-vars"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-open"
    (lambda (bindings . body) (let fnrec419 ((bindings bindings) (body (list->cseq body))) (if (jolt-zero? (jolt-count bindings)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) body) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first bindings)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "second") bindings)))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "try")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "with-open")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "vec") (jolt-drop 2 bindings))) body)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "finally")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "__close")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first bindings)))))))))))))
  (mark-macro! "clojure.core" "with-open"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-precision"
    (lambda (precision . exprs) (let fnrec420 ((precision precision) (exprs (list->cseq exprs))) (let* ((body (if (jolt= (keyword #f "rounding") (jolt-first exprs)) (jolt-drop 2 exprs) exprs))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) body)))))
  (mark-macro! "clojure.core" "with-precision"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-bindings"
    (lambda (binding-map . body) (let fnrec421 ((binding-map binding-map) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "with-bindings*")) (jolt-invoke (var-deref "clojure.core" "__sq1") binding-map) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") )) body))))))
  (mark-macro! "clojure.core" "with-bindings"))
(guard (e (#t #f))
  (def-var! "clojure.core" "bound-fn"
    (lambda fntail (let fnrec422 ((fntail (list->cseq fntail))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "bound-fn*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) fntail))))))
  (mark-macro! "clojure.core" "bound-fn"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defonce"
    (lambda (name expr) (let fnrec423 ((name name) (expr expr)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "v__3__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "resolve")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") name))))))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "and")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "v__3__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "some?")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "var-get")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "v__3__auto")))))))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "v__3__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def")) (jolt-invoke (var-deref "clojure.core" "__sq1") name) (jolt-invoke (var-deref "clojure.core" "__sq1") expr)))))))))
  (mark-macro! "clojure.core" "defonce"))
(guard (e (#t #f))
  (def-var! "clojure.core" "if-not"
    (lambda (test then . G__17) (let fnrec424 ((test test) (then then) (G__17 (list->cseq G__17))) (let* ((G__18 G__17) (else (jolt-nth G__18 0 jolt-nil))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "not")) (jolt-invoke (var-deref "clojure.core" "__sq1") test))) (jolt-invoke (var-deref "clojure.core" "__sq1") then) (jolt-invoke (var-deref "clojure.core" "__sq1") else))))))
  (mark-macro! "clojure.core" "if-not"))
(guard (e (#t #f))
  (def-var! "clojure.core" "if-let"
    (lambda (bindings then . G__19) (let fnrec425 ((bindings bindings) (then then) (G__19 (list->cseq G__19))) (let* ((G__20 G__19) (else (jolt-nth G__20 0 jolt-nil))) (let* ((form (jolt-invoke bindings 0)) (tst (jolt-invoke bindings 1))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__4__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") tst))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__4__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") form) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__4__auto")))) (jolt-invoke (var-deref "clojure.core" "__sq1") then))) (jolt-invoke (var-deref "clojure.core" "__sq1") else)))))))))
  (mark-macro! "clojure.core" "if-let"))
(guard (e (#t #f))
  (def-var! "clojure.core" "if-some"
    (lambda (bindings then . G__21) (let fnrec426 ((bindings bindings) (then then) (G__21 (list->cseq G__21))) (let* ((G__22 G__21) (else (jolt-nth G__22 0 jolt-nil))) (let* ((form (jolt-invoke bindings 0)) (tst (jolt-invoke bindings 1))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__5__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") tst))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "some?")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__5__auto")))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") form) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__5__auto")))) (jolt-invoke (var-deref "clojure.core" "__sq1") then))) (jolt-invoke (var-deref "clojure.core" "__sq1") else)))))))))
  (mark-macro! "clojure.core" "if-some"))
(guard (e (#t #f))
  (def-var! "clojure.core" "when-some"
    (lambda (bindings . body) (let fnrec427 ((bindings bindings) (body (list->cseq body))) (let* ((form (jolt-invoke bindings 0)) (tst (jolt-invoke bindings 1))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__6__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") tst))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "some?")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__6__auto")))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") form) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__6__auto")))) body)) (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil))))))))
  (mark-macro! "clojure.core" "when-some"))
(guard (e (#t #f))
  (def-var! "clojure.core" "while"
    (lambda (test . body) (let fnrec428 ((test test) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "loop")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") )) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "when")) (jolt-invoke (var-deref "clojure.core" "__sq1") test) body (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "recur"))))))))))
  (mark-macro! "clojure.core" "while"))
(guard (e (#t #f))
  (def-var! "clojure.core" "dotimes"
    (lambda (bindings . body) (let fnrec429 ((bindings bindings) (body (list->cseq body))) (let* ((i (jolt-invoke bindings 0)) (n (jolt-invoke bindings 1))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "n__7__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") n))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "loop")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") i) (jolt-invoke (var-deref "clojure.core" "__sq1") 0))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "when")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "<")) (jolt-invoke (var-deref "clojure.core" "__sq1") i) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "n__7__auto")))) body (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "recur")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "inc")) (jolt-invoke (var-deref "clojure.core" "__sq1") i))))))))))))))
  (mark-macro! "clojure.core" "dotimes"))
(guard (e (#t #f))
  (def-var! "clojure.core" "fresh-sym" (letrec ((fresh-sym (lambda () (let fnrec430 () (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke (var-deref "clojure.core" "gensym") ))))))) fresh-sym)))
(guard (e (#t #f))
  (def-var! "clojure.core" "when-first"
    (lambda (bindings . body) (let fnrec431 ((bindings bindings) (body (list->cseq body))) (let* ((x (jolt-invoke bindings 0)) (coll (jolt-invoke bindings 1))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "when-let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") x) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "first")) (jolt-invoke (var-deref "clojure.core" "__sq1") coll))))) body)))))
  (mark-macro! "clojure.core" "when-first"))
(guard (e (#t #f))
  (def-var! "clojure.core" "doto"
    (lambda (x . forms) (let fnrec432 ((x x) (forms (list->cseq forms))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym") )) (steps (jolt-map (lambda (f) (let fnrec433 ((f f)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") f)) (jolt-apply jolt-list (jolt-first f) g (jolt-rest f)) (jolt-list f g)))) forms))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") x))) steps (jolt-invoke (var-deref "clojure.core" "__sq1") g))))))
  (mark-macro! "clojure.core" "doto"))
(guard (e (#t #f))
  (def-var! "clojure.core" "thread-binds" (letrec ((thread-binds (lambda (g steps) (let fnrec434 ((g g) (steps steps)) (jolt-reduce (lambda (acc s) (let fnrec435 ((acc acc) (s s)) (jolt-conj (jolt-conj acc g) s))) (jolt-vector) (jolt-invoke (var-deref "clojure.core" "butlast") steps)))))) thread-binds)))
(guard (e (#t #f))
  (def-var! "clojure.core" "as->"
    (lambda (expr name . forms) (let fnrec436 ((expr expr) (name name) (forms (list->cseq forms))) (let* ((pairs (jolt-reduce (lambda (acc f) (let fnrec437 ((acc acc) (f f)) (jolt-conj (jolt-conj acc name) f))) (jolt-vector) (jolt-invoke (var-deref "clojure.core" "butlast") forms)))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") name) (jolt-invoke (var-deref "clojure.core" "__sq1") expr) pairs)) (jolt-invoke (var-deref "clojure.core" "__sq1") (if (jolt-empty? forms) name (jolt-last forms))))))))
  (mark-macro! "clojure.core" "as->"))
(guard (e (#t #f))
  (def-var! "clojure.core" "some->"
    (lambda (expr . forms) (let fnrec438 ((expr expr) (forms (list->cseq forms))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym") )) (steps (jolt-map (lambda (f) (let fnrec439 ((f f)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "nil?")) (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->")) (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") f)))))) forms))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") expr) (jolt-invoke (var-deref "clojure.core" "thread-binds") g steps))) (jolt-invoke (var-deref "clojure.core" "__sq1") (if (jolt-empty? steps) g (jolt-last steps))))))))
  (mark-macro! "clojure.core" "some->"))
(guard (e (#t #f))
  (def-var! "clojure.core" "some->>"
    (lambda (expr . forms) (let fnrec440 ((expr expr) (forms (list->cseq forms))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym") )) (steps (jolt-map (lambda (f) (let fnrec441 ((f f)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "nil?")) (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->>")) (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") f)))))) forms))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") expr) (jolt-invoke (var-deref "clojure.core" "thread-binds") g steps))) (jolt-invoke (var-deref "clojure.core" "__sq1") (if (jolt-empty? steps) g (jolt-last steps))))))))
  (mark-macro! "clojure.core" "some->>"))
(guard (e (#t #f))
  (def-var! "clojure.core" "cond->>"
    (lambda (expr . clauses) (let fnrec442 ((expr expr) (clauses (list->cseq clauses))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym") )) (steps (jolt-map (lambda (pair) (let fnrec443 ((pair pair)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first pair)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->>")) (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "second") pair)))) (jolt-invoke (var-deref "clojure.core" "__sq1") g)))) (jolt-invoke (var-deref "clojure.core" "partition") 2 clauses)))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") g) (jolt-invoke (var-deref "clojure.core" "__sq1") expr) (jolt-invoke (var-deref "clojure.core" "thread-binds") g steps))) (jolt-invoke (var-deref "clojure.core" "__sq1") (if (jolt-empty? steps) g (jolt-last steps))))))))
  (mark-macro! "clojure.core" "cond->>"))
(guard (e (#t #f))
  (def-var! "clojure.core" "assert"
    (lambda (x . G__23) (let fnrec444 ((x x) (G__23 (list->cseq G__23))) (let* ((G__24 G__23) (message (jolt-nth G__24 0 jolt-nil))) (let* ((msg (if (jolt-truthy? message) message (jolt-invoke (var-deref "clojure.core" "str") "Assert failed: " (jolt-invoke (var-deref "clojure.core" "pr-str") x))))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "when-not")) (jolt-invoke (var-deref "clojure.core" "__sq1") x) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "throw")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "ex-info")) (jolt-invoke (var-deref "clojure.core" "__sq1") msg) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqmap") ))))))))))))
  (mark-macro! "clojure.core" "assert"))
(guard (e (#t #f))
  (def-var! "clojure.core" "pvalues"
    (lambda exprs (let fnrec445 ((exprs (list->cseq exprs))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "pcalls")) (jolt-map (lambda (e) (let fnrec446 ((e e)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") )) (jolt-invoke (var-deref "clojure.core" "__sq1") e)))) exprs)))))
  (mark-macro! "clojure.core" "pvalues"))
(guard (e (#t #f))
  (def-var! "clojure.core" "delay"
    (lambda body (let fnrec447 ((body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-delay")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") )) body))))))
  (mark-macro! "clojure.core" "delay"))
(guard (e (#t #f))
  (def-var! "clojure.core" "future"
    (lambda body (let fnrec448 ((body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "future-call")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") )) body))))))
  (mark-macro! "clojure.core" "future"))
(guard (e (#t #f))
  (def-var! "clojure.core" "letfn"
    (lambda (fnspecs . body) (let fnrec449 ((fnspecs fnspecs) (body (list->cseq body))) (let* ((binds (jolt-reduce (lambda (acc spec) (let fnrec450 ((acc acc) (spec spec)) (jolt-conj (jolt-conj acc (jolt-first spec)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*")) (jolt-rest spec))))) (jolt-vector) fnspecs))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") binds)) body)))))
  (mark-macro! "clojure.core" "letfn"))
(guard (e (#t #f))
  (def-var! "clojure.core" "binding"
    (lambda (bindings . body) (let fnrec451 ((bindings bindings) (body (list->cseq body))) (let* ((pairs (jolt-reduce (lambda (acc p) (let fnrec452 ((acc acc) (p p)) (jolt-conj (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "var")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first p)))) (jolt-invoke (var-deref "clojure.core" "second") p)))) (jolt-vector) (jolt-invoke (var-deref "clojure.core" "partition") 2 bindings)))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "frame__8__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "array-map")) pairs)))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "push-thread-bindings")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "frame__8__auto")))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "try")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) body)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "finally")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "pop-thread-bindings")))))))))))))
  (mark-macro! "clojure.core" "binding"))
(guard (e (#t #f))
  (def-var! "clojure.core" "condp"
    (lambda (pred expr . clauses) (let fnrec453 ((pred pred) (expr expr) (clauses (list->cseq clauses))) (let* ((gp (jolt-invoke (var-deref "clojure.core" "fresh-sym") )) (ge (jolt-invoke (var-deref "clojure.core" "fresh-sym") )) (emit (letrec ((emit (lambda (args) (let fnrec454 ((args args)) (let* ((n (if (jolt= (keyword #f ">>") (jolt-invoke (var-deref "clojure.core" "second") args)) 3 2)) (clause (jolt-take n args)) (more (jolt-drop n args)) (cn (jolt-count clause))) (if (jolt= 0 cn) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "throw")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "ex-info")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "str")) (jolt-invoke (var-deref "clojure.core" "__sq1") "No matching clause: ") (jolt-invoke (var-deref "clojure.core" "__sq1") ge))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqmap") ))))) (if (jolt= 1 cn) (jolt-first clause) (if (jolt= 2 cn) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") gp) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first clause)) (jolt-invoke (var-deref "clojure.core" "__sq1") ge))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "second") clause)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke emit more))) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "if-let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "p__9__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") gp) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first clause)) (jolt-invoke (var-deref "clojure.core" "__sq1") ge))))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth clause 2)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "p__9__auto")))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke emit more))) jolt-nil))))))))) emit))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") gp) (jolt-invoke (var-deref "clojure.core" "__sq1") pred) (jolt-invoke (var-deref "clojure.core" "__sq1") ge) (jolt-invoke (var-deref "clojure.core" "__sq1") expr))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke emit clauses)))))))
  (mark-macro! "clojure.core" "condp"))
(guard (e (#t #f))
  (def-var! "clojure.core" "group-by-head" (letrec ((group-by-head (lambda (items) (let fnrec455 ((items items)) (jolt-reduce (lambda (acc x) (let fnrec456 ((acc acc) (x x)) (if (jolt-truthy? (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "symbol?") x))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.core" "nil?") x)))) (jolt-conj acc (jolt-vector x)) (jolt-conj (jolt-pop acc) (jolt-conj (jolt-peek acc) x))))) (jolt-vector) items))))) group-by-head)))
(guard (e (#t #f))
  (def-var! "clojure.core" "deftype"
    (lambda (tname fields . body) (let fnrec457 ((tname tname) (fields fields) (body (list->cseq body))) (let* ((unwrap (lambda (x) (let fnrec459 ((x x)) (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "seq?") x))) (if (jolt-truthy? and__13__auto) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "symbol?") (jolt-first x)))) (if (jolt-truthy? and__13__auto) (jolt= "with-meta" (jolt-invoke (var-deref "clojure.core" "name") (jolt-first x))) and__13__auto)) and__13__auto))) (jolt-invoke (var-deref "clojure.core" "second") x) x)))) (tname (jolt-invoke unwrap tname)) (fields (jolt-map unwrap fields)) (arrow (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") "->" (jolt-invoke (var-deref "clojure.core" "name") tname)))) (field-kws (jolt-map (lambda (f) (let fnrec460 ((f f)) (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") f)))) fields)) (field-tags (jolt-map (lambda (f) (let fnrec461 ((f f)) (let* ((mt (jolt-invoke (var-deref "clojure.core" "meta") f))) (if (jolt-truthy? (let* ((and__13__auto mt)) (if (jolt-truthy? and__13__auto) (jolt-get mt (keyword #f "tag")) and__13__auto))) (jolt-get mt (keyword #f "tag")) (if (jolt-truthy? (let* ((and__13__auto mt)) (if (jolt-truthy? and__13__auto) (jolt-get mt (keyword #f "num")) and__13__auto))) "num" (if (jolt-truthy? (keyword #f "else")) jolt-nil jolt-nil)))))) fields)) (field-muts (jolt-map (lambda (f) (let fnrec462 ((f f)) (let* ((mt (jolt-invoke (var-deref "clojure.core" "meta") f))) (if (jolt-truthy? (let* ((and__13__auto mt)) (if (jolt-truthy? and__13__auto) (let* ((or__14__auto (jolt-get mt (keyword #f "unsynchronized-mutable")))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-get mt (keyword #f "volatile-mutable")))) and__13__auto))) #t #f)))) fields)) (impl (lambda (proto specs) (let fnrec463 ((proto proto) (specs specs)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "extend-type")) (jolt-invoke (var-deref "clojure.core" "__sq1") tname) (jolt-invoke (var-deref "clojure.core" "__sq1") proto) (jolt-map (lambda (spec) (let fnrec464 ((spec spec)) (let* ((argv (jolt-nth spec 1)) (inst (jolt-first argv)) (binds (jolt-invoke (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "mapcat") (lambda (f) (let fnrec465 ((f f)) (let* ((_o$466 f) (_o$467 (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get")) (jolt-invoke (var-deref "clojure.core" "__sq1") inst) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") f)))))) (jolt-vector _o$466 _o$467)))) fields)))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first spec)) (jolt-invoke (var-deref "clojure.core" "__sq1") argv) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") binds)) (jolt-drop 2 spec))))))) specs)))))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def")) (jolt-invoke (var-deref "clojure.core" "__sq1") tname) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-deftype-ctor")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote")) (jolt-invoke (var-deref "clojure.core" "__sq1") tname))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") field-kws)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") field-tags)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") field-muts)))))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def")) (jolt-invoke (var-deref "clojure.core" "__sq1") arrow) (jolt-invoke (var-deref "clojure.core" "__sq1") tname))) (jolt-map (lambda (g) (let fnrec458 ((g g)) (jolt-invoke impl (jolt-first g) (jolt-rest g)))) (jolt-invoke (var-deref "clojure.core" "group-by-head") body)) (jolt-invoke (var-deref "clojure.core" "__sq1") tname))))))
  (mark-macro! "clojure.core" "deftype"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defprotocol"
    (lambda (pname . sigs) (let fnrec468 ((pname pname) (sigs (list->cseq sigs))) (let* ((sigs (let* ((s sigs)) (let loop471 ((s s)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "string?") (jolt-first s))) (loop471 (jolt-rest s)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "keyword?") (jolt-first s))) (loop471 (jolt-rest (jolt-rest s))) (if (jolt-truthy? (keyword #f "else")) s jolt-nil)))))) (methods (jolt-reduce (lambda (m sig) (let fnrec472 ((m m) (sig sig)) (jolt-assoc m (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first sig))) (let* ((_o$473 (keyword #f "name")) (_o$474 (jolt-invoke (var-deref "clojure.core" "name") (jolt-first sig)))) (jolt-hash-map _o$473 _o$474))))) (jolt-hash-map) sigs))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def")) (jolt-invoke (var-deref "clojure.core" "__sq1") pname) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-protocol")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") pname)) (jolt-invoke (var-deref "clojure.core" "__sq1") methods))))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "register-protocol-methods!")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") pname)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-map (lambda (s) (let fnrec469 ((s s)) (jolt-invoke (var-deref "clojure.core" "name") (jolt-first s)))) sigs))))) (jolt-map (lambda (sig) (let fnrec470 ((sig sig)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first sig)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "this__11__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "&")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "rest__10__auto")))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "protocol-dispatch")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") pname)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first sig))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "this__11__auto")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "rest__10__auto"))))))))) sigs))))))
  (mark-macro! "clojure.core" "defprotocol"))
(guard (e (#t #f))
  (def-var! "clojure.core" ".."
    (lambda (x form . more) (let fnrec475 ((x x) (form form) (more (list->cseq more))) (let* ((step (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") form)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f ".")) (jolt-invoke (var-deref "clojure.core" "__sq1") x) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first form)) (jolt-rest form)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f ".")) (jolt-invoke (var-deref "clojure.core" "__sq1") x) (jolt-invoke (var-deref "clojure.core" "__sq1") form))))) (if (jolt-truthy? (jolt-seq more)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "..")) (jolt-invoke (var-deref "clojure.core" "__sq1") step) more) step)))))
  (mark-macro! "clojure.core" ".."))
(guard (e (#t #f))
  (def-var! "clojure.core" "extends?" (letrec ((extends? (lambda (protocol atype) (let fnrec476 ((protocol protocol) (atype atype)) (let* ((want (jolt-invoke (var-deref "clojure.core" "name") atype)) (dotted (jolt-invoke (var-deref "clojure.core" "str") "." want)) (dlen (jolt-count dotted))) (jolt-invoke (var-deref "clojure.core" "boolean") (jolt-invoke (var-deref "clojure.core" "some") (lambda (t) (let fnrec477 ((t t)) (let* ((tn (jolt-invoke (var-deref "clojure.core" "name") t))) (let* ((or__14__auto (jolt= tn want))) (if (jolt-truthy? or__14__auto) or__14__auto (let* ((and__13__auto (> (jolt-count tn) dlen))) (if (jolt-truthy? and__13__auto) (jolt= (jolt-invoke (var-deref "clojure.core" "subs") tn (- (jolt-count tn) dlen)) dotted) and__13__auto))))))) (jolt-invoke (var-deref "clojure.core" "extenders") protocol)))))))) extends?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "extend" (letrec ((extend (lambda (atype . proto+mmaps) (let fnrec478 ((atype atype) (proto+mmaps (list->cseq proto+mmaps))) (let* ((s (jolt-seq proto+mmaps))) (let loop479 ((s s)) (if (jolt-truthy? s) (begin (let* ((proto (jolt-first s)) (mmap (jolt-invoke (var-deref "clojure.core" "second") s)) (pname (jolt-invoke (var-deref "clojure.core" "name") (jolt-get proto (keyword #f "name"))))) (begin (jolt-count (jolt-map (lambda (G__25) (let fnrec480 ((G__25 G__25)) (let* ((G__26 G__25) (k (jolt-nth G__26 0 jolt-nil)) (f (jolt-nth G__26 1 jolt-nil))) (begin (jolt-invoke (var-deref "clojure.core" "register-method") (jolt-invoke (var-deref "clojure.core" "name") atype) pname (jolt-invoke (var-deref "clojure.core" "name") k) f) jolt-nil)))) mmap)) jolt-nil)) (loop479 (jolt-invoke (var-deref "clojure.core" "nnext") s))) jolt-nil))))))) extend)))
(guard (e (#t #f))
  (def-var! "clojure.core" "extend-type"
    (lambda (tsym . body) (let fnrec481 ((tsym tsym) (body (list->cseq body))) (let* ((tname (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") tsym)) "nil" (jolt-invoke (var-deref "clojure.core" "name") tsym)))) (let* ((items (jolt-seq body)) (proto jolt-nil) (forms (jolt-vector))) (let loop482 ((items items) (proto proto) (forms forms)) (if (jolt-empty? items) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) forms) (let* ((x (jolt-first items))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") x)) (loop482 (jolt-rest items) (jolt-invoke (var-deref "clojure.core" "name") x) forms) (loop482 (jolt-rest items) proto (jolt-conj forms (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "register-method")) (jolt-invoke (var-deref "clojure.core" "__sq1") tname) (jolt-invoke (var-deref "clojure.core" "__sq1") proto) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first x))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth x 1)) (jolt-drop 2 x)))))))))))))))
  (mark-macro! "clojure.core" "extend-type"))
(guard (e (#t #f))
  (def-var! "clojure.core" "extend-protocol"
    (lambda (psym . type-impls) (let fnrec483 ((psym psym) (type-impls (list->cseq type-impls))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) (jolt-map (lambda (g) (let fnrec484 ((g g)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "extend-type")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first g)) (jolt-invoke (var-deref "clojure.core" "__sq1") psym) (jolt-rest g)))) (jolt-invoke (var-deref "clojure.core" "group-by-head") type-impls))))))
  (mark-macro! "clojure.core" "extend-protocol"))
(guard (e (#t #f))
  (def-var! "clojure.core" "proxy"
    (lambda args (let fnrec485 ((args (list->cseq args))) jolt-nil)))
  (mark-macro! "clojure.core" "proxy"))
(guard (e (#t #f))
  (def-var! "clojure.core" "definterface"
    (lambda (name-sym . body) (let fnrec486 ((name-sym name-sym) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def")) (jolt-invoke (var-deref "clojure.core" "__sq1") name-sym) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqmap") ))))))
  (mark-macro! "clojure.core" "definterface"))
(guard (e (#t #f))
  (def-var! "clojure.core" "reify"
    (lambda forms (let fnrec487 ((forms (list->cseq forms))) (let* ((items (jolt-seq forms)) (protos (jolt-vector)) (methods (jolt-hash-map))) (let loop488 ((items items) (protos protos) (methods methods)) (if (jolt-empty? items) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-reified")) (jolt-invoke (var-deref "clojure.core" "__sq1") methods) (jolt-invoke (var-deref "clojure.core" "vec") (jolt-map (var-deref "clojure.core" "name") protos))) (let* ((x (jolt-first items))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") x)) (loop488 (jolt-rest items) (jolt-conj protos x) methods) (loop488 (jolt-rest items) protos (jolt-assoc methods (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first x))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth x 1)) (jolt-drop 2 x))))))))))))
  (mark-macro! "clojure.core" "reify"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defrecord"
    (lambda (name-sym fields . body) (let fnrec489 ((name-sym name-sym) (fields fields) (body (list->cseq body))) (let* ((tn (jolt-invoke (var-deref "clojure.core" "name") name-sym)) (arrow (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") "->" tn))) (mapf (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") "map->" tn))) (m (jolt-invoke (var-deref "clojure.core" "fresh-sym") )) (impl (lambda (proto specs) (let fnrec492 ((proto proto) (specs specs)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "extend-type")) (jolt-invoke (var-deref "clojure.core" "__sq1") name-sym) (jolt-invoke (var-deref "clojure.core" "__sq1") proto) (jolt-map (lambda (spec) (let fnrec493 ((spec spec)) (let* ((argv (jolt-nth spec 1)) (inst (jolt-first argv)) (hinted (jolt-assoc argv 0 (jolt-invoke (var-deref "clojure.core" "vary-meta") inst jolt-assoc (keyword #f "tag") (jolt-invoke (var-deref "clojure.core" "name") name-sym)))) (binds (jolt-invoke (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "mapcat") (lambda (f) (let fnrec494 ((f f)) (let* ((_o$495 f) (_o$496 (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get")) (jolt-invoke (var-deref "clojure.core" "__sq1") inst) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") f)))))) (jolt-vector _o$495 _o$496)))) fields)))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first spec)) (jolt-invoke (var-deref "clojure.core" "__sq1") hinted) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") binds)) (jolt-drop 2 spec))))))) specs)))))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "deftype")) (jolt-invoke (var-deref "clojure.core" "__sq1") name-sym) (jolt-invoke (var-deref "clojure.core" "__sq1") fields))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def")) (jolt-invoke (var-deref "clojure.core" "__sq1") mapf) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") m))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") arrow) (jolt-map (lambda (f) (let fnrec490 ((f f)) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get")) (jolt-invoke (var-deref "clojure.core" "__sq1") m) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") f)))))) fields))))))) (jolt-map (lambda (g) (let fnrec491 ((g g)) (jolt-invoke impl (jolt-first g) (jolt-rest g)))) (jolt-invoke (var-deref "clojure.core" "group-by-head") body)))))))
  (mark-macro! "clojure.core" "defrecord"))
(guard (e (#t #f))
  (def-var! "clojure.core" "memfn"
    (lambda (method-name . args) (let fnrec497 ((method-name method-name) (args (list->cseq args))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "target__12__auto")) args)) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") "." (jolt-invoke (var-deref "clojure.core" "name") method-name)))) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "target__12__auto")) args))))))
  (mark-macro! "clojure.core" "memfn"))
(guard (e (#t #f))
  (def-var! "clojure.core" "distinct" (letrec ((distinct (case-lambda (() (let fnrec116 () (lambda (rf) (let fnrec117 ((rf rf)) (let* ((seen (jolt-invoke (var-deref "clojure.core" "volatile!") (jolt-hash-set)))) (case-lambda (() (let fnrec118 () (jolt-invoke rf ))) ((result) (let fnrec119 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec120 ((result result) (input input)) (if (jolt-contains? (jolt-invoke (var-deref "clojure.core" "deref") seen) input) result (begin (jolt-invoke (var-deref "clojure.core" "vswap!") seen jolt-conj input) (jolt-invoke rf result input))))))))))) ((coll) (let fnrec121 ((coll coll)) (let* ((step (letrec ((step (lambda (xs seen) (let fnrec122 ((xs xs) (seen seen)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec123 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-invoke (lambda (G__13 seen) (let fnrec124 ((G__13 G__13) (seen seen)) (let* ((G__14 G__13) (f (jolt-nth G__14 0 jolt-nil)) (xs G__14)) (let* ((temp__15__auto (jolt-seq xs))) (if (jolt-truthy? temp__15__auto) (let* ((s temp__15__auto)) (if (jolt-contains? seen f) (fnrec124 (jolt-rest s) seen) (jolt-cons f (jolt-invoke step (jolt-rest s) (jolt-conj seen f))))) jolt-nil))))) xs seen))))))))) step))) (jolt-invoke step coll (jolt-hash-set)))))))) distinct)))
(guard (e (#t #f))
  (def-var! "clojure.core" "keep" (letrec ((keep (case-lambda ((f) (let fnrec125 ((f f)) (lambda (rf) (let fnrec126 ((rf rf)) (case-lambda (() (let fnrec127 () (jolt-invoke rf ))) ((result) (let fnrec128 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec129 ((result result) (input input)) (let* ((v (jolt-invoke f input))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") v)) result (jolt-invoke rf result v)))))))))) ((f coll) (let fnrec130 ((f f) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec131 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((temp__15__auto (jolt-seq coll))) (if (jolt-truthy? temp__15__auto) (let* ((s temp__15__auto)) (let* ((x (jolt-invoke f (jolt-first s)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") x)) (jolt-invoke keep f (jolt-rest s)) (jolt-cons x (jolt-invoke keep f (jolt-rest s)))))) jolt-nil))))))))))) keep)))
(guard (e (#t #f))
  (def-var! "clojure.core" "keep-indexed" (letrec ((keep-indexed (case-lambda ((f) (let fnrec132 ((f f)) (lambda (rf) (let fnrec133 ((rf rf)) (let* ((ia (jolt-invoke (var-deref "clojure.core" "volatile!") -1))) (case-lambda (() (let fnrec134 () (jolt-invoke rf ))) ((result) (let fnrec135 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec136 ((result result) (input input)) (let* ((i (jolt-invoke (var-deref "clojure.core" "vswap!") ia jolt-inc)) (v (jolt-invoke f i input))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") v)) result (jolt-invoke rf result v))))))))))) ((f coll) (let fnrec137 ((f f) (coll coll)) (letrec* ((keepi (letrec ((keepi (lambda (idx coll) (let fnrec138 ((idx idx) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec139 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((temp__15__auto (jolt-seq coll))) (if (jolt-truthy? temp__15__auto) (let* ((s temp__15__auto)) (let* ((x (jolt-invoke f idx (jolt-first s)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") x)) (jolt-invoke keepi (jolt-inc idx) (jolt-rest s)) (jolt-cons x (jolt-invoke keepi (jolt-inc idx) (jolt-rest s)))))) jolt-nil)))))))))) keepi))) (jolt-invoke keepi 0 coll))))))) keep-indexed)))
(guard (e (#t #f))
  (def-var! "clojure.core" "map-indexed" (letrec ((map-indexed (case-lambda ((f) (let fnrec140 ((f f)) (lambda (rf) (let fnrec141 ((rf rf)) (let* ((i (jolt-invoke (var-deref "clojure.core" "volatile!") -1))) (case-lambda (() (let fnrec142 () (jolt-invoke rf ))) ((result) (let fnrec143 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec144 ((result result) (input input)) (jolt-invoke rf result (jolt-invoke f (jolt-invoke (var-deref "clojure.core" "vswap!") i jolt-inc) input)))))))))) ((f coll) (let fnrec145 ((f f) (coll coll)) (letrec* ((mapi (letrec ((mapi (lambda (idx coll) (let fnrec146 ((idx idx) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec147 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((temp__15__auto (jolt-seq coll))) (if (jolt-truthy? temp__15__auto) (let* ((s temp__15__auto)) (jolt-cons (jolt-invoke f idx (jolt-first s)) (jolt-invoke mapi (jolt-inc idx) (jolt-rest s)))) jolt-nil)))))))))) mapi))) (jolt-invoke mapi 0 coll))))))) map-indexed)))
(guard (e (#t #f))
  (def-var! "clojure.core" "cycle" (letrec ((cycle (lambda (coll) (let fnrec148 ((coll coll)) (let* ((temp__4__auto (jolt-seq coll))) (if (jolt-truthy? temp__4__auto) (let* ((vals temp__4__auto)) (let* ((n (jolt-count vals))) (letrec* ((cstep (letrec ((cstep (lambda (i) (let fnrec149 ((i i)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec150 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-cons (jolt-nth vals (modulo i n)) (jolt-invoke cstep (jolt-inc i))))))))))) cstep))) (jolt-invoke cstep 0)))) (jolt-list ))))))) cycle)))
(guard (e (#t #f))
  (def-var! "clojure.core" "repeatedly" (letrec ((repeatedly (case-lambda ((f) (let fnrec151 ((f f)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec152 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-cons (jolt-invoke f ) (jolt-invoke repeatedly f)))))))) ((n f) (let fnrec153 ((n n) (f f)) (jolt-take n (jolt-invoke repeatedly f))))))) repeatedly)))
(guard (e (#t #f))
  (def-var! "clojure.core" "repeat" (letrec ((repeat (case-lambda ((x) (let fnrec154 ((x x)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec155 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-cons x (jolt-invoke repeat x)))))))) ((n x) (let fnrec156 ((n n) (x x)) (jolt-take n (jolt-invoke repeat x))))))) repeat)))
(guard (e (#t #f))
  (def-var! "clojure.core" "iterate" (letrec ((iterate (lambda (f x) (let fnrec157 ((f f) (x x)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec158 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-cons x (jolt-invoke iterate f (jolt-invoke f x))))))))))) iterate)))
(guard (e (#t #f))
  (def-var! "clojure.core" "partition-all" (letrec ((partition-all (case-lambda ((n) (let fnrec159 ((n n)) (lambda (rf) (let fnrec160 ((rf rf)) (let* ((a (jolt-invoke (var-deref "clojure.core" "volatile!") (jolt-vector)))) (case-lambda (() (let fnrec161 () (jolt-invoke rf ))) ((result) (let fnrec162 ((result result)) (let* ((result (if (jolt-zero? (jolt-count (jolt-invoke (var-deref "clojure.core" "deref") a))) result (let* ((v (jolt-invoke (var-deref "clojure.core" "deref") a))) (begin (jolt-invoke (var-deref "clojure.core" "vreset!") a (jolt-vector)) (jolt-invoke (var-deref "clojure.core" "unreduced") (jolt-invoke rf result v))))))) (jolt-invoke rf result)))) ((result input) (let fnrec163 ((result result) (input input)) (begin (jolt-invoke (var-deref "clojure.core" "vswap!") a jolt-conj input) (if (jolt= n (jolt-count (jolt-invoke (var-deref "clojure.core" "deref") a))) (let* ((v (jolt-invoke (var-deref "clojure.core" "deref") a))) (begin (jolt-invoke (var-deref "clojure.core" "vreset!") a (jolt-vector)) (jolt-invoke rf result v))) result)))))))))) ((n coll) (let fnrec164 ((n n) (coll coll)) (letrec* ((go (letrec ((go (lambda (s) (let fnrec165 ((s s)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec166 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (if (jolt-truthy? (jolt-seq s)) (let* ((i 0) (chunk (jolt-vector)) (cur s)) (let loop167 ((i i) (chunk chunk) (cur cur)) (if (jolt-truthy? (let* ((and__13__auto (< i n))) (if (jolt-truthy? and__13__auto) (jolt-seq cur) and__13__auto))) (loop167 (jolt-inc i) (jolt-conj chunk (jolt-first cur)) (jolt-rest cur)) (jolt-cons chunk (jolt-invoke go cur))))) jolt-nil))))))))) go))) (jolt-invoke go coll)))) ((n step coll) (let fnrec168 ((n n) (step step) (coll coll)) (letrec* ((go (letrec ((go (lambda (s) (let fnrec169 ((s s)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec170 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (if (jolt-truthy? (jolt-seq s)) (jolt-cons (jolt-take n s) (jolt-invoke go (jolt-invoke (var-deref "clojure.core" "nthrest") s step))) jolt-nil))))))))) go))) (jolt-invoke go coll))))))) partition-all)))
(guard (e (#t #f))
  (def-var! "clojure.core" "interpose" (letrec ((interpose (case-lambda ((sep) (let fnrec171 ((sep sep)) (lambda (rf) (let fnrec172 ((rf rf)) (let* ((started (jolt-invoke (var-deref "clojure.core" "volatile!") #f))) (case-lambda (() (let fnrec173 () (jolt-invoke rf ))) ((result) (let fnrec174 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec175 ((result result) (input input)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "deref") started)) (let* ((sepr (jolt-invoke rf result sep))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "reduced?") sepr)) sepr (jolt-invoke rf sepr input))) (begin (jolt-invoke (var-deref "clojure.core" "vreset!") started #t) (jolt-invoke rf result input))))))))))) ((sep coll) (let fnrec176 ((sep sep) (coll coll)) (jolt-drop 1 (jolt-invoke (var-deref "clojure.core" "interleave") (jolt-invoke (var-deref "clojure.core" "repeat") sep) coll))))))) interpose)))
(guard (e (#t #f))
  (def-var! "clojure.core" "take-nth" (letrec ((take-nth (case-lambda ((n) (let fnrec177 ((n n)) (lambda (rf) (let fnrec178 ((rf rf)) (let* ((iv (jolt-invoke (var-deref "clojure.core" "volatile!") -1))) (case-lambda (() (let fnrec179 () (jolt-invoke rf ))) ((result) (let fnrec180 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec181 ((result result) (input input)) (let* ((i (jolt-invoke (var-deref "clojure.core" "vswap!") iv jolt-inc))) (if (jolt-zero? (remainder i n)) (jolt-invoke rf result input) result)))))))))) ((n coll) (let fnrec182 ((n n) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec183 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((temp__15__auto (jolt-seq coll))) (if (jolt-truthy? temp__15__auto) (let* ((s temp__15__auto)) (jolt-cons (jolt-first s) (jolt-invoke take-nth n (jolt-drop n s)))) jolt-nil))))))))))) take-nth)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pmap" (letrec ((pmap (case-lambda ((f coll) (let fnrec184 ((f f) (coll coll)) (jolt-map (var-deref "clojure.core" "deref") (jolt-invoke (var-deref "clojure.core" "doall") (jolt-map (lambda (x) (let fnrec185 ((x x)) (jolt-invoke (var-deref "clojure.core" "future-call") (lambda () (let fnrec186 () (jolt-invoke f x)))))) coll))))) ((f coll . colls) (let fnrec187 ((f f) (coll coll) (colls (list->cseq colls))) (jolt-invoke pmap (lambda (xs) (let fnrec188 ((xs xs)) (jolt-apply f xs))) (jolt-apply jolt-map jolt-vector coll colls))))))) pmap)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pcalls" (letrec ((pcalls (lambda fns (let fnrec189 ((fns (list->cseq fns))) (jolt-invoke (var-deref "clojure.core" "pmap") (lambda (f) (let fnrec190 ((f f)) (jolt-invoke f ))) fns))))) pcalls)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "reader-eof" (keyword "jolt" "reader-eof") (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "__string-reader" (letrec ((__string-reader (lambda (s) (let fnrec191 ((s s)) (let* ((buf (jolt-invoke (var-deref "clojure.core" "atom") s))) (let* ((_o$194 (keyword #f "buf")) (_o$195 buf) (_o$196 (keyword #f "fill-fn")) (_o$197 jolt-nil) (_o$198 (keyword #f "read-line-fn")) (_o$199 (lambda () (let fnrec192 () (let* ((cur (jolt-invoke (var-deref "clojure.core" "deref") buf))) (if (jolt-pos? (jolt-count cur)) (let* ((i (jolt-invoke (var-deref "clojure.core" "str-find") "\n" cur))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") i)) (begin (jolt-invoke (var-deref "clojure.core" "reset!") buf "") cur) (begin (jolt-invoke (var-deref "clojure.core" "reset!") buf (jolt-invoke (var-deref "clojure.core" "subs") cur (jolt-inc i))) (jolt-invoke (var-deref "clojure.core" "subs") cur 0 i)))) jolt-nil))))) (_o$200 (keyword #f "read-fn")) (_o$201 (lambda () (let fnrec193 () (let* ((r (jolt-invoke (var-deref "clojure.core" "__parse-next") (jolt-invoke (var-deref "clojure.core" "deref") buf)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") r)) (var-deref "clojure.core" "reader-eof") (begin (jolt-invoke (var-deref "clojure.core" "reset!") buf (jolt-nth r 1)) (jolt-nth r 0)))))))) (jolt-hash-map _o$194 _o$195 _o$196 _o$197 _o$198 _o$199 _o$200 _o$201))))))) __string-reader)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "stdin-buf" (jolt-invoke (var-deref "clojure.core" "atom") "") (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "*in*" (let* ((_o$208 (keyword #f "buf")) (_o$209 (var-deref "clojure.core" "stdin-buf")) (_o$210 (keyword #f "fill-fn")) (_o$211 (lambda () (let fnrec202 () (let* ((line (jolt-invoke (var-deref "clojure.core" "__stdin-read-line") ))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") line)) #f (begin (jolt-invoke (var-deref "clojure.core" "swap!") (var-deref "clojure.core" "stdin-buf") (lambda (b) (let fnrec203 ((b b)) (jolt-invoke (var-deref "clojure.core" "str") b line "\n")))) #t)))))) (_o$212 (keyword #f "read-line-fn")) (_o$213 (lambda () (let fnrec204 () (let* ((cur (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "stdin-buf")))) (if (jolt-pos? (jolt-count cur)) (let* ((i (jolt-invoke (var-deref "clojure.core" "str-find") "\n" cur))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") i)) (begin (jolt-invoke (var-deref "clojure.core" "reset!") (var-deref "clojure.core" "stdin-buf") "") cur) (begin (jolt-invoke (var-deref "clojure.core" "reset!") (var-deref "clojure.core" "stdin-buf") (jolt-invoke (var-deref "clojure.core" "subs") cur (jolt-inc i))) (jolt-invoke (var-deref "clojure.core" "subs") cur 0 i)))) (jolt-invoke (var-deref "clojure.core" "__stdin-read-line") )))))) (_o$214 (keyword #f "read-fn")) (_o$215 (lambda () (let fnrec205 () (let* () (let loop206 () (let* ((r (jolt-invoke (var-deref "clojure.core" "__parse-next") (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "stdin-buf"))))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") r)) (let* ((line (jolt-invoke (var-deref "clojure.core" "__stdin-read-line") ))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") line)) (var-deref "clojure.core" "reader-eof") (begin (jolt-invoke (var-deref "clojure.core" "swap!") (var-deref "clojure.core" "stdin-buf") (lambda (b) (let fnrec207 ((b b)) (jolt-invoke (var-deref "clojure.core" "str") b line "\n")))) (loop206 )))) (begin (jolt-invoke (var-deref "clojure.core" "reset!") (var-deref "clojure.core" "stdin-buf") (jolt-nth r 1)) (jolt-nth r 0)))))))))) (jolt-hash-map _o$208 _o$209 _o$210 _o$211 _o$212 _o$213 _o$214 _o$215)) (jolt-hash-map (keyword #f "dynamic") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "read-line" (letrec ((read-line (lambda () (let fnrec216 () (jolt-invoke (jolt-get (var-deref "clojure.core" "*in*") (keyword #f "read-line-fn")) ))))) read-line)))
(guard (e (#t #f))
  (def-var! "clojure.core" "read" (letrec ((read (case-lambda (() (let fnrec217 () (jolt-invoke read (var-deref "clojure.core" "*in*")))) ((stream) (let fnrec218 ((stream stream)) (let* ((v (jolt-invoke (jolt-get stream (keyword #f "read-fn")) ))) (if (jolt= v (var-deref "clojure.core" "reader-eof")) (jolt-throw (jolt-ex-info "EOF while reading" (jolt-hash-map))) v)))) ((stream eof-error? eof-value) (let fnrec219 ((stream stream) (eof-error? eof-error?) (eof-value eof-value)) (let* ((v (jolt-invoke (jolt-get stream (keyword #f "read-fn")) ))) (if (jolt= v (var-deref "clojure.core" "reader-eof")) (if (jolt-truthy? eof-error?) (jolt-throw (jolt-ex-info "EOF while reading" (jolt-hash-map))) eof-value) v))))))) read)))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-in-str"
    (lambda (s . body) (let fnrec220 ((s s) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "binding")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "*in*")) (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "__string-reader")) (jolt-invoke (var-deref "clojure.core" "__sq1") s))))) body))))
  (mark-macro! "clojure.core" "with-in-str"))
(guard (e (#t #f))
  (def-var! "clojure.core" "read+string" (letrec ((read+string (case-lambda (() (let fnrec221 () (jolt-invoke read+string (var-deref "clojure.core" "*in*")))) ((stream) (let fnrec222 ((stream stream)) (jolt-invoke read+string stream #t jolt-nil))) ((stream eof-error? eof-value) (let fnrec223 ((stream stream) (eof-error? eof-error?) (eof-value eof-value)) (let* ((buf (jolt-get stream (keyword #f "buf"))) (fill (jolt-get stream (keyword #f "fill-fn")))) (let* () (let loop224 () (let* ((s (jolt-invoke (var-deref "clojure.core" "deref") buf)) (r (jolt-invoke (var-deref "clojure.core" "__parse-next") s))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") r)) (if (jolt-truthy? (let* ((and__13__auto fill)) (if (jolt-truthy? and__13__auto) (jolt-invoke fill ) and__13__auto))) (loop224 ) (if (jolt-truthy? eof-error?) (jolt-throw (jolt-ex-info "EOF while reading" (jolt-hash-map))) (let* ((_o$227 eof-value) (_o$228 "")) (jolt-vector _o$227 _o$228)))) (begin (jolt-invoke (var-deref "clojure.core" "reset!") buf (jolt-nth r 1)) (let* ((_o$225 (jolt-nth r 0)) (_o$226 (jolt-invoke (var-deref "clojure.core" "subs") s 0 (- (jolt-count s) (jolt-count (jolt-nth r 1)))))) (jolt-vector _o$225 _o$226))))))))))))) read+string)))
(guard (e (#t #f))
  (def-var! "clojure.core" "line-seq" (letrec ((line-seq (lambda (rdr) (let fnrec229 ((rdr rdr)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "string?") rdr)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "str-split") "\n" rdr)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec230 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((line (jolt-invoke (jolt-get rdr (keyword #f "read-line-fn")) ))) (if (jolt-truthy? line) (jolt-cons line (jolt-invoke line-seq rdr)) jolt-nil))))))))))) line-seq)))
(guard (e (#t #f))
  (jolt-invoke (var-deref "clojure.core" "defmulti-setup") (jolt-symbol #f "print-method") (lambda (x writer) (let fnrec231 ((x x) (writer writer)) (let* ((t (jolt-get (jolt-invoke (var-deref "clojure.core" "meta") x) (keyword #f "type")))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "keyword?") t)) t (jolt-invoke (var-deref "clojure.core" "type") x)))))))
(guard (e (#t #f))
  (jolt-invoke (var-deref "clojure.core" "defmethod-setup") (jolt-symbol #f "print-method") (keyword #f "default") (lambda (o w) (let fnrec232 ((o o) (w w)) (begin (record-method-dispatch w "write" (jolt-vector (jolt-invoke (var-deref "clojure.core" "__pr-str1") o))) jolt-nil)))))
(guard (e (#t #f))
  (jolt-invoke (var-deref "clojure.core" "defmulti-setup") (jolt-symbol #f "print-dup") (lambda (x writer) (let fnrec233 ((x x) (writer writer)) (let* ((t (jolt-get (jolt-invoke (var-deref "clojure.core" "meta") x) (keyword #f "type")))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "keyword?") t)) t (jolt-invoke (var-deref "clojure.core" "type") x)))))))
(guard (e (#t #f))
  (jolt-invoke (var-deref "clojure.core" "defmethod-setup") (jolt-symbol #f "print-dup") (keyword #f "default") (lambda (o w) (let fnrec234 ((o o) (w w)) (jolt-invoke (var-deref "clojure.core" "print-method") o w)))))
(guard (e (#t #f))
  (jolt-invoke (var-deref "clojure.core" "defmethod-setup") (jolt-symbol #f "print-method") (keyword "jolt" "uuid") (lambda (u w) (let fnrec235 ((u u) (w w)) (begin (record-method-dispatch w "write" (jolt-vector (jolt-invoke (var-deref "clojure.core" "str") "#uuid \"" (jolt-get u (keyword #f "str")) "\""))) jolt-nil)))))
(guard (e (#t #f))
  (jolt-invoke (var-deref "clojure.core" "defmethod-setup") (jolt-symbol #f "print-method") (keyword "jolt" "regex") (lambda (re w) (let fnrec236 ((re re) (w w)) (begin (record-method-dispatch w "write" (jolt-vector (jolt-invoke (var-deref "clojure.core" "str") "#\"" (jolt-get re (keyword #f "source")) "\""))) jolt-nil)))))
(guard (e (#t #f))
  (jolt-invoke (var-deref "clojure.core" "defmethod-setup") (jolt-symbol #f "print-method") (keyword "jolt" "transient") (lambda (t w) (let fnrec237 ((t t) (w w)) (begin (record-method-dispatch w "write" (jolt-vector (jolt-invoke (var-deref "clojure.core" "str") "#<transient " (jolt-invoke (var-deref "clojure.core" "name") (jolt-invoke (var-deref "jolt.host" "ref-get") t (keyword #f "kind"))) ">"))) jolt-nil)))))
(guard (e (#t #f))
  (jolt-invoke (var-deref "clojure.core" "defmethod-setup") (jolt-symbol #f "print-method") (keyword "jolt" "chan") (lambda (c w) (let fnrec238 ((c c) (w w)) (begin (record-method-dispatch w "write" (jolt-vector "#<channel>")) jolt-nil)))))
(guard (e (#t #f))
  (def-var! "clojure.core" "agent" (letrec ((agent (lambda (state . _opts) (let fnrec239 ((state state) (_opts (list->cseq _opts))) (jolt-invoke (var-deref "clojure.core" "atom") state))))) agent)))
(guard (e (#t #f))
  (def-var! "clojure.core" "send-off" (letrec ((send-off (lambda (a f . args) (let fnrec240 ((a a) (f f) (args (list->cseq args))) (begin (jolt-apply (var-deref "clojure.core" "swap!") a f args) a))))) send-off)))
(guard (e (#t #f))
  (def-var! "clojure.core" "send" (letrec ((send (lambda (a f . args) (let fnrec241 ((a a) (f f) (args (list->cseq args))) (begin (jolt-apply (var-deref "clojure.core" "swap!") a f args) a))))) send)))
(guard (e (#t #f))
  (def-var! "clojure.core" "agent-error" (letrec ((agent-error (lambda (_a) (let fnrec242 ((_a _a)) jolt-nil)))) agent-error)))
(guard (e (#t #f))
  (def-var! "clojure.string" "blank?" (letrec ((blank? (lambda (s) (let fnrec61 ((s s)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") s)) #t (jolt= 0 (jolt-count (jolt-invoke (var-deref "clojure.core" "str-trim") s)))))))) blank?)))
(guard (e (#t #f))
  (def-var! "clojure.string" "capitalize" (letrec ((capitalize (lambda (s) (let fnrec62 ((s s)) (if (< 1 (jolt-count s)) (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke (var-deref "clojure.core" "str-upper") (jolt-invoke (var-deref "clojure.core" "subs") s 0 1)) (jolt-invoke (var-deref "clojure.core" "str-lower") (jolt-invoke (var-deref "clojure.core" "subs") s 1))) (jolt-invoke (var-deref "clojure.core" "str-upper") s)))))) capitalize)))
(guard (e (#t #f))
  (def-var! "clojure.string" "lower-case" (letrec ((lower-case (lambda (s) (let fnrec63 ((s s)) (jolt-invoke (var-deref "clojure.core" "str-lower") s))))) lower-case)))
(guard (e (#t #f))
  (def-var! "clojure.string" "upper-case" (letrec ((upper-case (lambda (s) (let fnrec64 ((s s)) (jolt-invoke (var-deref "clojure.core" "str-upper") s))))) upper-case)))
(guard (e (#t #f))
  (def-var! "clojure.string" "includes?" (letrec ((includes? (lambda (s substr) (let fnrec65 ((s s) (substr substr)) (jolt-not (jolt-invoke (var-deref "clojure.core" "nil?") (jolt-invoke (var-deref "clojure.core" "str-find") substr s))))))) includes?)))
(guard (e (#t #f))
  (def-var! "clojure.string" "join" (letrec ((join (case-lambda ((coll) (let fnrec66 ((coll coll)) (jolt-invoke (var-deref "clojure.core" "str-join") coll))) ((separator coll) (let fnrec67 ((separator separator) (coll coll)) (jolt-invoke (var-deref "clojure.core" "str-join") coll separator)))))) join)))
(guard (e (#t #f))
  (def-var! "clojure.string" "replace" (letrec ((replace (lambda (s match replacement) (let fnrec68 ((s s) (match match) (replacement replacement)) (jolt-invoke (var-deref "clojure.core" "str-replace-all") match replacement s))))) replace)))
(guard (e (#t #f))
  (def-var! "clojure.string" "replace-first" (letrec ((replace-first (lambda (s match replacement) (let fnrec69 ((s s) (match match) (replacement replacement)) (jolt-invoke (var-deref "clojure.core" "str-replace") match replacement s))))) replace-first)))
(guard (e (#t #f))
  (def-var! "clojure.string" "reverse" (letrec ((reverse (lambda (s) (let fnrec70 ((s s)) (jolt-invoke (var-deref "clojure.core" "str-reverse-b") s))))) reverse)))
(guard (e (#t #f))
  (def-var! "clojure.string" "str-reverse" (letrec ((str-reverse (lambda (s) (let fnrec71 ((s s)) (jolt-invoke (var-deref "clojure.core" "str-reverse-b") s))))) str-reverse)))
(guard (e (#t #f))
  (def-var! "clojure.string" "split" (letrec ((split (case-lambda ((s re) (let fnrec72 ((s s) (re re)) (jolt-invoke split s re 0))) ((s re limit) (let fnrec73 ((s s) (re re) (limit limit)) (let* ((parts (jolt-invoke (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "str-split") re s (if (jolt-pos? limit) limit jolt-nil))))) (if (jolt-truthy? (let* ((and__13__auto (jolt-zero? limit))) (if (jolt-truthy? and__13__auto) (> (jolt-count parts) 1) and__13__auto))) (let* ((v parts)) (let loop74 ((v v)) (if (jolt-truthy? (let* ((and__13__auto (jolt-seq v))) (if (jolt-truthy? and__13__auto) (jolt= "" (jolt-peek v)) and__13__auto))) (loop74 (jolt-pop v)) v))) parts))))))) split)))
(guard (e (#t #f))
  (def-var! "clojure.string" "split-lines" (letrec ((split-lines (lambda (s) (let fnrec75 ((s s)) (jolt-invoke (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "str-split") (jolt-regex "\\r?\\n") s)))))) split-lines)))
(guard (e (#t #f))
  (def-var! "clojure.string" "starts-with?" (letrec ((starts-with? (lambda (s substr) (let fnrec76 ((s s) (substr substr)) (let* ((slen (jolt-count s)) (slen2 (jolt-count substr))) (let* ((and__13__auto (>= slen slen2))) (if (jolt-truthy? and__13__auto) (jolt= (jolt-invoke (var-deref "clojure.core" "subs") s 0 slen2) substr) and__13__auto))))))) starts-with?)))
(guard (e (#t #f))
  (def-var! "clojure.string" "ends-with?" (letrec ((ends-with? (lambda (s substr) (let fnrec77 ((s s) (substr substr)) (let* ((slen (jolt-count s)) (slen2 (jolt-count substr))) (let* ((and__13__auto (>= slen slen2))) (if (jolt-truthy? and__13__auto) (jolt= (jolt-invoke (var-deref "clojure.core" "subs") s (- slen slen2)) substr) and__13__auto))))))) ends-with?)))
(guard (e (#t #f))
  (def-var! "clojure.string" "trim" (letrec ((trim (lambda (s) (let fnrec78 ((s s)) (jolt-invoke (var-deref "clojure.core" "str-trim") s))))) trim)))
(guard (e (#t #f))
  (def-var! "clojure.string" "triml" (letrec ((triml (lambda (s) (let fnrec79 ((s s)) (jolt-invoke (var-deref "clojure.core" "str-triml") s))))) triml)))
(guard (e (#t #f))
  (def-var! "clojure.string" "trimr" (letrec ((trimr (lambda (s) (let fnrec80 ((s s)) (jolt-invoke (var-deref "clojure.core" "str-trimr") s))))) trimr)))
(guard (e (#t #f))
  (def-var! "clojure.string" "escape" (letrec ((escape (lambda (s cmap) (let fnrec81 ((s s) (cmap cmap)) (jolt-apply (var-deref "clojure.core" "str") (jolt-map (lambda (ch) (let fnrec82 ((ch ch)) (let* ((temp__4__auto (jolt-invoke cmap ch))) (if (jolt-truthy? temp__4__auto) (let* ((rep temp__4__auto)) rep) (jolt-invoke (var-deref "clojure.core" "str") ch))))) s)))))) escape)))
(guard (e (#t #f))
  (def-var! "clojure.string" "index-of" (letrec ((index-of (case-lambda ((s value) (let fnrec83 ((s s) (value value)) (jolt-invoke (var-deref "clojure.core" "str-find") value s))) ((s value from) (let fnrec84 ((s s) (value value) (from from)) (let* ((idx (jolt-invoke (var-deref "clojure.core" "str-find") value (jolt-invoke (var-deref "clojure.core" "subs") s from)))) (if (jolt-truthy? idx) (+ from idx) jolt-nil))))))) index-of)))
(guard (e (#t #f))
  (def-var! "clojure.string" "last-index-of" (letrec ((last-index-of (case-lambda ((s value) (let fnrec85 ((s s) (value value)) (let* ((r (jolt-invoke (var-deref "clojure.core" "str-reverse-b") s)) (sval (jolt-invoke (var-deref "clojure.core" "str-reverse-b") value)) (idx (jolt-invoke (var-deref "clojure.core" "str-find") sval r))) (if (jolt-truthy? idx) (- (jolt-count s) (+ idx (jolt-count value))) jolt-nil)))) ((s value from) (let fnrec86 ((s s) (value value) (from from)) (let* ((sub (jolt-invoke (var-deref "clojure.core" "subs") s 0 from)) (r (jolt-invoke (var-deref "clojure.core" "str-reverse-b") sub)) (sval (jolt-invoke (var-deref "clojure.core" "str-reverse-b") value)) (idx (jolt-invoke (var-deref "clojure.core" "str-find") sval r))) (if (jolt-truthy? idx) (- from (+ idx (jolt-count value))) jolt-nil))))))) last-index-of)))
(guard (e (#t #f))
  (def-var! "clojure.string" "re-quote-replacement" (letrec ((re-quote-replacement (lambda (replacement) (let fnrec87 ((replacement replacement)) (jolt-apply (var-deref "clojure.core" "str") (jolt-map (lambda (ch) (let fnrec88 ((ch ch)) (let* ((c (jolt-invoke (var-deref "clojure.core" "str") ch))) (if (jolt-truthy? (let* ((or__14__auto (jolt= c "\\"))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt= c "$")))) (jolt-invoke (var-deref "clojure.core" "str") "\\" c) c)))) (jolt-seq replacement))))))) re-quote-replacement)))
(guard (e (#t #f))
  (def-var! "clojure.string" "trim-newline" (letrec ((trim-newline (lambda (s) (let fnrec89 ((s s)) (let* ((index (jolt-count s))) (let loop90 ((index index)) (if (jolt-zero? index) "" (let* ((c (jolt-invoke (var-deref "clojure.core" "subs") s (jolt-dec index) index))) (if (jolt-truthy? (let* ((or__14__auto (jolt= c "\n"))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt= c "\r")))) (loop90 (jolt-dec index)) (jolt-invoke (var-deref "clojure.core" "subs") s 0 index)))))))))) trim-newline)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "walk" (letrec ((walk (lambda (inner outer form) (let fnrec91 ((inner inner) (outer outer) (form form)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") form)) (jolt-invoke outer (jolt-invoke (var-deref "clojure.core" "vec") (jolt-map inner form))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") form)) (jolt-invoke outer (jolt-into (jolt-invoke (var-deref "clojure.core" "empty") form) (jolt-map inner form))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "list?") form)) (jolt-invoke outer (jolt-apply jolt-list (jolt-map inner form))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") form)) (jolt-invoke outer (jolt-map inner form)) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke outer form) jolt-nil))))))))) walk)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "postwalk" (letrec ((postwalk (lambda (f form) (let fnrec92 ((f f) (form form)) (jolt-invoke (var-deref "clojure.walk" "walk") (jolt-invoke (var-deref "clojure.core" "partial") postwalk f) f form))))) postwalk)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "prewalk" (letrec ((prewalk (lambda (f form) (let fnrec93 ((f f) (form form)) (jolt-invoke (var-deref "clojure.walk" "walk") (jolt-invoke (var-deref "clojure.core" "partial") prewalk f) jolt-identity (jolt-invoke f form)))))) prewalk)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "postwalk-demo" (letrec ((postwalk-demo (lambda (form) (let fnrec94 ((form form)) (jolt-invoke (var-deref "clojure.walk" "postwalk") (lambda (x) (let fnrec95 ((x x)) (begin (jolt-invoke (var-deref "clojure.core" "print") "Walked: ") (jolt-invoke (var-deref "clojure.core" "prn") x) x))) form))))) postwalk-demo)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "prewalk-demo" (letrec ((prewalk-demo (lambda (form) (let fnrec96 ((form form)) (jolt-invoke (var-deref "clojure.walk" "prewalk") (lambda (x) (let fnrec97 ((x x)) (begin (jolt-invoke (var-deref "clojure.core" "print") "Walked: ") (jolt-invoke (var-deref "clojure.core" "prn") x) x))) form))))) prewalk-demo)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "postwalk-replace" (letrec ((postwalk-replace (lambda (smap form) (let fnrec98 ((smap smap) (form form)) (jolt-invoke (var-deref "clojure.walk" "postwalk") (lambda (x) (let fnrec99 ((x x)) (if (jolt-contains? smap x) (jolt-get smap x) x))) form))))) postwalk-replace)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "prewalk-replace" (letrec ((prewalk-replace (lambda (smap form) (let fnrec100 ((smap smap) (form form)) (jolt-invoke (var-deref "clojure.walk" "prewalk") (lambda (x) (let fnrec101 ((x x)) (if (jolt-contains? smap x) (jolt-get smap x) x))) form))))) prewalk-replace)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "keywordize-keys" (letrec ((keywordize-keys (lambda (m) (let fnrec102 ((m m)) (let* ((f (lambda (G__9) (let fnrec104 ((G__9 G__9)) (let* ((G__10 G__9) (k (jolt-nth G__10 0 jolt-nil)) (v (jolt-nth G__10 1 jolt-nil))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "string?") k)) (let* ((_o$107 (jolt-invoke (var-deref "clojure.core" "keyword") k)) (_o$108 v)) (jolt-vector _o$107 _o$108)) (let* ((_o$105 k) (_o$106 v)) (jolt-vector _o$105 _o$106)))))))) (jolt-invoke (var-deref "clojure.walk" "postwalk") (lambda (x) (let fnrec103 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") x)) (jolt-into (jolt-hash-map) (jolt-map f x)) x))) m)))))) keywordize-keys)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "stringify-keys" (letrec ((stringify-keys (lambda (m) (let fnrec109 ((m m)) (let* ((f (lambda (G__11) (let fnrec111 ((G__11 G__11)) (let* ((G__12 G__11) (k (jolt-nth G__12 0 jolt-nil)) (v (jolt-nth G__12 1 jolt-nil))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "keyword?") k)) (let* ((_o$114 (jolt-invoke (var-deref "clojure.core" "name") k)) (_o$115 v)) (jolt-vector _o$114 _o$115)) (let* ((_o$112 k) (_o$113 v)) (jolt-vector _o$112 _o$113)))))))) (jolt-invoke (var-deref "clojure.walk" "postwalk") (lambda (x) (let fnrec110 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") x)) (jolt-into (jolt-hash-map) (jolt-map f x)) x))) m)))))) stringify-keys)))
(guard (e (#t #f))
  (def-var! "clojure.template" "apply-template" (letrec ((apply-template (lambda (argv expr values) (let fnrec44 ((argv argv) (expr expr) (values values)) (begin (if (jolt-not (jolt-invoke (var-deref "clojure.core" "vector?") argv)) (jolt-throw (jolt-ex-info "Assert failed: (vector? argv)" (jolt-hash-map))) jolt-nil) (if (jolt-not (jolt-invoke (var-deref "clojure.core" "every?") (var-deref "clojure.core" "symbol?") argv)) (jolt-throw (jolt-ex-info "Assert failed: (every? symbol? argv)" (jolt-hash-map))) jolt-nil) (jolt-invoke (var-deref "clojure.walk" "postwalk-replace") (jolt-invoke (var-deref "clojure.core" "zipmap") argv values) expr)))))) apply-template)))
(guard (e (#t #f))
  (def-var! "clojure.template" "do-template"
    (lambda (argv expr . values) (let fnrec45 ((argv argv) (expr expr) (values (list->cseq values))) (let* ((c (jolt-count argv))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) (jolt-map (lambda (a) (let fnrec46 ((a a)) (jolt-invoke (var-deref "clojure.template" "apply-template") argv expr a))) (jolt-invoke (var-deref "clojure.core" "partition") c values)))))))
  (mark-macro! "clojure.template" "do-template"))
(guard (e (#t #f))
  (def-var! "clojure.edn" "edn->value" (letrec ((edn->value (lambda (opts x) (let fnrec47 ((opts opts) (x x)) (if (jolt= (keyword "jolt" "set") (jolt-get x (keyword "jolt" "type"))) (jolt-invoke (var-deref "clojure.core" "set") (jolt-map (lambda (v) (let fnrec53 ((v v)) (jolt-invoke edn->value opts v))) (jolt-get x (keyword #f "value")))) (if (jolt= (keyword "jolt" "tagged") (jolt-get x (keyword "jolt" "type"))) (let* ((tag (jolt-get x (keyword #f "tag"))) (v (jolt-invoke edn->value opts (jolt-get x (keyword #f "form")))) (tag-sym (let* ((n (jolt-invoke (var-deref "clojure.core" "name") tag))) (jolt-invoke (var-deref "clojure.core" "symbol") (if (jolt= "#" (jolt-invoke (var-deref "clojure.core" "subs") n 0 1)) (jolt-invoke (var-deref "clojure.core" "subs") n 1) n)))) (custom (jolt-get (jolt-get opts (keyword #f "readers")) tag-sym))) (if (jolt-truthy? custom) (jolt-invoke custom v) (if (jolt-truthy? (jolt-get opts (keyword #f "default"))) (jolt-invoke (jolt-get opts (keyword #f "default")) tag v) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke (var-deref "clojure.core" "__read-tagged") tag v) jolt-nil)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") x)) (jolt-into (jolt-hash-map) (jolt-map (lambda (e) (let fnrec50 ((e e)) (let* ((_o$51 (jolt-invoke edn->value opts (jolt-invoke (var-deref "clojure.core" "key") e))) (_o$52 (jolt-invoke edn->value opts (jolt-invoke (var-deref "clojure.core" "val") e)))) (jolt-vector _o$51 _o$52)))) x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") x)) (jolt-invoke (var-deref "clojure.core" "mapv") (lambda (v) (let fnrec49 ((v v)) (jolt-invoke edn->value opts v))) x) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") x)) (jolt-map (lambda (v) (let fnrec48 ((v v)) (jolt-invoke edn->value opts v))) x) (if (jolt-truthy? (keyword #f "else")) x jolt-nil)))))))))) edn->value)))
(guard (e (#t #f))
  (def-var! "clojure.edn" "read-edn" (letrec ((read-edn (lambda (opts s) (let fnrec54 ((opts opts) (s s)) (if (jolt-truthy? (let* ((or__14__auto (jolt-invoke (var-deref "clojure.core" "nil?") s))) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-invoke (var-deref "clojure.string" "blank?") s)))) (jolt-get opts (keyword #f "eof") jolt-nil) (jolt-invoke (var-deref "clojure.edn" "edn->value") opts (jolt-invoke (var-deref "clojure.core" "read-string") s))))))) read-edn)))
(guard (e (#t #f))
  (def-var! "clojure.edn" "read-string" (letrec ((read-string (case-lambda ((s) (let fnrec55 ((s s)) (jolt-invoke (var-deref "clojure.edn" "read-edn") (jolt-hash-map) s))) ((opts s) (let fnrec56 ((opts opts) (s s)) (jolt-invoke (var-deref "clojure.edn" "read-edn") opts s)))))) read-string)))
(guard (e (#t #f))
  (def-var! "clojure.edn" "drain-reader" (letrec ((drain-reader (lambda (reader) (let fnrec57 ((reader reader)) (if (jolt= (keyword "core" "file") (host-static-call "janet" "type" reader)) (host-static-call "janet.file" "read" reader (keyword #f "all")) (let* ((acc (jolt-invoke (var-deref "clojure.core" "transient") (jolt-vector))) (c (record-method-dispatch reader "read" (jolt-vector)))) (let loop58 ((acc acc) (c c)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "==") -1 c)) (jolt-apply (var-deref "clojure.core" "str") (jolt-map (var-deref "clojure.core" "char") (jolt-invoke (var-deref "clojure.core" "persistent!") acc))) (loop58 (jolt-invoke (var-deref "clojure.core" "conj!") acc c) (record-method-dispatch reader "read" (jolt-vector))))))))))) drain-reader)))
(guard (e (#t #f))
  (def-var! "clojure.edn" "read" (letrec ((read (case-lambda ((reader) (let fnrec59 ((reader reader)) (jolt-invoke read (jolt-hash-map) reader))) ((opts reader) (let fnrec60 ((opts opts) (reader reader)) (jolt-invoke (var-deref "clojure.edn" "read-edn") opts (jolt-invoke (var-deref "clojure.edn" "drain-reader") reader))))))) read)))
(guard (e (#t #f))
  (def-var! "clojure.set" "union" (letrec ((union (case-lambda ((s1) (let fnrec1 ((s1 s1)) s1)) ((s1 s2) (let fnrec2 ((s1 s1) (s2 s2)) (jolt-reduce jolt-conj s2 s1)))))) union)))
(guard (e (#t #f))
  (def-var! "clojure.set" "intersection" (letrec ((intersection (case-lambda ((s1) (let fnrec3 ((s1 s1)) s1)) ((s1 s2) (let fnrec4 ((s1 s1) (s2 s2)) (jolt-reduce (lambda (acc item) (let fnrec5 ((acc acc) (item item)) (if (jolt-contains? s2 item) acc (jolt-invoke (var-deref "clojure.core" "disj") acc item)))) s1 s1)))))) intersection)))
(guard (e (#t #f))
  (def-var! "clojure.set" "difference" (letrec ((difference (case-lambda ((s1) (let fnrec6 ((s1 s1)) s1)) ((s1 s2) (let fnrec7 ((s1 s1) (s2 s2)) (jolt-reduce (var-deref "clojure.core" "disj") s1 s2)))))) difference)))
(guard (e (#t #f))
  (def-var! "clojure.set" "select" (letrec ((select (lambda (pred s) (let fnrec8 ((pred pred) (s s)) (jolt-reduce (lambda (acc item) (let fnrec9 ((acc acc) (item item)) (if (jolt-truthy? (jolt-invoke pred item)) acc (jolt-invoke (var-deref "clojure.core" "disj") acc item)))) s s))))) select)))
(guard (e (#t #f))
  (def-var! "clojure.set" "project" (letrec ((project (lambda (xrel ks) (let fnrec10 ((xrel xrel) (ks ks)) (jolt-invoke (var-deref "clojure.core" "set") (jolt-map (lambda (p__1_) (let fnrec11 ((p__1_ p__1_)) (jolt-invoke (var-deref "clojure.core" "select-keys") p__1_ ks))) xrel)))))) project)))
(guard (e (#t #f))
  (def-var! "clojure.set" "rename-keys" (letrec ((rename-keys (lambda (map kmap) (let fnrec12 ((map map) (kmap kmap)) (jolt-reduce (lambda (m G__1) (let fnrec13 ((m m) (G__1 G__1)) (let* ((G__2 G__1) (old (jolt-nth G__2 0 jolt-nil)) (new (jolt-nth G__2 1 jolt-nil))) (if (jolt-contains? map old) (jolt-assoc m new (jolt-get map old)) m)))) (jolt-apply jolt-dissoc map (jolt-keys kmap)) kmap))))) rename-keys)))
(guard (e (#t #f))
  (def-var! "clojure.set" "map-invert" (letrec ((map-invert (lambda (m) (let fnrec14 ((m m)) (jolt-reduce (lambda (acc G__3) (let fnrec15 ((acc acc) (G__3 G__3)) (let* ((G__4 G__3) (k (jolt-nth G__4 0 jolt-nil)) (v (jolt-nth G__4 1 jolt-nil))) (jolt-assoc acc v k)))) (jolt-hash-map) m))))) map-invert)))
(guard (e (#t #f))
  (def-var! "clojure.set" "rename" (letrec ((rename (lambda (xrel kmap) (let fnrec16 ((xrel xrel) (kmap kmap)) (jolt-invoke (var-deref "clojure.core" "set") (jolt-map (lambda (m) (let fnrec17 ((m m)) (jolt-reduce (lambda (acc G__5) (let fnrec18 ((acc acc) (G__5 G__5)) (let* ((G__6 G__5) (old (jolt-nth G__6 0 jolt-nil)) (new (jolt-nth G__6 1 jolt-nil))) (if (jolt-contains? m old) (jolt-assoc acc new (jolt-get m old)) acc)))) (jolt-apply jolt-dissoc m (jolt-keys kmap)) kmap))) xrel)))))) rename)))
(guard (e (#t #f))
  (def-var! "clojure.set" "index" (letrec ((index (lambda (xrel ks) (let fnrec19 ((xrel xrel) (ks ks)) (jolt-reduce (lambda (m x) (let fnrec20 ((m m) (x x)) (let* ((ik (jolt-invoke (var-deref "clojure.core" "select-keys") x ks))) (jolt-assoc m ik (jolt-conj (jolt-get m ik (jolt-hash-set)) x))))) (jolt-hash-map) xrel))))) index)))
(guard (e (#t #f))
  (def-var! "clojure.set" "join" (letrec ((join (case-lambda ((xrel yrel) (let fnrec21 ((xrel xrel) (yrel yrel)) (if (jolt-truthy? (let* ((and__13__auto (jolt-seq xrel))) (if (jolt-truthy? and__13__auto) (jolt-seq yrel) and__13__auto))) (let* ((ks (jolt-invoke (var-deref "clojure.set" "intersection") (jolt-invoke (var-deref "clojure.core" "set") (jolt-keys (jolt-first xrel))) (jolt-invoke (var-deref "clojure.core" "set") (jolt-keys (jolt-first yrel))))) (G__7 (if (<= (jolt-count xrel) (jolt-count yrel)) (let* ((_o$26 xrel) (_o$27 yrel)) (jolt-vector _o$26 _o$27)) (let* ((_o$24 yrel) (_o$25 xrel)) (jolt-vector _o$24 _o$25)))) (r (jolt-nth G__7 0 jolt-nil)) (s (jolt-nth G__7 1 jolt-nil)) (idx (jolt-invoke (var-deref "clojure.set" "index") r ks))) (jolt-reduce (lambda (ret x) (let fnrec22 ((ret ret) (x x)) (let* ((found (jolt-invoke idx (jolt-invoke (var-deref "clojure.core" "select-keys") x ks)))) (if (jolt-truthy? found) (jolt-reduce (lambda (acc y) (let fnrec23 ((acc acc) (y y)) (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "merge") y x)))) ret found) ret)))) (jolt-hash-set) s)) (jolt-hash-set)))) ((xrel yrel km) (let fnrec28 ((xrel xrel) (yrel yrel) (km km)) (let* ((G__8 (if (<= (jolt-count xrel) (jolt-count yrel)) (let* ((_o$34 xrel) (_o$35 yrel) (_o$36 (jolt-invoke (var-deref "clojure.set" "map-invert") km))) (jolt-vector _o$34 _o$35 _o$36)) (let* ((_o$31 yrel) (_o$32 xrel) (_o$33 km)) (jolt-vector _o$31 _o$32 _o$33)))) (r (jolt-nth G__8 0 jolt-nil)) (s (jolt-nth G__8 1 jolt-nil)) (k (jolt-nth G__8 2 jolt-nil)) (idx (jolt-invoke (var-deref "clojure.set" "index") r (jolt-vals k)))) (jolt-reduce (lambda (ret x) (let fnrec29 ((ret ret) (x x)) (let* ((found (jolt-invoke idx (jolt-invoke (var-deref "clojure.set" "rename-keys") (jolt-invoke (var-deref "clojure.core" "select-keys") x (jolt-keys k)) k)))) (if (jolt-truthy? found) (jolt-reduce (lambda (acc y) (let fnrec30 ((acc acc) (y y)) (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "merge") y x)))) ret found) ret)))) (jolt-hash-set) s))))))) join)))
(guard (e (#t #f))
  (def-var! "clojure.set" "subset?" (letrec ((subset? (lambda (set1 set2) (let fnrec37 ((set1 set1) (set2 set2)) (let* ((and__13__auto (<= (jolt-count set1) (jolt-count set2)))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (p__2_) (let fnrec38 ((p__2_ p__2_)) (jolt-contains? set2 p__2_))) set1) and__13__auto)))))) subset?)))
(guard (e (#t #f))
  (def-var! "clojure.set" "superset?" (letrec ((superset? (lambda (set1 set2) (let fnrec39 ((set1 set1) (set2 set2)) (let* ((and__13__auto (>= (jolt-count set1) (jolt-count set2)))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (p__3_) (let fnrec40 ((p__3_ p__3_)) (jolt-contains? set1 p__3_))) set2) and__13__auto)))))) superset?)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.pprint" "code-dispatch" (keyword #f "code-dispatch") (jolt-hash-map (keyword #f "doc") "Recognized but not used for layout on jolt.")))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.pprint" "simple-dispatch" (keyword #f "simple-dispatch") (jolt-hash-map (keyword #f "doc") "Recognized but not used for layout on jolt.")))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.pprint" "*print-pprint-dispatch*" (var-deref "clojure.pprint" "simple-dispatch") (jolt-hash-map (keyword #f "dynamic") #t)))
(guard (e (#t #f))
  (def-var! "clojure.pprint" "pprint" (letrec ((pprint (case-lambda ((object) (let fnrec41 ((object object)) (jolt-invoke (var-deref "clojure.core" "prn") object))) ((object _writer) (let fnrec42 ((object object) (_writer _writer)) (jolt-invoke (var-deref "clojure.core" "prn") object)))))) pprint)))
(guard (e (#t #f))
  (def-var! "clojure.pprint" "with-pprint-dispatch"
    (lambda (_dispatch . body) (let fnrec43 ((_dispatch _dispatch) (body (list->cseq body))) (jolt-invoke (var-deref "clojure.core" "__sqcat") (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do")) body))))
  (mark-macro! "clojure.pprint" "with-pprint-dispatch"))