	.file	"138344.c"
	.intel_syntax noprefix
	.text
	.globl	time_stamp
	.type	time_stamp, @function
time_stamp:
.LFB0:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rcx, QWORD PTR -24[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	time_stamp, .-time_stamp
	.globl	on_resize
	.type	on_resize, @function
on_resize:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, WORD PTR 4[rax]
	cwde
	lea	edx, 1[rax]
	jmp	.L6
.L5:
	mov	edx, -1
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 48[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, WORD PTR 6[rax]
	cwde
	lea	edx, 1[rax]
	jmp	.L8
.L7:
	mov	edx, -1
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 44[rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	on_resize, .-on_resize
	.globl	init_tick
	.type	init_tick, @function
init_tick:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	on_resize
	mov	eax, 0
	call	time_stamp
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR 20[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, 1
	mov	rdi, rax
	call	wtimeout@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	init_tick, .-init_tick
	.globl	handle_input
	.type	handle_input, @function
handle_input:
.LFB3:
	.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
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -4[rbp], xmm0
	cmp	DWORD PTR -28[rbp], 410
	je	.L11
	cmp	DWORD PTR -28[rbp], 410
	jg	.L22
	cmp	DWORD PTR -28[rbp], 261
	je	.L13
	cmp	DWORD PTR -28[rbp], 261
	jg	.L22
	cmp	DWORD PTR -28[rbp], 260
	je	.L14
	cmp	DWORD PTR -28[rbp], 260
	jg	.L22
	cmp	DWORD PTR -28[rbp], 259
	je	.L15
	cmp	DWORD PTR -28[rbp], 259
	jg	.L22
	cmp	DWORD PTR -28[rbp], 258
	je	.L16
	cmp	DWORD PTR -28[rbp], 258
	jg	.L22
	cmp	DWORD PTR -28[rbp], 113
	je	.L17
	cmp	DWORD PTR -28[rbp], 120
	je	.L17
	jmp	.L22
.L11:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	on_resize
	jmp	.L18
.L15:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 28[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	comisd	xmm0, xmm1
	jbe	.L19
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR .LC4[rip]
	movss	DWORD PTR 28[rax], xmm0
.L19:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 40[rax]
	mulss	xmm0, DWORD PTR -8[rbp]
	mulss	xmm0, DWORD PTR -4[rbp]
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 28[rax], xmm0
	jmp	.L18
.L16:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 40[rax]
	mulss	xmm1, DWORD PTR -8[rbp]
	subss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 28[rax], xmm0
	jmp	.L18
.L14:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 40[rax]
	mulss	xmm1, DWORD PTR -8[rbp]
	subss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 24[rax], xmm0
	jmp	.L18
.L13:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 40[rax]
	mulss	xmm0, DWORD PTR -8[rbp]
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 24[rax], xmm0
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 1
.L22:
	nop
.L18:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	handle_input, .-handle_input
	.globl	do_bounce
	.type	do_bounce, @function
do_bounce:
.LFB4:
	.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
	movss	xmm0, DWORD PTR .LC5[rip]
	movss	DWORD PTR -4[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 28[rax]
	mulss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC6[rip]
	xorps	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 28[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR 20[rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	do_bounce, .-do_bounce
	.globl	gravity
	.type	gravity, @function
gravity:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -24[rbp], rdi
	movss	xmm0, DWORD PTR .LC8[rip]
	movss	DWORD PTR -4[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 20[rax]
	comiss	xmm0, DWORD PTR .LC9[rip]
	jbe	.L35
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 40[rax]
	mulss	xmm1, DWORD PTR -4[rbp]
	subss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 28[rax], xmm0
	jmp	.L36
.L35:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 28[rax]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jbe	.L28
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 52[rax]
	test	al, al
	je	.L30
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	do_bounce
	jmp	.L28
.L30:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR 28[rax], xmm0
.L28:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 20[rax]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	ja	.L34
	jmp	.L36
.L34:
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR 20[rax], xmm0
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	gravity, .-gravity
	.globl	friction
	.type	friction, @function
friction:
.LFB6:
	.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
	movss	xmm0, DWORD PTR .LC11[rip]
	movss	DWORD PTR -4[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	comisd	xmm0, xmm1
	jbe	.L38
	movss	xmm0, DWORD PTR -4[rbp]
	addss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
.L38:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 20[rax]
	comiss	xmm0, DWORD PTR .LC13[rip]
	jbe	.L40
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
.L40:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	cvtss2sd	xmm0, xmm0
	comisd	xmm0, QWORD PTR .LC14[rip]
	ja	.L42
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	comisd	xmm0, xmm1
	ja	.L42
	jmp	.L47
.L42:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 24[rax]
	movaps	xmm2, xmm1
	mulss	xmm2, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 40[rax]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 24[rax], xmm0
.L47:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	friction, .-friction
	.globl	motion
	.type	motion, @function
motion:
.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, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR 16[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 28[rax]
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR 20[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	friction
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	motion, .-motion
	.globl	translate
	.type	translate, @function
translate:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 44[rax]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	cvttss2si	eax, xmm0
	add	DWORD PTR -4[rbp], eax
	jmp	.L50
.L52:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L51
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 44[rax]
	add	DWORD PTR -4[rbp], eax
	jmp	.L50
.L51:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 44[rax]
	sub	DWORD PTR -4[rbp], eax
.L50:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 44[rax]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L52
	cmp	DWORD PTR -4[rbp], 0
	js	.L52
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 48[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 20[rax]
	cvttss2si	ecx, xmm0
	mov	eax, edx
	sub	eax, ecx
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	translate, .-translate
	.globl	draw
	.type	draw, @function
draw:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -24[rbp]
	lea	rcx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	translate
	mov	WORD PTR -10[rbp], 9054
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 54[rax]
	mov	edx, eax
	add	edx, 1
	mov	ecx, edx
	mov	rdx, QWORD PTR -40[rbp]
	mov	WORD PTR 54[rdx], cx
	cwde
	mov	edx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	shr	edx, 5
	mov	DWORD PTR -16[rbp], edx
	mov	edx, DWORD PTR -16[rbp]
	imul	edx, edx, 100
	sub	eax, edx
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 50
	jbe	.L54
	mov	DWORD PTR -16[rbp], 0
	jmp	.L55
.L54:
	mov	DWORD PTR -16[rbp], 1
.L55:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	wclear@PLT
	mov	edx, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L57
	mov	eax, DWORD PTR -16[rbp]
	movzx	eax, BYTE PTR -10[rbp+rax]
	movsx	edx, al
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L57:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	draw, .-draw
	.globl	tick
	.type	tick, @function
tick:
.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	QWORD PTR -24[rbp], rdi
	mov	eax, 0
	call	time_stamp
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	cmp	QWORD PTR -8[rbp], rax
	jle	.L60
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	movss	xmm1, DWORD PTR .LC15[rip]
	divss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 40[rax], xmm0
.L60:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	gravity
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	motion
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	tick, .-tick
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	initscr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	call	cbreak@PLT
	call	noecho@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2097152
	mov	rdi, rax
	call	wattr_on@PLT
	call	echo@PLT
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR stdscr[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	BYTE PTR -12[rbp], 1
	lea	rax, -64[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	init_tick
	jmp	.L62
.L63:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	handle_input
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	tick
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	draw
.L62:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L63
	call	endwin@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	1101004800
	.align 4
.LC1:
	.long	1084227584
	.align 4
.LC2:
	.long	1068708659
	.align 8
.LC3:
	.long	-1717986918
	.long	1069128089
	.align 4
.LC4:
	.long	1036831949
	.align 4
.LC5:
	.long	1060320051
	.align 16
.LC6:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 4
.LC7:
	.long	1008981770
	.align 4
.LC8:
	.long	1048576000
	.align 4
.LC9:
	.long	1000593162
	.align 4
.LC11:
	.long	1056964608
	.align 8
.LC12:
	.long	-1717986918
	.long	1070176665
	.align 4
.LC13:
	.long	1073741824
	.align 8
.LC14:
	.long	1202590843
	.long	1065646817
	.align 4
.LC15:
	.long	1148846080
	.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	"138344.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	time_stamp
	.syntax unified
	.arm
	.fpu softvfp
	.type	time_stamp, %function
time_stamp:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-12]
	ldr	r2, .L4+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L4
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	274877907
	.size	time_stamp, .-time_stamp
	.align	2
	.global	on_resize
	.syntax unified
	.arm
	.fpu softvfp
	.type	on_resize, %function
on_resize:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L8
.L7:
	mvn	r3, #0
.L8:
	ldr	r2, [fp, #-8]
	str	r3, [r2, #40]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L10
.L9:
	mvn	r3, #0
.L10:
	ldr	r2, [fp, #-8]
	str	r3, [r2, #36]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	on_resize, .-on_resize
	.align	2
	.global	init_tick
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_tick, %function
init_tick:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	on_resize
	bl	time_stamp
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-8]
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r3, [fp, #-8]
	ldr	r2, .L12
	str	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, #1
	mov	r0, r3
	bl	wtimeout
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	1101004800
	.size	init_tick, .-init_tick
	.global	__aeabi_f2d
	.global	__aeabi_dcmplt
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_fsub
	.align	2
	.global	handle_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_input, %function
handle_input:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L29
	str	r3, [fp, #-20]	@ float
	ldr	r3, .L29+4
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-28]
	ldr	r2, .L29+8
	cmp	r3, r2
	beq	.L15
	ldr	r3, [fp, #-28]
	ldr	r2, .L29+8
	cmp	r3, r2
	bgt	.L28
	ldr	r3, [fp, #-28]
	ldr	r2, .L29+12
	cmp	r3, r2
	bgt	.L28
	ldr	r3, [fp, #-28]
	ldr	r2, .L29+16
	cmp	r3, r2
	bge	.L17
	ldr	r3, [fp, #-28]
	cmp	r3, #113
	beq	.L18
	ldr	r3, [fp, #-28]
	cmp	r3, #120
	beq	.L18
	b	.L28
.L17:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #256
	sub	r3, r3, #2
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L28
.L20:
	.word	.L23
	.word	.L22
	.word	.L21
	.word	.L19
.L15:
	ldr	r0, [fp, #-24]
	bl	on_resize
	b	.L24
.L22:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L29+20
	ldr	r3, .L29+24
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-24]
	ldr	r2, .L29+28
	str	r2, [r3, #20]	@ float
.L25:
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #20]	@ float
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]	@ float
	ldr	r1, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #20]	@ float
	b	.L24
.L23:
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #20]	@ float
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]	@ float
	ldr	r1, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #20]	@ float
	b	.L24
.L21:
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #16]	@ float
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]	@ float
	ldr	r1, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #16]	@ float
	b	.L24
.L19:
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #16]	@ float
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]	@ float
	ldr	r1, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #16]	@ float
	b	.L24
.L18:
	ldr	r3, [fp, #-24]
	mov	r2, #1
	strb	r2, [r3]
.L28:
	nop
.L24:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L30:
	.align	2
.L29:
	.word	1084227584
	.word	1068708659
	.word	410
	.word	261
	.word	258
	.word	-1717986918
	.word	1069128089
	.word	1036831949
	.size	handle_input, .-handle_input
	.align	2
	.global	do_bounce
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_bounce, %function
do_bounce:
	@ 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, .L32
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	eor	r2, r3, #-2147483648
	ldr	r3, [fp, #-16]
	str	r2, [r3, #20]	@ float
	ldr	r3, [fp, #-16]
	ldr	r2, .L32+4
	str	r2, [r3, #12]	@ float
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	1060320051
	.word	1008981770
	.size	do_bounce, .-do_bounce
	.global	__aeabi_fcmpgt
	.global	__aeabi_fcmplt
	.align	2
	.global	gravity
	.syntax unified
	.arm
	.fpu softvfp
	.type	gravity, %function
gravity:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	mov	r3, #1048576000
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]	@ float
	ldr	r1, .L47
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #20]	@ float
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]	@ float
	ldr	r1, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #20]	@ float
	b	.L46
.L45:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #20]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3, #44]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	ldr	r0, [fp, #-24]
	bl	do_bounce
	b	.L38
.L40:
	ldr	r3, [fp, #-24]
	ldr	r2, .L47+4
	str	r2, [r3, #20]	@ float
.L38:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	b	.L46
.L44:
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #12]	@ float
.L46:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L48:
	.align	2
.L47:
	.word	1000593162
	.word	1008981770
	.size	gravity, .-gravity
	.global	__aeabi_dcmpgt
	.align	2
	.global	friction
	.syntax unified
	.arm
	.fpu softvfp
	.type	friction, %function
friction:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	mov	r3, #1056964608
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L60
	ldr	r3, .L60+4
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-16]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
.L50:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]	@ float
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
.L52:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L60+8
	ldr	r3, .L60+12
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L60+8
	ldr	r3, .L60+12
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	b	.L59
.L54:
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #16]	@ float
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]	@ float
	ldr	r1, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #16]	@ float
.L59:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L61:
	.align	2
.L60:
	.word	-1717986918
	.word	1070176665
	.word	1202590843
	.word	1065646817
	.size	friction, .-friction
	.align	2
	.global	motion
	.syntax unified
	.arm
	.fpu softvfp
	.type	motion, %function
motion:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]	@ float
	ldr	r0, [fp, #-8]
	bl	friction
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	motion, .-motion
	.global	__aeabi_f2iz
	.align	2
	.global	translate
	.syntax unified
	.arm
	.fpu softvfp
	.type	translate, %function
translate:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	b	.L64
.L66:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L65
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L64
.L65:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
.L64:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L66
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L66
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #40]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	sub	r3, r4, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	translate, .-translate
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	draw
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw, %function
draw:
	@ 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, #-32]
	ldr	r3, .L73
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r2, fp, #24
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	translate
	ldr	r3, .L73+4
	strh	r3, [fp, #-12]	@ movhi
	ldr	r3, [fp, #-32]
	ldrsh	r3, [r3, #46]
	lsl	r2, r3, #16
	lsr	r2, r2, #16
	add	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	lsl	r2, r2, #16
	asr	r1, r2, #16
	ldr	r2, [fp, #-32]
	strh	r1, [r2, #46]	@ movhi
	mov	r2, r3
	ldr	r3, .L73+8
	umull	r1, r3, r2, r3
	lsr	r1, r3, #5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #50
	bls	.L68
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L69
.L68:
	mov	r3, #1
	str	r3, [fp, #-16]
.L69:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	wclear
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-24]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L71
	ldr	r3, [fp, #-32]
	ldr	r0, [r3, #4]
	sub	r2, fp, #12
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	bl	waddch
.L71:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	wrefresh
	nop
	ldr	r3, .L73
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC1
	.word	9054
	.word	1374389535
	.size	draw, .-draw
	.global	__aeabi_l2f
	.global	__aeabi_fdiv
	.align	2
	.global	tick
	.syntax unified
	.arm
	.fpu softvfp
	.type	tick, %function
tick:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	bl	time_stamp
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r1, r3, #24
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L76
	ldr	r3, [fp, #-24]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_l2f
	mov	r3, r0
	ldr	r1, .L77
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #32]	@ float
.L76:
	ldr	r1, [fp, #-24]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r0, [fp, #-24]
	bl	gravity
	ldr	r0, [fp, #-24]
	bl	motion
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L78:
	.align	2
.L77:
	.word	1148846080
	.size	tick, .-tick
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L84
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	initscr
	ldr	r3, .L84+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	bl	cbreak
	bl	noecho
	ldr	r3, .L84+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2097152
	mov	r0, r3
	bl	wattr_on
	bl	echo
	sub	r3, fp, #60
	mov	r2, #48
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L84+4
	ldr	r3, [r3]
	str	r3, [fp, #-56]
	mov	r3, #1
	strb	r3, [fp, #-16]
	sub	r3, fp, #60
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-64]
	bl	init_tick
	b	.L80
.L81:
	ldr	r3, .L84+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	handle_input
	ldr	r0, [fp, #-64]
	bl	tick
	ldr	r0, [fp, #-64]
	bl	draw
.L80:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L81
	bl	endwin
	mov	r3, #0
	ldr	r2, .L84
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L83
	bl	__stack_chk_fail
.L83:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L85:
	.align	2
.L84:
	.word	.LC2
	.word	stdscr
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
