summaryrefslogtreecommitdiff
path: root/test/torture-s/stdarg-2.c.s
blob: 9ae4700327ffc8b7b168a4988bdf1b6c8c9a4867 (plain)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
	.text
	.file	"/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/stdarg-2.c"
	.section	.text.foo,"ax",@progbits
	.hidden	foo
	.globl	foo
	.type	foo,@function
foo:                                    # @foo
	.param  	i32, i32
	.local  	i32, i64, i64
# BB#0:                                 # %entry
	i32.const	$push43=, __stack_pointer
	i32.const	$push40=, __stack_pointer
	i32.load	$push41=, 0($pop40)
	i32.const	$push42=, 32
	i32.sub 	$push51=, $pop41, $pop42
	i32.store	$2=, 0($pop43), $pop51
	block
	block
	block
	block
	i32.const	$push0=, 11
	i32.eq  	$push1=, $0, $pop0
	br_if   	0, $pop1        # 0: down to label3
# BB#1:                                 # %entry
	i32.const	$push2=, 8
	i32.eq  	$push3=, $0, $pop2
	br_if   	1, $pop3        # 1: down to label2
# BB#2:                                 # %entry
	i32.const	$push4=, 5
	i32.ne  	$push5=, $0, $pop4
	br_if   	3, $pop5        # 3: down to label0
# BB#3:                                 # %sw.bb
	i32.const	$push39=, 0
	i32.load	$push28=, 0($1)
	f64.convert_s/i32	$push33=, $pop28
	i32.const	$push29=, 11
	i32.add 	$push30=, $1, $pop29
	i32.const	$push31=, -8
	i32.and 	$push53=, $pop30, $pop31
	tee_local	$push52=, $0=, $pop53
	f64.load	$push32=, 0($pop52)
	f64.add 	$push34=, $pop33, $pop32
	i32.trunc_s/f64	$push35=, $pop34
	i64.extend_u/i32	$push37=, $pop35
	i64.load	$push36=, 8($0)
	i64.add 	$push38=, $pop37, $pop36
	i64.store32	$drop=, foo_arg($pop39), $pop38
	br      	2               # 2: down to label1
.LBB0_4:                                # %sw.bb18
	end_block                       # label3:
	i32.const	$push7=, 19
	i32.add 	$push8=, $1, $pop7
	i32.const	$push9=, -16
	i32.and 	$push56=, $pop8, $pop9
	tee_local	$push55=, $0=, $pop56
	i64.load	$3=, 8($pop55)
	i64.load	$4=, 0($0)
	i32.const	$push47=, 16
	i32.add 	$push48=, $2, $pop47
	i32.load	$push6=, 0($1)
	call    	__floatsitf@FUNCTION, $pop48, $pop6
	i64.load	$push13=, 16($2)
	i32.const	$push49=, 16
	i32.add 	$push50=, $2, $pop49
	i32.const	$push10=, 8
	i32.add 	$push11=, $pop50, $pop10
	i64.load	$push12=, 0($pop11)
	call    	__addtf3@FUNCTION, $2, $pop13, $pop12, $4, $3
	i32.const	$push18=, 0
	i64.load	$push16=, 0($2)
	i32.const	$push54=, 8
	i32.add 	$push14=, $2, $pop54
	i64.load	$push15=, 0($pop14)
	i32.call	$push17=, __fixtfsi@FUNCTION, $pop16, $pop15
	i32.store	$drop=, foo_arg($pop18), $pop17
	br      	1               # 1: down to label1
.LBB0_5:                                # %sw.bb9
	end_block                       # label2:
	i32.const	$push27=, 0
	i32.const	$push19=, 7
	i32.add 	$push20=, $1, $pop19
	i32.const	$push21=, -8
	i32.and 	$push58=, $pop20, $pop21
	tee_local	$push57=, $0=, $pop58
	i32.load	$push22=, 0($pop57)
	f64.convert_s/i32	$push24=, $pop22
	f64.load	$push23=, 8($0)
	f64.add 	$push25=, $pop24, $pop23
	i32.trunc_s/f64	$push26=, $pop25
	i32.store	$drop=, foo_arg($pop27), $pop26
.LBB0_6:                                # %sw.epilog
	end_block                       # label1:
	i32.const	$push46=, __stack_pointer
	i32.const	$push44=, 32
	i32.add 	$push45=, $2, $pop44
	i32.store	$drop=, 0($pop46), $pop45
	return
.LBB0_7:                                # %sw.default
	end_block                       # label0:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end0:
	.size	foo, .Lfunc_end0-foo

	.section	.text.bar,"ax",@progbits
	.hidden	bar
	.globl	bar
	.type	bar,@function
bar:                                    # @bar
	.param  	i32
	.local  	i32, f64, i32
# BB#0:                                 # %entry
	block
	block
	i32.const	$push1=, 16386
	i32.ne  	$push2=, $0, $pop1
	br_if   	0, $pop2        # 0: down to label5
