	.file	"62638838.c"
	.intel_syntax noprefix
	.text
	.globl	fillMoves
	.type	fillMoves, @function
fillMoves:
.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	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], -1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	DWORD PTR 4[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	mov	DWORD PTR 4[rax], 1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 24
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 24
	mov	DWORD PTR 4[rax], 1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 32
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 32
	mov	DWORD PTR 4[rax], 1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 40
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 40
	mov	DWORD PTR 4[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 48
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 48
	mov	DWORD PTR 4[rax], -1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 56
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 56
	mov	DWORD PTR 4[rax], -1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fillMoves, .-fillMoves
	.globl	convertirMayuscula
	.type	convertirMayuscula, @function
convertirMayuscula:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	BYTE PTR -5[rbp], al
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -5[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L4
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	convertirMayuscula, .-convertirMayuscula
	.globl	fillBoard
	.type	fillBoard, @function
fillBoard:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L8:
	call	getchar@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	call	getchar@PLT
	add	DWORD PTR -4[rbp], 1
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L8
	add	DWORD PTR -8[rbp], 1
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fillBoard, .-fillBoard
	.section	.rodata
.LC0:
	.string	"%c "
	.text
	.globl	printBoard
	.type	printBoard, @function
printBoard:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L11
.L14:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L12:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L13
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L11:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L14
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	printBoard, .-printBoard
	.globl	is_valid
	.type	is_valid, @function
is_valid:
.LFB10:
	.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	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	cmp	DWORD PTR -16[rbp], 0
	js	.L16
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L16
	cmp	DWORD PTR -20[rbp], 0
	js	.L16
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L16
	mov	eax, 1
	jmp	.L18
.L16:
	mov	eax, 0
.L18:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	is_valid, .-is_valid
	.globl	pupiletras
	.type	pupiletras, @function
pupiletras:
.LFB11:
	.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	mov	DWORD PTR -44[rbp], r8d
	mov	DWORD PTR -48[rbp], r9d
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L20
	mov	eax, 1
	jmp	.L21
.L20:
	mov	edx, DWORD PTR -48[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR 16[rbp]
	mov	rdi, rax
	call	is_valid
	test	eax, eax
	je	.L22
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR 16[rbp]
	cdqe
	movzx	edx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L22
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1[rbp], al
	movsx	eax, BYTE PTR -1[rbp]
	mov	edi, eax
	call	tolower@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR 16[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, DWORD PTR 32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR 16[rbp]
	lea	r8d, [rdx+rax]
	mov	eax, DWORD PTR 32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	lea	r9d, [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	lea	r10d, 1[rax]
	mov	ecx, DWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR 32[rbp]
	push	rdi
	push	QWORD PTR 24[rbp]
	push	r8
	mov	r8d, r10d
	mov	rdi, rax
	call	pupiletras
	add	rsp, 32
	test	eax, eax
	je	.L23
	mov	eax, 1
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR 16[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	mov	BYTE PTR -1[rbp], al
	movsx	eax, BYTE PTR -1[rbp]
	mov	edi, eax
	call	toupper@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR 16[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, 0
	jmp	.L21
.L22:
	mov	eax, 0
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	pupiletras, .-pupiletras
	.globl	buscarPalabra
	.type	buscarPalabra, @function
buscarPalabra:
.LFB12:
	.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	mov	QWORD PTR -48[rbp], r8
	mov	DWORD PTR -12[rbp], 0
	jmp	.L25
.L33:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L26
.L32:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	edx, BYTE PTR [rdx+rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L27
	mov	DWORD PTR -4[rbp], 0
	jmp	.L28
.L31:
	mov	r8d, DWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR -4[rbp]
	push	rdi
	push	QWORD PTR -48[rbp]
	mov	edi, DWORD PTR -8[rbp]
	push	rdi
	mov	r9d, r8d
	mov	r8d, 0
	mov	rdi, rax
	call	pupiletras
	add	rsp, 32
	test	eax, eax
	jne	.L34
	add	DWORD PTR -4[rbp], 1
.L28:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L31
.L27:
	add	DWORD PTR -8[rbp], 1
.L26:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L32
	add	DWORD PTR -12[rbp], 1
.L25:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L33
	jmp	.L24
.L34:
	nop
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	buscarPalabra, .-buscarPalabra
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1056
	mov	DWORD PTR -1044[rbp], edi
	mov	QWORD PTR -1056[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1024[rbp]
	mov	rdi, rax
	call	fillMoves
.L40:
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1040[rbp]
	cmp	eax, -1
	je	.L44
	call	getchar@PLT
	mov	edx, DWORD PTR -1040[rbp]
	lea	rax, -960[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	fillBoard
	lea	rax, -1036[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -1032[rbp], 0
	jmp	.L38
.L39:
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1028[rbp], eax
	mov	edx, DWORD PTR -1028[rbp]
	lea	rax, -48[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	convertirMayuscula
	mov	esi, DWORD PTR -1040[rbp]
	lea	rdi, -1024[rbp]
	mov	ecx, DWORD PTR -1028[rbp]
	lea	rdx, -48[rbp]
	lea	rax, -960[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	buscarPalabra
	add	DWORD PTR -1032[rbp], 1
.L38:
	mov	eax, DWORD PTR -1036[rbp]
	cmp	DWORD PTR -1032[rbp], eax
	jl	.L39
	mov	edx, DWORD PTR -1040[rbp]
	lea	rax, -960[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printBoard
	jmp	.L40
.L44:
	nop
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"62638838.c"
	.text
	.align	2
	.global	fillMoves
	.syntax unified
	.arm
	.fpu softvfp
	.type	fillMoves, %function
fillMoves:
	@ 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]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #24
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #24
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #32
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #32
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #40
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #40
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #48
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #48
	mvn	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #56
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #56
	mvn	r2, #0
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fillMoves, .-fillMoves
	.align	2
	.global	convertirMayuscula
	.syntax unified
	.arm
	.fpu softvfp
	.type	convertirMayuscula, %function
convertirMayuscula:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L4:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L4
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	convertirMayuscula, .-convertirMayuscula
	.align	2
	.global	fillBoard
	.syntax unified
	.arm
	.fpu softvfp
	.type	fillBoard, %function
fillBoard:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L8:
	bl	getchar
	mov	r1, r0
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	and	r1, r1, #255
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	bl	getchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L6:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L9
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fillBoard, .-fillBoard
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c \000"
	.text
	.align	2
	.global	printBoard
	.syntax unified
	.arm
	.fpu softvfp
	.type	printBoard, %function
printBoard:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L11
.L14:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L13:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L15
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L13
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L11:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L14
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	printBoard, .-printBoard
	.align	2
	.global	is_valid
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_valid, %function
is_valid:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L18
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L18
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L18
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L18
	mov	r3, #1
	b	.L20
.L18:
	mov	r3, #0
.L20:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_valid, .-is_valid
	.align	2
	.global	pupiletras
	.syntax unified
	.arm
	.fpu softvfp
	.type	pupiletras, %function
pupiletras:
	@ args = 20, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L22
	mov	r3, #1
	b	.L23
.L22:
	ldr	r3, [fp, #12]
	ldr	r2, [fp, #8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	is_valid
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r2, [fp, #8]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #4]
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L24
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r1, r0
	ldr	r2, [fp, #8]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	and	r1, r1, #255
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	ldr	r2, [fp, #20]
	lsl	r2, r2, #3
	ldr	r1, [fp, #16]
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #8]
	add	r2, r1, r2
	ldr	r1, [fp, #20]
	lsl	r1, r1, #3
	ldr	r0, [fp, #16]
	add	r1, r0, r1
	ldr	r0, [r1, #4]
	ldr	r1, [fp, #12]
	add	r1, r0, r1
	ldr	r0, [fp, #20]
	str	r0, [sp, #16]
	ldr	r0, [fp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	pupiletras
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	mov	r3, #1
	b	.L23
.L25:
	ldr	r2, [fp, #8]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r1, r0
	ldr	r2, [fp, #8]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	and	r1, r1, #255
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	mov	r3, #0
	b	.L23
.L24:
	mov	r3, #0
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pupiletras, .-pupiletras
	.align	2
	.global	buscarPalabra
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscarPalabra, %function
buscarPalabra:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L27
.L35:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L28
.L34:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L29
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L33:
	ldr	r3, [fp, #-8]
	str	r3, [sp, #16]
	ldr	r3, [fp, #4]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-12]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-16]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	pupiletras
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L33
.L29:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L34
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L27:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L35
	b	.L26
.L36:
	nop
.L26:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	buscarPalabra, .-buscarPalabra
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"%s\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 = 1024
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	sub	sp, sp, #8
	str	r0, [fp, #-1024]
	str	r1, [fp, #-1028]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1004
	mov	r0, r3
	bl	fillMoves
.L42:
	sub	r3, fp, #1020
	mov	r1, r3
	ldr	r0, .L47+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1020]
	cmn	r3, #1
	beq	.L46
	bl	getchar
	ldr	r2, [fp, #-1020]
	sub	r3, fp, #940
	mov	r1, r2
	mov	r0, r3
	bl	fillBoard
	sub	r3, fp, #1016
	mov	r1, r3
	ldr	r0, .L47+4
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-1012]
	b	.L40
.L41:
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L47+8
	bl	__isoc99_scanf
	sub	r3, fp, #40
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1008]
	sub	r3, fp, #40
	ldr	r1, [fp, #-1008]
	mov	r0, r3
	bl	convertirMayuscula
	ldr	r1, [fp, #-1020]
	sub	r2, fp, #40
	sub	r0, fp, #940
	sub	r3, fp, #1004
	str	r3, [sp]
	ldr	r3, [fp, #-1008]
	bl	buscarPalabra
	ldr	r3, [fp, #-1012]
	add	r3, r3, #1
	str	r3, [fp, #-1012]
.L40:
	ldr	r3, [fp, #-1016]
	ldr	r2, [fp, #-1012]
	cmp	r2, r3
	blt	.L41
	ldr	r2, [fp, #-1020]
	sub	r3, fp, #940
	mov	r1, r2
	mov	r0, r3
	bl	printBoard
	b	.L42
.L46:
	nop
	mov	r3, #0
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC3
	.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
