	.file	"132396.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 32
	.type	cli_tile_map, @object
	.size	cli_tile_map, 2048
cli_tile_map:
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	64
	.long	48
	.long	42
	.long	42
	.long	42
	.long	43
	.long	43
	.long	43
	.long	43
	.long	64
	.long	64
	.long	64
	.long	61
	.long	64
	.long	64
	.long	64
	.long	64
	.long	36
	.long	36
	.long	36
	.long	36
	.long	42
	.long	42
	.long	42
	.long	42
	.long	120
	.long	107
	.long	107
	.long	107
	.long	107
	.long	107
	.long	107
	.long	107
	.long	103
	.long	103
	.long	103
	.long	103
	.long	111
	.long	79
	.long	109
	.long	109
	.long	109
	.long	109
	.long	120
	.long	120
	.long	104
	.long	104
	.long	70
	.long	70
	.long	104
	.long	104
	.long	104
	.long	104
	.long	120
	.long	120
	.long	120
	.long	120
	.long	104
	.long	104
	.long	104
	.long	104
	.long	104
	.long	83
	.long	115
	.long	115
	.long	64
	.long	64
	.long	64
	.long	64
	.long	115
	.long	115
	.long	115
	.long	115
	.long	115
	.long	115
	.long	115
	.long	115
	.long	115
	.long	115
	.long	64
	.long	64
	.long	107
	.long	107
	.long	107
	.long	107
	.long	107
	.long	107
	.long	107
	.long	107
	.long	107
	.long	107
	.long	98
	.long	98
	.long	98
	.long	98
	.long	98
	.long	98
	.long	98
	.long	98
	.long	99
	.long	99
	.long	99
	.long	99
	.long	99
	.long	99
	.long	108
	.long	108
	.long	108
	.long	108
	.long	108
	.long	108
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	66
	.long	116
	.long	116
	.long	116
	.long	42
	.long	104
	.long	104
	.long	104
	.long	104
	.long	104
	.long	102
	.long	42
	.long	120
	.long	102
	.long	120
	.long	120
	.long	106
	.long	106
	.long	106
	.long	106
	.long	89
	.long	89
	.long	104
	.long	104
	.long	83
	.long	112
	.long	112
	.long	100
	.long	100
	.long	100
	.long	100
	.long	112
	.long	112
	.long	112
	.long	112
	.long	120
	.long	116
	.long	116
	.long	116
	.long	116
	.long	98
	.long	98
	.long	49
	.long	50
	.long	52
	.long	53
	.long	56
	.long	48
	.long	32
	.long	85
	.long	80
	.long	32
	.long	48
	.long	49
	.long	50
	.long	51
	.long	52
	.long	53
	.long	54
	.long	55
	.long	56
	.long	57
	.long	65
	.long	66
	.long	67
	.long	68
	.long	69
	.long	70
	.long	71
	.long	72
	.long	73
	.long	74
	.long	75
	.long	76
	.long	77
	.long	78
	.long	79
	.long	80
	.long	81
	.long	82
	.long	83
	.long	84
	.long	85
	.long	86
	.long	87
	.long	88
	.long	89
	.long	90
	.long	32
	.long	32
	.long	32
	.long	32
	.long	45
	.long	120
	.long	84
	.long	33
	.long	61
	.long	61
	.long	36
	.long	32
	.long	47
	.long	47
	.long	92
	.long	92
	.long	46
	.long	47
	.long	47
	.long	92
	.long	92
	.long	92
	.long	45
	.long	45
	.long	47
	.long	32
	.long	45
	.long	79
	.long	84
	.long	119
	.long	124
	.long	124
	.long	32
	.long	37
	.long	32
	.long	37
	.long	32
	.long	32
	.long	32
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	58
	.long	63
	.long	63
	.long	63
	.long	63
	.long	35
	.long	35
	.long	35
	.long	35
	.long	45
	.long	79
	.long	35
	.long	35
	.long	32
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	61
	.long	61
	.long	61
	.long	61
	.long	61
	.long	61
	.long	61
	.long	61
	.long	61
	.long	61
	.long	124
	.long	124
	.long	61
	.long	32
	.long	61
	.long	32
	.long	65
	.long	65
	.long	65
	.long	65
	.long	47
	.long	45
	.long	45
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	35
	.long	32
	.long	32
	.long	32
	.long	35
	.long	35
	.long	35
	.long	35
	.long	32
	.long	32
	.long	32
	.long	32
	.long	45
	.long	124
	.long	32
	.long	32
	.long	37
	.long	37
	.long	32
	.long	45
	.long	45
	.long	124
	.long	124
	.long	89
	.long	36
	.long	36
	.long	36
	.long	36
	.long	37
	.long	37
	.long	35
	.long	35
	.long	35
	.long	35
	.long	46
	.long	47
	.long	92
	.long	92
	.long	47
	.long	35
	.long	35
	.long	35
	.long	35
	.long	47
	.long	92
	.long	124
	.long	124
	.long	92
	.long	47
	.long	124
	.long	124
	.long	32
	.long	61
	.long	36
	.long	36
	.long	36
	.long	36
	.long	84
	.long	84
	.long	84
	.long	84
	.long	84
	.long	84
	.long	84
	.long	84
	.long	42
	.long	99
	.long	47
	.long	92
	.long	92
	.long	92
	.long	92
	.long	47
	.long	32
	.long	32
	.long	124
	.long	47
	.long	124
	.long	124
	.long	45
	.long	32
	.long	124
	.long	60
	.long	124
	.long	32
	.long	32
	.long	124
	.long	92
	.long	92
	.long	124
	.long	46
	.long	118
	.long	89
	.long	89
	.long	89
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.long	32
	.align 32
	.type	cli_color_map, @object
	.size	cli_color_map, 2048
