	.file	"935757.c"
	.intel_syntax noprefix
	.text
	.globl	i
	.bss
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Your terminal does not support color"
	.align 8
.LC1:
	.ascii	"\t           oooooooooo                                     "
	.ascii	"   \n\t           888    888  ooooooo    ooooooo    oooooooo"
	.ascii	"8   "
	.string	"    \n\t           888oooo88 888     888 888   888  888    88o       \n\t           888       888     888 888   888   888oo888o       \n\t          o888o        88ooo88  o888o o888o 888     888      \n\t                                             888ooo888     \n\n"
	.align 8
.LC2:
	.string	"Bienvenido a mi intento de hacer el Pong!"
	.align 8
.LC3:
	.string	"Las instrucciones son simples, estas son:"
	.align 8
.LC4:
	.string	"Jugador 1, tus controles son las teclas W para moverta a arriba y S para abajo."
	.align 8
.LC5:
	.string	"Jugador 2, tus controles son las flechas hacia arriba y hacia abajo para tener esos movimientos respectivamente."
.LC6:
	.string	"Pulsa P para pausa."
	.align 8
.LC7:
	.string	"Pulsa 1, 2 o 3 durante la partida para escoger la dificultad (de menor a mayor)."
.LC8:
	.string	"Pulsa ESC para salir."
	.align 8
.LC9:
	.string	"Pulsa cualquier tecla para empezar!"
	.text
	.globl	instrucciones
	.type	instrucciones, @function
instrucciones:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	call	initscr@PLT
	call	has_colors@PLT
	xor	eax, 1
	test	al, al
	je	.L2
	call	endwin@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	call	start_color@PLT
	mov	edx, 2
	mov	esi, 3
	mov	edi, 1
	call	init_pair@PLT
	mov	edx, 7
	mov	esi, 0
	mov	edi, 2
	call	init_pair@PLT
	mov	edx, 4
	mov	esi, 7
	mov	edi, 3
	call	init_pair@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L4
.L3:
	mov	eax, -1
.L4:
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L6
.L5:
	mov	eax, -1
.L6:
	mov	DWORD PTR -12[rbp], eax
	mov	esi, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 768
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 45
	mov	ecx, 45
	mov	edx, 124
	mov	esi, 124
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	lea	rdx, .LC1[rip]
	mov	esi, 0
	mov	edi, 4
	mov	eax, 0
	call	mvprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC2[rip]
	mov	edx, 10
	mov	esi, 17
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC3[rip]
	mov	edx, 10
	mov	esi, 18
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC4[rip]
	mov	edx, 10
	mov	esi, 19
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC5[rip]
	mov	edx, 10
	mov	esi, 20
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC6[rip]
	mov	edx, 10
	mov	esi, 21
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC7[rip]
	mov	edx, 10
	mov	esi, 21
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC8[rip]
	mov	edx, 10
	mov	esi, 22
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC9[rip]
	mov	edx, 10
	mov	esi, 23
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	call	endwin@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	instrucciones, .-instrucciones
	.section	.rodata
.LC10:
	.string	"%i | %i"
.LC11:
	.string	"o"
.LC12:
	.string	"#"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	eax, 0
	call	instrucciones
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 1
	mov	BYTE PTR -41[rbp], 0
	call	initscr@PLT
	call	start_color@PLT
	mov	edx, 0
	mov	esi, 4
	mov	edi, 1
	call	init_pair@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	call	noecho@PLT
	mov	edi, 0
	call	curs_set@PLT
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	add	eax, 1
	jmp	.L9
.L8:
	mov	eax, -1
.L9:
	mov	WORD PTR -30[rbp], ax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	add	eax, 1
	jmp	.L11
.L10:
	mov	eax, -1
