	.file	"162046.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"%d "
.LC2:
	.string	"%s"
.LC3:
	.string	"%i"
	.align 32
.LC0:
	.string	"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
	.string	"ZABCDEFGHIJKLMNOPQRSTUVWXY"
	.string	"XZABCDEFGHIJKLMNOPQRSTUVWX"
	.string	"XYZABCDEFGHIJKLMNOPQRSTUVW"
	.string	"WXYZABCDEFGHIJKLMNOPQRSTUV"
	.string	"VWXYZABCDEFGHIJKLMNOPQRSTU"
	.string	"UVWXYZABCDEFGHIJKLMNOPQRST"
	.string	"TUVWXYZABCDEFGHIJKLMNOPQRS"
	.string	"STUVWXYZABCDEFGHIJKLMNOPQR"
	.string	"RSTUVWXYZABCDEFGHIJKLMNOPQ"
	.string	"QRSTUVWXYZABCDEFGHIJKLMNOP"
	.string	"PQRSTUVWXYZABCDEFGHIJKLMNO"
	.string	"OPQRSTUVWXYZABCDEFGHIJKLMN"
	.string	"NOPQRSTUVWXYZABCDEFGHIJKLM"
	.string	"MNOPQRSTUVWXYZABCDEFGHIJKL"
	.string	"LMNOPQRSTUVWXYZABCDEFGHIJK"
	.string	"KLMNOPQRSTUVWXYZABCDEFGHIJ"
	.string	"JKLMNOPQRSTUVWXYZABCDEFGHI"
	.string	"IJKLMNOPQRSTUVWXYZABCDEFGH"
	.string	"HIJKLMNOPQRSTUVWXYZABCDEFG"
	.string	"GHIJKLMNOPQRSTUVWXYZABCDEF"
	.string	"FGHIJKLMNOPQRSTUVWXYZABCDE"
	.string	"EFGHIJKLMNOPQRSTUVWXYZABCD"
	.string	"DEFGHIJKLMNOPQRSTUVWXYZABC"
	.string	"CDEFGHIJKLMNOPQRSTUVWXYZAB"
	.string	"BCDEFGHIJKLMNOPQRSTUVWXYZA"
	.text
	.globl	main
	.type	main, @function