cli_color_map:
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	7
	.long	1
	.long	1
	.long	1
	.long	7
	.long	7
	.long	7
	.long	7
	.long	1
	.long	1
	.long	1
	.long	7
	.long	1
	.long	1
	.long	1
	.long	1
	.long	3
	.long	3
	.long	3
	.long	3
	.long	1
	.long	1
	.long	1
	.long	1
	.long	7
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	6
	.long	6
	.long	6
	.long	6
	.long	7
	.long	7
	.long	1
	.long	1
	.long	1
	.long	1
	.long	7
	.long	7
	.long	5
	.long	5
	.long	4
	.long	4
	.long	5
	.long	5
	.long	5
	.long	5
	.long	7
	.long	7
	.long	7
	.long	7
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	3
	.long	5
	.long	5
	.long	1
	.long	1
	.long	1
	.long	1
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	1
	.long	1
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	6
	.long	6
	.long	6
	.long	6
	.long	6
	.long	6
	.long	6
	.long	6
	.long	6
	.long	6
	.long	6
	.long	6
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	7
	.long	7
	.long	7
	.long	1
	.long	5
	.long	5
	.long	5
	.long	5
	.long	5
	.long	1
	.long	1
	.long	7
	.long	1
	.long	7
	.long	7
	.long	6
	.long	6
	.long	6
	.long	6
	.long	2
	.long	2
	.long	5
	.long	5
	.long	3
	.long	2
	.long	2
	.long	4
	.long	4
	.long	4
	.long	4
	.long	2
	.long	2
	.long	2
	.long	2
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	5
	.long	5
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	3
	.long	7
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	3
	.long	3
	.long	3
	.long	3
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	2
	.long	7
	.long	7
	.long	7
	.long	2
	.long	2
	.long	2
	.long	2
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	3
	.long	3
	.long	3
	.long	3
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	3
	.long	3
	.long	3
	.long	3
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	1
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.long	7
	.local	cli_enable_colors
	.comm	cli_enable_colors,1,1
	.local	cli_controller_state
	.comm	cli_controller_state,1,1
	.local	cli_button_timeout
	.comm	cli_button_timeout,16,16
	.align 8
	.type	cli_button_map, @object
	.size	cli_button_map, 8
cli_button_map:
	.ascii	"\001\002\004\b\020 @\200"
	.text
	.type	cli_exit_handler, @function
cli_exit_handler:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	endwin@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cli_exit_handler, .-cli_exit_handler
	.type	cli_winch_handler, @function
cli_winch_handler:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	call	flushinp@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cli_winch_handler, .-cli_winch_handler
	.globl	cli_pause
	.type	cli_pause, @function
cli_pause:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	endwin@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, -1
	mov	rdi, rax
	call	wtimeout@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cli_pause, .-cli_pause
	.globl	cli_resume
	.type	cli_resume, @function
