	.file	"26888.c"
	.intel_syntax noprefix
	.text
	.globl	LADOA
	.bss
	.align 4
	.type	LADOA, @object
	.size	LADOA, 4
LADOA:
	.zero	4
	.globl	LADOB
	.align 4
	.type	LADOB, @object
	.size	LADOB, 4
LADOB:
	.zero	4
	.globl	Band
	.align 4
	.type	Band, @object
	.size	Band, 4
Band:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"\t\t******************************"
	.align 8
.LC1:
	.string	"\n\t\t MISIONEROS(M)-CANIBALES(C)"
	.align 8
.LC2:
	.string	"\t\t******************************\n\n\n\n\n"
	.align 8
.LC3:
	.string	"\t\tPRESIONE ENTER PARA CONTINUAR"
.LC4:
	.string	"\n\t\t/////////"
.LC5:
	.string	"\n\t\t///FIN///"
.LC6:
	.string	"\n\t\t/////////\n"
	.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, 32
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	getch@PLT
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 67
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 3
	mov	rdx, QWORD PTR -16[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 77
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR 6[rdx+rax], 32
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 3
	mov	rdx, QWORD PTR -16[rbp]
	cdqe
	mov	BYTE PTR 6[rdx+rax], 32
	add	DWORD PTR -20[rbp], 1
.L2:
	cmp	DWORD PTR -20[rbp], 2
	jle	.L3
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	Imprime
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Crear
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 0
	call	getch@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC7:
	.string	"aleatorio=%d"
	.text
	.globl	Crear
	.type	Crear, @function
Crear:
.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	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L6
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Inicializar
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -4[rbp], edx
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR Band[rip]
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mueve_mis
	jmp	.L8
.L9:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -4[rbp], edx
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L8:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 32
	je	.L9
	mov	edx, DWORD PTR -4[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	mueve_com
	jmp	.L10
.L7:
	mov	eax, DWORD PTR LADOB[rip]
	cmp	eax, 1
	je	.L13
	mov	eax, DWORD PTR LADOA[rip]
	cmp	eax, 1
	jne	.L12
	jmp	.L13
.L14:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -4[rbp], edx
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L13:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR 6[rdx+rax]
	cmp	al, 32
	je	.L14
	mov	edx, DWORD PTR -4[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	devuelve_com
	jmp	.L10
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 11[rax], 32
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 5[rax], 77
.L10:
	mov	DWORD PTR LADOA[rip], 0
	mov	DWORD PTR LADOB[rip], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	Evaluacion
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	Imprime
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 5
	jne	.L15
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L5
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Crear
	jmp	.L5
.L6:
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Crear, .-Crear
	.globl	Inicializar
	.type	Inicializar, @function
Inicializar:
.LFB8:
	.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 -32[rbp]
	movzx	eax, BYTE PTR 5[rax]
	cmp	al, 77
	jne	.L18
	mov	DWORD PTR Band[rip], 0
	jmp	.L19
.L18:
	mov	DWORD PTR Band[rip], 1
.L19:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L20
.L21:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	ecx, BYTE PTR [rdx+rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	ecx, BYTE PTR 6[rdx+rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR 6[rdx+rax], cl
	add	DWORD PTR -4[rbp], 1
.L20:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 12[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Inicializar, .-Inicializar
	.globl	mueve_mis
	.type	mueve_mis, @function
mueve_mis:
.LFB9:
	.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	BYTE PTR 11[rax], 77
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 5[rax], 32
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mueve_mis, .-mueve_mis
	.globl	mueve_com
	.type	mueve_com, @function
mueve_com:
.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	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	movzx	ecx, BYTE PTR [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR 6[rdx+rax], cl
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 32
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	mueve_com, .-mueve_com
	.globl	devuelve_com
	.type	devuelve_com, @function
devuelve_com:
.LFB11:
	.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	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	movzx	ecx, BYTE PTR 6[rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR 6[rdx+rax], 32
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 11[rax], 32
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 5[rax], 77
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	devuelve_com, .-devuelve_com
	.globl	Evaluacion
	.type	Evaluacion, @function
Evaluacion:
.LFB12:
	.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 -40[rbp], rdi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L26
.L31:
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 67
	jne	.L27
	add	DWORD PTR -24[rbp], 1
.L27:
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 77
	jne	.L28
	add	DWORD PTR -20[rbp], 1
.L28:
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	movzx	eax, BYTE PTR 6[rdx+rax]
	cmp	al, 67
	jne	.L29
	add	DWORD PTR -16[rbp], 1
.L29:
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	movzx	eax, BYTE PTR 6[rdx+rax]
	cmp	al, 77
	jne	.L30
	add	DWORD PTR -12[rbp], 1
.L30:
	add	DWORD PTR -28[rbp], 1
.L26:
	cmp	DWORD PTR -28[rbp], 4
	jle	.L31
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L32
	cmp	DWORD PTR -20[rbp], 0
	je	.L32
	mov	DWORD PTR -8[rbp], 1
.L32:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jle	.L33
	cmp	DWORD PTR -12[rbp], 0
	je	.L33
	mov	DWORD PTR -4[rbp], 1
.L33:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L34
.L36:
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	movzx	eax, BYTE PTR 6[rdx+rax]
	cmp	al, 32
	je	.L35
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 12[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 12[rax], edx
.L35:
	add	DWORD PTR -28[rbp], 1
.L34:
	cmp	DWORD PTR -28[rbp], 4
	jle	.L36
	cmp	DWORD PTR -8[rbp], 1
	jne	.L37
	mov	DWORD PTR LADOA[rip], 1
.L37:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L39
	mov	DWORD PTR LADOB[rip], 1
.L39:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	Evaluacion, .-Evaluacion
	.section	.rodata
.LC8:
	.string	"\n\t\t/////////////"
.LC9:
	.string	"\n\t\t//OPERACION//"
.LC10:
	.string	"\n\t\t/////////////\n"
.LC11:
	.string	"\t\t"
.LC12:
	.string	"/%c"
.LC13:
	.string	"\n\t\t************"
.LC14:
	.string	"\n\t\t----RIO-----"
.LC15:
	.string	"\n"
	.align 8
.LC16:
	.string	"\n**PRESIONE ENTER PARA CONTINUAR**"
	.text
	.globl	Imprime
	.type	Imprime, @function
Imprime:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L41
.L42:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L41:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L42
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L43
.L44:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR 6[rdx+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L43:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L44
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	eax, 0
	call	getch@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	Imprime, .-Imprime
	.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	"26888.c"
	.text
	.global	LADOA
	.bss
	.align	2
	.type	LADOA, %object
	.size	LADOA, 4
LADOA:
	.space	4
	.global	LADOB
	.align	2
	.type	LADOB, %object
	.size	LADOB, 4
LADOB:
	.space	4
	.global	Band
	.align	2
	.type	Band, %object
	.size	Band, 4
Band:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\011\011******************************\000"
	.align	2
.LC1:
	.ascii	"\012\011\011 MISIONEROS(M)-CANIBALES(C)\000"
	.align	2
.LC2:
	.ascii	"\011\011******************************\012\012\012\012"
	.ascii	"\012\000"
	.align	2
.LC3:
	.ascii	"\011\011PRESIONE ENTER PARA CONTINUAR\000"
	.align	2
.LC4:
	.ascii	"\012\011\011/////////\000"
	.align	2
.LC5:
	.ascii	"\012\011\011///FIN///\000"
	.align	2
.LC6:
	.ascii	"\012\011\011/////////\012\000"
	.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
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r0, .L5
	bl	printf
	ldr	r0, .L5+4
	bl	puts
	ldr	r0, .L5+8
	bl	puts
	ldr	r0, .L5+12
	bl	printf
	bl	getch
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #67
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #3
	ldr	r2, [fp, #-12]
	mov	r1, #77
	strb	r1, [r2, r3]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #6
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #3
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3, #6]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L3
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r0, [fp, #-12]
	bl	Imprime
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	Crear
	str	r0, [fp, #-8]
	ldr	r0, .L5+16
	bl	printf
	ldr	r0, .L5+20
	bl	printf
	ldr	r0, .L5+24
	bl	puts
	bl	getch
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	"aleatorio=%d\000"
	.text
	.align	2
	.global	Crear
	.syntax unified
	.arm
	.fpu softvfp
	.type	Crear, %function
Crear:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L8
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	Inicializar
	bl	rand
	mov	r2, r0
	ldr	r3, .L19
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L19+4
	bl	printf
	ldr	r3, .L19+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r0, [fp, #-16]
	bl	mueve_mis
	b	.L10
.L11:
	bl	rand
	mov	r2, r0
	ldr	r3, .L19
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
.L10:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L11
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	mueve_com
	b	.L12
.L9:
	ldr	r3, .L19+12
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L15
	ldr	r3, .L19+16
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L14
	b	.L15
.L16:
	bl	rand
	mov	r2, r0
	ldr	r3, .L19
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
.L15:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L16
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	devuelve_com
	b	.L12
.L14:
	ldr	r3, [fp, #-16]
	mov	r2, #32
	strb	r2, [r3, #11]
	ldr	r3, [fp, #-16]
	mov	r2, #77
	strb	r2, [r3, #5]
.L12:
	ldr	r3, .L19+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L19+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	Evaluacion
	ldr	r0, [fp, #-16]
	bl	Imprime
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #5
	bne	.L17
	ldr	r3, [fp, #-16]
	b	.L7
.L17:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	Crear
	mov	r3, r0
	b	.L7
.L8:
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	1717986919
	.word	.LC7
	.word	Band
	.word	LADOB
	.word	LADOA
	.size	Crear, .-Crear
	.align	2
	.global	Inicializar
	.syntax unified
	.arm
	.fpu softvfp
	.type	Inicializar, %function
Inicializar:
	@ 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, #-20]
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r3, #77
	bne	.L22
	ldr	r3, .L26
	mov	r2, #0
	str	r2, [r3]
	b	.L23
.L22:
	ldr	r3, .L26
	mov	r2, #1
	str	r2, [r3]
.L23:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L24
.L25:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #6
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #6
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L24:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L25
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #12]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L27:
	.align	2
.L26:
	.word	Band
	.size	Inicializar, .-Inicializar
	.align	2
	.global	mueve_mis
	.syntax unified
	.arm
	.fpu softvfp
	.type	mueve_mis, %function
mueve_mis:
	@ 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, #77
	strb	r2, [r3, #11]
	ldr	r3, [fp, #-8]
	mov	r2, #32
	strb	r2, [r3, #5]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mueve_mis, .-mueve_mis
	.align	2
	.global	mueve_com
	.syntax unified
	.arm
	.fpu softvfp
	.type	mueve_com, %function
mueve_com:
	@ 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]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #6
	mov	r2, r1
	strb	r2, [r3]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mueve_com, .-mueve_com
	.align	2
	.global	devuelve_com
	.syntax unified
	.arm
	.fpu softvfp
	.type	devuelve_com, %function
devuelve_com:
	@ 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]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #6
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #6
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #32
	strb	r2, [r3, #11]
	ldr	r3, [fp, #-8]
	mov	r2, #77
	strb	r2, [r3, #5]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	devuelve_com, .-devuelve_com
	.align	2
	.global	Evaluacion
	.syntax unified
	.arm
	.fpu softvfp
	.type	Evaluacion, %function
Evaluacion:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L32
.L37:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L33
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L33:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #77
	bne	.L34
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L34:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L35
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L35:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #77
	bne	.L36
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L36:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L32:
	ldr	r3, [fp, #-32]
	cmp	r3, #4
	ble	.L37
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L38
	mov	r3, #1
	str	r3, [fp, #-12]
.L38:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L39
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L39
	mov	r3, #1
	str	r3, [fp, #-8]
.L39:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L40
.L42:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L41
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #12]
	add	r2, r3, #1
	ldr	r3, [fp, #-40]
	str	r2, [r3, #12]
.L41:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L40:
	ldr	r3, [fp, #-32]
	cmp	r3, #4
	ble	.L42
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L43
	ldr	r3, .L46
	mov	r2, #1
	str	r2, [r3]
.L43:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L45
	ldr	r3, .L46+4
	mov	r2, #1
	str	r2, [r3]
.L45:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L47:
	.align	2
.L46:
	.word	LADOA
	.word	LADOB
	.size	Evaluacion, .-Evaluacion
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012\011\011/////////////\000"
	.align	2
.LC9:
	.ascii	"\012\011\011//OPERACION//\000"
	.align	2
.LC10:
	.ascii	"\012\011\011/////////////\012\000"
	.align	2
.LC11:
	.ascii	"\011\011\000"
	.align	2
.LC12:
	.ascii	"/%c\000"
	.align	2
.LC13:
	.ascii	"\012\011\011************\000"
	.align	2
.LC14:
	.ascii	"\012\011\011----RIO-----\000"
	.align	2
.LC15:
	.ascii	"\012\000"
	.align	2
.LC16:
	.ascii	"\012**PRESIONE ENTER PARA CONTINUAR**\000"
	.text
	.align	2
	.global	Imprime
	.syntax unified
	.arm
	.fpu softvfp
	.type	Imprime, %function
Imprime:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L53
	bl	printf
	ldr	r0, .L53+4
	bl	printf
	ldr	r0, .L53+8
	bl	puts
	ldr	r0, .L53+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L49
.L50:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L53+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L49:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L50
	ldr	r0, .L53+20
	bl	printf
	ldr	r0, .L53+24
	bl	printf
	ldr	r0, .L53+20
	bl	puts
	ldr	r0, .L53+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L51
.L52:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L53+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L51:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L52
	ldr	r0, .L53+28
	bl	puts
	ldr	r0, .L53+32
	bl	puts
	bl	getch
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	Imprime, .-Imprime
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
