-
Notifications
You must be signed in to change notification settings - Fork 8
/
init.c
6158 lines (5889 loc) · 197 KB
/
init.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#include "types.h"
#include "runtime.h"
void entry(struct Cora* co);
void _35clofun1015(struct Cora* co);
void _35clofun1014(struct Cora* co);
void _35clofun1013(struct Cora* co);
void _35clofun1012(struct Cora* co);
void _35clofun1011(struct Cora* co);
void _35clofun1010(struct Cora* co);
void _35clofun1009(struct Cora* co);
void _35clofun1008(struct Cora* co);
void _35clofun1007(struct Cora* co);
void _35clofun1006(struct Cora* co);
void entry(struct Cora* co){
int __nargs = co->nargs;
Obj __arg0 = co->args[0];
Obj __arg1 = co->args[1];
Obj __arg2 = co->args[2];
Obj __arg3 = co->args[3];
static void* jumpTable[] = {&&label0};
goto *jumpTable[co->ctx.pc.label];
label0:
{
Obj _35reg39 = primSet(co, intern("null?"), makeNative(0, _35clofun1006, 1, 0));
Obj _35reg42 = primSet(co, intern("cadr"), makeNative(1, _35clofun1006, 1, 0));
Obj _35reg45 = primSet(co, intern("caar"), makeNative(2, _35clofun1006, 1, 0));
Obj _35reg48 = primSet(co, intern("cdar"), makeNative(3, _35clofun1006, 1, 0));
Obj _35reg51 = primSet(co, intern("cddr"), makeNative(4, _35clofun1006, 1, 0));
Obj _35reg55 = primSet(co, intern("caddr"), makeNative(5, _35clofun1006, 1, 0));
Obj _35reg60 = primSet(co, intern("cadddr"), makeNative(6, _35clofun1006, 1, 0));
Obj _35reg64 = primSet(co, intern("cdddr"), makeNative(7, _35clofun1006, 1, 0));
Obj _35reg72 = primSet(co, intern("rcons"), makeNative(9, _35clofun1006, 1, 0));
Obj _35reg74 = primSet(co, intern("pair?"), makeNative(10, _35clofun1006, 1, 0));
Obj _35reg79 = primSet(co, intern("cora/init.reverse-h"), makeNative(11, _35clofun1006, 2, 0));
pushCont(co, 20, _35clofun1015, 0);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.reverse-h"));
__arg1 = Nil;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != entry) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
fail:
co->nargs = __nargs;
co->args[0] = __arg0;
co->args[1] = __arg1;
co->args[2] = __arg2;
co->args[3] = __arg3;
}
void _35clofun1015(struct Cora* co){
int __nargs = co->nargs;
Obj __arg0 = co->args[0];
Obj __arg1 = co->args[1];
Obj __arg2 = co->args[2];
Obj __arg3 = co->args[3];
static void* jumpTable[] = {&&label0, &&label1, &&label2, &&label3, &&label4, &&label5, &&label6, &&label7, &&label8, &&label9, &&label10, &&label11, &&label12, &&label13, &&label14, &&label15, &&label16, &&label17, &&label18, &&label19, &&label20};
goto *jumpTable[co->ctx.pc.label];
label0:
{
Obj exp = __arg1;
Obj _35reg983 = primCdr(exp);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.rewrite-begin"));
__arg1 = _35reg983;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label1:
{
__nargs = 2;
__arg0 = globalRef(intern("error"));
__arg1 = makeString1("no match-help found!");
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label2:
{
Obj _35cc37 = makeNative(1, _35clofun1015, 0, 0);
Obj x = closureRef(co, 0);
__nargs = 2;
__arg1 = x;
co->ctx = co->callstack.data[--co->callstack.len];
if (co->ctx.pc.func != _35clofun1015) { goto fail; }
goto *jumpTable[co->ctx.pc.label];
}
label3:
{
Obj _35val989 = __arg1;
Obj _35reg990 = primCons(intern("list"), _35val989);
__nargs = 2;
__arg1 = _35reg990;
co->ctx = co->callstack.data[--co->callstack.len];
if (co->ctx.pc.func != _35clofun1015) { goto fail; }
goto *jumpTable[co->ctx.pc.label];
}
label4:
{
Obj _35cc36 = makeNative(2, _35clofun1015, 0, 1, closureRef(co, 0));
Obj _35reg985 = primIsCons(closureRef(co, 0));
if (True == _35reg985) {
Obj _35reg986 = primCar(closureRef(co, 0));
Obj x = _35reg986;
Obj _35reg987 = primCdr(closureRef(co, 0));
Obj more = _35reg987;
Obj _35reg988 = primCons(x, more);
pushCont(co, 3, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("map"));
__arg1 = globalRef(intern("cora/init.rewrite-backquote"));
__arg2 = _35reg988;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
} else {
__nargs = 1;
__arg0 = _35cc36;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
}
label5:
{
Obj _35cc35 = makeNative(4, _35clofun1015, 0, 1, closureRef(co, 0));
Obj _35reg991 = primIsCons(closureRef(co, 0));
if (True == _35reg991) {
Obj _35reg992 = primCar(closureRef(co, 0));
Obj _35reg993 = primEQ(intern("unquote"), _35reg992);
if (True == _35reg993) {
Obj _35reg994 = primCdr(closureRef(co, 0));
Obj _35reg995 = primIsCons(_35reg994);
if (True == _35reg995) {
Obj _35reg996 = primCdr(closureRef(co, 0));
Obj _35reg997 = primCar(_35reg996);
Obj x = _35reg997;
Obj _35reg998 = primCdr(closureRef(co, 0));
Obj _35reg999 = primCdr(_35reg998);
Obj _35reg1000 = primEQ(Nil, _35reg999);
if (True == _35reg1000) {
__nargs = 2;
__arg1 = x;
co->ctx = co->callstack.data[--co->callstack.len];
if (co->ctx.pc.func != _35clofun1015) { goto fail; }
goto *jumpTable[co->ctx.pc.label];
} else {
__nargs = 1;
__arg0 = _35cc35;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc35;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc35;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc35;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
}
label6:
{
Obj _35p33 = __arg1;
Obj _35cc34 = makeNative(5, _35clofun1015, 0, 1, _35p33);
Obj x = _35p33;
Obj _35reg1001 = primIsSymbol(x);
if (True == _35reg1001) {
Obj _35reg1002 = primCons(x, Nil);
Obj _35reg1003 = primCons(intern("quote"), _35reg1002);
__nargs = 2;
__arg1 = _35reg1003;
co->ctx = co->callstack.data[--co->callstack.len];
if (co->ctx.pc.func != _35clofun1015) { goto fail; }
goto *jumpTable[co->ctx.pc.label];
} else {
__nargs = 1;
__arg0 = _35cc34;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
}
label7:
{
Obj _35val1005 = __arg1;
__nargs = 2;
__arg0 = globalRef(intern("cora/init.rewrite-backquote"));
__arg1 = _35val1005;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label8:
{
Obj exp = __arg1;
pushCont(co, 7, _35clofun1015, 0);
__nargs = 2;
__arg0 = globalRef(intern("cadr"));
__arg1 = exp;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label9:
{
Obj _35val984 = __arg1;
Obj _35reg1004 = primSet(co, intern("cora/init.rewrite-backquote"), makeNative(6, _35clofun1015, 1, 0));
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("backquote");
__arg2 = makeNative(8, _35clofun1015, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label10:
{
Obj _35val535 = __arg1;
Obj _35reg798 = primSet(co, intern("cora/init.propagate-boolean0"), makeNative(11, _35clofun1013, 1, 0));
Obj _35reg956 = primSet(co, intern("cora/init.propagate-boolean"), makeNative(13, _35clofun1014, 1, 0));
Obj _35reg958 = primSet(co, intern("macroexpand"), makeNative(15, _35clofun1014, 1, 0));
Obj _35reg982 = primSet(co, intern("cora/init.rewrite-begin"), makeNative(20, _35clofun1014, 1, 0));
pushCont(co, 9, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("begin");
__arg2 = makeNative(0, _35clofun1015, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label11:
{
Obj _35val427 = __arg1;
Obj _35reg479 = primSet(co, intern("cora/init.extract-rules1"), makeNative(15, _35clofun1011, 3, 0));
Obj _35reg480 = primSet(co, intern("cora/init.extract-rules"), makeNative(16, _35clofun1011, 1, 0));
Obj _35reg485 = primSet(co, intern("cora/init.rules-patterns"), makeNative(19, _35clofun1011, 2, 0));
Obj _35reg489 = primSet(co, intern("cora/init.length-h"), makeNative(20, _35clofun1011, 2, 0));
Obj _35reg490 = primSet(co, intern("length"), makeNative(0, _35clofun1012, 1, 0));
Obj _35reg498 = primSet(co, intern("cora/init.filter-h"), makeNative(2, _35clofun1012, 3, 0));
Obj _35reg499 = primSet(co, intern("filter"), makeNative(3, _35clofun1012, 2, 0));
Obj _35reg505 = primSet(co, intern("append"), makeNative(5, _35clofun1012, 2, 0));
Obj _35reg516 = primSet(co, intern("cora/init.rules-arg-count"), makeNative(12, _35clofun1012, 1, 0));
Obj _35reg522 = primSet(co, intern("cora/init.gen-parameters"), makeNative(14, _35clofun1012, 1, 0));
pushCont(co, 10, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("func");
__arg2 = makeNative(20, _35clofun1012, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label12:
{
Obj _35val234 = __arg1;
Obj _35reg288 = primSet(co, intern("cora/init.match-cons-expander"), makeNative(12, _35clofun1009, 4, 0));
Obj _35reg321 = primSet(co, intern("cora/init.match1"), makeNative(18, _35clofun1009, 4, 0));
Obj _35reg348 = primSet(co, intern("cora/init.extract-rule-action"), makeNative(5, _35clofun1010, 2, 0));
Obj _35reg400 = primSet(co, intern("cora/init.match-helper"), makeNative(0, _35clofun1011, 2, 0));
Obj _35reg426 = primSet(co, intern("cora/init.rewrite-match"), makeNative(7, _35clofun1011, 1, 0));
pushCont(co, 11, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("match");
__arg2 = makeNative(8, _35clofun1011, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label13:
{
Obj _35val219 = __arg1;
Obj _35reg222 = primSet(co, intern("boolean?"), makeNative(11, _35clofun1008, 1, 0));
Obj _35reg232 = primSet(co, intern("cora/init.rcons1"), makeNative(14, _35clofun1008, 1, 0));
pushCont(co, 12, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("list-rest");
__arg2 = makeNative(15, _35clofun1008, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label14:
{
Obj _35val205 = __arg1;
Obj _35reg217 = primSet(co, intern("cora/init.rewrite-and"), makeNative(9, _35clofun1008, 1, 0));
pushCont(co, 13, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("and");
__arg2 = makeNative(10, _35clofun1008, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label15:
{
Obj _35val191 = __arg1;
Obj _35reg203 = primSet(co, intern("cora/init.rewrite-or"), makeNative(6, _35clofun1008, 1, 0));
pushCont(co, 14, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("or");
__arg2 = makeNative(7, _35clofun1008, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label16:
{
Obj _35val177 = __arg1;
pushCont(co, 15, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("cond");
__arg2 = makeNative(4, _35clofun1008, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label17:
{
Obj _35val155 = __arg1;
Obj _35reg160 = primSet(co, intern("elem?"), makeNative(14, _35clofun1007, 2, 0));
Obj _35reg163 = primSet(co, intern("atom?"), makeNative(15, _35clofun1007, 1, 0));
Obj _35reg175 = primSet(co, intern("cora/init.rewrite-let"), makeNative(20, _35clofun1007, 1, 0));
pushCont(co, 16, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("let");
__arg2 = makeNative(0, _35clofun1008, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label18:
{
Obj _35val143 = __arg1;
pushCont(co, 17, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("defun");
__arg2 = makeNative(13, _35clofun1007, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label19:
{
Obj _35val141 = __arg1;
pushCont(co, 18, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("list");
__arg2 = makeNative(9, _35clofun1007, 1, 0);
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label20:
{
Obj _35val80 = __arg1;
Obj _35reg81 = primSet(co, intern("reverse"), _35val80);
Obj _35reg87 = primSet(co, intern("map-h"), makeNative(13, _35clofun1006, 3, 0));
Obj _35reg88 = primSet(co, intern("map"), makeNative(14, _35clofun1006, 2, 0));
Obj _35reg89 = primSet(co, intern("*macros*"), Nil);
Obj _35reg90 = primGenSym(intern("protect"));
Obj _35reg91 = primSet(co, intern("*protect-symbol*"), _35reg90);
Obj _35reg93 = primSet(co, intern("cora/init.protect"), makeNative(15, _35clofun1006, 1, 0));
Obj _35reg97 = primSet(co, intern("cora/init.add-to-*macros*"), makeNative(16, _35clofun1006, 2, 0));
Obj _35reg110 = primSet(co, intern("cora/init.macroexpand1-h"), makeNative(18, _35clofun1006, 2, 0));
Obj _35reg111 = primSet(co, intern("cora/init.macroexpand1"), makeNative(19, _35clofun1006, 1, 0));
Obj _35reg128 = primSet(co, intern("cora/init.macroexpand-boot"), makeNative(4, _35clofun1007, 1, 0));
Obj _35reg129 = primSet(co, intern("macroexpand"), globalRef(intern("cora/init.macroexpand-boot")));
Obj _35reg140 = primSet(co, intern("defmacro-macro"), makeNative(8, _35clofun1007, 1, 0));
pushCont(co, 19, _35clofun1015, 0);
__nargs = 3;
__arg0 = globalRef(intern("cora/init.add-to-*macros*"));
__arg1 = intern("defmacro");
__arg2 = globalRef(intern("defmacro-macro"));
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1015) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
fail:
co->nargs = __nargs;
co->args[0] = __arg0;
co->args[1] = __arg1;
co->args[2] = __arg2;
co->args[3] = __arg3;
}
void _35clofun1014(struct Cora* co){
int __nargs = co->nargs;
Obj __arg0 = co->args[0];
Obj __arg1 = co->args[1];
Obj __arg2 = co->args[2];
Obj __arg3 = co->args[3];
static void* jumpTable[] = {&&label0, &&label1, &&label2, &&label3, &&label4, &&label5, &&label6, &&label7, &&label8, &&label9, &&label10, &&label11, &&label12, &&label13, &&label14, &&label15, &&label16, &&label17, &&label18, &&label19, &&label20};
goto *jumpTable[co->ctx.pc.label];
label0:
{
Obj _35val867 = __arg1;
Obj x1 = _35val867;
Obj _35reg868 = primCons(x1, Nil);
Obj _35reg869 = primCons(intern("not"), _35reg868);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean0"));
__arg1 = _35reg869;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label1:
{
Obj _35cc24 = makeNative(20, _35clofun1013, 0, 1, closureRef(co, 0));
Obj _35reg857 = primIsCons(closureRef(co, 0));
if (True == _35reg857) {
Obj _35reg858 = primCar(closureRef(co, 0));
Obj _35reg859 = primEQ(intern("not"), _35reg858);
if (True == _35reg859) {
Obj _35reg860 = primCdr(closureRef(co, 0));
Obj _35reg861 = primIsCons(_35reg860);
if (True == _35reg861) {
Obj _35reg862 = primCdr(closureRef(co, 0));
Obj _35reg863 = primCar(_35reg862);
Obj x = _35reg863;
Obj _35reg864 = primCdr(closureRef(co, 0));
Obj _35reg865 = primCdr(_35reg864);
Obj _35reg866 = primEQ(Nil, _35reg865);
if (True == _35reg866) {
pushCont(co, 0, _35clofun1014, 0);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean"));
__arg1 = x;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
} else {
__nargs = 1;
__arg0 = _35cc24;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc24;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc24;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc24;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
}
label2:
{
Obj _35val880 = __arg1;
Obj x1 = _35val880;
Obj _35reg881 = primCons(x1, Nil);
Obj _35reg882 = primCons(intern("null?"), _35reg881);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean0"));
__arg1 = _35reg882;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label3:
{
Obj _35cc23 = makeNative(1, _35clofun1014, 0, 1, closureRef(co, 0));
Obj _35reg870 = primIsCons(closureRef(co, 0));
if (True == _35reg870) {
Obj _35reg871 = primCar(closureRef(co, 0));
Obj _35reg872 = primEQ(intern("null?"), _35reg871);
if (True == _35reg872) {
Obj _35reg873 = primCdr(closureRef(co, 0));
Obj _35reg874 = primIsCons(_35reg873);
if (True == _35reg874) {
Obj _35reg875 = primCdr(closureRef(co, 0));
Obj _35reg876 = primCar(_35reg875);
Obj x = _35reg876;
Obj _35reg877 = primCdr(closureRef(co, 0));
Obj _35reg878 = primCdr(_35reg877);
Obj _35reg879 = primEQ(Nil, _35reg878);
if (True == _35reg879) {
pushCont(co, 2, _35clofun1014, 0);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean"));
__arg1 = x;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
} else {
__nargs = 1;
__arg0 = _35cc23;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc23;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc23;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc23;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
}
label4:
{
Obj _35val901 = __arg1;
Obj x1= co->ctx.stk.stack[co->ctx.stk.base + 0];
Obj y1 = _35val901;
Obj _35reg902 = primCons(y1, Nil);
Obj _35reg903 = primCons(x1, _35reg902);
Obj _35reg904 = primCons(intern("and"), _35reg903);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean0"));
__arg1 = _35reg904;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label5:
{
Obj _35val900 = __arg1;
Obj y= co->ctx.stk.stack[co->ctx.stk.base + 0];
Obj x1 = _35val900;
pushCont(co, 4, _35clofun1014, 1, x1);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean"));
__arg1 = y;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label6:
{
Obj _35cc22 = makeNative(3, _35clofun1014, 0, 1, closureRef(co, 0));
Obj _35reg883 = primIsCons(closureRef(co, 0));
if (True == _35reg883) {
Obj _35reg884 = primCar(closureRef(co, 0));
Obj _35reg885 = primEQ(intern("and"), _35reg884);
if (True == _35reg885) {
Obj _35reg886 = primCdr(closureRef(co, 0));
Obj _35reg887 = primIsCons(_35reg886);
if (True == _35reg887) {
Obj _35reg888 = primCdr(closureRef(co, 0));
Obj _35reg889 = primCar(_35reg888);
Obj x = _35reg889;
Obj _35reg890 = primCdr(closureRef(co, 0));
Obj _35reg891 = primCdr(_35reg890);
Obj _35reg892 = primIsCons(_35reg891);
if (True == _35reg892) {
Obj _35reg893 = primCdr(closureRef(co, 0));
Obj _35reg894 = primCdr(_35reg893);
Obj _35reg895 = primCar(_35reg894);
Obj y = _35reg895;
Obj _35reg896 = primCdr(closureRef(co, 0));
Obj _35reg897 = primCdr(_35reg896);
Obj _35reg898 = primCdr(_35reg897);
Obj _35reg899 = primEQ(Nil, _35reg898);
if (True == _35reg899) {
pushCont(co, 5, _35clofun1014, 1, y);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean"));
__arg1 = x;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
} else {
__nargs = 1;
__arg0 = _35cc22;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc22;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc22;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc22;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc22;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
}
label7:
{
Obj _35val915 = __arg1;
Obj x1 = _35val915;
Obj _35reg916 = primCons(x1, Nil);
Obj _35reg917 = primCons(intern("cdr"), _35reg916);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean0"));
__arg1 = _35reg917;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label8:
{
Obj _35cc21 = makeNative(6, _35clofun1014, 0, 1, closureRef(co, 0));
Obj _35reg905 = primIsCons(closureRef(co, 0));
if (True == _35reg905) {
Obj _35reg906 = primCar(closureRef(co, 0));
Obj _35reg907 = primEQ(intern("cdr"), _35reg906);
if (True == _35reg907) {
Obj _35reg908 = primCdr(closureRef(co, 0));
Obj _35reg909 = primIsCons(_35reg908);
if (True == _35reg909) {
Obj _35reg910 = primCdr(closureRef(co, 0));
Obj _35reg911 = primCar(_35reg910);
Obj x = _35reg911;
Obj _35reg912 = primCdr(closureRef(co, 0));
Obj _35reg913 = primCdr(_35reg912);
Obj _35reg914 = primEQ(Nil, _35reg913);
if (True == _35reg914) {
pushCont(co, 7, _35clofun1014, 0);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean"));
__arg1 = x;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
} else {
__nargs = 1;
__arg0 = _35cc21;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc21;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc21;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc21;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
}
label9:
{
Obj _35val928 = __arg1;
Obj x1 = _35val928;
Obj _35reg929 = primCons(x1, Nil);
Obj _35reg930 = primCons(intern("car"), _35reg929);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean0"));
__arg1 = _35reg930;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label10:
{
Obj _35cc20 = makeNative(8, _35clofun1014, 0, 1, closureRef(co, 0));
Obj _35reg918 = primIsCons(closureRef(co, 0));
if (True == _35reg918) {
Obj _35reg919 = primCar(closureRef(co, 0));
Obj _35reg920 = primEQ(intern("car"), _35reg919);
if (True == _35reg920) {
Obj _35reg921 = primCdr(closureRef(co, 0));
Obj _35reg922 = primIsCons(_35reg921);
if (True == _35reg922) {
Obj _35reg923 = primCdr(closureRef(co, 0));
Obj _35reg924 = primCar(_35reg923);
Obj x = _35reg924;
Obj _35reg925 = primCdr(closureRef(co, 0));
Obj _35reg926 = primCdr(_35reg925);
Obj _35reg927 = primEQ(Nil, _35reg926);
if (True == _35reg927) {
pushCont(co, 9, _35clofun1014, 0);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean"));
__arg1 = x;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
} else {
__nargs = 1;
__arg0 = _35cc20;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc20;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc20;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc20;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
}
label11:
{
Obj _35val941 = __arg1;
Obj x1 = _35val941;
Obj _35reg942 = primCons(x1, Nil);
Obj _35reg943 = primCons(intern("cons?"), _35reg942);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean0"));
__arg1 = _35reg943;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
label12:
{
Obj _35cc19 = makeNative(10, _35clofun1014, 0, 1, closureRef(co, 0));
Obj _35reg931 = primIsCons(closureRef(co, 0));
if (True == _35reg931) {
Obj _35reg932 = primCar(closureRef(co, 0));
Obj _35reg933 = primEQ(intern("cons?"), _35reg932);
if (True == _35reg933) {
Obj _35reg934 = primCdr(closureRef(co, 0));
Obj _35reg935 = primIsCons(_35reg934);
if (True == _35reg935) {
Obj _35reg936 = primCdr(closureRef(co, 0));
Obj _35reg937 = primCar(_35reg936);
Obj x = _35reg937;
Obj _35reg938 = primCdr(closureRef(co, 0));
Obj _35reg939 = primCdr(_35reg938);
Obj _35reg940 = primEQ(Nil, _35reg939);
if (True == _35reg940) {
pushCont(co, 11, _35clofun1014, 0);
__nargs = 2;
__arg0 = globalRef(intern("cora/init.propagate-boolean"));
__arg1 = x;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
} else {
__nargs = 1;
__arg0 = _35cc19;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);
if (OBJ_FIELD(__arg0, scmNative, required)+1 != __nargs) { co->ctx.pc.func = coraDispatch; goto fail; };
if (ps.func != _35clofun1014) { co->ctx.pc = ps; goto fail; };
goto *jumpTable[ps.label];
}
} else {
__nargs = 1;
__arg0 = _35cc19;
co->ctx.frees = __arg0;
struct pcState ps = OBJ_FIELD(__arg0, scmNative, code);