(guard (e (#t #f))
  (def-var! "clojure.core" "zero?" (letrec ((zero? (lambda (x) (let fnrec2316 ((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 fnrec2317 ((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 fnrec2318 ((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))) (fnrec2318 pred (jolt-next coll)) #f)))))) every?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "empty?" (letrec ((empty? (lambda (coll) (let fnrec2319 ((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 fnrec2320 ((m m)) (let* ((s (jolt-seq m))) (if (jolt-truthy? s) (jolt-map (lambda (e) (let fnrec2321 ((e e)) (jolt-nth e 0))) s) jolt-nil)))))) keys)))
(guard (e (#t #f))
  (def-var! "clojure.core" "vals" (letrec ((vals (lambda (m) (let fnrec2322 ((m m)) (let* ((s (jolt-seq m))) (if (jolt-truthy? s) (jolt-map (lambda (e) (let fnrec2323 ((e e)) (jolt-nth e 1))) s) jolt-nil)))))) vals)))
(guard (e (#t #f))
  (def-var! "clojure.core" "when"
    (lambda (test . body) (let fnrec2324 ((test test) (body (list->cseq body))) (let* ((_a$2325 (var-deref "clojure.core" "__sqcat")) (_a$2326 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2327 (jolt-invoke (var-deref "clojure.core" "__sq1") test)) (_a$2328 (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 _a$2325 _a$2326 _a$2327 _a$2328)))))
  (mark-macro! "clojure.core" "when"))
(guard (e (#t #f))
  (def-var! "clojure.core" "when-not"
    (lambda (test . body) (let fnrec2329 ((test test) (body (list->cseq body))) (let* ((_a$2333 (var-deref "clojure.core" "__sqcat")) (_a$2334 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2335 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2330 (var-deref "clojure.core" "__sqcat")) (_a$2331 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "not"))) (_a$2332 (jolt-invoke (var-deref "clojure.core" "__sq1") test))) (jolt-invoke _a$2330 _a$2331 _a$2332)))) (_a$2336 (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 _a$2333 _a$2334 _a$2335 _a$2336)))))
  (mark-macro! "clojure.core" "when-not"))
(guard (e (#t #f))
  (def-var! "clojure.core" "and"
    (lambda exprs (let fnrec2337 ((exprs (list->cseq exprs))) (if (jolt-empty? exprs) #t (if (jolt-empty? (jolt-rest exprs)) (jolt-first exprs) (let* ((_a$2349 (var-deref "clojure.core" "__sqcat")) (_a$2350 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*"))) (_a$2351 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2338 (var-deref "clojure.core" "__sqvec")) (_a$2339 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "and__13__auto"))) (_a$2340 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first exprs)))) (jolt-invoke _a$2338 _a$2339 _a$2340)))) (_a$2352 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2344 (var-deref "clojure.core" "__sqcat")) (_a$2345 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2346 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "and__13__auto"))) (_a$2347 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2341 (var-deref "clojure.core" "__sqcat")) (_a$2342 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "and"))) (_a$2343 (jolt-rest exprs))) (jolt-invoke _a$2341 _a$2342 _a$2343)))) (_a$2348 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "and__13__auto")))) (jolt-invoke _a$2344 _a$2345 _a$2346 _a$2347 _a$2348))))) (jolt-invoke _a$2349 _a$2350 _a$2351 _a$2352)))))))
  (mark-macro! "clojure.core" "and"))
(guard (e (#t #f))
  (def-var! "clojure.core" "or"
    (lambda exprs (let fnrec2353 ((exprs (list->cseq exprs))) (if (jolt-empty? exprs) jolt-nil (if (jolt-empty? (jolt-rest exprs)) (jolt-first exprs) (let* ((_a$2365 (var-deref "clojure.core" "__sqcat")) (_a$2366 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*"))) (_a$2367 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2354 (var-deref "clojure.core" "__sqvec")) (_a$2355 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "or__14__auto"))) (_a$2356 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first exprs)))) (jolt-invoke _a$2354 _a$2355 _a$2356)))) (_a$2368 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2360 (var-deref "clojure.core" "__sqcat")) (_a$2361 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2362 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "or__14__auto"))) (_a$2363 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "or__14__auto"))) (_a$2364 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2357 (var-deref "clojure.core" "__sqcat")) (_a$2358 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "or"))) (_a$2359 (jolt-rest exprs))) (jolt-invoke _a$2357 _a$2358 _a$2359))))) (jolt-invoke _a$2360 _a$2361 _a$2362 _a$2363 _a$2364))))) (jolt-invoke _a$2365 _a$2366 _a$2367 _a$2368)))))))
  (mark-macro! "clojure.core" "or"))
(guard (e (#t #f))
  (def-var! "clojure.core" "cond"
    (lambda clauses (let fnrec2369 ((clauses (list->cseq clauses))) (if (jolt-empty? clauses) jolt-nil (let* ((_a$2373 (var-deref "clojure.core" "__sqcat")) (_a$2374 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2375 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first clauses))) (_a$2376 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth clauses 1))) (_a$2377 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2370 (var-deref "clojure.core" "__sqcat")) (_a$2371 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "cond"))) (_a$2372 (jolt-drop 2 clauses))) (jolt-invoke _a$2370 _a$2371 _a$2372))))) (jolt-invoke _a$2373 _a$2374 _a$2375 _a$2376 _a$2377))))))
  (mark-macro! "clojure.core" "cond"))
(guard (e (#t #f))
  (def-var! "clojure.core" "ns"
    (lambda (nm . clauses) (let fnrec2378 ((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 (let* ((_a$2408 (lambda (acc clause) (let fnrec2379 ((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 (let* ((_a$2384 (var-deref "clojure.core" "__sqcat")) (_a$2385 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "require"))) (_a$2386 (jolt-map (lambda (s) (let fnrec2380 ((s s)) (let* ((_a$2381 (var-deref "clojure.core" "__sqcat")) (_a$2382 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$2383 (jolt-invoke (var-deref "clojure.core" "__sq1") s))) (jolt-invoke _a$2381 _a$2382 _a$2383)))) args))) (jolt-invoke _a$2384 _a$2385 _a$2386))) (if (jolt= head (keyword #f "use")) (jolt-conj acc (let* ((_a$2391 (var-deref "clojure.core" "__sqcat")) (_a$2392 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "use"))) (_a$2393 (jolt-map (lambda (s) (let fnrec2387 ((s s)) (let* ((_a$2388 (var-deref "clojure.core" "__sqcat")) (_a$2389 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$2390 (jolt-invoke (var-deref "clojure.core" "__sq1") s))) (jolt-invoke _a$2388 _a$2389 _a$2390)))) args))) (jolt-invoke _a$2391 _a$2392 _a$2393))) (if (jolt= head (keyword #f "import")) (jolt-conj acc (let* ((_a$2398 (var-deref "clojure.core" "__sqcat")) (_a$2399 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "import"))) (_a$2400 (jolt-map (lambda (s) (let fnrec2394 ((s s)) (let* ((_a$2395 (var-deref "clojure.core" "__sqcat")) (_a$2396 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$2397 (jolt-invoke (var-deref "clojure.core" "__sq1") s))) (jolt-invoke _a$2395 _a$2396 _a$2397)))) args))) (jolt-invoke _a$2398 _a$2399 _a$2400))) (if (jolt= head (keyword #f "refer-clojure")) (jolt-conj acc (let* ((_a$2405 (var-deref "clojure.core" "__sqcat")) (_a$2406 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "refer-clojure"))) (_a$2407 (jolt-map (lambda (s) (let fnrec2401 ((s s)) (let* ((_a$2402 (var-deref "clojure.core" "__sqcat")) (_a$2403 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$2404 (jolt-invoke (var-deref "clojure.core" "__sq1") s))) (jolt-invoke _a$2402 _a$2403 _a$2404)))) args))) (jolt-invoke _a$2405 _a$2406 _a$2407))) (if (jolt-truthy? (keyword #f "else")) acc jolt-nil)))))) acc)))) (_a$2409 (jolt-vector)) (_a$2410 clauses)) (jolt-reduce _a$2408 _a$2409 _a$2410)))) (let* ((_a$2417 (var-deref "clojure.core" "__sqcat")) (_a$2418 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$2419 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2414 (var-deref "clojure.core" "__sqcat")) (_a$2415 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "in-ns"))) (_a$2416 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2411 (var-deref "clojure.core" "__sqcat")) (_a$2412 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$2413 (jolt-invoke (var-deref "clojure.core" "__sq1") nm))) (jolt-invoke _a$2411 _a$2412 _a$2413))))) (jolt-invoke _a$2414 _a$2415 _a$2416)))) (_a$2420 calls)) (jolt-invoke _a$2417 _a$2418 _a$2419 _a$2420))))))
  (mark-macro! "clojure.core" "ns"))
(guard (e (#t #f))
  (def-var! "clojure.core" "->"
    (lambda (x . forms) (let fnrec2421 ((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)) (let* ((_a$2422 (var-deref "clojure.core" "__sqcat")) (_a$2423 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first form))) (_a$2424 (jolt-invoke (var-deref "clojure.core" "__sq1") x)) (_a$2425 (jolt-rest form))) (jolt-invoke _a$2422 _a$2423 _a$2424 _a$2425)) (let* ((_a$2426 (var-deref "clojure.core" "__sqcat")) (_a$2427 (jolt-invoke (var-deref "clojure.core" "__sq1") form)) (_a$2428 (jolt-invoke (var-deref "clojure.core" "__sq1") x))) (jolt-invoke _a$2426 _a$2427 _a$2428))))) (let* ((_a$2429 (var-deref "clojure.core" "__sqcat")) (_a$2430 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->"))) (_a$2431 (jolt-invoke (var-deref "clojure.core" "__sq1") threaded)) (_a$2432 (jolt-rest forms))) (jolt-invoke _a$2429 _a$2430 _a$2431 _a$2432)))))))
  (mark-macro! "clojure.core" "->"))
(guard (e (#t #f))
  (def-var! "clojure.core" "->>"
    (lambda (x . forms) (let fnrec2433 ((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)) (let* ((_a$2434 (var-deref "clojure.core" "__sqcat")) (_a$2435 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first form))) (_a$2436 (jolt-rest form)) (_a$2437 (jolt-invoke (var-deref "clojure.core" "__sq1") x))) (jolt-invoke _a$2434 _a$2435 _a$2436 _a$2437)) (let* ((_a$2438 (var-deref "clojure.core" "__sqcat")) (_a$2439 (jolt-invoke (var-deref "clojure.core" "__sq1") form)) (_a$2440 (jolt-invoke (var-deref "clojure.core" "__sq1") x))) (jolt-invoke _a$2438 _a$2439 _a$2440))))) (let* ((_a$2441 (var-deref "clojure.core" "__sqcat")) (_a$2442 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->>"))) (_a$2443 (jolt-invoke (var-deref "clojure.core" "__sq1") threaded)) (_a$2444 (jolt-rest forms))) (jolt-invoke _a$2441 _a$2442 _a$2443 _a$2444)))))))
  (mark-macro! "clojure.core" "->>"))
(guard (e (#t #f))
  (def-var! "clojure.core" "declare"
    (lambda syms (let fnrec2445 ((syms (list->cseq syms))) (let* ((_a$2450 (var-deref "clojure.core" "__sqcat")) (_a$2451 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$2452 (jolt-map (lambda (s) (let fnrec2446 ((s s)) (let* ((_a$2447 (var-deref "clojure.core" "__sqcat")) (_a$2448 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def"))) (_a$2449 (jolt-invoke (var-deref "clojure.core" "__sq1") s))) (jolt-invoke _a$2447 _a$2448 _a$2449)))) syms))) (jolt-invoke _a$2450 _a$2451 _a$2452)))))
  (mark-macro! "clojure.core" "declare"))
(guard (e (#t #f))
  (def-var! "clojure.core" "destructure" (letrec ((destructure (lambda (bindings) (let fnrec2453 ((bindings bindings)) (let* ((find-or (lambda (or-map nm) (let fnrec2454 ((or-map or-map) (nm nm)) (let* ((_a$2460 (lambda (acc k) (let fnrec2455 ((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$2456 #t) (_o$2457 (jolt-get or-map k))) (jolt-vector _o$2456 _o$2457)) acc)))) (_a$2461 (let* ((_o$2458 #f) (_o$2459 jolt-nil)) (jolt-vector _o$2458 _o$2459))) (_a$2462 (if (jolt-truthy? or-map) (jolt-keys or-map) (jolt-vector)))) (jolt-reduce _a$2460 _a$2461 _a$2462))))) (amp? (lambda (x) (let fnrec2463 ((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 fnrec2464 ((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 fnrec2465 ((i i) (idx idx) (a a)) (if (< i n) (let* ((elem (jolt-nth pat i))) (if (jolt-truthy? (jolt-invoke amp? elem)) (let* ((_a$2474 vloop) (_a$2475 (+ i 2)) (_a$2476 idx) (_a$2477 (let* ((_a$2470 proc) (_a$2471 (jolt-nth pat (jolt-inc i))) (_a$2472 (let* ((_a$2466 (var-deref "clojure.core" "__sqcat")) (_a$2467 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "nthnext"))) (_a$2468 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$2469 (jolt-invoke (var-deref "clojure.core" "__sq1") idx))) (jolt-invoke _a$2466 _a$2467 _a$2468 _a$2469))) (_a$2473 a)) (jolt-invoke _a$2470 _a$2471 _a$2472 _a$2473)))) (jolt-invoke _a$2474 _a$2475 _a$2476 _a$2477)) (if (jolt= elem (keyword #f "as")) (let* ((_a$2478 vloop) (_a$2479 (+ i 2)) (_a$2480 idx) (_a$2481 (jolt-invoke proc (jolt-nth pat (jolt-inc i)) g a))) (jolt-invoke _a$2478 _a$2479 _a$2480 _a$2481)) (if (jolt-truthy? (keyword #f "else")) (let* ((_a$2487 vloop) (_a$2488 (jolt-inc i)) (_a$2489 (jolt-inc idx)) (_a$2490 (jolt-invoke proc elem (let* ((_a$2482 (var-deref "clojure.core" "__sqcat")) (_a$2483 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "nth"))) (_a$2484 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$2485 (jolt-invoke (var-deref "clojure.core" "__sq1") idx)) (_a$2486 (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil))) (jolt-invoke _a$2482 _a$2483 _a$2484 _a$2485 _a$2486)) a))) (jolt-invoke _a$2487 _a$2488 _a$2489 _a$2490)) 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 (let* ((_a$2523 (var-deref "clojure.core" "__sqcat")) (_a$2524 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2525 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2491 (var-deref "clojure.core" "__sqcat")) (_a$2492 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "sequential?"))) (_a$2493 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$2491 _a$2492 _a$2493)))) (_a$2526 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2518 (var-deref "clojure.core" "__sqcat")) (_a$2519 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2520 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2507 (var-deref "clojure.core" "__sqcat")) (_a$2508 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "and"))) (_a$2509 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2497 (var-deref "clojure.core" "__sqcat")) (_a$2498 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "="))) (_a$2499 (jolt-invoke (var-deref "clojure.core" "__sq1") 1)) (_a$2500 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2494 (var-deref "clojure.core" "__sqcat")) (_a$2495 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "count"))) (_a$2496 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$2494 _a$2495 _a$2496))))) (jolt-invoke _a$2497 _a$2498 _a$2499 _a$2500)))) (_a$2510 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2504 (var-deref "clojure.core" "__sqcat")) (_a$2505 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "map?"))) (_a$2506 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2501 (var-deref "clojure.core" "__sqcat")) (_a$2502 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "first"))) (_a$2503 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$2501 _a$2502 _a$2503))))) (jolt-invoke _a$2504 _a$2505 _a$2506))))) (jolt-invoke _a$2507 _a$2508 _a$2509 _a$2510)))) (_a$2521 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2511 (var-deref "clojure.core" "__sqcat")) (_a$2512 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "first"))) (_a$2513 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$2511 _a$2512 _a$2513)))) (_a$2522 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2514 (var-deref "clojure.core" "__sqcat")) (_a$2515 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "apply"))) (_a$2516 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "hash-map"))) (_a$2517 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$2514 _a$2515 _a$2516 _a$2517))))) (jolt-invoke _a$2518 _a$2519 _a$2520 _a$2521 _a$2522)))) (_a$2527 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$2523 _a$2524 _a$2525 _a$2526 _a$2527))) (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 fnrec2528 ((a a) (kw kw) (kind kind)) (let* ((names (jolt-get pat kw))) (if (jolt-truthy? names) (jolt-reduce (lambda (aa s) (let fnrec2529 ((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")) (let* ((_a$2530 (var-deref "clojure.core" "__sqcat")) (_a$2531 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$2532 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "symbol") nsp local)))) (jolt-invoke _a$2530 _a$2531 _a$2532)) jolt-nil)))) (fo (jolt-invoke find-or or-map local))) (let* ((_a$2542 (jolt-conj aa (jolt-invoke (var-deref "clojure.core" "symbol") local))) (_a$2543 (if (jolt-truthy? (jolt-nth fo 0)) (let* ((_a$2533 (var-deref "clojure.core" "__sqcat")) (_a$2534 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get"))) (_a$2535 (jolt-invoke (var-deref "clojure.core" "__sq1") gm)) (_a$2536 (jolt-invoke (var-deref "clojure.core" "__sq1") keyform)) (_a$2537 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth fo 1)))) (jolt-invoke _a$2533 _a$2534 _a$2535 _a$2536 _a$2537)) (let* ((_a$2538 (var-deref "clojure.core" "__sqcat")) (_a$2539 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get"))) (_a$2540 (jolt-invoke (var-deref "clojure.core" "__sq1") gm)) (_a$2541 (jolt-invoke (var-deref "clojure.core" "__sq1") keyform))) (jolt-invoke _a$2538 _a$2539 _a$2540 _a$2541))))) (jolt-conj _a$2542 _a$2543))))) 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")))) (let* ((_a$2549 (lambda (a k) (let fnrec2544 ((a a) (k k)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "keyword?") k)) a (jolt-invoke proc k (let* ((_a$2545 (var-deref "clojure.core" "__sqcat")) (_a$2546 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get"))) (_a$2547 (jolt-invoke (var-deref "clojure.core" "__sq1") gm)) (_a$2548 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-get pat k)))) (jolt-invoke _a$2545 _a$2546 _a$2547 _a$2548)) a))))) (_a$2550 g3) (_a$2551 (jolt-keys pat))) (jolt-reduce _a$2549 _a$2550 _a$2551))) (if (jolt-truthy? (keyword #f "else")) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "unsupported destructuring pattern: " (jolt-invoke (var-deref "clojure.core" "pr-str") pat))) jolt-nil)))))))) proc)) (ploop (letrec ((ploop (lambda (i acc) (let fnrec2552 ((i i) (acc acc)) (if (< i (jolt-count bindings)) (let* ((_a$2557 ploop) (_a$2558 (+ i 2)) (_a$2559 (let* ((_a$2553 proc) (_a$2554 (jolt-nth bindings i)) (_a$2555 (jolt-nth bindings (jolt-inc i))) (_a$2556 acc)) (jolt-invoke _a$2553 _a$2554 _a$2555 _a$2556)))) (jolt-invoke _a$2557 _a$2558 _a$2559)) acc))))) ploop))) (jolt-invoke ploop 0 (jolt-vector))))))) destructure)))
(guard (e (#t #f))
  (def-var! "clojure.core" "let"
    (lambda (bindings . body) (let fnrec2560 ((bindings bindings) (body (list->cseq body))) (let* ((_a$2561 (var-deref "clojure.core" "__sqcat")) (_a$2562 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*"))) (_a$2563 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "destructure") bindings)))) (_a$2564 body)) (jolt-invoke _a$2561 _a$2562 _a$2563 _a$2564)))))
  (mark-macro! "clojure.core" "let"))
(guard (e (#t #f))
  (def-var! "clojure.core" "loop"
    (lambda (bindings . body) (let fnrec2565 ((bindings bindings) (body (list->cseq body))) (let* ((d (jolt-invoke (var-deref "clojure.core" "destructure") bindings))) (if (jolt= d bindings) (let* ((_a$2566 (var-deref "clojure.core" "__sqcat")) (_a$2567 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "loop*"))) (_a$2568 (jolt-invoke (var-deref "clojure.core" "__sq1") bindings)) (_a$2569 body)) (jolt-invoke _a$2566 _a$2567 _a$2568 _a$2569)) (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 fnrec2570 ((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 (let* ((_a$2572 (lambda (acc t) (let fnrec2571 ((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)))))) (_a$2573 (jolt-vector)) (_a$2574 (jolt-map jolt-vector bs vs gs))) (jolt-reduce _a$2572 _a$2573 _a$2574))) (inner (let* ((_a$2578 (lambda (acc t) (let fnrec2575 ((acc acc) (t t)) (let* ((_a$2576 (jolt-conj acc (jolt-nth t 0))) (_a$2577 (jolt-nth t 1))) (jolt-conj _a$2576 _a$2577))))) (_a$2579 (jolt-vector)) (_a$2580 (jolt-map jolt-vector bs gs))) (jolt-reduce _a$2578 _a$2579 _a$2580))) (loopv (let* ((_a$2582 (lambda (acc g) (let fnrec2581 ((acc acc) (g g)) (jolt-conj (jolt-conj acc g) g)))) (_a$2583 (jolt-vector)) (_a$2584 gs)) (jolt-reduce _a$2582 _a$2583 _a$2584)))) (let* ((_a$2593 (var-deref "clojure.core" "__sqcat")) (_a$2594 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$2595 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") outer))) (_a$2596 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2589 (var-deref "clojure.core" "__sqcat")) (_a$2590 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "loop*"))) (_a$2591 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") loopv))) (_a$2592 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2585 (var-deref "clojure.core" "__sqcat")) (_a$2586 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$2587 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") inner))) (_a$2588 body)) (jolt-invoke _a$2585 _a$2586 _a$2587 _a$2588))))) (jolt-invoke _a$2589 _a$2590 _a$2591 _a$2592))))) (jolt-invoke _a$2593 _a$2594 _a$2595 _a$2596))))))))
  (mark-macro! "clojure.core" "loop"))
(guard (e (#t #f))
  (def-var! "clojure.core" "fn"
    (lambda raw (let fnrec2597 ((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 fnrec2598 ((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 fnrec2599 ((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))) (let* ((_a$2600 go) (_a$2601 (jolt-next ps)) (_a$2602 (jolt-conj nps (jolt-first ps))) (_a$2603 lets)) (jolt-invoke _a$2600 _a$2601 _a$2602 _a$2603)) (let* ((g (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") (jolt-invoke (var-deref "clojure.core" "gensym")))))) (let* ((_a$2604 go) (_a$2605 (jolt-next ps)) (_a$2606 (jolt-conj nps g)) (_a$2607 (jolt-conj (jolt-conj lets (jolt-first ps)) g))) (jolt-invoke _a$2604 _a$2605 _a$2606 _a$2607)))) (let* ((_o$2608 nps) (_o$2609 lets)) (jolt-vector _o$2608 _o$2609))))))) go)) (mk (lambda (sig) (let fnrec2610 ((sig sig)) (let* ((ps (jolt-invoke unhint (jolt-first sig))) (hinted (jolt-not (jolt= ps (jolt-first sig)))) (r (let* ((_a$2611 md) (_a$2612 (jolt-seq ps)) (_a$2613 (jolt-vector)) (_a$2614 (jolt-vector))) (jolt-invoke _a$2611 _a$2612 _a$2613 _a$2614)))) (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)) (let* ((_a$2615 (var-deref "clojure.core" "__sqcat")) (_a$2616 (jolt-invoke (var-deref "clojure.core" "__sq1") pv)) (_a$2617 (jolt-rest sig))) (jolt-invoke _a$2615 _a$2616 _a$2617)) (let* ((_a$2622 (var-deref "clojure.core" "__sqcat")) (_a$2623 (jolt-invoke (var-deref "clojure.core" "__sq1") pv)) (_a$2624 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2618 (var-deref "clojure.core" "__sqcat")) (_a$2619 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$2620 (jolt-invoke (var-deref "clojure.core" "__sq1") lv)) (_a$2621 (jolt-rest sig))) (jolt-invoke _a$2618 _a$2619 _a$2620 _a$2621))))) (jolt-invoke _a$2622 _a$2623 _a$2624)))))))))) (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) (let* ((_a$2625 (var-deref "clojure.core" "__sqcat")) (_a$2626 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*"))) (_a$2627 (jolt-invoke (var-deref "clojure.core" "__sq1") nm)) (_a$2628 a)) (jolt-invoke _a$2625 _a$2626 _a$2627 _a$2628)) (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) (let* ((_a$2629 (var-deref "clojure.core" "__sqcat")) (_a$2630 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*"))) (_a$2631 (jolt-invoke (var-deref "clojure.core" "__sq1") nm)) (_a$2632 as)) (jolt-invoke _a$2629 _a$2630 _a$2631 _a$2632)) (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 fnrec2633 ((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))))) (let* ((_a$2638 (var-deref "clojure.core" "__sqcat")) (_a$2639 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def"))) (_a$2640 (jolt-invoke (var-deref "clojure.core" "__sq1") fn-name)) (_a$2641 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2634 (var-deref "clojure.core" "__sqcat")) (_a$2635 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$2636 (jolt-invoke (var-deref "clojure.core" "__sq1") fn-only-name)) (_a$2637 body)) (jolt-invoke _a$2634 _a$2635 _a$2636 _a$2637))))) (jolt-invoke _a$2638 _a$2639 _a$2640 _a$2641))))))
  (mark-macro! "clojure.core" "defn"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defn-"
    (lambda (fn-name . body) (let fnrec2642 ((fn-name fn-name) (body (list->cseq body))) (let* ((_a$2643 (var-deref "clojure.core" "__sqcat")) (_a$2644 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "defn"))) (_a$2645 (jolt-invoke (var-deref "clojure.core" "__sq1") fn-name)) (_a$2646 body)) (jolt-invoke _a$2643 _a$2644 _a$2645 _a$2646)))))
  (mark-macro! "clojure.core" "defn-"))
(guard (e (#t #f))
  (def-var! "clojure.core" "fresh-sym" (letrec ((fresh-sym (lambda () (let fnrec2647 () (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 fnrec2648 ((expr expr) (clauses (list->cseq clauses))) (let* ((step (letrec ((step (lambda (prev cls) (let fnrec2649 ((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)) (let* ((_a$2650 (var-deref "clojure.core" "__sqcat")) (_a$2651 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first f))) (_a$2652 (jolt-invoke (var-deref "clojure.core" "__sq1") prev)) (_a$2653 (jolt-rest f))) (jolt-invoke _a$2650 _a$2651 _a$2652 _a$2653)) (let* ((_a$2654 (var-deref "clojure.core" "__sqcat")) (_a$2655 (jolt-invoke (var-deref "clojure.core" "__sq1") f)) (_a$2656 (jolt-invoke (var-deref "clojure.core" "__sq1") prev))) (jolt-invoke _a$2654 _a$2655 _a$2656))))) (let* ((_a$2665 (var-deref "clojure.core" "__sqcat")) (_a$2666 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*"))) (_a$2667 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2662 (var-deref "clojure.core" "__sqvec")) (_a$2663 (jolt-invoke (var-deref "clojure.core" "__sq1") gn)) (_a$2664 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2657 (var-deref "clojure.core" "__sqcat")) (_a$2658 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2659 (jolt-invoke (var-deref "clojure.core" "__sq1") t)) (_a$2660 (jolt-invoke (var-deref "clojure.core" "__sq1") call)) (_a$2661 (jolt-invoke (var-deref "clojure.core" "__sq1") prev))) (jolt-invoke _a$2657 _a$2658 _a$2659 _a$2660 _a$2661))))) (jolt-invoke _a$2662 _a$2663 _a$2664)))) (_a$2668 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke step gn (jolt-drop 2 cls))))) (jolt-invoke _a$2665 _a$2666 _a$2667 _a$2668)))))))) step)) (g0 (jolt-invoke (var-deref "clojure.core" "fresh-sym")))) (let* ((_a$2672 (var-deref "clojure.core" "__sqcat")) (_a$2673 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*"))) (_a$2674 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2669 (var-deref "clojure.core" "__sqvec")) (_a$2670 (jolt-invoke (var-deref "clojure.core" "__sq1") g0)) (_a$2671 (jolt-invoke (var-deref "clojure.core" "__sq1") expr))) (jolt-invoke _a$2669 _a$2670 _a$2671)))) (_a$2675 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke step g0 clauses)))) (jolt-invoke _a$2672 _a$2673 _a$2674 _a$2675))))))
  (mark-macro! "clojure.core" "cond->"))
(guard (e (#t #f))
  (def-var! "clojure.core" "case"
    (lambda (expr . clauses) (let fnrec2676 ((expr expr) (clauses (list->cseq clauses))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym"))) (mk-const (lambda (c) (let fnrec2677 ((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)))) (let* ((_a$2678 (var-deref "clojure.core" "__sqcat")) (_a$2679 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$2680 (jolt-invoke (var-deref "clojure.core" "__sq1") c))) (jolt-invoke _a$2678 _a$2679 _a$2680)) c)))) (mk-test (lambda (c) (let fnrec2681 ((c c)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") c)) (let* ((_a$2687 (var-deref "clojure.core" "__sqcat")) (_a$2688 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "or"))) (_a$2689 (jolt-map (lambda (v) (let fnrec2682 ((v v)) (let* ((_a$2683 (var-deref "clojure.core" "__sqcat")) (_a$2684 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "="))) (_a$2685 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$2686 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke mk-const v)))) (jolt-invoke _a$2683 _a$2684 _a$2685 _a$2686)))) c))) (jolt-invoke _a$2687 _a$2688 _a$2689)) (let* ((_a$2690 (var-deref "clojure.core" "__sqcat")) (_a$2691 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "="))) (_a$2692 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$2693 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke mk-const c)))) (jolt-invoke _a$2690 _a$2691 _a$2692 _a$2693)))))) (collect (letrec ((collect (lambda (cls acc) (let fnrec2694 ((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 fnrec2695 ((items items) (seen seen)) (if (jolt-empty? items) jolt-nil (let* ((x (jolt-first items))) (if (jolt-truthy? (jolt-reduce (lambda (f s) (let fnrec2696 ((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) (let* ((_a$2697 fd) (_a$2698 (jolt-rest items)) (_a$2699 (jolt-conj seen x))) (jolt-invoke _a$2697 _a$2698 _a$2699))))))))) fd)) (dup (let* ((_a$2700 first-dup) (_a$2701 (jolt-invoke collect clauses (jolt-vector))) (_a$2702 (jolt-vector))) (jolt-invoke _a$2700 _a$2701 _a$2702))) (build (letrec ((build (lambda (cls) (let fnrec2703 ((cls cls)) (if (jolt-empty? cls) (let* ((_a$2712 (var-deref "clojure.core" "__sqcat")) (_a$2713 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "throw"))) (_a$2714 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2708 (var-deref "clojure.core" "__sqcat")) (_a$2709 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "ex-info"))) (_a$2710 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2704 (var-deref "clojure.core" "__sqcat")) (_a$2705 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "str"))) (_a$2706 (jolt-invoke (var-deref "clojure.core" "__sq1") "No matching clause: ")) (_a$2707 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$2704 _a$2705 _a$2706 _a$2707)))) (_a$2711 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqmap"))))) (jolt-invoke _a$2708 _a$2709 _a$2710 _a$2711))))) (jolt-invoke _a$2712 _a$2713 _a$2714)) (if (jolt-empty? (jolt-rest cls)) (jolt-first cls) (let* ((_a$2715 (var-deref "clojure.core" "__sqcat")) (_a$2716 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2717 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke mk-test (jolt-first cls)))) (_a$2718 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth cls 1))) (_a$2719 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke build (jolt-drop 2 cls))))) (jolt-invoke _a$2715 _a$2716 _a$2717 _a$2718 _a$2719)))))))) build))) (if (jolt-truthy? dup) (jolt-throw (jolt-invoke (var-deref "clojure.core" "str") "Duplicate case test constant: " (jolt-first dup))) (let* ((_a$2723 (var-deref "clojure.core" "__sqcat")) (_a$2724 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*"))) (_a$2725 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2720 (var-deref "clojure.core" "__sqvec")) (_a$2721 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$2722 (jolt-invoke (var-deref "clojure.core" "__sq1") expr))) (jolt-invoke _a$2720 _a$2721 _a$2722)))) (_a$2726 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke build clauses)))) (jolt-invoke _a$2723 _a$2724 _a$2725 _a$2726)))))))
  (mark-macro! "clojure.core" "case"))
(guard (e (#t #f))
  (def-var! "clojure.core" "for"
    (lambda (bindings body) (let fnrec2727 ((bindings bindings) (body body)) (let* ((scan (letrec ((scan (lambda (bvec i bind coll mods) (let fnrec2728 ((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")) (let* ((_a$2731 scan) (_a$2732 bvec) (_a$2733 (+ i 2)) (_a$2734 bind) (_a$2735 coll) (_a$2736 (jolt-conj mods (let* ((_o$2729 (keyword #f "when")) (_o$2730 v)) (jolt-vector _o$2729 _o$2730))))) (jolt-invoke _a$2731 _a$2732 _a$2733 _a$2734 _a$2735 _a$2736)) (if (jolt= k (keyword #f "let")) (let* ((_a$2739 scan) (_a$2740 bvec) (_a$2741 (+ i 2)) (_a$2742 bind) (_a$2743 coll) (_a$2744 (jolt-conj mods (let* ((_o$2737 (keyword #f "let")) (_o$2738 v)) (jolt-vector _o$2737 _o$2738))))) (jolt-invoke _a$2739 _a$2740 _a$2741 _a$2742 _a$2743 _a$2744)) (if (jolt= k (keyword #f "while")) (let* ((_a$2753 scan) (_a$2754 bvec) (_a$2755 (+ i 2)) (_a$2756 bind) (_a$2757 (let* ((_a$2749 (var-deref "clojure.core" "__sqcat")) (_a$2750 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "take-while"))) (_a$2751 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2745 (var-deref "clojure.core" "__sqcat")) (_a$2746 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$2747 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") bind)))) (_a$2748 (jolt-invoke (var-deref "clojure.core" "__sq1") v))) (jolt-invoke _a$2745 _a$2746 _a$2747 _a$2748)))) (_a$2752 (jolt-invoke (var-deref "clojure.core" "__sq1") coll))) (jolt-invoke _a$2749 _a$2750 _a$2751 _a$2752))) (_a$2758 mods)) (jolt-invoke _a$2753 _a$2754 _a$2755 _a$2756 _a$2757 _a$2758)) (if (jolt-truthy? (keyword #f "else")) (jolt-invoke scan bvec (jolt-inc i) bind coll mods) jolt-nil))))) (let* ((_o$2759 i) (_o$2760 bind) (_o$2761 coll) (_o$2762 mods)) (jolt-vector _o$2759 _o$2760 _o$2761 _o$2762))))))) scan)) (parse-groups (letrec ((parse-groups (lambda (bvec i groups) (let fnrec2763 ((bvec bvec) (i i) (groups groups)) (if (>= i (jolt-count bvec)) groups (let* ((r (let* ((_a$2764 scan) (_a$2765 bvec) (_a$2766 (+ i 2)) (_a$2767 (jolt-nth bvec i)) (_a$2768 (jolt-nth bvec (jolt-inc i))) (_a$2769 (jolt-vector))) (jolt-invoke _a$2764 _a$2765 _a$2766 _a$2767 _a$2768 _a$2769)))) (let* ((_a$2773 parse-groups) (_a$2774 bvec) (_a$2775 (jolt-nth r 0)) (_a$2776 (jolt-conj groups (let* ((_o$2770 (jolt-nth r 1)) (_o$2771 (jolt-nth r 2)) (_o$2772 (jolt-nth r 3))) (jolt-vector _o$2770 _o$2771 _o$2772))))) (jolt-invoke _a$2773 _a$2774 _a$2775 _a$2776)))))))) parse-groups)) (wrap-mods (letrec ((wrap-mods (lambda (mods inner) (let fnrec2777 ((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")) (let* ((_a$2778 (var-deref "clojure.core" "__sqcat")) (_a$2779 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2780 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth m 1))) (_a$2781 (jolt-invoke (var-deref "clojure.core" "__sq1") sub)) (_a$2782 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec"))))) (jolt-invoke _a$2778 _a$2779 _a$2780 _a$2781 _a$2782)) (let* ((_a$2783 (var-deref "clojure.core" "__sqcat")) (_a$2784 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*"))) (_a$2785 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth m 1))) (_a$2786 (jolt-invoke (var-deref "clojure.core" "__sq1") sub))) (jolt-invoke _a$2783 _a$2784 _a$2785 _a$2786))))))))) wrap-mods)) (build (letrec ((build (lambda (idx groups) (let fnrec2787 ((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))) (let* ((_a$2792 (var-deref "clojure.core" "__sqcat")) (_a$2793 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "map"))) (_a$2794 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2788 (var-deref "clojure.core" "__sqcat")) (_a$2789 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$2790 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") my-bind)))) (_a$2791 (jolt-invoke (var-deref "clojure.core" "__sq1") body))) (jolt-invoke _a$2788 _a$2789 _a$2790 _a$2791)))) (_a$2795 (jolt-invoke (var-deref "clojure.core" "__sq1") my-coll))) (jolt-invoke _a$2792 _a$2793 _a$2794 _a$2795)) (let* ((base (if (jolt-truthy? is-last) (let* ((_a$2796 (var-deref "clojure.core" "__sqcat")) (_a$2797 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "list"))) (_a$2798 (jolt-invoke (var-deref "clojure.core" "__sq1") body))) (jolt-invoke _a$2796 _a$2797 _a$2798)) (jolt-invoke build (jolt-inc idx) groups)))) (let* ((_a$2803 (var-deref "clojure.core" "__sqcat")) (_a$2804 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "mapcat"))) (_a$2805 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2799 (var-deref "clojure.core" "__sqcat")) (_a$2800 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$2801 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") my-bind)))) (_a$2802 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke wrap-mods my-mods base)))) (jolt-invoke _a$2799 _a$2800 _a$2801 _a$2802)))) (_a$2806 (jolt-invoke (var-deref "clojure.core" "__sq1") my-coll))) (jolt-invoke _a$2803 _a$2804 _a$2805 _a$2806))))))))) 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 fnrec2807 ((bindings bindings) (body (list->cseq body))) (let* ((_a$2819 (var-deref "clojure.core" "__sqcat")) (_a$2820 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$2821 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2816 (var-deref "clojure.core" "__sqcat")) (_a$2817 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "count"))) (_a$2818 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2812 (var-deref "clojure.core" "__sqcat")) (_a$2813 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "for"))) (_a$2814 (jolt-invoke (var-deref "clojure.core" "__sq1") bindings)) (_a$2815 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2808 (var-deref "clojure.core" "__sqcat")) (_a$2809 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$2810 body) (_a$2811 (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil))) (jolt-invoke _a$2808 _a$2809 _a$2810 _a$2811))))) (jolt-invoke _a$2812 _a$2813 _a$2814 _a$2815))))) (jolt-invoke _a$2816 _a$2817 _a$2818)))) (_a$2822 (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil))) (jolt-invoke _a$2819 _a$2820 _a$2821 _a$2822)))))
  (mark-macro! "clojure.core" "doseq"))
(guard (e (#t #f))
  (def-var! "clojure.core" "when-let"
    (lambda (bindings . body) (let fnrec2823 ((bindings bindings) (body (list->cseq body))) (let* ((form (jolt-invoke bindings 0)) (tst (jolt-invoke bindings 1))) (let* ((_a$2839 (var-deref "clojure.core" "__sqcat")) (_a$2840 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$2841 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2824 (var-deref "clojure.core" "__sqvec")) (_a$2825 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__15__auto"))) (_a$2826 (jolt-invoke (var-deref "clojure.core" "__sq1") tst))) (jolt-invoke _a$2824 _a$2825 _a$2826)))) (_a$2842 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2834 (var-deref "clojure.core" "__sqcat")) (_a$2835 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$2836 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__15__auto"))) (_a$2837 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2830 (var-deref "clojure.core" "__sqcat")) (_a$2831 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$2832 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2827 (var-deref "clojure.core" "__sqvec")) (_a$2828 (jolt-invoke (var-deref "clojure.core" "__sq1") form)) (_a$2829 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__15__auto")))) (jolt-invoke _a$2827 _a$2828 _a$2829)))) (_a$2833 body)) (jolt-invoke _a$2830 _a$2831 _a$2832 _a$2833)))) (_a$2838 (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil))) (jolt-invoke _a$2834 _a$2835 _a$2836 _a$2837 _a$2838))))) (jolt-invoke _a$2839 _a$2840 _a$2841 _a$2842))))))
  (mark-macro! "clojure.core" "when-let"))
(guard (e (#t #f))
  (def-var! "clojure.core" "lazy-seq"
    (lambda body (let fnrec2843 ((body (list->cseq body))) (let* ((_a$2851 (var-deref "clojure.core" "__sqcat")) (_a$2852 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-lazy-seq"))) (_a$2853 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2847 (var-deref "clojure.core" "__sqcat")) (_a$2848 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*"))) (_a$2849 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec")))) (_a$2850 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$2844 (var-deref "clojure.core" "__sqcat")) (_a$2845 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "coll->cells"))) (_a$2846 (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 _a$2844 _a$2845 _a$2846))))) (jolt-invoke _a$2847 _a$2848 _a$2849 _a$2850))))) (jolt-invoke _a$2851 _a$2852 _a$2853)))))
  (mark-macro! "clojure.core" "lazy-seq"))
(guard (e (#t #f))
  (def-var! "clojure.core" "lazy-cat"
    (lambda colls (let fnrec2854 ((colls (list->cseq colls))) (let* ((_a$2859 (var-deref "clojure.core" "__sqcat")) (_a$2860 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "concat"))) (_a$2861 (jolt-map (lambda (c) (let fnrec2855 ((c c)) (let* ((_a$2856 (var-deref "clojure.core" "__sqcat")) (_a$2857 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "lazy-seq"))) (_a$2858 (jolt-invoke (var-deref "clojure.core" "__sq1") c))) (jolt-invoke _a$2856 _a$2857 _a$2858)))) colls))) (jolt-invoke _a$2859 _a$2860 _a$2861)))))
  (mark-macro! "clojure.core" "lazy-cat"))
(guard (e (#t #f))
  (def-var! "clojure.core" "not=" (letrec ((not= (case-lambda ((x) (let fnrec2862 ((x x)) #f)) ((x y) (let fnrec2863 ((x x) (y y)) (jolt-not (jolt= x y)))) ((x y . more) (let fnrec2864 ((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 fnrec2865 ((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 fnrec2866 ((coll coll)) (jolt-first (jolt-next coll)))))) second)))
(guard (e (#t #f))
  (def-var! "clojure.core" "peek" (letrec ((peek (lambda (coll) (let fnrec2867 ((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 fnrec2868 ((v v) (start start)) (jolt-invoke subvec v start (jolt-count v)))) ((v start end) (let fnrec2869 ((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 fnrec2870 ((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")) (jolt-invoke (var-deref "clojure.core" "long") x) 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 loop2871 ((i i) (acc acc)) (if (< i e) (let* ((_a$2872 (jolt-inc i)) (_a$2873 (jolt-conj acc (jolt-nth v i)))) (loop2871 _a$2872 _a$2873)) acc))))))))))) subvec)))
(guard (e (#t #f))
  (def-var! "clojure.core" "mapv" (letrec ((mapv (lambda (f . colls) (let fnrec2874 ((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 fnrec2875 ((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 fnrec1680 ((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 fnrec1681 ((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 fnrec1682 ((coll coll)) (jolt-first (jolt-first coll)))))) ffirst)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nfirst" (letrec ((nfirst (lambda (coll) (let fnrec1683 ((coll coll)) (jolt-next (jolt-first coll)))))) nfirst)))
(guard (e (#t #f))
  (def-var! "clojure.core" "fnext" (letrec ((fnext (lambda (coll) (let fnrec1684 ((coll coll)) (jolt-first (jolt-next coll)))))) fnext)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nnext" (letrec ((nnext (lambda (coll) (let fnrec1685 ((coll coll)) (jolt-next (jolt-next coll)))))) nnext)))
(guard (e (#t #f))
  (def-var! "clojure.core" "last" (letrec ((last (lambda (s) (let fnrec1686 ((s s)) (if (jolt-truthy? (jolt-next s)) (fnrec1686 (jolt-next s)) (jolt-first s)))))) last)))
(guard (e (#t #f))
  (def-var! "clojure.core" "butlast" (letrec ((butlast (lambda (s) (let fnrec1687 ((s s)) (let* ((ret (jolt-vector)) (s s)) (let loop1688 ((ret ret) (s s)) (if (jolt-truthy? (jolt-next s)) (let* ((_a$1689 (jolt-conj ret (jolt-first s))) (_a$1690 (jolt-next s))) (loop1688 _a$1689 _a$1690)) (jolt-seq ret)))))))) butlast)))
(guard (e (#t #f))
  (def-var! "clojure.core" "partition-by" (letrec ((partition-by (case-lambda ((f) (let fnrec1691 ((f f)) (lambda (rf) (let fnrec1692 ((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 fnrec1693 () (jolt-invoke rf))) ((result) (let fnrec1694 ((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 fnrec1695 ((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 fnrec1696 ((f f) (coll coll)) (let* ((step (letrec ((step (lambda (s) (let fnrec1697 ((s s)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec1698 () (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 (let* ((_a$1700 (var-deref "clojure.core" "take-while")) (_a$1701 (lambda (x) (let fnrec1699 ((x x)) (jolt= fv (jolt-invoke f x))))) (_a$1702 (jolt-rest s))) (jolt-invoke _a$1700 _a$1701 _a$1702))))) (jolt-cons run (jolt-invoke step (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec1703 () (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 fnrec1704 ((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 fnrec1705 ((x x)) x)))) identity)))
(guard (e (#t #f))
  (def-var! "clojure.core" "constantly" (letrec ((constantly (lambda (x) (let fnrec1706 ((x x)) (lambda args (let fnrec1707 ((args (list->cseq args))) x)))))) constantly)))
(guard (e (#t #f))
  (def-var! "clojure.core" "neg?" (letrec ((neg? (lambda (x) (let fnrec1708 ((x x)) (< x 0))))) neg?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bit-and" (letrec ((bit-and (case-lambda ((x y) (let fnrec1709 ((x x) (y y)) (jolt-invoke (var-deref "clojure.core" "__bit-and") x y))) ((x y . more) (let fnrec1710 ((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 fnrec1711 ((x x) (y y)) (jolt-invoke (var-deref "clojure.core" "__bit-or") x y))) ((x y . more) (let fnrec1712 ((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 fnrec1713 ((x x) (y y)) (jolt-invoke (var-deref "clojure.core" "__bit-xor") x y))) ((x y . more) (let fnrec1714 ((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 fnrec1715 ((x x) (y y)) (jolt-invoke (var-deref "clojure.core" "__bit-and-not") x y))) ((x y . more) (let fnrec1716 ((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 fnrec1717 ((xs (list->cseq xs))) (let* ((out "") (s (jolt-seq xs)) (first? #t)) (let loop1718 ((out out) (s s) (first? first?)) (if (jolt-truthy? s) (let* ((_a$1723 (let* ((_a$1719 (var-deref "clojure.core" "str")) (_a$1720 out) (_a$1721 (if (jolt-truthy? first?) "" " ")) (_a$1722 (jolt-invoke (var-deref "clojure.core" "__pr-str1") (jolt-first s)))) (jolt-invoke _a$1719 _a$1720 _a$1721 _a$1722))) (_a$1724 (jolt-next s)) (_a$1725 #f)) (loop1718 _a$1723 _a$1724 _a$1725)) out))))))) pr-str)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pr" (letrec ((pr (lambda xs (let fnrec1726 ((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 fnrec1727 ((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 fnrec1728 ((xs (list->cseq xs))) (begin (jolt-invoke (var-deref "clojure.core" "__write") (let* ((out "") (s (jolt-seq xs)) (first? #t)) (let loop1729 ((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)))) (let* ((_a$1730 (jolt-invoke (var-deref "clojure.core" "str") out (if (jolt-truthy? first?) "" " ") r)) (_a$1731 (jolt-next s)) (_a$1732 #f)) (loop1729 _a$1730 _a$1731 _a$1732))) out)))) jolt-nil))))) print)))
(guard (e (#t #f))
  (def-var! "clojure.core" "println" (letrec ((println (lambda xs (let fnrec1733 ((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 fnrec1734 ((coll coll)) (jolt-invoke (var-deref "clojure.core" "persistent!") (let* ((_a$1736 (lambda (counts x) (let fnrec1735 ((counts counts) (x x)) (jolt-invoke (var-deref "clojure.core" "assoc!") counts x (jolt-inc (jolt-get counts x 0)))))) (_a$1737 (jolt-invoke (var-deref "clojure.core" "transient") (jolt-hash-map))) (_a$1738 coll)) (jolt-reduce _a$1736 _a$1737 _a$1738))))))) frequencies)))
(guard (e (#t #f))
  (def-var! "clojure.core" "group-by" (letrec ((group-by (lambda (f coll) (let fnrec1739 ((f f) (coll coll)) (let* ((tm (jolt-invoke (var-deref "clojure.core" "transient") (jolt-hash-map))) (ks (let* ((_a$1741 (lambda (ks x) (let fnrec1740 ((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))))))) (_a$1742 (jolt-invoke (var-deref "clojure.core" "transient") (jolt-vector))) (_a$1743 coll)) (jolt-reduce _a$1741 _a$1742 _a$1743)))) (begin (let* ((_a$1745 (lambda (_ k) (let fnrec1744 ((_ _) (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))))))) (_a$1746 jolt-nil) (_a$1747 (jolt-invoke (var-deref "clojure.core" "persistent!") ks))) (jolt-reduce _a$1745 _a$1746 _a$1747)) (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 fnrec1748 ((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 fnrec1749 ((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 fnrec1750 ((k k) (x x)) x)) ((k x y) (let fnrec1751 ((k k) (x x) (y y)) (if (let* ((_a$1752 (jolt-invoke k x)) (_a$1753 (jolt-invoke k y))) (> _a$1752 _a$1753)) x y))) ((k x y . more) (let fnrec1754 ((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 loop1755 ((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) (loop1755 w kw (jolt-next more)) (loop1755 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 fnrec1756 ((k k) (x x)) x)) ((k x y) (let fnrec1757 ((k k) (x x) (y y)) (if (let* ((_a$1758 (jolt-invoke k x)) (_a$1759 (jolt-invoke k y))) (< _a$1758 _a$1759)) x y))) ((k x y . more) (let fnrec1760 ((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 loop1761 ((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) (loop1761 w kw (jolt-next more)) (loop1761 v kv (jolt-next more)))) v))))))))) min-key)))
(guard (e (#t #f))
  (def-var! "clojure.core" "juxt" (letrec ((juxt (lambda fs (let fnrec1762 ((fs (list->cseq fs))) (lambda args (let fnrec1763 ((args (list->cseq args))) (jolt-invoke (var-deref "clojure.core" "mapv") (lambda (f) (let fnrec1764 ((f f)) (jolt-apply f args))) fs))))))) juxt)))
(guard (e (#t #f))
  (def-var! "clojure.core" "every-pred" (letrec ((every-pred (lambda preds (let fnrec1765 ((preds (list->cseq preds))) (lambda xs (let fnrec1766 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (p) (let fnrec1767 ((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 fnrec1768 ((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 (fnrec1768 pred (jolt-next s))))) jolt-nil)))))) some)))
(guard (e (#t #f))
  (def-var! "clojure.core" "some-fn" (letrec ((some-fn (lambda preds (let fnrec1769 ((preds (list->cseq preds))) (lambda xs (let fnrec1770 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "some") (lambda (p) (let fnrec1771 ((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 fnrec1772 ((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 fnrec1773 ((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 fnrec1774 ((n n) (coll coll)) (let* ((_o$1775 (jolt-take n coll)) (_o$1776 (jolt-drop n coll))) (jolt-vector _o$1775 _o$1776)))))) split-at)))
(guard (e (#t #f))
  (def-var! "clojure.core" "split-with" (letrec ((split-with (lambda (pred coll) (let fnrec1777 ((pred pred) (coll coll)) (let* ((_o$1778 (jolt-invoke (var-deref "clojure.core" "take-while") pred coll)) (_o$1779 (jolt-invoke (var-deref "clojure.core" "drop-while") pred coll))) (jolt-vector _o$1778 _o$1779)))))) split-with)))
(guard (e (#t #f))
  (def-var! "clojure.core" "qualified-keyword?" (letrec ((qualified-keyword? (lambda (x) (let fnrec1780 ((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 fnrec1781 ((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 fnrec1782 ((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 fnrec1783 ((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 fnrec1784 ((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 fnrec1785 ((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 fnrec1786 ((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 fnrec1787 ((x x)) #f)))) ratio?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "decimal?" (letrec ((decimal? (lambda (x) (let fnrec1788 ((x x)) #f)))) decimal?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "class?" (letrec ((class? (lambda (x) (let fnrec1789 ((x x)) #f)))) class?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "rational?" (letrec ((rational? (lambda (x) (let fnrec1790 ((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 fnrec1791 ((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 fnrec1792 ((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 fnrec1793 ((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 fnrec1794 ((n n) (x x)) (let* ((_a$1796 (lambda (_) (let fnrec1795 ((_ _)) x))) (_a$1797 (jolt-range n))) (jolt-map _a$1796 _a$1797)))))) replicate)))
(guard (e (#t #f))
  (def-var! "clojure.core" "take-last" (letrec ((take-last (lambda (n coll) (let fnrec1798 ((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 fnrec1799 ((coll coll)) (jolt-invoke drop-last 1 coll))) ((n coll) (let fnrec1800 ((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 fnrec1801 ((x x)) #t)) ((x y) (let fnrec1802 ((x x) (y y)) (jolt-not (jolt= x y)))) ((x y . more) (let fnrec1803 ((x x) (y y) (more (list->cseq more))) (if (jolt-not (jolt= x y)) (let* ((s (let* ((_o$1805 x) (_o$1806 y)) (jolt-hash-set _o$1805 _o$1806))) (xs more)) (let loop1804 ((s s) (xs xs)) (if (jolt-truthy? xs) (let* ((x (jolt-first xs))) (if (jolt-contains? s x) #f (let* ((_a$1807 (jolt-conj s x)) (_a$1808 (jolt-next xs))) (loop1804 _a$1807 _a$1808)))) #t))) #f)))))) distinct?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "replace" (letrec ((replace (lambda (smap coll) (let fnrec1809 ((smap smap) (coll coll)) (jolt-invoke (var-deref "clojure.core" "mapv") (lambda (x) (let fnrec1810 ((x x)) (jolt-get smap x x))) coll))))) replace)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nthnext" (letrec ((nthnext (lambda (coll n) (let fnrec1811 ((coll coll) (n n)) (let* ((n n) (xs (jolt-seq coll))) (let loop1812 ((n n) (xs xs)) (if (jolt-truthy? (let* ((and__13__auto xs)) (if (jolt-truthy? and__13__auto) (jolt-pos? n) and__13__auto))) (let* ((_a$1813 (jolt-dec n)) (_a$1814 (jolt-next xs))) (loop1812 _a$1813 _a$1814)) xs))))))) nthnext)))
(guard (e (#t #f))
  (def-var! "clojure.core" "bounded-count" (letrec ((bounded-count (lambda (n coll) (let fnrec1815 ((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 loop1816 ((i i) (s s)) (if (jolt-truthy? (let* ((and__13__auto s)) (if (jolt-truthy? and__13__auto) (< i n) and__13__auto))) (let* ((_a$1817 (jolt-inc i)) (_a$1818 (jolt-next s))) (loop1816 _a$1817 _a$1818)) i)))))))) bounded-count)))
(guard (e (#t #f))
  (def-var! "clojure.core" "run!" (letrec ((run! (lambda (proc coll) (let fnrec1819 ((proc proc) (coll coll)) (begin (jolt-reduce (lambda (_ x) (let fnrec1820 ((_ _) (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 fnrec1821 ((f f)) (jolt-invoke completing f jolt-identity))) ((f cf) (let fnrec1822 ((f f) (cf cf)) (case-lambda (() (let fnrec1823 () (jolt-invoke f))) ((x) (let fnrec1824 ((x x)) (jolt-invoke cf x))) ((x y) (let fnrec1825 ((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 fnrec1826 ((coll coll) (n n)) (if (jolt-pos? n) (let* ((or__14__auto (let* ((n n) (xs coll)) (let loop1827 ((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) (let* ((_a$1828 (jolt-dec n)) (_a$1829 (jolt-rest s))) (loop1827 _a$1828 _a$1829)) (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 fnrec1830 ((x x)) (if (jolt-neg? x) (- 0 x) x))))) abs)))
(guard (e (#t #f))
  (def-var! "clojure.core" "NaN?" (letrec ((NaN? (lambda (x) (let fnrec1831 ((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 fnrec1832 ((x x)) #f)))) object?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "undefined?" (letrec ((undefined? (lambda (x) (let fnrec1833 ((x x)) #f)))) undefined?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "keyword-identical?" (letrec ((keyword-identical? (lambda (a b) (let fnrec1834 ((a a) (b b)) (jolt= a b))))) keyword-identical?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "any?" (letrec ((any? (lambda (x) (let fnrec1835 ((x x)) #t)))) any?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "printf" (letrec ((printf (lambda (fmt . args) (let fnrec1836 ((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 fnrec1837 ((vars (list->cseq vars))) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (v) (let fnrec1838 ((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 fnrec1839 ((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 fnrec1840 ((f f)) (let* ((bs (jolt-invoke (var-deref "clojure.core" "get-thread-bindings")))) (lambda args (let fnrec1841 ((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 fnrec1842 ((vars (list->cseq vars))) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (v) (let fnrec1843 ((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 fnrec1844 ((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 fnrec1845 ((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 fnrec1846 () (let* ((_o$1847 (keyword #f "parents")) (_o$1848 (jolt-hash-map)) (_o$1849 (keyword #f "descendants")) (_o$1850 (jolt-hash-map)) (_o$1851 (keyword #f "ancestors")) (_o$1852 (jolt-hash-map))) (jolt-hash-map _o$1847 _o$1848 _o$1849 _o$1850 _o$1851 _o$1852)))))) 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 fnrec1853 ((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 fnrec1854 ((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? (let* ((_a$1855 (jolt-get h (keyword #f "ancestors"))) (_a$1856 child) (_a$1857 (jolt-hash-set))) (jolt-get _a$1855 _a$1856 _a$1857)) 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 (let* ((_a$1858 (jolt-count parent)) (_a$1859 (jolt-count child))) (jolt= _a$1858 _a$1859)))) (if (jolt-truthy? and__13__auto) (let* ((ret #t) (i 0)) (let loop1860 ((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 (let* ((_a$1865 (let* ((_a$1861 isa?) (_a$1862 h) (_a$1863 (jolt-nth child i)) (_a$1864 (jolt-nth parent i))) (jolt-invoke _a$1861 _a$1862 _a$1863 _a$1864))) (_a$1866 (jolt-inc i))) (loop1860 _a$1865 _a$1866))))) 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 fnrec1867 ((tag tag)) (jolt-invoke parents (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "global-hierarchy")) tag))) ((h tag) (let fnrec1868 ((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 fnrec1869 ((tag tag)) (jolt-invoke ancestors (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "global-hierarchy")) tag))) ((h tag) (let fnrec1870 ((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 fnrec1871 ((tag tag)) (jolt-invoke descendants (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "global-hierarchy")) tag))) ((h tag) (let fnrec1872 ((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 fnrec1873 ((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 fnrec1874 ((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 fnrec1875 ((m m) (source source) (sources sources) (target target) (targets targets)) (let* ((_a$1880 (lambda (ret k) (let fnrec1876 ((ret ret) (k k)) (jolt-assoc ret k (let* ((_a$1877 jolt-conj) (_a$1878 (jolt-get targets k (jolt-hash-set))) (_a$1879 (jolt-cons target (jolt-get targets target)))) (jolt-reduce _a$1877 _a$1878 _a$1879)))))) (_a$1881 m) (_a$1882 (jolt-cons source (jolt-get sources source)))) (jolt-reduce _a$1880 _a$1881 _a$1882)))))) (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$1883 (keyword #f "parents")) (_o$1884 (jolt-assoc tp tag (jolt-conj (jolt-get tp tag (jolt-hash-set)) parent))) (_o$1885 (keyword #f "ancestors")) (_o$1886 (jolt-invoke tf ta tag td parent ta)) (_o$1887 (keyword #f "descendants")) (_o$1888 (jolt-invoke tf td parent ta tag td))) (jolt-hash-map _o$1883 _o$1884 _o$1885 _o$1886 _o$1887 _o$1888))) 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 fnrec1889 ((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 fnrec1890 ((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 (let* ((_a$1897 (var-deref "clojure.core" "mapcat")) (_a$1898 (lambda (e) (let fnrec1891 ((e e)) (let* ((_a$1895 (jolt-invoke (var-deref "clojure.core" "key") e)) (_a$1896 (let* ((_a$1892 (var-deref "clojure.core" "interpose")) (_a$1893 (jolt-invoke (var-deref "clojure.core" "key") e)) (_a$1894 (jolt-invoke (var-deref "clojure.core" "val") e))) (jolt-invoke _a$1892 _a$1893 _a$1894)))) (jolt-cons _a$1895 _a$1896))))) (_a$1899 (jolt-seq new-parents))) (jolt-invoke _a$1897 _a$1898 _a$1899)))) (if (jolt-contains? (jolt-get parent-map tag (jolt-hash-set)) parent) (let* ((_a$1901 (lambda (p G__27) (let fnrec1900 ((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))))) (_a$1902 (jolt-invoke (var-deref "clojure.core" "make-hierarchy"))) (_a$1903 (jolt-invoke (var-deref "clojure.core" "partition") 2 deriv-seq))) (jolt-reduce _a$1901 _a$1902 _a$1903)) h))))))) underive)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sequential?" (letrec ((sequential? (lambda (x) (let fnrec1904 ((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 fnrec1905 ((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 fnrec1906 ((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 fnrec1907 ((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 fnrec1908 ((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 fnrec1909 ((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 fnrec1910 ((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 fnrec1911 ((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 fnrec1912 ((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 fnrec1913 ((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 fnrec1914 ((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 fnrec1915 ((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 fnrec1916 ((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 fnrec1917 ((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 fnrec1918 ((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 fnrec1919 ((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 fnrec1920 ((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 fnrec1921 ((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 fnrec1922 ((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 fnrec1923 ((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 fnrec1924 ((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 fnrec1925 ((coll coll)) (let* ((s (jolt-seq coll))) (let loop1926 ((s s)) (if (jolt-truthy? s) (loop1926 (jolt-next s)) jolt-nil))))) ((n coll) (let fnrec1927 ((n n) (coll coll)) (let* ((n n) (s (jolt-seq coll))) (let loop1928 ((n n) (s s)) (if (jolt-truthy? (let* ((and__13__auto s)) (if (jolt-truthy? and__13__auto) (jolt-pos? n) and__13__auto))) (let* ((_a$1929 (jolt-dec n)) (_a$1930 (jolt-next s))) (loop1928 _a$1929 _a$1930)) jolt-nil)))))))) dorun)))
(guard (e (#t #f))
  (def-var! "clojure.core" "doall" (letrec ((doall (case-lambda ((coll) (let fnrec1931 ((coll coll)) (begin (jolt-invoke (var-deref "clojure.core" "dorun") coll) coll))) ((n coll) (let fnrec1932 ((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 fnrec1933 ((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")) (let* ((_a$1934 (jolt-first arglist)) (_a$1935 (jolt-invoke spread (jolt-next arglist)))) (jolt-cons _a$1934 _a$1935)) jolt-nil))))))) spread)))
(guard (e (#t #f))
  (def-var! "clojure.core" "list*" (letrec ((list* (case-lambda ((args) (let fnrec1936 ((args args)) (jolt-seq args))) ((a args) (let fnrec1937 ((a a) (args args)) (jolt-cons a args))) ((a b args) (let fnrec1938 ((a a) (b b) (args args)) (jolt-cons a (jolt-cons b args)))) ((a b c args) (let fnrec1939 ((a a) (b b) (c c) (args args)) (jolt-cons a (jolt-cons b (jolt-cons c args))))) ((a b c d . more) (let fnrec1940 ((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 fnrec1941 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "__with-out-str") (lambda () (let fnrec1942 () (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 fnrec1943 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "__with-out-str") (lambda () (let fnrec1944 () (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 fnrec1945 ((xs (list->cseq xs))) (jolt-invoke (var-deref "clojure.core" "__with-out-str") (lambda () (let fnrec1946 () (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 fnrec1947 ((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 fnrec1948 ((coll coll)) (begin (if (jolt-not (jolt-invoke (var-deref "clojure.core" "coll?") coll)) (jolt-throw (let* ((_a$1949 (jolt-invoke (var-deref "clojure.core" "str") "shuffle requires a collection, got: " coll)) (_a$1950 (jolt-hash-map))) (jolt-ex-info _a$1949 _a$1950))) jolt-nil) (let* ((v (jolt-invoke (var-deref "clojure.core" "vec") coll)) (i (jolt-dec (jolt-count v)))) (let loop1951 ((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))) (let* ((_a$1952 (jolt-assoc (jolt-assoc v i (jolt-nth v j)) j t)) (_a$1953 (jolt-dec i))) (loop1951 _a$1952 _a$1953))) v)))))))) shuffle)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sort-by" (letrec ((sort-by (case-lambda ((keyfn coll) (let fnrec1954 ((keyfn keyfn) (coll coll)) (jolt-invoke sort-by keyfn (var-deref "clojure.core" "compare") coll))) ((keyfn comp coll) (let fnrec1955 ((keyfn keyfn) (comp comp) (coll coll)) (jolt-invoke (var-deref "clojure.core" "sort") (lambda (x y) (let fnrec1956 ((x x) (y y)) (let* ((_a$1957 comp) (_a$1958 (jolt-invoke keyfn x)) (_a$1959 (jolt-invoke keyfn y))) (jolt-invoke _a$1957 _a$1958 _a$1959)))) coll)))))) sort-by)))
(guard (e (#t #f))
  (def-var! "clojure.core" "parse-uuid" (letrec ((parse-uuid (lambda (s) (let fnrec1960 ((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 fnrec1961 () (let* ((hx4 (lambda () (let fnrec1962 () (jolt-invoke (var-deref "clojure.core" "format") "%04x" (jolt-invoke (var-deref "clojure.core" "rand-int") 65536))))) (hx3 (lambda () (let fnrec1963 () (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") (let* ((_a$1964 (var-deref "clojure.core" "str")) (_a$1965 (jolt-invoke hx4)) (_a$1966 (jolt-invoke hx4)) (_a$1967 "-") (_a$1968 (jolt-invoke hx4)) (_a$1969 "-4") (_a$1970 (jolt-invoke hx3)) (_a$1971 "-") (_a$1972 (jolt-invoke (var-deref "clojure.core" "format") "%x" (+ 8 (jolt-invoke (var-deref "clojure.core" "rand-int") 4)))) (_a$1973 (jolt-invoke hx3)) (_a$1974 "-") (_a$1975 (jolt-invoke hx4)) (_a$1976 (jolt-invoke hx4)) (_a$1977 (jolt-invoke hx4))) (jolt-invoke _a$1964 _a$1965 _a$1966 _a$1967 _a$1968 _a$1969 _a$1970 _a$1971 _a$1972 _a$1973 _a$1974 _a$1975 _a$1976 _a$1977)))))))) random-uuid)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "char-escape-strings" (let* ((_o$1978 (integer->char 10)) (_o$1979 "\\n") (_o$1980 (integer->char 9)) (_o$1981 "\\t") (_o$1982 (integer->char 13)) (_o$1983 "\\r") (_o$1984 (integer->char 12)) (_o$1985 "\\f") (_o$1986 (integer->char 8)) (_o$1987 "\\b") (_o$1988 (integer->char 34)) (_o$1989 "\\\"") (_o$1990 (integer->char 92)) (_o$1991 "\\\\")) (jolt-hash-map _o$1978 _o$1979 _o$1980 _o$1981 _o$1982 _o$1983 _o$1984 _o$1985 _o$1986 _o$1987 _o$1988 _o$1989 _o$1990 _o$1991)) (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 fnrec1992 ((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$1993 (integer->char 10)) (_o$1994 "newline") (_o$1995 (integer->char 9)) (_o$1996 "tab") (_o$1997 (integer->char 13)) (_o$1998 "return") (_o$1999 (integer->char 12)) (_o$2000 "formfeed") (_o$2001 (integer->char 8)) (_o$2002 "backspace") (_o$2003 (integer->char 32)) (_o$2004 "space")) (jolt-hash-map _o$1993 _o$1994 _o$1995 _o$1996 _o$1997 _o$1998 _o$1999 _o$2000 _o$2001 _o$2002 _o$2003 _o$2004)) (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 fnrec2005 ((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 fnrec2006 ((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 fnrec2007 ((prob prob)) (jolt-invoke jolt-filter (lambda (_) (let fnrec2008 ((_ _)) (< (jolt-invoke (var-deref "clojure.core" "rand")) prob)))))) ((prob coll) (let fnrec2009 ((prob prob) (coll coll)) (jolt-filter (lambda (_) (let fnrec2010 ((_ _)) (< (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 fnrec2011 ((pred pred)) (lambda (a b) (let fnrec2012 ((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 fnrec2013 ((f f) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec2014 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((s (jolt-seq coll))) (if (jolt-truthy? s) (let* ((_a$2015 reductions) (_a$2016 f) (_a$2017 (jolt-first s)) (_a$2018 (jolt-rest s))) (jolt-invoke _a$2015 _a$2016 _a$2017 _a$2018)) (jolt-list (jolt-invoke f)))))))))) ((f init coll) (let fnrec2019 ((f f) (init init) (coll coll)) (jolt-cons init (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec2020 () (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* ((_a$2021 reductions) (_a$2022 f) (_a$2023 (jolt-invoke f init (jolt-first s))) (_a$2024 (jolt-rest s))) (jolt-invoke _a$2021 _a$2022 _a$2023 _a$2024))) jolt-nil)))))))))))) reductions)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-seq" (letrec ((tree-seq (lambda (branch? children root) (let fnrec2025 ((branch? branch?) (children children) (root root)) (let* ((walk (letrec ((walk (lambda (node) (let fnrec2026 ((node node)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec2027 () (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 fnrec2028 ((root root)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "__file?") root)) (let* ((_a$2031 (var-deref "clojure.core" "tree-seq")) (_a$2032 (lambda (f) (let fnrec2029 ((f f)) (jolt-host-call "isDirectory" f)))) (_a$2033 (lambda (f) (let fnrec2030 ((f f)) (jolt-seq (jolt-host-call "listFiles" f))))) (_a$2034 root)) (jolt-invoke _a$2031 _a$2032 _a$2033 _a$2034)) (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 fnrec2035 ((coll coll)) (let* ((_a$2036 (jolt-invoke (var-deref "clojure.core" "complement") (var-deref "clojure.core" "sequential?"))) (_a$2037 (jolt-rest (jolt-invoke (var-deref "clojure.core" "tree-seq") (var-deref "clojure.core" "sequential?") jolt-seq coll)))) (jolt-filter _a$2036 _a$2037)))))) flatten)))
(guard (e (#t #f))
  (def-var! "clojure.core" "xml-seq" (letrec ((xml-seq (lambda (root) (let fnrec2038 ((root root)) (let* ((_a$2039 (var-deref "clojure.core" "tree-seq")) (_a$2040 (jolt-invoke (var-deref "clojure.core" "complement") (var-deref "clojure.core" "string?"))) (_a$2041 (jolt-invoke (var-deref "clojure.core" "comp") jolt-seq (keyword #f "content"))) (_a$2042 root)) (jolt-invoke _a$2039 _a$2040 _a$2041 _a$2042)))))) xml-seq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "interleave" (letrec ((interleave (case-lambda (() (let fnrec2043 () (jolt-list ))) ((c1) (let fnrec2044 ((c1 c1)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec2045 () (jolt-invoke (var-deref "clojure.core" "coll->cells") c1)))))) ((c1 c2) (let fnrec2046 ((c1 c1) (c2 c2)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec2047 () (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))) (let* ((_a$2053 (jolt-first s1)) (_a$2054 (let* ((_a$2051 (jolt-first s2)) (_a$2052 (let* ((_a$2048 interleave) (_a$2049 (jolt-rest s1)) (_a$2050 (jolt-rest s2))) (jolt-invoke _a$2048 _a$2049 _a$2050)))) (jolt-cons _a$2051 _a$2052)))) (jolt-cons _a$2053 _a$2054)) jolt-nil)))))))) ((c1 c2 . cs) (let fnrec2055 ((c1 c1) (c2 c2) (cs (list->cseq cs))) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec2056 () (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)) (let* ((_a$2057 (jolt-map jolt-first ss)) (_a$2058 (jolt-apply interleave (jolt-map jolt-rest ss)))) (jolt-concat _a$2057 _a$2058)) jolt-nil))))))))))) interleave)))
(guard (e (#t #f))
  (def-var! "clojure.core" "rationalize" (letrec ((rationalize (lambda (x) (let fnrec2059 ((x x)) x)))) rationalize)))
(guard (e (#t #f))
  (def-var! "clojure.core" "dedupe" (letrec ((dedupe (case-lambda (() (let fnrec2060 () (lambda (rf) (let fnrec2061 ((rf rf)) (let* ((pv (jolt-invoke (var-deref "clojure.core" "volatile!") (let* ((_o$2062 #f) (_o$2063 jolt-nil)) (jolt-vector _o$2062 _o$2063))))) (case-lambda (() (let fnrec2064 () (jolt-invoke rf))) ((result) (let fnrec2065 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec2066 ((result result) (input input)) (let* ((G__29 (jolt-invoke (var-deref "clojure.core" "deref") pv)) (seen (jolt-nth G__29 0 jolt-nil)) (prior (jolt-nth G__29 1 jolt-nil))) (begin (jolt-invoke (var-deref "clojure.core" "vreset!") pv (let* ((_o$2067 #t) (_o$2068 input)) (jolt-vector _o$2067 _o$2068))) (if (jolt-truthy? (let* ((and__13__auto seen)) (if (jolt-truthy? and__13__auto) (jolt= prior input) and__13__auto))) result (jolt-invoke rf result input)))))))))))) ((coll) (let fnrec2069 ((coll coll)) (let* ((step (letrec ((step (lambda (s prev) (let fnrec2070 ((s s) (prev prev)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec2071 () (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 fnrec2072 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((_a$2076 (jolt-first s)) (_a$2077 (let* ((_a$2073 step) (_a$2074 (jolt-rest s)) (_a$2075 (jolt-first s))) (jolt-invoke _a$2073 _a$2074 _a$2075)))) (jolt-cons _a$2076 _a$2077)))))) (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 fnrec2078 ((s s)) (if (jolt-truthy? (jolt-next s)) (let* ((m (jolt-hash-map)) (xs (jolt-seq s))) (let loop2079 ((m m) (xs xs)) (if (jolt-truthy? xs) (if (jolt-truthy? (jolt-next xs)) (let* ((_a$2083 (let* ((_a$2080 m) (_a$2081 (jolt-first xs)) (_a$2082 (jolt-invoke (var-deref "clojure.core" "second") xs))) (jolt-assoc _a$2080 _a$2081 _a$2082))) (_a$2084 (jolt-invoke (var-deref "clojure.core" "nnext") xs))) (loop2079 _a$2083 _a$2084)) (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 fnrec2085 ((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 fnrec2086 ((s s)) (jolt-apply (var-deref "clojure.core" "str") (let* ((_a$2088 (lambda (c) (let fnrec2087 ((c c)) (if (jolt= c (integer->char 45)) (integer->char 95) c)))) (_a$2089 (jolt-seq (jolt-invoke (var-deref "clojure.core" "str") s)))) (jolt-map _a$2088 _a$2089))))))) namespace-munge)))
(guard (e (#t #f))
  (def-var! "clojure.core" "reduce-kv" (letrec ((reduce-kv (lambda (f init coll) (let fnrec2090 ((f f) (init init) (coll coll)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") coll)) (let* ((_a$2092 (lambda (acc i) (let fnrec2091 ((acc acc) (i i)) (jolt-invoke f acc i (jolt-nth coll i))))) (_a$2093 init) (_a$2094 (jolt-range (jolt-count coll)))) (jolt-reduce _a$2092 _a$2093 _a$2094)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") coll)) (let* ((_a$2096 (lambda (acc k) (let fnrec2095 ((acc acc) (k k)) (jolt-invoke f acc k (jolt-get coll k))))) (_a$2097 init) (_a$2098 (jolt-keys coll))) (jolt-reduce _a$2096 _a$2097 _a$2098)) (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 fnrec2099 ((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 fnrec2100 ((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 fnrec2101 ((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 fnrec2102 ((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 fnrec2103 ((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 fnrec2104 ((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 fnrec2105 ((m m) (f f)) (let* ((_a$2107 (var-deref "clojure.core" "reduce-kv")) (_a$2108 (lambda (acc k v) (let fnrec2106 ((acc acc) (k k) (v v)) (jolt-assoc acc (jolt-invoke f k) v)))) (_a$2109 (jolt-hash-map )) (_a$2110 m)) (jolt-invoke _a$2107 _a$2108 _a$2109 _a$2110)))))) update-keys)))
(guard (e (#t #f))
  (def-var! "clojure.core" "update-vals" (letrec ((update-vals (lambda (m f) (let fnrec2111 ((m m) (f f)) (let* ((_a$2113 (var-deref "clojure.core" "reduce-kv")) (_a$2114 (lambda (acc k v) (let fnrec2112 ((acc acc) (k k) (v v)) (jolt-assoc acc k (jolt-invoke f v))))) (_a$2115 (jolt-hash-map )) (_a$2116 m)) (jolt-invoke _a$2113 _a$2114 _a$2115 _a$2116)))))) update-vals)))
(guard (e (#t #f))
  (def-var! "clojure.core" "partitionv" (letrec ((partitionv (case-lambda ((n coll) (let fnrec2117 ((n n) (coll coll)) (jolt-map (var-deref "clojure.core" "vec") (jolt-invoke (var-deref "clojure.core" "partition") n coll)))) ((n step coll) (let fnrec2118 ((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 fnrec2119 ((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 fnrec2120 ((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 fnrec2121 ((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 fnrec2122 ((n n) (coll coll)) (let* ((_o$2123 (jolt-invoke (var-deref "clojure.core" "vec") (jolt-take n coll))) (_o$2124 (jolt-drop n coll))) (jolt-vector _o$2123 _o$2124)))))) splitv-at)))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-redefs-fn" (letrec ((with-redefs-fn (lambda (binding-map func) (let fnrec2125 ((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 fnrec2126 ((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 loop2127 ((i i)) (if (< i (jolt-count vars)) (begin (let* ((_a$2128 (var-deref "clojure.core" "var-set")) (_a$2129 (jolt-nth vars i)) (_a$2130 (jolt-nth saved i))) (jolt-invoke _a$2128 _a$2129 _a$2130)) (loop2127 (jolt-inc i))) jolt-nil))))))))))) with-redefs-fn)))
(guard (e (#t #f))
  (def-var! "clojure.core" "chunked-seq?" (letrec ((chunked-seq? (lambda (x) (let fnrec2131 ((x x)) #f)))) chunked-seq?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "swap-vals!" (letrec ((swap-vals! (lambda (a f . args) (let fnrec2132 ((a a) (f f) (args (list->cseq args))) (let* ((old (jolt-invoke (var-deref "clojure.core" "deref") a))) (let* ((_o$2133 old) (_o$2134 (jolt-apply (var-deref "clojure.core" "swap!") a f args))) (jolt-vector _o$2133 _o$2134))))))) swap-vals!)))
(guard (e (#t #f))
  (def-var! "clojure.core" "reset-vals!" (letrec ((reset-vals! (lambda (a newval) (let fnrec2135 ((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$2136 old) (_o$2137 newval)) (jolt-vector _o$2136 _o$2137)))))))) reset-vals!)))
(guard (e (#t #f))
  (def-var! "clojure.core" "compare-and-set!" (letrec ((compare-and-set! (lambda (a oldval newval) (let fnrec2138 ((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 fnrec2139 ((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 fnrec2140 ((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 fnrec2141 ((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 fnrec2142 ((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 fnrec2143 ((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 fnrec2144 ((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 fnrec2145 ((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 fnrec2146 ((arr arr) (idxs (list->cseq idxs))) (jolt-reduce (lambda (v i) (let fnrec2147 ((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 fnrec2148 ((arr arr)) (jolt-count arr))))) alength)))
(guard (e (#t #f))
  (def-var! "clojure.core" "aset" (letrec ((aset (lambda (arr . idxs+val) (let fnrec2149 ((arr arr) (idxs+val (list->cseq idxs+val))) (let* ((n (jolt-count idxs+val)) (val (jolt-nth idxs+val (jolt-dec n))) (target (let* ((_a$2151 (lambda (t k) (let fnrec2150 ((t t) (k k)) (jolt-nth t k)))) (_a$2152 arr) (_a$2153 (jolt-take (- n 2) idxs+val))) (jolt-reduce _a$2151 _a$2152 _a$2153)))) (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 fnrec2154 ((f f)) (lambda args (let fnrec2155 ((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 fnrec2156 ((f f) (x x)) (lambda (a . args) (let fnrec2157 ((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 fnrec2158 ((f f) (x x) (y y)) (lambda (a b . args) (let fnrec2159 ((a a) (b b) (args (list->cseq args))) (let* ((_a$2160 f) (_a$2161 (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") a)) x a)) (_a$2162 (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") b)) y b)) (_a$2163 args)) (jolt-apply _a$2160 _a$2161 _a$2162 _a$2163)))))) ((f x y z) (let fnrec2164 ((f f) (x x) (y y) (z z)) (lambda (a b c . args) (let fnrec2165 ((a a) (b b) (c c) (args (list->cseq args))) (let* ((_a$2166 f) (_a$2167 (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") a)) x a)) (_a$2168 (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") b)) y b)) (_a$2169 (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") c)) z c)) (_a$2170 args)) (jolt-apply _a$2166 _a$2167 _a$2168 _a$2169 _a$2170))))))))) fnil)))
(guard (e (#t #f))
  (def-var! "clojure.core" "clojure-version" (letrec ((clojure-version (lambda () (let fnrec2171 () "1.11.0-jolt")))) clojure-version)))
(guard (e (#t #f))
  (def-var! "clojure.core" "numerator" (letrec ((numerator (lambda (x) (let fnrec2172 ((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 fnrec2173 ((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 fnrec2174 ((x x)) (jolt-hash-set))))) supers)))
(guard (e (#t #f))
  (def-var! "clojure.core" "munge" (letrec ((munge (lambda (s) (let fnrec2175 ((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 fnrec2176 ((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 fnrec2177 ((m m) (k k)) (if (jolt-contains? m k) (jolt-first (let* ((_o$2178 k) (_o$2179 (jolt-get m k))) (jolt-hash-map _o$2178 _o$2179))) jolt-nil))))) find)))
(guard (e (#t #f))
  (def-var! "clojure.core" "true?" (letrec ((true? (lambda (x) (let fnrec2180 ((x x)) (jolt= #t x))))) true?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "false?" (letrec ((false? (lambda (x) (let fnrec2181 ((x x)) (jolt= #f x))))) false?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "select-keys" (letrec ((select-keys (lambda (map keyseq) (let fnrec2182 ((map map) (keyseq keyseq)) (let* ((_a$2184 (lambda (m k) (let fnrec2183 ((m m) (k k)) (if (jolt-contains? map k) (jolt-assoc m k (jolt-get map k)) m)))) (_a$2185 (jolt-hash-map )) (_a$2186 keyseq)) (jolt-reduce _a$2184 _a$2185 _a$2186)))))) select-keys)))
(guard (e (#t #f))
  (def-var! "clojure.core" "zipmap" (letrec ((zipmap (lambda (keys vals) (let fnrec2187 ((keys keys) (vals vals)) (let* ((m (jolt-hash-map )) (ks (jolt-seq keys)) (vs (jolt-seq vals))) (let loop2188 ((m m) (ks ks) (vs vs)) (if (jolt-truthy? (let* ((and__13__auto ks)) (if (jolt-truthy? and__13__auto) vs and__13__auto))) (let* ((_a$2192 (let* ((_a$2189 m) (_a$2190 (jolt-first ks)) (_a$2191 (jolt-first vs))) (jolt-assoc _a$2189 _a$2190 _a$2191))) (_a$2193 (jolt-next ks)) (_a$2194 (jolt-next vs))) (loop2188 _a$2192 _a$2193 _a$2194)) m))))))) zipmap)))
(guard (e (#t #f))
  (def-var! "clojure.core" "merge" (letrec ((merge (lambda maps (let fnrec2195 ((maps (list->cseq maps))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "some") jolt-identity maps)) (jolt-reduce (lambda (acc m) (let fnrec2196 ((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 fnrec2197 ((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 fnrec2198 ((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 fnrec2199 ((m1 m1) (m2 m2)) (let* ((_a$2200 merge-entry) (_a$2201 (let* ((or__14__auto m1)) (if (jolt-truthy? or__14__auto) or__14__auto (jolt-hash-map )))) (_a$2202 (jolt-seq m2))) (jolt-reduce _a$2200 _a$2201 _a$2202)))))) (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 fnrec2203 ((m m) (ks ks)) (jolt-reduce jolt-get m ks))) ((m ks not-found) (let fnrec2204 ((m m) (ks ks) (not-found not-found)) (let* ((sentinel (jolt-hash-map ))) (let* ((m m) (ks (jolt-seq ks))) (let loop2205 ((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 (loop2205 nxt (jolt-next ks)))) m))))))))) get-in)))
(guard (e (#t #f))
  (def-var! "clojure.core" "memoize" (letrec ((memoize (lambda (f) (let fnrec2206 ((f f)) (let* ((mem (jolt-invoke (var-deref "clojure.core" "atom") (jolt-hash-map )))) (lambda args (let fnrec2207 ((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 fnrec2208 ((f f)) f)) ((f a) (let fnrec2209 ((f f) (a a)) (lambda args (let fnrec2210 ((args (list->cseq args))) (jolt-apply f a args))))) ((f a b) (let fnrec2211 ((f f) (a a) (b b)) (lambda args (let fnrec2212 ((args (list->cseq args))) (jolt-apply f a b args))))) ((f a b c) (let fnrec2213 ((f f) (a a) (b b) (c c)) (lambda args (let fnrec2214 ((args (list->cseq args))) (jolt-apply f a b c args))))) ((f a b c . more) (let fnrec2215 ((f f) (a a) (b b) (c c) (more (list->cseq more))) (lambda args (let fnrec2216 ((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 fnrec2217 ((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 fnrec2218 ((f f) (args (list->cseq args))) (jolt-invoke trampoline (lambda () (let fnrec2219 () (jolt-apply f args))))))))) trampoline)))
(guard (e (#t #f))
  (def-var! "clojure.core" "max" (letrec ((max (case-lambda ((x) (let fnrec2220 ((x x)) x)) ((x y) (let fnrec2221 ((x x) (y y)) (if (> x y) x y))) ((x y . more) (let fnrec2222 ((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 fnrec2223 ((x x)) x)) ((x y) (let fnrec2224 ((x x) (y y)) (if (< x y) x y))) ((x y . more) (let fnrec2225 ((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 fnrec2226 ((coll coll)) (jolt-reduce jolt-conj (jolt-list ) coll))))) reverse)))
(guard (e (#t #f))
  (def-var! "clojure.core" "empty" (letrec ((empty (lambda (coll) (let fnrec2227 ((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__30 v) (let fnrec2228 ((m m) (G__30 G__30) (v v)) (let* ((G__31 G__30) (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 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 fnrec2229 ((m m) (ks ks) (f f) (args (list->cseq args))) (let* ((up (letrec ((up (lambda (m ks f args) (let fnrec2230 ((m m) (ks ks) (f f) (args args)) (let* ((G__32 ks) (k (jolt-nth G__32 0 jolt-nil)) (ks (jolt-invoke (var-deref "clojure.core" "nthnext") G__32 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 fnrec2231 ((nm nm)) (jolt-invoke (var-deref "clojure.core" "keyword") nm))) ((ns nm) (let fnrec2232 ((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 fnrec2233 ((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 fnrec2234 () jolt-identity)) ((f) (let fnrec2235 ((f f)) f)) ((f g) (let fnrec2236 ((f f) (g g)) (case-lambda (() (let fnrec2237 () (jolt-invoke f (jolt-invoke g)))) ((x) (let fnrec2238 ((x x)) (jolt-invoke f (jolt-invoke g x)))) ((x y) (let fnrec2239 ((x x) (y y)) (jolt-invoke f (jolt-invoke g x y)))) ((x y z) (let fnrec2240 ((x x) (y y) (z z)) (jolt-invoke f (jolt-invoke g x y z)))) ((x y z . args) (let fnrec2241 ((x x) (y y) (z z) (args (list->cseq args))) (jolt-invoke f (jolt-apply g x y z args))))))) ((f g . fs) (let fnrec2242 ((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 fnrec2243 ((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 fnrec2244 ((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 fnrec2245 ((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 fnrec2246 ((x x) (y y)) (* x y))))) unchecked-multiply)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-negate" (letrec ((unchecked-negate (lambda (x) (let fnrec2247 ((x x)) (- x))))) unchecked-negate)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-inc" (letrec ((unchecked-inc (lambda (x) (let fnrec2248 ((x x)) (+ x 1))))) unchecked-inc)))
(guard (e (#t #f))
  (def-var! "clojure.core" "unchecked-dec" (letrec ((unchecked-dec (lambda (x) (let fnrec2249 ((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 fnrec2250 ((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 fnrec2251 ((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 fnrec2252 ((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 fnrec2253 ((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 fnrec2254 ((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 fnrec2255 ((x x)) #t)) ((x y) (let fnrec2256 ((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 fnrec2257 ((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 fnrec2258 ((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 fnrec2259 ((pred pred)) (jolt-invoke halt-when pred jolt-nil))) ((pred retf) (let fnrec2260 ((pred pred) (retf retf)) (lambda (rf) (let fnrec2261 ((rf rf)) (case-lambda (() (let fnrec2262 () (jolt-invoke rf))) ((result) (let fnrec2263 ((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 fnrec2264 ((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 fnrec2265 ((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 fnrec2266 () (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 fnrec2267 ((s s)) s)) ((n-or-q s) (let fnrec2268 ((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 fnrec2269 ((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 fnrec2270 ((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 fnrec2271 ((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 fnrec2272 ((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 fnrec2273 ((x x)) (jolt-invoke (var-deref "clojure.core" "char") (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 fnrec2274 ((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 fnrec2275 ((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 fnrec2276 ((xform xform) (f f) (coll coll)) (jolt-invoke transduce xform f (jolt-invoke f) coll))) ((xform f init coll) (let fnrec2277 ((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 fnrec2278 ((args (list->cseq args))) (let* ((coll (jolt-last args)) (xforms (jolt-invoke (var-deref "clojure.core" "butlast") args))) (if (jolt-truthy? xforms) (let* ((_a$2279 jolt-into) (_a$2280 (jolt-vector)) (_a$2281 (jolt-apply (var-deref "clojure.core" "comp") xforms)) (_a$2282 coll)) (jolt-invoke _a$2279 _a$2280 _a$2281 _a$2282)) (jolt-into (jolt-vector) coll))))))) eduction)))
(guard (e (#t #f))
  (def-var! "clojure.core" "->Eduction" (letrec ((->Eduction (lambda (xform coll) (let fnrec2283 ((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 fnrec2284 ((e e)) (jolt-seq e))))) enumeration-seq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "iterator-seq" (letrec ((iterator-seq (lambda (i) (let fnrec2285 ((i i)) (jolt-seq i))))) iterator-seq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "promise" (letrec ((promise (lambda () (let fnrec2286 () (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 fnrec2287 ((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 fnrec2288 ((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 fnrec2289 ((x x)) #f)))) uri?)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "special-syms" (let* ((_o$2290 (jolt-symbol #f "if")) (_o$2291 (jolt-symbol #f "do")) (_o$2292 (jolt-symbol #f "let*")) (_o$2293 (jolt-symbol #f "fn*")) (_o$2294 (jolt-symbol #f "quote")) (_o$2295 (jolt-symbol #f "var")) (_o$2296 (jolt-symbol #f "def")) (_o$2297 (jolt-symbol #f "loop*")) (_o$2298 (jolt-symbol #f "recur")) (_o$2299 (jolt-symbol #f "throw")) (_o$2300 (jolt-symbol #f "try")) (_o$2301 (jolt-symbol #f "catch")) (_o$2302 (jolt-symbol #f "finally")) (_o$2303 (jolt-symbol #f "new")) (_o$2304 (jolt-symbol #f "set!")) (_o$2305 (jolt-symbol #f ".")) (_o$2306 (jolt-symbol #f "monitor-enter")) (_o$2307 (jolt-symbol #f "monitor-exit"))) (jolt-hash-set _o$2290 _o$2291 _o$2292 _o$2293 _o$2294 _o$2295 _o$2296 _o$2297 _o$2298 _o$2299 _o$2300 _o$2301 _o$2302 _o$2303 _o$2304 _o$2305 _o$2306 _o$2307)) (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "special-symbol?" (letrec ((special-symbol? (lambda (s) (let fnrec2308 ((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 fnrec2309 ((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 fnrec2310 ((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 fnrec2311 ((p p) (mappings mappings)) p)))) init-proxy)))
(guard (e (#t #f))
  (def-var! "clojure.core" "update-proxy" (letrec ((update-proxy (lambda (p mappings) (let fnrec2312 ((p p) (mappings mappings)) p)))) update-proxy)))
(guard (e (#t #f))
  (def-var! "clojure.core" "proxy-super" (letrec ((proxy-super (lambda args (let fnrec2313 ((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 fnrec2314 ((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 fnrec2315 ((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 fnrec361 ((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 fnrec362 ((f f)) (lambda (a b) (let fnrec363 ((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 fnrec364 ((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 fnrec365 ((n n)) (jolt-nth n 1))))) nd-key)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nd-val" (letrec ((nd-val (lambda (n) (let fnrec366 ((n n)) (jolt-nth n 2))))) nd-val)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nd-left" (letrec ((nd-left (lambda (n) (let fnrec367 ((n n)) (jolt-nth n 3))))) nd-left)))
(guard (e (#t #f))
  (def-var! "clojure.core" "nd-right" (letrec ((nd-right (lambda (n) (let fnrec368 ((n n)) (jolt-nth n 4))))) nd-right)))
(guard (e (#t #f))
  (def-var! "clojure.core" "red?" (letrec ((red? (lambda (n) (let fnrec369 ((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 fnrec370 ((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 fnrec371 ((k k) (v v) (l l) (r r)) (let* ((_o$372 (keyword #f "red")) (_o$373 k) (_o$374 v) (_o$375 l) (_o$376 r)) (jolt-vector _o$372 _o$373 _o$374 _o$375 _o$376)))))) mk-red)))
(guard (e (#t #f))
  (def-var! "clojure.core" "mk-black" (letrec ((mk-black (lambda (k v l r) (let fnrec377 ((k k) (v v) (l l) (r r)) (let* ((_o$378 (keyword #f "black")) (_o$379 k) (_o$380 v) (_o$381 l) (_o$382 r)) (jolt-vector _o$378 _o$379 _o$380 _o$381 _o$382)))))) mk-black)))
(guard (e (#t #f))
  (def-var! "clojure.core" "blacken" (letrec ((blacken (lambda (n) (let fnrec383 ((n n)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") n)) (let* ((_o$384 (keyword #f "black")) (_o$385 (jolt-invoke (var-deref "clojure.core" "nd-key") n)) (_o$386 (jolt-invoke (var-deref "clojure.core" "nd-val") n)) (_o$387 (jolt-invoke (var-deref "clojure.core" "nd-left") n)) (_o$388 (jolt-invoke (var-deref "clojure.core" "nd-right") n))) (jolt-vector _o$384 _o$385 _o$386 _o$387 _o$388)) n))))) blacken)))
(guard (e (#t #f))
  (def-var! "clojure.core" "redden" (letrec ((redden (lambda (n) (let fnrec389 ((n n)) (let* ((_o$390 (keyword #f "red")) (_o$391 (jolt-invoke (var-deref "clojure.core" "nd-key") n)) (_o$392 (jolt-invoke (var-deref "clojure.core" "nd-val") n)) (_o$393 (jolt-invoke (var-deref "clojure.core" "nd-left") n)) (_o$394 (jolt-invoke (var-deref "clojure.core" "nd-right") n))) (jolt-vector _o$390 _o$391 _o$392 _o$393 _o$394)))))) redden)))
(guard (e (#t #f))
  (def-var! "clojure.core" "replace-node" (letrec ((replace-node (lambda (n k v l r) (let fnrec395 ((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 fnrec396 ((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)) (let* ((_a$402 (var-deref "clojure.core" "mk-red")) (_a$403 (jolt-invoke (var-deref "clojure.core" "nd-key") ins)) (_a$404 (jolt-invoke (var-deref "clojure.core" "nd-val") ins)) (_a$405 (jolt-invoke (var-deref "clojure.core" "blacken") l)) (_a$406 (let* ((_a$397 (var-deref "clojure.core" "mk-black")) (_a$398 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$399 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$400 r) (_a$401 (jolt-invoke (var-deref "clojure.core" "nd-right") parent))) (jolt-invoke _a$397 _a$398 _a$399 _a$400 _a$401)))) (jolt-invoke _a$402 _a$403 _a$404 _a$405 _a$406)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") r)) (let* ((_a$417 (var-deref "clojure.core" "mk-red")) (_a$418 (jolt-invoke (var-deref "clojure.core" "nd-key") r)) (_a$419 (jolt-invoke (var-deref "clojure.core" "nd-val") r)) (_a$420 (let* ((_a$407 (var-deref "clojure.core" "mk-black")) (_a$408 (jolt-invoke (var-deref "clojure.core" "nd-key") ins)) (_a$409 (jolt-invoke (var-deref "clojure.core" "nd-val") ins)) (_a$410 l) (_a$411 (jolt-invoke (var-deref "clojure.core" "nd-left") r))) (jolt-invoke _a$407 _a$408 _a$409 _a$410 _a$411))) (_a$421 (let* ((_a$412 (var-deref "clojure.core" "mk-black")) (_a$413 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$414 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$415 (jolt-invoke (var-deref "clojure.core" "nd-right") r)) (_a$416 (jolt-invoke (var-deref "clojure.core" "nd-right") parent))) (jolt-invoke _a$412 _a$413 _a$414 _a$415 _a$416)))) (jolt-invoke _a$417 _a$418 _a$419 _a$420 _a$421)) (if (jolt-truthy? (keyword #f "else")) (let* ((_a$422 (var-deref "clojure.core" "mk-black")) (_a$423 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$424 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$425 ins) (_a$426 (jolt-invoke (var-deref "clojure.core" "nd-right") parent))) (jolt-invoke _a$422 _a$423 _a$424 _a$425 _a$426)) jolt-nil)))) (let* ((_a$427 (var-deref "clojure.core" "mk-black")) (_a$428 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$429 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$430 ins) (_a$431 (jolt-invoke (var-deref "clojure.core" "nd-right") parent))) (jolt-invoke _a$427 _a$428 _a$429 _a$430 _a$431))))))) ins-balance-left)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ins-balance-right" (letrec ((ins-balance-right (lambda (ins parent) (let fnrec432 ((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)) (let* ((_a$438 (var-deref "clojure.core" "mk-red")) (_a$439 (jolt-invoke (var-deref "clojure.core" "nd-key") ins)) (_a$440 (jolt-invoke (var-deref "clojure.core" "nd-val") ins)) (_a$441 (let* ((_a$433 (var-deref "clojure.core" "mk-black")) (_a$434 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$435 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$436 (jolt-invoke (var-deref "clojure.core" "nd-left") parent)) (_a$437 l)) (jolt-invoke _a$433 _a$434 _a$435 _a$436 _a$437))) (_a$442 (jolt-invoke (var-deref "clojure.core" "blacken") r))) (jolt-invoke _a$438 _a$439 _a$440 _a$441 _a$442)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") l)) (let* ((_a$453 (var-deref "clojure.core" "mk-red")) (_a$454 (jolt-invoke (var-deref "clojure.core" "nd-key") l)) (_a$455 (jolt-invoke (var-deref "clojure.core" "nd-val") l)) (_a$456 (let* ((_a$443 (var-deref "clojure.core" "mk-black")) (_a$444 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$445 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$446 (jolt-invoke (var-deref "clojure.core" "nd-left") parent)) (_a$447 (jolt-invoke (var-deref "clojure.core" "nd-left") l))) (jolt-invoke _a$443 _a$444 _a$445 _a$446 _a$447))) (_a$457 (let* ((_a$448 (var-deref "clojure.core" "mk-black")) (_a$449 (jolt-invoke (var-deref "clojure.core" "nd-key") ins)) (_a$450 (jolt-invoke (var-deref "clojure.core" "nd-val") ins)) (_a$451 (jolt-invoke (var-deref "clojure.core" "nd-right") l)) (_a$452 r)) (jolt-invoke _a$448 _a$449 _a$450 _a$451 _a$452)))) (jolt-invoke _a$453 _a$454 _a$455 _a$456 _a$457)) (if (jolt-truthy? (keyword #f "else")) (let* ((_a$458 (var-deref "clojure.core" "mk-black")) (_a$459 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$460 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$461 (jolt-invoke (var-deref "clojure.core" "nd-left") parent)) (_a$462 ins)) (jolt-invoke _a$458 _a$459 _a$460 _a$461 _a$462)) jolt-nil)))) (let* ((_a$463 (var-deref "clojure.core" "mk-black")) (_a$464 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$465 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$466 (jolt-invoke (var-deref "clojure.core" "nd-left") parent)) (_a$467 ins)) (jolt-invoke _a$463 _a$464 _a$465 _a$466 _a$467))))))) ins-balance-right)))
(guard (e (#t #f))
  (def-var! "clojure.core" "add-left" (letrec ((add-left (lambda (parent ins) (let fnrec468 ((parent parent) (ins ins)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") parent)) (let* ((_a$469 (var-deref "clojure.core" "mk-red")) (_a$470 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$471 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$472 ins) (_a$473 (jolt-invoke (var-deref "clojure.core" "nd-right") parent))) (jolt-invoke _a$469 _a$470 _a$471 _a$472 _a$473)) (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 fnrec474 ((parent parent) (ins ins)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") parent)) (let* ((_a$475 (var-deref "clojure.core" "mk-red")) (_a$476 (jolt-invoke (var-deref "clojure.core" "nd-key") parent)) (_a$477 (jolt-invoke (var-deref "clojure.core" "nd-val") parent)) (_a$478 (jolt-invoke (var-deref "clojure.core" "nd-left") parent)) (_a$479 ins)) (jolt-invoke _a$475 _a$476 _a$477 _a$478 _a$479)) (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 fnrec480 ((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 fnrec481 ((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) (let* ((_a$482 (var-deref "clojure.core" "replace-node")) (_a$483 tree) (_a$484 (jolt-invoke (var-deref "clojure.core" "nd-key") tree)) (_a$485 v) (_a$486 (jolt-invoke (var-deref "clojure.core" "nd-left") tree)) (_a$487 (jolt-invoke (var-deref "clojure.core" "nd-right") tree))) (jolt-invoke _a$482 _a$483 _a$484 _a$485 _a$486 _a$487)) (if (jolt-neg? c) (let* ((_a$488 (var-deref "clojure.core" "replace-node")) (_a$489 tree) (_a$490 (jolt-invoke (var-deref "clojure.core" "nd-key") tree)) (_a$491 (jolt-invoke (var-deref "clojure.core" "nd-val") tree)) (_a$492 (jolt-invoke tree-replace cmp (jolt-invoke (var-deref "clojure.core" "nd-left") tree) k v)) (_a$493 (jolt-invoke (var-deref "clojure.core" "nd-right") tree))) (jolt-invoke _a$488 _a$489 _a$490 _a$491 _a$492 _a$493)) (if (jolt-truthy? (keyword #f "else")) (let* ((_a$494 (var-deref "clojure.core" "replace-node")) (_a$495 tree) (_a$496 (jolt-invoke (var-deref "clojure.core" "nd-key") tree)) (_a$497 (jolt-invoke (var-deref "clojure.core" "nd-val") tree)) (_a$498 (jolt-invoke (var-deref "clojure.core" "nd-left") tree)) (_a$499 (jolt-invoke tree-replace cmp (jolt-invoke (var-deref "clojure.core" "nd-right") tree) k v))) (jolt-invoke _a$494 _a$495 _a$496 _a$497 _a$498 _a$499)) jolt-nil)))))))) tree-replace)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-lookup" (letrec ((tree-lookup (lambda (tree cmp k) (let fnrec500 ((tree tree) (cmp cmp) (k k)) (let* ((t tree)) (let loop501 ((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) (loop501 (jolt-invoke (var-deref "clojure.core" "nd-left") t)) (if (jolt-truthy? (keyword #f "else")) (loop501 (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 fnrec502 ((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)) (let* ((_a$503 (var-deref "clojure.core" "mk-red")) (_a$504 (jolt-invoke (var-deref "clojure.core" "nd-key") ins)) (_a$505 (jolt-invoke (var-deref "clojure.core" "nd-val") ins)) (_a$506 (jolt-invoke (var-deref "clojure.core" "blacken") il)) (_a$507 (jolt-invoke (var-deref "clojure.core" "mk-black") k v ir right))) (jolt-invoke _a$503 _a$504 _a$505 _a$506 _a$507)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") ir)) (let* ((_a$513 (var-deref "clojure.core" "mk-red")) (_a$514 (jolt-invoke (var-deref "clojure.core" "nd-key") ir)) (_a$515 (jolt-invoke (var-deref "clojure.core" "nd-val") ir)) (_a$516 (let* ((_a$508 (var-deref "clojure.core" "mk-black")) (_a$509 (jolt-invoke (var-deref "clojure.core" "nd-key") ins)) (_a$510 (jolt-invoke (var-deref "clojure.core" "nd-val") ins)) (_a$511 il) (_a$512 (jolt-invoke (var-deref "clojure.core" "nd-left") ir))) (jolt-invoke _a$508 _a$509 _a$510 _a$511 _a$512))) (_a$517 (jolt-invoke (var-deref "clojure.core" "mk-black") k v (jolt-invoke (var-deref "clojure.core" "nd-right") ir) right))) (jolt-invoke _a$513 _a$514 _a$515 _a$516 _a$517)) (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 fnrec518 ((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)) (let* ((_a$519 (var-deref "clojure.core" "mk-red")) (_a$520 (jolt-invoke (var-deref "clojure.core" "nd-key") ins)) (_a$521 (jolt-invoke (var-deref "clojure.core" "nd-val") ins)) (_a$522 (jolt-invoke (var-deref "clojure.core" "mk-black") k v left il)) (_a$523 (jolt-invoke (var-deref "clojure.core" "blacken") ir))) (jolt-invoke _a$519 _a$520 _a$521 _a$522 _a$523)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") il)) (let* ((_a$529 (var-deref "clojure.core" "mk-red")) (_a$530 (jolt-invoke (var-deref "clojure.core" "nd-key") il)) (_a$531 (jolt-invoke (var-deref "clojure.core" "nd-val") il)) (_a$532 (jolt-invoke (var-deref "clojure.core" "mk-black") k v left (jolt-invoke (var-deref "clojure.core" "nd-left") il))) (_a$533 (let* ((_a$524 (var-deref "clojure.core" "mk-black")) (_a$525 (jolt-invoke (var-deref "clojure.core" "nd-key") ins)) (_a$526 (jolt-invoke (var-deref "clojure.core" "nd-val") ins)) (_a$527 (jolt-invoke (var-deref "clojure.core" "nd-right") il)) (_a$528 ir)) (jolt-invoke _a$524 _a$525 _a$526 _a$527 _a$528)))) (jolt-invoke _a$529 _a$530 _a$531 _a$532 _a$533)) (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 fnrec534 ((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))) (let* ((_a$540 (var-deref "clojure.core" "mk-red")) (_a$541 (jolt-invoke (var-deref "clojure.core" "nd-key") (jolt-invoke (var-deref "clojure.core" "nd-left") right))) (_a$542 (jolt-invoke (var-deref "clojure.core" "nd-val") (jolt-invoke (var-deref "clojure.core" "nd-left") right))) (_a$543 (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)))) (_a$544 (let* ((_a$535 (var-deref "clojure.core" "balance-right")) (_a$536 (jolt-invoke (var-deref "clojure.core" "nd-key") right)) (_a$537 (jolt-invoke (var-deref "clojure.core" "nd-val") right)) (_a$538 (jolt-invoke (var-deref "clojure.core" "nd-right") (jolt-invoke (var-deref "clojure.core" "nd-left") right))) (_a$539 (jolt-invoke (var-deref "clojure.core" "redden") (jolt-invoke (var-deref "clojure.core" "nd-right") right)))) (jolt-invoke _a$535 _a$536 _a$537 _a$538 _a$539)))) (jolt-invoke _a$540 _a$541 _a$542 _a$543 _a$544)) (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 fnrec545 ((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))) (let* ((_a$551 (var-deref "clojure.core" "mk-red")) (_a$552 (jolt-invoke (var-deref "clojure.core" "nd-key") (jolt-invoke (var-deref "clojure.core" "nd-right") left))) (_a$553 (jolt-invoke (var-deref "clojure.core" "nd-val") (jolt-invoke (var-deref "clojure.core" "nd-right") left))) (_a$554 (let* ((_a$546 (var-deref "clojure.core" "balance-left")) (_a$547 (jolt-invoke (var-deref "clojure.core" "nd-key") left)) (_a$548 (jolt-invoke (var-deref "clojure.core" "nd-val") left)) (_a$549 (jolt-invoke (var-deref "clojure.core" "redden") (jolt-invoke (var-deref "clojure.core" "nd-left") left))) (_a$550 (jolt-invoke (var-deref "clojure.core" "nd-left") (jolt-invoke (var-deref "clojure.core" "nd-right") left)))) (jolt-invoke _a$546 _a$547 _a$548 _a$549 _a$550))) (_a$555 (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))) (jolt-invoke _a$551 _a$552 _a$553 _a$554 _a$555)) (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 fnrec556 ((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 (let* ((_a$557 tree-append) (_a$558 (jolt-invoke (var-deref "clojure.core" "nd-right") left)) (_a$559 (jolt-invoke (var-deref "clojure.core" "nd-left") right))) (jolt-invoke _a$557 _a$558 _a$559)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") app)) (let* ((_a$570 (var-deref "clojure.core" "mk-red")) (_a$571 (jolt-invoke (var-deref "clojure.core" "nd-key") app)) (_a$572 (jolt-invoke (var-deref "clojure.core" "nd-val") app)) (_a$573 (let* ((_a$560 (var-deref "clojure.core" "mk-red")) (_a$561 (jolt-invoke (var-deref "clojure.core" "nd-key") left)) (_a$562 (jolt-invoke (var-deref "clojure.core" "nd-val") left)) (_a$563 (jolt-invoke (var-deref "clojure.core" "nd-left") left)) (_a$564 (jolt-invoke (var-deref "clojure.core" "nd-left") app))) (jolt-invoke _a$560 _a$561 _a$562 _a$563 _a$564))) (_a$574 (let* ((_a$565 (var-deref "clojure.core" "mk-red")) (_a$566 (jolt-invoke (var-deref "clojure.core" "nd-key") right)) (_a$567 (jolt-invoke (var-deref "clojure.core" "nd-val") right)) (_a$568 (jolt-invoke (var-deref "clojure.core" "nd-right") app)) (_a$569 (jolt-invoke (var-deref "clojure.core" "nd-right") right))) (jolt-invoke _a$565 _a$566 _a$567 _a$568 _a$569)))) (jolt-invoke _a$570 _a$571 _a$572 _a$573 _a$574)) (let* ((_a$580 (var-deref "clojure.core" "mk-red")) (_a$581 (jolt-invoke (var-deref "clojure.core" "nd-key") left)) (_a$582 (jolt-invoke (var-deref "clojure.core" "nd-val") left)) (_a$583 (jolt-invoke (var-deref "clojure.core" "nd-left") left)) (_a$584 (let* ((_a$575 (var-deref "clojure.core" "mk-red")) (_a$576 (jolt-invoke (var-deref "clojure.core" "nd-key") right)) (_a$577 (jolt-invoke (var-deref "clojure.core" "nd-val") right)) (_a$578 app) (_a$579 (jolt-invoke (var-deref "clojure.core" "nd-right") right))) (jolt-invoke _a$575 _a$576 _a$577 _a$578 _a$579)))) (jolt-invoke _a$580 _a$581 _a$582 _a$583 _a$584)))) (let* ((_a$585 (var-deref "clojure.core" "mk-red")) (_a$586 (jolt-invoke (var-deref "clojure.core" "nd-key") left)) (_a$587 (jolt-invoke (var-deref "clojure.core" "nd-val") left)) (_a$588 (jolt-invoke (var-deref "clojure.core" "nd-left") left)) (_a$589 (jolt-invoke tree-append (jolt-invoke (var-deref "clojure.core" "nd-right") left) right))) (jolt-invoke _a$585 _a$586 _a$587 _a$588 _a$589))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") right)) (let* ((_a$590 (var-deref "clojure.core" "mk-red")) (_a$591 (jolt-invoke (var-deref "clojure.core" "nd-key") right)) (_a$592 (jolt-invoke (var-deref "clojure.core" "nd-val") right)) (_a$593 (jolt-invoke tree-append left (jolt-invoke (var-deref "clojure.core" "nd-left") right))) (_a$594 (jolt-invoke (var-deref "clojure.core" "nd-right") right))) (jolt-invoke _a$590 _a$591 _a$592 _a$593 _a$594)) (if (jolt-truthy? (keyword #f "else")) (let* ((app (let* ((_a$595 tree-append) (_a$596 (jolt-invoke (var-deref "clojure.core" "nd-right") left)) (_a$597 (jolt-invoke (var-deref "clojure.core" "nd-left") right))) (jolt-invoke _a$595 _a$596 _a$597)))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "red?") app)) (let* ((_a$608 (var-deref "clojure.core" "mk-red")) (_a$609 (jolt-invoke (var-deref "clojure.core" "nd-key") app)) (_a$610 (jolt-invoke (var-deref "clojure.core" "nd-val") app)) (_a$611 (let* ((_a$598 (var-deref "clojure.core" "mk-black")) (_a$599 (jolt-invoke (var-deref "clojure.core" "nd-key") left)) (_a$600 (jolt-invoke (var-deref "clojure.core" "nd-val") left)) (_a$601 (jolt-invoke (var-deref "clojure.core" "nd-left") left)) (_a$602 (jolt-invoke (var-deref "clojure.core" "nd-left") app))) (jolt-invoke _a$598 _a$599 _a$600 _a$601 _a$602))) (_a$612 (let* ((_a$603 (var-deref "clojure.core" "mk-black")) (_a$604 (jolt-invoke (var-deref "clojure.core" "nd-key") right)) (_a$605 (jolt-invoke (var-deref "clojure.core" "nd-val") right)) (_a$606 (jolt-invoke (var-deref "clojure.core" "nd-right") app)) (_a$607 (jolt-invoke (var-deref "clojure.core" "nd-right") right))) (jolt-invoke _a$603 _a$604 _a$605 _a$606 _a$607)))) (jolt-invoke _a$608 _a$609 _a$610 _a$611 _a$612)) (let* ((_a$618 (var-deref "clojure.core" "balance-left-del")) (_a$619 (jolt-invoke (var-deref "clojure.core" "nd-key") left)) (_a$620 (jolt-invoke (var-deref "clojure.core" "nd-val") left)) (_a$621 (jolt-invoke (var-deref "clojure.core" "nd-left") left)) (_a$622 (let* ((_a$613 (var-deref "clojure.core" "mk-black")) (_a$614 (jolt-invoke (var-deref "clojure.core" "nd-key") right)) (_a$615 (jolt-invoke (var-deref "clojure.core" "nd-val") right)) (_a$616 app) (_a$617 (jolt-invoke (var-deref "clojure.core" "nd-right") right))) (jolt-invoke _a$613 _a$614 _a$615 _a$616 _a$617)))) (jolt-invoke _a$618 _a$619 _a$620 _a$621 _a$622)))) jolt-nil))))))))) tree-append)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-del" (letrec ((tree-del (lambda (cmp tree k) (let fnrec623 ((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) (let* ((_a$624 (var-deref "clojure.core" "tree-append")) (_a$625 (jolt-invoke (var-deref "clojure.core" "nd-left") tree)) (_a$626 (jolt-invoke (var-deref "clojure.core" "nd-right") tree))) (jolt-invoke _a$624 _a$625 _a$626)) (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))) (let* ((_a$627 (var-deref "clojure.core" "balance-left-del")) (_a$628 (jolt-invoke (var-deref "clojure.core" "nd-key") tree)) (_a$629 (jolt-invoke (var-deref "clojure.core" "nd-val") tree)) (_a$630 del) (_a$631 (jolt-invoke (var-deref "clojure.core" "nd-right") tree))) (jolt-invoke _a$627 _a$628 _a$629 _a$630 _a$631)) (let* ((_a$632 (var-deref "clojure.core" "mk-red")) (_a$633 (jolt-invoke (var-deref "clojure.core" "nd-key") tree)) (_a$634 (jolt-invoke (var-deref "clojure.core" "nd-val") tree)) (_a$635 del) (_a$636 (jolt-invoke (var-deref "clojure.core" "nd-right") tree))) (jolt-invoke _a$632 _a$633 _a$634 _a$635 _a$636)))) (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))) (let* ((_a$637 (var-deref "clojure.core" "balance-right-del")) (_a$638 (jolt-invoke (var-deref "clojure.core" "nd-key") tree)) (_a$639 (jolt-invoke (var-deref "clojure.core" "nd-val") tree)) (_a$640 (jolt-invoke (var-deref "clojure.core" "nd-left") tree)) (_a$641 del)) (jolt-invoke _a$637 _a$638 _a$639 _a$640 _a$641)) (let* ((_a$642 (var-deref "clojure.core" "mk-red")) (_a$643 (jolt-invoke (var-deref "clojure.core" "nd-key") tree)) (_a$644 (jolt-invoke (var-deref "clojure.core" "nd-val") tree)) (_a$645 (jolt-invoke (var-deref "clojure.core" "nd-left") tree)) (_a$646 del)) (jolt-invoke _a$642 _a$643 _a$644 _a$645 _a$646)))) jolt-nil)))))))) tree-del)))
(guard (e (#t #f))
  (def-var! "clojure.core" "tree-collect" (letrec ((tree-collect (lambda (t proj acc) (let fnrec647 ((t t) (proj proj) (acc acc)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "nil?") t)) acc (let* ((_a$650 tree-collect) (_a$651 (jolt-invoke (var-deref "clojure.core" "nd-right") t)) (_a$652 proj) (_a$653 (let* ((_a$648 (jolt-invoke tree-collect (jolt-invoke (var-deref "clojure.core" "nd-left") t) proj acc)) (_a$649 (jolt-invoke proj t))) (jolt-conj _a$648 _a$649)))) (jolt-invoke _a$650 _a$651 _a$652 _a$653))))))) tree-collect)))
(guard (e (#t #f))
  (def-var! "clojure.core" "make-sorted" (letrec ((make-sorted (lambda (tag tree cnt cmp ops) (let fnrec654 ((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 fnrec655 ((sc sc) (proj proj)) (let* ((_a$656 (var-deref "clojure.core" "tree-collect")) (_a$657 (jolt-invoke (var-deref "clojure.core" "sfield") sc (keyword #f "tree"))) (_a$658 proj) (_a$659 (jolt-vector))) (jolt-invoke _a$656 _a$657 _a$658 _a$659)))))) sc-entries)))
(guard (e (#t #f))
  (def-var! "clojure.core" "map-entry" (letrec ((map-entry (lambda (t) (let fnrec660 ((t t)) (let* ((_a$661 (var-deref "jolt.host" "map-entry")) (_a$662 (jolt-invoke (var-deref "clojure.core" "nd-key") t)) (_a$663 (jolt-invoke (var-deref "clojure.core" "nd-val") t))) (jolt-invoke _a$661 _a$662 _a$663)))))) map-entry)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-get" (letrec ((sm-get (lambda (sm k not-found) (let fnrec664 ((sm sm) (k k) (not-found not-found)) (let* ((n (let* ((_a$665 (var-deref "clojure.core" "tree-lookup")) (_a$666 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "tree"))) (_a$667 (jolt-invoke (var-deref "clojure.core" "the-cmp") sm)) (_a$668 k)) (jolt-invoke _a$665 _a$666 _a$667 _a$668)))) (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 fnrec669 ((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) (let* ((_a$670 (var-deref "clojure.core" "make-sorted")) (_a$671 (keyword "jolt" "sorted-map")) (_a$672 (jolt-invoke (var-deref "clojure.core" "tree-replace") cmp tree k v)) (_a$673 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cnt"))) (_a$674 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cmp"))) (_a$675 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "ops")))) (jolt-invoke _a$670 _a$671 _a$672 _a$673 _a$674 _a$675)) (if (jolt-truthy? (keyword #f "else")) (let* ((_a$676 (var-deref "clojure.core" "make-sorted")) (_a$677 (keyword "jolt" "sorted-map")) (_a$678 (jolt-invoke (var-deref "clojure.core" "blacken") (jolt-invoke (var-deref "clojure.core" "tree-ins") cmp tree k v))) (_a$679 (jolt-inc (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cnt")))) (_a$680 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cmp"))) (_a$681 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "ops")))) (jolt-invoke _a$676 _a$677 _a$678 _a$679 _a$680 _a$681)) jolt-nil)))))))) sm-assoc-1)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-assoc-many" (letrec ((sm-assoc-many (lambda (sm kvs) (let fnrec682 ((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$683 (keyword #f "count")) (_o$684 n)) (jolt-hash-map _o$683 _o$684)))) jolt-nil) (let* ((m sm) (i 0)) (let loop685 ((m m) (i i)) (if (< i n) (let* ((_a$690 (let* ((_a$686 (var-deref "clojure.core" "sm-assoc-1")) (_a$687 m) (_a$688 (jolt-nth kvs i)) (_a$689 (jolt-nth kvs (jolt-inc i)))) (jolt-invoke _a$686 _a$687 _a$688 _a$689))) (_a$691 (+ i 2))) (loop685 _a$690 _a$691)) m))))))))) sm-assoc-many)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-dissoc-1" (letrec ((sm-dissoc-1 (lambda (sm k) (let fnrec692 ((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))) (let* ((_a$693 (var-deref "clojure.core" "make-sorted")) (_a$694 (keyword "jolt" "sorted-map")) (_a$695 (if (jolt-truthy? t) (jolt-invoke (var-deref "clojure.core" "blacken") t) jolt-nil)) (_a$696 (jolt-dec (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cnt")))) (_a$697 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cmp"))) (_a$698 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "ops")))) (jolt-invoke _a$693 _a$694 _a$695 _a$696 _a$697 _a$698))))))))) sm-dissoc-1)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sm-dissoc-many" (letrec ((sm-dissoc-many (lambda (sm ks) (let fnrec699 ((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 fnrec700 ((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)) (let* ((_a$706 (lambda (m e) (let fnrec701 ((m m) (e e)) (let* ((_a$702 (var-deref "clojure.core" "sm-assoc-1")) (_a$703 m) (_a$704 (jolt-first e)) (_a$705 (jolt-invoke (var-deref "clojure.core" "second") e))) (jolt-invoke _a$702 _a$703 _a$704 _a$705))))) (_a$707 sm) (_a$708 (jolt-seq x))) (jolt-reduce _a$706 _a$707 _a$708)) (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))) (let* ((_a$709 (var-deref "clojure.core" "sm-assoc-1")) (_a$710 sm) (_a$711 (jolt-nth x 0)) (_a$712 (jolt-nth x 1))) (jolt-invoke _a$709 _a$710 _a$711 _a$712)) (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 fnrec713 ((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 fnrec714 ((ss ss) (x x) (not-found not-found)) (let* ((n (let* ((_a$715 (var-deref "clojure.core" "tree-lookup")) (_a$716 (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "tree"))) (_a$717 (jolt-invoke (var-deref "clojure.core" "the-cmp") ss)) (_a$718 x)) (jolt-invoke _a$715 _a$716 _a$717 _a$718)))) (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 fnrec719 ((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 (let* ((_a$720 (var-deref "clojure.core" "make-sorted")) (_a$721 (keyword "jolt" "sorted-set")) (_a$722 (jolt-invoke (var-deref "clojure.core" "blacken") (jolt-invoke (var-deref "clojure.core" "tree-ins") cmp tree x jolt-nil))) (_a$723 (jolt-inc (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cnt")))) (_a$724 (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cmp"))) (_a$725 (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "ops")))) (jolt-invoke _a$720 _a$721 _a$722 _a$723 _a$724 _a$725)))))))) ss-conj-1)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ss-conj-many" (letrec ((ss-conj-many (lambda (ss xs) (let fnrec726 ((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 fnrec727 ((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))) (let* ((_a$728 (var-deref "clojure.core" "make-sorted")) (_a$729 (keyword "jolt" "sorted-set")) (_a$730 (if (jolt-truthy? t) (jolt-invoke (var-deref "clojure.core" "blacken") t) jolt-nil)) (_a$731 (jolt-dec (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cnt")))) (_a$732 (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cmp"))) (_a$733 (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "ops")))) (jolt-invoke _a$728 _a$729 _a$730 _a$731 _a$732 _a$733))))))))) ss-disj-1)))
(guard (e (#t #f))
  (def-var! "clojure.core" "ss-disj-many" (letrec ((ss-disj-many (lambda (ss xs) (let fnrec734 ((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$752 (keyword #f "count")) (_o$753 (lambda (sm) (let fnrec735 ((sm sm)) (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cnt"))))) (_o$754 (keyword #f "entries")) (_o$755 (lambda (sm) (let fnrec736 ((sm sm)) (jolt-invoke (var-deref "clojure.core" "sc-entries") sm (var-deref "clojure.core" "map-entry"))))) (_o$756 (keyword #f "seq")) (_o$757 (lambda (sm) (let fnrec737 ((sm sm)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "sc-entries") sm (var-deref "clojure.core" "map-entry")))))) (_o$758 (keyword #f "rseq")) (_o$759 (lambda (sm) (let fnrec738 ((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$760 (keyword #f "first")) (_o$761 (lambda (sm) (let fnrec739 ((sm sm)) (jolt-first (jolt-invoke (var-deref "clojure.core" "sc-entries") sm (var-deref "clojure.core" "map-entry")))))) (_o$762 (keyword #f "get")) (_o$763 (var-deref "clojure.core" "sm-get")) (_o$764 (keyword #f "contains")) (_o$765 (lambda (sm k) (let fnrec740 ((sm sm) (k k)) (jolt-not (jolt-invoke (var-deref "clojure.core" "nil?") (let* ((_a$741 (var-deref "clojure.core" "tree-lookup")) (_a$742 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "tree"))) (_a$743 (jolt-invoke (var-deref "clojure.core" "the-cmp") sm)) (_a$744 k)) (jolt-invoke _a$741 _a$742 _a$743 _a$744))))))) (_o$766 (keyword #f "assoc")) (_o$767 (var-deref "clojure.core" "sm-assoc-many")) (_o$768 (keyword #f "dissoc")) (_o$769 (var-deref "clojure.core" "sm-dissoc-many")) (_o$770 (keyword #f "conj")) (_o$771 (var-deref "clojure.core" "sm-conj-many")) (_o$772 (keyword #f "empty")) (_o$773 (lambda (sm) (let fnrec745 ((sm sm)) (let* ((_a$746 (var-deref "clojure.core" "make-sorted")) (_a$747 (keyword "jolt" "sorted-map")) (_a$748 jolt-nil) (_a$749 0) (_a$750 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "cmp"))) (_a$751 (jolt-invoke (var-deref "clojure.core" "sfield") sm (keyword #f "ops")))) (jolt-invoke _a$746 _a$747 _a$748 _a$749 _a$750 _a$751)))))) (jolt-hash-map _o$752 _o$753 _o$754 _o$755 _o$756 _o$757 _o$758 _o$759 _o$760 _o$761 _o$762 _o$763 _o$764 _o$765 _o$766 _o$767 _o$768 _o$769 _o$770 _o$771 _o$772 _o$773)) (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var-with-meta! "clojure.core" "ss-ops" (let* ((_o$791 (keyword #f "count")) (_o$792 (lambda (ss) (let fnrec774 ((ss ss)) (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cnt"))))) (_o$793 (keyword #f "entries")) (_o$794 (lambda (ss) (let fnrec775 ((ss ss)) (jolt-invoke (var-deref "clojure.core" "sc-entries") ss (var-deref "clojure.core" "nd-key"))))) (_o$795 (keyword #f "seq")) (_o$796 (lambda (ss) (let fnrec776 ((ss ss)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "sc-entries") ss (var-deref "clojure.core" "nd-key")))))) (_o$797 (keyword #f "rseq")) (_o$798 (lambda (ss) (let fnrec777 ((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$799 (keyword #f "first")) (_o$800 (lambda (ss) (let fnrec778 ((ss ss)) (jolt-first (jolt-invoke (var-deref "clojure.core" "sc-entries") ss (var-deref "clojure.core" "nd-key")))))) (_o$801 (keyword #f "get")) (_o$802 (var-deref "clojure.core" "ss-get")) (_o$803 (keyword #f "contains")) (_o$804 (lambda (ss x) (let fnrec779 ((ss ss) (x x)) (jolt-not (jolt-invoke (var-deref "clojure.core" "nil?") (let* ((_a$780 (var-deref "clojure.core" "tree-lookup")) (_a$781 (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "tree"))) (_a$782 (jolt-invoke (var-deref "clojure.core" "the-cmp") ss)) (_a$783 x)) (jolt-invoke _a$780 _a$781 _a$782 _a$783))))))) (_o$805 (keyword #f "conj")) (_o$806 (var-deref "clojure.core" "ss-conj-many")) (_o$807 (keyword #f "disj")) (_o$808 (var-deref "clojure.core" "ss-disj-many")) (_o$809 (keyword #f "empty")) (_o$810 (lambda (ss) (let fnrec784 ((ss ss)) (let* ((_a$785 (var-deref "clojure.core" "make-sorted")) (_a$786 (keyword "jolt" "sorted-set")) (_a$787 jolt-nil) (_a$788 0) (_a$789 (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "cmp"))) (_a$790 (jolt-invoke (var-deref "clojure.core" "sfield") ss (keyword #f "ops")))) (jolt-invoke _a$785 _a$786 _a$787 _a$788 _a$789 _a$790)))))) (jolt-hash-map _o$791 _o$792 _o$793 _o$794 _o$795 _o$796 _o$797 _o$798 _o$799 _o$800 _o$801 _o$802 _o$803 _o$804 _o$805 _o$806 _o$807 _o$808 _o$809 _o$810)) (jolt-hash-map (keyword #f "private") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-map" (letrec ((sorted-map (lambda kvs (let fnrec811 ((kvs (list->cseq kvs))) (let* ((_a$812 (var-deref "clojure.core" "sm-assoc-many")) (_a$813 (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-map") jolt-nil 0 jolt-nil (var-deref "clojure.core" "sm-ops"))) (_a$814 (jolt-invoke (var-deref "clojure.core" "vec") kvs))) (jolt-invoke _a$812 _a$813 _a$814)))))) sorted-map)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-map-by" (letrec ((sorted-map-by (lambda (comparator . kvs) (let fnrec815 ((comparator comparator) (kvs (list->cseq kvs))) (let* ((_a$816 (var-deref "clojure.core" "sm-assoc-many")) (_a$817 (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"))) (_a$818 (jolt-invoke (var-deref "clojure.core" "vec") kvs))) (jolt-invoke _a$816 _a$817 _a$818)))))) sorted-map-by)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-set" (letrec ((sorted-set (lambda xs (let fnrec819 ((xs (list->cseq xs))) (let* ((_a$820 (var-deref "clojure.core" "ss-conj-many")) (_a$821 (jolt-invoke (var-deref "clojure.core" "make-sorted") (keyword "jolt" "sorted-set") jolt-nil 0 jolt-nil (var-deref "clojure.core" "ss-ops"))) (_a$822 (jolt-invoke (var-deref "clojure.core" "vec") xs))) (jolt-invoke _a$820 _a$821 _a$822)))))) sorted-set)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-set-by" (letrec ((sorted-set-by (lambda (comparator . xs) (let fnrec823 ((comparator comparator) (xs (list->cseq xs))) (let* ((_a$824 (var-deref "clojure.core" "ss-conj-many")) (_a$825 (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"))) (_a$826 (jolt-invoke (var-deref "clojure.core" "vec") xs))) (jolt-invoke _a$824 _a$825 _a$826)))))) sorted-set-by)))
(guard (e (#t #f))
  (def-var! "clojure.core" "sorted-map?" (letrec ((sorted-map? (lambda (x) (let fnrec827 ((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 fnrec828 ((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 fnrec829 ((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 fnrec830 ((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 fnrec831 ((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 fnrec832 ((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))) (let* ((_a$835 (var-deref "clojure.core" "filterv")) (_a$836 (lambda (e) (let fnrec833 ((e e)) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (G__15) (let fnrec834 ((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)))) (_a$837 (jolt-invoke (var-deref "clojure.core" "sc-entries") sc (jolt-invoke (var-deref "clojure.core" "sc-proj") sc)))) (jolt-invoke _a$835 _a$836 _a$837))))))) sub-filter)))
(guard (e (#t #f))
  (def-var! "clojure.core" "subseq" (letrec ((subseq (case-lambda ((sc test k) (let fnrec838 ((sc sc) (test test) (k k)) (jolt-seq (jolt-invoke (var-deref "clojure.core" "sub-filter") sc (jolt-vector (let* ((_o$839 test) (_o$840 k)) (jolt-vector _o$839 _o$840))))))) ((sc start-test start-k end-test end-k) (let fnrec841 ((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$846 (let* ((_o$842 start-test) (_o$843 start-k)) (jolt-vector _o$842 _o$843))) (_o$847 (let* ((_o$844 end-test) (_o$845 end-k)) (jolt-vector _o$844 _o$845)))) (jolt-vector _o$846 _o$847))))))))) subseq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "rsubseq" (letrec ((rsubseq (case-lambda ((sc test k) (let fnrec848 ((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$849 test) (_o$850 k)) (jolt-vector _o$849 _o$850))))))))) ((sc start-test start-k end-test end-k) (let fnrec851 ((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$856 (let* ((_o$852 start-test) (_o$853 start-k)) (jolt-vector _o$852 _o$853))) (_o$857 (let* ((_o$854 end-test) (_o$855 end-k)) (jolt-vector _o$854 _o$855)))) (jolt-vector _o$856 _o$857))))))))))) rsubseq)))
(guard (e (#t #f))
  (def-var! "clojure.core" "comment"
    (lambda body (let fnrec858 ((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 fnrec859 ((body (list->cseq body))) (let* ((_a$864 (var-deref "clojure.core" "__sqcat")) (_a$865 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "__with-out-str"))) (_a$866 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$860 (var-deref "clojure.core" "__sqcat")) (_a$861 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*"))) (_a$862 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec")))) (_a$863 body)) (jolt-invoke _a$860 _a$861 _a$862 _a$863))))) (jolt-invoke _a$864 _a$865 _a$866)))))
  (mark-macro! "clojure.core" "with-out-str"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defmulti"
    (lambda (name . args) (let fnrec867 ((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))) (let* ((_a$871 (var-deref "clojure.core" "__sqcat")) (_a$872 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "defmulti-setup"))) (_a$873 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$868 (var-deref "clojure.core" "__sqcat")) (_a$869 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$870 (jolt-invoke (var-deref "clojure.core" "__sq1") name))) (jolt-invoke _a$868 _a$869 _a$870)))) (_a$874 (jolt-invoke (var-deref "clojure.core" "__sq1") dispatch)) (_a$875 opts)) (jolt-invoke _a$871 _a$872 _a$873 _a$874 _a$875))))))
  (mark-macro! "clojure.core" "defmulti"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defmethod"
    (lambda (mm dispatch-val . fn-tail) (let fnrec876 ((mm mm) (dispatch-val dispatch-val) (fn-tail (list->cseq fn-tail))) (let* ((_a$880 (var-deref "clojure.core" "__sqcat")) (_a$881 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "defmethod-setup"))) (_a$882 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$877 (var-deref "clojure.core" "__sqcat")) (_a$878 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$879 (jolt-invoke (var-deref "clojure.core" "__sq1") mm))) (jolt-invoke _a$877 _a$878 _a$879)))) (_a$883 (jolt-invoke (var-deref "clojure.core" "__sq1") dispatch-val)) (_a$884 (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)))) (jolt-invoke _a$880 _a$881 _a$882 _a$883 _a$884)))))
  (mark-macro! "clojure.core" "defmethod"))
(guard (e (#t #f))
  (def-var! "clojure.core" "prefer-method"
    (lambda (mm dval-a dval-b) (let fnrec885 ((mm mm) (dval-a dval-a) (dval-b dval-b)) (let* ((_a$889 (var-deref "clojure.core" "__sqcat")) (_a$890 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "prefer-method-setup"))) (_a$891 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$886 (var-deref "clojure.core" "__sqcat")) (_a$887 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$888 (jolt-invoke (var-deref "clojure.core" "__sq1") mm))) (jolt-invoke _a$886 _a$887 _a$888)))) (_a$892 (jolt-invoke (var-deref "clojure.core" "__sq1") dval-a)) (_a$893 (jolt-invoke (var-deref "clojure.core" "__sq1") dval-b))) (jolt-invoke _a$889 _a$890 _a$891 _a$892 _a$893)))))
  (mark-macro! "clojure.core" "prefer-method"))
(guard (e (#t #f))
  (def-var! "clojure.core" "remove-method"
    (lambda (mm dval) (let fnrec894 ((mm mm) (dval dval)) (let* ((_a$898 (var-deref "clojure.core" "__sqcat")) (_a$899 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "remove-method-setup"))) (_a$900 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$895 (var-deref "clojure.core" "__sqcat")) (_a$896 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$897 (jolt-invoke (var-deref "clojure.core" "__sq1") mm))) (jolt-invoke _a$895 _a$896 _a$897)))) (_a$901 (jolt-invoke (var-deref "clojure.core" "__sq1") dval))) (jolt-invoke _a$898 _a$899 _a$900 _a$901)))))
  (mark-macro! "clojure.core" "remove-method"))
(guard (e (#t #f))
  (def-var! "clojure.core" "remove-all-methods"
    (lambda (mm) (let fnrec902 ((mm mm)) (let* ((_a$906 (var-deref "clojure.core" "__sqcat")) (_a$907 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "remove-all-methods-setup"))) (_a$908 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$903 (var-deref "clojure.core" "__sqcat")) (_a$904 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$905 (jolt-invoke (var-deref "clojure.core" "__sq1") mm))) (jolt-invoke _a$903 _a$904 _a$905))))) (jolt-invoke _a$906 _a$907 _a$908)))))
  (mark-macro! "clojure.core" "remove-all-methods"))
(guard (e (#t #f))
  (def-var! "clojure.core" "get-method"
    (lambda (mm dval) (let fnrec909 ((mm mm) (dval dval)) (let* ((_a$910 (var-deref "clojure.core" "__sqcat")) (_a$911 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get-method-setup"))) (_a$912 (jolt-invoke (var-deref "clojure.core" "__sq1") mm)) (_a$913 (jolt-invoke (var-deref "clojure.core" "__sq1") dval))) (jolt-invoke _a$910 _a$911 _a$912 _a$913)))))
  (mark-macro! "clojure.core" "get-method"))
(guard (e (#t #f))
  (def-var! "clojure.core" "methods"
    (lambda (mm) (let fnrec914 ((mm mm)) (let* ((_a$915 (var-deref "clojure.core" "__sqcat")) (_a$916 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "methods-setup"))) (_a$917 (jolt-invoke (var-deref "clojure.core" "__sq1") mm))) (jolt-invoke _a$915 _a$916 _a$917)))))
  (mark-macro! "clojure.core" "methods"))
(guard (e (#t #f))
  (def-var! "clojure.core" "prefers"
    (lambda (mm) (let fnrec918 ((mm mm)) (let* ((_a$922 (var-deref "clojure.core" "__sqcat")) (_a$923 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "prefers-setup"))) (_a$924 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$919 (var-deref "clojure.core" "__sqcat")) (_a$920 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$921 (jolt-invoke (var-deref "clojure.core" "__sq1") mm))) (jolt-invoke _a$919 _a$920 _a$921))))) (jolt-invoke _a$922 _a$923 _a$924)))))
  (mark-macro! "clojure.core" "prefers"))
(guard (e (#t #f))
  (def-var! "clojure.core" "instance?"
    (lambda (t x) (let fnrec925 ((t t) (x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") t)) (let* ((_a$926 (var-deref "clojure.core" "__sqcat")) (_a$927 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "instance-check"))) (_a$928 (jolt-invoke (var-deref "clojure.core" "__sq1") t)) (_a$929 (jolt-invoke (var-deref "clojure.core" "__sq1") x))) (jolt-invoke _a$926 _a$927 _a$928 _a$929)) (let* ((_a$933 (var-deref "clojure.core" "__sqcat")) (_a$934 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "instance-check"))) (_a$935 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$930 (var-deref "clojure.core" "__sqcat")) (_a$931 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$932 (jolt-invoke (var-deref "clojure.core" "__sq1") t))) (jolt-invoke _a$930 _a$931 _a$932)))) (_a$936 (jolt-invoke (var-deref "clojure.core" "__sq1") x))) (jolt-invoke _a$933 _a$934 _a$935 _a$936))))))
  (mark-macro! "clojure.core" "instance?"))
(guard (e (#t #f))
  (def-var! "clojure.core" "locking"
    (lambda (x . body) (let fnrec937 ((x x) (body (list->cseq body))) (let* ((_a$938 (var-deref "clojure.core" "__sqcat")) (_a$939 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$940 (jolt-invoke (var-deref "clojure.core" "__sq1") x)) (_a$941 body)) (jolt-invoke _a$938 _a$939 _a$940 _a$941)))))
  (mark-macro! "clojure.core" "locking"))
(guard (e (#t #f))
  (def-var! "clojure.core" "time"
    (lambda (expr) (let fnrec942 ((expr expr)) (let* ((_a$960 (var-deref "clojure.core" "__sqcat")) (_a$961 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$962 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$943 (var-deref "clojure.core" "__sqvec")) (_a$944 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "start__1__auto"))) (_a$945 (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"))))) (_a$946 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "ret__2__auto"))) (_a$947 (jolt-invoke (var-deref "clojure.core" "__sq1") expr))) (jolt-invoke _a$943 _a$944 _a$945 _a$946 _a$947)))) (_a$963 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$957 (var-deref "clojure.core" "__sqcat")) (_a$958 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "println"))) (_a$959 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$952 (var-deref "clojure.core" "__sqcat")) (_a$953 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "str"))) (_a$954 (jolt-invoke (var-deref "clojure.core" "__sq1") "Elapsed time: ")) (_a$955 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$948 (var-deref "clojure.core" "__sqcat")) (_a$949 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "-"))) (_a$950 (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"))))) (_a$951 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "start__1__auto")))) (jolt-invoke _a$948 _a$949 _a$950 _a$951)))) (_a$956 (jolt-invoke (var-deref "clojure.core" "__sq1") " msecs"))) (jolt-invoke _a$952 _a$953 _a$954 _a$955 _a$956))))) (jolt-invoke _a$957 _a$958 _a$959)))) (_a$964 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "ret__2__auto")))) (jolt-invoke _a$960 _a$961 _a$962 _a$963 _a$964)))))
  (mark-macro! "clojure.core" "time"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-redefs"
    (lambda (bindings . body) (let fnrec965 ((bindings bindings) (body (list->cseq body))) (let* ((pairs (let* ((_a$972 (lambda (acc p) (let fnrec966 ((acc acc) (p p)) (let* ((_a$970 (jolt-conj acc (let* ((_a$967 (var-deref "clojure.core" "__sqcat")) (_a$968 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "var"))) (_a$969 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first p)))) (jolt-invoke _a$967 _a$968 _a$969)))) (_a$971 (jolt-invoke (var-deref "clojure.core" "second") p))) (jolt-conj _a$970 _a$971))))) (_a$973 (jolt-vector)) (_a$974 (jolt-invoke (var-deref "clojure.core" "partition") 2 bindings))) (jolt-reduce _a$972 _a$973 _a$974)))) (let* ((_a$979 (var-deref "clojure.core" "__sqcat")) (_a$980 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "with-redefs-fn"))) (_a$981 (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))) (_a$982 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$975 (var-deref "clojure.core" "__sqcat")) (_a$976 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$977 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec")))) (_a$978 body)) (jolt-invoke _a$975 _a$976 _a$977 _a$978))))) (jolt-invoke _a$979 _a$980 _a$981 _a$982))))))
  (mark-macro! "clojure.core" "with-redefs"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-local-vars"
    (lambda (bindings . body) (let fnrec983 ((bindings bindings) (body (list->cseq body))) (let* ((binds (let* ((_a$990 (lambda (acc p) (let fnrec984 ((acc acc) (p p)) (let* ((_a$988 (jolt-conj acc (jolt-first p))) (_a$989 (let* ((_a$985 (var-deref "clojure.core" "__sqcat")) (_a$986 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "__local-var"))) (_a$987 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "second") p)))) (jolt-invoke _a$985 _a$986 _a$987)))) (jolt-conj _a$988 _a$989))))) (_a$991 (jolt-vector)) (_a$992 (jolt-invoke (var-deref "clojure.core" "partition") 2 bindings))) (jolt-reduce _a$990 _a$991 _a$992)))) (let* ((_a$993 (var-deref "clojure.core" "__sqcat")) (_a$994 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$995 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") binds))) (_a$996 body)) (jolt-invoke _a$993 _a$994 _a$995 _a$996))))))
  (mark-macro! "clojure.core" "with-local-vars"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-open"
    (lambda (bindings . body) (let fnrec997 ((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) (let* ((_a$1015 (var-deref "clojure.core" "__sqcat")) (_a$1016 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1017 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$998 (var-deref "clojure.core" "__sqvec")) (_a$999 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first bindings))) (_a$1000 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "second") bindings)))) (jolt-invoke _a$998 _a$999 _a$1000)))) (_a$1018 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1011 (var-deref "clojure.core" "__sqcat")) (_a$1012 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "try"))) (_a$1013 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1001 (var-deref "clojure.core" "__sqcat")) (_a$1002 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "with-open"))) (_a$1003 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "vec") (jolt-drop 2 bindings)))) (_a$1004 body)) (jolt-invoke _a$1001 _a$1002 _a$1003 _a$1004)))) (_a$1014 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1008 (var-deref "clojure.core" "__sqcat")) (_a$1009 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "finally"))) (_a$1010 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1005 (var-deref "clojure.core" "__sqcat")) (_a$1006 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "__close"))) (_a$1007 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first bindings)))) (jolt-invoke _a$1005 _a$1006 _a$1007))))) (jolt-invoke _a$1008 _a$1009 _a$1010))))) (jolt-invoke _a$1011 _a$1012 _a$1013 _a$1014))))) (jolt-invoke _a$1015 _a$1016 _a$1017 _a$1018))))))
  (mark-macro! "clojure.core" "with-open"))
(guard (e (#t #f))
  (def-var! "clojure.core" "with-precision"
    (lambda (precision . exprs) (let fnrec1019 ((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 fnrec1020 ((binding-map binding-map) (body (list->cseq body))) (let* ((_a$1025 (var-deref "clojure.core" "__sqcat")) (_a$1026 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "with-bindings*"))) (_a$1027 (jolt-invoke (var-deref "clojure.core" "__sq1") binding-map)) (_a$1028 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1021 (var-deref "clojure.core" "__sqcat")) (_a$1022 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$1023 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec")))) (_a$1024 body)) (jolt-invoke _a$1021 _a$1022 _a$1023 _a$1024))))) (jolt-invoke _a$1025 _a$1026 _a$1027 _a$1028)))))
  (mark-macro! "clojure.core" "with-bindings"))
(guard (e (#t #f))
  (def-var! "clojure.core" "bound-fn"
    (lambda fntail (let fnrec1029 ((fntail (list->cseq fntail))) (let* ((_a$1030 (var-deref "clojure.core" "__sqcat")) (_a$1031 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "bound-fn*"))) (_a$1032 (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)))) (jolt-invoke _a$1030 _a$1031 _a$1032)))))
  (mark-macro! "clojure.core" "bound-fn"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defonce"
    (lambda (name expr) (let fnrec1033 ((name name) (expr expr)) (let* ((_a$1059 (var-deref "clojure.core" "__sqcat")) (_a$1060 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1061 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1040 (var-deref "clojure.core" "__sqvec")) (_a$1041 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "v__3__auto"))) (_a$1042 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1037 (var-deref "clojure.core" "__sqcat")) (_a$1038 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "resolve"))) (_a$1039 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1034 (var-deref "clojure.core" "__sqcat")) (_a$1035 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$1036 (jolt-invoke (var-deref "clojure.core" "__sq1") name))) (jolt-invoke _a$1034 _a$1035 _a$1036))))) (jolt-invoke _a$1037 _a$1038 _a$1039))))) (jolt-invoke _a$1040 _a$1041 _a$1042)))) (_a$1062 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1054 (var-deref "clojure.core" "__sqcat")) (_a$1055 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$1056 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1046 (var-deref "clojure.core" "__sqcat")) (_a$1047 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "and"))) (_a$1048 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "v__3__auto"))) (_a$1049 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1043 (var-deref "clojure.core" "__sqcat")) (_a$1044 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "bound?"))) (_a$1045 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "v__3__auto")))) (jolt-invoke _a$1043 _a$1044 _a$1045))))) (jolt-invoke _a$1046 _a$1047 _a$1048 _a$1049)))) (_a$1057 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "v__3__auto"))) (_a$1058 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1050 (var-deref "clojure.core" "__sqcat")) (_a$1051 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def"))) (_a$1052 (jolt-invoke (var-deref "clojure.core" "__sq1") name)) (_a$1053 (jolt-invoke (var-deref "clojure.core" "__sq1") expr))) (jolt-invoke _a$1050 _a$1051 _a$1052 _a$1053))))) (jolt-invoke _a$1054 _a$1055 _a$1056 _a$1057 _a$1058))))) (jolt-invoke _a$1059 _a$1060 _a$1061 _a$1062)))))
  (mark-macro! "clojure.core" "defonce"))
(guard (e (#t #f))
  (def-var! "clojure.core" "if-not"
    (lambda (test then . G__17) (let fnrec1063 ((test test) (then then) (G__17 (list->cseq G__17))) (let* ((G__18 G__17) (_else (jolt-nth G__18 0 jolt-nil))) (let* ((_a$1067 (var-deref "clojure.core" "__sqcat")) (_a$1068 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$1069 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1064 (var-deref "clojure.core" "__sqcat")) (_a$1065 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "not"))) (_a$1066 (jolt-invoke (var-deref "clojure.core" "__sq1") test))) (jolt-invoke _a$1064 _a$1065 _a$1066)))) (_a$1070 (jolt-invoke (var-deref "clojure.core" "__sq1") then)) (_a$1071 (jolt-invoke (var-deref "clojure.core" "__sq1") _else))) (jolt-invoke _a$1067 _a$1068 _a$1069 _a$1070 _a$1071))))))
  (mark-macro! "clojure.core" "if-not"))
(guard (e (#t #f))
  (def-var! "clojure.core" "if-let"
    (lambda (bindings then . G__19) (let fnrec1072 ((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))) (let* ((_a$1088 (var-deref "clojure.core" "__sqcat")) (_a$1089 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1090 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1073 (var-deref "clojure.core" "__sqvec")) (_a$1074 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__4__auto"))) (_a$1075 (jolt-invoke (var-deref "clojure.core" "__sq1") tst))) (jolt-invoke _a$1073 _a$1074 _a$1075)))) (_a$1091 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1083 (var-deref "clojure.core" "__sqcat")) (_a$1084 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$1085 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__4__auto"))) (_a$1086 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1079 (var-deref "clojure.core" "__sqcat")) (_a$1080 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1081 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1076 (var-deref "clojure.core" "__sqvec")) (_a$1077 (jolt-invoke (var-deref "clojure.core" "__sq1") form)) (_a$1078 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__4__auto")))) (jolt-invoke _a$1076 _a$1077 _a$1078)))) (_a$1082 (jolt-invoke (var-deref "clojure.core" "__sq1") then))) (jolt-invoke _a$1079 _a$1080 _a$1081 _a$1082)))) (_a$1087 (jolt-invoke (var-deref "clojure.core" "__sq1") _else))) (jolt-invoke _a$1083 _a$1084 _a$1085 _a$1086 _a$1087))))) (jolt-invoke _a$1088 _a$1089 _a$1090 _a$1091)))))))
  (mark-macro! "clojure.core" "if-let"))
(guard (e (#t #f))
  (def-var! "clojure.core" "if-some"
    (lambda (bindings then . G__21) (let fnrec1092 ((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))) (let* ((_a$1111 (var-deref "clojure.core" "__sqcat")) (_a$1112 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1113 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1093 (var-deref "clojure.core" "__sqvec")) (_a$1094 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__5__auto"))) (_a$1095 (jolt-invoke (var-deref "clojure.core" "__sq1") tst))) (jolt-invoke _a$1093 _a$1094 _a$1095)))) (_a$1114 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1106 (var-deref "clojure.core" "__sqcat")) (_a$1107 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$1108 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1096 (var-deref "clojure.core" "__sqcat")) (_a$1097 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "some?"))) (_a$1098 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__5__auto")))) (jolt-invoke _a$1096 _a$1097 _a$1098)))) (_a$1109 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1102 (var-deref "clojure.core" "__sqcat")) (_a$1103 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1104 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1099 (var-deref "clojure.core" "__sqvec")) (_a$1100 (jolt-invoke (var-deref "clojure.core" "__sq1") form)) (_a$1101 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__5__auto")))) (jolt-invoke _a$1099 _a$1100 _a$1101)))) (_a$1105 (jolt-invoke (var-deref "clojure.core" "__sq1") then))) (jolt-invoke _a$1102 _a$1103 _a$1104 _a$1105)))) (_a$1110 (jolt-invoke (var-deref "clojure.core" "__sq1") _else))) (jolt-invoke _a$1106 _a$1107 _a$1108 _a$1109 _a$1110))))) (jolt-invoke _a$1111 _a$1112 _a$1113 _a$1114)))))))
  (mark-macro! "clojure.core" "if-some"))
(guard (e (#t #f))
  (def-var! "clojure.core" "when-some"
    (lambda (bindings . body) (let fnrec1115 ((bindings bindings) (body (list->cseq body))) (let* ((form (jolt-invoke bindings 0)) (tst (jolt-invoke bindings 1))) (let* ((_a$1134 (var-deref "clojure.core" "__sqcat")) (_a$1135 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1136 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1116 (var-deref "clojure.core" "__sqvec")) (_a$1117 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__6__auto"))) (_a$1118 (jolt-invoke (var-deref "clojure.core" "__sq1") tst))) (jolt-invoke _a$1116 _a$1117 _a$1118)))) (_a$1137 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1129 (var-deref "clojure.core" "__sqcat")) (_a$1130 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$1131 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1119 (var-deref "clojure.core" "__sqcat")) (_a$1120 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "some?"))) (_a$1121 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__6__auto")))) (jolt-invoke _a$1119 _a$1120 _a$1121)))) (_a$1132 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1125 (var-deref "clojure.core" "__sqcat")) (_a$1126 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1127 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1122 (var-deref "clojure.core" "__sqvec")) (_a$1123 (jolt-invoke (var-deref "clojure.core" "__sq1") form)) (_a$1124 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "temp__6__auto")))) (jolt-invoke _a$1122 _a$1123 _a$1124)))) (_a$1128 body)) (jolt-invoke _a$1125 _a$1126 _a$1127 _a$1128)))) (_a$1133 (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil))) (jolt-invoke _a$1129 _a$1130 _a$1131 _a$1132 _a$1133))))) (jolt-invoke _a$1134 _a$1135 _a$1136 _a$1137))))))
  (mark-macro! "clojure.core" "when-some"))
(guard (e (#t #f))
  (def-var! "clojure.core" "while"
    (lambda (test . body) (let fnrec1138 ((test test) (body (list->cseq body))) (let* ((_a$1144 (var-deref "clojure.core" "__sqcat")) (_a$1145 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "loop"))) (_a$1146 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec")))) (_a$1147 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1139 (var-deref "clojure.core" "__sqcat")) (_a$1140 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "when"))) (_a$1141 (jolt-invoke (var-deref "clojure.core" "__sq1") test)) (_a$1142 body) (_a$1143 (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 _a$1139 _a$1140 _a$1141 _a$1142 _a$1143))))) (jolt-invoke _a$1144 _a$1145 _a$1146 _a$1147)))))
  (mark-macro! "clojure.core" "while"))
(guard (e (#t #f))
  (def-var! "clojure.core" "dotimes"
    (lambda (bindings . body) (let fnrec1148 ((bindings bindings) (body (list->cseq body))) (let* ((i (jolt-invoke bindings 0)) (n (jolt-invoke bindings 1))) (let* ((_a$1174 (var-deref "clojure.core" "__sqcat")) (_a$1175 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1176 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1149 (var-deref "clojure.core" "__sqvec")) (_a$1150 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "n__7__auto"))) (_a$1151 (jolt-invoke (var-deref "clojure.core" "__sq1") n))) (jolt-invoke _a$1149 _a$1150 _a$1151)))) (_a$1177 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1170 (var-deref "clojure.core" "__sqcat")) (_a$1171 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "loop"))) (_a$1172 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1152 (var-deref "clojure.core" "__sqvec")) (_a$1153 (jolt-invoke (var-deref "clojure.core" "__sq1") i)) (_a$1154 (jolt-invoke (var-deref "clojure.core" "__sq1") 0))) (jolt-invoke _a$1152 _a$1153 _a$1154)))) (_a$1173 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1165 (var-deref "clojure.core" "__sqcat")) (_a$1166 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "when"))) (_a$1167 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1155 (var-deref "clojure.core" "__sqcat")) (_a$1156 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "<"))) (_a$1157 (jolt-invoke (var-deref "clojure.core" "__sq1") i)) (_a$1158 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "n__7__auto")))) (jolt-invoke _a$1155 _a$1156 _a$1157 _a$1158)))) (_a$1168 body) (_a$1169 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1162 (var-deref "clojure.core" "__sqcat")) (_a$1163 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "recur"))) (_a$1164 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1159 (var-deref "clojure.core" "__sqcat")) (_a$1160 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "inc"))) (_a$1161 (jolt-invoke (var-deref "clojure.core" "__sq1") i))) (jolt-invoke _a$1159 _a$1160 _a$1161))))) (jolt-invoke _a$1162 _a$1163 _a$1164))))) (jolt-invoke _a$1165 _a$1166 _a$1167 _a$1168 _a$1169))))) (jolt-invoke _a$1170 _a$1171 _a$1172 _a$1173))))) (jolt-invoke _a$1174 _a$1175 _a$1176 _a$1177))))))
  (mark-macro! "clojure.core" "dotimes"))
(guard (e (#t #f))
  (def-var! "clojure.core" "fresh-sym" (letrec ((fresh-sym (lambda () (let fnrec1178 () (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 fnrec1179 ((bindings bindings) (body (list->cseq body))) (let* ((x (jolt-invoke bindings 0)) (coll (jolt-invoke bindings 1))) (let* ((_a$1186 (var-deref "clojure.core" "__sqcat")) (_a$1187 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "when-let"))) (_a$1188 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1183 (var-deref "clojure.core" "__sqvec")) (_a$1184 (jolt-invoke (var-deref "clojure.core" "__sq1") x)) (_a$1185 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1180 (var-deref "clojure.core" "__sqcat")) (_a$1181 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "first"))) (_a$1182 (jolt-invoke (var-deref "clojure.core" "__sq1") coll))) (jolt-invoke _a$1180 _a$1181 _a$1182))))) (jolt-invoke _a$1183 _a$1184 _a$1185)))) (_a$1189 body)) (jolt-invoke _a$1186 _a$1187 _a$1188 _a$1189))))))
  (mark-macro! "clojure.core" "when-first"))
(guard (e (#t #f))
  (def-var! "clojure.core" "doto"
    (lambda (x . forms) (let fnrec1190 ((x x) (forms (list->cseq forms))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym"))) (steps (jolt-map (lambda (f) (let fnrec1191 ((f f)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") f)) (let* ((_a$1192 jolt-list) (_a$1193 (jolt-first f)) (_a$1194 g) (_a$1195 (jolt-rest f))) (jolt-apply _a$1192 _a$1193 _a$1194 _a$1195)) (jolt-list f g)))) forms))) (let* ((_a$1199 (var-deref "clojure.core" "__sqcat")) (_a$1200 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1201 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1196 (var-deref "clojure.core" "__sqvec")) (_a$1197 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$1198 (jolt-invoke (var-deref "clojure.core" "__sq1") x))) (jolt-invoke _a$1196 _a$1197 _a$1198)))) (_a$1202 steps) (_a$1203 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$1199 _a$1200 _a$1201 _a$1202 _a$1203))))))
  (mark-macro! "clojure.core" "doto"))
(guard (e (#t #f))
  (def-var! "clojure.core" "thread-binds" (letrec ((thread-binds (lambda (g steps) (let fnrec1204 ((g g) (steps steps)) (let* ((_a$1206 (lambda (acc s) (let fnrec1205 ((acc acc) (s s)) (jolt-conj (jolt-conj acc g) s)))) (_a$1207 (jolt-vector)) (_a$1208 (jolt-invoke (var-deref "clojure.core" "butlast") steps))) (jolt-reduce _a$1206 _a$1207 _a$1208)))))) thread-binds)))
(guard (e (#t #f))
  (def-var! "clojure.core" "as->"
    (lambda (expr name . forms) (let fnrec1209 ((expr expr) (name name) (forms (list->cseq forms))) (let* ((pairs (let* ((_a$1211 (lambda (acc f) (let fnrec1210 ((acc acc) (f f)) (jolt-conj (jolt-conj acc name) f)))) (_a$1212 (jolt-vector)) (_a$1213 (jolt-invoke (var-deref "clojure.core" "butlast") forms))) (jolt-reduce _a$1211 _a$1212 _a$1213)))) (let* ((_a$1218 (var-deref "clojure.core" "__sqcat")) (_a$1219 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1220 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1214 (var-deref "clojure.core" "__sqvec")) (_a$1215 (jolt-invoke (var-deref "clojure.core" "__sq1") name)) (_a$1216 (jolt-invoke (var-deref "clojure.core" "__sq1") expr)) (_a$1217 pairs)) (jolt-invoke _a$1214 _a$1215 _a$1216 _a$1217)))) (_a$1221 (jolt-invoke (var-deref "clojure.core" "__sq1") (if (jolt-empty? forms) name (jolt-last forms))))) (jolt-invoke _a$1218 _a$1219 _a$1220 _a$1221))))))
  (mark-macro! "clojure.core" "as->"))
(guard (e (#t #f))
  (def-var! "clojure.core" "some->"
    (lambda (expr . forms) (let fnrec1222 ((expr expr) (forms (list->cseq forms))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym"))) (steps (jolt-map (lambda (f) (let fnrec1223 ((f f)) (let* ((_a$1231 (var-deref "clojure.core" "__sqcat")) (_a$1232 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$1233 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1224 (var-deref "clojure.core" "__sqcat")) (_a$1225 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "nil?"))) (_a$1226 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$1224 _a$1225 _a$1226)))) (_a$1234 (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil)) (_a$1235 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1227 (var-deref "clojure.core" "__sqcat")) (_a$1228 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->"))) (_a$1229 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$1230 (jolt-invoke (var-deref "clojure.core" "__sq1") f))) (jolt-invoke _a$1227 _a$1228 _a$1229 _a$1230))))) (jolt-invoke _a$1231 _a$1232 _a$1233 _a$1234 _a$1235)))) forms))) (let* ((_a$1240 (var-deref "clojure.core" "__sqcat")) (_a$1241 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1242 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1236 (var-deref "clojure.core" "__sqvec")) (_a$1237 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$1238 (jolt-invoke (var-deref "clojure.core" "__sq1") expr)) (_a$1239 (jolt-invoke (var-deref "clojure.core" "thread-binds") g steps))) (jolt-invoke _a$1236 _a$1237 _a$1238 _a$1239)))) (_a$1243 (jolt-invoke (var-deref "clojure.core" "__sq1") (if (jolt-empty? steps) g (jolt-last steps))))) (jolt-invoke _a$1240 _a$1241 _a$1242 _a$1243))))))
  (mark-macro! "clojure.core" "some->"))
(guard (e (#t #f))
  (def-var! "clojure.core" "some->>"
    (lambda (expr . forms) (let fnrec1244 ((expr expr) (forms (list->cseq forms))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym"))) (steps (jolt-map (lambda (f) (let fnrec1245 ((f f)) (let* ((_a$1253 (var-deref "clojure.core" "__sqcat")) (_a$1254 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$1255 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1246 (var-deref "clojure.core" "__sqcat")) (_a$1247 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "nil?"))) (_a$1248 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$1246 _a$1247 _a$1248)))) (_a$1256 (jolt-invoke (var-deref "clojure.core" "__sq1") jolt-nil)) (_a$1257 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1249 (var-deref "clojure.core" "__sqcat")) (_a$1250 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->>"))) (_a$1251 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$1252 (jolt-invoke (var-deref "clojure.core" "__sq1") f))) (jolt-invoke _a$1249 _a$1250 _a$1251 _a$1252))))) (jolt-invoke _a$1253 _a$1254 _a$1255 _a$1256 _a$1257)))) forms))) (let* ((_a$1262 (var-deref "clojure.core" "__sqcat")) (_a$1263 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1264 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1258 (var-deref "clojure.core" "__sqvec")) (_a$1259 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$1260 (jolt-invoke (var-deref "clojure.core" "__sq1") expr)) (_a$1261 (jolt-invoke (var-deref "clojure.core" "thread-binds") g steps))) (jolt-invoke _a$1258 _a$1259 _a$1260 _a$1261)))) (_a$1265 (jolt-invoke (var-deref "clojure.core" "__sq1") (if (jolt-empty? steps) g (jolt-last steps))))) (jolt-invoke _a$1262 _a$1263 _a$1264 _a$1265))))))
  (mark-macro! "clojure.core" "some->>"))
(guard (e (#t #f))
  (def-var! "clojure.core" "cond->>"
    (lambda (expr . clauses) (let fnrec1266 ((expr expr) (clauses (list->cseq clauses))) (let* ((g (jolt-invoke (var-deref "clojure.core" "fresh-sym"))) (steps (let* ((_a$1277 (lambda (pair) (let fnrec1267 ((pair pair)) (let* ((_a$1272 (var-deref "clojure.core" "__sqcat")) (_a$1273 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$1274 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first pair))) (_a$1275 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1268 (var-deref "clojure.core" "__sqcat")) (_a$1269 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "->>"))) (_a$1270 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$1271 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "second") pair)))) (jolt-invoke _a$1268 _a$1269 _a$1270 _a$1271)))) (_a$1276 (jolt-invoke (var-deref "clojure.core" "__sq1") g))) (jolt-invoke _a$1272 _a$1273 _a$1274 _a$1275 _a$1276))))) (_a$1278 (jolt-invoke (var-deref "clojure.core" "partition") 2 clauses))) (jolt-map _a$1277 _a$1278)))) (let* ((_a$1283 (var-deref "clojure.core" "__sqcat")) (_a$1284 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1285 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1279 (var-deref "clojure.core" "__sqvec")) (_a$1280 (jolt-invoke (var-deref "clojure.core" "__sq1") g)) (_a$1281 (jolt-invoke (var-deref "clojure.core" "__sq1") expr)) (_a$1282 (jolt-invoke (var-deref "clojure.core" "thread-binds") g steps))) (jolt-invoke _a$1279 _a$1280 _a$1281 _a$1282)))) (_a$1286 (jolt-invoke (var-deref "clojure.core" "__sq1") (if (jolt-empty? steps) g (jolt-last steps))))) (jolt-invoke _a$1283 _a$1284 _a$1285 _a$1286))))))
  (mark-macro! "clojure.core" "cond->>"))
(guard (e (#t #f))
  (def-var! "clojure.core" "assert"
    (lambda (x . G__23) (let fnrec1287 ((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))))) (let* ((_a$1295 (var-deref "clojure.core" "__sqcat")) (_a$1296 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "when-not"))) (_a$1297 (jolt-invoke (var-deref "clojure.core" "__sq1") x)) (_a$1298 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1292 (var-deref "clojure.core" "__sqcat")) (_a$1293 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "throw"))) (_a$1294 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1288 (var-deref "clojure.core" "__sqcat")) (_a$1289 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "ex-info"))) (_a$1290 (jolt-invoke (var-deref "clojure.core" "__sq1") msg)) (_a$1291 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqmap"))))) (jolt-invoke _a$1288 _a$1289 _a$1290 _a$1291))))) (jolt-invoke _a$1292 _a$1293 _a$1294))))) (jolt-invoke _a$1295 _a$1296 _a$1297 _a$1298)))))))
  (mark-macro! "clojure.core" "assert"))
(guard (e (#t #f))
  (def-var! "clojure.core" "pvalues"
    (lambda exprs (let fnrec1299 ((exprs (list->cseq exprs))) (let* ((_a$1305 (var-deref "clojure.core" "__sqcat")) (_a$1306 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "pcalls"))) (_a$1307 (jolt-map (lambda (e) (let fnrec1300 ((e e)) (let* ((_a$1301 (var-deref "clojure.core" "__sqcat")) (_a$1302 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$1303 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec")))) (_a$1304 (jolt-invoke (var-deref "clojure.core" "__sq1") e))) (jolt-invoke _a$1301 _a$1302 _a$1303 _a$1304)))) exprs))) (jolt-invoke _a$1305 _a$1306 _a$1307)))))
  (mark-macro! "clojure.core" "pvalues"))
(guard (e (#t #f))
  (def-var! "clojure.core" "delay"
    (lambda body (let fnrec1308 ((body (list->cseq body))) (let* ((_a$1313 (var-deref "clojure.core" "__sqcat")) (_a$1314 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-delay"))) (_a$1315 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1309 (var-deref "clojure.core" "__sqcat")) (_a$1310 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$1311 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec")))) (_a$1312 body)) (jolt-invoke _a$1309 _a$1310 _a$1311 _a$1312))))) (jolt-invoke _a$1313 _a$1314 _a$1315)))))
  (mark-macro! "clojure.core" "delay"))
(guard (e (#t #f))
  (def-var! "clojure.core" "future"
    (lambda body (let fnrec1316 ((body (list->cseq body))) (let* ((_a$1321 (var-deref "clojure.core" "__sqcat")) (_a$1322 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "future-call"))) (_a$1323 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1317 (var-deref "clojure.core" "__sqcat")) (_a$1318 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$1319 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec")))) (_a$1320 body)) (jolt-invoke _a$1317 _a$1318 _a$1319 _a$1320))))) (jolt-invoke _a$1321 _a$1322 _a$1323)))))
  (mark-macro! "clojure.core" "future"))
(guard (e (#t #f))
  (def-var! "clojure.core" "binding"
    (lambda (bindings . body) (let fnrec1324 ((bindings bindings) (body (list->cseq body))) (let* ((pairs (let* ((_a$1331 (lambda (acc p) (let fnrec1325 ((acc acc) (p p)) (let* ((_a$1329 (jolt-conj acc (let* ((_a$1326 (var-deref "clojure.core" "__sqcat")) (_a$1327 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "var"))) (_a$1328 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first p)))) (jolt-invoke _a$1326 _a$1327 _a$1328)))) (_a$1330 (jolt-invoke (var-deref "clojure.core" "second") p))) (jolt-conj _a$1329 _a$1330))))) (_a$1332 (jolt-vector)) (_a$1333 (jolt-invoke (var-deref "clojure.core" "partition") 2 bindings))) (jolt-reduce _a$1331 _a$1332 _a$1333)))) (let* ((_a$1347 (var-deref "clojure.core" "__sqcat")) (_a$1348 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "let*"))) (_a$1349 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1334 (var-deref "clojure.core" "__sqvec")) (_a$1335 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "frame__8__auto"))) (_a$1336 (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 _a$1334 _a$1335 _a$1336)))) (_a$1350 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1337 (var-deref "clojure.core" "__sqcat")) (_a$1338 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "push-thread-bindings"))) (_a$1339 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "frame__8__auto")))) (jolt-invoke _a$1337 _a$1338 _a$1339)))) (_a$1351 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1343 (var-deref "clojure.core" "__sqcat")) (_a$1344 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "try"))) (_a$1345 (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))) (_a$1346 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1340 (var-deref "clojure.core" "__sqcat")) (_a$1341 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "finally"))) (_a$1342 (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")))))) (jolt-invoke _a$1340 _a$1341 _a$1342))))) (jolt-invoke _a$1343 _a$1344 _a$1345 _a$1346))))) (jolt-invoke _a$1347 _a$1348 _a$1349 _a$1350 _a$1351))))))
  (mark-macro! "clojure.core" "binding"))
(guard (e (#t #f))
  (def-var! "clojure.core" "condp"
    (lambda (pred expr . clauses) (let fnrec1352 ((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 fnrec1353 ((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) (let* ((_a$1362 (var-deref "clojure.core" "__sqcat")) (_a$1363 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "throw"))) (_a$1364 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1358 (var-deref "clojure.core" "__sqcat")) (_a$1359 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "ex-info"))) (_a$1360 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1354 (var-deref "clojure.core" "__sqcat")) (_a$1355 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "str"))) (_a$1356 (jolt-invoke (var-deref "clojure.core" "__sq1") "No matching clause: ")) (_a$1357 (jolt-invoke (var-deref "clojure.core" "__sq1") ge))) (jolt-invoke _a$1354 _a$1355 _a$1356 _a$1357)))) (_a$1361 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqmap"))))) (jolt-invoke _a$1358 _a$1359 _a$1360 _a$1361))))) (jolt-invoke _a$1362 _a$1363 _a$1364)) (if (jolt= 1 cn) (jolt-first clause) (if (jolt= 2 cn) (let* ((_a$1369 (var-deref "clojure.core" "__sqcat")) (_a$1370 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "if"))) (_a$1371 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1365 (var-deref "clojure.core" "__sqcat")) (_a$1366 (jolt-invoke (var-deref "clojure.core" "__sq1") gp)) (_a$1367 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first clause))) (_a$1368 (jolt-invoke (var-deref "clojure.core" "__sq1") ge))) (jolt-invoke _a$1365 _a$1366 _a$1367 _a$1368)))) (_a$1372 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "second") clause))) (_a$1373 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke emit more)))) (jolt-invoke _a$1369 _a$1370 _a$1371 _a$1372 _a$1373)) (if (jolt-truthy? (keyword #f "else")) (let* ((_a$1384 (var-deref "clojure.core" "__sqcat")) (_a$1385 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "if-let"))) (_a$1386 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1378 (var-deref "clojure.core" "__sqvec")) (_a$1379 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "p__9__auto"))) (_a$1380 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1374 (var-deref "clojure.core" "__sqcat")) (_a$1375 (jolt-invoke (var-deref "clojure.core" "__sq1") gp)) (_a$1376 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first clause))) (_a$1377 (jolt-invoke (var-deref "clojure.core" "__sq1") ge))) (jolt-invoke _a$1374 _a$1375 _a$1376 _a$1377))))) (jolt-invoke _a$1378 _a$1379 _a$1380)))) (_a$1387 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1381 (var-deref "clojure.core" "__sqcat")) (_a$1382 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth clause 2))) (_a$1383 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "p__9__auto")))) (jolt-invoke _a$1381 _a$1382 _a$1383)))) (_a$1388 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke emit more)))) (jolt-invoke _a$1384 _a$1385 _a$1386 _a$1387 _a$1388)) jolt-nil))))))))) emit))) (let* ((_a$1394 (var-deref "clojure.core" "__sqcat")) (_a$1395 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1396 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1389 (var-deref "clojure.core" "__sqvec")) (_a$1390 (jolt-invoke (var-deref "clojure.core" "__sq1") gp)) (_a$1391 (jolt-invoke (var-deref "clojure.core" "__sq1") pred)) (_a$1392 (jolt-invoke (var-deref "clojure.core" "__sq1") ge)) (_a$1393 (jolt-invoke (var-deref "clojure.core" "__sq1") expr))) (jolt-invoke _a$1389 _a$1390 _a$1391 _a$1392 _a$1393)))) (_a$1397 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke emit clauses)))) (jolt-invoke _a$1394 _a$1395 _a$1396 _a$1397))))))
  (mark-macro! "clojure.core" "condp"))
(guard (e (#t #f))
  (def-var! "clojure.core" "group-by-head" (letrec ((group-by-head (lambda (items) (let fnrec1398 ((items items)) (let* ((_a$1402 (lambda (acc x) (let fnrec1399 ((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)) (let* ((_a$1400 (jolt-pop acc)) (_a$1401 (jolt-conj (jolt-peek acc) x))) (jolt-conj _a$1400 _a$1401)))))) (_a$1403 (jolt-vector)) (_a$1404 items)) (jolt-reduce _a$1402 _a$1403 _a$1404)))))) group-by-head)))
(guard (e (#t #f))
  (def-var! "clojure.core" "deftype"
    (lambda (tname fields . body) (let fnrec1405 ((tname tname) (fields fields) (body (list->cseq body))) (let* ((unwrap (lambda (x) (let fnrec1406 ((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 fnrec1407 ((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 fnrec1408 ((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 fnrec1409 ((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)) (mutable-syms (jolt-map jolt-first (jolt-filter (var-deref "clojure.core" "second") (jolt-map jolt-vector fields field-muts)))) (mutable? (lambda (s) (let fnrec1410 ((s s)) (jolt-invoke (var-deref "clojure.core" "boolean") (jolt-invoke (var-deref "clojure.core" "some") (lambda (m) (let fnrec1411 ((m m)) (jolt= m s))) mutable-syms))))) (rewrite-set (letrec ((rw (lambda (inst form) (let fnrec1412 ((inst inst) (form form)) (if (jolt-truthy? (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "seq?") form))) (if (jolt-truthy? and__13__auto) (let* ((and__13__auto (jolt-seq form))) (if (jolt-truthy? and__13__auto) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "symbol?") (jolt-first form)))) (if (jolt-truthy? and__13__auto) (let* ((and__13__auto (jolt= "set!" (jolt-invoke (var-deref "clojure.core" "name") (jolt-first form))))) (if (jolt-truthy? and__13__auto) (let* ((and__13__auto (jolt-invoke (var-deref "clojure.core" "symbol?") (jolt-invoke (var-deref "clojure.core" "second") form)))) (if (jolt-truthy? and__13__auto) (jolt-invoke mutable? (jolt-invoke (var-deref "clojure.core" "second") form)) and__13__auto)) and__13__auto)) and__13__auto)) and__13__auto)) and__13__auto))) (let* ((_a$1413 (jolt-symbol #f "set!")) (_a$1414 (jolt-list (jolt-invoke (var-deref "clojure.core" "symbol") (jolt-invoke (var-deref "clojure.core" "str") ".-" (jolt-invoke (var-deref "clojure.core" "name") (jolt-invoke (var-deref "clojure.core" "second") form)))) inst)) (_a$1415 (jolt-invoke rw inst (jolt-nth form 2)))) (jolt-list _a$1413 _a$1414 _a$1415)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") form)) (jolt-map (lambda (x) (let fnrec1416 ((x x)) (jolt-invoke rw inst x))) form) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") form)) (jolt-invoke (var-deref "clojure.core" "mapv") (lambda (x) (let fnrec1417 ((x x)) (jolt-invoke rw inst x))) form) (if (jolt-truthy? (keyword #f "else")) form jolt-nil)))))))) rw)) (impl (lambda (proto specs) (let fnrec1418 ((proto proto) (specs specs)) (let* ((_a$1444 (var-deref "clojure.core" "__sqcat")) (_a$1445 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$1446 (jolt-map (lambda (spec) (let fnrec1419 ((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 fnrec1420 ((f f)) (let* ((_o$1425 f) (_o$1426 (let* ((_a$1421 (var-deref "clojure.core" "__sqcat")) (_a$1422 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get"))) (_a$1423 (jolt-invoke (var-deref "clojure.core" "__sq1") inst)) (_a$1424 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") f))))) (jolt-invoke _a$1421 _a$1422 _a$1423 _a$1424)))) (jolt-vector _o$1425 _o$1426)))) fields))) (mbody (let* ((_a$1428 (lambda (bf) (let fnrec1427 ((bf bf)) (jolt-invoke rewrite-set inst bf)))) (_a$1429 (jolt-drop 2 spec))) (jolt-map _a$1428 _a$1429)))) (let* ((_a$1438 (var-deref "clojure.core" "__sqcat")) (_a$1439 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "register-inline-method"))) (_a$1440 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") tname))) (_a$1441 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") proto))) (_a$1442 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first spec)))) (_a$1443 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1434 (var-deref "clojure.core" "__sqcat")) (_a$1435 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$1436 (jolt-invoke (var-deref "clojure.core" "__sq1") argv)) (_a$1437 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1430 (var-deref "clojure.core" "__sqcat")) (_a$1431 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1432 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") binds))) (_a$1433 mbody)) (jolt-invoke _a$1430 _a$1431 _a$1432 _a$1433))))) (jolt-invoke _a$1434 _a$1435 _a$1436 _a$1437))))) (jolt-invoke _a$1438 _a$1439 _a$1440 _a$1441 _a$1442 _a$1443))))) specs))) (jolt-invoke _a$1444 _a$1445 _a$1446)))))) (let* ((_a$1470 (var-deref "clojure.core" "__sqcat")) (_a$1471 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$1472 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1456 (var-deref "clojure.core" "__sqcat")) (_a$1457 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def"))) (_a$1458 (jolt-invoke (var-deref "clojure.core" "__sq1") tname)) (_a$1459 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1450 (var-deref "clojure.core" "__sqcat")) (_a$1451 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-deftype-ctor"))) (_a$1452 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1447 (var-deref "clojure.core" "__sqcat")) (_a$1448 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$1449 (jolt-invoke (var-deref "clojure.core" "__sq1") tname))) (jolt-invoke _a$1447 _a$1448 _a$1449)))) (_a$1453 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") field-kws))) (_a$1454 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") field-tags))) (_a$1455 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") field-muts)))) (jolt-invoke _a$1450 _a$1451 _a$1452 _a$1453 _a$1454 _a$1455))))) (jolt-invoke _a$1456 _a$1457 _a$1458 _a$1459)))) (_a$1473 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1460 (var-deref "clojure.core" "__sqcat")) (_a$1461 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def"))) (_a$1462 (jolt-invoke (var-deref "clojure.core" "__sq1") arrow)) (_a$1463 (jolt-invoke (var-deref "clojure.core" "__sq1") tname))) (jolt-invoke _a$1460 _a$1461 _a$1462 _a$1463)))) (_a$1474 (let* ((_a$1468 (lambda (g) (let fnrec1464 ((g g)) (let* ((_a$1465 impl) (_a$1466 (jolt-first g)) (_a$1467 (jolt-rest g))) (jolt-invoke _a$1465 _a$1466 _a$1467))))) (_a$1469 (jolt-invoke (var-deref "clojure.core" "group-by-head") body))) (jolt-map _a$1468 _a$1469))) (_a$1475 (jolt-invoke (var-deref "clojure.core" "__sq1") tname))) (jolt-invoke _a$1470 _a$1471 _a$1472 _a$1473 _a$1474 _a$1475))))))
  (mark-macro! "clojure.core" "deftype"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defprotocol"
    (lambda (pname . sigs) (let fnrec1476 ((pname pname) (sigs (list->cseq sigs))) (let* ((sigs (let* ((s sigs)) (let loop1477 ((s s)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "string?") (jolt-first s))) (loop1477 (jolt-rest s)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "keyword?") (jolt-first s))) (loop1477 (jolt-rest (jolt-rest s))) (if (jolt-truthy? (keyword #f "else")) s jolt-nil)))))) (methods (let* ((_a$1484 (lambda (m sig) (let fnrec1478 ((m m) (sig sig)) (let* ((_a$1481 m) (_a$1482 (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first sig)))) (_a$1483 (let* ((_o$1479 (keyword #f "name")) (_o$1480 (jolt-invoke (var-deref "clojure.core" "name") (jolt-first sig)))) (jolt-hash-map _o$1479 _o$1480)))) (jolt-assoc _a$1481 _a$1482 _a$1483))))) (_a$1485 (jolt-hash-map)) (_a$1486 sigs)) (jolt-reduce _a$1484 _a$1485 _a$1486)))) (let* ((_a$1519 (var-deref "clojure.core" "__sqcat")) (_a$1520 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$1521 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1491 (var-deref "clojure.core" "__sqcat")) (_a$1492 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def"))) (_a$1493 (jolt-invoke (var-deref "clojure.core" "__sq1") pname)) (_a$1494 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1487 (var-deref "clojure.core" "__sqcat")) (_a$1488 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-protocol"))) (_a$1489 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") pname))) (_a$1490 (jolt-invoke (var-deref "clojure.core" "__sq1") methods))) (jolt-invoke _a$1487 _a$1488 _a$1489 _a$1490))))) (jolt-invoke _a$1491 _a$1492 _a$1493 _a$1494)))) (_a$1522 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1496 (var-deref "clojure.core" "__sqcat")) (_a$1497 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "register-protocol-methods!"))) (_a$1498 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") pname))) (_a$1499 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-map (lambda (s) (let fnrec1495 ((s s)) (jolt-invoke (var-deref "clojure.core" "name") (jolt-first s)))) sigs))))) (jolt-invoke _a$1496 _a$1497 _a$1498 _a$1499)))) (_a$1523 (jolt-map (lambda (sig) (let fnrec1500 ((sig sig)) (let* ((_a$1515 (var-deref "clojure.core" "__sqcat")) (_a$1516 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def"))) (_a$1517 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first sig))) (_a$1518 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1511 (var-deref "clojure.core" "__sqcat")) (_a$1512 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*"))) (_a$1513 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1501 (var-deref "clojure.core" "__sqvec")) (_a$1502 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "this__11__auto"))) (_a$1503 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "&"))) (_a$1504 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "rest__10__auto")))) (jolt-invoke _a$1501 _a$1502 _a$1503 _a$1504)))) (_a$1514 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1505 (var-deref "clojure.core" "__sqcat")) (_a$1506 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "protocol-dispatch"))) (_a$1507 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") pname))) (_a$1508 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first sig)))) (_a$1509 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "this__11__auto"))) (_a$1510 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "rest__10__auto")))) (jolt-invoke _a$1505 _a$1506 _a$1507 _a$1508 _a$1509 _a$1510))))) (jolt-invoke _a$1511 _a$1512 _a$1513 _a$1514))))) (jolt-invoke _a$1515 _a$1516 _a$1517 _a$1518)))) sigs))) (jolt-invoke _a$1519 _a$1520 _a$1521 _a$1522 _a$1523))))))
  (mark-macro! "clojure.core" "defprotocol"))
(guard (e (#t #f))
  (def-var! "clojure.core" ".."
    (lambda (x form . more) (let fnrec1524 ((x x) (form form) (more (list->cseq more))) (let* ((step (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "seq?") form)) (let* ((_a$1525 (var-deref "clojure.core" "__sqcat")) (_a$1526 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "."))) (_a$1527 (jolt-invoke (var-deref "clojure.core" "__sq1") x)) (_a$1528 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first form))) (_a$1529 (jolt-rest form))) (jolt-invoke _a$1525 _a$1526 _a$1527 _a$1528 _a$1529)) (let* ((_a$1530 (var-deref "clojure.core" "__sqcat")) (_a$1531 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "."))) (_a$1532 (jolt-invoke (var-deref "clojure.core" "__sq1") x)) (_a$1533 (jolt-invoke (var-deref "clojure.core" "__sq1") form))) (jolt-invoke _a$1530 _a$1531 _a$1532 _a$1533))))) (if (jolt-truthy? (jolt-seq more)) (let* ((_a$1534 (var-deref "clojure.core" "__sqcat")) (_a$1535 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" ".."))) (_a$1536 (jolt-invoke (var-deref "clojure.core" "__sq1") step)) (_a$1537 more)) (jolt-invoke _a$1534 _a$1535 _a$1536 _a$1537)) step)))))
  (mark-macro! "clojure.core" ".."))
(guard (e (#t #f))
  (def-var! "clojure.core" "extends?" (letrec ((extends? (lambda (protocol atype) (let fnrec1538 ((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") (let* ((_a$1540 (var-deref "clojure.core" "some")) (_a$1541 (lambda (t) (let fnrec1539 ((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)))))))) (_a$1542 (jolt-invoke (var-deref "clojure.core" "extenders") protocol))) (jolt-invoke _a$1540 _a$1541 _a$1542)))))))) extends?)))
(guard (e (#t #f))
  (def-var! "clojure.core" "extend" (letrec ((extend (lambda (atype . proto+mmaps) (let fnrec1543 ((atype atype) (proto+mmaps (list->cseq proto+mmaps))) (let* ((s (jolt-seq proto+mmaps))) (let loop1544 ((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 fnrec1545 ((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 (let* ((_a$1546 (var-deref "clojure.core" "register-method")) (_a$1547 (jolt-invoke (var-deref "clojure.core" "name") atype)) (_a$1548 pname) (_a$1549 (jolt-invoke (var-deref "clojure.core" "name") k)) (_a$1550 f)) (jolt-invoke _a$1546 _a$1547 _a$1548 _a$1549 _a$1550)) jolt-nil)))) mmap)) jolt-nil)) (loop1544 (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 fnrec1551 ((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 loop1552 ((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)) (let* ((_a$1553 (jolt-rest items)) (_a$1554 (jolt-invoke (var-deref "clojure.core" "name") x)) (_a$1555 forms)) (loop1552 _a$1553 _a$1554 _a$1555)) (let* ((_a$1566 (jolt-rest items)) (_a$1567 proto) (_a$1568 (jolt-conj forms (let* ((_a$1560 (var-deref "clojure.core" "__sqcat")) (_a$1561 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "register-method"))) (_a$1562 (jolt-invoke (var-deref "clojure.core" "__sq1") tname)) (_a$1563 (jolt-invoke (var-deref "clojure.core" "__sq1") proto)) (_a$1564 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first x)))) (_a$1565 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1556 (var-deref "clojure.core" "__sqcat")) (_a$1557 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$1558 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth x 1))) (_a$1559 (jolt-drop 2 x))) (jolt-invoke _a$1556 _a$1557 _a$1558 _a$1559))))) (jolt-invoke _a$1560 _a$1561 _a$1562 _a$1563 _a$1564 _a$1565))))) (loop1552 _a$1566 _a$1567 _a$1568)))))))))))
  (mark-macro! "clojure.core" "extend-type"))
(guard (e (#t #f))
  (def-var! "clojure.core" "extend-protocol"
    (lambda (psym . type-impls) (let fnrec1569 ((psym psym) (type-impls (list->cseq type-impls))) (let* ((_a$1578 (var-deref "clojure.core" "__sqcat")) (_a$1579 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$1580 (let* ((_a$1576 (lambda (g) (let fnrec1570 ((g g)) (let* ((_a$1571 (var-deref "clojure.core" "__sqcat")) (_a$1572 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "extend-type"))) (_a$1573 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-first g))) (_a$1574 (jolt-invoke (var-deref "clojure.core" "__sq1") psym)) (_a$1575 (jolt-rest g))) (jolt-invoke _a$1571 _a$1572 _a$1573 _a$1574 _a$1575))))) (_a$1577 (jolt-invoke (var-deref "clojure.core" "group-by-head") type-impls))) (jolt-map _a$1576 _a$1577)))) (jolt-invoke _a$1578 _a$1579 _a$1580)))))
  (mark-macro! "clojure.core" "extend-protocol"))
(guard (e (#t #f))
  (def-var! "clojure.core" "proxy"
    (lambda args (let fnrec1581 ((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 fnrec1582 ((name-sym name-sym) (body (list->cseq body))) (let* ((_a$1590 (var-deref "clojure.core" "__sqcat")) (_a$1591 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$1592 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1583 (var-deref "clojure.core" "__sqcat")) (_a$1584 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def"))) (_a$1585 (jolt-invoke (var-deref "clojure.core" "__sq1") name-sym)) (_a$1586 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqmap"))))) (jolt-invoke _a$1583 _a$1584 _a$1585 _a$1586)))) (_a$1593 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1587 (var-deref "clojure.core" "__sqcat")) (_a$1588 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "quote"))) (_a$1589 (jolt-invoke (var-deref "clojure.core" "__sq1") name-sym))) (jolt-invoke _a$1587 _a$1588 _a$1589))))) (jolt-invoke _a$1590 _a$1591 _a$1592 _a$1593)))))
  (mark-macro! "clojure.core" "definterface"))
(guard (e (#t #f))
  (def-var! "clojure.core" "reify"
    (lambda forms (let fnrec1594 ((forms (list->cseq forms))) (let* ((items (jolt-seq forms)) (protos (jolt-vector)) (methods (jolt-hash-map))) (let loop1595 ((items items) (protos protos) (methods methods)) (if (jolt-empty? items) (let* ((_a$1596 (var-deref "clojure.core" "__sqcat")) (_a$1597 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "make-reified"))) (_a$1598 (jolt-invoke (var-deref "clojure.core" "__sq1") methods)) (_a$1599 (jolt-invoke (var-deref "clojure.core" "vec") (jolt-map (var-deref "clojure.core" "name") protos)))) (jolt-invoke _a$1596 _a$1597 _a$1598 _a$1599)) (let* ((x (jolt-first items))) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "symbol?") x)) (let* ((_a$1600 (jolt-rest items)) (_a$1601 (jolt-conj protos x)) (_a$1602 methods)) (loop1595 _a$1600 _a$1601 _a$1602)) (let* ((_a$1610 (jolt-rest items)) (_a$1611 protos) (_a$1612 (let* ((_a$1607 methods) (_a$1608 (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first x)))) (_a$1609 (let* ((_a$1603 (var-deref "clojure.core" "__sqcat")) (_a$1604 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$1605 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-nth x 1))) (_a$1606 (jolt-drop 2 x))) (jolt-invoke _a$1603 _a$1604 _a$1605 _a$1606)))) (jolt-assoc _a$1607 _a$1608 _a$1609)))) (loop1595 _a$1610 _a$1611 _a$1612))))))))))
  (mark-macro! "clojure.core" "reify"))
(guard (e (#t #f))
  (def-var! "clojure.core" "defrecord"
    (lambda (name-sym fields . body) (let fnrec1613 ((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 fnrec1614 ((proto proto) (specs specs)) (let* ((_a$1637 (var-deref "clojure.core" "__sqcat")) (_a$1638 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$1639 (jolt-map (lambda (spec) (let fnrec1615 ((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 fnrec1616 ((f f)) (let* ((_o$1621 f) (_o$1622 (let* ((_a$1617 (var-deref "clojure.core" "__sqcat")) (_a$1618 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get"))) (_a$1619 (jolt-invoke (var-deref "clojure.core" "__sq1") inst)) (_a$1620 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") f))))) (jolt-invoke _a$1617 _a$1618 _a$1619 _a$1620)))) (jolt-vector _o$1621 _o$1622)))) fields)))) (let* ((_a$1631 (var-deref "clojure.core" "__sqcat")) (_a$1632 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "register-inline-method"))) (_a$1633 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") name-sym))) (_a$1634 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") proto))) (_a$1635 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "name") (jolt-first spec)))) (_a$1636 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1627 (var-deref "clojure.core" "__sqcat")) (_a$1628 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$1629 (jolt-invoke (var-deref "clojure.core" "__sq1") hinted)) (_a$1630 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1623 (var-deref "clojure.core" "__sqcat")) (_a$1624 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "let"))) (_a$1625 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") binds))) (_a$1626 (jolt-drop 2 spec))) (jolt-invoke _a$1623 _a$1624 _a$1625 _a$1626))))) (jolt-invoke _a$1627 _a$1628 _a$1629 _a$1630))))) (jolt-invoke _a$1631 _a$1632 _a$1633 _a$1634 _a$1635 _a$1636))))) specs))) (jolt-invoke _a$1637 _a$1638 _a$1639)))))) (let* ((_a$1666 (var-deref "clojure.core" "__sqcat")) (_a$1667 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$1668 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1640 (var-deref "clojure.core" "__sqcat")) (_a$1641 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "deftype"))) (_a$1642 (jolt-invoke (var-deref "clojure.core" "__sq1") name-sym)) (_a$1643 (jolt-invoke (var-deref "clojure.core" "__sq1") fields))) (jolt-invoke _a$1640 _a$1641 _a$1642 _a$1643)))) (_a$1669 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1656 (var-deref "clojure.core" "__sqcat")) (_a$1657 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "def"))) (_a$1658 (jolt-invoke (var-deref "clojure.core" "__sq1") mapf)) (_a$1659 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1652 (var-deref "clojure.core" "__sqcat")) (_a$1653 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "fn*"))) (_a$1654 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "__sqvec") (jolt-invoke (var-deref "clojure.core" "__sq1") m)))) (_a$1655 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1649 (var-deref "clojure.core" "__sqcat")) (_a$1650 (jolt-invoke (var-deref "clojure.core" "__sq1") arrow)) (_a$1651 (jolt-map (lambda (f) (let fnrec1644 ((f f)) (let* ((_a$1645 (var-deref "clojure.core" "__sqcat")) (_a$1646 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "get"))) (_a$1647 (jolt-invoke (var-deref "clojure.core" "__sq1") m)) (_a$1648 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-invoke (var-deref "clojure.core" "keyword") (jolt-invoke (var-deref "clojure.core" "name") f))))) (jolt-invoke _a$1645 _a$1646 _a$1647 _a$1648)))) fields))) (jolt-invoke _a$1649 _a$1650 _a$1651))))) (jolt-invoke _a$1652 _a$1653 _a$1654 _a$1655))))) (jolt-invoke _a$1656 _a$1657 _a$1658 _a$1659)))) (_a$1670 (let* ((_a$1664 (lambda (g) (let fnrec1660 ((g g)) (let* ((_a$1661 impl) (_a$1662 (jolt-first g)) (_a$1663 (jolt-rest g))) (jolt-invoke _a$1661 _a$1662 _a$1663))))) (_a$1665 (jolt-invoke (var-deref "clojure.core" "group-by-head") body))) (jolt-map _a$1664 _a$1665)))) (jolt-invoke _a$1666 _a$1667 _a$1668 _a$1669 _a$1670))))))
  (mark-macro! "clojure.core" "defrecord"))
(guard (e (#t #f))
  (def-var! "clojure.core" "memfn"
    (lambda (method-name . args) (let fnrec1671 ((method-name method-name) (args (list->cseq args))) (let* ((_a$1676 (var-deref "clojure.core" "__sqcat")) (_a$1677 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "fn"))) (_a$1678 (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))) (_a$1679 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$1672 (var-deref "clojure.core" "__sqcat")) (_a$1673 (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))))) (_a$1674 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "target__12__auto"))) (_a$1675 args)) (jolt-invoke _a$1672 _a$1673 _a$1674 _a$1675))))) (jolt-invoke _a$1676 _a$1677 _a$1678 _a$1679)))))
  (mark-macro! "clojure.core" "memfn"))
(guard (e (#t #f))
  (def-var! "clojure.core" "distinct" (letrec ((distinct (case-lambda (() (let fnrec173 () (lambda (rf) (let fnrec174 ((rf rf)) (let* ((seen (jolt-invoke (var-deref "clojure.core" "volatile!") (jolt-hash-set)))) (case-lambda (() (let fnrec175 () (jolt-invoke rf))) ((result) (let fnrec176 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec177 ((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 fnrec178 ((coll coll)) (let* ((step (letrec ((step (lambda (xs seen) (let fnrec179 ((xs xs) (seen seen)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec180 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-invoke (lambda (G__13 seen) (let fnrec181 ((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) (fnrec181 (jolt-rest s) seen) (jolt-cons f (let* ((_a$182 step) (_a$183 (jolt-rest s)) (_a$184 (jolt-conj seen f))) (jolt-invoke _a$182 _a$183 _a$184))))) 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 fnrec185 ((f f)) (lambda (rf) (let fnrec186 ((rf rf)) (case-lambda (() (let fnrec187 () (jolt-invoke rf))) ((result) (let fnrec188 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec189 ((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 fnrec190 ((f f) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec191 () (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 fnrec192 ((f f)) (lambda (rf) (let fnrec193 ((rf rf)) (let* ((ia (jolt-invoke (var-deref "clojure.core" "volatile!") -1))) (case-lambda (() (let fnrec194 () (jolt-invoke rf))) ((result) (let fnrec195 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec196 ((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 fnrec197 ((f f) (coll coll)) (letrec* ((keepi (letrec ((keepi (lambda (idx coll) (let fnrec198 ((idx idx) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec199 () (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)) (let* ((_a$200 keepi) (_a$201 (jolt-inc idx)) (_a$202 (jolt-rest s))) (jolt-invoke _a$200 _a$201 _a$202)) (jolt-cons x (let* ((_a$203 keepi) (_a$204 (jolt-inc idx)) (_a$205 (jolt-rest s))) (jolt-invoke _a$203 _a$204 _a$205)))))) 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 fnrec206 ((f f)) (lambda (rf) (let fnrec207 ((rf rf)) (let* ((i (jolt-invoke (var-deref "clojure.core" "volatile!") -1))) (case-lambda (() (let fnrec208 () (jolt-invoke rf))) ((result) (let fnrec209 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec210 ((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 fnrec211 ((f f) (coll coll)) (letrec* ((mapi (letrec ((mapi (lambda (idx coll) (let fnrec212 ((idx idx) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec213 () (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* ((_a$217 (jolt-invoke f idx (jolt-first s))) (_a$218 (let* ((_a$214 mapi) (_a$215 (jolt-inc idx)) (_a$216 (jolt-rest s))) (jolt-invoke _a$214 _a$215 _a$216)))) (jolt-cons _a$217 _a$218))) jolt-nil)))))))))) mapi))) (jolt-invoke mapi 0 coll))))))) map-indexed)))
(guard (e (#t #f))
  (def-var! "clojure.core" "cycle" (letrec ((cycle (lambda (coll) (let fnrec219 ((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 fnrec220 ((i i)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec221 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((_a$222 (jolt-nth vals (modulo i n))) (_a$223 (jolt-invoke cstep (jolt-inc i)))) (jolt-cons _a$222 _a$223)))))))))) cstep))) (jolt-invoke cstep 0)))) (jolt-list ))))))) cycle)))
(guard (e (#t #f))
  (def-var! "clojure.core" "repeatedly" (letrec ((repeatedly (case-lambda ((f) (let fnrec224 ((f f)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec225 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((_a$226 (jolt-invoke f)) (_a$227 (jolt-invoke repeatedly f))) (jolt-cons _a$226 _a$227)))))))) ((n f) (let fnrec228 ((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 fnrec229 ((x x)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec230 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (jolt-cons x (jolt-invoke repeat x)))))))) ((n x) (let fnrec231 ((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 fnrec232 ((f f) (x x)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec233 () (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 fnrec234 ((n n)) (lambda (rf) (let fnrec235 ((rf rf)) (let* ((a (jolt-invoke (var-deref "clojure.core" "volatile!") (jolt-vector)))) (case-lambda (() (let fnrec236 () (jolt-invoke rf))) ((result) (let fnrec237 ((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 fnrec238 ((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 fnrec239 ((n n) (coll coll)) (letrec* ((go (letrec ((go (lambda (s) (let fnrec240 ((s s)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec241 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (if (jolt-truthy? (jolt-seq s)) (let* ((i 0) (chunk (jolt-vector)) (cur s)) (let loop242 ((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))) (let* ((_a$243 (jolt-inc i)) (_a$244 (jolt-conj chunk (jolt-first cur))) (_a$245 (jolt-rest cur))) (loop242 _a$243 _a$244 _a$245)) (jolt-cons chunk (jolt-invoke go cur))))) jolt-nil))))))))) go))) (jolt-invoke go coll)))) ((n step coll) (let fnrec246 ((n n) (step step) (coll coll)) (letrec* ((go (letrec ((go (lambda (s) (let fnrec247 ((s s)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec248 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (if (jolt-truthy? (jolt-seq s)) (let* ((_a$249 (jolt-take n s)) (_a$250 (jolt-invoke go (jolt-invoke (var-deref "clojure.core" "nthrest") s step)))) (jolt-cons _a$249 _a$250)) jolt-nil))))))))) go))) (jolt-invoke go coll))))))) partition-all)))
(guard (e (#t #f))
  (def-var! "clojure.core" "interpose" (letrec ((interpose (case-lambda ((sep) (let fnrec251 ((sep sep)) (lambda (rf) (let fnrec252 ((rf rf)) (let* ((started (jolt-invoke (var-deref "clojure.core" "volatile!") #f))) (case-lambda (() (let fnrec253 () (jolt-invoke rf))) ((result) (let fnrec254 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec255 ((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 fnrec256 ((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 fnrec257 ((n n)) (lambda (rf) (let fnrec258 ((rf rf)) (let* ((iv (jolt-invoke (var-deref "clojure.core" "volatile!") -1))) (case-lambda (() (let fnrec259 () (jolt-invoke rf))) ((result) (let fnrec260 ((result result)) (jolt-invoke rf result))) ((result input) (let fnrec261 ((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 fnrec262 ((n n) (coll coll)) (jolt-invoke (var-deref "clojure.core" "make-lazy-seq") (lambda () (let fnrec263 () (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* ((_a$264 (jolt-first s)) (_a$265 (jolt-invoke take-nth n (jolt-drop n s)))) (jolt-cons _a$264 _a$265))) jolt-nil))))))))))) take-nth)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pmap" (letrec ((pmap (case-lambda ((f coll) (let fnrec266 ((f f) (coll coll)) (jolt-map (var-deref "clojure.core" "deref") (jolt-invoke (var-deref "clojure.core" "doall") (jolt-map (lambda (x) (let fnrec267 ((x x)) (jolt-invoke (var-deref "clojure.core" "future-call") (lambda () (let fnrec268 () (jolt-invoke f x)))))) coll))))) ((f coll . colls) (let fnrec269 ((f f) (coll coll) (colls (list->cseq colls))) (let* ((_a$271 pmap) (_a$272 (lambda (xs) (let fnrec270 ((xs xs)) (jolt-apply f xs)))) (_a$273 (jolt-apply jolt-map jolt-vector coll colls))) (jolt-invoke _a$271 _a$272 _a$273))))))) pmap)))
(guard (e (#t #f))
  (def-var! "clojure.core" "pcalls" (letrec ((pcalls (lambda fns (let fnrec274 ((fns (list->cseq fns))) (jolt-invoke (var-deref "clojure.core" "pmap") (lambda (f) (let fnrec275 ((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))
  (begin (def-var! "clojure.core" "IReader" (jolt-invoke (var-deref "clojure.core" "make-protocol") "IReader" (let* ((_o$282 (keyword #f "-read+string")) (_o$283 (let* ((_o$276 (keyword #f "name")) (_o$277 "-read+string")) (jolt-hash-map _o$276 _o$277))) (_o$284 (keyword #f "-read-line")) (_o$285 (let* ((_o$278 (keyword #f "name")) (_o$279 "-read-line")) (jolt-hash-map _o$278 _o$279))) (_o$286 (keyword #f "-read-form")) (_o$287 (let* ((_o$280 (keyword #f "name")) (_o$281 "-read-form")) (jolt-hash-map _o$280 _o$281)))) (jolt-hash-map _o$282 _o$283 _o$284 _o$285 _o$286 _o$287)))) (jolt-invoke (var-deref "clojure.core" "register-protocol-methods!") "IReader" (let* ((_o$288 "-read-line") (_o$289 "-read-form") (_o$290 "-read+string")) (jolt-vector _o$288 _o$289 _o$290))) (def-var! "clojure.core" "-read-line" (lambda (this__11__auto . rest__10__auto) (let fnrec291 ((this__11__auto this__11__auto) (rest__10__auto (list->cseq rest__10__auto))) (jolt-invoke (var-deref "clojure.core" "protocol-dispatch") "IReader" "-read-line" this__11__auto rest__10__auto)))) (def-var! "clojure.core" "-read-form" (lambda (this__11__auto . rest__10__auto) (let fnrec292 ((this__11__auto this__11__auto) (rest__10__auto (list->cseq rest__10__auto))) (jolt-invoke (var-deref "clojure.core" "protocol-dispatch") "IReader" "-read-form" this__11__auto rest__10__auto)))) (def-var! "clojure.core" "-read+string" (lambda (this__11__auto . rest__10__auto) (let fnrec293 ((this__11__auto this__11__auto) (rest__10__auto (list->cseq rest__10__auto))) (jolt-invoke (var-deref "clojure.core" "protocol-dispatch") "IReader" "-read+string" this__11__auto rest__10__auto))))))
(guard (e (#t #f))
  (def-var! "clojure.core" "__string-reader" (letrec ((__string-reader (lambda (s) (let fnrec294 ((s s)) (let* ((buf (jolt-invoke (var-deref "clojure.core" "atom") s))) (jolt-invoke (var-deref "clojure.core" "make-reified") (let* ((_o$304 (keyword #f "-read+string")) (_o$305 (lambda (_ eof-error? eof-value) (let fnrec295 ((_ _) (eof-error? eof-error?) (eof-value eof-value)) (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? eof-error?) (jolt-throw (jolt-ex-info "EOF while reading" (jolt-hash-map))) (let* ((_o$296 eof-value) (_o$297 "")) (jolt-vector _o$296 _o$297))) (begin (jolt-invoke (var-deref "clojure.core" "reset!") buf (jolt-nth r 1)) (let* ((_o$300 (jolt-nth r 0)) (_o$301 (jolt-invoke (var-deref "clojure.core" "subs") s 0 (let* ((_a$298 (jolt-count s)) (_a$299 (jolt-count (jolt-nth r 1)))) (- _a$298 _a$299))))) (jolt-vector _o$300 _o$301)))))))) (_o$306 (keyword #f "-read-line")) (_o$307 (lambda (_) (let fnrec302 ((_ _)) (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$308 (keyword #f "-read-form")) (_o$309 (lambda (_) (let fnrec303 ((_ _)) (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$304 _o$305 _o$306 _o$307 _o$308 _o$309)) "IReader")))))) __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*" (jolt-invoke (var-deref "clojure.core" "make-reified") (let* ((_o$323 (keyword #f "-read+string")) (_o$324 (lambda (_ eof-error? eof-value) (let fnrec310 ((_ _) (eof-error? eof-error?) (eof-value eof-value)) (let* () (let loop311 () (let* ((s (jolt-invoke (var-deref "clojure.core" "deref") (var-deref "clojure.core" "stdin-buf"))) (r (jolt-invoke (var-deref "clojure.core" "__parse-next") s))) (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)) (if (jolt-truthy? eof-error?) (jolt-throw (jolt-ex-info "EOF while reading" (jolt-hash-map))) (let* ((_o$312 eof-value) (_o$313 "")) (jolt-vector _o$312 _o$313))) (begin (jolt-invoke (var-deref "clojure.core" "swap!") (var-deref "clojure.core" "stdin-buf") (lambda (b) (let fnrec314 ((b b)) (jolt-invoke (var-deref "clojure.core" "str") b line "\n")))) (loop311 )))) (begin (jolt-invoke (var-deref "clojure.core" "reset!") (var-deref "clojure.core" "stdin-buf") (jolt-nth r 1)) (let* ((_o$317 (jolt-nth r 0)) (_o$318 (jolt-invoke (var-deref "clojure.core" "subs") s 0 (let* ((_a$315 (jolt-count s)) (_a$316 (jolt-count (jolt-nth r 1)))) (- _a$315 _a$316))))) (jolt-vector _o$317 _o$318)))))))))) (_o$325 (keyword #f "-read-line")) (_o$326 (lambda (_) (let fnrec319 ((_ _)) (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$327 (keyword #f "-read-form")) (_o$328 (lambda (_) (let fnrec320 ((_ _)) (let* () (let loop321 () (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 fnrec322 ((b b)) (jolt-invoke (var-deref "clojure.core" "str") b line "\n")))) (loop321 )))) (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$323 _o$324 _o$325 _o$326 _o$327 _o$328)) "IReader") (jolt-hash-map (keyword #f "dynamic") #t)))
(guard (e (#t #f))
  (def-var! "clojure.core" "read-line" (letrec ((read-line (lambda () (let fnrec329 () (jolt-invoke (var-deref "clojure.core" "-read-line") (var-deref "clojure.core" "*in*")))))) read-line)))
(guard (e (#t #f))
  (def-var! "clojure.core" "read" (letrec ((read (case-lambda (() (let fnrec330 () (jolt-invoke read (var-deref "clojure.core" "*in*")))) ((stream) (let fnrec331 ((stream stream)) (let* ((v (jolt-invoke (var-deref "clojure.core" "-read-form") stream))) (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 fnrec332 ((stream stream) (eof-error? eof-error?) (eof-value eof-value)) (let* ((v (jolt-invoke (var-deref "clojure.core" "-read-form") stream))) (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 fnrec333 ((s s) (body (list->cseq body))) (let* ((_a$340 (var-deref "clojure.core" "__sqcat")) (_a$341 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "binding"))) (_a$342 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$337 (var-deref "clojure.core" "__sqvec")) (_a$338 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "*in*"))) (_a$339 (jolt-invoke (var-deref "clojure.core" "__sq1") (let* ((_a$334 (var-deref "clojure.core" "__sqcat")) (_a$335 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol "clojure.core" "__string-reader"))) (_a$336 (jolt-invoke (var-deref "clojure.core" "__sq1") s))) (jolt-invoke _a$334 _a$335 _a$336))))) (jolt-invoke _a$337 _a$338 _a$339)))) (_a$343 body)) (jolt-invoke _a$340 _a$341 _a$342 _a$343)))))
  (mark-macro! "clojure.core" "with-in-str"))
(guard (e (#t #f))
  (def-var! "clojure.core" "read+string" (letrec ((read+string (case-lambda (() (let fnrec344 () (jolt-invoke read+string (var-deref "clojure.core" "*in*")))) ((stream) (let fnrec345 ((stream stream)) (jolt-invoke read+string stream #t jolt-nil))) ((stream eof-error? eof-value) (let fnrec346 ((stream stream) (eof-error? eof-error?) (eof-value eof-value)) (jolt-invoke (var-deref "clojure.core" "-read+string") stream eof-error? eof-value)))))) read+string)))
(guard (e (#t #f))
  (def-var! "clojure.core" "line-seq" (letrec ((line-seq (lambda (rdr) (let fnrec347 ((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 fnrec348 () (jolt-invoke (var-deref "clojure.core" "coll->cells") (let* ((line (jolt-invoke (var-deref "clojure.core" "-read-line") rdr))) (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 fnrec349 ((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 fnrec350 ((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 fnrec351 ((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 fnrec352 ((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 fnrec353 ((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 fnrec354 ((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 fnrec355 ((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 fnrec356 ((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 fnrec357 ((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 fnrec358 ((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 fnrec359 ((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 fnrec360 ((_a _a)) jolt-nil)))) agent-error)))
(guard (e (#t #f))
  (def-var! "clojure.string" "blank?" (letrec ((blank? (lambda (s) (let fnrec101 ((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 fnrec102 ((s s)) (if (< 1 (jolt-count s)) (let* ((_a$103 (var-deref "clojure.core" "str")) (_a$104 (jolt-invoke (var-deref "clojure.core" "str-upper") (jolt-invoke (var-deref "clojure.core" "subs") s 0 1))) (_a$105 (jolt-invoke (var-deref "clojure.core" "str-lower") (jolt-invoke (var-deref "clojure.core" "subs") s 1)))) (jolt-invoke _a$103 _a$104 _a$105)) (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 fnrec106 ((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 fnrec107 ((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 fnrec108 ((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 fnrec109 ((coll coll)) (jolt-invoke (var-deref "clojure.core" "str-join") coll))) ((separator coll) (let fnrec110 ((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 fnrec111 ((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 fnrec112 ((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 fnrec113 ((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 fnrec114 ((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 fnrec115 ((s s) (re re)) (jolt-invoke split s re 0))) ((s re limit) (let fnrec116 ((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 loop117 ((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))) (loop117 (jolt-pop v)) v))) parts))))))) split)))
(guard (e (#t #f))
  (def-var! "clojure.string" "split-lines" (letrec ((split-lines (lambda (s) (let fnrec118 ((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 fnrec119 ((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 fnrec120 ((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 fnrec121 ((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 fnrec122 ((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 fnrec123 ((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 fnrec124 ((s s) (cmap cmap)) (jolt-apply (var-deref "clojure.core" "str") (jolt-map (lambda (ch) (let fnrec125 ((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 fnrec126 ((s s) (value value)) (jolt-invoke (var-deref "clojure.core" "str-find") value s))) ((s value from) (let fnrec127 ((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 fnrec128 ((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) (let* ((_a$129 (jolt-count s)) (_a$130 (+ idx (jolt-count value)))) (- _a$129 _a$130)) jolt-nil)))) ((s value from) (let fnrec131 ((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 fnrec132 ((replacement replacement)) (jolt-apply (var-deref "clojure.core" "str") (let* ((_a$134 (lambda (ch) (let fnrec133 ((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))))) (_a$135 (jolt-seq replacement))) (jolt-map _a$134 _a$135))))))) re-quote-replacement)))
(guard (e (#t #f))
  (def-var! "clojure.string" "trim-newline" (letrec ((trim-newline (lambda (s) (let fnrec136 ((s s)) (let* ((index (jolt-count s))) (let loop137 ((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")))) (loop137 (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 fnrec138 ((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 (let* ((_a$139 (jolt-invoke (var-deref "clojure.core" "empty") form)) (_a$140 (jolt-map inner form))) (jolt-into _a$139 _a$140))) (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 fnrec141 ((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 fnrec142 ((f f) (form form)) (let* ((_a$143 (var-deref "clojure.walk" "walk")) (_a$144 (jolt-invoke (var-deref "clojure.core" "partial") prewalk f)) (_a$145 jolt-identity) (_a$146 (jolt-invoke f form))) (jolt-invoke _a$143 _a$144 _a$145 _a$146)))))) prewalk)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "postwalk-demo" (letrec ((postwalk-demo (lambda (form) (let fnrec147 ((form form)) (jolt-invoke (var-deref "clojure.walk" "postwalk") (lambda (x) (let fnrec148 ((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 fnrec149 ((form form)) (jolt-invoke (var-deref "clojure.walk" "prewalk") (lambda (x) (let fnrec150 ((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 fnrec151 ((smap smap) (form form)) (jolt-invoke (var-deref "clojure.walk" "postwalk") (lambda (x) (let fnrec152 ((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 fnrec153 ((smap smap) (form form)) (jolt-invoke (var-deref "clojure.walk" "prewalk") (lambda (x) (let fnrec154 ((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 fnrec155 ((m m)) (let* ((f (lambda (G__9) (let fnrec156 ((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$157 (jolt-invoke (var-deref "clojure.core" "keyword") k)) (_o$158 v)) (jolt-vector _o$157 _o$158)) (let* ((_o$159 k) (_o$160 v)) (jolt-vector _o$159 _o$160)))))))) (jolt-invoke (var-deref "clojure.walk" "postwalk") (lambda (x) (let fnrec161 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") x)) (let* ((_a$162 (jolt-hash-map)) (_a$163 (jolt-map f x))) (jolt-into _a$162 _a$163)) x))) m)))))) keywordize-keys)))
(guard (e (#t #f))
  (def-var! "clojure.walk" "stringify-keys" (letrec ((stringify-keys (lambda (m) (let fnrec164 ((m m)) (let* ((f (lambda (G__11) (let fnrec165 ((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$166 (jolt-invoke (var-deref "clojure.core" "name") k)) (_o$167 v)) (jolt-vector _o$166 _o$167)) (let* ((_o$168 k) (_o$169 v)) (jolt-vector _o$168 _o$169)))))))) (jolt-invoke (var-deref "clojure.walk" "postwalk") (lambda (x) (let fnrec170 ((x x)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "map?") x)) (let* ((_a$171 (jolt-hash-map)) (_a$172 (jolt-map f x))) (jolt-into _a$171 _a$172)) x))) m)))))) stringify-keys)))
(guard (e (#t #f))
  (def-var! "clojure.template" "apply-template" (letrec ((apply-template (lambda (argv expr _values) (let fnrec73 ((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 fnrec74 ((argv argv) (expr expr) (_values (list->cseq _values))) (let* ((c (jolt-count argv))) (let* ((_a$78 (var-deref "clojure.core" "__sqcat")) (_a$79 (jolt-invoke (var-deref "clojure.core" "__sq1") (jolt-symbol #f "do"))) (_a$80 (let* ((_a$76 (lambda (a) (let fnrec75 ((a a)) (jolt-invoke (var-deref "clojure.template" "apply-template") argv expr a)))) (_a$77 (jolt-invoke (var-deref "clojure.core" "partition") c _values))) (jolt-map _a$76 _a$77)))) (jolt-invoke _a$78 _a$79 _a$80))))))
  (mark-macro! "clojure.template" "do-template"))
(guard (e (#t #f))
  (def-var! "clojure.edn" "edn->value" (letrec ((edn->value (lambda (opts x) (let fnrec81 ((opts opts) (x x)) (if (jolt= (keyword "jolt" "set") (jolt-get x (keyword "jolt" "type"))) (jolt-invoke (var-deref "clojure.core" "set") (let* ((_a$83 (lambda (v) (let fnrec82 ((v v)) (jolt-invoke edn->value opts v)))) (_a$84 (jolt-get x (keyword #f "value")))) (jolt-map _a$83 _a$84))) (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)) (let* ((_a$88 (jolt-hash-map)) (_a$89 (jolt-map (lambda (e) (let fnrec85 ((e e)) (let* ((_o$86 (jolt-invoke edn->value opts (jolt-invoke (var-deref "clojure.core" "key") e))) (_o$87 (jolt-invoke edn->value opts (jolt-invoke (var-deref "clojure.core" "val") e)))) (jolt-vector _o$86 _o$87)))) x))) (jolt-into _a$88 _a$89)) (if (jolt-truthy? (jolt-invoke (var-deref "clojure.core" "vector?") x)) (jolt-invoke (var-deref "clojure.core" "mapv") (lambda (v) (let fnrec90 ((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 fnrec91 ((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 fnrec92 ((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 fnrec93 ((s s)) (jolt-invoke (var-deref "clojure.edn" "read-edn") (jolt-hash-map) s))) ((opts s) (let fnrec94 ((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 fnrec95 ((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 loop96 ((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))) (let* ((_a$97 (jolt-invoke (var-deref "clojure.core" "conj!") acc c)) (_a$98 (record-method-dispatch reader "read" (jolt-vector)))) (loop96 _a$97 _a$98)))))))))) drain-reader)))
(guard (e (#t #f))
  (def-var! "clojure.edn" "read" (letrec ((read (case-lambda ((reader) (let fnrec99 ((reader reader)) (jolt-invoke read (jolt-hash-map) reader))) ((opts reader) (let fnrec100 ((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)) (let* ((_a$14 (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))))) (_a$15 (jolt-apply jolt-dissoc map (jolt-keys kmap))) (_a$16 kmap)) (jolt-reduce _a$14 _a$15 _a$16)))))) rename-keys)))
(guard (e (#t #f))
  (def-var! "clojure.set" "map-invert" (letrec ((map-invert (lambda (m) (let fnrec17 ((m m)) (let* ((_a$19 (lambda (acc G__3) (let fnrec18 ((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))))) (_a$20 (jolt-hash-map)) (_a$21 m)) (jolt-reduce _a$19 _a$20 _a$21)))))) map-invert)))
(guard (e (#t #f))
  (def-var! "clojure.set" "rename" (letrec ((rename (lambda (xrel kmap) (let fnrec22 ((xrel xrel) (kmap kmap)) (jolt-invoke (var-deref "clojure.core" "set") (jolt-map (lambda (m) (let fnrec23 ((m m)) (let* ((_a$25 (lambda (acc G__5) (let fnrec24 ((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))))) (_a$26 (jolt-apply jolt-dissoc m (jolt-keys kmap))) (_a$27 kmap)) (jolt-reduce _a$25 _a$26 _a$27)))) xrel)))))) rename)))
(guard (e (#t #f))
  (def-var! "clojure.set" "index" (letrec ((index (lambda (xrel ks) (let fnrec28 ((xrel xrel) (ks ks)) (let* ((_a$30 (lambda (m x) (let fnrec29 ((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)))))) (_a$31 (jolt-hash-map)) (_a$32 xrel)) (jolt-reduce _a$30 _a$31 _a$32)))))) index)))
(guard (e (#t #f))
  (def-var! "clojure.set" "join" (letrec ((join (case-lambda ((xrel yrel) (let fnrec33 ((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 (let* ((_a$34 (var-deref "clojure.set" "intersection")) (_a$35 (jolt-invoke (var-deref "clojure.core" "set") (jolt-keys (jolt-first xrel)))) (_a$36 (jolt-invoke (var-deref "clojure.core" "set") (jolt-keys (jolt-first yrel))))) (jolt-invoke _a$34 _a$35 _a$36))) (G__7 (if (let* ((_a$37 (jolt-count xrel)) (_a$38 (jolt-count yrel))) (<= _a$37 _a$38)) (let* ((_o$39 xrel) (_o$40 yrel)) (jolt-vector _o$39 _o$40)) (let* ((_o$41 yrel) (_o$42 xrel)) (jolt-vector _o$41 _o$42)))) (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))) (let* ((_a$45 (lambda (ret x) (let fnrec43 ((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 fnrec44 ((acc acc) (y y)) (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "merge") y x)))) ret found) ret))))) (_a$46 (jolt-hash-set)) (_a$47 s)) (jolt-reduce _a$45 _a$46 _a$47))) (jolt-hash-set)))) ((xrel yrel km) (let fnrec48 ((xrel xrel) (yrel yrel) (km km)) (let* ((G__8 (if (let* ((_a$49 (jolt-count xrel)) (_a$50 (jolt-count yrel))) (<= _a$49 _a$50)) (let* ((_o$51 xrel) (_o$52 yrel) (_o$53 (jolt-invoke (var-deref "clojure.set" "map-invert") km))) (jolt-vector _o$51 _o$52 _o$53)) (let* ((_o$54 yrel) (_o$55 xrel) (_o$56 km)) (jolt-vector _o$54 _o$55 _o$56)))) (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)))) (let* ((_a$59 (lambda (ret x) (let fnrec57 ((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 fnrec58 ((acc acc) (y y)) (jolt-conj acc (jolt-invoke (var-deref "clojure.core" "merge") y x)))) ret found) ret))))) (_a$60 (jolt-hash-set)) (_a$61 s)) (jolt-reduce _a$59 _a$60 _a$61)))))))) join)))
(guard (e (#t #f))
  (def-var! "clojure.set" "subset?" (letrec ((subset? (lambda (set1 set2) (let fnrec62 ((set1 set1) (set2 set2)) (let* ((and__13__auto (let* ((_a$63 (jolt-count set1)) (_a$64 (jolt-count set2))) (<= _a$63 _a$64)))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (p__2_) (let fnrec65 ((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 fnrec66 ((set1 set1) (set2 set2)) (let* ((and__13__auto (let* ((_a$67 (jolt-count set1)) (_a$68 (jolt-count set2))) (>= _a$67 _a$68)))) (if (jolt-truthy? and__13__auto) (jolt-invoke (var-deref "clojure.core" "every?") (lambda (p__3_) (let fnrec69 ((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 fnrec70 ((object object)) (jolt-invoke (var-deref "clojure.core" "prn") object))) ((object _writer) (let fnrec71 ((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 fnrec72 ((_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"))