	.file	"756644.c"
	.intel_syntax noprefix
	.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
	mov	eax, 0
	call	Pente
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.string	"\n\302\277Desea cargar algun juego? [Si = 0/ No = 1]\n> "
.LC1:
	.string	"%d"
	.text
	.globl	Pente
	.type	Pente, @function
Pente:
.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, 432
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -424[rbp], 0
	lea	rax, -416[rbp]
	mov	rdi, rax
	call	clear_board
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -428[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -428[rbp]
	test	eax, eax
	jne	.L4
	lea	rax, -416[rbp]
	mov	rdi, rax
	call	print
.L4:
	lea	rdx, -424[rbp]
	lea	rax, -416[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	coordinates
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Pente, .-Pente
	.globl	clear_board
	.type	clear_board, @function
clear_board:
.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	DWORD PTR -8[rbp], 0
	jmp	.L7
.L10:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	add	DWORD PTR -4[rbp], 1
.L8:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L9
	add	DWORD PTR -8[rbp], 1
.L7:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L10
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	clear_board, .-clear_board
	.section	.rodata
.LC2:
	.string	"r"
.LC3:
	.string	"\n<file inexistente>"
.LC4:
	.string	"%d|%d|%d\n"
.LC5:
	.string	"\n<file leido>"
	.text
	.globl	load_plays
	.type	load_plays, @function
load_plays:
.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, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	file
	lea	rax, -48[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L14
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L11
.L15:
	lea	rsi, -60[rbp]
	lea	rcx, -64[rbp]
	lea	rdx, -68[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8, rsi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -60[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L14:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L11:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	load_plays, .-load_plays
	.section	.rodata
.LC6:
	.string	"w"
.LC7:
	.string	"juego"
	.text
	.globl	save_plays
	.type	save_plays, @function
save_plays:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, esi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -64[rbp], rax
.L18:
	cmp	QWORD PTR -64[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	save_plays, .-save_plays
	.section	.rodata
.LC8:
	.string	"\nTURNO Jugador %d\n"
.LC9:
	.string	"Coordenada x: "
.LC10:
	.string	"Coordenada y: "
.LC11:
	.string	"<Coordenada fuera de rango"
.LC12:
	.string	"\nContador filas 1 = %d\n"
.LC13:
	.string	"Comidas jugador 1 = %d\n\n"
.LC14:
	.string	"\nContador filas 2 = %d\n"
.LC15:
	.string	"hit_t jugador 2 = %d\n"
.LC16:
	.string	"<Lugar ya ocupado>"
	.text
	.globl	coordinates
	.type	coordinates, @function
coordinates:
.LFB11:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -64[rbp], 1
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], 0
.L35:
	mov	eax, DWORD PTR -64[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L22
	mov	eax, 2
	jmp	.L23
.L22:
	mov	eax, 1
.L23:
	mov	DWORD PTR -36[rbp], eax
.L33:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -68[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -72[rbp]
	test	eax, eax
	js	.L24
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, 9
	jg	.L24
	mov	eax, DWORD PTR -68[rbp]
	test	eax, eax
	js	.L24
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, 9
	jle	.L25
.L24:
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L25:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L26
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -36[rbp], eax
	je	.L26
	mov	edx, DWORD PTR -68[rbp]
	mov	esi, DWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	board
	cmp	DWORD PTR -36[rbp], 1
	jne	.L27
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	count
	mov	DWORD PTR -60[rbp], eax
	lea	rdx, -32[rbp]
	mov	ecx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	count_hit
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L28
	mov	eax, DWORD PTR -44[rbp]
	add	DWORD PTR -52[rbp], eax
	mov	rcx, QWORD PTR -88[rbp]
	lea	rax, -32[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	rdi, rax
	call	clear_hit
.L28:
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L27:
	cmp	DWORD PTR -36[rbp], 2
	jne	.L31
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	count
	mov	DWORD PTR -56[rbp], eax
	lea	rdx, -32[rbp]
	mov	ecx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	count_hit
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L30
	mov	eax, DWORD PTR -44[rbp]
	add	DWORD PTR -48[rbp], eax
	mov	rcx, QWORD PTR -88[rbp]
	lea	rax, -32[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	clear_hit
.L30:
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L31
.L26:
	lea	rdi, .LC16[rip]
	call	puts@PLT
.L31:
	mov	r8d, DWORD PTR -36[rbp]
	mov	edi, DWORD PTR -56[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	esi, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	enter_data
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	create_list
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	print
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -36[rbp], eax
	je	.L32
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -40[rbp], eax
	je	.L33
.L32:
	add	DWORD PTR -64[rbp], 1
	cmp	DWORD PTR -60[rbp], 2
	je	.L34
	cmp	DWORD PTR -60[rbp], -1
	je	.L34
	cmp	DWORD PTR -56[rbp], 2
	je	.L34
	cmp	DWORD PTR -56[rbp], -1
	jne	.L35
.L34:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	erase_hits
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	erase_game
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	coordinates, .-coordinates
	.globl	board
	.type	board, @function
board:
.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rcx+rax*4], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	board, .-board
	.globl	enter_data
	.type	enter_data, @function
enter_data:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	DWORD PTR -44[rbp], r9d
	mov	edi, 48
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 40[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L40
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 32[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR 40[rax], rdx
.L40:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	enter_data, .-enter_data
	.globl	create_list
	.type	create_list, @function
create_list:
.LFB14:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L42
.L46:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L43
.L45:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L44
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
.L44:
	add	DWORD PTR -20[rbp], 1
.L43:
	cmp	DWORD PTR -20[rbp], 9
	jle	.L45
	add	DWORD PTR -24[rbp], 1
.L42:
	cmp	DWORD PTR -24[rbp], 9
	jle	.L46
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	create_list, .-create_list
	.globl	count
	.type	count, @function
count:
.LFB15:
	.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
	mov	DWORD PTR -8[rbp], 0
	jmp	.L49
.L54:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L50
.L53:
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	get_moves
	cmp	eax, -1
	jne	.L51
	mov	eax, -1
	jmp	.L52
.L51:
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	get_moves
	add	DWORD PTR -4[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L50:
	cmp	DWORD PTR -12[rbp], 9
	jle	.L53
	add	DWORD PTR -8[rbp], 1
.L49:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L54
	mov	eax, DWORD PTR -4[rbp]
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	count, .-count
	.globl	follow
	.type	follow, @function
follow:
.LFB16:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	DWORD PTR -24[rbp], r8d
	mov	DWORD PTR -28[rbp], r9d
	cmp	DWORD PTR -16[rbp], 0
	js	.L56
	cmp	DWORD PTR -16[rbp], 9
	jg	.L56
	cmp	DWORD PTR -20[rbp], 0
	js	.L56
	cmp	DWORD PTR -20[rbp], 9
	jle	.L57
.L56:
	mov	eax, DWORD PTR 16[rbp]
	jmp	.L58
.L57:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L59
	cmp	DWORD PTR 16[rbp], 5
	jne	.L60
.L59:
	mov	eax, DWORD PTR 16[rbp]
	jmp	.L58
.L60:
	mov	eax, DWORD PTR 16[rbp]
	lea	edi, 1[rax]
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	edx, eax
	mov	r9d, DWORD PTR -28[rbp]
	mov	r8d, DWORD PTR -24[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	follow
	add	rsp, 16
	mov	DWORD PTR 16[rbp], eax
	mov	eax, DWORD PTR 16[rbp]
.L58:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	follow, .-follow
	.globl	get_moves
	.type	get_moves, @function
get_moves:
.LFB17:
	.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	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 1
	je	.L62
	cmp	DWORD PTR -8[rbp], 2
	je	.L62
	mov	eax, 0
	jmp	.L63
.L62:
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 0
	mov	r8d, 1
	mov	rdi, rax
	call	follow
	add	rsp, 16
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 4
	jne	.L64
	add	DWORD PTR -12[rbp], 1
.L64:
	cmp	DWORD PTR -4[rbp], 5
	jne	.L65
	mov	eax, -1
	jmp	.L63
.L65:
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 1
	mov	r8d, 1
	mov	rdi, rax
	call	follow
	add	rsp, 16
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 4
	jne	.L66
	add	DWORD PTR -12[rbp], 1
.L66:
	cmp	DWORD PTR -4[rbp], 5
	jne	.L67
	mov	eax, -1
	jmp	.L63
.L67:
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 1
	mov	r8d, 0
	mov	rdi, rax
	call	follow
	add	rsp, 16
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 4
	jne	.L68
	add	DWORD PTR -12[rbp], 1
.L68:
	cmp	DWORD PTR -4[rbp], 5
	jne	.L69
	mov	eax, -1
	jmp	.L63
.L69:
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 1
	mov	r8d, -1
	mov	rdi, rax
	call	follow
	add	rsp, 16
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 4
	jne	.L70
	add	DWORD PTR -12[rbp], 1
.L70:
	cmp	DWORD PTR -4[rbp], 5
	jne	.L71
	mov	eax, -1
	jmp	.L63
.L71:
	mov	eax, DWORD PTR -12[rbp]
.L63:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	get_moves, .-get_moves
	.globl	count_hit
	.type	count_hit, @function
count_hit:
.LFB18:
	.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	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -44[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L73
	mov	eax, 2
	jmp	.L74
.L73:
	mov	eax, 1
.L74:
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L75
.L79:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L76
.L78:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -8[rbp], eax
	jne	.L77
	mov	r8, QWORD PTR -56[rbp]
	mov	edi, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r9, r8
	mov	r8d, edi
	mov	rdi, rax
	call	get_hits
	add	DWORD PTR -20[rbp], eax
.L77:
	add	DWORD PTR -16[rbp], 1
.L76:
	cmp	DWORD PTR -16[rbp], 9
	jle	.L78
	add	DWORD PTR -12[rbp], 1
.L75:
	cmp	DWORD PTR -12[rbp], 9
	jle	.L79
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	count_hit, .-count_hit
	.globl	get_hits
	.type	get_hits, @function
get_hits:
.LFB19:
	.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	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	QWORD PTR -48[rbp], r9
	mov	DWORD PTR -8[rbp], 0
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	push	0
	push	-1
	mov	r9d, 0
	mov	r8d, edi
	mov	rdi, rax
	call	follow_hits
	add	rsp, 32
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L82
	add	DWORD PTR -8[rbp], 1
.L82:
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	push	0
	push	-1
	mov	r9d, 1
	mov	r8d, edi
	mov	rdi, rax
	call	follow_hits
	add	rsp, 32
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L83
	add	DWORD PTR -8[rbp], 1
.L83:
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	push	0
	push	0
	mov	r9d, 1
	mov	r8d, edi
	mov	rdi, rax
	call	follow_hits
	add	rsp, 32
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L84
	add	DWORD PTR -8[rbp], 1
.L84:
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	push	0
	push	1
	mov	r9d, 1
	mov	r8d, edi
	mov	rdi, rax
	call	follow_hits
	add	rsp, 32
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L85
	add	DWORD PTR -8[rbp], 1
.L85:
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	push	0
	push	1
	mov	r9d, 0
	mov	r8d, edi
	mov	rdi, rax
	call	follow_hits
	add	rsp, 32
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L86
	add	DWORD PTR -8[rbp], 1
.L86:
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	push	0
	push	1
	mov	r9d, -1
	mov	r8d, edi
	mov	rdi, rax
	call	follow_hits
	add	rsp, 32
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L87
	add	DWORD PTR -8[rbp], 1
.L87:
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	push	0
	push	0
	mov	r9d, -1
	mov	r8d, edi
	mov	rdi, rax
	call	follow_hits
	add	rsp, 32
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L88
	add	DWORD PTR -8[rbp], 1
.L88:
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	push	0
	push	-1
	mov	r9d, -1
	mov	r8d, edi
	mov	rdi, rax
	call	follow_hits
	add	rsp, 32
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L89
	add	DWORD PTR -8[rbp], 1
.L89:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	get_hits, .-get_hits
	.section	.rodata
	.align 8
.LC17:
	.string	"Llegando al nivel %d, pente[%d][%d]\n"
	.text
	.globl	follow_hits
	.type	follow_hits, @function
follow_hits:
.LFB20:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	DWORD PTR -24[rbp], r8d
	mov	DWORD PTR -28[rbp], r9d
	cmp	DWORD PTR -20[rbp], 0
	js	.L92
	cmp	DWORD PTR -20[rbp], 9
	jg	.L92
	cmp	DWORD PTR -24[rbp], 0
	js	.L92
	cmp	DWORD PTR -24[rbp], 9
	jle	.L93
.L92:
	mov	eax, DWORD PTR 24[rbp]
	jmp	.L94
.L93:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -16[rbp], eax
	je	.L95
	mov	eax, DWORD PTR 24[rbp]
	jmp	.L94
.L95:
	cmp	DWORD PTR 24[rbp], 1
	jne	.L96
	mov	eax, 1
	jmp	.L94
.L96:
	cmp	DWORD PTR 24[rbp], 0
	jne	.L97
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR 16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -28[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L98
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, ecx
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L98
	mov	eax, DWORD PTR 16[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, ecx
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L98
	mov	rcx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, rax
	call	enter_hit
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR 24[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR 24[rbp]
	add	eax, 1
	jmp	.L94
.L98:
	mov	eax, 0
	jmp	.L94
.L97:
	mov	eax, DWORD PTR 24[rbp]
	lea	edi, 1[rax]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rbp]
	lea	r10d, [rdx+rax]
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, [rdx+rax]
	mov	r8d, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	QWORD PTR 32[rbp]
	push	rdi
	mov	edi, DWORD PTR 16[rbp]
	push	rdi
	mov	r9d, r8d
	mov	r8d, r10d
	mov	rdi, rax
	call	follow_hits
	add	rsp, 32
	mov	DWORD PTR 24[rbp], eax
	mov	eax, DWORD PTR 24[rbp]
.L94:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	follow_hits, .-follow_hits
	.globl	enter_hit
	.type	enter_hit, @function
enter_hit:
.LFB21:
	.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	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	enter_hit, .-enter_hit
	.globl	clear_hit
	.type	clear_hit, @function
clear_hit:
.LFB22:
	.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L101
.L102:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L101:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L102
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	clear_hit, .-clear_hit
	.globl	erase_hits
	.type	erase_hits, @function
erase_hits:
.LFB23:
	.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	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L104
.L105:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L104:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L105
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	erase_hits, .-erase_hits
	.globl	erase_game
	.type	erase_game, @function
erase_game:
.LFB24:
	.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	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L107
.L108:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 24
	mov	rdi, rax
	call	erase_plays
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L107:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L108
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	erase_game, .-erase_game
	.globl	erase_plays
	.type	erase_plays, @function
erase_plays:
.LFB25:
	.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	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L110
.L111:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L110:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L111
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	erase_plays, .-erase_plays
	.globl	undo
	.type	undo, @function
undo:
.LFB26:
	.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
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	undo, .-undo
	.globl	redo
	.type	redo, @function
redo:
.LFB27:
	.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
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	redo, .-redo
	.globl	clear_history
	.type	clear_history, @function
clear_history:
.LFB28:
	.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	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L115
.L116:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L115:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L116
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 40[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	clear_history, .-clear_history
	.section	.rodata
.LC18:
	.string	"    "
.LC19:
	.string	" %d "
.LC20:
	.string	" %d |"
.LC21:
	.string	" %d|"
	.text
	.globl	print
	.type	print, @function
print:
.LFB29:
	.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
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L118
.L119:
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L118:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L119
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L120
.L123:
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L121
.L122:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L121:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L122
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L120:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L123
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	print, .-print
	.section	.rodata
.LC22:
	.string	"\nname archivo> "
.LC23:
	.string	"\n"
	.text
	.globl	file
	.type	file, @function
file:
.LFB30:
	.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
	call	getchar@PLT
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 29
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1701013806
	mov	BYTE PTR 4[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strtok@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	file, .-file
	.section	.rodata
	.align 8
.LC24:
	.string	"\n\n\t<Pulsee ENTER para continuar...>"
.LC25:
	.string	"clear"
	.text
	.globl	pause
	.type	pause, @function
pause:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC24[rip]
	call	puts@PLT
	nop
.L126:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L126
	lea	rdi, .LC25[rip]
	call	system@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	pause, .-pause
	.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	"756644.c"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	Pente
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\302\277Desea cargar algun juego? [Si = 0/ No ="
	.ascii	" 1]\012> \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Pente
	.syntax unified
	.arm
	.fpu softvfp
	.type	Pente, %function
Pente:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-412]
	sub	r3, fp, #408
	mov	r0, r3
	bl	clear_board
	ldr	r0, .L6+4
	bl	printf
	sub	r3, fp, #416
	mov	r1, r3
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bne	.L4
	sub	r3, fp, #408
	mov	r0, r3
	bl	print
.L4:
	sub	r2, fp, #412
	sub	r3, fp, #408
	mov	r1, r2
	mov	r0, r3
	bl	coordinates
	nop
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	Pente, .-Pente
	.align	2
	.global	clear_board
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear_board, %function
clear_board:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L9
.L12:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L11
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L12
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	clear_board, .-clear_board
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"\012<file inexistente>\000"
	.align	2
.LC5:
	.ascii	"%d|%d|%d\012\000"
	.align	2
.LC6:
	.ascii	"\012<file leido>\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	load_plays
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_plays, %function
load_plays:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #40
	mov	r0, r3
	bl	file
	sub	r3, fp, #40
	ldr	r1, .L19+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L19+8
	bl	puts
	b	.L13
.L17:
	sub	r1, fp, #52
	sub	r2, fp, #56
	sub	r3, fp, #48
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L19+12
	ldr	r0, [fp, #-44]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-52]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-48]
	str	r1, [r3, r2, lsl #2]
.L16:
	ldr	r0, [fp, #-44]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r0, [fp, #-44]
	bl	fclose
	ldr	r0, .L19+16
	bl	puts
.L13:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC7
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	load_plays, .-load_plays
	.section	.rodata
	.align	2
.LC8:
	.ascii	"w\000"
	.align	2
.LC9:
	.ascii	"juego\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	save_plays
	.syntax unified
	.arm
	.fpu softvfp
	.type	save_plays, %function
save_plays:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-48]
	ldr	r1, .L25+4
	ldr	r0, .L25+8
	bl	fopen
	str	r0, [fp, #-44]
	b	.L22
.L23:
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r1, [r3]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L25+12
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-48]
.L22:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L23
	ldr	r0, [fp, #-44]
	bl	fclose
	nop
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC10
	.word	.LC8
	.word	.LC9
	.word	.LC5
	.size	save_plays, .-save_plays
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\012TURNO Jugador %d\012\000"
	.align	2
.LC12:
	.ascii	"Coordenada x: \000"
	.align	2
.LC13:
	.ascii	"Coordenada y: \000"
	.align	2
.LC14:
	.ascii	"<Coordenada fuera de rango\000"
	.align	2
.LC15:
	.ascii	"\012Contador filas 1 = %d\012\000"
	.align	2
.LC16:
	.ascii	"Comidas jugador 1 = %d\012\012\000"
	.align	2
.LC17:
	.ascii	"\012Contador filas 2 = %d\012\000"
	.align	2
.LC18:
	.ascii	"hit_t jugador 2 = %d\012\000"
	.align	2
.LC19:
	.ascii	"<Lugar ya ocupado>\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	coordinates
	.syntax unified
	.arm
	.fpu softvfp
	.type	coordinates, %function
coordinates:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #1
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
.L41:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L28
	mov	r3, #2
	b	.L29
.L28:
	mov	r3, #1
.L29:
	str	r3, [fp, #-20]
.L39:
	ldr	r1, [fp, #-20]
	ldr	r0, .L43+4
	bl	printf
	ldr	r0, .L43+8
	bl	printf
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L43+12
	bl	__isoc99_scanf
	ldr	r0, .L43+16
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L43+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	blt	.L30
	ldr	r3, [fp, #-56]
	cmp	r3, #9
	bgt	.L30
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	blt	.L30
	ldr	r3, [fp, #-52]
	cmp	r3, #9
	ble	.L31
.L30:
	ldr	r0, .L43+20
	bl	puts
.L31:
	ldr	r3, [fp, #-52]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-52]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L32
	ldr	r1, [fp, #-56]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-20]
	ldr	r0, [fp, #-64]
	bl	board
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L33
	mov	r1, #1
	ldr	r0, [fp, #-64]
	bl	count
	str	r0, [fp, #-44]
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-64]
	bl	count_hit
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L34
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	sub	r3, fp, #60
	mov	r2, #2
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	clear_hit
.L34:
	ldr	r1, [fp, #-44]
	ldr	r0, .L43+24
	bl	printf
	ldr	r1, [fp, #-36]
	ldr	r0, .L43+28
	bl	printf
.L33:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L37
	mov	r1, #2
	ldr	r0, [fp, #-64]
	bl	count
	str	r0, [fp, #-40]
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-64]
	bl	count_hit
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L36
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	sub	r3, fp, #60
	mov	r2, #1
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	clear_hit
.L36:
	ldr	r1, [fp, #-40]
	ldr	r0, .L43+32
	bl	printf
	ldr	r1, [fp, #-32]
	ldr	r0, .L43+36
	bl	printf
	b	.L37
.L32:
	ldr	r0, .L43+40
	bl	puts
.L37:
	ldr	r3, [fp, #-20]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-40]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-68]
	bl	enter_data
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	add	r2, r3, #20
	ldr	r3, [fp, #-68]
	ldr	r4, [r3]
	mov	r1, r2
	ldr	r0, [fp, #-64]
	bl	create_list
	mov	r3, r0
	str	r3, [r4, #24]
	ldr	r0, [fp, #-64]
	bl	print
	ldr	r3, [fp, #-52]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L38
	ldr	r3, [fp, #-52]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	beq	.L39
.L38:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	beq	.L40
	ldr	r3, [fp, #-44]
	cmn	r3, #1
	beq	.L40
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	beq	.L40
	ldr	r3, [fp, #-40]
	cmn	r3, #1
	bne	.L41
.L40:
	sub	r3, fp, #60
	mov	r0, r3
	bl	erase_hits
	ldr	r0, [fp, #-68]
	bl	erase_game
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC20
	.word	.LC11
	.word	.LC12
	.word	.LC1
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	coordinates, .-coordinates
	.align	2
	.global	board
	.syntax unified
	.arm
	.fpu softvfp
	.type	board, %function
board:
	@ 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	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	str	r1, [r3, r2, lsl #2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	board, .-board
	.align	2
	.global	enter_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	enter_data, %function
enter_data:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r0, #36
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #4]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	str	r2, [r3, #32]
.L48:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	enter_data, .-enter_data
	.align	2
	.global	create_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_list, %function
create_list:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L50
.L54:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L51
.L53:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L52
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-28]
	str	r2, [r3]
.L52:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L51:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L53
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L50:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L54
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	create_list, .-create_list
	.align	2
	.global	count
	.syntax unified
	.arm
	.fpu softvfp
	.type	count, %function
count:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L57
.L62:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L58
.L61:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	get_moves
	mov	r3, r0
	cmn	r3, #1
	bne	.L59
	mvn	r3, #0
	b	.L60
.L59:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	get_moves
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L58:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L61
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L57:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L62
	ldr	r3, [fp, #-8]
.L60:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	count, .-count
	.align	2
	.global	follow
	.syntax unified
	.arm
	.fpu softvfp
	.type	follow, %function
follow:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L64
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	bgt	.L64
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L64
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	ble	.L65
.L64:
	ldr	r3, [fp, #12]
	b	.L66
.L65:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L67
	ldr	r3, [fp, #12]
	cmp	r3, #5
	bne	.L68
.L67:
	ldr	r3, [fp, #12]
	b	.L66
.L68:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #4]
	add	r1, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #8]
	add	r2, r2, r3
	ldr	r3, [fp, #12]
	add	r3, r3, #1
	str	r3, [sp, #8]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	follow
	str	r0, [fp, #12]
	ldr	r3, [fp, #12]
.L66:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	follow, .-follow
	.align	2
	.global	get_moves
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_moves, %function
get_moves:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L70
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	beq	.L70
	mov	r3, #0
	b	.L71
.L70:
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	follow
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L72
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L72:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bne	.L73
	mvn	r3, #0
	b	.L71
.L73:
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	follow
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L74
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L74:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bne	.L75
	mvn	r3, #0
	b	.L71
.L75:
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	follow
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L76
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L76:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bne	.L77
	mvn	r3, #0
	b	.L71
.L77:
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	follow
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L78
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L78:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bne	.L79
	mvn	r3, #0
	b	.L71
.L79:
	ldr	r3, [fp, #-16]
.L71:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_moves, .-get_moves
	.align	2
	.global	count_hit
	.syntax unified
	.arm
	.fpu softvfp
	.type	count_hit, %function
count_hit:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L81
	mov	r3, #2
	b	.L82
.L81:
	mov	r3, #1
.L82:
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L83
.L87:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L84
.L86:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L85
	ldr	r3, [fp, #-40]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-32]
	bl	get_hits
	mov	r2, r0
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	str	r3, [fp, #-24]
.L85:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L84:
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	ble	.L86
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L83:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L87
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	count_hit, .-count_hit
	.align	2
	.global	get_hits
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_hits, %function
get_hits:
	@ args = 8, 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #8]
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mvn	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	follow_hits
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L90
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L90:
	ldr	r3, [fp, #8]
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mvn	r3, #0
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	follow_hits
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L91
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L91:
	ldr	r3, [fp, #8]
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	follow_hits
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L92
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L92:
	ldr	r3, [fp, #8]
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #1
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	follow_hits
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L93
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L93:
	ldr	r3, [fp, #8]
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #1
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	follow_hits
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L94
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L94:
	ldr	r3, [fp, #8]
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #1
	str	r3, [sp, #8]
	mvn	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	follow_hits
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L95
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L95:
	ldr	r3, [fp, #8]
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mvn	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	follow_hits
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L96
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L96:
	ldr	r3, [fp, #8]
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mvn	r3, #0
	str	r3, [sp, #8]
	mvn	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	follow_hits
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L97
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L97:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_hits, .-get_hits
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Llegando al nivel %d, pente[%d][%d]\012\000"
	.text
	.align	2
	.global	follow_hits
	.syntax unified
	.arm
	.fpu softvfp
	.type	follow_hits, %function
follow_hits:
	@ args = 20, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L100
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	bgt	.L100
	ldr	r3, [fp, #4]
	cmp	r3, #0
	blt	.L100
	ldr	r3, [fp, #4]
	cmp	r3, #9
	ble	.L101
.L100:
	ldr	r3, [fp, #16]
	b	.L102
.L101:
	ldr	r2, [fp, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L103
	ldr	r3, [fp, #16]
	b	.L102
.L103:
	ldr	r3, [fp, #16]
	cmp	r3, #1
	bne	.L104
	mov	r3, #1
	b	.L102
.L104:
	ldr	r3, [fp, #16]
	cmp	r3, #0
	bne	.L105
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #12]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #8]
	sub	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L106
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #8]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L106
	ldr	r3, [fp, #12]
	lsl	r2, r3, #1
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #8]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-20]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L106
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #4]
	ldr	r0, [fp, #20]
	bl	enter_hit
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #16]
	ldr	r0, .L107
	bl	printf
	ldr	r3, [fp, #16]
	add	r3, r3, #1
	b	.L102
.L106:
	mov	r3, #0
	b	.L102
.L105:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #8]
	add	r0, r2, r3
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #16]
	add	r2, r2, #1
	ldr	r1, [fp, #20]
	str	r1, [sp, #16]
	str	r2, [sp, #12]
	ldr	r2, [fp, #12]
	str	r2, [sp, #8]
	ldr	r2, [fp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	follow_hits
	str	r0, [fp, #16]
	ldr	r3, [fp, #16]
.L102:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L108:
	.align	2
.L107:
	.word	.LC21
	.size	follow_hits, .-follow_hits
	.align	2
	.global	enter_hit
	.syntax unified
	.arm
	.fpu softvfp
	.type	enter_hit, %function
enter_hit:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	enter_hit, .-enter_hit
	.align	2
	.global	clear_hit
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear_hit, %function
clear_hit:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L111
.L112:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L111:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L112
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	clear_hit, .-clear_hit
	.align	2
	.global	erase_hits
	.syntax unified
	.arm
	.fpu softvfp
	.type	erase_hits, %function
erase_hits:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L114
.L115:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L114:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L115
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	erase_hits, .-erase_hits
	.align	2
	.global	erase_game
	.syntax unified
	.arm
	.fpu softvfp
	.type	erase_game, %function
erase_game:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L117
.L118:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r3, r3, #24
	mov	r0, r3
	bl	erase_plays
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L117:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L118
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	erase_game, .-erase_game
	.align	2
	.global	erase_plays
	.syntax unified
	.arm
	.fpu softvfp
	.type	erase_plays, %function
erase_plays:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L120
.L121:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L120:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L121
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	erase_plays, .-erase_plays
	.align	2
	.global	undo
	.syntax unified
	.arm
	.fpu softvfp
	.type	undo, %function
undo:
	@ 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]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	undo, .-undo
	.align	2
	.global	redo
	.syntax unified
	.arm
	.fpu softvfp
	.type	redo, %function
redo:
	@ 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]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	redo, .-redo
	.align	2
	.global	clear_history
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear_history, %function
clear_history:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-12]
	b	.L125
.L126:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L125:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L126
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #32]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	clear_history, .-clear_history
	.section	.rodata
	.align	2
.LC22:
	.ascii	"    \000"
	.align	2
.LC23:
	.ascii	" %d \000"
	.align	2
.LC24:
	.ascii	" %d |\000"
	.align	2
.LC25:
	.ascii	" %d|\000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ 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]
	ldr	r0, .L134
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L128
.L129:
	ldr	r1, [fp, #-12]
	ldr	r0, .L134+4
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L128:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L129
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L130
.L133:
	ldr	r1, [fp, #-12]
	ldr	r0, .L134+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L131
.L132:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L134+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L131:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L132
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L130:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L133
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L135:
	.align	2
.L134:
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	print, .-print
	.section	.rodata
	.align	2
.LC26:
	.ascii	"\012name archivo> \000"
	.align	2
.LC27:
	.ascii	".ice\000"
	.align	2
.LC28:
	.ascii	"\012\000"
	.text
	.align	2
	.global	file
	.syntax unified
	.arm
	.fpu softvfp
	.type	file, %function
file:
	@ 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]
	bl	getchar
	ldr	r0, .L137
	bl	printf
	ldr	r3, .L137+4
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #29
	ldr	r0, [fp, #-8]
	bl	fgets
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, .L137+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r1, .L137+12
	ldr	r0, [fp, #-8]
	bl	strtok
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L138:
	.align	2
.L137:
	.word	.LC26
	.word	stdin
	.word	.LC27
	.word	.LC28
	.size	file, .-file
	.section	.rodata
	.align	2
.LC29:
	.ascii	"\012\012\011<Pulsee ENTER para continuar...>\000"
	.align	2
.LC30:
	.ascii	"clear\000"
	.text
	.align	2
	.global	pause
	.syntax unified
	.arm
	.fpu softvfp
	.type	pause, %function
pause:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L141
	bl	puts
	nop
.L140:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L140
	ldr	r0, .L141+4
	bl	system
	nop
	pop	{fp, pc}
.L142:
	.align	2
.L141:
	.word	.LC29
	.word	.LC30
	.size	pause, .-pause
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