# BB#1:                                 # %if.then
	i32.const	$push18=, 0
	i32.const	$push17=, 0
	i32.load	$push16=, gap($pop17)
	tee_local	$push15=, $3=, $pop16
	i32.const	$push3=, 4
	i32.add 	$push0=, $pop15, $pop3
	i32.store	$1=, gap($pop18), $pop0
	i32.load	$push4=, 0($3)
	i32.const	$push5=, 13
	i32.ne  	$push6=, $pop4, $pop5
	br_if   	1, $pop6        # 1: down to label4
# BB#2:                                 # %lor.lhs.false
	i32.const	$push7=, 7
	i32.add 	$push8=, $1, $pop7
	i32.const	$push9=, -8
	i32.and 	$push21=, $pop8, $pop9
	tee_local	$push20=, $3=, $pop21
	f64.load	$2=, 0($pop20)
	i32.const	$push19=, 0
	i32.const	$push10=, 8
	i32.add 	$push11=, $3, $pop10
	i32.store	$drop=, gap($pop19), $pop11
	f64.const	$push12=, -0x1.cp3
	f64.ne  	$push13=, $2, $pop12
	br_if   	1, $pop13       # 1: down to label4
.LBB1_3:                                # %if.end6
	end_block                       # label5:
	i32.const	$push14=, 0
	i32.store	$drop=, bar_arg($pop14), $0
	return
.LBB1_4:                                # %if.then5
	end_block                       # label4:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end1:
	.size	bar, .Lfunc_end1-bar

	.section	.text.f1,"ax",@progbits
	.hidden	f1
	.globl	f1
	.type	f1,@function
f1:                                     # @f1
	.param  	i32, i32
# BB#0:                                 # %entry
	i32.const	$push0=, 0
	i32.const	$push7=, 0
	i32.store	$push6=, gap($pop7), $1
	tee_local	$push5=, $1=, $pop6
	i32.const	$push1=, 4
	i32.add 	$push2=, $pop5, $pop1
	i32.store	$drop=, gap($pop0), $pop2
	i32.const	$push4=, 0
	i32.load	$push3=, 0($1)
	i32.store	$drop=, x($pop4), $pop3
	return
	.endfunc
.Lfunc_end2:
	.size	f1, .Lfunc_end2-f1

	.section	.text.f2,"ax",@progbits
	.hidden	f2
	.globl	f2
	.type	f2,@function
f2:                                     # @f2
	.param  	i32, i32
	.local  	i32, f64
# BB#0:                                 # %entry
	i32.const	$push15=, 0
	i32.store	$drop=, gap($pop15), $1
	block
	block
	i32.const	$push1=, 16386
	i32.ne  	$push2=, $0, $pop1
	br_if   	0, $pop2        # 0: down to label7
# BB#1:                                 # %if.then.i
	i32.const	$push19=, 0
	i32.const	$push18=, 0
	i32.load	$push17=, gap($pop18)
	tee_local	$push16=, $1=, $pop17
	i32.const	$push3=, 4
	i32.add 	$push0=, $pop16, $pop3
	i32.store	$2=, gap($pop19), $pop0
	i32.load	$push4=, 0($1)
	i32.const	$push5=, 13
	i32.ne  	$push6=, $pop4, $pop5
	br_if   	1, $pop6        # 1: down to label6
# BB#2:                                 # %lor.lhs.false.i
	i32.const	$push7=, 7
	i32.add 	$push8=, $2, $pop7
	i32.const	$push9=, -8
	i32.and 	$push21=, $pop8, $pop9
	tee_local	$push20=, $1=, $pop21
	f64.load	$3=, 0($pop20)
	i32.const	$push12=, 0
	i32.const	$push10=, 8
	i32.add 	$push11=, $1, $pop10
	i32.store	$drop=, gap($pop12), $pop11
	f64.const	$push13=, -0x1.cp3
	f64.ne  	$push14=, $3, $pop13
	br_if   	1, $pop14       # 1: down to label6
.LBB3_3:                                # %bar.exit
	end_block                       # label7:
	i32.const	$push22=, 0
	i32.store	$drop=, bar_arg($pop22), $0
	return
.LBB3_4:                                # %if.then5.i
	end_block                       # label6:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end3:
	.size	f2, .Lfunc_end3-f2

	.section	.text.f3,"ax",@progbits
	.hidden	f3
	.globl	f3
	.type	f3,@function
f3:                                     # @f3
	.param  	i32, i32
	.local  	i32
# BB#0:                                 # %entry
	i32.const	$push4=, __stack_pointer
	i32.load	$push5=, 0($pop4)
	i32.const	$push6=, 48
	i32.sub 	$2=, $pop5, $pop6
	i32.store	$push8=, 16($2), $1
	tee_local	$push7=, $1=, $pop8
	i32.const	$push0=, 4
	i32.add 	$push1=, $pop7, $pop0
	i32.store	$drop=, 16($2), $pop1
	i32.const	$push3=, 0
	i32.load	$push2=, 0($1)
	i32.store	$drop=, x($pop3), $pop2
	return
	.endfunc
.Lfunc_end4:
	.size	f3, .Lfunc_end4-f3

	.section	.text.f4,"ax",@progbits
	.hidden	f4
	.globl	f4
	.type	f4,@function
f4:                                     # @f4
	.param  	i32, i32
	.local  	i32, f64, i32
