	.file	"679144.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld%lld"
.LC2:
	.string	"%lld\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
	lea	r11, -7999488[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 576
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -8000064[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L8:
	lea	rdx, -8000048[rbp]
	lea	rax, -8000056[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -8000016[rbp]
	mov	edx, 8000008
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -8000032[rbp], 0
	jmp	.L3
.L4:
	lea	rax, -8000040[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -8000040[rbp]
	mov	rdx, QWORD PTR -8000016[rbp+rax*8]
	add	rdx, 1
	mov	QWORD PTR -8000016[rbp+rax*8], rdx
	add	QWORD PTR -8000032[rbp], 1
.L3:
	mov	rax, QWORD PTR -8000056[rbp]
	cmp	QWORD PTR -8000032[rbp], rax
	jl	.L4
	mov	QWORD PTR -8000024[rbp], 0
	mov	QWORD PTR -8000032[rbp], 0
	jmp	.L5
.L7:
	lea	rax, -8000040[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -8000040[rbp]
	mov	rax, QWORD PTR -8000016[rbp+rax*8]
	test	rax, rax
	jle	.L6
	add	QWORD PTR -8000024[rbp], 1
.L6:
	add	QWORD PTR -8000032[rbp], 1
.L5:
	mov	rax, QWORD PTR -8000048[rbp]
	cmp	QWORD PTR -8000032[rbp], rax
	jl	.L7
	mov	rax, QWORD PTR -8000024[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	rax, QWORD PTR -8000064[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -8000064[rbp], rdx
	test	rax, rax
	jne	.L8
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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	"679144.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lld\000"
	.align	2
.LC1:
	.ascii	"%lld%lld\000"
	.align	2
.LC2:
	.ascii	"%lld\012\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 = 8000080
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #7995392
	sub	sp, sp, #4672
	sub	sp, sp, #16
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r3, fp, #7995392
	sub	r3, r3, #28
	sub	r3, r3, #4672
	mov	r1, r3
	ldr	r0, .L11+4
	bl	__isoc99_scanf
	b	.L2
.L8:
	ldr	r2, .L11+8
	sub	r3, fp, #28
	add	r2, r3, r2
	ldr	r3, .L11+12
	sub	r1, fp, #28
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L11+16
	bl	__isoc99_scanf
	sub	r3, fp, #7995392
	sub	r3, r3, #28
	sub	r3, r3, #4096
	sub	r3, r3, #528
	ldr	r2, .L11+20
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L3
.L4:
	ldr	r3, .L11+28
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L11+4
	bl	__isoc99_scanf
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r0-r1}
	sub	r3, fp, #7995392
	sub	r3, r3, #28
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #528
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	sub	r3, fp, #7995392
	sub	r3, r3, #28
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #528
	stm	r3, {r6-r7}
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	stm	r1, {r8-r9}
.L3:
	ldr	r3, .L11+8
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r0-r1}
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L4
	ldr	r3, .L11+32
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L5
.L7:
	ldr	r3, .L11+28
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L11+4
	bl	__isoc99_scanf
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r0-r1}
	sub	r3, fp, #7995392
	sub	r3, r3, #28
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #528
	ldmia	r3, {r2-r3}
	cmp	r2, #1
	sbcs	r3, r3, #0
	blt	.L6
	ldr	r3, .L11+32
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L11+32
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	adds	r0, r2, #1
	ldr	ip, .L11+36
	add	ip, fp, ip
	str	r0, [ip]
	adc	r3, r3, #0
	ldr	r2, .L11+40
	add	r2, fp, r2
	str	r3, [r2]
	ldr	r3, .L11+36
	add	r3, fp, r3
	ldmia	r3, {r2-r3}
	stmdb	r1, {r2-r3}
.L6:
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	ldr	ip, .L11+44
	add	ip, fp, ip
	str	r0, [ip]
	adc	r3, r3, #0
	ldr	r2, .L11+48
	add	r2, fp, r2
	str	r3, [r2]
	ldr	r3, .L11+44
	add	r3, fp, r3
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L5:
	ldr	r3, .L11+8
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L11+24
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L7
	ldr	r3, .L11+32
	sub	r2, fp, #28
	add	r3, r2, r3
	ldmdb	r3, {r2-r3}
	ldr	r0, .L11+52
	bl	printf
.L2:
	sub	r3, fp, #7995392
	sub	r3, r3, #28
	sub	r3, r3, #4672
	ldmia	r3, {r2-r3}
	subs	r4, r2, #1
	sbc	r5, r3, #0
	sub	r1, fp, #7995392
	sub	r1, r1, #28
	sub	r1, r1, #4672
	stm	r1, {r4-r5}
	orrs	r3, r2, r3
	bne	.L8
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC3
	.word	.LC0
	.word	-8000048
	.word	-8000056
	.word	.LC1
	.word	8000008
	.word	-8000032
	.word	-8000040
	.word	-8000016
	.word	-8000100
	.word	-8000096
	.word	-8000108
	.word	-8000104
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
