	.file	"150906.c"
	.intel_syntax noprefix
	.text
	.globl	Avg
	.type	Avg, @function
Avg:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 800000[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 1700004[rax]
	add	eax, ecx
	cdqe
	imul	rax, rdx
	sar	rax, 17
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	Avg, .-Avg
	.globl	x
	.bss
	.align 32
	.type	x, @object
	.size	x, 1700008
x:
	.zero	1700008
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR x[rip+800000], 131072
	mov	DWORD PTR x[rip+1700004], 262144
	mov	esi, 1
	lea	rdi, x[rip]
	call	Avg
	cmp	eax, 3
	je	.L4
	call	abort@PLT
.L4:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"150906.c"
	.text
	.align	2
	.global	Avg
	.syntax unified
	.arm
	.fpu softvfp
	.type	Avg, %function
Avg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, fp}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r4, r3
	asr	r5, r4, #31
	ldr	r3, [fp, #-16]
	add	r3, r3, #798720
	ldr	r2, [r3, #1280]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1687552
	add	r3, r3, #12288
	ldr	r3, [r3, #164]
	add	r3, r2, r3
	mov	r0, r3
	asr	r1, r0, #31
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #17
	orr	r0, r0, r3, lsl #15
	asr	r1, r3, #17
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, r5, fp}
	bx	lr
	.size	Avg, .-Avg
	.comm	x,1700008,4
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L6
	add	r3, r3, #798720
	mov	r2, r3
	mov	r3, #131072
	str	r3, [r2, #1280]
	ldr	r3, .L6
	add	r3, r3, #1687552
	add	r3, r3, #12288
	mov	r2, r3
	mov	r3, #262144
	str	r3, [r2, #164]
	mov	r1, #1
	ldr	r0, .L6
	bl	Avg
	mov	r3, r0
	cmp	r3, #3
	beq	.L4
	bl	abort
.L4:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	x
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