# BB#0:                                 # %entry
	i32.const	$push18=, __stack_pointer
	i32.const	$push15=, __stack_pointer
	i32.load	$push16=, 0($pop15)
	i32.const	$push17=, 48
	i32.sub 	$push22=, $pop16, $pop17
	i32.store	$push24=, 0($pop18), $pop22
	tee_local	$push23=, $4=, $pop24
	i32.store	$drop=, 16($pop23), $1
	block
	block
	i32.const	$push1=, 16386
	i32.ne  	$push2=, $0, $pop1
	br_if   	0, $pop2        # 0: down to label9
# BB#1:                                 # %if.then.i
	i32.const	$push28=, 0
	i32.const	$push27=, 0
	i32.load	$push26=, gap($pop27)
	tee_local	$push25=, $1=, $pop26
	i32.const	$push3=, 4
	i32.add 	$push0=, $pop25, $pop3
	i32.store	$2=, gap($pop28), $pop0
	i32.load	$push4=, 0($1)
	i32.const	$push5=, 13
	i32.ne  	$push6=, $pop4, $pop5
	br_if   	1, $pop6        # 1: down to label8
# BB#2:                                 # %lor.lhs.false.i
	i32.const	$push7=, 7
	i32.add 	$push8=, $2, $pop7
	i32.const	$push9=, -8
	i32.and 	$push31=, $pop8, $pop9
	tee_local	$push30=, $1=, $pop31
	f64.load	$3=, 0($pop30)
	i32.const	$push29=, 0
	i32.const	$push10=, 8
	i32.add 	$push11=, $1, $pop10
	i32.store	$drop=, gap($pop29), $pop11
	f64.const	$push12=, -0x1.cp3
	f64.ne  	$push13=, $3, $pop12
	br_if   	1, $pop13       # 1: down to label8
.LBB5_3:                                # %bar.exit
	end_block                       # label9:
	i32.const	$push14=, 0
	i32.store	$drop=, bar_arg($pop14), $0
	i32.const	$push21=, __stack_pointer
	i32.const	$push19=, 48
	i32.add 	$push20=, $4, $pop19
	i32.store	$drop=, 0($pop21), $pop20
	return
.LBB5_4:                                # %if.then5.i
	end_block                       # label8:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end5:
	.size	f4, .Lfunc_end5-f4

	.section	.text.f5,"ax",@progbits
	.hidden	f5
	.globl	f5
	.type	f5,@function
f5:                                     # @f5
	.param  	i32, i32
	.local  	i64, i64, i32
# BB#0:                                 # %entry
	i32.const	$push43=, __stack_pointer
	i32.const	$push40=, __stack_pointer
	i32.load	$push41=, 0($pop40)
	i32.const	$push42=, 80
	i32.sub 	$push51=, $pop41, $pop42
	i32.store	$push53=, 0($pop43), $pop51
	tee_local	$push52=, $4=, $pop53
	i32.store	$drop=, 48($pop52), $1
	block
	block
	block
	block
	i32.const	$push0=, 11
	i32.eq  	$push1=, $0, $pop0
	br_if   	0, $pop1        # 0: down to label13
# BB#1:                                 # %entry
	i32.const	$push2=, 8
	i32.eq  	$push3=, $0, $pop2
	br_if   	1, $pop3        # 1: down to label12
# BB#2:                                 # %entry
	i32.const	$push4=, 5
	i32.ne  	$push5=, $0, $pop4
	br_if   	3, $pop5        # 3: down to label10
# BB#3:                                 # %sw.bb.i
	i32.const	$push39=, 0
	i32.load	$push28=, 0($1)
	f64.convert_s/i32	$push33=, $pop28
	i32.const	$push29=, 11
	i32.add 	$push30=, $1, $pop29
	i32.const	$push31=, -8
	i32.and 	$push55=, $pop30, $pop31
	tee_local	$push54=, $0=, $pop55
	f64.load	$push32=, 0($pop54)
	f64.add 	$push34=, $pop33, $pop32
	i32.trunc_s/f64	$push35=, $pop34
	i64.extend_u/i32	$push37=, $pop35
	i64.load	$push36=, 8($0)
	i64.add 	$push38=, $pop37, $pop36
	i64.store32	$drop=, foo_arg($pop39), $pop38
	br      	2               # 2: down to label11
.LBB6_4:                                # %sw.bb18.i
	end_block                       # label13:
	i32.const	$push7=, 19
	i32.add 	$push8=, $1, $pop7
	i32.const	$push9=, -16
	i32.and 	$push58=, $pop8, $pop9
	tee_local	$push57=, $0=, $pop58
	i64.load	$2=, 8($pop57)
	i64.load	$3=, 0($0)
	i32.const	$push47=, 16
	i32.add 	$push48=, $4, $pop47
	i32.load	$push6=, 0($1)
	call    	__floatsitf@FUNCTION, $pop48, $pop6
	i64.load	$push13=, 16($4)
	i32.const	$push49=, 16
	i32.add 	$push50=, $4, $pop49
	i32.const	$push10=, 8
	i32.add 	$push11=, $pop50, $pop10
	i64.load	$push12=, 0($pop11)
	call    	__addtf3@FUNCTION, $4, $pop13, $pop12, $3, $2
	i32.const	$push18=, 0
	i64.load	$push16=, 0($4)
	i32.const	$push56=, 8
	i32.add 	$push14=, $4, $pop56
	i64.load	$push15=, 0($pop14)
	i32.call	$push17=, __fixtfsi@FUNCTION, $pop16, $pop15
	i32.store	$drop=, foo_arg($pop18), $pop17
	br      	1               # 1: down to label11
