3 .section .text.test,"ax",@progbits
4 .hidden test # -- Begin function test
9 .local i32, i32, i32, i32, i32
13 i32.load $push9=, loop_1($pop10)
14 tee_local $push8=, $0=, $pop9
16 i32.lt_s $push0=, $pop8, $pop7
17 br_if 0, $pop0 # 0: down to label0
18 # BB#1: # %while.body.lr.ph
20 i32.load $3=, flag($pop12)
22 i32.load $1=, loop_2($pop11)
24 .LBB0_2: # %while.body
25 # =>This Inner Loop Header: Depth=1
28 i32.and $2=, $3, $pop19
30 i32.add $3=, $3, $pop18
32 i32.sub $push3=, $pop17, $2
35 i32.lt_s $push1=, $1, $pop15
36 i32.select $push2=, $pop16, $1, $pop1
37 i32.and $push4=, $pop3, $pop2
38 i32.add $push14=, $4, $pop4
39 tee_local $push13=, $4=, $pop14
40 i32.gt_s $push5=, $0, $pop13
41 br_if 0, $pop5 # 0: up to label1
42 # BB#3: # %while.cond.while.end_crit_edge
45 i32.store flag($pop6), $3
49 # fallthrough-return: $pop20
52 .size test, .Lfunc_end0-test
54 .section .text.main,"ax",@progbits
55 .hidden main # -- Begin function main
61 i32.call $drop=, test@FUNCTION
63 call exit@FUNCTION, $pop0
67 .size main, .Lfunc_end1-main
69 .hidden loop_1 # @loop_1
71 .section .data.loop_1,"aw",@progbits
78 .hidden loop_2 # @loop_2
80 .section .data.loop_2,"aw",@progbits
89 .section .bss.flag,"aw",@nobits
97 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
98 .functype exit, void, i32