	.file	"108860.c"
	.intel_syntax noprefix
	.text
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 160
A:
	.zero	160
	.globl	P
	.align 32
	.type	P, @object
	.size	P, 1600
P:
	.zero	1600
	.globl	C
	.align 32
	.type	C, @object
	.size	C, 16008
C:
	.zero	16008
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %lf"
.LC3:
	.string	" %d %.1lf"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 0
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, A[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rax, A[rip]
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -36[rbp], 1
.L2:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L3
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L4
.L7:
	lea	rdx, -16[rbp]
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, A[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, C[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, A[rip+8]
	movsd	xmm2, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm2
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, A[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	add	eax, edx
	addsd	xmm0, xmm1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, C[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -28[rbp], 1
.L5:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L6
	add	DWORD PTR -32[rbp], 1
.L4:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L7
	mov	DWORD PTR -24[rbp], 2000
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, C[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L16
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	je	.L9
.L16:
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40[rbp], edx
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, C[rip]
	movsd	xmm0, QWORD PTR [rcx+rdx]
	movsx	rdx, eax
	mov	rsi, rdx
	sal	rsi, 4
	lea	rcx, P[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR [rsi+rcx], edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, P[rip+8]
	movsd	QWORD PTR [rdx+rax], xmm0
.L9:
	sub	DWORD PTR -24[rbp], 1
.L8:
	cmp	DWORD PTR -24[rbp], 0
	jns	.L11
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, P[rip+8]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rax, P[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -20[rbp], 1
.L12:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L13
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"108860.c"
	.text
	.comm	A,160,8
	.comm	P,1600,8
	.comm	C,16008,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d %lf\000"
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dcmpeq
	.align	2
.LC2:
	.ascii	" %d %.1lf\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #68
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-68]
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, .L17+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L2
.L3:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #4
	ldr	r2, .L17+8
	add	r1, r3, r2
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L17+8
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L2:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L3
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L17+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L4
.L7:
	sub	r2, fp, #44
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L5
.L6:
	ldr	r2, .L17+8
	ldr	r3, [fp, #-56]
	ldr	r2, [r2, r3, lsl #4]
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldr	r2, .L17+16
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r2, .L17+8
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L17+8
	ldr	r3, [fp, #-56]
	ldr	r2, [r2, r3, lsl #4]
	ldr	r3, [fp, #-72]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+16
	lsl	r1, r6, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L5:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L4:
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L7
	mov	r3, #2000
	str	r3, [fp, #-52]
	b	.L8
.L11:
	ldr	r2, .L17+16
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-68]
	add	r2, r3, #1
	str	r2, [fp, #-68]
	ldr	r1, .L17+16
	ldr	r2, [fp, #-52]
	lsl	r2, r2, #3
	add	r2, r1, r2
	ldmia	r2, {r0-r1}
	ldr	ip, .L17+20
	ldr	r2, [fp, #-52]
	str	r2, [ip, r3, lsl #4]
	ldr	r2, .L17+20
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	stm	r3, {r0-r1}
.L9:
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-52]
.L8:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L11
	ldr	r1, [fp, #-68]
	ldr	r0, .L17+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L12
.L13:
	ldr	r2, .L17+20
	ldr	r3, [fp, #-48]
	ldr	r1, [r2, r3, lsl #4]
	ldr	r2, .L17+20
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r0, .L17+24
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L12:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	blt	.L13
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC3
	.word	.LC0
	.word	A
	.word	.LC1
	.word	C
	.word	P
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
