	.file	"579636.c"
	.intel_syntax noprefix
	.text
	.type	comp00, @function
comp00:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -40[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -24[rbp], eax
	cmovle	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L2
.L28:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -48[rbp], al
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -47[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -48[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L3
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -47[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L3
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	jmp	.L4
.L6:
	add	DWORD PTR -36[rbp], 1
.L4:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jge	.L5
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L6
.L5:
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L7
.L9:
	add	DWORD PTR -32[rbp], 1
.L7:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jge	.L8
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L9
.L8:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L10
	mov	eax, 1
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jge	.L12
	mov	eax, -1
	jmp	.L11
.L12:
	movzx	eax, BYTE PTR -48[rbp]
	cmp	al, BYTE PTR -47[rbp]
	jbe	.L13
	mov	eax, 1
	jmp	.L11
.L13:
	movzx	eax, BYTE PTR -48[rbp]
	cmp	al, BYTE PTR -47[rbp]
	jnb	.L14
	mov	eax, -1
	jmp	.L11
.L14:
	add	DWORD PTR -44[rbp], 1
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L31
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -48[rbp], al
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -47[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -48[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L16
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -47[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L12
	jmp	.L16
.L31:
	nop
.L16:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L32
	movzx	eax, BYTE PTR -48[rbp]
	cmp	al, BYTE PTR -47[rbp]
	je	.L3
	cmp	BYTE PTR -48[rbp], 46
	jne	.L19
	mov	eax, 1
	jmp	.L11
.L19:
	cmp	BYTE PTR -47[rbp], 46
	jne	.L3
	mov	eax, -1
	jmp	.L11
.L3:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -48[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L20
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -47[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L21
	movzx	eax, BYTE PTR -48[rbp]
	mov	edi, eax
	call	toupper@PLT
	mov	BYTE PTR -46[rbp], al
	movzx	eax, BYTE PTR -47[rbp]
	mov	edi, eax
	call	toupper@PLT
	mov	BYTE PTR -45[rbp], al
	movzx	eax, BYTE PTR -46[rbp]
	cmp	al, BYTE PTR -45[rbp]
	jnb	.L22
	mov	eax, -1
	jmp	.L11
.L22:
	movzx	eax, BYTE PTR -46[rbp]
	cmp	al, BYTE PTR -45[rbp]
	jbe	.L23
	mov	eax, 1
	jmp	.L11
.L23:
	cmp	DWORD PTR -40[rbp], 0
	jne	.L24
	movzx	eax, BYTE PTR -48[rbp]
	cmp	al, BYTE PTR -47[rbp]
	jnb	.L25
	mov	DWORD PTR -40[rbp], -1
.L25:
	movzx	eax, BYTE PTR -48[rbp]
	cmp	al, BYTE PTR -47[rbp]
	jbe	.L24
	mov	DWORD PTR -40[rbp], 1
	jmp	.L24
.L21:
	mov	eax, 1
	jmp	.L11
.L20:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -47[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L26
	mov	eax, -1
	jmp	.L11
.L26:
	movzx	eax, BYTE PTR -48[rbp]
	cmp	al, BYTE PTR -47[rbp]
	jnb	.L27
	mov	eax, -1
	jmp	.L11
.L27:
	movzx	eax, BYTE PTR -48[rbp]
	cmp	al, BYTE PTR -47[rbp]
	jbe	.L24
	mov	eax, 1
	jmp	.L11
.L24:
	add	DWORD PTR -44[rbp], 1
.L2:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L28
	jmp	.L18
.L32:
	nop
.L18:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L29
	mov	eax, 1
	jmp	.L11
.L29:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jge	.L30
	mov	eax, -1
	jmp	.L11
.L30:
	mov	eax, DWORD PTR -40[rbp]
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp00, .-comp00
	.type	comp0, @function
comp0:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	comp00
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	comp0, .-comp0
	.type	getaline, @function
getaline:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], 1024
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
.L42:
	call	getchar@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L36
	cmp	DWORD PTR -16[rbp], 0
	je	.L37
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L39
.L37:
	mov	eax, 0
	jmp	.L39
.L36:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L40
	sal	DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -8[rbp], rax
.L40:
	cmp	DWORD PTR -12[rbp], 10
	jne	.L41
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L39
.L41:
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L42
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getaline, .-getaline
	.type	inputlines, @function
inputlines:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -24[rbp], 10
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
.L47:
	mov	eax, 0
	call	getaline
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L44
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L48
.L44:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L46
	sal	DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -16[rbp], rax
.L46:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	jmp	.L47
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	inputlines, .-inputlines
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	inputlines
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, comp0[rip]
	mov	edx, 8
	mov	rdi, rax
	call	qsort@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -20[rbp], 1
.L50:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L51
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"579636.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	comp00, %function
comp00:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L28:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-43]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-44]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L3
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L4
.L6:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L4:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L5
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L6
.L5:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L7
.L9:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L7:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L8
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L9
.L8:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L10
	mov	r3, #1
	b	.L11
.L10:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bge	.L12
	mvn	r3, #0
	b	.L11
.L12:
	ldrb	r2, [fp, #-44]	@ zero_extendqisi2
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	cmp	r2, r3
	bls	.L13
	mov	r3, #1
	b	.L11
.L13:
	ldrb	r2, [fp, #-44]	@ zero_extendqisi2
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L14
	mvn	r3, #0
	b	.L11
.L14:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bge	.L31
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-43]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-44]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L16
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L12
	b	.L16
.L31:
	nop
.L16:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bge	.L32
	ldrb	r2, [fp, #-44]	@ zero_extendqisi2
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L3
	ldrb	r3, [fp, #-44]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L19
	mov	r3, #1
	b	.L11
.L19:
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L3
	mvn	r3, #0
	b	.L11
.L3:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-44]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L20
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L21
	ldrb	r3, [fp, #-44]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	strb	r3, [fp, #-42]
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	strb	r3, [fp, #-41]
	ldrb	r2, [fp, #-42]	@ zero_extendqisi2
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L22
	mvn	r3, #0
	b	.L11
.L22:
	ldrb	r2, [fp, #-42]	@ zero_extendqisi2
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r2, r3
	bls	.L23
	mov	r3, #1
	b	.L11
.L23:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L24
	ldrb	r2, [fp, #-44]	@ zero_extendqisi2
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L25
	mvn	r3, #0
	str	r3, [fp, #-36]
.L25:
	ldrb	r2, [fp, #-44]	@ zero_extendqisi2
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	cmp	r2, r3
	bls	.L24
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L24
.L21:
	mov	r3, #1
	b	.L11
.L20:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L26
	mvn	r3, #0
	b	.L11
.L26:
	ldrb	r2, [fp, #-44]	@ zero_extendqisi2
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L27
	mvn	r3, #0
	b	.L11
.L27:
	ldrb	r2, [fp, #-44]	@ zero_extendqisi2
	ldrb	r3, [fp, #-43]	@ zero_extendqisi2
	cmp	r2, r3
	bls	.L24
	mov	r3, #1
	b	.L11
.L24:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L28
	b	.L18
.L32:
	nop
.L18:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L29
	mov	r3, #1
	b	.L11
.L29:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L30
	mvn	r3, #0
	b	.L11
.L30:
	ldr	r3, [fp, #-36]
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	comp00, .-comp00
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	comp0, %function
comp0:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	comp00
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	comp0, .-comp0
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getaline, %function
getaline:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #1024
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
.L42:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L36
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-12]
	b	.L39
.L37:
	mov	r3, #0
	b	.L39
.L36:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L40
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	realloc
	str	r0, [fp, #-12]
.L40:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L41
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	b	.L39
.L41:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L42
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getaline, .-getaline
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	inputlines, %function
inputlines:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #10
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
.L47:
	bl	getaline
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	b	.L48
.L44:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L46
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	realloc
	str	r0, [fp, #-12]
.L46:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	b	.L47
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	inputlines, .-inputlines
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #20
	mov	r0, r3
	bl	inputlines
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r3, .L54+4
	mov	r2, #4
	ldr	r0, [fp, #-12]
	bl	qsort
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L50
.L51:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L50:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L51
	mov	r3, #0
	ldr	r2, .L54
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC0
	.word	comp0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
