	.file	"376029.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"karts.in"
.LC2:
	.string	"%d"
.LC3:
	.string	"Circuit #%d:\n"
.LC4:
	.string	"%s %d"
.LC5:
	.string	"%s %d %d"
.LC9:
	.string	"%s: %s is the winner!\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, 688
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -624[rbp], rax
	lea	rdx, -684[rbp]
	mov	rax, QWORD PTR -624[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -664[rbp], 1
	jmp	.L2
.L29:
	mov	eax, DWORD PTR -664[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -680[rbp]
	mov	rax, QWORD PTR -624[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -660[rbp], 0
	jmp	.L3
.L4:
	lea	rcx, -560[rbp]
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, 32
	add	rcx, rax
	lea	rsi, -560[rbp]
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, [rsi+rax]
	mov	rax, QWORD PTR -624[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -660[rbp], 1
.L3:
	mov	eax, DWORD PTR -680[rbp]
	cmp	DWORD PTR -660[rbp], eax
	jl	.L4
	lea	rdx, -676[rbp]
	mov	rax, QWORD PTR -624[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -656[rbp], 0
	jmp	.L5
.L28:
	lea	rsi, -668[rbp]
	lea	rcx, -672[rbp]
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -624[rbp]
	mov	r8, rsi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -652[rbp], 0
	jmp	.L6
.L7:
	lea	rdx, -608[rbp]
	mov	eax, DWORD PTR -652[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -624[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -652[rbp], 1
.L6:
	mov	eax, DWORD PTR -668[rbp]
	cmp	DWORD PTR -652[rbp], eax
	jl	.L7
	mov	DWORD PTR -660[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 520
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 512
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -660[rbp], 1
.L8:
	mov	eax, DWORD PTR -680[rbp]
	cmp	DWORD PTR -660[rbp], eax
	jl	.L9
	mov	DWORD PTR -648[rbp], 0
	jmp	.L10
.L14:
	mov	eax, DWORD PTR -648[rbp]
	add	eax, 1
	mov	DWORD PTR -644[rbp], eax
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -648[rbp]
	cdqe
	mov	edx, DWORD PTR -608[rbp+rax*4]
	mov	eax, DWORD PTR -644[rbp]
	cdqe
	mov	eax, DWORD PTR -608[rbp+rax*4]
	cmp	edx, eax
	jle	.L12
	mov	eax, DWORD PTR -648[rbp]
	cdqe
	mov	eax, DWORD PTR -608[rbp+rax*4]
	mov	DWORD PTR -636[rbp], eax
	mov	eax, DWORD PTR -644[rbp]
	cdqe
	mov	edx, DWORD PTR -608[rbp+rax*4]
	mov	eax, DWORD PTR -648[rbp]
	cdqe
	mov	DWORD PTR -608[rbp+rax*4], edx
	mov	eax, DWORD PTR -644[rbp]
	cdqe
	mov	edx, DWORD PTR -636[rbp]
	mov	DWORD PTR -608[rbp+rax*4], edx
.L12:
	add	DWORD PTR -644[rbp], 1
.L11:
	mov	eax, DWORD PTR -668[rbp]
	cmp	DWORD PTR -644[rbp], eax
	jl	.L13
	add	DWORD PTR -648[rbp], 1
.L10:
	mov	eax, DWORD PTR -668[rbp]
	cmp	DWORD PTR -648[rbp], eax
	jl	.L14
	mov	eax, DWORD PTR -668[rbp]
	test	eax, eax
	je	.L15
	mov	eax, DWORD PTR -668[rbp]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -608[rbp+rax*4]
	mov	eax, DWORD PTR -672[rbp]
	cmp	edx, eax
	je	.L16
.L15:
	mov	eax, DWORD PTR -668[rbp]
	mov	edx, DWORD PTR -672[rbp]
	cdqe
	mov	DWORD PTR -608[rbp+rax*4], edx
	mov	eax, DWORD PTR -668[rbp]
	add	eax, 1
	mov	DWORD PTR -668[rbp], eax
.L16:
	mov	DWORD PTR -652[rbp], 0
	jmp	.L17
.L27:
	mov	DWORD PTR -640[rbp], -1
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -632[rbp], xmm0
	mov	DWORD PTR -660[rbp], 0
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -652[rbp]
	cdqe
	mov	eax, DWORD PTR -608[rbp+rax*4]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 520
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -616[rbp], xmm0
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 528
	mov	eax, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -616[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -616[rbp], xmm0
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 512
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -616[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -616[rbp], xmm0
	movsd	xmm0, QWORD PTR -632[rbp]
	comisd	xmm0, QWORD PTR -616[rbp]
	jbe	.L19
	mov	eax, DWORD PTR -660[rbp]
	mov	DWORD PTR -640[rbp], eax
	movsd	xmm0, QWORD PTR -616[rbp]
	movsd	QWORD PTR -632[rbp], xmm0
.L19:
	add	DWORD PTR -660[rbp], 1
.L18:
	mov	eax, DWORD PTR -680[rbp]
	cmp	DWORD PTR -660[rbp], eax
	jl	.L21
	mov	DWORD PTR -660[rbp], 0
	jmp	.L22
.L26:
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 512
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR -632[rbp]
	jb	.L34
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 512
	movsd	xmm0, QWORD PTR [rax]
	subsd	xmm0, QWORD PTR -632[rbp]
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 512
	movsd	QWORD PTR [rax], xmm0
	jmp	.L25
.L34:
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 520
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 512
	movsd	xmm3, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -632[rbp]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 528
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 520
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 512
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
.L25:
	add	DWORD PTR -660[rbp], 1
.L22:
	mov	eax, DWORD PTR -680[rbp]
	cmp	DWORD PTR -660[rbp], eax
	jl	.L26
	mov	eax, DWORD PTR -640[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 512
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -652[rbp], 1
.L17:
	mov	eax, DWORD PTR -668[rbp]
	cmp	DWORD PTR -652[rbp], eax
	jl	.L27
	lea	rcx, -560[rbp]
	mov	eax, DWORD PTR -640[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -656[rbp], 1
.L5:
	mov	eax, DWORD PTR -676[rbp]
	cmp	DWORD PTR -656[rbp], eax
	jl	.L28
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -664[rbp], 1
.L2:
	mov	eax, DWORD PTR -684[rbp]
	cmp	DWORD PTR -664[rbp], eax
	jle	.L29
	mov	rax, QWORD PTR -624[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	1090021888
	.align 8
.LC8:
	.long	0
	.long	1075052544
	.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	"376029.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"karts.in\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Circuit #%d:\012\000"
	.align	2
.LC4:
	.ascii	"%s %d\000"
	.align	2
.LC5:
	.ascii	"%s %d %d\000"
	.global	__aeabi_i2d
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmple
	.global	__aeabi_dmul
	.align	2
.LC6:
	.ascii	"%s: %s is the winner!\012\000"
	.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 = 664
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #672
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r1, .L35+4
	ldr	r0, .L35+8
	bl	fopen
	str	r0, [fp, #-636]
	sub	r3, fp, #684
	mov	r2, r3
	ldr	r1, .L35+12
	ldr	r0, [fp, #-636]
	bl	__isoc99_fscanf
	mov	r3, #1
	str	r3, [fp, #-664]
	b	.L2
.L29:
	ldr	r1, [fp, #-664]
	ldr	r0, .L35+16
	bl	printf
	sub	r3, fp, #680
	mov	r2, r3
	ldr	r1, .L35+12
	ldr	r0, [fp, #-636]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-660]
	b	.L3
.L4:
	sub	r1, fp, #564
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r0, r1, r3
	sub	r1, fp, #564
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #32
	add	r3, r1, r3
	mov	r2, r0
	ldr	r1, .L35+20
	ldr	r0, [fp, #-636]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-660]
	add	r3, r3, #1
	str	r3, [fp, #-660]
.L3:
	ldr	r3, [fp, #-680]
	ldr	r2, [fp, #-660]
	cmp	r2, r3
	blt	.L4
	sub	r3, fp, #676
	mov	r2, r3
	ldr	r1, .L35+12
	ldr	r0, [fp, #-636]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-656]
	b	.L5
.L28:
	sub	r1, fp, #672
	sub	r2, fp, #56
	sub	r3, fp, #668
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L35+24
	ldr	r0, [fp, #-636]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-652]
	b	.L6
.L7:
	sub	r2, fp, #612
	ldr	r3, [fp, #-652]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L35+12
	ldr	r0, [fp, #-636]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-652]
	add	r3, r3, #1
	str	r3, [fp, #-652]
.L6:
	ldr	r3, [fp, #-668]
	ldr	r2, [fp, #-652]
	cmp	r2, r3
	blt	.L7
	mov	r3, #0
	str	r3, [fp, #-660]
	b	.L8
.L9:
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r1, r3, #504
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r1, r3, #496
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-660]
	add	r3, r3, #1
	str	r3, [fp, #-660]
.L8:
	ldr	r3, [fp, #-680]
	ldr	r2, [fp, #-660]
	cmp	r2, r3
	blt	.L9
	mov	r3, #0
	str	r3, [fp, #-648]
	b	.L10
.L14:
	ldr	r3, [fp, #-648]
	add	r3, r3, #1
	str	r3, [fp, #-644]
	b	.L11
.L13:
	ldr	r3, [fp, #-648]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-592]
	ldr	r3, [fp, #-644]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-592]
	cmp	r2, r3
	ble	.L12
	ldr	r3, [fp, #-648]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-592]
	str	r3, [fp, #-632]
	ldr	r3, [fp, #-644]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-592]
	ldr	r3, [fp, #-648]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-592]
	ldr	r3, [fp, #-644]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [fp, #-632]
	str	r2, [r3, #-592]
.L12:
	ldr	r3, [fp, #-644]
	add	r3, r3, #1
	str	r3, [fp, #-644]
.L11:
	ldr	r3, [fp, #-668]
	ldr	r2, [fp, #-644]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-648]
	add	r3, r3, #1
	str	r3, [fp, #-648]
.L10:
	ldr	r3, [fp, #-668]
	ldr	r2, [fp, #-648]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-668]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-668]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-592]
	ldr	r3, [fp, #-672]
	cmp	r2, r3
	beq	.L16
.L15:
	ldr	r3, [fp, #-668]
	ldr	r2, [fp, #-672]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-592]
	ldr	r3, [fp, #-668]
	add	r3, r3, #1
	str	r3, [fp, #-668]
.L16:
	mov	r3, #0
	str	r3, [fp, #-652]
	b	.L17
.L27:
	mvn	r3, #0
	str	r3, [fp, #-640]
	mov	r2, #0
	ldr	r3, .L35+28
	str	r2, [fp, #-628]
	str	r3, [fp, #-624]
	mov	r3, #0
	str	r3, [fp, #-660]
	b	.L18
.L21:
	ldr	r3, [fp, #-652]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-592]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #504
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-620]
	str	r3, [fp, #-616]
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #512
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #620
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-620]
	str	r3, [fp, #-616]
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #496
	ldmia	r3, {r2-r3}
	sub	r1, fp, #620
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-620]
	str	r3, [fp, #-616]
	sub	r3, fp, #628
	ldmia	r3, {r2-r3}
	sub	r1, fp, #620
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-660]
	str	r3, [fp, #-640]
	sub	r3, fp, #620
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-628]
	str	r3, [fp, #-624]
.L19:
	ldr	r3, [fp, #-660]
	add	r3, r3, #1
	str	r3, [fp, #-660]
.L18:
	ldr	r3, [fp, #-680]
	ldr	r2, [fp, #-660]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	str	r3, [fp, #-660]
	b	.L22
.L26:
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #496
	ldmia	r3, {r2-r3}
	sub	r1, fp, #628
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #496
	ldmia	r3, {r0-r1}
	sub	r3, fp, #628
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #496
	stm	r3, {r0-r1}
	b	.L25
.L34:
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #504
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #496
	ldmia	r3, {r2-r3}
	sub	r1, fp, #628
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #512
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	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_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #504
	stm	r3, {r0-r1}
	ldr	r2, [fp, #-660]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r1, r3, #496
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L25:
	ldr	r3, [fp, #-660]
	add	r3, r3, #1
	str	r3, [fp, #-660]
.L22:
	ldr	r3, [fp, #-680]
	ldr	r2, [fp, #-660]
	cmp	r2, r3
	blt	.L26
	ldr	r2, [fp, #-640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r1, r3, #496
	mov	r2, #0
	ldr	r3, .L35+32
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-652]
	add	r3, r3, #1
	str	r3, [fp, #-652]
.L17:
	ldr	r3, [fp, #-668]
	ldr	r2, [fp, #-652]
	cmp	r2, r3
	blt	.L27
	sub	r1, fp, #564
	ldr	r2, [fp, #-640]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r1, r3
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L35+36
	bl	printf
	ldr	r3, [fp, #-656]
	add	r3, r3, #1
	str	r3, [fp, #-656]
.L5:
	ldr	r3, [fp, #-676]
	ldr	r2, [fp, #-656]
	cmp	r2, r3
	blt	.L28
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-664]
	add	r3, r3, #1
	str	r3, [fp, #-664]
.L2:
	ldr	r3, [fp, #-684]
	ldr	r2, [fp, #-664]
	cmp	r2, r3
	ble	.L29
	ldr	r0, [fp, #-636]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1090021888
	.word	1075052544
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
