	.file	"34511500.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC14:
	.string	"arr1 avg: %.2lf\n"
.LC15:
	.string	"arr2 avg: %.2lf\n"
.LC16:
	.string	"arr3 avg: %.2lf\n"
.LC17:
	.string	"arr4 avg: %.2lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	lea	rax, -112[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	avg
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, -136[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	avg
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	avg
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	esi, 6
	mov	rdi, rax
	call	avg
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	avg
	.type	avg, @function
avg:
.LFB1:
	.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L5:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L6
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	avg, .-avg
	.section	.rodata
	.align 8
.LC0:
	.long	-858993459
	.long	1075104972
	.align 8
.LC1:
	.long	-1717986918
	.long	1076009369
	.align 8
.LC2:
	.long	0
	.long	1075445760
	.align 8
.LC3:
	.long	1717986918
	.long	1074816614
	.align 8
.LC4:
	.long	858993459
	.long	1075786547
	.align 8
.LC5:
	.long	0
	.long	1076101120
	.align 8
.LC6:
	.long	-1717986918
	.long	1076074905
	.align 8
.LC7:
	.long	858993459
	.long	1076048691
	.align 8
.LC8:
	.long	0
	.long	-1068957696
	.align 8
.LC9:
	.long	0
	.long	1078525952
	.align 8
.LC10:
	.long	0
	.long	-1067909120
	.align 8
.LC11:
	.long	0
	.long	1079574528
	.align 8
.LC12:
	.long	0
	.long	-1073741824
	.align 8
.LC13:
	.long	0
	.long	1073741824
	.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	"34511500.c"
	.text
	.section	.rodata
	.align	2
.LC3:
	.ascii	"arr1 avg: %.2lf\012\000"
	.align	2
.LC4:
	.ascii	"arr2 avg: %.2lf\012\000"
	.align	2
.LC5:
	.ascii	"arr3 avg: %.2lf\012\000"
	.align	2
.LC6:
	.ascii	"arr4 avg: %.2lf\012\000"
	.align	3
.LC0:
	.word	3435973837
	.word	1075104972
	.word	2576980378
	.word	1076009369
	.word	0
	.word	1075445760
	.word	1717986918
	.word	1074816614
	.word	858993459
	.word	1075786547
	.align	3
.LC1:
	.word	2576980378
	.word	1076074905
	.word	858993459
	.word	1076048691
	.align	3
.LC2:
	.word	0
	.word	-1068957696
	.word	0
	.word	1078525952
	.word	0
	.word	-1067909120
	.word	0
	.word	1079574528
	.word	0
	.word	-1073741824
	.word	0
	.word	1073741824
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L4+4
	sub	ip, fp, #100
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r2, #0
	ldr	r3, .L4+8
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	ldr	r3, .L4+12
	sub	ip, fp, #116
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L4+16
	sub	ip, fp, #60
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #100
	mov	r1, #5
	mov	r0, r3
	bl	avg
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+20
	bl	printf
	sub	r3, fp, #124
	mov	r1, #1
	mov	r0, r3
	bl	avg
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+24
	bl	printf
	sub	r3, fp, #116
	mov	r1, #2
	mov	r0, r3
	bl	avg
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+28
	bl	printf
	sub	r3, fp, #60
	mov	r1, #6
	mov	r0, r3
	bl	avg
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC7
	.word	.LC0
	.word	1076101120
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.global	__aeabi_dadd
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
	.global	avg
	.syntax unified
	.arm
	.fpu softvfp
	.type	avg, %function
avg:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L7
.L8:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L7:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L8
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	avg, .-avg
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