.LBB6_5:                                # %sw.bb9.i
	end_block                       # label12:
	i32.const	$push27=, 0
	i32.const	$push19=, 7
	i32.add 	$push20=, $1, $pop19
	i32.const	$push21=, -8
	i32.and 	$push60=, $pop20, $pop21
	tee_local	$push59=, $0=, $pop60
	f64.load	$push23=, 8($pop59)
	i32.load	$push22=, 0($0)
	f64.convert_s/i32	$push24=, $pop22
	f64.add 	$push25=, $pop23, $pop24
	i32.trunc_s/f64	$push26=, $pop25
	i32.store	$drop=, foo_arg($pop27), $pop26
.LBB6_6:                                # %foo.exit
	end_block                       # label11:
	i32.const	$push46=, __stack_pointer
	i32.const	$push44=, 80
	i32.add 	$push45=, $4, $pop44
	i32.store	$drop=, 0($pop46), $pop45
	return
.LBB6_7:                                # %sw.default.i
	end_block                       # label10:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end6:
	.size	f5, .Lfunc_end6-f5

	.section	.text.f6,"ax",@progbits
	.hidden	f6
	.globl	f6
	.type	f6,@function
f6:                                     # @f6
	.param  	i32, i32
	.local  	i32
# BB#0:                                 # %entry
	i32.const	$push4=, __stack_pointer
	i32.load	$push5=, 0($pop4)
	i32.const	$push6=, 16
	i32.sub 	$2=, $pop5, $pop6
	i32.store	$push8=, 4($2), $1
	tee_local	$push7=, $1=, $pop8
	i32.const	$push0=, 4
	i32.add 	$push1=, $pop7, $pop0
	i32.store	$drop=, 4($2), $pop1
	i32.const	$push3=, 0
	i32.load	$push2=, 0($1)
	i32.store	$drop=, x($pop3), $pop2
	return
	.endfunc
.Lfunc_end7:
	.size	f6, .Lfunc_end7-f6

	.section	.text.f7,"ax",@progbits
	.hidden	f7
	.globl	f7
	.type	f7,@function
f7:                                     # @f7
	.param  	i32, i32
	.local  	i32, f64, i32
# BB#0:                                 # %entry
	i32.const	$push18=, __stack_pointer
	i32.const	$push15=, __stack_pointer
	i32.load	$push16=, 0($pop15)
	i32.const	$push17=, 16
	i32.sub 	$push22=, $pop16, $pop17
	i32.store	$push24=, 0($pop18), $pop22
	tee_local	$push23=, $4=, $pop24
	i32.store	$drop=, 4($pop23), $1
	block
	block
	i32.const	$push1=, 16386
	i32.ne  	$push2=, $0, $pop1
	br_if   	0, $pop2        # 0: down to label15
# BB#1:                                 # %if.then.i
	i32.const	$push28=, 0
	i32.const	$push27=, 0
	i32.load	$push26=, gap($pop27)
	tee_local	$push25=, $1=, $pop26
	i32.const	$push3=, 4
	i32.add 	$push0=, $pop25, $pop3
	i32.store	$2=, gap($pop28), $pop0
	i32.load	$push4=, 0($1)
	i32.const	$push5=, 13
	i32.ne  	$push6=, $pop4, $pop5
	br_if   	1, $pop6        # 1: down to label14
# BB#2:                                 # %lor.lhs.false.i
	i32.const	$push7=, 7
	i32.add 	$push8=, $2, $pop7
	i32.const	$push9=, -8
	i32.and 	$push31=, $pop8, $pop9
	tee_local	$push30=, $1=, $pop31
	f64.load	$3=, 0($pop30)
	i32.const	$push29=, 0
	i32.const	$push10=, 8
	i32.add 	$push11=, $1, $pop10
	i32.store	$drop=, gap($pop29), $pop11
	f64.const	$push12=, -0x1.cp3
	f64.ne  	$push13=, $3, $pop12
	br_if   	1, $pop13       # 1: down to label14
.LBB8_3:                                # %bar.exit
	end_block                       # label15:
	i32.const	$push14=, 0
	i32.store	$drop=, bar_arg($pop14), $0
	i32.const	$push21=, __stack_pointer
	i32.const	$push19=, 16
	i32.add 	$push20=, $4, $pop19
	i32.store	$drop=, 0($pop21), $pop20
	return
.LBB8_4:                                # %if.then5.i
	end_block                       # label14:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end8:
	.size	f7, .Lfunc_end8-f7

	.section	.text.f8,"ax",@progbits
	.hidden	f8
	.globl	f8
	.type	f8,@function
