3 .section .text.ba_compute_psd,"ax",@progbits
4 .hidden ba_compute_psd # -- Begin function ba_compute_psd
6 .type ba_compute_psd,@function
7 ba_compute_psd: # @ba_compute_psd
9 .local i32, i32, i32, i32
12 i32.shl $push21=, $0, $pop22
13 tee_local $push20=, $2=, $pop21
14 i32.const $push1=, masktab
15 i32.add $push2=, $pop20, $pop1
16 i32.load16_s $push3=, 0($pop2)
18 i32.shl $push4=, $pop3, $pop19
19 i32.const $push5=, bndpsd
20 i32.add $push18=, $pop4, $pop5
21 tee_local $push17=, $1=, $pop18
22 i32.const $push6=, psd
23 i32.add $push7=, $2, $pop6
24 i32.load16_u $push16=, 0($pop7)
25 tee_local $push15=, $4=, $pop16
26 i32.store16 0($pop17), $pop15
29 i32.gt_s $push8=, $0, $pop14
30 br_if 0, $pop8 # 0: down to label0
31 # BB#1: # %for.body.preheader
33 i32.add $3=, $0, $pop9
34 i32.const $push10=, psd+2
35 i32.add $0=, $2, $pop10
37 # =>This Inner Loop Header: Depth=1
39 i32.load16_u $push12=, 0($0)
40 i32.const $push28=, 65535
41 i32.and $push11=, $4, $pop28
42 i32.add $4=, $pop12, $pop11
44 i32.add $push0=, $0, $pop27
47 i32.add $push25=, $3, $pop26
48 tee_local $push24=, $3=, $pop25
50 i32.lt_s $push13=, $pop24, $pop23
51 br_if 0, $pop13 # 0: up to label1
52 # BB#3: # %for.cond.for.end_crit_edge
60 .size ba_compute_psd, .Lfunc_end0-ba_compute_psd
62 .section .text.logadd,"ax",@progbits
63 .hidden logadd # -- Begin function logadd
65 .type logadd,@function
70 i32.load16_u $push1=, 0($1)
71 i32.load16_u $push0=, 0($0)
72 i32.add $push2=, $pop1, $pop0
74 i32.shl $push4=, $pop2, $pop3
76 i32.shr_s $push5=, $pop4, $pop6
77 # fallthrough-return: $pop5
80 .size logadd, .Lfunc_end1-logadd
82 .section .text.main,"ax",@progbits
83 .hidden main # -- Begin function main
90 i32.load16_s $push0=, masktab($pop20)
92 i32.shl $push2=, $pop0, $pop1
93 i32.const $push3=, bndpsd
94 i32.add $push4=, $pop2, $pop3
96 i32.load16_u $push6=, psd+2($pop19)
98 i32.load16_u $push5=, psd($pop18)
99 i32.add $push7=, $pop6, $pop5
100 i32.const $push17=, 0
101 i32.load16_u $push8=, psd+4($pop17)
102 i32.add $push9=, $pop7, $pop8
103 i32.const $push16=, 0
104 i32.load16_u $push10=, psd+6($pop16)
105 i32.add $push11=, $pop9, $pop10
106 i32.store16 0($pop4), $pop11
108 i32.const $push15=, 0
109 i32.load16_u $push12=, bndpsd+2($pop15)
110 i32.const $push13=, 140
111 i32.ne $push14=, $pop12, $pop13
112 br_if 0, $pop14 # 0: down to label2
114 i32.const $push21=, 0
122 .size main, .Lfunc_end2-main
124 .hidden masktab # @masktab
125 .type masktab,@object
126 .section .data.masktab,"aw",@progbits
140 .section .data.psd,"aw",@progbits
152 .hidden bndpsd # @bndpsd
154 .section .data.bndpsd,"aw",@progbits
167 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
168 .functype abort, void