3 .section .text.foo,"ax",@progbits
4 .hidden foo # -- Begin function foo
8 .param i32, i32, i32, i32
10 .local i32, i32, i32, i32
14 i32.load $push13=, f1.beenhere($pop14)
15 tee_local $push12=, $7=, $pop13
17 i32.add $push10=, $pop12, $pop11
18 tee_local $push9=, $6=, $pop10
19 i32.store f1.beenhere($pop15), $pop9
24 i32.gt_s $push0=, $7, $pop8
25 br_if 0, $pop0 # 0: down to label2
26 # BB#1: # %f1.exit.lr.ph.lr.ph
28 i32.add $5=, $0, $pop3
30 # =>This Inner Loop Header: Depth=1
34 i32.eq $push1=, $7, $pop16
35 br_if 2, $pop1 # 2: down to label1
37 # in Loop: Header=BB0_2 Depth=1
40 br_if 0, $pop29 # 0: down to label4
42 # in Loop: Header=BB0_2 Depth=1
45 i32.add $push19=, $4, $pop20
46 tee_local $push18=, $6=, $pop19
47 i32.store f1.beenhere($pop21), $pop18
50 i32.lt_s $push2=, $4, $pop17
51 br_if 1, $pop2 # 1: up to label3
52 br 2 # 2: down to label2
54 # in Loop: Header=BB0_2 Depth=1
57 i32.load $push4=, 0($0)
58 br_if 3, $pop4 # 3: down to label0
60 # in Loop: Header=BB0_2 Depth=1
61 br_if 3, $2 # 3: down to label0
63 # in Loop: Header=BB0_2 Depth=1
66 i32.add $push26=, $4, $pop27
67 tee_local $push25=, $6=, $pop26
68 i32.store f1.beenhere($pop28), $pop25
69 i32.const $push24=, 16
70 i32.shl $push5=, $3, $pop24
71 i32.const $push23=, 16
72 i32.shr_s $3=, $pop5, $pop23
75 i32.le_s $push6=, $4, $pop22
76 br_if 0, $pop6 # 0: up to label3
92 .size foo, .Lfunc_end0-foo
94 .section .text.f1,"ax",@progbits
95 .hidden f1 # -- Begin function f1
105 i32.load $push7=, f1.beenhere($pop8)
106 tee_local $push6=, $1=, $pop7
108 i32.add $push1=, $pop6, $pop5
109 i32.store f1.beenhere($pop0), $pop1
112 i32.ge_s $push3=, $1, $pop2
113 br_if 0, $pop3 # 0: down to label5
116 i32.eq $push4=, $1, $pop9
124 .size f1, .Lfunc_end1-f1
126 .section .text.f2,"ax",@progbits
127 .hidden f2 # -- Begin function f2
136 .size f2, .Lfunc_end2-f2
138 .section .text.main,"ax",@progbits
139 .hidden main # -- Begin function main
146 i32.const $push13=, 0
147 i32.const $push11=, 0
148 i32.load $push10=, __stack_pointer($pop11)
149 i32.const $push12=, 16
150 i32.sub $push22=, $pop10, $pop12
151 tee_local $push21=, $0=, $pop22
152 i32.store __stack_pointer($pop13), $pop21
154 i32.const $push20=, 0
155 i32.load $push19=, f1.beenhere($pop20)
156 tee_local $push18=, $1=, $pop19
157 i32.const $push17=, 1
158 i32.add $push1=, $pop18, $pop17
159 i32.store f1.beenhere($pop0), $pop1
160 i32.const $push16=, 0
161 i32.store 0($0), $pop16
163 i32.const $push15=, 23
164 i32.store16 8($0), $pop15
167 i32.const $push14=, 1
168 i32.gt_s $push2=, $1, $pop14
169 br_if 0, $pop2 # 0: down to label6
170 # BB#1: # %f1.exit.lr.ph.i.preheader
172 i32.add $0=, $0, $pop5
173 .LBB3_2: # %f1.exit.lr.ph.i
174 # =>This Inner Loop Header: Depth=1
177 i32.const $push23=, 1
178 i32.eq $push3=, $1, $pop23
179 br_if 1, $pop3 # 1: down to label7
181 # in Loop: Header=BB3_2 Depth=1
183 i32.const $push30=, 0
184 i32.const $push29=, 2
185 i32.add $push4=, $1, $pop29
186 i32.store f1.beenhere($pop30), $pop4
187 i32.const $push28=, 0
188 i32.store16 0($0), $pop28
189 i32.const $push27=, 1
190 i32.add $push26=, $1, $pop27
191 tee_local $push25=, $1=, $pop26
192 i32.const $push24=, 1
193 i32.le_s $push6=, $pop25, $pop24
194 br_if 0, $pop6 # 0: up to label8
195 br 2 # 2: down to label6
199 i32.const $push7=, 65535
200 i32.and $push8=, $2, $pop7
201 br_if 0, $pop8 # 0: down to label6
204 call exit@FUNCTION, $pop9
206 .LBB3_6: # %if.then.i.i
212 .size main, .Lfunc_end3-main
214 .type f1.beenhere,@object # @f1.beenhere
215 .section .bss.f1.beenhere,"aw",@nobits
222 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
223 .functype abort, void
224 .functype exit, void, i32