f8:                                     # @f8
	.param  	i32, i32
	.local  	i64, i64, i32
# BB#0:                                 # %entry
	i32.const	$push43=, __stack_pointer
	i32.const	$push40=, __stack_pointer
	i32.load	$push41=, 0($pop40)
	i32.const	$push42=, 48
	i32.sub 	$push51=, $pop41, $pop42
	i32.store	$push53=, 0($pop43), $pop51
	tee_local	$push52=, $4=, $pop53
	i32.store	$drop=, 36($pop52), $1
	block
	block
	block
	block
	i32.const	$push0=, 11
	i32.eq  	$push1=, $0, $pop0
	br_if   	0, $pop1        # 0: down to label19
# BB#1:                                 # %entry
	i32.const	$push2=, 8
	i32.eq  	$push3=, $0, $pop2
	br_if   	1, $pop3        # 1: down to label18
# BB#2:                                 # %entry
	i32.const	$push4=, 5
	i32.ne  	$push5=, $0, $pop4
	br_if   	3, $pop5        # 3: down to label16
# BB#3:                                 # %sw.bb.i
	i32.const	$push39=, 0
	i32.load	$push28=, 0($1)
	f64.convert_s/i32	$push33=, $pop28
	i32.const	$push29=, 11
	i32.add 	$push30=, $1, $pop29
	i32.const	$push31=, -8
	i32.and 	$push55=, $pop30, $pop31
	tee_local	$push54=, $0=, $pop55
	f64.load	$push32=, 0($pop54)
	f64.add 	$push34=, $pop33, $pop32
	i32.trunc_s/f64	$push35=, $pop34
	i64.extend_u/i32	$push37=, $pop35
	i64.load	$push36=, 8($0)
	i64.add 	$push38=, $pop37, $pop36
	i64.store32	$drop=, foo_arg($pop39), $pop38
	br      	2               # 2: down to label17
.LBB9_4:                                # %sw.bb18.i
	end_block                       # label19:
	i32.const	$push7=, 19
	i32.add 	$push8=, $1, $pop7
	i32.const	$push9=, -16
	i32.and 	$push58=, $pop8, $pop9
	tee_local	$push57=, $0=, $pop58
	i64.load	$2=, 8($pop57)
	i64.load	$3=, 0($0)
	i32.const	$push47=, 16
	i32.add 	$push48=, $4, $pop47
	i32.load	$push6=, 0($1)
	call    	__floatsitf@FUNCTION, $pop48, $pop6
	i64.load	$push13=, 16($4)
	i32.const	$push49=, 16
	i32.add 	$push50=, $4, $pop49
	i32.const	$push10=, 8
	i32.add 	$push11=, $pop50, $pop10
	i64.load	$push12=, 0($pop11)
	call    	__addtf3@FUNCTION, $4, $pop13, $pop12, $3, $2
	i32.const	$push18=, 0
	i64.load	$push16=, 0($4)
	i32.const	$push56=, 8
	i32.add 	$push14=, $4, $pop56
	i64.load	$push15=, 0($pop14)
	i32.call	$push17=, __fixtfsi@FUNCTION, $pop16, $pop15
	i32.store	$drop=, foo_arg($pop18), $pop17
	br      	1               # 1: down to label17
.LBB9_5:                                # %sw.bb9.i
	end_block                       # label18:
	i32.const	$push27=, 0
	i32.const	$push19=, 7
	i32.add 	$push20=, $1, $pop19
	i32.const	$push21=, -8
	i32.and 	$push60=, $pop20, $pop21
	tee_local	$push59=, $0=, $pop60
	f64.load	$push23=, 8($pop59)
	i32.load	$push22=, 0($0)
	f64.convert_s/i32	$push24=, $pop22
	f64.add 	$push25=, $pop23, $pop24
	i32.trunc_s/f64	$push26=, $pop25
	i32.store	$drop=, foo_arg($pop27), $pop26
.LBB9_6:                                # %foo.exit
	end_block                       # label17:
	i32.const	$push46=, __stack_pointer
	i32.const	$push44=, 48
	i32.add 	$push45=, $4, $pop44
	i32.store	$drop=, 0($pop46), $pop45
	return
.LBB9_7:                                # %sw.default.i
	end_block                       # label16:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end9:
	.size	f8, .Lfunc_end9-f8

	.section	.text.f10,"ax",@progbits
	.hidden	f10
	.globl	f10
	.type	f10,@function
f10:                                    # @f10
	.param  	i32, i32
	.local  	i32
# BB#0:                                 # %entry
	i32.const	$push5=, __stack_pointer
	i32.load	$push6=, 0($pop5)
	i32.const	$push7=, 16
	i32.sub 	$push8=, $pop6, $pop7
	i32.const	$push0=, 12
	i32.add 	$2=, $pop8, $pop0
	i32.store	$push10=, 0($2), $1
	tee_local	$push9=, $1=, $pop10
	i32.const	$push1=, 4
	i32.add 	$push2=, $pop9, $pop1
	i32.store	$drop=, 0($2), $pop2
	i32.const	$push4=, 0
	i32.load	$push3=, 0($1)
	i32.store	$drop=, x($pop4), $pop3
	return
	.endfunc
