	.text
	.file	"/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr58570.c"
	.section	.text.main,"ax",@progbits
	.hidden	main
	.globl	main
	.type	main,@function
main:                                   # @main
	.result 	i32
	.local  	i64, i32, i32
# BB#0:                                 # %entry
	block
	i32.const	$push24=, 0
	i32.load	$push0=, e($pop24)
	i32.const	$push32=, 0
	i32.eq  	$push33=, $pop0, $pop32
	br_if   	0, $pop33       # 0: down to label0
# BB#1:                                 # %if.then
	i32.const	$push29=, 0
	i32.load	$push1=, i($pop29)
	i32.const	$push2=, 6
	i32.mul 	$push28=, $pop1, $pop2
	tee_local	$push27=, $2=, $pop28
	i32.const	$push3=, d
	i32.add 	$push4=, $pop27, $pop3
	i32.const	$push5=, 4
	i32.add 	$push26=, $pop4, $pop5
	tee_local	$push25=, $1=, $pop26
	i64.load16_u	$0=, 0($pop25)
	i64.const	$push6=, 32769
	i64.store32	$discard=, d($2):p2align=1, $pop6
	i64.const	$push7=, 61440
	i64.and 	$push8=, $0, $pop7
	i64.store16	$discard=, 0($1), $pop8
.LBB0_2:                                # %if.end
	end_block                       # label0:
	block
	i32.const	$push31=, 0
	i64.load32_u	$push12=, d($pop31)
	i32.const	$push30=, 0
	i64.load16_u	$push9=, d+4($pop30)
	i64.const	$push10=, 32
	i64.shl 	$push11=, $pop9, $pop10
	i64.or  	$push13=, $pop12, $pop11
	i64.const	$push14=, 20
	i64.shl 	$push15=, $pop13, $pop14
	i64.const	$push16=, 16
	i64.shr_s	$push17=, $pop15, $pop16
	i64.const	$push18=, 19
	i64.shr_u	$push19=, $pop17, $pop18
	i32.wrap/i64	$push20=, $pop19
	i32.const	$push21=, 1
	i32.ne  	$push22=, $pop20, $pop21
	br_if   	0, $pop22       # 0: down to label1
# BB#3:                                 # %if.end7
	i32.const	$push23=, 0
	return  	$pop23
.LBB0_4:                                # %if.then6
	end_block                       # label1:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end0:
	.size	main, .Lfunc_end0-main

	.hidden	e                       # @e
	.type	e,@object
	.section	.data.e,"aw",@progbits
	.globl	e
	.p2align	2
e:
	.int32	1                       # 0x1
	.size	e, 4

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

	.type	d,@object               # @d
	.lcomm	d,36,4

	.ident	"clang version 3.9.0 "
