blob: 433477acf747d9dfba9fdc8ebd27a55b9b7a221e [file] [log] [blame]
.text
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
.local i32
# BB#0: # %entry
i32.const $push8=, 0
i32.const $push5=, 0
i32.load $push6=, __stack_pointer($pop5)
i32.const $push7=, 32
i32.sub $push11=, $pop6, $pop7
tee_local $push10=, $0=, $pop11
i32.store __stack_pointer($pop8), $pop10
i32.const $push0=, 16
i32.add $push1=, $0, $pop0
i32.const $push9=, 0
i32.store 0($pop1), $pop9
i64.const $push2=, 4294967298
i64.store 8($0), $pop2
i64.const $push3=, 12884901892
i64.store 0($0), $pop3
block
i32.call $push4=, foo@FUNCTION, $0, $0
br_if 0, $pop4 # 0: down to label0
# BB#1: # %if.end
i32.const $push12=, 0
call exit@FUNCTION, $pop12
unreachable
.LBB0_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
.section .text.foo,"ax",@progbits
.type foo,@function
foo: # @foo
.param i32, i32
.result i32
.local i32
# BB#0: # %entry
i32.const $push5=, 0
i32.load $push6=, __stack_pointer($pop5)
i32.const $push7=, 16
i32.sub $push9=, $pop6, $pop7
tee_local $push8=, $2=, $pop9
i32.store 12($pop8), $1
i32.const $push0=, 20
i32.add $push1=, $1, $pop0
i32.store 12($2), $pop1
i32.const $push2=, 16
i32.add $push3=, $1, $pop2
i32.load $push4=, 0($pop3)
# fallthrough-return: $pop4
.endfunc
.Lfunc_end1:
.size foo, .Lfunc_end1-foo
.functype abort, void
.functype exit, void, i32