.Lfunc_end10:
	.size	f10, .Lfunc_end10-f10

	.section	.text.f11,"ax",@progbits
	.hidden	f11
	.globl	f11
	.type	f11,@function
f11:                                    # @f11
	.param  	i32, i32
	.local  	i32, f64, i32
# BB#0:                                 # %entry
	i32.const	$push20=, __stack_pointer
	i32.const	$push17=, __stack_pointer
	i32.load	$push18=, 0($pop17)
	i32.const	$push19=, 16
	i32.sub 	$push24=, $pop18, $pop19
	i32.store	$push26=, 0($pop20), $pop24
	tee_local	$push25=, $4=, $pop26
	i32.const	$push2=, 12
	i32.add 	$push0=, $pop25, $pop2
	i32.store	$drop=, 0($pop0), $1
	block
	block
	i32.const	$push3=, 16386
	i32.ne  	$push4=, $0, $pop3
	br_if   	0, $pop4        # 0: down to label21
# BB#1:                                 # %if.then.i
	i32.const	$push30=, 0
	i32.const	$push29=, 0
	i32.load	$push28=, gap($pop29)
	tee_local	$push27=, $1=, $pop28
	i32.const	$push5=, 4
	i32.add 	$push1=, $pop27, $pop5
	i32.store	$2=, gap($pop30), $pop1
	i32.load	$push6=, 0($1)
	i32.const	$push7=, 13
	i32.ne  	$push8=, $pop6, $pop7
	br_if   	1, $pop8        # 1: down to label20
# BB#2:                                 # %lor.lhs.false.i
	i32.const	$push9=, 7
	i32.add 	$push10=, $2, $pop9
	i32.const	$push11=, -8
	i32.and 	$push33=, $pop10, $pop11
	tee_local	$push32=, $1=, $pop33
	f64.load	$3=, 0($pop32)
	i32.const	$push31=, 0
	i32.const	$push12=, 8
	i32.add 	$push13=, $1, $pop12
	i32.store	$drop=, gap($pop31), $pop13
	f64.const	$push14=, -0x1.cp3
	f64.ne  	$push15=, $3, $pop14
	br_if   	1, $pop15       # 1: down to label20
.LBB11_3:                               # %bar.exit
	end_block                       # label21:
	i32.const	$push16=, 0
	i32.store	$drop=, bar_arg($pop16), $0
	i32.const	$push23=, __stack_pointer
	i32.const	$push21=, 16
	i32.add 	$push22=, $4, $pop21
	i32.store	$drop=, 0($pop23), $pop22
	return
.LBB11_4:                               # %if.then5.i
	end_block                       # label20:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end11:
	.size	f11, .Lfunc_end11-f11

	.section	.text.f12,"ax",@progbits
	.hidden	f12
	.globl	f12
	.type	f12,@function
f12:                                    # @f12
	.param  	i32, i32
	.local  	i64, i64, i32
# BB#0:                                 # %entry
	i32.const	$push45=, __stack_pointer
	i32.const	$push42=, __stack_pointer
	i32.load	$push43=, 0($pop42)
	i32.const	$push44=, 48
	i32.sub 	$push53=, $pop43, $pop44
	i32.store	$push55=, 0($pop45), $pop53
	tee_local	$push54=, $4=, $pop55
	i32.const	$push1=, 44
	i32.add 	$push0=, $pop54, $pop1
	i32.store	$drop=, 0($pop0), $1
	block
	block
	block
	block
	i32.const	$push2=, 11
	i32.eq  	$push3=, $0, $pop2
	br_if   	0, $pop3        # 0: down to label25
# BB#1:                                 # %entry
	i32.const	$push4=, 8
	i32.eq  	$push5=, $0, $pop4
	br_if   	1, $pop5        # 1: down to label24
# BB#2:                                 # %entry
	i32.const	$push6=, 5
	i32.ne  	$push7=, $0, $pop6
	br_if   	3, $pop7        # 3: down to label22
# BB#3:                                 # %sw.bb.i
	i32.const	$push41=, 0
	i32.load	$push30=, 0($1)
	f64.convert_s/i32	$push35=, $pop30
	i32.const	$push31=, 11
	i32.add 	$push32=, $1, $pop31
	i32.const	$push33=, -8
	i32.and 	$push57=, $pop32, $pop33
	tee_local	$push56=, $0=, $pop57
	f64.load	$push34=, 0($pop56)
	f64.add 	$push36=, $pop35, $pop34
	i32.trunc_s/f64	$push37=, $pop36
	i64.extend_u/i32	$push39=, $pop37
	i64.load	$push38=, 8($0)
	i64.add 	$push40=, $pop39, $pop38
	i64.store32	$drop=, foo_arg($pop41), $pop40
	br      	2               # 2: down to label23
