	.file	"6387420.c"
	.intel_syntax noprefix
	.text
	.globl	SNAKE_BODY
	.section	.rodata
	.type	SNAKE_BODY, @object
	.size	SNAKE_BODY, 1
SNAKE_BODY:
	.byte	35
	.globl	SNAKE_HEADS
	.type	SNAKE_HEADS, @object
	.size	SNAKE_HEADS, 4
SNAKE_HEADS:
	.ascii	"^V<>"
	.globl	SNAKE_COLOR_I
	.align 2
	.type	SNAKE_COLOR_I, @object
	.size	SNAKE_COLOR_I, 2
SNAKE_COLOR_I:
	.value	1
	.globl	SNAKE_COLOR
	.align 2
	.type	SNAKE_COLOR, @object
	.size	SNAKE_COLOR, 2
SNAKE_COLOR:
	.value	2
	.globl	APPLE
	.type	APPLE, @object
	.size	APPLE, 1
APPLE:
	.byte	79
	.globl	APPLE_COLOR_I
	.align 2
	.type	APPLE_COLOR_I, @object
	.size	APPLE_COLOR_I, 2
APPLE_COLOR_I:
	.value	2
	.globl	APPLE_COLOR
	.align 2
	.type	APPLE_COLOR, @object
	.size	APPLE_COLOR, 2
APPLE_COLOR:
	.value	1
