	.text
	.file	"/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr51323.c"
	.section	.text.foo,"ax",@progbits
	.hidden	foo
	.globl	foo
	.type	foo,@function
foo:                                    # @foo
	.param  	i32, i32, i32
# BB#0:                                 # %entry
	block
	i32.const	$push2=, 9
	i32.ne  	$push3=, $2, $pop2
	br_if   	0, $pop3        # 0: down to label0
# BB#1:                                 # %entry
	br_if   	0, $1           # 0: down to label0
# BB#2:                                 # %entry
	i32.const	$push1=, 0
	i32.load	$push0=, v($pop1)
	i32.ne  	$push4=, $pop0, $0
	br_if   	0, $pop4        # 0: down to label0
# BB#3:                                 # %if.end
	return
.LBB0_4:                                # %if.then
	end_block                       # label0:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end0:
	.size	foo, .Lfunc_end0-foo

	.section	.text.bar,"ax",@progbits
	.hidden	bar
	.globl	bar
	.type	bar,@function
bar:                                    # @bar
	.param  	i32, i32
# BB#0:                                 # %entry
	i32.load	$push0=, 4($1)
	i32.const	$push1=, 0
	call    	foo@FUNCTION, $pop0, $pop1, $0
	return
	.endfunc
.Lfunc_end1:
	.size	bar, .Lfunc_end1-bar

	.section	.text.main,"ax",@progbits
	.hidden	main
	.globl	main
	.type	main,@function
main:                                   # @main
	.result 	i32
	.local  	i32, i32, i32
# BB#0:                                 # %entry
	i32.const	$push23=, __stack_pointer
	i32.load	$push24=, 0($pop23)
	i32.const	$push25=, 48
	i32.sub 	$2=, $pop24, $pop25
	i32.const	$push26=, __stack_pointer
	i32.store	$discard=, 0($pop26), $2
	i32.const	$push1=, 0
	i32.const	$push0=, 3
	i32.store	$discard=, v($pop1), $pop0
	i64.const	$push2=, 12884901890
	i64.store	$discard=, 32($2), $pop2
	i32.const	$push30=, 20
	i32.add 	$push31=, $2, $pop30
	i32.const	$push3=, 4
	i32.store	$push22=, 40($2), $pop3
	tee_local	$push21=, $1=, $pop22
	i32.add 	$push4=, $pop31, $pop21
	i32.load	$push5=, 36($2)
	i32.store	$discard=, 0($pop4), $pop5
	i32.const	$push32=, 20
	i32.add 	$push33=, $2, $pop32
	i32.const	$push6=, 8
	i32.add 	$push7=, $pop33, $pop6
	i32.store	$discard=, 0($pop7), $1
	i32.load	$push8=, 32($2)
	i32.store	$discard=, 20($2), $pop8
	i32.const	$push9=, 9
	i32.const	$push34=, 20
	i32.add 	$push35=, $2, $pop34
	call    	bar@FUNCTION, $pop9, $pop35
	i32.const	$push20=, 0
	i32.const	$push10=, 17
	i32.store	$discard=, v($pop20), $pop10
	i64.const	$push11=, 73014444048
	i64.store	$discard=, 32($2), $pop11
	i32.const	$push12=, 18
	i32.store	$0=, 40($2), $pop12
	i32.const	$push36=, 8
	i32.add 	$push37=, $2, $pop36
	i32.add 	$push13=, $pop37, $1
	i32.load	$push14=, 36($2)
	i32.store	$discard=, 0($pop13), $pop14
	i32.const	$push38=, 8
	i32.add 	$push39=, $2, $pop38
	i32.const	$push19=, 8
	i32.add 	$push15=, $pop39, $pop19
	i32.store	$discard=, 0($pop15), $0
	i32.load	$push16=, 32($2)
	i32.store	$discard=, 8($2), $pop16
	i32.const	$push18=, 9
	i32.const	$push40=, 8
	i32.add 	$push41=, $2, $pop40
	call    	bar@FUNCTION, $pop18, $pop41
	i32.const	$push17=, 0
	i32.const	$push29=, __stack_pointer
	i32.const	$push27=, 48
	i32.add 	$push28=, $2, $pop27
	i32.store	$discard=, 0($pop29), $pop28
	return  	$pop17
	.endfunc
.Lfunc_end2:
	.size	main, .Lfunc_end2-main

	.hidden	v                       # @v
	.type	v,@object
	.section	.bss.v,"aw",@nobits
	.globl	v
	.p2align	2
v:
	.int32	0                       # 0x0
	.size	v, 4


	.ident	"clang version 3.9.0 "
