	.file	"132952410.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	je	.L2
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, edx
	sub	eax, ecx
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	eax, edx
	sub	eax, ecx
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Teste %d\n%s\n\n"
.LC2:
	.string	"%d %d "
	.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
	push	r12
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2112
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	r12d, 1
	jmp	.L5
.L17:
	lea	rax, -10064[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rax, -10032[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	ebx, 0
	jmp	.L6
.L7:
	movsx	rax, ebx
	mov	DWORD PTR -10300[rbp+rax*8], 0
	mov	edx, ebx
	movsx	rax, ebx
	mov	BYTE PTR -10304[rbp+rax*8], dl
	add	ebx, 1
.L6:
	cmp	ebx, 25
	jle	.L7
	mov	ebx, 0
	jmp	.L8
.L10:
	movsx	rax, ebx
	movzx	eax, BYTE PTR -10032[rbp+rax]
	cmp	al, 32
	je	.L9
	movsx	rax, ebx
	movzx	eax, BYTE PTR -10032[rbp+rax]
	movsx	eax, al
	sub	eax, 97
	movsx	rdx, eax
	mov	edx, DWORD PTR -10300[rbp+rdx*8]
	add	edx, 1
	cdqe
	mov	DWORD PTR -10300[rbp+rax*8], edx
.L9:
	add	ebx, 1
.L8:
	mov	eax, DWORD PTR -10312[rbp]
	cmp	ebx, eax
	jl	.L10
	lea	rax, -10304[rbp]
	lea	rcx, cmp[rip]
	mov	edx, 8
	mov	esi, 26
	mov	rdi, rax
	call	qsort@PLT
	mov	ebx, 0
	jmp	.L11
.L12:
	movsx	rax, ebx
	movzx	eax, BYTE PTR -10304[rbp+rax*8]
	movsx	ecx, al
	movsx	rax, ebx
	movzx	edx, BYTE PTR -10064[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -10096[rbp+rax], dl
	add	ebx, 1
.L11:
	mov	eax, DWORD PTR -10308[rbp]
	cmp	ebx, eax
	jl	.L12
	mov	ebx, 0
	jmp	.L13
.L15:
	movsx	rax, ebx
	movzx	eax, BYTE PTR -10032[rbp+rax]
	cmp	al, 32
	je	.L14
	movsx	rax, ebx
	movzx	eax, BYTE PTR -10032[rbp+rax]
	movsx	eax, al
	sub	eax, 97
	cdqe
	movzx	edx, BYTE PTR -10096[rbp+rax]
	movsx	rax, ebx
	mov	BYTE PTR -10032[rbp+rax], dl
.L14:
	add	ebx, 1
.L13:
	mov	eax, DWORD PTR -10312[rbp]
	cmp	ebx, eax
	jl	.L15
	mov	eax, r12d
	lea	r12d, 1[rax]
	lea	rdx, -10032[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	lea	rdx, -10308[rbp]
	lea	rax, -10312[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L16
	mov	eax, DWORD PTR -10312[rbp]
	test	eax, eax
	jne	.L17
	mov	eax, DWORD PTR -10308[rbp]
	test	eax, eax
	jne	.L17
.L16:
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	add	rsp, 10304
	pop	rbx
	pop	r12
	pop	rbp
	.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	"132952410.c"
	.text
	.align	2
	.global	cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp, %function
cmp:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	beq	.L2
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	b	.L3
.L2:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cmp, .-cmp
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"Teste %d\012%s\012\012\000"
	.align	2
.LC2:
	.ascii	"%d %d \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 = 10280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #10240
	sub	sp, sp, #40
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r5, #1
	b	.L5
.L17:
	sub	r3, fp, #9984
	sub	r3, r3, #12
	sub	r3, r3, #52
	mov	r1, r3
	ldr	r0, .L20+4
	bl	__isoc99_scanf
	bl	getchar
	sub	r3, fp, #9984
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r0, r3
	bl	gets
	mov	r4, #0
	b	.L6
.L7:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	lsl	r3, r4, #3
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-2076]
	and	r2, r4, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r4, #3
	add	r3, r1, r3
	strb	r2, [r3, #-2080]
	add	r4, r4, #1
.L6:
	cmp	r4, #25
	ble	.L7
	mov	r4, #0
	b	.L8
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r4
	ldrb	r3, [r3, #-1816]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L9
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r4
	ldrb	r3, [r3, #-1816]	@ zero_extendqisi2
	sub	r2, r3, #97
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #3
	add	r3, r1, r3
	ldr	r3, [r3, #-2076]
	add	r1, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	lsl	r3, r2, #3
	add	r3, r0, r3
	str	r1, [r3, #-2076]
.L9:
	add	r4, r4, #1
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2088]
	cmp	r4, r3
	blt	.L10
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #32
	ldr	r3, .L20+8
	mov	r2, #8
	mov	r1, #26
	bl	qsort
	mov	r4, #0
	b	.L11
.L12:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	lsl	r3, r4, #3
	add	r3, r2, r3
	ldrb	r3, [r3, #-2080]	@ zero_extendqisi2
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r4
	ldrb	r2, [r3, #-1844]	@ zero_extendqisi2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r1
	strb	r2, [r3, #-1872]
	add	r4, r4, #1
.L11:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2084]
	cmp	r4, r3
	blt	.L12
	mov	r4, #0
	b	.L13
.L15:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r4
	ldrb	r3, [r3, #-1816]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L14
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r4
	ldrb	r3, [r3, #-1816]	@ zero_extendqisi2
	sub	r3, r3, #97
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r2, [r3, #-1872]	@ zero_extendqisi2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r4
	strb	r2, [r3, #-1816]
.L14:
	add	r4, r4, #1
.L13:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2088]
	cmp	r4, r3
	blt	.L15
	mov	r1, r5
	add	r5, r1, #1
	sub	r3, fp, #9984
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r2, r3
	ldr	r0, .L20+12
	bl	printf
.L5:
	sub	r2, fp, #10240
	sub	r2, r2, #12
	sub	r2, r2, #36
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #40
	mov	r1, r3
	ldr	r0, .L20+16
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2088]
	cmp	r3, #0
	bne	.L17
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2084]
	cmp	r3, #0
	bne	.L17
.L16:
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC3
	.word	.LC0
	.word	cmp
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
