	.file	"888814.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%c"
.LC1:
	.string	" "
.LC2:
	.string	"QMUL"
	.align 8
.LC3:
	.string	"\n\tHome    Away\n\tW D L    W D L    GF GA GD  PTs\nQMUL    %d %d %d    %d %d %d    %d %d %d   %d\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 512
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -504[rbp], 0
	mov	DWORD PTR -500[rbp], 0
	mov	DWORD PTR -496[rbp], 0
	mov	DWORD PTR -492[rbp], 0
	mov	DWORD PTR -488[rbp], 0
	mov	DWORD PTR -484[rbp], 0
	mov	DWORD PTR -480[rbp], 0
	mov	DWORD PTR -476[rbp], 0
	mov	DWORD PTR -472[rbp], 0
	jmp	.L2
.L3:
	add	DWORD PTR -504[rbp], 1
.L2:
	lea	rdx, -208[rbp]
	mov	eax, DWORD PTR -504[rbp]
	cdqe
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L3
	lea	rax, -208[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -456[rbp], rax
	mov	DWORD PTR -468[rbp], 0
	jmp	.L4
.L9:
	mov	DWORD PTR -464[rbp], 0
	jmp	.L5
.L8:
	mov	rax, QWORD PTR -456[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rsi, .LC1[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -456[rbp], rax
	mov	rax, QWORD PTR -456[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -468[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 436
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -468[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 428
	mov	DWORD PTR [rax], 0
	jmp	.L7
.L6:
	lea	rsi, .LC1[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -456[rbp], rax
	mov	rax, QWORD PTR -456[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -468[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 432
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -468[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 428
	mov	DWORD PTR [rax], 1
.L7:
	lea	rsi, .LC1[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -456[rbp], rax
	add	DWORD PTR -464[rbp], 1
.L5:
	cmp	DWORD PTR -464[rbp], 1
	jle	.L8
	call	getchar@PLT
	add	DWORD PTR -468[rbp], 1
.L4:
	cmp	DWORD PTR -468[rbp], 9
	jle	.L9
	mov	DWORD PTR -460[rbp], 0
	jmp	.L10
.L18:
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 436
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -476[rbp], eax
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 432
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -472[rbp], eax
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 436
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 432
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	jle	.L11
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 428
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L12
	add	DWORD PTR -500[rbp], 1
	jmp	.L13
.L12:
	add	DWORD PTR -488[rbp], 1
	jmp	.L13
.L11:
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 436
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 432
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	jge	.L14
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 428
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L15
	add	DWORD PTR -496[rbp], 1
	jmp	.L13
.L15:
	add	DWORD PTR -484[rbp], 1
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 428
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L16
	mov	eax, DWORD PTR -460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 428
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L17
	add	DWORD PTR -492[rbp], 1
	jmp	.L13
.L17:
	add	DWORD PTR -480[rbp], 1
	jmp	.L13
.L16:
	add	DWORD PTR -480[rbp], 1
.L13:
	add	DWORD PTR -460[rbp], 1
.L10:
	cmp	DWORD PTR -460[rbp], 9
	jle	.L18
	mov	edx, DWORD PTR -500[rbp]
	mov	eax, DWORD PTR -488[rbp]
	add	edx, eax
	mov	eax, edx
	add	eax, eax
	lea	ecx, [rax+rdx]
	mov	edx, DWORD PTR -492[rbp]
	mov	eax, DWORD PTR -480[rbp]
	add	eax, edx
	lea	edi, [rcx+rax]
	mov	eax, DWORD PTR -476[rbp]
	sub	eax, DWORD PTR -472[rbp]
	mov	esi, eax
	mov	r9d, DWORD PTR -480[rbp]
	mov	r8d, DWORD PTR -488[rbp]
	mov	ecx, DWORD PTR -496[rbp]
	mov	edx, DWORD PTR -492[rbp]
	mov	eax, DWORD PTR -500[rbp]
	sub	rsp, 8
	push	rdi
	push	rsi
	mov	esi, DWORD PTR -472[rbp]
	push	rsi
	mov	esi, DWORD PTR -476[rbp]
	push	rsi
	mov	esi, DWORD PTR -484[rbp]
	push	rsi
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 48
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"888814.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c\000"
	.align	2
.LC1:
	.ascii	" \000"
	.align	2
.LC2:
	.ascii	"QMUL\000"
	.align	2
.LC3:
	.ascii	"\012\011Home    Away\012\011W D L    W D L    GF GA"
	.ascii	" GD  PTs\012QMUL    %d %d %d    %d %d %d    %d %d %"
	.ascii	"d   %d\012\012\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 = 496
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #528
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-496]
	mov	r3, #0
	str	r3, [fp, #-492]
	mov	r3, #0
	str	r3, [fp, #-488]
	mov	r3, #0
	str	r3, [fp, #-484]
	mov	r3, #0
	str	r3, [fp, #-480]
	mov	r3, #0
	str	r3, [fp, #-476]
	mov	r3, #0
	str	r3, [fp, #-472]
	mov	r3, #0
	str	r3, [fp, #-468]
	mov	r3, #0
	str	r3, [fp, #-464]
	b	.L2
.L3:
	ldr	r3, [fp, #-496]
	add	r3, r3, #1
	str	r3, [fp, #-496]
.L2:
	sub	r2, fp, #208
	ldr	r3, [fp, #-496]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L21+4
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	sub	r3, fp, #208
	ldr	r1, .L21+8
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-500]
	mov	r3, #0
	str	r3, [fp, #-460]
	b	.L4
.L9:
	mov	r3, #0
	str	r3, [fp, #-456]
	b	.L5
.L8:
	ldr	r1, .L21+12
	ldr	r0, [fp, #-500]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r1, .L21+8
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-500]
	ldr	r0, [fp, #-500]
	bl	atoi
	mov	r1, r0
	ldr	r2, [fp, #-460]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #432
	str	r1, [r3]
	ldr	r2, [fp, #-460]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #424
	mov	r2, #0
	str	r2, [r3]
	b	.L7
.L6:
	ldr	r1, .L21+8
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-500]
	ldr	r0, [fp, #-500]
	bl	atoi
	mov	r1, r0
	ldr	r2, [fp, #-460]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #428
	str	r1, [r3]
	ldr	r2, [fp, #-460]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #424
	mov	r2, #1
	str	r2, [r3]
.L7:
	ldr	r1, .L21+8
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-500]
	ldr	r3, [fp, #-456]
	add	r3, r3, #1
	str	r3, [fp, #-456]
.L5:
	ldr	r3, [fp, #-456]
	cmp	r3, #1
	ble	.L8
	bl	getchar
	ldr	r3, [fp, #-460]
	add	r3, r3, #1
	str	r3, [fp, #-460]
.L4:
	ldr	r3, [fp, #-460]
	cmp	r3, #9
	ble	.L9
	mov	r3, #0
	str	r3, [fp, #-452]
	b	.L10
.L18:
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #432
	ldr	r3, [r3]
	ldr	r2, [fp, #-468]
	add	r3, r2, r3
	str	r3, [fp, #-468]
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #428
	ldr	r3, [r3]
	ldr	r2, [fp, #-464]
	add	r3, r2, r3
	str	r3, [fp, #-464]
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #432
	ldr	r1, [r3]
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #428
	ldr	r3, [r3]
	cmp	r1, r3
	ble	.L11
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #424
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L12
	ldr	r3, [fp, #-492]
	add	r3, r3, #1
	str	r3, [fp, #-492]
	b	.L13
.L12:
	ldr	r3, [fp, #-480]
	add	r3, r3, #1
	str	r3, [fp, #-480]
	b	.L13
.L11:
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #432
	ldr	r1, [r3]
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #428
	ldr	r3, [r3]
	cmp	r1, r3
	bge	.L14
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #424
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L15
	ldr	r3, [fp, #-488]
	add	r3, r3, #1
	str	r3, [fp, #-488]
	b	.L13
.L15:
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	str	r3, [fp, #-476]
	b	.L13
.L14:
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #424
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L16
	ldr	r2, [fp, #-452]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #424
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L17
	ldr	r3, [fp, #-484]
	add	r3, r3, #1
	str	r3, [fp, #-484]
	b	.L13
.L17:
	ldr	r3, [fp, #-472]
	add	r3, r3, #1
	str	r3, [fp, #-472]
	b	.L13
.L16:
	ldr	r3, [fp, #-472]
	add	r3, r3, #1
	str	r3, [fp, #-472]
.L13:
	ldr	r3, [fp, #-452]
	add	r3, r3, #1
	str	r3, [fp, #-452]
.L10:
	ldr	r3, [fp, #-452]
	cmp	r3, #9
	ble	.L18
	ldr	r2, [fp, #-468]
	ldr	r3, [fp, #-464]
	sub	r1, r2, r3
	ldr	r2, [fp, #-492]
	ldr	r3, [fp, #-480]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldr	r0, [fp, #-484]
	ldr	r3, [fp, #-472]
	add	r3, r0, r3
	add	r3, r2, r3
	str	r3, [sp, #24]
	str	r1, [sp, #20]
	ldr	r3, [fp, #-464]
	str	r3, [sp, #16]
	ldr	r3, [fp, #-468]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-476]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-472]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-480]
	str	r3, [sp]
	ldr	r3, [fp, #-488]
	ldr	r2, [fp, #-484]
	ldr	r1, [fp, #-492]
	ldr	r0, .L21+16
	bl	printf
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.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