.L11:
	mov	WORD PTR -32[rbp], ax
	movzx	eax, WORD PTR -32[rbp]
	sub	eax, 2
	mov	WORD PTR -24[rbp], ax
	movzx	eax, WORD PTR -30[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	mov	WORD PTR -22[rbp], ax
	mov	WORD PTR -20[rbp], 0
	mov	BYTE PTR -18[rbp], 0
	mov	BYTE PTR -17[rbp], 0
	mov	WORD PTR -16[rbp], 1
	movzx	eax, WORD PTR -30[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	mov	WORD PTR -14[rbp], ax
	mov	WORD PTR -12[rbp], 0
	mov	BYTE PTR -10[rbp], 0
	mov	BYTE PTR -9[rbp], 0
	movzx	eax, WORD PTR -32[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	mov	WORD PTR -8[rbp], ax
	movzx	eax, WORD PTR -30[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	mov	WORD PTR -6[rbp], ax
	mov	WORD PTR -4[rbp], 0
	mov	BYTE PTR -2[rbp], 0
	mov	BYTE PTR -1[rbp], 0
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	nodelay@PLT
	jmp	.L12
.L47:
	add	DWORD PTR -40[rbp], 1
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L13
	movzx	eax, WORD PTR -6[rbp]
	cwde
	movzx	edx, WORD PTR -30[rbp]
	movsx	edx, dx
	sub	edx, 1
	cmp	eax, edx
	je	.L14
	movzx	eax, WORD PTR -6[rbp]
	cmp	ax, 1
	jne	.L15
.L14:
	movzx	eax, BYTE PTR -1[rbp]
	movzx	eax, al
	test	eax, eax
	setne	al
	xor	eax, 1
	movzx	eax, al
	and	eax, 1
	mov	BYTE PTR -1[rbp], al
.L15:
	movzx	eax, WORD PTR -8[rbp]
	cwde
	movzx	edx, WORD PTR -32[rbp]
	movsx	edx, dx
	sub	edx, 2
	cmp	eax, edx
	jge	.L16
	movzx	eax, WORD PTR -8[rbp]
	cmp	ax, 2
	jg	.L17
.L16:
	movzx	eax, BYTE PTR -2[rbp]
	movzx	eax, al
	test	eax, eax
	setne	al
	xor	eax, 1
	movzx	eax, al
	and	eax, 1
	mov	BYTE PTR -2[rbp], al
	movzx	eax, WORD PTR -6[rbp]
	cwde
	movzx	edx, WORD PTR -22[rbp]
	movsx	edx, dx
	sub	edx, 1
	cmp	eax, edx
	je	.L18
	movzx	eax, WORD PTR -6[rbp]
	cwde
	movzx	edx, WORD PTR -14[rbp]
	movsx	edx, dx
	sub	edx, 1
	cmp	eax, edx
	jne	.L19
.L18:
	mov	BYTE PTR -1[rbp], 0
	jmp	.L17
.L19:
	movzx	eax, WORD PTR -6[rbp]
	cwde
	movzx	edx, WORD PTR -22[rbp]
	movsx	edx, dx
	add	edx, 1
	cmp	eax, edx
	je	.L20
	movzx	eax, WORD PTR -6[rbp]
	cwde
	movzx	edx, WORD PTR -14[rbp]
	movsx	edx, dx
	add	edx, 1
	cmp	eax, edx
	jne	.L21
.L20:
	mov	BYTE PTR -1[rbp], 1
	jmp	.L17
.L21:
	movzx	edx, WORD PTR -6[rbp]
	movzx	eax, WORD PTR -22[rbp]
	cmp	dx, ax
	je	.L17
	movzx	edx, WORD PTR -6[rbp]
	movzx	eax, WORD PTR -14[rbp]
	cmp	dx, ax
	je	.L17
	movzx	eax, WORD PTR -8[rbp]
	cwde
	movzx	edx, WORD PTR -32[rbp]
	movsx	edx, dx
	sub	edx, 2
	cmp	eax, edx
	jl	.L22
	movzx	eax, WORD PTR -20[rbp]
	add	eax, 1
	mov	WORD PTR -20[rbp], ax
	jmp	.L23
.L22:
	movzx	eax, WORD PTR -12[rbp]
	add	eax, 1
	mov	WORD PTR -12[rbp], ax
.L23:
	movzx	eax, WORD PTR -32[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	mov	WORD PTR -8[rbp], ax
	movzx	eax, WORD PTR -30[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	mov	WORD PTR -6[rbp], ax
.L17:
	movzx	eax, BYTE PTR -2[rbp]
	test	al, al
	je	.L24
	movzx	eax, WORD PTR -8[rbp]
	add	eax, 1
	jmp	.L25
.L24:
	movzx	eax, WORD PTR -8[rbp]
	sub	eax, 1
.L25:
	mov	WORD PTR -8[rbp], ax
	movzx	eax, BYTE PTR -1[rbp]
	test	al, al
	je	.L26
	movzx	eax, WORD PTR -6[rbp]
	add	eax, 1
	jmp	.L27
.L26:
	movzx	eax, WORD PTR -6[rbp]
	sub	eax, 1
.L27:
	mov	WORD PTR -6[rbp], ax
	movzx	eax, WORD PTR -22[rbp]
	cmp	ax, 1
	jg	.L28
	movzx	eax, WORD PTR -30[rbp]
	sub	eax, 2
	mov	WORD PTR -22[rbp], ax
.L28:
	movzx	eax, WORD PTR -22[rbp]
	cwde
	movzx	edx, WORD PTR -30[rbp]
	movsx	edx, dx
	sub	edx, 1
	cmp	eax, edx
	jl	.L29
	mov	WORD PTR -22[rbp], 2
.L29:
	movzx	eax, WORD PTR -14[rbp]
	cmp	ax, 1
	jg	.L30
	movzx	eax, WORD PTR -30[rbp]
	sub	eax, 2
	mov	WORD PTR -14[rbp], ax
.L30:
	movzx	eax, WORD PTR -14[rbp]
	cwde
	movzx	edx, WORD PTR -30[rbp]
	movsx	edx, dx
	sub	edx, 1
	cmp	eax, edx
	jl	.L13
	mov	WORD PTR -14[rbp], 2
.L13:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	cmp	eax, 259
	je	.L31
	cmp	eax, 259
	jg	.L32
	cmp	eax, 258
	je	.L33
	cmp	eax, 258
	jg	.L32
	cmp	eax, 119
	je	.L34
	cmp	eax, 119
	jg	.L32
	cmp	eax, 115
	je	.L35
	cmp	eax, 115
	jg	.L32
	cmp	eax, 112
	je	.L36
	cmp	eax, 112
	jg	.L32
	cmp	eax, 51
	je	.L37
	cmp	eax, 51
	jg	.L32
	cmp	eax, 50
	je	.L38
	cmp	eax, 50
	jg	.L32
	cmp	eax, 27
	je	.L39
	cmp	eax, 49
	je	.L40
	jmp	.L32
.L33:
	movzx	eax, WORD PTR -22[rbp]
	add	eax, 1
	mov	WORD PTR -22[rbp], ax
	jmp	.L32
.L31:
	movzx	eax, WORD PTR -22[rbp]
	sub	eax, 1
	mov	WORD PTR -22[rbp], ax
	jmp	.L32
.L34:
	movzx	eax, WORD PTR -14[rbp]
	sub	eax, 1
	mov	WORD PTR -14[rbp], ax
	jmp	.L32
.L35:
	movzx	eax, WORD PTR -14[rbp]
	add	eax, 1
	mov	WORD PTR -14[rbp], ax
	jmp	.L32
.L40:
	mov	DWORD PTR -36[rbp], 3
	jmp	.L32
.L38:
	mov	DWORD PTR -36[rbp], 2
	jmp	.L32
.L37:
	mov	DWORD PTR -36[rbp], 1
	jmp	.L32
.L36:
	call	getchar@PLT
	jmp	.L32
.L39:
	call	endwin@PLT
	mov	BYTE PTR -41[rbp], 1
	nop
.L32:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	movzx	eax, WORD PTR -12[rbp]
	movsx	ecx, ax
	movzx	eax, WORD PTR -20[rbp]
	cwde
	movzx	edx, WORD PTR -32[rbp]
	mov	esi, edx
	shr	si, 15
	add	edx, esi
	sar	dx
	movsx	edx, dx
	lea	esi, -2[rdx]
	mov	r8d, ecx
	mov	ecx, eax
	lea	rdx, .LC10[rip]
	mov	edi, 2
	mov	eax, 0
	call	mvprintw@PLT
	movzx	eax, WORD PTR -32[rbp]
	mov	edx, eax
	shr	dx, 15
	add	eax, edx
	sar	ax
	movsx	edx, ax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L42
	movzx	eax, WORD PTR -30[rbp]
	movsx	edx, ax
	mov	ecx, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wvline@PLT
.L42:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 256
	mov	rdi, rax
	call	wattr_on@PLT
	movzx	eax, WORD PTR -8[rbp]
	movsx	ecx, ax
	movzx	eax, WORD PTR -6[rbp]
	cwde
	lea	rdx, .LC11[rip]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	DWORD PTR i[rip], -1
	jmp	.L43
.L44:
	movzx	eax, WORD PTR -24[rbp]
	cwde
	movzx	edx, WORD PTR -22[rbp]
	movsx	ecx, dx
	mov	edx, DWORD PTR i[rip]
	add	ecx, edx
	lea	rdx, .LC12[rip]
	mov	esi, eax
	mov	edi, ecx
	mov	eax, 0
	call	mvprintw@PLT
	movzx	eax, WORD PTR -16[rbp]
	cwde
	movzx	edx, WORD PTR -14[rbp]
	movsx	ecx, dx
	mov	edx, DWORD PTR i[rip]
	add	ecx, edx
	lea	rdx, .LC12[rip]
	mov	esi, eax
	mov	edi, ecx
	mov	eax, 0
	call	mvprintw@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L43:
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jg	.L44
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 256
	mov	rdi, rax
	call	wattr_off@PLT
	movzx	eax, WORD PTR -20[rbp]
	cmp	ax, 7
	jne	.L45
	call	getchar@PLT
	mov	BYTE PTR -41[rbp], 1
	call	endwin@PLT
.L45:
	movzx	eax, WORD PTR -12[rbp]
	cmp	ax, 7
	jne	.L46
	call	getchar@PLT
	mov	BYTE PTR -41[rbp], 1
	call	endwin@PLT
.L46:
	mov	edi, 6000
	mov	eax, 0
	call	usleep@PLT
.L12:
	movzx	eax, BYTE PTR -41[rbp]
	xor	eax, 1
	test	al, al
	jne	.L47
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"935757.c"
	.text
	.global	i
	.bss
	.align	2
	.type	i, %object
	.size	i, 4
i:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Your terminal does not support color\000"
	.align	2
.LC1:
	.ascii	"\011           oooooooooo                          "
	.ascii	"              \012\011           888    888  oooooo"
	.ascii	"o    ooooooo    oooooooo8       \012\011           "
	.ascii	"888oooo88 888     888 888   888  888    88o       \012"
	.ascii	"\011           888       888     888 888   888   88"
	.ascii	"8oo888o       \012\011          o888o        88ooo8"
	.ascii	"8  o888o o888o 888     888      \012\011           "
	.ascii	"                                  888ooo888     \012"
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"Bienvenido a mi intento de hacer el Pong!\000"
	.align	2
.LC3:
	.ascii	"Las instrucciones son simples, estas son:\000"
	.align	2
.LC4:
	.ascii	"Jugador 1, tus controles son las teclas W para move"
	.ascii	"rta a arriba y S para abajo.\000"
	.align	2
.LC5:
	.ascii	"Jugador 2, tus controles son las flechas hacia arri"
	.ascii	"ba y hacia abajo para tener esos movimientos respec"
	.ascii	"tivamente.\000"
	.align	2
.LC6:
	.ascii	"Pulsa P para pausa.\000"
	.align	2
.LC7:
	.ascii	"Pulsa 1, 2 o 3 durante la partida para escoger la d"
	.ascii	"ificultad (de menor a mayor).\000"
	.align	2
.LC8:
	.ascii	"Pulsa ESC para salir.\000"
	.align	2
.LC9:
	.ascii	"Pulsa cualquier tecla para empezar!\000"
	.text
	.align	2
	.global	instrucciones
	.syntax unified
	.arm
	.fpu softvfp
	.type	instrucciones, %function
instrucciones:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	bl	initscr
	bl	has_colors
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L2
	bl	endwin
	ldr	r0, .L7
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	bl	start_color
	mov	r2, #2
	mov	r1, #3
	mov	r0, #1
	bl	init_pair
	mov	r2, #7
	mov	r1, #0
	mov	r0, #2
	bl	init_pair
	mov	r2, #4
	mov	r1, #7
	mov	r0, #3
	bl	init_pair
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L7+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L4
.L3:
	mvn	r3, #0
.L4:
	str	r3, [fp, #-16]
	ldr	r3, .L7+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L6
.L5:
	mvn	r3, #0
.L6:
	str	r3, [fp, #-12]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	newwin
	str	r0, [fp, #-8]
	mov	r1, #768
	ldr	r0, [fp, #-8]
	bl	wbkgd
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #45
	str	r3, [sp]
	mov	r3, #45
	mov	r2, #124
	mov	r1, #124
	ldr	r0, [fp, #-8]
	bl	wborder
	ldr	r2, .L7+8
	mov	r1, #0
	mov	r0, #4
	bl	mvprintw
	ldr	r3, .L7+12
	mov	r2, #10
	mov	r1, #17
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r3, .L7+16
	mov	r2, #10
	mov	r1, #18
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r3, .L7+20
	mov	r2, #10
	mov	r1, #19
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r3, .L7+24
	mov	r2, #10
	mov	r1, #20
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r3, .L7+28
	mov	r2, #10
	mov	r1, #21
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r3, .L7+32
	mov	r2, #10
	mov	r1, #21
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r3, .L7+36
	mov	r2, #10
	mov	r1, #22
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r3, .L7+40
	mov	r2, #10
	mov	r1, #23
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r0, [fp, #-8]
	bl	wrefresh
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	bl	endwin
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	stdscr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	instrucciones, .-instrucciones
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%i | %i\000"
	.align	2
.LC11:
	.ascii	"o\000"
	.align	2
.LC12:
	.ascii	"#\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	bl	instrucciones
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-40]
	mov	r3, #0
	strb	r3, [fp, #-45]
	bl	initscr
	bl	start_color
	mov	r2, #0
	mov	r1, #4
	mov	r0, #1
	bl	init_pair
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	bl	noecho
	mov	r0, #0
	bl	curs_set
	ldr	r3, .L53
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L53
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L11
.L10:
	mvn	r3, #0
.L11:
	strh	r3, [fp, #-34]	@ movhi
	ldr	r3, .L53
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L53
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L13
.L12:
	mvn	r3, #0
.L13:
	strh	r3, [fp, #-36]	@ movhi
	ldrsh	r3, [fp, #-36]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-28]	@ movhi
	ldrsh	r3, [fp, #-34]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-24]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-22]
	mov	r3, #0
	strb	r3, [fp, #-21]
	mov	r3, #1
	strh	r3, [fp, #-20]	@ movhi
	ldrsh	r3, [fp, #-34]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-18]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-14]
	mov	r3, #0
	strb	r3, [fp, #-13]
	ldrsh	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	ldrsh	r3, [fp, #-34]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-8]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-6]
	mov	r3, #0
	strb	r3, [fp, #-5]
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	nodelay
	b	.L14
.L51:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L15
	ldrsh	r3, [fp, #-10]
	mov	r2, r3
	ldrsh	r3, [fp, #-34]
	sub	r3, r3, #1
	cmp	r2, r3
	beq	.L16
	ldrsh	r3, [fp, #-10]
	cmp	r3, #1
	bne	.L17
.L16:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	and	r3, r3, #1
	and	r3, r3, #255
	strb	r3, [fp, #-5]
.L17:
	ldrsh	r3, [fp, #-12]
	mov	r2, r3
	ldrsh	r3, [fp, #-36]
	sub	r3, r3, #2
	cmp	r2, r3
	bge	.L18
	ldrsh	r3, [fp, #-12]
	cmp	r3, #2
	bgt	.L19
.L18:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	and	r3, r3, #1
	and	r3, r3, #255
	strb	r3, [fp, #-6]
	ldrsh	r3, [fp, #-10]
	mov	r2, r3
	ldrsh	r3, [fp, #-26]
	sub	r3, r3, #1
	cmp	r2, r3
	beq	.L20
	ldrsh	r3, [fp, #-10]
	mov	r2, r3
	ldrsh	r3, [fp, #-18]
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L21
.L20:
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L19
.L21:
	ldrsh	r3, [fp, #-10]
	mov	r2, r3
	ldrsh	r3, [fp, #-26]
	add	r3, r3, #1
	cmp	r2, r3
	beq	.L22
	ldrsh	r3, [fp, #-10]
	mov	r2, r3
	ldrsh	r3, [fp, #-18]
	add	r3, r3, #1
	cmp	r2, r3
	bne	.L23
.L22:
	mov	r3, #1
	strb	r3, [fp, #-5]
	b	.L19
.L23:
	ldrsh	r2, [fp, #-10]
	ldrsh	r3, [fp, #-26]
	cmp	r2, r3
	beq	.L19
	ldrsh	r2, [fp, #-10]
	ldrsh	r3, [fp, #-18]
	cmp	r2, r3
	beq	.L19
	ldrsh	r3, [fp, #-12]
	mov	r2, r3
	ldrsh	r3, [fp, #-36]
	sub	r3, r3, #2
	cmp	r2, r3
	blt	.L24
	ldrsh	r3, [fp, #-24]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-24]	@ movhi
	b	.L25
.L24:
	ldrsh	r3, [fp, #-16]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-16]	@ movhi
.L25:
	ldrsh	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	ldrsh	r3, [fp, #-34]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
.L19:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L26
	ldrsh	r3, [fp, #-12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L27
.L26:
	ldrsh	r3, [fp, #-12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
.L27:
	strh	r3, [fp, #-12]	@ movhi
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L28
	ldrsh	r3, [fp, #-10]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L29
.L28:
	ldrsh	r3, [fp, #-10]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
.L29:
	strh	r3, [fp, #-10]	@ movhi
	ldrsh	r3, [fp, #-26]
	cmp	r3, #1
	bgt	.L30
	ldrsh	r3, [fp, #-34]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
.L30:
	ldrsh	r3, [fp, #-26]
	mov	r2, r3
	ldrsh	r3, [fp, #-34]
	sub	r3, r3, #1
	cmp	r2, r3
	blt	.L31
	mov	r3, #2
	strh	r3, [fp, #-26]	@ movhi
.L31:
	ldrsh	r3, [fp, #-18]
	cmp	r3, #1
	bgt	.L32
	ldrsh	r3, [fp, #-34]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-18]	@ movhi
.L32:
	ldrsh	r3, [fp, #-18]
	mov	r2, r3
	ldrsh	r3, [fp, #-34]
	sub	r3, r3, #1
	cmp	r2, r3
	blt	.L15
	mov	r3, #2
	strh	r3, [fp, #-18]	@ movhi
.L15:
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	ldr	r2, .L53+4
	cmp	r3, r2
	beq	.L33
	cmp	r3, #260
	bge	.L34
	ldr	r2, .L53+8
	cmp	r3, r2
	beq	.L35
	ldr	r2, .L53+8
	cmp	r3, r2
	bgt	.L34
	cmp	r3, #119
	beq	.L36
	cmp	r3, #119
	bgt	.L34
	cmp	r3, #115
	beq	.L37
	cmp	r3, #115
	bgt	.L34
	cmp	r3, #51
	bgt	.L38
	cmp	r3, #27
	blt	.L34
	sub	r3, r3, #27
	cmp	r3, #24
	ldrls	pc, [pc, r3, asl #2]
	b	.L34
.L40:
	.word	.L43
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L42
	.word	.L41
	.word	.L39
.L38:
	cmp	r3, #112
	beq	.L44
	b	.L34
.L35:
	ldrsh	r3, [fp, #-26]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
	b	.L34
.L33:
	ldrsh	r3, [fp, #-26]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
	b	.L34
.L36:
	ldrsh	r3, [fp, #-18]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-18]	@ movhi
	b	.L34
.L37:
	ldrsh	r3, [fp, #-18]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-18]	@ movhi
	b	.L34
.L42:
	mov	r3, #3
	str	r3, [fp, #-40]
	b	.L34
.L41:
	mov	r3, #2
	str	r3, [fp, #-40]
	b	.L34
.L39:
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L34
.L44:
	bl	getchar
	b	.L34
.L43:
	bl	endwin
	mov	r3, #1
	strb	r3, [fp, #-45]
	nop
.L34:
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	ldrsh	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	sub	r1, r3, #2
	ldrsh	r3, [fp, #-24]
	mov	r2, r3
	ldrsh	r3, [fp, #-16]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L53+12
	mov	r0, #2
	bl	mvprintw
	ldr	r3, .L53
	ldr	r0, [r3]
	ldrsh	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r2, r3
	mov	r1, #0
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L46
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r2, .L53+16
	ldr	r1, [r2, #480]
	ldrsh	r2, [fp, #-34]
	mov	r0, r3
	bl	wvline
.L46:
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #256
	mov	r0, r3
	bl	wattr_on
	ldrsh	r3, [fp, #-10]
	mov	r0, r3
	ldrsh	r3, [fp, #-12]
	ldr	r2, .L53+20
	mov	r1, r3
	bl	mvprintw
	ldr	r3, .L53+24
	mvn	r2, #0
	str	r2, [r3]
	b	.L47
.L48:
	ldrsh	r3, [fp, #-26]
	mov	r2, r3
	ldr	r3, .L53+24
	ldr	r3, [r3]
	add	r3, r2, r3
	ldrsh	r2, [fp, #-28]
	mov	r1, r2
	ldr	r2, .L53+28
	mov	r0, r3
	bl	mvprintw
	ldrsh	r3, [fp, #-18]
	mov	r2, r3
	ldr	r3, .L53+24
	ldr	r3, [r3]
	add	r3, r2, r3
	ldrsh	r2, [fp, #-20]
	mov	r1, r2
	ldr	r2, .L53+28
	mov	r0, r3
	bl	mvprintw
	ldr	r3, .L53+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L53+24
	str	r3, [r2]
.L47:
	ldr	r3, [fp, #-40]
	lsl	r2, r3, #1
	ldr	r3, .L53+24
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L48
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #256
	mov	r0, r3
	bl	wattr_off
	ldrsh	r3, [fp, #-24]
	cmp	r3, #7
	bne	.L49
	bl	getchar
	mov	r3, #1
	strb	r3, [fp, #-45]
	bl	endwin
.L49:
	ldrsh	r3, [fp, #-16]
	cmp	r3, #7
	bne	.L50
	bl	getchar
	mov	r3, #1
	strb	r3, [fp, #-45]
	bl	endwin
.L50:
	ldr	r0, .L53+32
	bl	usleep
.L14:
	ldrb	r3, [fp, #-45]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L51
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	stdscr
	.word	259
	.word	258
	.word	.LC10
	.word	acs_map
	.word	.LC11
	.word	i
	.word	.LC12
	.word	6000
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
