	.file	"474387.c"
	.intel_syntax noprefix
	.text
	.globl	compare_str
	.type	compare_str, @function
compare_str:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	compare_str, .-compare_str
	.section	.rodata
.LC0:
	.string	"r"
	.align 8
.LC1:
	.string	"\"%[ABCDEFGHIJKLMNOPQRSTUVWXYZ]\","
	.text
	.globl	read_names
	.type	read_names, @function
read_names:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 200
	.cfi_offset 3, -24
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -176[rbp], 0
	mov	DWORD PTR -172[rbp], 256
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -184[rbp], rax
.L7:
	mov	edx, DWORD PTR -176[rbp]
	mov	eax, DWORD PTR -172[rbp]
	cmp	edx, eax
	jne	.L4
	mov	eax, DWORD PTR -172[rbp]
	add	eax, 256
	mov	DWORD PTR -172[rbp], eax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -168[rbp], rax
.L4:
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -184[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -192[rbp], eax
	cmp	DWORD PTR -192[rbp], 1
	je	.L5
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -176[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, compare_str[rip]
	mov	edx, 8
	mov	rdi, rax
	call	qsort@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L8
	jmp	.L9
.L5:
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -188[rbp], eax
	mov	eax, DWORD PTR -188[rbp]
	add	eax, 1
	cdqe
	mov	rcx, QWORD PTR -168[rbp]
	mov	edx, DWORD PTR -176[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -188[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rcx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	lea	rcx, -160[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -176[rbp]
	add	eax, 1
	mov	DWORD PTR -176[rbp], eax
	jmp	.L7
.L9:
	call	__stack_chk_fail@PLT
.L8:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_names, .-read_names
	.globl	alpha_value
	.type	alpha_value, @function
alpha_value:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 64
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	alpha_value, .-alpha_value
	.section	.rodata
.LC2:
	.string	"names.txt"
.LC3:
	.string	"%i"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	lea	rdi, .LC2[rip]
	call	read_names
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L13
.L16:
	mov	DWORD PTR -28[rbp], 0
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L14
.L15:
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	alpha_value
	add	DWORD PTR -28[rbp], eax
	add	DWORD PTR -24[rbp], 1
.L14:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L15
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	add	DWORD PTR -36[rbp], eax
	add	DWORD PTR -32[rbp], 1
.L13:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L16
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"474387.c"
	.text
	.align	2
	.global	compare_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_str, %function
compare_str:
	@ 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	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compare_str, .-compare_str
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"\"%[ABCDEFGHIJKLMNOPQRSTUVWXYZ]\",\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_names
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_names, %function
read_names:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #172
	str	r0, [fp, #-176]
	str	r1, [fp, #-180]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-156]
	mov	r3, #256
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-148]
	ldr	r1, .L10+4
	ldr	r0, [fp, #-180]
	bl	fopen
	str	r0, [fp, #-168]
.L7:
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-152]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-152]
	add	r3, r3, #256
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-152]
	lsl	r2, r2, #2
	mov	r1, r2
	mov	r0, r3
	bl	realloc
	mov	r3, r0
	str	r3, [fp, #-148]
.L4:
	sub	r3, fp, #144
	mov	r2, r3
	ldr	r1, .L10+8
	ldr	r0, [fp, #-168]
	bl	__isoc99_fscanf
	str	r0, [fp, #-164]
	ldr	r3, [fp, #-164]
	cmp	r3, #1
	beq	.L5
	ldr	r0, [fp, #-168]
	bl	fclose
	ldr	r0, [fp, #-148]
	ldr	r3, [fp, #-156]
	mov	r1, r3
	ldr	r3, .L10+12
	mov	r2, #4
	bl	qsort
	ldr	r3, [fp, #-176]
	mov	ip, r3
	sub	r3, fp, #156
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	b	.L9
.L5:
	sub	r3, fp, #144
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-160]
	sub	r1, fp, #144
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
	b	.L7
.L9:
	bl	__stack_chk_fail
.L8:
	ldr	r0, [fp, #-176]
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	compare_str
	.size	read_names, .-read_names
	.align	2
	.global	alpha_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	alpha_value, %function
alpha_value:
	@ 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
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #64
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	alpha_value, .-alpha_value
	.section	.rodata
	.align	2
.LC3:
	.ascii	"names.txt\000"
	.align	2
.LC4:
	.ascii	"%i\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 = 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, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20
	ldr	r1, .L21+4
	mov	r0, r3
	bl	read_names
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L15
.L18:
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L16
.L17:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	alpha_value
	mov	r2, r0
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L16:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L15:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L18
	ldr	r1, [fp, #-40]
	ldr	r0, .L21+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC5
	.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