.LC0:
	.string	"Score: %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	initscr@PLT
	call	cbreak@PLT
	call	noecho@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	nodelay@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	mov	edi, 0
	call	curs_set@PLT
	call	start_color@PLT
	mov	eax, 2
	movsx	ecx, ax
	mov	eax, 1
	cwde
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	init_pair@PLT
	mov	eax, 1
	movsx	ecx, ax
	mov	eax, 2
	cwde
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	init_pair@PLT
	mov	eax, DWORD PTR LINES[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR COLS[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	lea	rax, -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	make_snake
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], -1
	mov	DWORD PTR -40[rbp], -1
.L11:
	cmp	DWORD PTR -44[rbp], -1
	je	.L2
	mov	eax, DWORD PTR COLS[rip]
	cmp	DWORD PTR -44[rbp], eax
	jge	.L2
	mov	eax, DWORD PTR LINES[rip]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L3
.L2:
	call	rand@PLT
	mov	edx, DWORD PTR COLS[rip]
	lea	ecx, -2[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	call	rand@PLT
	mov	edx, DWORD PTR LINES[rip]
	lea	ecx, -2[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
.L3:
	call	get_input
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 5
	je	.L15
	cmp	DWORD PTR -36[rbp], 4
	je	.L6
	cmp	DWORD PTR -48[rbp], 1
	jle	.L7
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	opposite
	xor	eax, 1
	test	al, al
	je	.L6
.L7:
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -16[rbp], eax
.L6:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	move_snake
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -44[rbp], eax
	jne	.L8
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -40[rbp], eax
	jne	.L8
	add	DWORD PTR -48[rbp], 1
	mov	DWORD PTR -44[rbp], -1
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	append_body
.L8:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	draw_snake
	mov	eax, 2
	cwde
	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
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -44[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L10
	mov	eax, 79
	movsx	edx, al
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L10:
	mov	eax, 2
	cwde
	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
	mov	eax, DWORD PTR -48[rbp]
	mov	ecx, eax
	lea	rdx, .LC0[rip]
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	mvprintw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR -48[rbp]
	imul	eax, eax, -700
	add	eax, 90000
	mov	edi, eax
	call	usleep@PLT
	jmp	.L11
.L15:
	nop
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	delete_snake
	call	endwin@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	get_input
	.type	get_input, @function
get_input:
.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	wgetch@PLT
	cmp	eax, 261
	je	.L17
	cmp	eax, 261
	jg	.L18
	cmp	eax, 260
	je	.L19
	cmp	eax, 260
	jg	.L18
	cmp	eax, 259
	je	.L20
	cmp	eax, 259
	jg	.L18
	cmp	eax, 119
	jg	.L21
	cmp	eax, 97
	jl	.L18
	sub	eax, 97
	cmp	eax, 22
	ja	.L18
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L22[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L22[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L22:
	.long	.L19-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L17-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L24-.L22
	.long	.L18-.L22
	.long	.L23-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L18-.L22
	.long	.L20-.L22
	.text
.L21:
	cmp	eax, 258
	je	.L23
	jmp	.L18
.L20:
	mov	eax, 0
	jmp	.L25
.L23:
	mov	eax, 1
	jmp	.L25
.L19:
	mov	eax, 2
	jmp	.L25
.L17:
	mov	eax, 3
	jmp	.L25
.L24:
	mov	eax, 5
	jmp	.L25
.L18:
	mov	eax, 4
.L25:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_input, .-get_input
	.globl	opposite
	.type	opposite, @function
opposite:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 0
	jne	.L27
	cmp	DWORD PTR -8[rbp], 1
	jne	.L27
	mov	eax, 1
	jmp	.L28
.L27:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L29
	cmp	DWORD PTR -8[rbp], 0
	jne	.L29
	mov	eax, 1
	jmp	.L28
.L29:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L30
	cmp	DWORD PTR -8[rbp], 3
	jne	.L30
	mov	eax, 1
	jmp	.L28
.L30:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L31
	cmp	DWORD PTR -8[rbp], 2
	jne	.L31
	mov	eax, 1
	jmp	.L28
.L31:
	mov	eax, 0
.L28:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	opposite, .-opposite
	.globl	new_body
	.type	new_body, @function
new_body:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	edi, 24
	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	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	cmp	QWORD PTR -24[rbp], 0
	je	.L33
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
.L33:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	new_body, .-new_body
	.globl	make_snake
	.type	make_snake, @function
make_snake:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	mov	edi, 0
	call	new_body
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -56[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	make_snake, .-make_snake
	.globl	append_body
	.type	append_body, @function
append_body:
.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, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L38
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR 8[rsi]
	mov	esi, ecx
	mov	rdi, rax
	call	new_body
	mov	QWORD PTR 16[rbx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L40
.L38:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, ecx
	mov	rdi, rax
	call	new_body
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rdx], rax
.L40:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	append_body, .-append_body
	.globl	draw_snake
	.type	draw_snake, @function
draw_snake:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, 1
	cwde
	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
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L43
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	edx, eax
	lea	rax, SNAKE_HEADS[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	edx, al
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L43:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L44
.L47:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L46
	mov	eax, 35
	movsx	edx, al
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L46:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L44:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L47
	mov	eax, 1
	cwde
	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
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	draw_snake, .-draw_snake
	.globl	move_snake
	.type	move_snake, @function
move_snake:
.LFB13:
	.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	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L49
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, 3
	je	.L50
	cmp	eax, 3
	ja	.L70
	cmp	eax, 2
	je	.L52
	cmp	eax, 2
	ja	.L70
	test	eax, eax
	je	.L53
	cmp	eax, 1
	je	.L54
	jmp	.L70
.L53:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 4[rax], edx
	jmp	.L55
.L54:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 4[rax], edx
	jmp	.L55
.L52:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 4[rax], edx
	jmp	.L55
.L50:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 4[rax], edx
	jmp	.L55
.L70:
	nop
.L55:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L56
	mov	edx, DWORD PTR COLS[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L57
.L56:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR COLS[rip]
	cmp	edx, eax
	jl	.L57
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
.L57:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jns	.L58
	mov	edx, DWORD PTR LINES[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 4[rax], edx
	jmp	.L59
.L58:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR LINES[rip]
	cmp	edx, eax
	jl	.L59
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 4[rax], 0
.L59:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L72
.L49:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, 3
	je	.L61
	cmp	eax, 3
	ja	.L71
	cmp	eax, 2
	je	.L63
	cmp	eax, 2
	ja	.L71
	test	eax, eax
	je	.L64
	cmp	eax, 1
	je	.L65
	jmp	.L71
.L64:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	sub	edx, 1
	mov	DWORD PTR 4[rax], edx
	jmp	.L66
.L65:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR 4[rax], edx
	jmp	.L66
.L63:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	sub	edx, 1
	mov	DWORD PTR [rax], edx
	jmp	.L66
.L61:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	jmp	.L66
.L71:
	nop
.L66:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L67
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR COLS[rip]
	mov	DWORD PTR [rax], edx
	jmp	.L68
.L67:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR COLS[rip]
	cmp	edx, eax
	jl	.L68
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR [rax], 0
.L68:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jns	.L69
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR LINES[rip]
	mov	DWORD PTR 4[rax], edx
	jmp	.L72
.L69:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR LINES[rip]
	cmp	edx, eax
	jl	.L72
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR 4[rax], 0
.L72:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	move_snake, .-move_snake
	.globl	delete_snake
	.type	delete_snake, @function
delete_snake:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L74
.L75:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[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
.L74:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L75
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	delete_snake, .-delete_snake
	.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	"6387420.c"
	.text
	.global	SNAKE_BODY
	.section	.rodata
	.type	SNAKE_BODY, %object
	.size	SNAKE_BODY, 1
SNAKE_BODY:
	.byte	35
	.global	SNAKE_HEADS
	.align	2
	.type	SNAKE_HEADS, %object
	.size	SNAKE_HEADS, 4
SNAKE_HEADS:
	.ascii	"^V<>"
	.global	SNAKE_COLOR_I
	.align	1
	.type	SNAKE_COLOR_I, %object
	.size	SNAKE_COLOR_I, 2
SNAKE_COLOR_I:
	.short	1
	.global	SNAKE_COLOR
	.align	1
	.type	SNAKE_COLOR, %object
	.size	SNAKE_COLOR, 2
SNAKE_COLOR:
	.short	2
	.global	APPLE
	.type	APPLE, %object
	.size	APPLE, 1
APPLE:
	.byte	79
	.global	APPLE_COLOR_I
	.align	1
	.type	APPLE_COLOR_I, %object
	.size	APPLE_COLOR_I, 2
APPLE_COLOR_I:
	.short	2
	.global	APPLE_COLOR
	.align	1
	.type	APPLE_COLOR, %object
	.size	APPLE_COLOR, 2
APPLE_COLOR:
	.short	1
	.global	__aeabi_idivmod
	.align	2
.LC0:
	.ascii	"Score: %d\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	initscr
	bl	cbreak
	bl	noecho
	ldr	r3, .L16+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	nodelay
	ldr	r3, .L16+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	mov	r0, #0
	bl	curs_set
	bl	start_color
	mov	r3, #1
	mov	r1, #2
	mov	r2, #0
	mov	r0, r3
	bl	init_pair
	mov	r3, #2
	mov	r1, #1
	mov	r2, #0
	mov	r0, r3
	bl	init_pair
	ldr	r3, .L16+8
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L16+12
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #20
	mov	r0, r3
	bl	make_snake
	mov	r3, #0
	str	r3, [fp, #-36]
	mvn	r3, #0
	str	r3, [fp, #-32]
	mvn	r3, #0
	str	r3, [fp, #-28]
.L11:
	ldr	r3, [fp, #-32]
	cmn	r3, #1
	beq	.L2
	ldr	r3, .L16+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bge	.L2
	ldr	r3, .L16+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L3
.L2:
	bl	rand
	mov	r2, r0
	ldr	r3, .L16+8
	ldr	r3, [r3]
	sub	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #1
	str	r3, [fp, #-32]
	bl	rand
	mov	r2, r0
	ldr	r3, .L16+12
	ldr	r3, [r3]
	sub	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L3:
	bl	get_input
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	beq	.L15
	ldr	r3, [fp, #-24]
	cmp	r3, #4
	beq	.L6
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	ble	.L7
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	opposite
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L6
.L7:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
.L6:
	sub	r3, fp, #20
	mov	r0, r3
	bl	move_snake
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	mvn	r3, #0
	str	r3, [fp, #-32]
	sub	r3, fp, #20
	mov	r0, r3
	bl	append_body
.L8:
	ldr	r3, .L16+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	sub	r3, fp, #20
	mov	r0, r3
	bl	draw_snake
	ldr	r3, .L16+4
	ldr	r0, [r3]
	mov	r3, #2
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, #0
	mov	r1, r3
	bl	wattr_on
	ldr	r3, .L16+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L10
	ldr	r3, .L16+4
	ldr	r3, [r3]
	mov	r2, #79
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L10:
	ldr	r3, .L16+4
	ldr	r0, [r3]
	mov	r3, #2
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, #0
	mov	r1, r3
	bl	wattr_off
	ldr	r3, [fp, #-36]
	ldr	r2, .L16+16
	mov	r1, #0
	mov	r0, #0
	bl	mvprintw
	ldr	r3, .L16+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, [fp, #-36]
	ldr	r2, .L16+20
	mul	r3, r2, r3
	add	r3, r3, #89088
	add	r3, r3, #912
	mov	r0, r3
	bl	usleep
	b	.L11
.L15:
	nop
	sub	r3, fp, #20
	mov	r0, r3
	bl	delete_snake
	bl	endwin
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	stdscr
	.word	COLS
	.word	LINES
	.word	.LC0
	.word	-700
	.size	main, .-main
	.align	2
	.global	get_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_input, %function
get_input:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L31
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	cmp	r3, #119
	bgt	.L19
	cmp	r3, #97
	bge	.L20
	b	.L21
.L29:
	sub	r3, r3, #256
	sub	r3, r3, #2
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L21
.L23:
	.word	.L26
	.word	.L25
	.word	.L24
	.word	.L22
.L20:
	sub	r3, r3, #97
	cmp	r3, #22
	ldrls	pc, [pc, r3, asl #2]
	b	.L21
.L27:
	.word	.L24
	.word	.L21
	.word	.L21
	.word	.L22
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L28
	.word	.L21
	.word	.L26
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L25
.L19:
	ldr	r2, .L31+4
	cmp	r3, r2
	bgt	.L21
	ldr	r2, .L31+8
	cmp	r3, r2
	bge	.L29
	b	.L21
.L25:
	mov	r3, #0
	b	.L30
.L26:
	mov	r3, #1
	b	.L30
.L24:
	mov	r3, #2
	b	.L30
.L22:
	mov	r3, #3
	b	.L30
.L28:
	mov	r3, #5
	b	.L30
.L21:
	mov	r3, #4
.L30:
	mov	r0, r3
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	stdscr
	.word	261
	.word	258
	.size	get_input, .-get_input
	.align	2
	.global	opposite
	.syntax unified
	.arm
	.fpu softvfp
	.type	opposite, %function
opposite:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L34
	mov	r3, #1
	b	.L35
.L34:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L36
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L36
	mov	r3, #1
	b	.L35
.L36:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L37
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L37
	mov	r3, #1
	b	.L35
.L37:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L38
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	bne	.L38
	mov	r3, #1
	b	.L35
.L38:
	mov	r3, #0
.L35:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	opposite, .-opposite
	.align	2
	.global	new_body
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_body, %function
new_body:
	@ 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]
	mov	r0, #16
	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, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #12]
.L40:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_body, .-new_body
	.align	2
	.global	make_snake
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_snake, %function
make_snake:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	mov	r0, #0
	bl	new_body
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	make_snake, .-make_snake
	.align	2
	.global	append_body
	.syntax unified
	.arm
	.fpu softvfp
	.type	append_body, %function
append_body:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r4, [r3, #4]
	bl	new_body
	mov	r3, r0
	str	r3, [r4, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	b	.L47
.L45:
	ldr	r3, [fp, #-16]
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	bl	new_body
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
.L47:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	append_body, .-append_body
	.align	2
	.global	draw_snake
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_snake, %function
draw_snake:
	@ 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, .L55
	ldr	r0, [r3]
	mov	r3, #1
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, #0
	mov	r1, r3
	bl	wattr_on
	ldr	r3, .L55
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L50
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r1, .L55+4
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, r2
	bl	waddch
.L50:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
	b	.L51
.L54:
	ldr	r3, .L55
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L53
	ldr	r3, .L55
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L53:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
.L51:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L54
	ldr	r3, .L55
	ldr	r0, [r3]
	mov	r3, #1
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, #0
	mov	r1, r3
	bl	wattr_off
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	stdscr
	.word	SNAKE_HEADS
	.size	draw_snake, .-draw_snake
	.align	2
	.global	move_snake
	.syntax unified
	.arm
	.fpu softvfp
	.type	move_snake, %function
move_snake:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L81
.L61:
	.word	.L64
	.word	.L63
	.word	.L62
	.word	.L60
.L64:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	b	.L65
.L63:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	b	.L65
.L62:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	b	.L65
.L60:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	b	.L65
.L81:
	nop
.L65:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L66
	ldr	r3, .L84
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	b	.L67
.L66:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, .L84
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L67
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
.L67:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bge	.L68
	ldr	r3, .L84+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	b	.L69
.L68:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, .L84+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L69
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
.L69:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	b	.L83
.L58:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L82
.L73:
	.word	.L76
	.word	.L75
	.word	.L74
	.word	.L72
.L76:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r2, #1
	str	r2, [r3, #4]
	b	.L77
.L75:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r2, #1
	str	r2, [r3, #4]
	b	.L77
.L74:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r2, #1
	str	r2, [r3]
	b	.L77
.L72:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	b	.L77
.L82:
	nop
.L77:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L78
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L84
	ldr	r2, [r2]
	str	r2, [r3]
	b	.L79
.L78:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L84
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L79
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
.L79:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bge	.L80
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L84+4
	ldr	r2, [r2]
	str	r2, [r3, #4]
	b	.L83
.L80:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L84+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L83
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
.L83:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L85:
	.align	2
.L84:
	.word	COLS
	.word	LINES
	.size	move_snake, .-move_snake
	.align	2
	.global	delete_snake
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_snake, %function
delete_snake:
	@ 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, #-12]
	b	.L87
.L88:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L87:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L88
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	delete_snake, .-delete_snake
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