cli_resume:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wtimeout@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	cli_resume, .-cli_resume
	.section	.rodata
	.align 8
.LC0:
	.string	"\nConsole window must at least %dx%d.\n"
	.text
	.globl	cli_init
	.type	cli_init, @function
cli_init:
.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, 32
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	movzx	eax, BYTE PTR -20[rbp]
	mov	BYTE PTR cli_enable_colors[rip], al
	call	initscr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L7
.L6:
	mov	eax, -1
.L7:
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L9
.L8:
	mov	eax, -1
.L9:
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 31
	jle	.L10
	cmp	DWORD PTR -8[rbp], 29
	jg	.L11
.L10:
	call	endwin@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 30
	mov	edx, 32
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L12
.L11:
	lea	rdi, cli_exit_handler[rip]
	call	atexit@PLT
	call	noecho@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wtimeout@PLT
	movzx	eax, BYTE PTR cli_enable_colors[rip]
	test	al, al
	je	.L13
	call	has_colors@PLT
	test	al, al
	je	.L13
	call	start_color@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 3
	mov	edi, 3
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 4
	mov	edi, 4
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 5
	mov	edi, 5
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 6
	mov	edi, 6
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 7
	mov	edi, 7
	call	init_pair@PLT
.L13:
	mov	eax, 0
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	cli_init, .-cli_init
	.globl	cli_draw_tile
	.type	cli_draw_tile, @function
