	.text
	.file	"pr54471.c"
	.section	.text.foo,"ax",@progbits
	.hidden	foo                     # -- Begin function foo
	.globl	foo
	.type	foo,@function
foo:                                    # @foo
	.param  	i32, i64, i64, i32
	.local  	i64, i64, i32
# BB#0:                                 # %entry
	i32.const	$push11=, 0
	i32.const	$push9=, 0
	i32.load	$push8=, __stack_pointer($pop9)
	i32.const	$push10=, 32
	i32.sub 	$push20=, $pop8, $pop10
	tee_local	$push19=, $6=, $pop20
	i32.store	__stack_pointer($pop11), $pop19
	block   	
	i32.eqz 	$push28=, $3
	br_if   	0, $pop28       # 0: down to label0
# BB#1:                                 # %for.body.preheader
	i64.const	$5=, 0
	i64.const	$4=, 1
.LBB0_2:                                # %for.body
                                        # =>This Inner Loop Header: Depth=1
	loop    	                # label1:
	call    	__multi3@FUNCTION, $6, $1, $2, $4, $5
	i32.const	$push15=, 16
	i32.add 	$push16=, $6, $pop15
	call    	__multi3@FUNCTION, $pop16, $1, $2, $1, $2
	i32.const	$push17=, 16
	i32.add 	$push18=, $6, $pop17
	i32.const	$push25=, 8
	i32.add 	$push0=, $pop18, $pop25
	i64.load	$2=, 0($pop0)
	i32.const	$push24=, 8
	i32.add 	$push1=, $6, $pop24
	i64.load	$5=, 0($pop1)
	i64.load	$1=, 16($6)
	i64.load	$4=, 0($6)
	i32.const	$push23=, -1
	i32.add 	$push22=, $3, $pop23
	tee_local	$push21=, $3=, $pop22
	br_if   	0, $pop21       # 0: up to label1
# BB#3:                                 # %for.end
	end_loop
	i64.const	$push26=, 14348907
	i64.xor 	$push2=, $4, $pop26
	i64.or  	$push3=, $pop2, $5
	i64.eqz 	$push4=, $pop3
	i32.eqz 	$push29=, $pop4
	br_if   	0, $pop29       # 0: down to label0
# BB#4:                                 # %if.end
	i64.const	$push27=, 14348907
	i64.store	0($0), $pop27
	i32.const	$push5=, 8
	i32.add 	$push6=, $0, $pop5
	i64.const	$push7=, 0
	i64.store	0($pop6), $pop7
	i32.const	$push14=, 0
	i32.const	$push12=, 32
	i32.add 	$push13=, $6, $pop12
	i32.store	__stack_pointer($pop14), $pop13
	return
.LBB0_5:                                # %if.then
	end_block                       # label0:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end0:
	.size	foo, .Lfunc_end0-foo
                                        # -- End function
	.section	.text.main,"ax",@progbits
	.hidden	main                    # -- Begin function main
	.globl	main
	.type	main,@function
main:                                   # @main
	.result 	i32
	.local  	i32
# BB#0:                                 # %entry
	i32.const	$push7=, 0
	i32.const	$push5=, 0
	i32.load	$push4=, __stack_pointer($pop5)
	i32.const	$push6=, 16
	i32.sub 	$push12=, $pop4, $pop6
	tee_local	$push11=, $0=, $pop12
	i32.store	__stack_pointer($pop7), $pop11
	i64.const	$push2=, 3
	i64.const	$push1=, 0
	i32.const	$push0=, 4
	call    	foo@FUNCTION, $0, $pop2, $pop1, $pop0
	i32.const	$push10=, 0
	i32.const	$push8=, 16
	i32.add 	$push9=, $0, $pop8
	i32.store	__stack_pointer($pop10), $pop9
	i32.const	$push3=, 0
                                        # fallthrough-return: $pop3
	.endfunc
.Lfunc_end1:
	.size	main, .Lfunc_end1-main
                                        # -- End function

	.ident	"clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
	.functype	abort, void