main:
.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, 752
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -740[rbp], 0
	mov	edi, 50
	call	malloc@PLT
	mov	QWORD PTR -728[rbp], rax
	lea	rax, -720[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 87
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	rdx, rsi
	mov	rax, rdi
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	lea	rax, 4[rax]
	lea	rdx, 4[rdx]
	movzx	ecx, WORD PTR [rdx]
	mov	WORD PTR [rax], cx
	lea	rax, -748[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L7:
	mov	rax, QWORD PTR -728[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -744[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -732[rbp], 0
	jmp	.L3
.L4:
	add	DWORD PTR -732[rbp], 1
.L3:
	mov	eax, DWORD PTR -732[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -728[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L4
	mov	DWORD PTR -736[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -744[rbp]
	mov	edx, DWORD PTR -736[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -728[rbp]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	movsx	edx, dl
	lea	esi, -65[rdx]
	mov	edx, DWORD PTR -736[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -728[rbp]
	add	rcx, rdx
	movsx	rsi, esi
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	add	rax, rbp
	add	rax, rsi
	sub	rax, 720
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rcx], al
	add	DWORD PTR -736[rbp], 1
.L5:
	mov	eax, DWORD PTR -736[rbp]
	cmp	eax, DWORD PTR -732[rbp]
	jl	.L6
	mov	rax, QWORD PTR -728[rbp]
	mov	rdi, rax
	call	puts@PLT
.L2:
	mov	eax, DWORD PTR -740[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -740[rbp], edx
	mov	edx, DWORD PTR -748[rbp]
	cmp	eax, edx
	jl	.L7
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"162046.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d \000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"%i\000"
	.align	2
.LC0:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZ\000"
	.ascii	"ZABCDEFGHIJKLMNOPQRSTUVWXY\000"
	.ascii	"XZABCDEFGHIJKLMNOPQRSTUVWX\000"
	.ascii	"XYZABCDEFGHIJKLMNOPQRSTUVW\000"
	.ascii	"WXYZABCDEFGHIJKLMNOPQRSTUV\000"
	.ascii	"VWXYZABCDEFGHIJKLMNOPQRSTU\000"
	.ascii	"UVWXYZABCDEFGHIJKLMNOPQRST\000"
	.ascii	"TUVWXYZABCDEFGHIJKLMNOPQRS\000"
	.ascii	"STUVWXYZABCDEFGHIJKLMNOPQR\000"
	.ascii	"RSTUVWXYZABCDEFGHIJKLMNOPQ\000"
	.ascii	"QRSTUVWXYZABCDEFGHIJKLMNOP\000"
	.ascii	"PQRSTUVWXYZABCDEFGHIJKLMNO\000"
	.ascii	"OPQRSTUVWXYZABCDEFGHIJKLMN\000"
	.ascii	"NOPQRSTUVWXYZABCDEFGHIJKLM\000"
	.ascii	"MNOPQRSTUVWXYZABCDEFGHIJKL\000"
	.ascii	"LMNOPQRSTUVWXYZABCDEFGHIJK\000"
	.ascii	"KLMNOPQRSTUVWXYZABCDEFGHIJ\000"
	.ascii	"JKLMNOPQRSTUVWXYZABCDEFGHI\000"
	.ascii	"IJKLMNOPQRSTUVWXYZABCDEFGH\000"
	.ascii	"HIJKLMNOPQRSTUVWXYZABCDEFG\000"
	.ascii	"GHIJKLMNOPQRSTUVWXYZABCDEF\000"
	.ascii	"FGHIJKLMNOPQRSTUVWXYZABCDE\000"
	.ascii	"EFGHIJKLMNOPQRSTUVWXYZABCD\000"
	.ascii	"DEFGHIJKLMNOPQRSTUVWXYZABC\000"
	.ascii	"CDEFGHIJKLMNOPQRSTUVWXYZAB\000"
	.ascii	"BCDEFGHIJKLMNOPQRSTUVWXYZA\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 736
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #736
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-728]
	mov	r0, #50
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-716]
	ldr	r2, .L10+4
	sub	r3, fp, #712
	mov	r1, r2
	ldr	r2, .L10+8
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #736
	mov	r1, r3
	ldr	r0, .L10+12
	bl	__isoc99_scanf
	b	.L2
.L7:
	ldr	r1, [fp, #-716]
	ldr	r0, .L10+16
	bl	__isoc99_scanf
	sub	r3, fp, #732
	mov	r1, r3
	ldr	r0, .L10+20
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-720]
	b	.L3
.L4:
	ldr	r3, [fp, #-720]
	add	r3, r3, #1
	str	r3, [fp, #-720]
.L3:
	ldr	r3, [fp, #-720]
	ldr	r2, [fp, #-716]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	str	r3, [fp, #-724]
	b	.L5
.L6:
	ldr	r2, [fp, #-732]
	ldr	r3, [fp, #-724]
	ldr	r1, [fp, #-716]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r0, r3, #65
	ldr	r3, [fp, #-724]
	ldr	r1, [fp, #-716]
	add	r1, r1, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	sub	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, r0
	sub	r3, r3, #708
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r1]
	ldr	r3, [fp, #-724]
	add	r3, r3, #1
	str	r3, [fp, #-724]
.L5:
	ldr	r2, [fp, #-724]
	ldr	r3, [fp, #-720]
	cmp	r2, r3
	blt	.L6
	ldr	r0, [fp, #-716]
	bl	puts
.L2:
	ldr	r3, [fp, #-728]
	add	r2, r3, #1
	str	r2, [fp, #-728]
	ldr	r2, [fp, #-736]
	cmp	r3, r2
	blt	.L7
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC4
	.word	.LC0
	.word	702
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
