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
|
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/stdarg-4.c"
.section .text.f1i,"ax",@progbits
.hidden f1i
.globl f1i
.type f1i,@function
f1i: # @f1i
.param i32
.local i32, i32, i32, i32, i32, i32
# BB#0: # %entry
i32.const $3=, __stack_pointer
i32.load $3=, 0($3)
i32.const $4=, 16
i32.sub $6=, $3, $4
i32.const $4=, __stack_pointer
i32.store $6=, 0($4), $6
i32.store $push0=, 12($6), $0
i32.const $push1=, 7
i32.add $push2=, $pop0, $pop1
i32.const $push3=, -8
i32.and $push28=, $pop2, $pop3
tee_local $push27=, $0=, $pop28
i32.const $push4=, 8
i32.add $push5=, $pop27, $pop4
i32.store $discard=, 12($6), $pop5
f64.load $push6=, 0($0)
i32.trunc_s/f64 $1=, $pop6
i32.const $push7=, 11
i32.add $push8=, $0, $pop7
i32.const $push9=, -4
i32.and $push26=, $pop8, $pop9
tee_local $push25=, $0=, $pop26
i32.const $push10=, 4
i32.add $push11=, $pop25, $pop10
i32.store $discard=, 12($6), $pop11
i32.load $2=, 0($0)
i32.const $push24=, 11
i32.add $push13=, $0, $pop24
i32.const $push23=, -8
i32.and $push22=, $pop13, $pop23
tee_local $push21=, $0=, $pop22
i32.const $push20=, 8
i32.add $push14=, $pop21, $pop20
i32.store $discard=, 12($6), $pop14
i32.const $push19=, 0
i32.add $push12=, $2, $1
f64.convert_s/i32 $push16=, $pop12
f64.load $push15=, 0($0)
f64.add $push17=, $pop16, $pop15
i32.trunc_s/f64 $push18=, $pop17
i32.store $discard=, x($pop19), $pop18
i32.const $5=, 16
i32.add $6=, $6, $5
i32.const $5=, __stack_pointer
i32.store $6=, 0($5), $6
return
.endfunc
.Lfunc_end0:
.size f1i, .Lfunc_end0-f1i
.section .text.f1,"ax",@progbits
.hidden f1
.globl f1
.type f1,@function
f1: # @f1
.param i32, i32
.local i32, i32, i32, i32, i32, i32
# BB#0: # %entry
i32.const $4=, __stack_pointer
i32.load $4=, 0($4)
i32.const $5=, 16
i32.sub $7=, $4, $5
i32.const $5=, __stack_pointer
i32.store $7=, 0($5), $7
i32.store $push0=, 8($7), $1
i32.store $push1=, 12($7), $pop0
i32.const $push2=, 7
i32.add $push3=, $pop1, $pop2
i32.const $push4=, -8
i32.and $push29=, $pop3, $pop4
tee_local $push28=, $1=, $pop29
i32.const $push5=, 8
i32.add $push6=, $pop28, $pop5
i32.store $discard=, 12($7), $pop6
f64.load $push7=, 0($1)
i32.trunc_s/f64 $2=, $pop7
i32.const $push8=, 11
i32.add $push9=, $1, $pop8
i32.const $push10=, -4
i32.and $push27=, $pop9, $pop10
tee_local $push26=, $1=, $pop27
i32.const $push11=, 4
i32.add $push12=, $pop26, $pop11
i32.store $discard=, 12($7), $pop12
i32.load $3=, 0($1)
i32.const $push25=, 11
i32.add $push14=, $1, $pop25
i32.const $push24=, -8
i32.and $push23=, $pop14, $pop24
tee_local $push22=, $1=, $pop23
i32.const $push21=, 8
i32.add $push15=, $pop22, $pop21
i32.store $discard=, 12($7), $pop15
i32.const $push20=, 0
f64.load $push16=, 0($1)
i32.add $push13=, $3, $2
f64.convert_s/i32 $push17=, $pop13
f64.add $push18=, $pop16, $pop17
i32.trunc_s/f64 $push19=, $pop18
i32.store $discard=, x($pop20), $pop19
i32.const $6=, 16
i32.add $7=, $7, $6
i32.const $6=, __stack_pointer
i32.store $7=, 0($6), $7
return
.endfunc
.Lfunc_end1:
.size f1, .Lfunc_end1-f1
.section .text.f2i,"ax",@progbits
.hidden f2i
.globl f2i
.type f2i,@function
f2i: # @f2i
.param i32
.local i32, i32, i32, i32, i32, i32, i32
# BB#0: # %entry
i32.const $4=, __stack_pointer
i32.load $4=, 0($4)
i32.const $5=, 16
i32.sub $7=, $4, $5
i32.const $5=, __stack_pointer
i32.store $7=, 0($5), $7
i32.store $push0=, 8($7), $0
i32.const $push1=, 3
i32.add $push2=, $pop0, $pop1
i32.const $push3=, -4
i32.and $push55=, $pop2, $pop3
tee_local $push54=, $0=, $pop55
i32.const $push4=, 4
i32.add $push5=, $pop54, $pop4
i32.store $discard=, 8($7), $pop5
i32.load $1=, 0($0)
i32.const $push6=, 7
i32.add $push7=, $0, $pop6
i32.const $push53=, -4
i32.and $push52=, $pop7, $pop53
tee_local $push51=, $0=, $pop52
i32.const $push50=, 4
i32.add $push8=, $pop51, $pop50
i32.store $discard=, 8($7), $pop8
i32.load $2=, 0($0)
i32.const $push10=, 11
i32.add $push11=, $0, $pop10
i32.const $push12=, -8
i32.and $push49=, $pop11, $pop12
tee_local $push48=, $0=, $pop49
i32.const $push13=, 8
i32.add $push14=, $pop48, $pop13
i32.store $3=, 8($7), $pop14
i32.const $push19=, 0
i32.add $push9=, $2, $1
f64.convert_s/i32 $push16=, $pop9
f64.load $push15=, 0($0)
f64.add $push17=, $pop16, $pop15
i32.trunc_s/f64 $push18=, $pop17
i32.store $discard=, y($pop19), $pop18
i32.store $discard=, 12($7), $3
i32.const $push20=, 15
i32.add $push21=, $0, $pop20
i32.const $push47=, -8
i32.and $push46=, $pop21, $pop47
tee_local $push45=, $0=, $pop46
i32.const $push44=, 8
i32.add $push22=, $pop45, $pop44
i32.store $discard=, 12($7), $pop22
f64.load $push23=, 0($0)
i32.trunc_s/f64 $1=, $pop23
i32.const $push43=, 11
i32.add $push24=, $0, $pop43
i32.const $push42=, -4
i32.and $push41=, $pop24, $pop42
tee_local $push40=, $0=, $pop41
i32.const $push39=, 4
i32.add $push25=, $pop40, $pop39
i32.store $discard=, 12($7), $pop25
i32.load $2=, 0($0)
i32.const $push38=, 11
i32.add $push27=, $0, $pop38
i32.const $push37=, -8
i32.and $push36=, $pop27, $pop37
tee_local $push35=, $0=, $pop36
i32.const $push34=, 8
i32.add $push28=, $pop35, $pop34
i32.store $discard=, 12($7), $pop28
i32.const $push33=, 0
f64.load $push29=, 0($0)
i32.add $push26=, $2, $1
f64.convert_s/i32 $push30=, $pop26
f64.add $push31=, $pop29, $pop30
i32.trunc_s/f64 $push32=, $pop31
i32.store $discard=, x($pop33), $pop32
i32.const $6=, 16
i32.add $7=, $7, $6
i32.const $6=, __stack_pointer
i32.store $7=, 0($6), $7
return
.endfunc
.Lfunc_end2:
.size f2i, .Lfunc_end2-f2i
.section .text.f2,"ax",@progbits
.hidden f2
.globl f2
.type f2,@function
f2: # @f2
.param i32, i32
.local i32, i32, i32, i32, i32, i32, i32
# BB#0: # %entry
i32.const $5=, __stack_pointer
i32.load $5=, 0($5)
i32.const $6=, 16
i32.sub $8=, $5, $6
i32.const $6=, __stack_pointer
i32.store $8=, 0($6), $8
i32.store $push0=, 4($8), $1
i32.store $push1=, 8($8), $pop0
i32.const $push2=, 3
i32.add $push3=, $pop1, $pop2
i32.const $push4=, -4
i32.and $push56=, $pop3, $pop4
tee_local $push55=, $1=, $pop56
i32.const $push5=, 4
i32.add $push6=, $pop55, $pop5
i32.store $discard=, 8($8), $pop6
i32.load $2=, 0($1)
i32.const $push7=, 7
i32.add $push8=, $1, $pop7
i32.const $push54=, -4
i32.and $push53=, $pop8, $pop54
tee_local $push52=, $1=, $pop53
i32.const $push51=, 4
i32.add $push9=, $pop52, $pop51
i32.store $discard=, 8($8), $pop9
i32.load $3=, 0($1)
i32.const $push11=, 11
i32.add $push12=, $1, $pop11
i32.const $push13=, -8
i32.and $push50=, $pop12, $pop13
tee_local $push49=, $1=, $pop50
i32.const $push14=, 8
i32.add $push15=, $pop49, $pop14
i32.store $4=, 8($8), $pop15
i32.const $push20=, 0
f64.load $push16=, 0($1)
i32.add $push10=, $3, $2
f64.convert_s/i32 $push17=, $pop10
f64.add $push18=, $pop16, $pop17
i32.trunc_s/f64 $push19=, $pop18
i32.store $discard=, y($pop20), $pop19
i32.store $discard=, 12($8), $4
i32.const $push21=, 15
i32.add $push22=, $1, $pop21
i32.const $push48=, -8
i32.and $push47=, $pop22, $pop48
tee_local $push46=, $1=, $pop47
i32.const $push45=, 8
i32.add $push23=, $pop46, $pop45
i32.store $discard=, 12($8), $pop23
f64.load $push24=, 0($1)
i32.trunc_s/f64 $2=, $pop24
i32.const $push44=, 11
i32.add $push25=, $1, $pop44
i32.const $push43=, -4
i32.and $push42=, $pop25, $pop43
tee_local $push41=, $1=, $pop42
i32.const $push40=, 4
i32.add $push26=, $pop41, $pop40
i32.store $discard=, 12($8), $pop26
i32.load $3=, 0($1)
i32.const $push39=, 11
i32.add $push28=, $1, $pop39
i32.const $push38=, -8
i32.and $push37=, $pop28, $pop38
tee_local $push36=, $1=, $pop37
i32.const $push35=, 8
i32.add $push29=, $pop36, $pop35
i32.store $discard=, 12($8), $pop29
i32.const $push34=, 0
f64.load $push30=, 0($1)
i32.add $push27=, $3, $2
f64.convert_s/i32 $push31=, $pop27
f64.add $push32=, $pop30, $pop31
i32.trunc_s/f64 $push33=, $pop32
i32.store $discard=, x($pop34), $pop33
i32.const $7=, 16
i32.add $8=, $8, $7
i32.const $7=, __stack_pointer
i32.store $8=, 0($7), $8
return
.endfunc
.Lfunc_end3:
.size f2, .Lfunc_end3-f2
.section .text.f3h,"ax",@progbits
.hidden f3h
.globl f3h
.type f3h,@function
f3h: # @f3h
.param i32, i32, i32, i32, i32
.result i32
# BB#0: # %entry
i32.add $push0=, $1, $0
i32.add $push1=, $pop0, $2
i32.add $push2=, $pop1, $3
i32.add $push3=, $pop2, $4
return $pop3
.endfunc
.Lfunc_end4:
.size f3h, .Lfunc_end4-f3h
.section .text.f3,"ax",@progbits
.hidden f3
.globl f3
.type f3,@function
f3: # @f3
.param i32, i32
.result i32
.local i32, i32, i32, i32, i32, i32
# BB#0: # %entry
i32.const $4=, __stack_pointer
i32.load $4=, 0($4)
i32.const $5=, 16
i32.sub $7=, $4, $5
i32.const $5=, __stack_pointer
i32.store $7=, 0($5), $7
i32.store $discard=, 12($7), $1
block
i32.const $push0=, 4
i32.gt_u $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label0
# BB#1: # %entry
i32.const $1=, 0
block
block
block
block
block
tableswitch $0, 4, 4, 0, 1, 3, 2 # 4: down to label1
# 0: down to label5
# 1: down to label4
# 3: down to label2
# 2: down to label3
.LBB5_2: # %sw.bb2
end_block # label5:
i32.load $push45=, 12($7)
i32.const $push46=, 3
i32.add $push47=, $pop45, $pop46
i32.const $push48=, -4
i32.and $push54=, $pop47, $pop48
tee_local $push53=, $0=, $pop54
i32.const $push49=, 4
i32.add $push50=, $pop53, $pop49
i32.store $discard=, 12($7), $pop50
i32.load $push51=, 0($0)
i32.const $push52=, 1
i32.add $1=, $pop51, $pop52
br 3 # 3: down to label1
.LBB5_3: # %sw.bb4
end_block # label4:
i32.load $push33=, 12($7)
i32.const $push34=, 3
i32.add $push35=, $pop33, $pop34
i32.const $push36=, -4
i32.and $push60=, $pop35, $pop36
tee_local $push59=, $0=, $pop60
i32.const $push37=, 4
i32.add $push38=, $pop59, $pop37
i32.store $discard=, 12($7), $pop38
i32.load $1=, 0($0)
i32.const $push39=, 7
i32.add $push40=, $0, $pop39
i32.const $push58=, -4
i32.and $push57=, $pop40, $pop58
tee_local $push56=, $0=, $pop57
i32.const $push55=, 4
i32.add $push41=, $pop56, $pop55
i32.store $discard=, 12($7), $pop41
i32.load $push42=, 0($0)
i32.add $push43=, $1, $pop42
i32.const $push44=, 2
i32.add $1=, $pop43, $pop44
br 2 # 2: down to label1
.LBB5_4: # %sw.bb8
end_block # label3:
i32.load $push2=, 12($7)
i32.const $push3=, 3
i32.add $push4=, $pop2, $pop3
i32.const $push5=, -4
i32.and $push89=, $pop4, $pop5
tee_local $push88=, $0=, $pop89
i32.const $push6=, 4
i32.add $push7=, $pop88, $pop6
i32.store $discard=, 12($7), $pop7
i32.load $1=, 0($0)
i32.const $push8=, 7
i32.add $push9=, $0, $pop8
i32.const $push87=, -4
i32.and $push86=, $pop9, $pop87
tee_local $push85=, $0=, $pop86
i32.const $push84=, 4
i32.add $push10=, $pop85, $pop84
i32.store $discard=, 12($7), $pop10
i32.load $2=, 0($0)
i32.const $push83=, 7
i32.add $push11=, $0, $pop83
i32.const $push82=, -4
i32.and $push81=, $pop11, $pop82
tee_local $push80=, $0=, $pop81
i32.const $push79=, 4
i32.add $push12=, $pop80, $pop79
i32.store $discard=, 12($7), $pop12
i32.load $3=, 0($0)
i32.const $push78=, 7
i32.add $push13=, $0, $pop78
i32.const $push77=, -4
i32.and $push76=, $pop13, $pop77
tee_local $push75=, $0=, $pop76
i32.const $push74=, 4
i32.add $push14=, $pop75, $pop74
i32.store $discard=, 12($7), $pop14
i32.add $push16=, $1, $2
i32.add $push17=, $3, $pop16
i32.load $push15=, 0($0)
i32.add $push18=, $pop17, $pop15
i32.const $push73=, 4
i32.add $1=, $pop18, $pop73
br 1 # 1: down to label1
.LBB5_5: # %sw.bb6
end_block # label2:
i32.load $push19=, 12($7)
i32.const $push20=, 3
i32.add $push21=, $pop19, $pop20
i32.const $push22=, -4
i32.and $push72=, $pop21, $pop22
tee_local $push71=, $0=, $pop72
i32.const $push23=, 4
i32.add $push24=, $pop71, $pop23
i32.store $discard=, 12($7), $pop24
i32.load $1=, 0($0)
i32.const $push25=, 7
i32.add $push26=, $0, $pop25
i32.const $push70=, -4
i32.and $push69=, $pop26, $pop70
tee_local $push68=, $0=, $pop69
i32.const $push67=, 4
i32.add $push27=, $pop68, $pop67
i32.store $discard=, 12($7), $pop27
i32.load $2=, 0($0)
i32.const $push66=, 7
i32.add $push28=, $0, $pop66
i32.const $push65=, -4
i32.and $push64=, $pop28, $pop65
tee_local $push63=, $0=, $pop64
i32.const $push62=, 4
i32.add $push29=, $pop63, $pop62
i32.store $discard=, 12($7), $pop29
i32.add $push31=, $1, $2
i32.load $push30=, 0($0)
i32.add $push32=, $pop31, $pop30
i32.const $push61=, 3
i32.add $1=, $pop32, $pop61
.LBB5_6: # %sw.epilog
end_block # label1:
i32.const $6=, 16
i32.add $7=, $7, $6
i32.const $6=, __stack_pointer
i32.store $7=, 0($6), $7
return $1
.LBB5_7: # %sw.default
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end5:
.size f3, .Lfunc_end5-f3
.section .text.f4,"ax",@progbits
.hidden f4
.globl f4
.type f4,@function
f4: # @f4
.param i32, i32
.local i32, f64, i32, i32, i32, i32
# BB#0: # %entry
i32.const $4=, __stack_pointer
i32.load $4=, 0($4)
i32.const $5=, 16
i32.sub $7=, $4, $5
i32.const $5=, __stack_pointer
i32.store $7=, 0($5), $7
i32.store $discard=, 8($7), $1
block
block
block
i32.const $push0=, 5
i32.eq $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label8
# BB#1: # %entry
i32.const $push2=, 4
i32.ne $push3=, $0, $pop2
br_if 2, $pop3 # 2: down to label6
# BB#2: # %sw.bb
i32.load $push18=, 8($7)
i32.const $push19=, 7
i32.add $push20=, $pop18, $pop19
i32.const $push21=, -8
i32.and $push46=, $pop20, $pop21
tee_local $push45=, $0=, $pop46
i32.const $push22=, 8
i32.add $push23=, $pop45, $pop22
i32.store $discard=, 8($7), $pop23
f64.load $3=, 0($0)
br 1 # 1: down to label7
.LBB6_3: # %sw.bb2
end_block # label8:
i32.load $push4=, 8($7)
i32.const $push5=, 7
i32.add $push6=, $pop4, $pop5
i32.const $push7=, -8
i32.and $push52=, $pop6, $pop7
tee_local $push51=, $0=, $pop52
i32.const $push8=, 8
i32.add $push9=, $pop51, $pop8
i32.store $discard=, 8($7), $pop9
i32.const $push12=, 0
f64.load $push10=, 0($0)
i32.trunc_s/f64 $push11=, $pop10
i32.store $1=, y($pop12), $pop11
i32.const $push13=, 15
i32.add $push14=, $0, $pop13
i32.const $push50=, -8
i32.and $push49=, $pop14, $pop50
tee_local $push48=, $0=, $pop49
i32.const $push47=, 8
i32.add $push15=, $pop48, $pop47
i32.store $discard=, 8($7), $pop15
f64.convert_s/i32 $push17=, $1
f64.load $push16=, 0($0)
f64.add $3=, $pop17, $pop16
.LBB6_4: # %sw.epilog
end_block # label7:
i32.load $0=, 8($7)
i32.const $push25=, 0
i32.trunc_s/f64 $push24=, $3
i32.store $discard=, y($pop25), $pop24
i32.store $push26=, 12($7), $0
i32.const $push27=, 7
i32.add $push28=, $pop26, $pop27
i32.const $push29=, -8
i32.and $push62=, $pop28, $pop29
tee_local $push61=, $0=, $pop62
i32.const $push30=, 8
i32.add $push31=, $pop61, $pop30
i32.store $discard=, 12($7), $pop31
f64.load $push32=, 0($0)
i32.trunc_s/f64 $1=, $pop32
i32.const $push33=, 11
i32.add $push34=, $0, $pop33
i32.const $push35=, -4
i32.and $push60=, $pop34, $pop35
tee_local $push59=, $0=, $pop60
i32.const $push36=, 4
i32.add $push37=, $pop59, $pop36
i32.store $discard=, 12($7), $pop37
i32.load $2=, 0($0)
i32.const $push58=, 11
i32.add $push39=, $0, $pop58
i32.const $push57=, -8
i32.and $push56=, $pop39, $pop57
tee_local $push55=, $0=, $pop56
i32.const $push54=, 8
i32.add $push40=, $pop55, $pop54
i32.store $discard=, 12($7), $pop40
i32.const $push53=, 0
f64.load $push41=, 0($0)
i32.add $push38=, $2, $1
f64.convert_s/i32 $push42=, $pop38
f64.add $push43=, $pop41, $pop42
i32.trunc_s/f64 $push44=, $pop43
i32.store $discard=, x($pop53), $pop44
i32.const $6=, 16
i32.add $7=, $7, $6
i32.const $6=, __stack_pointer
i32.store $7=, 0($6), $7
return
.LBB6_5: # %sw.default
end_block # label6:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end6:
.size f4, .Lfunc_end6-f4
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
.local i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32
# BB#0: # %entry
i32.const $2=, __stack_pointer
i32.load $2=, 0($2)
i32.const $3=, 224
i32.sub $23=, $2, $3
i32.const $3=, __stack_pointer
i32.store $23=, 0($3), $23
i32.const $push87=, 16
i32.const $5=, 192
i32.add $5=, $23, $5
i32.add $push0=, $5, $pop87
i64.const $push1=, 4629700416936869888
i64.store $discard=, 0($pop0):p2align=4, $pop1
i32.const $push86=, 8
i32.const $6=, 192
i32.add $6=, $23, $6
i32.or $push2=, $6, $pop86
i32.const $push3=, 128
i32.store $discard=, 0($pop2):p2align=3, $pop3
i64.const $push4=, 4625196817309499392
i64.store $discard=, 192($23):p2align=4, $pop4
i32.const $7=, 192
i32.add $7=, $23, $7
call f1@FUNCTION, $0, $7
block
block
block
block
block
block
block
block
block
i32.const $push85=, 0
i32.load $push5=, x($pop85)
i32.const $push6=, 176
i32.ne $push7=, $pop5, $pop6
br_if 0, $pop7 # 0: down to label17
# BB#1: # %if.end
i32.const $push9=, 32
i32.const $8=, 144
i32.add $8=, $23, $8
i32.add $push10=, $8, $pop9
i64.const $push11=, 4634204016564240384
i64.store $discard=, 0($pop10):p2align=4, $pop11
i32.const $push12=, 24
i32.const $9=, 144
i32.add $9=, $23, $9
i32.add $push13=, $9, $pop12
i32.const $push14=, 17
i32.store $discard=, 0($pop13):p2align=3, $pop14
i32.const $push90=, 16
i32.const $10=, 144
i32.add $10=, $23, $10
i32.add $push15=, $10, $pop90
i64.const $push16=, 4626041242239631360
i64.store $discard=, 0($pop15):p2align=4, $pop16
i32.const $push89=, 8
i32.const $11=, 144
i32.add $11=, $23, $11
i32.or $push17=, $11, $pop89
i64.const $push18=, 4625759767262920704
i64.store $discard=, 0($pop17), $pop18
i64.const $push19=, 30064771077
i64.store $discard=, 144($23):p2align=4, $pop19
i32.const $12=, 144
i32.add $12=, $23, $12
call f2@FUNCTION, $0, $12
i32.const $push88=, 0
i32.load $push20=, x($pop88)
i32.const $push21=, 100
i32.ne $push22=, $pop20, $pop21
br_if 1, $pop22 # 1: down to label16
# BB#2: # %if.end
i32.const $push91=, 0
i32.load $push8=, y($pop91)
i32.const $push23=, 30
i32.ne $push24=, $pop8, $pop23
br_if 1, $pop24 # 1: down to label16
# BB#3: # %if.end4
i32.const $push25=, 0
i32.const $push92=, 0
i32.call $push26=, f3@FUNCTION, $pop25, $pop92
br_if 2, $pop26 # 2: down to label15
# BB#4: # %if.end7
i32.const $push27=, 18
i32.store $discard=, 128($23):p2align=4, $pop27
i32.const $push28=, 1
i32.const $13=, 128
i32.add $13=, $23, $13
i32.call $push29=, f3@FUNCTION, $pop28, $13
i32.const $push30=, 19
i32.ne $push31=, $pop29, $pop30
br_if 3, $pop31 # 3: down to label14
# BB#5: # %if.end11
i64.const $push32=, 429496729618
i64.store $1=, 112($23):p2align=4, $pop32
i32.const $push33=, 2
i32.const $14=, 112
i32.add $14=, $23, $14
i32.call $push34=, f3@FUNCTION, $pop33, $14
i32.const $push35=, 120
i32.ne $push36=, $pop34, $pop35
br_if 4, $pop36 # 4: down to label13
# BB#6: # %if.end15
i32.const $push93=, 8
i32.const $15=, 96
i32.add $15=, $23, $15
i32.or $push37=, $15, $pop93
i32.const $push38=, 300
i32.store $discard=, 0($pop37):p2align=3, $pop38
i64.store $discard=, 96($23):p2align=4, $1
i32.const $push39=, 3
i32.const $16=, 96
i32.add $16=, $23, $16
i32.call $push40=, f3@FUNCTION, $pop39, $16
i32.const $push41=, 421
i32.ne $push42=, $pop40, $pop41
br_if 5, $pop42 # 5: down to label12
# BB#7: # %if.end19
i32.const $push95=, 8
i32.const $17=, 80
i32.add $17=, $23, $17
i32.or $push43=, $17, $pop95
i64.const $push44=, 369367187520
i64.store $discard=, 0($pop43), $pop44
i64.const $push45=, 304942678034
i64.store $discard=, 80($23):p2align=4, $pop45
i32.const $push94=, 4
i32.const $18=, 80
i32.add $18=, $23, $18
i32.call $push46=, f3@FUNCTION, $pop94, $18
i32.const $push47=, 243
i32.ne $push48=, $pop46, $pop47
br_if 6, $pop48 # 6: down to label11
# BB#8: # %if.end23
i32.const $push50=, 24
i32.const $19=, 48
i32.add $19=, $23, $19
i32.add $push51=, $19, $pop50
i64.const $push52=, 4625759767262920704
i64.store $discard=, 0($pop51), $pop52
i32.const $push53=, 16
i32.const $20=, 48
i32.add $20=, $23, $20
i32.add $push54=, $20, $pop53
i32.const $push98=, 16
i32.store $discard=, 0($pop54):p2align=4, $pop98
i32.const $push55=, 8
i32.const $21=, 48
i32.add $21=, $23, $21
i32.or $push56=, $21, $pop55
i64.const $push57=, 4621256167635550208
i64.store $discard=, 0($pop56), $pop57
i64.const $push58=, 4618441417868443648
i64.store $discard=, 48($23):p2align=4, $pop58
i32.const $push97=, 4
i32.const $22=, 48
i32.add $22=, $23, $22
call f4@FUNCTION, $pop97, $22
i32.const $push96=, 0
i32.load $push59=, x($pop96)
i32.const $push60=, 43
i32.ne $push61=, $pop59, $pop60
br_if 7, $pop61 # 7: down to label10
# BB#9: # %if.end23
i32.const $push99=, 0
i32.load $push49=, y($pop99)
i32.const $push62=, 6
i32.ne $push63=, $pop49, $pop62
br_if 7, $pop63 # 7: down to label10
# BB#10: # %if.end28
i32.const $push65=, 32
i32.add $push66=, $23, $pop65
i64.const $push67=, 4638566878703255552
i64.store $discard=, 0($pop66):p2align=4, $pop67
i32.const $push68=, 24
i32.add $push69=, $23, $pop68
i32.const $push70=, 17
i32.store $discard=, 0($pop69):p2align=3, $pop70
i32.const $push71=, 16
i32.add $push72=, $23, $pop71
i64.const $push73=, 4607182418800017408
i64.store $discard=, 0($pop72):p2align=4, $pop73
i32.const $push74=, 8
i32.or $push75=, $23, $pop74
i64.const $push76=, 4626604192193052672
i64.store $discard=, 0($pop75), $pop76
i64.const $push77=, 4619567317775286272
i64.store $discard=, 0($23):p2align=4, $pop77
i32.const $push78=, 5
call f4@FUNCTION, $pop78, $23
i32.const $push100=, 0
i32.load $push79=, x($pop100)
i32.const $push80=, 144
i32.ne $push81=, $pop79, $pop80
br_if 8, $pop81 # 8: down to label9
# BB#11: # %if.end28
i32.const $push101=, 0
i32.load $push64=, y($pop101)
i32.const $push82=, 28
i32.ne $push83=, $pop64, $pop82
br_if 8, $pop83 # 8: down to label9
# BB#12: # %if.end33
i32.const $push84=, 0
i32.const $4=, 224
i32.add $23=, $23, $4
i32.const $4=, __stack_pointer
i32.store $23=, 0($4), $23
return $pop84
.LBB7_13: # %if.then
end_block # label17:
call abort@FUNCTION
unreachable
.LBB7_14: # %if.then3
end_block # label16:
call abort@FUNCTION
unreachable
.LBB7_15: # %if.then6
end_block # label15:
call abort@FUNCTION
unreachable
.LBB7_16: # %if.then10
end_block # label14:
call abort@FUNCTION
unreachable
.LBB7_17: # %if.then14
end_block # label13:
call abort@FUNCTION
unreachable
.LBB7_18: # %if.then18
end_block # label12:
call abort@FUNCTION
unreachable
.LBB7_19: # %if.then22
end_block # label11:
call abort@FUNCTION
unreachable
.LBB7_20: # %if.then27
end_block # label10:
call abort@FUNCTION
unreachable
.LBB7_21: # %if.then32
end_block # label9:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end7:
.size main, .Lfunc_end7-main
.hidden x # @x
.type x,@object
.section .bss.x,"aw",@nobits
.globl x
.p2align 2
x:
.int32 0 # 0x0
.size x, 4
.hidden y # @y
.type y,@object
.section .bss.y,"aw",@nobits
.globl y
.p2align 2
y:
.int32 0 # 0x0
.size y, 4
.ident "clang version 3.9.0 "
|