cli_draw_tile:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	eax, ecx
	mov	ecx, edi
	mov	BYTE PTR -20[rbp], cl
	mov	ecx, esi
	mov	BYTE PTR -24[rbp], cl
	mov	BYTE PTR -28[rbp], dl
	mov	BYTE PTR -32[rbp], al
	cmp	BYTE PTR -24[rbp], 31
	ja	.L22
	cmp	BYTE PTR -20[rbp], 29
	ja	.L23
	movzx	eax, BYTE PTR -28[rbp]
	movzx	edx, BYTE PTR -32[rbp]
	movsx	rdx, edx
	cdqe
	sal	rax, 8
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, cli_tile_map[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
	movzx	eax, BYTE PTR -28[rbp]
	movzx	edx, BYTE PTR -32[rbp]
	movsx	rdx, edx
	cdqe
	sal	rax, 8
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, cli_color_map[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	cmp	BYTE PTR -28[rbp], 0
	jne	.L18
	cmp	DWORD PTR -8[rbp], 32
	je	.L14
.L18:
	movzx	eax, BYTE PTR cli_enable_colors[rip]
	test	al, al
	je	.L19
	call	has_colors@PLT
	test	al, al
	je	.L19
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 8
	movzx	ecx, ax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wattr_on@PLT
.L19:
	movzx	edx, BYTE PTR -24[rbp]
	movzx	ecx, BYTE PTR -20[rbp]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L21
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L21:
	movzx	eax, BYTE PTR cli_enable_colors[rip]
	test	al, al
	je	.L14
	call	has_colors@PLT
	test	al, al
	je	.L14
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 8
	movzx	ecx, ax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wattr_off@PLT
	jmp	.L14
.L22:
	nop
	jmp	.L14
.L23:
	nop
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	cli_draw_tile, .-cli_draw_tile
	.globl	cli_get_controller_state
	.type	cli_get_controller_state, @function
cli_get_controller_state:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR cli_controller_state[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	cli_get_controller_state, .-cli_get_controller_state
	.globl	cli_update
	.type	cli_update, @function
cli_update:
.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, 16
	mov	DWORD PTR -8[rbp], 0
	jmp	.L27
.L30:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cli_button_timeout[rip]
	movzx	eax, WORD PTR [rdx+rax]
	test	ax, ax
	je	.L28
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cli_button_timeout[rip]
	movzx	eax, WORD PTR [rdx+rax]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cli_button_timeout[rip]
	mov	WORD PTR [rdx+rax], cx
	jmp	.L29
.L28:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, cli_button_map[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	not	eax
	mov	edx, eax
	movzx	eax, BYTE PTR cli_controller_state[rip]
	and	eax, edx
	mov	BYTE PTR cli_controller_state[rip], al
.L29:
	add	DWORD PTR -8[rbp], 1
.L27:
	cmp	DWORD PTR -8[rbp], 7
	jle	.L30
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	jmp	.L31
.L45:
	cmp	DWORD PTR -4[rbp], 410
	je	.L32
	cmp	DWORD PTR -4[rbp], 410
	jg	.L46
	cmp	DWORD PTR -4[rbp], 343
	je	.L34
	cmp	DWORD PTR -4[rbp], 343
	jg	.L46
	cmp	DWORD PTR -4[rbp], 261
	je	.L35
	cmp	DWORD PTR -4[rbp], 261
	jg	.L46
	cmp	DWORD PTR -4[rbp], 260
	je	.L36
	cmp	DWORD PTR -4[rbp], 260
	jg	.L46
	cmp	DWORD PTR -4[rbp], 259
	je	.L37
	cmp	DWORD PTR -4[rbp], 259
	jg	.L46
	cmp	DWORD PTR -4[rbp], 258
	je	.L38
	cmp	DWORD PTR -4[rbp], 258
	jg	.L46
	cmp	DWORD PTR -4[rbp], 122
	jg	.L46
	cmp	DWORD PTR -4[rbp], 81
	jge	.L39
	cmp	DWORD PTR -4[rbp], 32
	je	.L40
	cmp	DWORD PTR -4[rbp], 32
	jg	.L46
	cmp	DWORD PTR -4[rbp], 10
	je	.L34
	cmp	DWORD PTR -4[rbp], 13
	je	.L34
	jmp	.L33
.L39:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 81
	cmp	eax, 41
	ja	.L46
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L41[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L41[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L41:
	.long	.L43-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L44-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L43-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L46-.L41
	.long	.L34-.L41
	.long	.L46-.L41
	.long	.L42-.L41
	.long	.L46-.L41
	.long	.L40-.L41
	.text
.L32:
	call	cli_winch_handler
	jmp	.L31
.L40:
	movzx	eax, BYTE PTR cli_controller_state[rip]
	or	eax, 1
	mov	BYTE PTR cli_controller_state[rip], al
	mov	WORD PTR cli_button_timeout[rip], 22
	jmp	.L31
.L42:
	movzx	eax, BYTE PTR cli_controller_state[rip]
	or	eax, 2
	mov	BYTE PTR cli_controller_state[rip], al
	mov	WORD PTR cli_button_timeout[rip+2], 22
	jmp	.L31
.L44:
	movzx	eax, BYTE PTR cli_controller_state[rip]
	or	eax, 4
	mov	BYTE PTR cli_controller_state[rip], al
	mov	WORD PTR cli_button_timeout[rip+4], 22
	jmp	.L31
.L34:
	movzx	eax, BYTE PTR cli_controller_state[rip]
	or	eax, 8
	mov	BYTE PTR cli_controller_state[rip], al
	mov	WORD PTR cli_button_timeout[rip+6], 22
	jmp	.L31
.L37:
	movzx	eax, BYTE PTR cli_controller_state[rip]
	or	eax, 16
	mov	BYTE PTR cli_controller_state[rip], al
	mov	WORD PTR cli_button_timeout[rip+8], 22
	jmp	.L31
.L38:
	movzx	eax, BYTE PTR cli_controller_state[rip]
	or	eax, 32
	mov	BYTE PTR cli_controller_state[rip], al
	mov	WORD PTR cli_button_timeout[rip+10], 22
	jmp	.L31
.L36:
	movzx	eax, BYTE PTR cli_controller_state[rip]
	or	eax, 64
	mov	BYTE PTR cli_controller_state[rip], al
	mov	WORD PTR cli_button_timeout[rip+12], 22
	jmp	.L31
.L35:
	movzx	eax, BYTE PTR cli_controller_state[rip]
	or	eax, -128
	mov	BYTE PTR cli_controller_state[rip], al
	mov	WORD PTR cli_button_timeout[rip+14], 22
	jmp	.L31
.L43:
	mov	edi, 0
	call	exit@PLT
.L33:
.L46:
	nop
.L31:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L45
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	cli_update, .-cli_update
	.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	"132396.c"
	.text
	.section	.rodata
	.align	2
	.type	cli_tile_map, %object
	.size	cli_tile_map, 2048
cli_tile_map:
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	64
	.word	48
	.word	42
	.word	42
	.word	42
	.word	43
	.word	43
	.word	43
	.word	43
	.word	64
	.word	64
	.word	64
	.word	61
	.word	64
	.word	64
	.word	64
	.word	64
	.word	36
	.word	36
	.word	36
	.word	36
	.word	42
	.word	42
	.word	42
	.word	42
	.word	120
	.word	107
	.word	107
	.word	107
	.word	107
	.word	107
	.word	107
	.word	107
	.word	103
	.word	103
	.word	103
	.word	103
	.word	111
	.word	79
	.word	109
	.word	109
	.word	109
	.word	109
	.word	120
	.word	120
	.word	104
	.word	104
	.word	70
	.word	70
	.word	104
	.word	104
	.word	104
	.word	104
	.word	120
	.word	120
	.word	120
	.word	120
	.word	104
	.word	104
	.word	104
	.word	104
	.word	104
	.word	83
	.word	115
	.word	115
	.word	64
	.word	64
	.word	64
	.word	64
	.word	115
	.word	115
	.word	115
	.word	115
	.word	115
	.word	115
	.word	115
	.word	115
	.word	115
	.word	115
	.word	64
	.word	64
	.word	107
	.word	107
	.word	107
	.word	107
	.word	107
	.word	107
	.word	107
	.word	107
	.word	107
	.word	107
	.word	98
	.word	98
	.word	98
	.word	98
	.word	98
	.word	98
	.word	98
	.word	98
	.word	99
	.word	99
	.word	99
	.word	99
	.word	99
	.word	99
	.word	108
	.word	108
	.word	108
	.word	108
	.word	108
	.word	108
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	66
	.word	116
	.word	116
	.word	116
	.word	42
	.word	104
	.word	104
	.word	104
	.word	104
	.word	104
	.word	102
	.word	42
	.word	120
	.word	102
	.word	120
	.word	120
	.word	106
	.word	106
	.word	106
	.word	106
	.word	89
	.word	89
	.word	104
	.word	104
	.word	83
	.word	112
	.word	112
	.word	100
	.word	100
	.word	100
	.word	100
	.word	112
	.word	112
	.word	112
	.word	112
	.word	120
	.word	116
	.word	116
	.word	116
	.word	116
	.word	98
	.word	98
	.word	49
	.word	50
	.word	52
	.word	53
	.word	56
	.word	48
	.word	32
	.word	85
	.word	80
	.word	32
	.word	48
	.word	49
	.word	50
	.word	51
	.word	52
	.word	53
	.word	54
	.word	55
	.word	56
	.word	57
	.word	65
	.word	66
	.word	67
	.word	68
	.word	69
	.word	70
	.word	71
	.word	72
	.word	73
	.word	74
	.word	75
	.word	76
	.word	77
	.word	78
	.word	79
	.word	80
	.word	81
	.word	82
	.word	83
	.word	84
	.word	85
	.word	86
	.word	87
	.word	88
	.word	89
	.word	90
	.word	32
	.word	32
	.word	32
	.word	32
	.word	45
	.word	120
	.word	84
	.word	33
	.word	61
	.word	61
	.word	36
	.word	32
	.word	47
	.word	47
	.word	92
	.word	92
	.word	46
	.word	47
	.word	47
	.word	92
	.word	92
	.word	92
	.word	45
	.word	45
	.word	47
	.word	32
	.word	45
	.word	79
	.word	84
	.word	119
	.word	124
	.word	124
	.word	32
	.word	37
	.word	32
	.word	37
	.word	32
	.word	32
	.word	32
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	58
	.word	63
	.word	63
	.word	63
	.word	63
	.word	35
	.word	35
	.word	35
	.word	35
	.word	45
	.word	79
	.word	35
	.word	35
	.word	32
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	61
	.word	61
	.word	61
	.word	61
	.word	61
	.word	61
	.word	61
	.word	61
	.word	61
	.word	61
	.word	124
	.word	124
	.word	61
	.word	32
	.word	61
	.word	32
	.word	65
	.word	65
	.word	65
	.word	65
	.word	47
	.word	45
	.word	45
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	35
	.word	32
	.word	32
	.word	32
	.word	35
	.word	35
	.word	35
	.word	35
	.word	32
	.word	32
	.word	32
	.word	32
	.word	45
	.word	124
	.word	32
	.word	32
	.word	37
	.word	37
	.word	32
	.word	45
	.word	45
	.word	124
	.word	124
	.word	89
	.word	36
	.word	36
	.word	36
	.word	36
	.word	37
	.word	37
	.word	35
	.word	35
	.word	35
	.word	35
	.word	46
	.word	47
	.word	92
	.word	92
	.word	47
	.word	35
	.word	35
	.word	35
	.word	35
	.word	47
	.word	92
	.word	124
	.word	124
	.word	92
	.word	47
	.word	124
	.word	124
	.word	32
	.word	61
	.word	36
	.word	36
	.word	36
	.word	36
	.word	84
	.word	84
	.word	84
	.word	84
	.word	84
	.word	84
	.word	84
	.word	84
	.word	42
	.word	99
	.word	47
	.word	92
	.word	92
	.word	92
	.word	92
	.word	47
	.word	32
	.word	32
	.word	124
	.word	47
	.word	124
	.word	124
	.word	45
	.word	32
	.word	124
	.word	60
	.word	124
	.word	32
	.word	32
	.word	124
	.word	92
	.word	92
	.word	124
	.word	46
	.word	118
	.word	89
	.word	89
	.word	89
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.word	32
	.align	2
	.type	cli_color_map, %object
	.size	cli_color_map, 2048
cli_color_map:
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	7
	.word	1
	.word	1
	.word	1
	.word	7
	.word	7
	.word	7
	.word	7
	.word	1
	.word	1
	.word	1
	.word	7
	.word	1
	.word	1
	.word	1
	.word	1
	.word	3
	.word	3
	.word	3
	.word	3
	.word	1
	.word	1
	.word	1
	.word	1
	.word	7
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	6
	.word	6
	.word	6
	.word	6
	.word	7
	.word	7
	.word	1
	.word	1
	.word	1
	.word	1
	.word	7
	.word	7
	.word	5
	.word	5
	.word	4
	.word	4
	.word	5
	.word	5
	.word	5
	.word	5
	.word	7
	.word	7
	.word	7
	.word	7
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	3
	.word	5
	.word	5
	.word	1
	.word	1
	.word	1
	.word	1
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	1
	.word	1
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	6
	.word	6
	.word	6
	.word	6
	.word	6
	.word	6
	.word	6
	.word	6
	.word	6
	.word	6
	.word	6
	.word	6
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	7
	.word	7
	.word	7
	.word	1
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	1
	.word	1
	.word	7
	.word	1
	.word	7
	.word	7
	.word	6
	.word	6
	.word	6
	.word	6
	.word	2
	.word	2
	.word	5
	.word	5
	.word	3
	.word	2
	.word	2
	.word	4
	.word	4
	.word	4
	.word	4
	.word	2
	.word	2
	.word	2
	.word	2
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	5
	.word	5
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	3
	.word	7
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	3
	.word	3
	.word	3
	.word	3
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	2
	.word	7
	.word	7
	.word	7
	.word	2
	.word	2
	.word	2
	.word	2
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	3
	.word	3
	.word	3
	.word	3
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	3
	.word	3
	.word	3
	.word	3
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	1
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.word	7
	.local	cli_enable_colors
	.comm	cli_enable_colors,1,1
	.local	cli_controller_state
	.comm	cli_controller_state,1,1
	.local	cli_button_timeout
	.comm	cli_button_timeout,16,4
	.align	2
	.type	cli_button_map, %object
	.size	cli_button_map, 8
cli_button_map:
	.ascii	"\001\002\004\010\020 @\200"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cli_exit_handler, %function
cli_exit_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	endwin
	nop
	pop	{fp, pc}
	.size	cli_exit_handler, .-cli_exit_handler
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cli_winch_handler, %function
cli_winch_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	bl	flushinp
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	nop
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	stdscr
	.size	cli_winch_handler, .-cli_winch_handler
	.align	2
	.global	cli_pause
	.syntax unified
	.arm
	.fpu softvfp
	.type	cli_pause, %function
cli_pause:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	endwin
	ldr	r3, .L6
	ldr	r3, [r3]
	mvn	r1, #0
	mov	r0, r3
	bl	wtimeout
	nop
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	stdscr
	.size	cli_pause, .-cli_pause
	.align	2
	.global	cli_resume
	.syntax unified
	.arm
	.fpu softvfp
	.type	cli_resume, %function
cli_resume:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wtimeout
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	stdscr
	.size	cli_resume, .-cli_resume
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Console window must at least %dx%d.\012\000"
	.text
	.align	2
	.global	cli_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	cli_init, %function
cli_init:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r2, .L20
	ldrb	r3, [fp, #-13]
	strb	r3, [r2]
	bl	initscr
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L13
.L12:
	mvn	r3, #0
.L13:
	str	r3, [fp, #-12]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L15
.L14:
	mvn	r3, #0
.L15:
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #31
	ble	.L16
	ldr	r3, [fp, #-12]
	cmp	r3, #29
	bgt	.L17
.L16:
	bl	endwin
	ldr	r3, .L20+8
	ldr	r0, [r3]
	mov	r3, #30
	mov	r2, #32
	ldr	r1, .L20+12
	bl	fprintf
	mvn	r3, #0
	b	.L18
.L17:
	ldr	r0, .L20+16
	bl	atexit
	bl	noecho
	ldr	r3, .L20+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	ldr	r3, .L20+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wtimeout
	ldr	r3, .L20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L19
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	bl	start_color
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	init_pair
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	init_pair
	mov	r2, #0
	mov	r1, #3
	mov	r0, #3
	bl	init_pair
	mov	r2, #0
	mov	r1, #4
	mov	r0, #4
	bl	init_pair
	mov	r2, #0
	mov	r1, #5
	mov	r0, #5
	bl	init_pair
	mov	r2, #0
	mov	r1, #6
	mov	r0, #6
	bl	init_pair
	mov	r2, #0
	mov	r1, #7
	mov	r0, #7
	bl	init_pair
.L19:
	mov	r3, #0
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	cli_enable_colors
	.word	stdscr
	.word	stderr
	.word	.LC0
	.word	cli_exit_handler
	.size	cli_init, .-cli_init
	.align	2
	.global	cli_draw_tile
	.syntax unified
	.arm
	.fpu softvfp
	.type	cli_draw_tile, %function
cli_draw_tile:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	ip, r0
	mov	r0, r1
	mov	r1, r2
	mov	r2, r3
	mov	r3, ip
	strb	r3, [fp, #-13]
	mov	r3, r0
	strb	r3, [fp, #-14]
	mov	r3, r1
	strb	r3, [fp, #-15]
	mov	r3, r2
	strb	r3, [fp, #-16]
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #31
	bhi	.L30
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #29
	bhi	.L31
	ldrb	r2, [fp, #-15]	@ zero_extendqisi2
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	ldr	r1, .L32
	lsl	r2, r2, #8
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-12]
	ldrb	r2, [fp, #-15]	@ zero_extendqisi2
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	ldr	r1, .L32+4
	lsl	r2, r2, #8
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-12]
	cmp	r3, #32
	beq	.L22
.L26:
	ldr	r3, .L32+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L27
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L32+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, #0
	mov	r1, r3
	bl	wattr_on
.L27:
	ldr	r3, .L32+12
	ldr	r3, [r3]
	ldrb	r1, [fp, #-13]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L29
	ldr	r3, .L32+12
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	waddch
.L29:
	ldr	r3, .L32+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L32+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, #0
	mov	r1, r3
	bl	wattr_off
	b	.L22
.L30:
	nop
	b	.L22
.L31:
	nop
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	cli_tile_map
	.word	cli_color_map
	.word	cli_enable_colors
	.word	stdscr
	.size	cli_draw_tile, .-cli_draw_tile
	.align	2
	.global	cli_get_controller_state
	.syntax unified
	.arm
	.fpu softvfp
	.type	cli_get_controller_state, %function
cli_get_controller_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L36
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L37:
	.align	2
.L36:
	.word	cli_controller_state
	.size	cli_get_controller_state, .-cli_get_controller_state
	.align	2
	.global	cli_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	cli_update, %function
cli_update:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L39
.L42:
	ldr	r2, .L61
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	cmp	r3, #0
	beq	.L40
	ldr	r2, .L61
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r1, .L61
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	b	.L41
.L40:
	ldr	r2, .L61+4
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mvn	r3, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, .L61+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r2, r3, #255
	ldr	r3, .L61+8
	strb	r2, [r3]
.L41:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L39:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	ble	.L42
	ldr	r3, .L61+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	b	.L43
.L59:
	ldr	r3, [fp, #-8]
	ldr	r2, .L61+16
	cmp	r3, r2
	beq	.L44
	ldr	r3, [fp, #-8]
	ldr	r2, .L61+16
	cmp	r3, r2
	bgt	.L60
	ldr	r3, [fp, #-8]
	ldr	r2, .L61+20
	cmp	r3, r2
	beq	.L46
	ldr	r3, [fp, #-8]
	cmp	r3, #344
	bge	.L60
	ldr	r3, [fp, #-8]
	ldr	r2, .L61+24
	cmp	r3, r2
	bgt	.L60
	ldr	r3, [fp, #-8]
	ldr	r2, .L61+28
	cmp	r3, r2
	bge	.L47
	ldr	r3, [fp, #-8]
	cmp	r3, #122
	bgt	.L60
	ldr	r3, [fp, #-8]
	cmp	r3, #81
	bge	.L48
	ldr	r3, [fp, #-8]
	cmp	r3, #32
	beq	.L49
	ldr	r3, [fp, #-8]
	cmp	r3, #32
	bgt	.L60
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L46
	ldr	r3, [fp, #-8]
	cmp	r3, #13
	beq	.L46
	b	.L45
.L47:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #256
	sub	r3, r3, #2
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L60
.L51:
	.word	.L54
	.word	.L53
	.word	.L52
	.word	.L50
.L48:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #81
	cmp	r3, #41
	ldrls	pc, [pc, r3, asl #2]
	b	.L60
.L55:
	.word	.L57
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L58
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L57
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L60
	.word	.L46
	.word	.L60
	.word	.L56
	.word	.L60
	.word	.L49
.L44:
	bl	cli_winch_handler
	b	.L43
.L49:
	ldr	r3, .L61+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L61+8
	strb	r2, [r3]
	ldr	r3, .L61
	mov	r2, #22
	strh	r2, [r3]	@ movhi
	b	.L43
.L56:
	ldr	r3, .L61+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r3, #2
	and	r2, r3, #255
	ldr	r3, .L61+8
	strb	r2, [r3]
	ldr	r3, .L61
	mov	r2, #22
	strh	r2, [r3, #2]	@ movhi
	b	.L43
.L58:
	ldr	r3, .L61+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r3, #4
	and	r2, r3, #255
	ldr	r3, .L61+8
	strb	r2, [r3]
	ldr	r3, .L61
	mov	r2, #22
	strh	r2, [r3, #4]	@ movhi
	b	.L43
.L46:
	ldr	r3, .L61+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, .L61+8
	strb	r2, [r3]
	ldr	r3, .L61
	mov	r2, #22
	strh	r2, [r3, #6]	@ movhi
	b	.L43
.L53:
	ldr	r3, .L61+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r3, #16
	and	r2, r3, #255
	ldr	r3, .L61+8
	strb	r2, [r3]
	ldr	r3, .L61
	mov	r2, #22
	strh	r2, [r3, #8]	@ movhi
	b	.L43
.L54:
	ldr	r3, .L61+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r3, #32
	and	r2, r3, #255
	ldr	r3, .L61+8
	strb	r2, [r3]
	ldr	r3, .L61
	mov	r2, #22
	strh	r2, [r3, #10]	@ movhi
	b	.L43
.L52:
	ldr	r3, .L61+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r3, #64
	and	r2, r3, #255
	ldr	r3, .L61+8
	strb	r2, [r3]
	ldr	r3, .L61
	mov	r2, #22
	strh	r2, [r3, #12]	@ movhi
	b	.L43
.L50:
	ldr	r3, .L61+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mvn	r3, r3, lsl #25
	mvn	r3, r3, lsr #25
	and	r2, r3, #255
	ldr	r3, .L61+8
	strb	r2, [r3]
	ldr	r3, .L61
	mov	r2, #22
	strh	r2, [r3, #14]	@ movhi
	b	.L43
.L57:
	mov	r0, #0
	bl	exit
.L45:
.L60:
	nop
.L43:
	ldr	r3, .L61+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L59
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	cli_button_timeout
	.word	cli_button_map
	.word	cli_controller_state
	.word	stdscr
	.word	410
	.word	343
	.word	261
	.word	258
	.size	cli_update, .-cli_update
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
