blob: e3c0585ce645ac79761a9d7fc7e402c3395cc6fb [file] [log] [blame]
.text
.section .text.check,"ax",@progbits
.hidden check
.globl check
.type check,@function
check: # @check
.param i32, i32
# BB#0: # %entry
block
i32.const $push0=, 0
i32.sub $push1=, $pop0, $1
i32.and $push2=, $1, $pop1
i32.ne $push3=, $pop2, $1
br_if 0, $pop3 # 0: down to label0
# BB#1: # %if.end
return
.LBB0_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end0:
.size check, .Lfunc_end0-check
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
i32.const $push0=, 0
# fallthrough-return: $pop0
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.functype abort, void