]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr38051.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr38051.c.s
1 .text
2 .file "pr38051.c"
3 .section .text.mymemcmp,"ax",@progbits
4 .hidden mymemcmp # -- Begin function mymemcmp
5 .globl mymemcmp
6 .type mymemcmp,@function
7 mymemcmp: # @mymemcmp
8 .param i32, i32, i32
9 .result i32
10 .local i32, i32, i32, i32, i32, i32, i32, i32, i32
11 # BB#0: # %entry
12 i32.const $push105=, 0
13 i32.load $push104=, __stack_pointer($pop105)
14 i32.const $push106=, 16
15 i32.sub $6=, $pop104, $pop106
16 i32.const $push26=, 2
17 i32.shr_u $2=, $2, $pop26
18 block
19 block
20 block
21 block
22 block
23 block
24 block
25 block
26 block
27 block
28 block
29 block
30 block
31 block
32 i32.const $push147=, 3
33 i32.and $push27=, $0, $pop147
34 i32.eqz $push223=, $pop27
35 br_if 0, $pop223 # 0: down to label13
36 # BB#1: # %if.else
37 i32.const $push28=, -4
38 i32.and $4=, $0, $pop28
39 i32.const $push31=, 32
40 i32.const $push153=, 3
41 i32.shl $push29=, $0, $pop153
42 i32.const $push30=, 24
43 i32.and $push152=, $pop29, $pop30
44 tee_local $push151=, $0=, $pop152
45 i32.sub $3=, $pop31, $pop151
46 i32.const $push150=, 3
47 i32.and $push149=, $2, $pop150
48 tee_local $push148=, $5=, $pop149
49 i32.eqz $push224=, $pop148
50 br_if 1, $pop224 # 1: down to label12
51 # BB#2: # %if.else
52 i32.const $push32=, 1
53 i32.eq $push33=, $5, $pop32
54 br_if 2, $pop33 # 2: down to label11
55 # BB#3: # %if.else
56 i32.const $push34=, 3
57 i32.ne $push35=, $5, $pop34
58 br_if 3, $pop35 # 3: down to label10
59 # BB#4: # %sw.bb6.i
60 i32.const $push40=, 1
61 i32.add $2=, $2, $pop40
62 i32.const $push41=, -4
63 i32.add $9=, $1, $pop41
64 i32.load $8=, 0($4)
65 br 8 # 8: down to label5
66 .LBB0_5: # %if.then
67 end_block # label13:
68 i32.const $push156=, 3
69 i32.and $push155=, $2, $pop156
70 tee_local $push154=, $4=, $pop155
71 i32.eqz $push225=, $pop154
72 br_if 10, $pop225 # 10: down to label2
73 # BB#6: # %if.then
74 i32.const $push70=, 1
75 i32.eq $push71=, $4, $pop70
76 br_if 3, $pop71 # 3: down to label9
77 # BB#7: # %if.then
78 i32.const $push72=, 3
79 i32.ne $push73=, $4, $pop72
80 br_if 4, $pop73 # 4: down to label8
81 # BB#8: # %sw.bb3.i
82 i32.const $push76=, 1
83 i32.add $2=, $2, $pop76
84 i32.const $push77=, -4
85 i32.add $4=, $1, $pop77
86 i32.const $push157=, -4
87 i32.add $3=, $0, $pop157
88 br 11 # 11: down to label1
89 .LBB0_9: # %sw.bb12.i18
90 end_block # label12:
91 i32.const $push39=, 4
92 i32.add $7=, $4, $pop39
93 i32.load $5=, 0($4)
94 br 5 # 5: down to label6
95 .LBB0_10: # %sw.bb17.i
96 end_block # label11:
97 i32.const $push36=, -1
98 i32.add $2=, $2, $pop36
99 i32.const $push38=, 8
100 i32.add $7=, $4, $pop38
101 i32.load $8=, 0($1)
102 i32.load $5=, 4($4)
103 i32.load $4=, 0($4)
104 i32.const $push37=, 4
105 i32.add $push14=, $1, $pop37
106 copy_local $1=, $pop14
107 br 3 # 3: down to label7
108 .LBB0_11: # %sw.bb.i16
109 end_block # label10:
110 i32.const $push42=, 2
111 i32.add $2=, $2, $pop42
112 i32.const $push43=, -8
113 i32.add $9=, $1, $pop43
114 i32.const $push44=, -4
115 i32.add $10=, $4, $pop44
116 i32.const $push45=, 4
117 i32.add $7=, $4, $pop45
118 i32.load $5=, 0($4)
119 br 5 # 5: down to label4
120 .LBB0_12: # %sw.bb12.i
121 end_block # label9:
122 i32.const $push74=, -1
123 i32.add $2=, $2, $pop74
124 i32.load $5=, 0($1)
125 i32.load $7=, 0($0)
126 i32.const $push75=, 4
127 i32.add $push0=, $0, $pop75
128 copy_local $0=, $pop0
129 i32.const $push158=, 4
130 i32.add $push1=, $1, $pop158
131 copy_local $1=, $pop1
132 i32.ne $push85=, $7, $5
133 br_if 5, $pop85 # 5: down to label3
134 # BB#13:
135 i32.const $11=, 29
136 br 8 # 8: down to label0
137 .LBB0_14: # %sw.bb.i
138 end_block # label8:
139 i32.const $push78=, 2
140 i32.add $2=, $2, $pop78
141 i32.const $push79=, -8
142 i32.add $4=, $1, $pop79
143 i32.const $push169=, -8
144 i32.add $3=, $0, $pop169
145 # BB#15:
146 i32.const $11=, 39
147 br 7 # 7: down to label0
148 .LBB0_16:
149 end_block # label7:
150 i32.const $11=, 0
151 br 6 # 6: down to label0
152 .LBB0_17:
153 end_block # label6:
154 i32.const $11=, 4
155 br 5 # 5: down to label0
156 .LBB0_18:
157 end_block # label5:
158 i32.const $11=, 9
159 br 4 # 4: down to label0
160 .LBB0_19:
161 end_block # label4:
162 i32.const $11=, 14
163 br 3 # 3: down to label0
164 .LBB0_20:
165 end_block # label3:
166 i32.const $11=, 26
167 br 2 # 2: down to label0
168 .LBB0_21:
169 end_block # label2:
170 i32.const $11=, 29
171 br 1 # 1: down to label0
172 .LBB0_22:
173 end_block # label1:
174 i32.const $11=, 34
175 .LBB0_23: # =>This Inner Loop Header: Depth=1
176 end_block # label0:
177 loop i32 # label14:
178 block
179 block
180 block
181 block
182 block
183 block
184 block
185 block
186 block
187 block
188 block
189 block
190 block
191 block
192 block
193 block
194 block
195 block
196 block
197 block
198 block
199 block
200 block
201 block
202 block
203 block
204 block
205 block
206 block
207 block
208 block
209 block
210 block
211 block
212 block
213 block
214 block
215 block
216 block
217 block
218 block
219 block
220 block
221 block
222 block
223 block
224 block
225 block
226 block
227 block
228 block
229 block
230 block
231 block
232 block
233 block
234 block
235 block
236 block
237 block
238 block
239 block
240 block
241 block
242 block
243 block
244 block
245 block
246 block
247 block
248 block
249 block
250 br_table $11, 23, 31, 32, 33, 24, 34, 35, 36, 25, 26, 37, 38, 39, 27, 28, 40, 41, 42, 29, 30, 43, 44, 45, 46, 47, 6, 7, 8, 9, 0, 10, 11, 12, 1, 2, 13, 14, 15, 3, 4, 16, 17, 18, 5, 19, 20, 21, 22, 22 # 23: down to label63
251 # 31: down to label55
252 # 32: down to label54
253 # 33: down to label53
254 # 24: down to label62
255 # 34: down to label52
256 # 35: down to label51
257 # 36: down to label50
258 # 25: down to label61
259 # 26: down to label60
260 # 37: down to label49
261 # 38: down to label48
262 # 39: down to label47
263 # 27: down to label59
264 # 28: down to label58
265 # 40: down to label46
266 # 41: down to label45
267 # 42: down to label44
268 # 29: down to label57
269 # 30: down to label56
270 # 43: down to label43
271 # 44: down to label42
272 # 45: down to label41
273 # 46: down to label40
274 # 47: down to label39
275 # 6: down to label80
276 # 7: down to label79
277 # 8: down to label78
278 # 9: down to label77
279 # 0: down to label86
280 # 10: down to label76
281 # 11: down to label75
282 # 12: down to label74
283 # 1: down to label85
284 # 2: down to label84
285 # 13: down to label73
286 # 14: down to label72
287 # 15: down to label71
288 # 3: down to label83
289 # 4: down to label82
290 # 16: down to label70
291 # 17: down to label69
292 # 18: down to label68
293 # 5: down to label81
294 # 19: down to label67
295 # 20: down to label66
296 # 21: down to label65
297 # 22: down to label64
298 .LBB0_24: # %do3.i
299 # in Loop: Header=BB0_23 Depth=1
300 end_block # label86:
301 i32.load $push162=, 0($0)
302 tee_local $push161=, $4=, $pop162
303 i32.load $push160=, 0($1)
304 tee_local $push159=, $3=, $pop160
305 i32.ne $push88=, $pop161, $pop159
306 br_if 63, $pop88 # 63: down to label22
307 # BB#25: # in Loop: Header=BB0_23 Depth=1
308 i32.const $11=, 33
309 br 71 # 71: up to label14
310 .LBB0_26: # in Loop: Header=BB0_23 Depth=1
311 end_block # label85:
312 copy_local $3=, $0
313 copy_local $4=, $1
314 i32.const $push87=, 4
315 i32.add $push4=, $0, $pop87
316 copy_local $0=, $pop4
317 i32.const $push163=, 4
318 i32.add $push5=, $1, $pop163
319 copy_local $1=, $pop5
320 # BB#27: # in Loop: Header=BB0_23 Depth=1
321 i32.const $11=, 34
322 br 70 # 70: up to label14
323 .LBB0_28: # %do2.i
324 # in Loop: Header=BB0_23 Depth=1
325 end_block # label84:
326 i32.load $push167=, 0($0)
327 tee_local $push166=, $0=, $pop167
328 i32.load $push165=, 0($1)
329 tee_local $push164=, $1=, $pop165
330 i32.ne $push90=, $pop166, $pop164
331 br_if 63, $pop90 # 63: down to label20
332 # BB#29: # in Loop: Header=BB0_23 Depth=1
333 i32.const $11=, 38
334 br 69 # 69: up to label14
335 .LBB0_30: # %if.end31.i
336 # in Loop: Header=BB0_23 Depth=1
337 end_block # label83:
338 i32.const $push92=, 8
339 i32.add $0=, $3, $pop92
340 i32.const $push168=, 8
341 i32.add $1=, $4, $pop168
342 br 64 # 64: down to label18
343 .LBB0_31: # %do1.i
344 # in Loop: Header=BB0_23 Depth=1
345 end_block # label82:
346 i32.load $push173=, 0($0)
347 tee_local $push172=, $0=, $pop173
348 i32.load $push171=, 0($1)
349 tee_local $push170=, $1=, $pop171
350 i32.ne $push80=, $pop172, $pop170
351 br_if 64, $pop80 # 64: down to label17
352 # BB#32: # in Loop: Header=BB0_23 Depth=1
353 i32.const $11=, 43
354 br 67 # 67: up to label14
355 .LBB0_33: # %if.end37.i
356 # in Loop: Header=BB0_23 Depth=1
357 end_block # label81:
358 i32.load $5=, 12($4)
359 i32.load $7=, 12($3)
360 i32.const $push82=, -4
361 i32.add $push175=, $2, $pop82
362 tee_local $push174=, $2=, $pop175
363 i32.eqz $push226=, $pop174
364 br_if 56, $pop226 # 56: down to label24
365 # BB#34: # in Loop: Header=BB0_23 Depth=1
366 i32.const $11=, 25
367 br 66 # 66: up to label14
368 .LBB0_35: # in Loop: Header=BB0_23 Depth=1
369 end_block # label80:
370 i32.const $push83=, 16
371 i32.add $1=, $4, $pop83
372 i32.const $push176=, 16
373 i32.add $0=, $3, $pop176
374 i32.eq $push84=, $7, $5
375 br_if 41, $pop84 # 41: down to label38
376 # BB#36: # in Loop: Header=BB0_23 Depth=1
377 i32.const $11=, 26
378 br 65 # 65: up to label14
379 .LBB0_37: # %if.then.i
380 # in Loop: Header=BB0_23 Depth=1
381 end_block # label79:
382 i32.store 8($6), $5
383 i32.store 12($6), $7
384 i32.const $push111=, 8
385 i32.add $push112=, $6, $pop111
386 copy_local $1=, $pop112
387 i32.const $push113=, 12
388 i32.add $push114=, $6, $pop113
389 copy_local $6=, $pop114
390 # BB#38: # in Loop: Header=BB0_23 Depth=1
391 i32.const $11=, 27
392 br 64 # 64: up to label14
393 .LBB0_39: # %do.body.i.i
394 # in Loop: Header=BB0_23 Depth=1
395 end_block # label78:
396 i32.load8_u $0=, 0($1)
397 i32.load8_u $2=, 0($6)
398 i32.const $push178=, 1
399 i32.add $push3=, $1, $pop178
400 copy_local $1=, $pop3
401 i32.const $push177=, 1
402 i32.add $push2=, $6, $pop177
403 copy_local $6=, $pop2
404 i32.eq $push86=, $2, $0
405 br_if 54, $pop86 # 54: down to label23
406 # BB#40: # in Loop: Header=BB0_23 Depth=1
407 i32.const $11=, 28
408 br 63 # 63: up to label14
409 .LBB0_41: # %mymemcmp1.exit.i
410 end_block # label77:
411 i32.sub $push103=, $2, $0
412 return $pop103
413 .LBB0_42: # %if.then23.i
414 # in Loop: Header=BB0_23 Depth=1
415 end_block # label76:
416 i32.store 8($6), $3
417 i32.store 12($6), $4
418 i32.const $push123=, 8
419 i32.add $push124=, $6, $pop123
420 copy_local $1=, $pop124
421 i32.const $push125=, 12
422 i32.add $push126=, $6, $pop125
423 copy_local $6=, $pop126
424 # BB#43: # in Loop: Header=BB0_23 Depth=1
425 i32.const $11=, 31
426 br 61 # 61: up to label14
427 .LBB0_44: # %do.body.i140.i
428 # in Loop: Header=BB0_23 Depth=1
429 end_block # label75:
430 i32.load8_u $0=, 0($1)
431 i32.load8_u $2=, 0($6)
432 i32.const $push180=, 1
433 i32.add $push7=, $1, $pop180
434 copy_local $1=, $pop7
435 i32.const $push179=, 1
436 i32.add $push6=, $6, $pop179
437 copy_local $6=, $pop6
438 i32.eq $push89=, $2, $0
439 br_if 53, $pop89 # 53: down to label21
440 # BB#45: # in Loop: Header=BB0_23 Depth=1
441 i32.const $11=, 32
442 br 60 # 60: up to label14
443 .LBB0_46: # %mymemcmp1.exit144.i
444 end_block # label74:
445 i32.sub $push102=, $2, $0
446 return $pop102
447 .LBB0_47: # %if.then29.i
448 # in Loop: Header=BB0_23 Depth=1
449 end_block # label73:
450 i32.store 8($6), $1
451 i32.store 12($6), $0
452 i32.const $push119=, 8
453 i32.add $push120=, $6, $pop119
454 copy_local $1=, $pop120
455 i32.const $push121=, 12
456 i32.add $push122=, $6, $pop121
457 copy_local $6=, $pop122
458 # BB#48: # in Loop: Header=BB0_23 Depth=1
459 i32.const $11=, 36
460 br 58 # 58: up to label14
461 .LBB0_49: # %do.body.i128.i
462 # in Loop: Header=BB0_23 Depth=1
463 end_block # label72:
464 i32.load8_u $0=, 0($1)
465 i32.load8_u $2=, 0($6)
466 i32.const $push182=, 1
467 i32.add $push9=, $1, $pop182
468 copy_local $1=, $pop9
469 i32.const $push181=, 1
470 i32.add $push8=, $6, $pop181
471 copy_local $6=, $pop8
472 i32.eq $push91=, $2, $0
473 br_if 52, $pop91 # 52: down to label19
474 # BB#50: # in Loop: Header=BB0_23 Depth=1
475 i32.const $11=, 37
476 br 57 # 57: up to label14
477 .LBB0_51: # %mymemcmp1.exit132.i
478 end_block # label71:
479 i32.sub $push101=, $2, $0
480 return $pop101
481 .LBB0_52: # %if.then35.i
482 # in Loop: Header=BB0_23 Depth=1
483 end_block # label70:
484 i32.store 8($6), $1
485 i32.store 12($6), $0
486 i32.const $push115=, 8
487 i32.add $push116=, $6, $pop115
488 copy_local $1=, $pop116
489 i32.const $push117=, 12
490 i32.add $push118=, $6, $pop117
491 copy_local $6=, $pop118
492 # BB#53: # in Loop: Header=BB0_23 Depth=1
493 i32.const $11=, 41
494 br 55 # 55: up to label14
495 .LBB0_54: # %do.body.i116.i
496 # in Loop: Header=BB0_23 Depth=1
497 end_block # label69:
498 i32.load8_u $0=, 0($1)
499 i32.load8_u $2=, 0($6)
500 i32.const $push184=, 1
501 i32.add $push11=, $1, $pop184
502 copy_local $1=, $pop11
503 i32.const $push183=, 1
504 i32.add $push10=, $6, $pop183
505 copy_local $6=, $pop10
506 i32.eq $push81=, $2, $0
507 br_if 52, $pop81 # 52: down to label16
508 # BB#55: # in Loop: Header=BB0_23 Depth=1
509 i32.const $11=, 42
510 br 54 # 54: up to label14
511 .LBB0_56: # %mymemcmp1.exit120.i
512 end_block # label68:
513 i32.sub $push100=, $2, $0
514 return $pop100
515 .LBB0_57: # %do0.i
516 # in Loop: Header=BB0_23 Depth=1
517 end_block # label67:
518 i32.const $1=, 0
519 i32.eq $push93=, $7, $5
520 br_if 41, $pop93 # 41: down to label25
521 # BB#58: # in Loop: Header=BB0_23 Depth=1
522 i32.const $11=, 45
523 br 52 # 52: up to label14
524 .LBB0_59: # %if.then43.i
525 # in Loop: Header=BB0_23 Depth=1
526 end_block # label66:
527 i32.store 8($6), $5
528 i32.store 12($6), $7
529 i32.const $push107=, 8
530 i32.add $push108=, $6, $pop107
531 copy_local $1=, $pop108
532 i32.const $push109=, 12
533 i32.add $push110=, $6, $pop109
534 copy_local $6=, $pop110
535 # BB#60: # in Loop: Header=BB0_23 Depth=1
536 i32.const $11=, 46
537 br 51 # 51: up to label14
538 .LBB0_61: # %do.body.i104.i
539 # in Loop: Header=BB0_23 Depth=1
540 end_block # label65:
541 i32.load8_u $0=, 0($1)
542 i32.load8_u $2=, 0($6)
543 i32.const $push186=, 1
544 i32.add $push13=, $1, $pop186
545 copy_local $1=, $pop13
546 i32.const $push185=, 1
547 i32.add $push12=, $6, $pop185
548 copy_local $6=, $pop12
549 i32.eq $push94=, $2, $0
550 br_if 49, $pop94 # 49: down to label15
551 # BB#62: # in Loop: Header=BB0_23 Depth=1
552 i32.const $11=, 47
553 br 50 # 50: up to label14
554 .LBB0_63: # %mymemcmp1.exit108.i
555 end_block # label64:
556 i32.sub $push99=, $2, $0
557 return $pop99
558 .LBB0_64: # %do.body.i23
559 # in Loop: Header=BB0_23 Depth=1
560 end_block # label63:
561 i32.shl $push53=, $5, $3
562 i32.shr_u $push52=, $4, $0
563 i32.or $push188=, $pop53, $pop52
564 tee_local $push187=, $4=, $pop188
565 i32.ne $push54=, $pop187, $8
566 br_if 25, $pop54 # 25: down to label37
567 # BB#65: # in Loop: Header=BB0_23 Depth=1
568 i32.const $11=, 4
569 br 48 # 48: up to label14
570 .LBB0_66: # %do3.i42
571 # in Loop: Header=BB0_23 Depth=1
572 end_block # label62:
573 i32.load $push194=, 0($7)
574 tee_local $push193=, $8=, $pop194
575 i32.shl $push57=, $pop193, $3
576 i32.shr_u $push56=, $5, $0
577 i32.or $push192=, $pop57, $pop56
578 tee_local $push191=, $4=, $pop192
579 i32.load $push190=, 0($1)
580 tee_local $push189=, $5=, $pop190
581 i32.ne $push58=, $pop191, $pop189
582 br_if 27, $pop58 # 27: down to label34
583 # BB#67: # in Loop: Header=BB0_23 Depth=1
584 i32.const $11=, 8
585 br 47 # 47: up to label14
586 .LBB0_68: # in Loop: Header=BB0_23 Depth=1
587 end_block # label61:
588 copy_local $9=, $1
589 copy_local $4=, $7
590 i32.const $push59=, 4
591 i32.add $push17=, $1, $pop59
592 copy_local $1=, $pop17
593 # BB#69: # in Loop: Header=BB0_23 Depth=1
594 i32.const $11=, 9
595 br 46 # 46: up to label14
596 .LBB0_70: # %do2.i50
597 # in Loop: Header=BB0_23 Depth=1
598 end_block # label60:
599 i32.load $push200=, 4($4)
600 tee_local $push199=, $5=, $pop200
601 i32.shl $push62=, $pop199, $3
602 i32.shr_u $push61=, $8, $0
603 i32.or $push198=, $pop62, $pop61
604 tee_local $push197=, $7=, $pop198
605 i32.load $push196=, 0($1)
606 tee_local $push195=, $1=, $pop196
607 i32.ne $push63=, $pop197, $pop195
608 br_if 27, $pop63 # 27: down to label32
609 # BB#71: # in Loop: Header=BB0_23 Depth=1
610 i32.const $11=, 13
611 br 45 # 45: up to label14
612 .LBB0_72: # %if.end45.i
613 # in Loop: Header=BB0_23 Depth=1
614 end_block # label59:
615 i32.const $push65=, 8
616 i32.add $7=, $4, $pop65
617 i32.const $push201=, 8
618 i32.add $1=, $9, $pop201
619 copy_local $10=, $4
620 # BB#73: # in Loop: Header=BB0_23 Depth=1
621 i32.const $11=, 14
622 br 44 # 44: up to label14
623 .LBB0_74: # %do1.i56
624 # in Loop: Header=BB0_23 Depth=1
625 end_block # label58:
626 i32.load $push207=, 0($7)
627 tee_local $push206=, $4=, $pop207
628 i32.shl $push47=, $pop206, $3
629 i32.shr_u $push46=, $5, $0
630 i32.or $push205=, $pop47, $pop46
631 tee_local $push204=, $5=, $pop205
632 i32.load $push203=, 0($1)
633 tee_local $push202=, $1=, $pop203
634 i32.ne $push48=, $pop204, $pop202
635 br_if 27, $pop48 # 27: down to label30
636 # BB#75: # in Loop: Header=BB0_23 Depth=1
637 i32.const $11=, 18
638 br 43 # 43: up to label14
639 .LBB0_76: # %if.end54.i
640 # in Loop: Header=BB0_23 Depth=1
641 end_block # label57:
642 i32.load $8=, 12($9)
643 i32.load $5=, 12($10)
644 i32.const $push50=, -4
645 i32.add $push209=, $2, $pop50
646 tee_local $push208=, $2=, $pop209
647 i32.eqz $push227=, $pop208
648 br_if 28, $pop227 # 28: down to label28
649 # BB#77: # in Loop: Header=BB0_23 Depth=1
650 i32.const $11=, 19
651 br 42 # 42: up to label14
652 .LBB0_78: # in Loop: Header=BB0_23 Depth=1
653 end_block # label56:
654 i32.const $push51=, 16
655 i32.add $1=, $9, $pop51
656 i32.const $push210=, 16
657 i32.add $7=, $10, $pop210
658 br 19 # 19: down to label36
659 .LBB0_79: # %if.then.i24
660 # in Loop: Header=BB0_23 Depth=1
661 end_block # label55:
662 i32.store 8($6), $8
663 i32.store 12($6), $4
664 i32.const $push131=, 8
665 i32.add $push132=, $6, $pop131
666 copy_local $1=, $pop132
667 i32.const $push133=, 12
668 i32.add $push134=, $6, $pop133
669 copy_local $6=, $pop134
670 # BB#80: # in Loop: Header=BB0_23 Depth=1
671 i32.const $11=, 2
672 br 40 # 40: up to label14
673 .LBB0_81: # %do.body.i.i30
674 # in Loop: Header=BB0_23 Depth=1
675 end_block # label54:
676 i32.load8_u $0=, 0($1)
677 i32.load8_u $2=, 0($6)
678 i32.const $push212=, 1
679 i32.add $push16=, $1, $pop212
680 copy_local $1=, $pop16
681 i32.const $push211=, 1
682 i32.add $push15=, $6, $pop211
683 copy_local $6=, $pop15
684 i32.eq $push55=, $2, $0
685 br_if 18, $pop55 # 18: down to label35
686 # BB#82: # in Loop: Header=BB0_23 Depth=1
687 i32.const $11=, 3
688 br 39 # 39: up to label14
689 .LBB0_83: # %mymemcmp1.exit.i34
690 end_block # label53:
691 i32.sub $push98=, $2, $0
692 return $pop98
693 .LBB0_84: # %if.then34.i
694 # in Loop: Header=BB0_23 Depth=1
695 end_block # label52:
696 i32.store 8($6), $5
697 i32.store 12($6), $4
698 i32.const $push143=, 8
699 i32.add $push144=, $6, $pop143
700 copy_local $1=, $pop144
701 i32.const $push145=, 12
702 i32.add $push146=, $6, $pop145
703 copy_local $6=, $pop146
704 # BB#85: # in Loop: Header=BB0_23 Depth=1
705 i32.const $11=, 6
706 br 37 # 37: up to label14
707 .LBB0_86: # %do.body.i194.i
708 # in Loop: Header=BB0_23 Depth=1
709 end_block # label51:
710 i32.load8_u $0=, 0($1)
711 i32.load8_u $2=, 0($6)
712 i32.const $push214=, 1
713 i32.add $push19=, $1, $pop214
714 copy_local $1=, $pop19
715 i32.const $push213=, 1
716 i32.add $push18=, $6, $pop213
717 copy_local $6=, $pop18
718 i32.eq $push60=, $2, $0
719 br_if 17, $pop60 # 17: down to label33
720 # BB#87: # in Loop: Header=BB0_23 Depth=1
721 i32.const $11=, 7
722 br 36 # 36: up to label14
723 .LBB0_88: # %mymemcmp1.exit198.i
724 end_block # label50:
725 i32.sub $push97=, $2, $0
726 return $pop97
727 .LBB0_89: # %if.then43.i51
728 # in Loop: Header=BB0_23 Depth=1
729 end_block # label49:
730 i32.store 8($6), $1
731 i32.store 12($6), $7
732 i32.const $push139=, 8
733 i32.add $push140=, $6, $pop139
734 copy_local $1=, $pop140
735 i32.const $push141=, 12
736 i32.add $push142=, $6, $pop141
737 copy_local $6=, $pop142
738 # BB#90: # in Loop: Header=BB0_23 Depth=1
739 i32.const $11=, 11
740 br 34 # 34: up to label14
741 .LBB0_91: # %do.body.i182.i
742 # in Loop: Header=BB0_23 Depth=1
743 end_block # label48:
744 i32.load8_u $0=, 0($1)
745 i32.load8_u $2=, 0($6)
746 i32.const $push216=, 1
747 i32.add $push21=, $1, $pop216
748 copy_local $1=, $pop21
749 i32.const $push215=, 1
750 i32.add $push20=, $6, $pop215
751 copy_local $6=, $pop20
752 i32.eq $push64=, $2, $0
753 br_if 16, $pop64 # 16: down to label31
754 # BB#92: # in Loop: Header=BB0_23 Depth=1
755 i32.const $11=, 12
756 br 33 # 33: up to label14
757 .LBB0_93: # %mymemcmp1.exit186.i
758 end_block # label47:
759 i32.sub $push96=, $2, $0
760 return $pop96
761 .LBB0_94: # %if.then52.i
762 # in Loop: Header=BB0_23 Depth=1
763 end_block # label46:
764 i32.store 8($6), $1
765 i32.store 12($6), $5
766 i32.const $push135=, 8
767 i32.add $push136=, $6, $pop135
768 copy_local $1=, $pop136
769 i32.const $push137=, 12
770 i32.add $push138=, $6, $pop137
771 copy_local $6=, $pop138
772 # BB#95: # in Loop: Header=BB0_23 Depth=1
773 i32.const $11=, 16
774 br 31 # 31: up to label14
775 .LBB0_96: # %do.body.i170.i
776 # in Loop: Header=BB0_23 Depth=1
777 end_block # label45:
778 i32.load8_u $0=, 0($1)
779 i32.load8_u $2=, 0($6)
780 i32.const $push218=, 1
781 i32.add $push23=, $1, $pop218
782 copy_local $1=, $pop23
783 i32.const $push217=, 1
784 i32.add $push22=, $6, $pop217
785 copy_local $6=, $pop22
786 i32.eq $push49=, $2, $0
787 br_if 15, $pop49 # 15: down to label29
788 # BB#97: # in Loop: Header=BB0_23 Depth=1
789 i32.const $11=, 17
790 br 30 # 30: up to label14
791 .LBB0_98: # %mymemcmp1.exit174.i
792 end_block # label44:
793 i32.sub $push95=, $2, $0
794 return $pop95
795 .LBB0_99: # %do0.i57
796 # in Loop: Header=BB0_23 Depth=1
797 end_block # label43:
798 i32.const $1=, 0
799 i32.shl $push67=, $5, $3
800 i32.shr_u $push66=, $4, $0
801 i32.or $push220=, $pop67, $pop66
802 tee_local $push219=, $0=, $pop220
803 i32.eq $push68=, $pop219, $8
804 br_if 15, $pop68 # 15: down to label27
805 # BB#100: # in Loop: Header=BB0_23 Depth=1
806 i32.const $11=, 21
807 br 28 # 28: up to label14
808 .LBB0_101: # %if.then63.i
809 # in Loop: Header=BB0_23 Depth=1
810 end_block # label42:
811 i32.store 8($6), $8
812 i32.store 12($6), $0
813 i32.const $push127=, 8
814 i32.add $push128=, $6, $pop127
815 copy_local $1=, $pop128
816 i32.const $push129=, 12
817 i32.add $push130=, $6, $pop129
818 copy_local $6=, $pop130
819 # BB#102: # in Loop: Header=BB0_23 Depth=1
820 i32.const $11=, 22
821 br 27 # 27: up to label14
822 .LBB0_103: # %do.body.i158.i
823 # in Loop: Header=BB0_23 Depth=1
824 end_block # label41:
825 i32.load8_u $0=, 0($1)
826 i32.load8_u $2=, 0($6)
827 i32.const $push222=, 1
828 i32.add $push25=, $1, $pop222
829 copy_local $1=, $pop25
830 i32.const $push221=, 1
831 i32.add $push24=, $6, $pop221
832 copy_local $6=, $pop24
833 i32.eq $push69=, $2, $0
834 br_if 14, $pop69 # 14: down to label26
835 # BB#104: # in Loop: Header=BB0_23 Depth=1
836 i32.const $11=, 23
837 br 26 # 26: up to label14
838 .LBB0_105: # %mymemcmp1.exit162.i
839 # in Loop: Header=BB0_23 Depth=1
840 end_block # label40:
841 i32.sub $1=, $2, $0
842 # BB#106: # in Loop: Header=BB0_23 Depth=1
843 i32.const $11=, 24
844 br 25 # 25: up to label14
845 .LBB0_107: # %cleanup
846 end_block # label39:
847 return $1
848 .LBB0_108: # in Loop: Header=BB0_23 Depth=1
849 end_block # label38:
850 i32.const $11=, 29
851 br 23 # 23: up to label14
852 .LBB0_109: # in Loop: Header=BB0_23 Depth=1
853 end_block # label37:
854 i32.const $11=, 1
855 br 22 # 22: up to label14
856 .LBB0_110: # in Loop: Header=BB0_23 Depth=1
857 end_block # label36:
858 i32.const $11=, 0
859 br 21 # 21: up to label14
860 .LBB0_111: # in Loop: Header=BB0_23 Depth=1
861 end_block # label35:
862 i32.const $11=, 2
863 br 20 # 20: up to label14
864 .LBB0_112: # in Loop: Header=BB0_23 Depth=1
865 end_block # label34:
866 i32.const $11=, 5
867 br 19 # 19: up to label14
868 .LBB0_113: # in Loop: Header=BB0_23 Depth=1
869 end_block # label33:
870 i32.const $11=, 6
871 br 18 # 18: up to label14
872 .LBB0_114: # in Loop: Header=BB0_23 Depth=1
873 end_block # label32:
874 i32.const $11=, 10
875 br 17 # 17: up to label14
876 .LBB0_115: # in Loop: Header=BB0_23 Depth=1
877 end_block # label31:
878 i32.const $11=, 11
879 br 16 # 16: up to label14
880 .LBB0_116: # in Loop: Header=BB0_23 Depth=1
881 end_block # label30:
882 i32.const $11=, 15
883 br 15 # 15: up to label14
884 .LBB0_117: # in Loop: Header=BB0_23 Depth=1
885 end_block # label29:
886 i32.const $11=, 16
887 br 14 # 14: up to label14
888 .LBB0_118: # in Loop: Header=BB0_23 Depth=1
889 end_block # label28:
890 i32.const $11=, 20
891 br 13 # 13: up to label14
892 .LBB0_119: # in Loop: Header=BB0_23 Depth=1
893 end_block # label27:
894 i32.const $11=, 24
895 br 12 # 12: up to label14
896 .LBB0_120: # in Loop: Header=BB0_23 Depth=1
897 end_block # label26:
898 i32.const $11=, 22
899 br 11 # 11: up to label14
900 .LBB0_121: # in Loop: Header=BB0_23 Depth=1
901 end_block # label25:
902 i32.const $11=, 24
903 br 10 # 10: up to label14
904 .LBB0_122: # in Loop: Header=BB0_23 Depth=1
905 end_block # label24:
906 i32.const $11=, 44
907 br 9 # 9: up to label14
908 .LBB0_123: # in Loop: Header=BB0_23 Depth=1
909 end_block # label23:
910 i32.const $11=, 27
911 br 8 # 8: up to label14
912 .LBB0_124: # in Loop: Header=BB0_23 Depth=1
913 end_block # label22:
914 i32.const $11=, 30
915 br 7 # 7: up to label14
916 .LBB0_125: # in Loop: Header=BB0_23 Depth=1
917 end_block # label21:
918 i32.const $11=, 31
919 br 6 # 6: up to label14
920 .LBB0_126: # in Loop: Header=BB0_23 Depth=1
921 end_block # label20:
922 i32.const $11=, 35
923 br 5 # 5: up to label14
924 .LBB0_127: # in Loop: Header=BB0_23 Depth=1
925 end_block # label19:
926 i32.const $11=, 36
927 br 4 # 4: up to label14
928 .LBB0_128: # in Loop: Header=BB0_23 Depth=1
929 end_block # label18:
930 i32.const $11=, 39
931 br 3 # 3: up to label14
932 .LBB0_129: # in Loop: Header=BB0_23 Depth=1
933 end_block # label17:
934 i32.const $11=, 40
935 br 2 # 2: up to label14
936 .LBB0_130: # in Loop: Header=BB0_23 Depth=1
937 end_block # label16:
938 i32.const $11=, 41
939 br 1 # 1: up to label14
940 .LBB0_131: # in Loop: Header=BB0_23 Depth=1
941 end_block # label15:
942 i32.const $11=, 46
943 br 0 # 0: up to label14
944 .LBB0_132:
945 end_loop
946 .endfunc
947 .Lfunc_end0:
948 .size mymemcmp, .Lfunc_end0-mymemcmp
949 # -- End function
950 .section .text.main,"ax",@progbits
951 .hidden main # -- Begin function main
952 .globl main
953 .type main,@function
954 main: # @main
955 .result i32
956 # BB#0: # %entry
957 i32.const $push17=, 0
958 i32.const $push16=, 0
959 i64.load $push0=, .L.str+7($pop16):p2align=0
960 i64.store buf+32($pop17):p2align=0, $pop0
961 i32.const $push15=, 0
962 i32.const $push14=, 0
963 i64.load $push1=, .L.str($pop14):p2align=0
964 i64.store buf+25($pop15):p2align=0, $pop1
965 i32.const $push13=, 0
966 i32.const $push12=, 0
967 i64.load $push2=, .L.str.1($pop12):p2align=0
968 i64.store buf+168($pop13), $pop2
969 i32.const $push11=, 0
970 i32.const $push10=, 0
971 i64.load $push3=, .L.str.1+7($pop10):p2align=0
972 i64.store buf+175($pop11):p2align=0, $pop3
973 block
974 i32.const $push6=, buf+25
975 i32.const $push5=, buf+168
976 i32.const $push4=, 33
977 i32.call $push7=, mymemcmp@FUNCTION, $pop6, $pop5, $pop4
978 i32.const $push8=, -51
979 i32.ne $push9=, $pop7, $pop8
980 br_if 0, $pop9 # 0: down to label87
981 # BB#1: # %cleanup
982 i32.const $push18=, 0
983 return $pop18
984 .LBB1_2: # %if.then26
985 end_block # label87:
986 call abort@FUNCTION
987 unreachable
988 .endfunc
989 .Lfunc_end1:
990 .size main, .Lfunc_end1-main
991 # -- End function
992 .hidden buf # @buf
993 .type buf,@object
994 .section .bss.buf,"aw",@nobits
995 .globl buf
996 .p2align 4
997 buf:
998 .skip 256
999 .size buf, 256
1000
1001 .type .L.str,@object # @.str
1002 .section .rodata.str1.1,"aMS",@progbits,1
1003 .L.str:
1004 .asciz "\0017\202\247UI\235\277\370D\266U\027\216\371"
1005 .size .L.str, 16
1006
1007 .type .L.str.1,@object # @.str.1
1008 .L.str.1:
1009 .asciz "\0017\202\247UI\320\363\267*m#qIj"
1010 .size .L.str.1, 16
1011
1012
1013 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
1014 .functype abort, void