.LBB12_4:                               # %sw.bb18.i
	end_block                       # label25:
	i32.const	$push9=, 19
	i32.add 	$push10=, $1, $pop9
	i32.const	$push11=, -16
	i32.and 	$push60=, $pop10, $pop11
	tee_local	$push59=, $0=, $pop60
	i64.load	$2=, 8($pop59)
	i64.load	$3=, 0($0)
	i32.const	$push49=, 16
	i32.add 	$push50=, $4, $pop49
	i32.load	$push8=, 0($1)
	call    	__floatsitf@FUNCTION, $pop50, $pop8
	i64.load	$push15=, 16($4)
	i32.const	$push51=, 16
	i32.add 	$push52=, $4, $pop51
	i32.const	$push12=, 8
	i32.add 	$push13=, $pop52, $pop12
	i64.load	$push14=, 0($pop13)
	call    	__addtf3@FUNCTION, $4, $pop15, $pop14, $3, $2
	i32.const	$push20=, 0
	i64.load	$push18=, 0($4)
	i32.const	$push58=, 8
	i32.add 	$push16=, $4, $pop58
	i64.load	$push17=, 0($pop16)
	i32.call	$push19=, __fixtfsi@FUNCTION, $pop18, $pop17
	i32.store	$drop=, foo_arg($pop20), $pop19
	br      	1               # 1: down to label23
.LBB12_5:                               # %sw.bb9.i
	end_block                       # label24:
	i32.const	$push29=, 0
	i32.const	$push21=, 7
	i32.add 	$push22=, $1, $pop21
	i32.const	$push23=, -8
	i32.and 	$push62=, $pop22, $pop23
	tee_local	$push61=, $0=, $pop62
	f64.load	$push25=, 8($pop61)
	i32.load	$push24=, 0($0)
	f64.convert_s/i32	$push26=, $pop24
	f64.add 	$push27=, $pop25, $pop26
	i32.trunc_s/f64	$push28=, $pop27
	i32.store	$drop=, foo_arg($pop29), $pop28
.LBB12_6:                               # %foo.exit
	end_block                       # label23:
	i32.const	$push48=, __stack_pointer
	i32.const	$push46=, 48
	i32.add 	$push47=, $4, $pop46
	i32.store	$drop=, 0($pop48), $pop47
	return
.LBB12_7:                               # %sw.default.i
	end_block                       # label22:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end12:
	.size	f12, .Lfunc_end12-f12

	.section	.text.main,"ax",@progbits
	.hidden	main
	.globl	main
	.type	main,@function
main:                                   # @main
	.result 	i32
	.local  	i32, i32
# BB#0:                                 # %entry
	i32.const	$push54=, __stack_pointer
	i32.const	$push51=, __stack_pointer
	i32.load	$push52=, 0($pop51)
	i32.const	$push53=, 176
	i32.sub 	$push74=, $pop52, $pop53
	i32.store	$push77=, 0($pop54), $pop74
	tee_local	$push76=, $1=, $pop77
	i32.const	$push0=, 79
	i32.store	$0=, 160($pop76), $pop0
	i32.const	$push58=, 160
	i32.add 	$push59=, $1, $pop58
	call    	f1@FUNCTION, $1, $pop59
	block
	i32.const	$push75=, 0
	i32.load	$push1=, x($pop75)
	i32.ne  	$push2=, $0, $pop1
	br_if   	0, $pop2        # 0: down to label26
# BB#1:                                 # %if.end
	i64.const	$push3=, -4599301119452119040
	i64.store	$drop=, 152($1), $pop3
	i32.const	$push4=, 13
	i32.store	$drop=, 144($1), $pop4
	i32.const	$push5=, 16386
	i32.const	$push60=, 144
	i32.add 	$push61=, $1, $pop60
	call    	f2@FUNCTION, $pop5, $pop61
	i32.const	$push79=, 0
	i32.load	$push6=, bar_arg($pop79)
	i32.const	$push78=, 16386
	i32.ne  	$push7=, $pop6, $pop78
	br_if   	0, $pop7        # 0: down to label26
# BB#2:                                 # %if.end3
	i32.const	$push8=, 2031
	i32.store	$0=, 128($1), $pop8
	i32.const	$push62=, 128
	i32.add 	$push63=, $1, $pop62
	call    	f3@FUNCTION, $1, $pop63
	i32.const	$push80=, 0
	i32.load	$push9=, x($pop80)
	i32.ne  	$push10=, $0, $pop9
	br_if   	0, $pop10       # 0: down to label26
# BB#3:                                 # %if.end6
	i32.const	$push11=, 18
	i32.store	$drop=, 112($1), $pop11
	i32.const	$push12=, 4
	i32.const	$push64=, 112
	i32.add 	$push65=, $1, $pop64
	call    	f4@FUNCTION, $pop12, $pop65
	i32.const	$push82=, 0
	i32.load	$push13=, bar_arg($pop82)
	i32.const	$push81=, 4
	i32.ne  	$push14=, $pop13, $pop81
	br_if   	0, $pop14       # 0: down to label26
# BB#4:                                 # %if.end9
	i32.const	$push15=, 96
	i32.add 	$push16=, $1, $pop15
	i64.const	$push17=, 18
	i64.store	$drop=, 0($pop16), $pop17
	i64.const	$push18=, 4626041242239631360
	i64.store	$drop=, 88($1), $pop18
	i32.const	$push19=, 1
	i32.store	$drop=, 80($1), $pop19
	i32.const	$push20=, 5
	i32.const	$push66=, 80
	i32.add 	$push67=, $1, $pop66
	call    	f5@FUNCTION, $pop20, $pop67
	i32.const	$push83=, 0
	i32.load	$push21=, foo_arg($pop83)
	i32.const	$push22=, 38
	i32.ne  	$push23=, $pop21, $pop22
	br_if   	0, $pop23       # 0: down to label26
