	.file	"837267.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%lf %d"
.LC1:
	.string	"%d %lf"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d"
	.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
	lea	r11, -86016[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3808
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L21:
	mov	DWORD PTR -89804[rbp], 1
	jmp	.L3
.L20:
	mov	DWORD PTR -89792[rbp], 0
	lea	rdx, -89808[rbp]
	lea	rax, -89784[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -89788[rbp], 1
	jmp	.L4
.L5:
	lea	rdx, -89776[rbp]
	mov	eax, DWORD PTR -89788[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 8[rax]
	lea	rcx, -89776[rbp]
	mov	eax, DWORD PTR -89788[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -89788[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 89776
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -89792[rbp], eax
	add	DWORD PTR -89788[rbp], 1
.L4:
	mov	eax, DWORD PTR -89808[rbp]
	cmp	DWORD PTR -89788[rbp], eax
	jle	.L5
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -88016[rbp], xmm0
	mov	DWORD PTR -89800[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -89800[rbp]
	cdqe
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88016[rbp+rax*8], xmm0
	add	DWORD PTR -89800[rbp], 1
.L6:
	cmp	DWORD PTR -89800[rbp], 10999
	jle	.L7
	mov	DWORD PTR -89800[rbp], 1
	jmp	.L8
.L14:
	mov	eax, DWORD PTR -89792[rbp]
	mov	DWORD PTR -89796[rbp], eax
	jmp	.L9
.L13:
	mov	eax, DWORD PTR -89796[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -88016[rbp+rax*8]
	mov	eax, DWORD PTR -89800[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 89776
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -89796[rbp]
	sub	eax, edx
	cdqe
	movsd	xmm2, QWORD PTR -88016[rbp+rax*8]
	mov	eax, DWORD PTR -89800[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 89768
	movsd	xmm3, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR .LC2[rip]
	subsd	xmm1, xmm3
	mulsd	xmm1, xmm2
	comisd	xmm0, xmm1
	jbe	.L25
	mov	eax, DWORD PTR -89796[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -88016[rbp+rax*8]
	jmp	.L12
.L25:
	mov	eax, DWORD PTR -89800[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 89776
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -89796[rbp]
	sub	eax, edx
	cdqe
	movsd	xmm1, QWORD PTR -88016[rbp+rax*8]
	mov	eax, DWORD PTR -89800[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 89768
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC2[rip]
	subsd	xmm0, xmm2
	mulsd	xmm0, xmm1
.L12:
	mov	eax, DWORD PTR -89796[rbp]
	cdqe
	movsd	QWORD PTR -88016[rbp+rax*8], xmm0
	sub	DWORD PTR -89796[rbp], 1
.L9:
	mov	eax, DWORD PTR -89800[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 89776
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -89796[rbp], eax
	jge	.L13
	add	DWORD PTR -89800[rbp], 1
.L8:
	mov	eax, DWORD PTR -89808[rbp]
	cmp	DWORD PTR -89800[rbp], eax
	jle	.L14
	mov	eax, DWORD PTR -89792[rbp]
	mov	DWORD PTR -89796[rbp], eax
	jmp	.L15
.L19:
	mov	eax, DWORD PTR -89796[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -88016[rbp+rax*8]
	movsd	xmm2, QWORD PTR -89784[rbp]
	movsd	xmm1, QWORD PTR .LC2[rip]
	subsd	xmm1, xmm2
	comisd	xmm0, xmm1
	ja	.L26
	sub	DWORD PTR -89796[rbp], 1
.L15:
	cmp	DWORD PTR -89796[rbp], 0
	jns	.L19
	jmp	.L18
.L26:
	nop
.L18:
	mov	eax, DWORD PTR -89796[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -89804[rbp], 1
.L3:
	mov	eax, DWORD PTR -89812[rbp]
	cmp	DWORD PTR -89804[rbp], eax
	jle	.L20
.L2:
	lea	rax, -89812[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L21
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	0
	.long	1072693248
	.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	"837267.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lf %d\000"
	.align	2
.LC1:
	.ascii	"%d %lf\000"
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 89808
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #89088
	sub	sp, sp, #720
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	b	.L2
.L21:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3780]
	b	.L3
.L20:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3768]
	sub	r2, fp, #89088
	sub	r2, r2, #20
	sub	r2, r2, #712
	sub	r3, fp, #89088
	sub	r3, r3, #20
	sub	r3, r3, #688
	mov	r1, r3
	ldr	r0, .L27+4
	bl	__isoc99_scanf
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3764]
	b	.L4
.L5:
	sub	r3, fp, #89088
	sub	r3, r3, #20
	sub	r3, r3, #680
	sub	r2, fp, #86016
	sub	r2, r2, #20
	ldr	r2, [r2, #-3764]
	lsl	r2, r2, #4
	add	r1, r3, r2
	sub	r3, fp, #89088
	sub	r3, r3, #20
	sub	r3, r3, #680
	sub	r2, fp, #86016
	sub	r2, r2, #20
	ldr	r2, [r2, #-3764]
	lsl	r2, r2, #4
	add	r2, r2, #8
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3764]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3752]
	sub	r2, fp, #86016
	sub	r2, r2, #20
	mov	r1, r2
	sub	r2, fp, #86016
	sub	r2, r2, #20
	ldr	r2, [r2, #-3768]
	add	r3, r2, r3
	str	r3, [r1, #-3768]
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3764]
	add	r3, r3, #1
	str	r3, [r2, #-3764]
.L4:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3784]
	sub	r2, fp, #86016
	sub	r2, r2, #20
	ldr	r2, [r2, #-3764]
	cmp	r2, r3
	ble	.L5
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L27+12
	str	r2, [r1, #-1992]
	str	r3, [r1, #-1988]
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3776]
	b	.L6
.L7:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3776]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1984
	sub	r3, r3, #8
	mov	r0, #0
	mov	r1, #0
	stm	r3, {r0-r1}
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3776]
	add	r3, r3, #1
	str	r3, [r2, #-3776]
.L6:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3776]
	ldr	r2, .L27+16
	cmp	r3, r2
	ble	.L7
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3776]
	b	.L8
.L14:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3768]
	str	r3, [r2, #-3772]
	b	.L9
.L13:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3772]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1984
	sub	r3, r3, #8
	ldmia	r3, {r4-r5}
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3776]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3752]
	sub	r2, fp, #86016
	sub	r2, r2, #20
	ldr	r2, [r2, #-3772]
	sub	r3, r2, r3
	sub	r2, fp, #86016
	sub	r2, r2, #20
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1984
	sub	r3, r3, #8
	ldmia	r3, {r6-r7}
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3776]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r3, r3, #3744
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L27+12
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3772]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1984
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	b	.L12
.L25:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3776]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3752]
	sub	r2, fp, #86016
	sub	r2, r2, #20
	ldr	r2, [r2, #-3772]
	sub	r3, r2, r3
	sub	r2, fp, #86016
	sub	r2, r2, #20
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1984
	sub	r3, r3, #8
	ldmia	r3, {r4-r5}
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3776]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r3, r3, #3744
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L27+12
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
.L12:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3772]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1984
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3772]
	sub	r3, r3, #1
	str	r3, [r2, #-3772]
.L9:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3776]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3752]
	sub	r2, fp, #86016
	sub	r2, r2, #20
	ldr	r2, [r2, #-3772]
	cmp	r2, r3
	bge	.L13
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3776]
	add	r3, r3, #1
	str	r3, [r2, #-3776]
.L8:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3784]
	sub	r2, fp, #86016
	sub	r2, r2, #20
	ldr	r2, [r2, #-3776]
	cmp	r2, r3
	ble	.L14
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3768]
	str	r3, [r2, #-3772]
	b	.L15
.L19:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3772]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1984
	sub	r3, r3, #8
	ldmia	r3, {r4-r5}
	sub	r3, fp, #89088
	sub	r3, r3, #20
	sub	r3, r3, #688
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L27+12
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3772]
	sub	r3, r3, #1
	str	r3, [r2, #-3772]
.L15:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3772]
	cmp	r3, #0
	bge	.L19
	b	.L18
.L26:
	nop
.L18:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r1, [r3, #-3772]
	ldr	r0, .L27+20
	bl	printf
	sub	r3, fp, #86016
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3780]
	add	r3, r3, #1
	str	r3, [r2, #-3780]
.L3:
	sub	r3, fp, #86016
	sub	r3, r3, #20
	ldr	r3, [r3, #-3788]
	sub	r2, fp, #86016
	sub	r2, r2, #20
	ldr	r2, [r2, #-3780]
	cmp	r2, r3
	ble	.L20
.L2:
	sub	r3, fp, #89088
	sub	r3, r3, #20
	sub	r3, r3, #716
	mov	r1, r3
	ldr	r0, .L27+24
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L21
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	1072693248
	.word	10999
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
