blob: 834e2647918f3e5cac2fcb1eeee1547a106c33d8 [file] [log] [blame]
.text
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
.param i32
.result i32
# BB#0: # %entry
i32.const $push0=, 0
i32.load $push2=, a($pop0)
i32.const $push8=, 0
i32.lt_s $push1=, $0, $pop8
i32.select $push3=, $0, $pop2, $pop1
i32.const $push4=, 16
i32.shl $push5=, $pop3, $pop4
i32.const $push7=, 16
i32.shr_s $push6=, $pop5, $pop7
# fallthrough-return: $pop6
.endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end
i32.const $push1=, 0
i32.const $push0=, -9162
i32.store c($pop1), $pop0
i32.const $push4=, 0
i32.const $push2=, 56374
i32.store b($pop4), $pop2
i32.const $push3=, 0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.hidden a # @a
.type a,@object
.section .bss.a,"aw",@nobits
.globl a
.p2align 2
a:
.int32 0 # 0x0
.size a, 4
.hidden b # @b
.type b,@object
.section .bss.b,"aw",@nobits
.globl b
.p2align 2
b:
.skip 4
.size b, 4
.hidden c # @c
.type c,@object
.section .bss.c,"aw",@nobits
.globl c
.p2align 2
c:
.int32 0 # 0x0
.size c, 4