	.file	"122015239.c"
	.intel_syntax noprefix
	.text
	.type	cmpint, @function
cmpint:
.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	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cmpint, .-cmpint
	.section	.rodata
.LC0:
	.string	"Usage: %s [FILE]\n"
.LC1:
	.string	"r"
.LC2:
	.string	"%d"
.LC3:
	.string	",%d"
.LC4:
	.string	"unexpected end of input"
	.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
	sub	rsp, 2464
	mov	DWORD PTR -2452[rbp], edi
	mov	QWORD PTR -2464[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -2452[rbp], 2
	je	.L4
	mov	rax, QWORD PTR -2464[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L20
.L4:
	add	QWORD PTR -2464[rbp], 8
	mov	rax, QWORD PTR -2464[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2424[rbp], rax
.L7:
	mov	rax, QWORD PTR -2424[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -2437[rbp], al
	cmp	BYTE PTR -2437[rbp], 44
	je	.L8
	cmp	BYTE PTR -2437[rbp], -1
	jne	.L7
	jmp	.L8
.L19:
	mov	eax, DWORD PTR -2436[rbp]
	mov	DWORD PTR -2416[rbp], eax
	mov	DWORD PTR -2428[rbp], 1
	jmp	.L9
.L11:
	mov	rax, QWORD PTR -2424[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -2437[rbp], al
	cmp	BYTE PTR -2437[rbp], 44
	je	.L10
	cmp	BYTE PTR -2437[rbp], -1
	jne	.L11
.L10:
	mov	eax, DWORD PTR -2428[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -2428[rbp], edx
	lea	rdx, -2416[rbp]
	mov	eax, eax
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -2424[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	je	.L23
.L9:
	mov	rax, QWORD PTR -2424[rbp]
	mov	rdi, rax
	call	getc@PLT
	cmp	eax, 59
	jne	.L13
	mov	rax, QWORD PTR -2424[rbp]
	mov	rdi, rax
	call	getc@PLT
	cmp	eax, 32
	je	.L11
.L13:
	mov	esi, DWORD PTR -2428[rbp]
	lea	rax, -2416[rbp]
	lea	rcx, cmpint[rip]
	mov	edx, 4
	mov	rdi, rax
	call	qsort@PLT
	mov	eax, DWORD PTR -2428[rbp]
	sub	eax, 1
	mov	DWORD PTR -2432[rbp], eax
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -2432[rbp]
	mov	eax, DWORD PTR -2416[rbp+rax*4]
	mov	edx, DWORD PTR -2432[rbp]
	sub	edx, 1
	mov	edx, edx
	mov	ecx, DWORD PTR -2416[rbp+rdx*4]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -2432[rbp]
	mov	DWORD PTR -2416[rbp+rax*4], edx
	sub	DWORD PTR -2432[rbp], 1
.L14:
	cmp	DWORD PTR -2432[rbp], 0
	jne	.L15
	mov	eax, DWORD PTR -2416[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -2432[rbp], 1
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -2432[rbp]
	mov	eax, DWORD PTR -2416[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -2432[rbp], 1
.L16:
	mov	eax, DWORD PTR -2432[rbp]
	cmp	eax, DWORD PTR -2428[rbp]
	jb	.L17
	mov	edi, 10
	call	putchar@PLT
.L18:
	mov	rax, QWORD PTR -2424[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -2437[rbp], al
	cmp	BYTE PTR -2437[rbp], 44
	je	.L8
	cmp	BYTE PTR -2437[rbp], -1
	jne	.L18
.L8:
	lea	rdx, -2436[rbp]
	mov	rax, QWORD PTR -2424[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L19
	mov	eax, 0
	jmp	.L20
.L23:
	nop
.L12:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 1
.L20:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	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	"122015239.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmpint, %function
cmpint:
	@ 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]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cmpint, .-cmpint
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s [FILE]\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	",%d\000"
	.align	2
.LC4:
	.ascii	"unexpected end of input\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2432
	str	r0, [fp, #-2432]
	str	r1, [fp, #-2436]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-2432]
	cmp	r3, #2
	beq	.L4
	ldr	r3, [fp, #-2436]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L22+4
	bl	printf
	mov	r3, #1
	b	.L18
.L4:
	ldr	r3, [fp, #-2436]
	add	r3, r3, #4
	str	r3, [fp, #-2436]
	ldr	r3, [fp, #-2436]
	ldr	r3, [r3]
	ldr	r1, .L22+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2412]
.L6:
	ldr	r0, [fp, #-2412]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-2425]
	ldrb	r3, [fp, #-2425]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L6
	b	.L7
.L17:
	ldr	r3, [fp, #-2424]
	str	r3, [fp, #-2408]
	mov	r3, #1
	str	r3, [fp, #-2416]
	b	.L8
.L9:
	ldr	r0, [fp, #-2412]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-2425]
	ldrb	r3, [fp, #-2425]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L9
	ldr	r2, [fp, #-2416]
	add	r3, r2, #1
	str	r3, [fp, #-2416]
	sub	r3, fp, #2400
	sub	r3, r3, #4
	sub	r3, r3, #4
	lsl	r2, r2, #2
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L22+12
	ldr	r0, [fp, #-2412]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	beq	.L21
.L8:
	ldr	r0, [fp, #-2412]
	bl	getc
	mov	r3, r0
	cmp	r3, #59
	bne	.L11
	ldr	r0, [fp, #-2412]
	bl	getc
	mov	r3, r0
	cmp	r3, #32
	beq	.L9
.L11:
	sub	r0, fp, #2400
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, .L22+16
	mov	r2, #4
	ldr	r1, [fp, #-2416]
	bl	qsort
	ldr	r3, [fp, #-2416]
	sub	r3, r3, #1
	str	r3, [fp, #-2420]
	b	.L12
.L13:
	ldr	r3, [fp, #-2420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-2404]
	ldr	r3, [fp, #-2420]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-2404]
	sub	r2, r2, r3
	ldr	r3, [fp, #-2420]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2404]
	ldr	r3, [fp, #-2420]
	sub	r3, r3, #1
	str	r3, [fp, #-2420]
.L12:
	ldr	r3, [fp, #-2420]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-2408]
	mov	r1, r3
	ldr	r0, .L22+12
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-2420]
	b	.L14
.L15:
	ldr	r3, [fp, #-2420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2404]
	mov	r1, r3
	ldr	r0, .L22+20
	bl	printf
	ldr	r3, [fp, #-2420]
	add	r3, r3, #1
	str	r3, [fp, #-2420]
.L14:
	ldr	r2, [fp, #-2420]
	ldr	r3, [fp, #-2416]
	cmp	r2, r3
	bcc	.L15
	mov	r0, #10
	bl	putchar
.L16:
	ldr	r0, [fp, #-2412]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-2425]
	ldrb	r3, [fp, #-2425]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L16
.L7:
	sub	r3, fp, #2416
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L22+12
	ldr	r0, [fp, #-2412]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L17
	mov	r3, #0
	b	.L18
.L21:
	nop
.L10:
	ldr	r0, .L22+24
	bl	puts
	mov	r3, #1
.L18:
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	cmpint
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
