	.file	"124234.c"
	.intel_syntax noprefix
	.text
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jge	.L2
	mov	eax, 1
	jmp	.L4
.L2:
	mov	eax, -1
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -798720[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1408
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -800120[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L6
.L14:
	lea	rax, -800112[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	QWORD PTR -800096[rbp], 0
	mov	QWORD PTR -800088[rbp], 0
	mov	QWORD PTR -800072[rbp], 0
	mov	QWORD PTR -800064[rbp], 0
	mov	QWORD PTR -800080[rbp], 0
	jmp	.L7
.L10:
	lea	rax, -800104[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -800104[rbp]
	test	rax, rax
	js	.L8
	add	QWORD PTR -800096[rbp], 1
	mov	rax, QWORD PTR -800104[rbp]
	add	QWORD PTR -800072[rbp], rax
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -800088[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -800088[rbp], rdx
	mov	rdx, QWORD PTR -800104[rbp]
	mov	QWORD PTR -800048[rbp+rax*8], rdx
	mov	rax, QWORD PTR -800104[rbp]
	add	QWORD PTR -800064[rbp], rax
.L9:
	add	QWORD PTR -800080[rbp], 1
.L7:
	mov	rax, QWORD PTR -800112[rbp]
	cmp	QWORD PTR -800080[rbp], rax
	jl	.L10
	mov	rax, QWORD PTR -800072[rbp]
	imul	rax, QWORD PTR -800096[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -800064[rbp]
	add	rax, rdx
	mov	QWORD PTR -800056[rbp], rax
	mov	rsi, QWORD PTR -800088[rbp]
	lea	rax, -800048[rbp]
	lea	rcx, cmp[rip]
	mov	edx, 8
	mov	rdi, rax
	call	qsort@PLT
	mov	QWORD PTR -800080[rbp], 0
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -800080[rbp]
	mov	rax, QWORD PTR -800048[rbp+rax*8]
	add	QWORD PTR -800072[rbp], rax
	add	QWORD PTR -800096[rbp], 1
	mov	rax, QWORD PTR -800080[rbp]
	mov	rax, QWORD PTR -800048[rbp+rax*8]
	sub	QWORD PTR -800064[rbp], rax
	mov	rax, QWORD PTR -800072[rbp]
	imul	rax, QWORD PTR -800096[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -800064[rbp]
	add	rax, rdx
	mov	QWORD PTR -800104[rbp], rax
	mov	rax, QWORD PTR -800104[rbp]
	cmp	QWORD PTR -800056[rbp], rax
	jge	.L12
	mov	rax, QWORD PTR -800104[rbp]
	mov	QWORD PTR -800056[rbp], rax
.L12:
	add	QWORD PTR -800080[rbp], 1
.L11:
	mov	rax, QWORD PTR -800080[rbp]
	cmp	rax, QWORD PTR -800088[rbp]
	jl	.L13
	mov	rax, QWORD PTR -800056[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	mov	rax, QWORD PTR -800120[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -800120[rbp], rdx
	test	rax, rax
	jne	.L14
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"124234.c"
	.text
	.align	2
	.global	cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp, %function
cmp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-12]
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L2
	mov	r3, #1
	b	.L4
.L2:
	mvn	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cmp, .-cmp
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lld\000"
	.align	2
.LC1:
	.ascii	"%lld\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 800200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #798720
	sub	sp, sp, #1472
	sub	sp, sp, #8
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r3, .L17+4
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L17+8
	bl	__isoc99_scanf
	b	.L6
.L14:
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1392
	mov	r1, r3
	ldr	r0, .L17+8
	bl	__isoc99_scanf
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L7
.L10:
	ldr	r3, .L17+12
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L17+8
	bl	__isoc99_scanf
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	ldmdb	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	blt	.L8
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	mov	r1, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	ldr	ip, .L17+16
	add	ip, fp, ip
	str	r0, [ip]
	adc	r3, r3, #0
	ldr	r2, .L17+20
	add	r2, fp, r2
	str	r3, [r2]
	ldr	r3, .L17+16
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stm	r1, {r3-r4}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	ldmdb	r3, {r0-r1}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	mov	ip, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	ldmdb	r3, {r2-r3}
	adds	lr, r2, r0
	ldr	r4, .L17+24
	add	r4, fp, r4
	str	lr, [r4]
	adc	r3, r3, r1
	sub	r2, fp, #798720
	sub	r2, r2, #1456
	str	r3, [r2]
	ldr	r3, .L17+24
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stmdb	ip, {r3-r4}
	b	.L9
.L8:
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	ldmdb	r3, {r0-r1}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	adds	r2, r0, #1
	ldr	ip, .L17+28
	add	ip, fp, ip
	str	r2, [ip]
	adc	r2, r1, #0
	ldr	ip, .L17+32
	add	ip, fp, ip
	str	r2, [ip]
	ldr	r2, .L17+28
	add	r2, fp, r2
	ldmia	r2, {r4-r5}
	stmdb	r3, {r4-r5}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	ldmdb	r3, {r4-r5}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1328
	stm	r3, {r4-r5}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	ldmdb	r3, {r0-r1}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	mov	ip, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	ldmia	r3, {r2-r3}
	adds	r6, r2, r0
	adc	r7, r3, r1
	stm	ip, {r6-r7}
.L9:
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	mov	r1, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	stm	r1, {r8-r9}
.L7:
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1392
	ldmia	r3, {r0-r1}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L10
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	mov	ip, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	mov	r1, r3
	ldr	r2, [ip, #-4]
	ldr	r3, [r1]
	mul	r0, r3, r2
	ldr	r2, [r1, #4]
	ldr	r3, [ip, #-8]
	mul	r3, r2, r3
	add	r0, r0, r3
	ldr	r2, [ip, #-8]
	ldr	r3, [r1]
	umull	r4, r5, r2, r3
	add	r3, r0, r5
	mov	r5, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1328
	mov	r1, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	ldmia	r3, {r2-r3}
	adds	r0, r2, r4
	ldr	ip, .L17+36
	add	ip, fp, ip
	str	r0, [ip]
	adc	r3, r3, r5
	sub	r2, fp, #798720
	sub	r2, r2, #1472
	str	r3, [r2]
	ldr	r3, .L17+36
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stmdb	r1, {r3-r4}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	ldr	r1, [r3, #-8]
	sub	r0, fp, #798720
	sub	r0, r0, #28
	sub	r0, r0, #1328
	ldr	r3, .L17+40
	mov	r2, #8
	bl	qsort
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L11
.L13:
	sub	r3, fp, #798720
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	ldr	r3, [r3]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1328
	ldmia	r3, {r0-r1}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	mov	ip, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	ldmdb	r3, {r2-r3}
	adds	lr, r2, r0
	ldr	r4, .L17+44
	add	r4, fp, r4
	str	lr, [r4]
	adc	r3, r3, r1
	ldr	r2, .L17+48
	add	r2, fp, r2
	str	r3, [r2]
	ldr	r3, .L17+44
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stmdb	ip, {r3-r4}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	mov	r1, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	ldr	ip, .L17+52
	add	ip, fp, ip
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #798720
	sub	r2, r2, #1488
	str	r3, [r2]
	ldr	r3, .L17+52
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stm	r1, {r3-r4}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	ldr	r3, [r3]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #1328
	ldmia	r3, {r0-r1}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	mov	ip, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	ldmia	r3, {r2-r3}
	subs	lr, r2, r0
	ldr	r4, .L17+56
	add	r4, fp, r4
	str	lr, [r4]
	sbc	r3, r3, r1
	ldr	r2, .L17+60
	add	r2, fp, r2
	str	r3, [r2]
	ldr	r3, .L17+56
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stm	ip, {r3-r4}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	mov	ip, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	mov	r1, r3
	ldr	r2, [ip, #-4]
	ldr	r3, [r1]
	mul	r0, r3, r2
	ldr	r2, [r1, #4]
	ldr	r3, [ip, #-8]
	mul	r3, r2, r3
	add	r0, r0, r3
	ldr	r2, [ip, #-8]
	ldr	r3, [r1]
	umull	r4, r5, r2, r3
	add	r3, r0, r5
	mov	r5, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1344
	ldmia	r3, {r2-r3}
	adds	r1, r4, r2
	ldr	r0, .L17+64
	add	r0, fp, r0
	str	r1, [r0]
	adc	r3, r5, r3
	ldr	r2, .L17+68
	add	r2, fp, r2
	str	r3, [r2]
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	ldr	r2, .L17+64
	add	r2, fp, r2
	ldmia	r2, {r1-r2}
	stmdb	r3, {r1-r2}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	ldmdb	r3, {r0-r1}
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1328
	ldmdb	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	bge	.L12
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1328
	mov	r1, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1376
	ldmdb	r3, {r2-r3}
	stmdb	r1, {r2-r3}
.L12:
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	mov	r1, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	ldr	ip, .L17+72
	add	ip, fp, ip
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #798720
	sub	r2, r2, #1504
	str	r3, [r2]
	ldr	r3, .L17+72
	add	r3, fp, r3
	ldmia	r3, {r3-r4}
	stm	r1, {r3-r4}
.L11:
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1360
	ldmia	r2, {r0-r1}
	ldmdb	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L13
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1328
	ldmdb	r3, {r2-r3}
	ldr	r0, .L17+76
	bl	printf
.L6:
	sub	r3, fp, #798720
	sub	r3, r3, #28
	sub	r3, r3, #1392
	ldmdb	r3, {r2-r3}
	subs	r1, r2, #1
	ldr	r0, .L17+80
	add	r0, fp, r0
	str	r1, [r0]
	sbc	r1, r3, #0
	sub	r0, fp, #798720
	sub	r0, r0, #1440
	str	r1, [r0]
	sub	r1, fp, #798720
	sub	r1, r1, #28
	sub	r1, r1, #1392
	ldr	r0, .L17+80
	add	r0, fp, r0
	ldmia	r0, {r4-r5}
	stmdb	r1, {r4-r5}
	orrs	r3, r2, r3
	bne	.L14
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	-800120
	.word	.LC0
	.word	-800104
	.word	-800172
	.word	-800168
	.word	-800180
	.word	-800188
	.word	-800184
	.word	-800196
	.word	cmp
	.word	-800204
	.word	-800200
	.word	-800212
	.word	-800220
	.word	-800216
	.word	-800156
	.word	-800152
	.word	-800228
	.word	.LC1
	.word	-800164
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