# BB#5:                                 # %if.end12
	i32.const	$push24=, 18
	i32.store	$0=, 64($1), $pop24
	i32.const	$push68=, 64
	i32.add 	$push69=, $1, $pop68
	call    	f6@FUNCTION, $1, $pop69
	i32.const	$push84=, 0
	i32.load	$push25=, x($pop84)
	i32.ne  	$push26=, $0, $pop25
	br_if   	0, $pop26       # 0: down to label26
# BB#6:                                 # %if.end15
	i32.const	$push27=, 7
	i32.const	$push87=, 0
	call    	f7@FUNCTION, $pop27, $pop87
	i32.const	$push86=, 0
	i32.load	$push28=, bar_arg($pop86)
	i32.const	$push85=, 7
	i32.ne  	$push29=, $pop28, $pop85
	br_if   	0, $pop29       # 0: down to label26
# BB#7:                                 # %if.end18
	i64.const	$push30=, 4623507967449235456
	i64.store	$drop=, 56($1), $pop30
	i64.const	$push31=, 2031
	i64.store	$drop=, 48($1), $pop31
	i32.const	$push32=, 8
	i32.const	$push70=, 48
	i32.add 	$push71=, $1, $pop70
	call    	f8@FUNCTION, $pop32, $pop71
	i32.const	$push88=, 0
	i32.load	$push33=, foo_arg($pop88)
	i32.const	$push34=, 2044
	i32.ne  	$push35=, $pop33, $pop34
	br_if   	0, $pop35       # 0: down to label26
# BB#8:                                 # %if.end21
	i32.const	$push36=, 180
	i32.store	$0=, 32($1), $pop36
	i32.const	$push72=, 32
	i32.add 	$push73=, $1, $pop72
	call    	f10@FUNCTION, $1, $pop73
	i32.const	$push89=, 0
	i32.load	$push37=, x($pop89)
	i32.ne  	$push38=, $0, $pop37
	br_if   	0, $pop38       # 0: down to label26
# BB#9:                                 # %if.end24
	i32.const	$push39=, 10
	i32.const	$push92=, 0
	call    	f11@FUNCTION, $pop39, $pop92
	i32.const	$push91=, 0
	i32.load	$push40=, bar_arg($pop91)
	i32.const	$push90=, 10
	i32.ne  	$push41=, $pop40, $pop90
	br_if   	0, $pop41       # 0: down to label26
# BB#10:                                # %if.end27
	i32.const	$push42=, 16
	i32.add 	$push43=, $1, $pop42
	i64.const	$push44=, 4612389705869164544
	i64.store	$drop=, 0($pop43), $pop44
	i64.const	$push45=, 0
	i64.store	$drop=, 8($1), $pop45
	i32.const	$push46=, 2030
	i32.store	$drop=, 0($1), $pop46
	i32.const	$push47=, 11
	call    	f12@FUNCTION, $pop47, $1
	i32.const	$push93=, 0
	i32.load	$push48=, foo_arg($pop93)
	i32.const	$push49=, 2042
	i32.ne  	$push50=, $pop48, $pop49
	br_if   	0, $pop50       # 0: down to label26
# BB#11:                                # %if.end30
	i32.const	$push57=, __stack_pointer
	i32.const	$push55=, 176
	i32.add 	$push56=, $1, $pop55
	i32.store	$drop=, 0($pop57), $pop56
	i32.const	$push94=, 0
	return  	$pop94
.LBB13_12:                              # %if.then29
	end_block                       # label26:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end13:
	.size	main, .Lfunc_end13-main

	.hidden	foo_arg                 # @foo_arg
	.type	foo_arg,@object
	.section	.bss.foo_arg,"aw",@nobits
	.globl	foo_arg
	.p2align	2
foo_arg:
	.int32	0                       # 0x0
	.size	foo_arg, 4

	.hidden	gap                     # @gap
	.type	gap,@object
	.section	.bss.gap,"aw",@nobits
	.globl	gap
	.p2align	2
gap:
	.int32	0
	.size	gap, 4

	.hidden	bar_arg                 # @bar_arg
	.type	bar_arg,@object
	.section	.bss.bar_arg,"aw",@nobits
	.globl	bar_arg
	.p2align	2
bar_arg:
	.int32	0                       # 0x0
	.size	bar_arg, 4

	.hidden	x                       # @x
	.type	x,@object
	.section	.bss.x,"aw",@nobits
	.globl	x
	.p2align	2
x:
	.int32	0                       # 0x0
	.size	x, 4

	.hidden	d                       # @d
	.type	d,@object
	.section	.bss.d,"aw",@nobits
	.globl	d
	.p2align	3
d:
	.int64	0                       # double 0
	.size	d, 8


	.ident	"clang version 3.9.0 "