	.file	"321575.c"
	.intel_syntax noprefix
	.text
	.globl	handle_key
	.type	handle_key, @function
handle_key:
.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, 112
	mov	eax, edi
	mov	BYTE PTR -100[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	eax, BYTE PTR -100[rbp]
	cdqe
	lea	rdx, keys[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jns	.L33
	movzx	eax, BYTE PTR -100[rbp]
	cdqe
	lea	rdx, keys[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	and	eax, 1
	mov	DWORD PTR -88[rbp], eax
	movzx	eax, BYTE PTR -100[rbp]
	cdqe
	lea	rdx, keys[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movzx	eax, BYTE PTR -100[rbp]
	mov	ecx, edx
	and	ecx, 1
	cdqe
	lea	rdx, keys[rip]
	mov	BYTE PTR [rax+rdx], cl
	movzx	eax, BYTE PTR -100[rbp]
	cmp	eax, 80
	jg	.L4
	cmp	eax, 57
	jge	.L5
	cmp	eax, 18
	je	.L6
	cmp	eax, 18
	jg	.L4
	cmp	eax, 1
	je	.L7
	cmp	eax, 16
	je	.L8
	jmp	.L4
.L5:
	sub	eax, 57
	cmp	eax, 23
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L10[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L10[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L14-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L13-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L12-.L10
	.long	.L4-.L10
	.long	.L11-.L10
	.long	.L4-.L10
	.long	.L4-.L10
	.long	.L9-.L10
	.text
.L13:
	cmp	DWORD PTR -88[rbp], 0
	je	.L15
	movss	xmm0, DWORD PTR .LC0[rip]
	jmp	.L16
.L15:
	movss	xmm0, DWORD PTR .LC1[rip]
.L16:
	movss	xmm1, DWORD PTR dPitch[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR dPitch[rip], xmm0
	jmp	.L4
.L9:
	cmp	DWORD PTR -88[rbp], 0
	je	.L17
	movss	xmm0, DWORD PTR .LC1[rip]
	jmp	.L18
.L17:
	movss	xmm0, DWORD PTR .LC0[rip]
.L18:
	movss	xmm1, DWORD PTR dPitch[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR dPitch[rip], xmm0
	jmp	.L4
.L12:
	cmp	DWORD PTR -88[rbp], 0
	je	.L19
	movss	xmm0, DWORD PTR .LC0[rip]
	jmp	.L20
.L19:
	movss	xmm0, DWORD PTR .LC1[rip]
.L20:
	movss	xmm1, DWORD PTR dYaw[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR dYaw[rip], xmm0
	jmp	.L4
.L11:
	cmp	DWORD PTR -88[rbp], 0
	je	.L21
	movss	xmm0, DWORD PTR .LC1[rip]
	jmp	.L22
.L21:
	movss	xmm0, DWORD PTR .LC0[rip]
.L22:
	movss	xmm1, DWORD PTR dYaw[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR dYaw[rip], xmm0
	jmp	.L4
.L14:
	cmp	DWORD PTR -88[rbp], 0
	je	.L34
	movss	xmm1, DWORD PTR playerPos[rip+4]
	movss	xmm0, DWORD PTR .LC2[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR playerPos[rip+4], xmm0
	movss	xmm1, DWORD PTR velocity[rip+4]
	movss	xmm0, DWORD PTR .LC3[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR velocity[rip+4], xmm0
	jmp	.L34
.L8:
	cmp	DWORD PTR -88[rbp], 0
	jne	.L35
	mov	esi, 100
	mov	edi, 160
	call	ray_dir@PLT
	movq	rax, xmm0
	movaps	xmm0, xmm1
	mov	QWORD PTR -72[rbp], rax
	movss	DWORD PTR -64[rbp], xmm0
	lea	rax, -48[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	movss	xmm0, DWORD PTR -64[rbp]
	mov	rdx, QWORD PTR playerPos[rip]
	movss	xmm1, DWORD PTR playerPos[rip+8]
	mov	rdi, rax
	movq	xmm2, rcx
	movaps	xmm3, xmm0
	movq	xmm0, rdx
	call	raytrace
	mov	eax, DWORD PTR -48[rbp]
	test	eax, eax
	je	.L35
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -84[rbp], eax
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -80[rbp], eax
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	js	.L35
	cmp	DWORD PTR -80[rbp], 0
	js	.L35
	cmp	DWORD PTR -76[rbp], 0
	js	.L35
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR worldSX[rip]
	cmp	edx, eax
	jnb	.L35
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR worldSY[rip]
	cmp	edx, eax
	jnb	.L35
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR worldSZ[rip]
	cmp	edx, eax
	jnb	.L35
	mov	edx, DWORD PTR -76[rbp]
	mov	esi, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	ecx, 1
	mov	edi, eax
	call	set_block@PLT
	jmp	.L35
.L6:
	cmp	DWORD PTR -88[rbp], 0
	jne	.L36
	mov	esi, 100
	mov	edi, 160
	call	ray_dir@PLT
	movq	rax, xmm0
	movaps	xmm0, xmm1
	mov	QWORD PTR -60[rbp], rax
	movss	DWORD PTR -52[rbp], xmm0
	lea	rax, -48[rbp]
	mov	rcx, QWORD PTR -60[rbp]
	movss	xmm0, DWORD PTR -52[rbp]
	mov	rdx, QWORD PTR playerPos[rip]
	movss	xmm1, DWORD PTR playerPos[rip+8]
	mov	rdi, rax
	movq	xmm2, rcx
	movaps	xmm3, xmm0
	movq	xmm0, rdx
	call	raytrace
	mov	eax, DWORD PTR -48[rbp]
	test	eax, eax
	je	.L36
	mov	edx, DWORD PTR -36[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	set_block@PLT
	jmp	.L36
.L7:
	mov	eax, 0
	call	init_world@PLT
	jmp	.L4
.L34:
	nop
	jmp	.L4
.L35:
	nop
	jmp	.L4
.L36:
	nop
.L4:
	movss	xmm0, DWORD PTR dPitch[rip]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L31
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	je	.L26
.L31:
	mov	eax, DWORD PTR dPitch[rip]
	movd	xmm0, eax
	call	absf@PLT
	movaps	xmm1, xmm0
	movss	xmm0, DWORD PTR dPitch[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR dPitch[rip], xmm0
.L26:
	movss	xmm0, DWORD PTR dYaw[rip]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L32
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	je	.L1
.L32:
	mov	eax, DWORD PTR dYaw[rip]
	movd	xmm0, eax
	call	absf@PLT
	movaps	xmm1, xmm0
	movss	xmm0, DWORD PTR dYaw[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR dYaw[rip], xmm0
	jmp	.L1
.L33:
	nop
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	handle_key, .-handle_key
	.globl	update
	.type	update, @function
update:
.LFB1:
	.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
	movss	DWORD PTR -52[rbp], xmm0
	movss	xmm1, DWORD PTR dPitch[rip]
	movss	xmm0, DWORD PTR .LC5[rip]
	mulss	xmm0, xmm1
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -52[rbp]
	movss	xmm0, DWORD PTR pitch[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR pitch[rip], xmm0
	movss	xmm1, DWORD PTR dYaw[rip]
	movss	xmm0, DWORD PTR .LC5[rip]
	mulss	xmm0, xmm1
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -52[rbp]
	movss	xmm0, DWORD PTR yaw[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR yaw[rip], xmm0
	movss	xmm0, DWORD PTR yaw[rip]
	mov	eax, DWORD PTR pitch[rip]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	set_view@PLT
	pxor	xmm0, xmm0
	movss	DWORD PTR velocity[rip+8], xmm0
	movss	xmm0, DWORD PTR velocity[rip+8]
	movss	DWORD PTR velocity[rip], xmm0
	movzx	eax, BYTE PTR keys[rip+30]
	movzx	eax, al
	and	eax, 1
	test	eax, eax
	je	.L38
	movss	xmm3, DWORD PTR velocity[rip]
	movss	DWORD PTR -56[rbp], xmm3
	movss	xmm0, DWORD PTR yaw[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	subsd	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtsd2ss	xmm4, xmm0
	movd	eax, xmm4
	movd	xmm0, eax
	call	cosf@PLT
	movss	xmm1, DWORD PTR .LC7[rip]
	mulss	xmm0, xmm1
	addss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR velocity[rip], xmm0
	movss	xmm5, DWORD PTR velocity[rip+8]
	movss	DWORD PTR -56[rbp], xmm5
	movss	xmm0, DWORD PTR yaw[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	subsd	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtsd2ss	xmm6, xmm0
	movd	eax, xmm6
	movd	xmm0, eax
	call	sinf@PLT
	movss	xmm1, DWORD PTR .LC7[rip]
	mulss	xmm0, xmm1
	addss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR velocity[rip+8], xmm0
.L38:
	movzx	eax, BYTE PTR keys[rip+17]
	movzx	eax, al
	and	eax, 1
	test	eax, eax
	je	.L39
	movss	xmm7, DWORD PTR velocity[rip]
	movss	DWORD PTR -56[rbp], xmm7
	movss	xmm0, DWORD PTR yaw[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	subsd	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, xmm0
	movd	eax, xmm2
	movd	xmm0, eax
	call	cosf@PLT
	movss	xmm1, DWORD PTR .LC7[rip]
	mulss	xmm0, xmm1
	addss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR velocity[rip], xmm0
	movss	xmm4, DWORD PTR velocity[rip+8]
	movss	DWORD PTR -56[rbp], xmm4
	movss	xmm0, DWORD PTR yaw[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	subsd	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtsd2ss	xmm6, xmm0
	movd	eax, xmm6
	movd	xmm0, eax
	call	sinf@PLT
	movss	xmm1, DWORD PTR .LC7[rip]
	mulss	xmm0, xmm1
	addss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR velocity[rip+8], xmm0
.L39:
	movzx	eax, BYTE PTR keys[rip+31]
	movzx	eax, al
	and	eax, 1
	test	eax, eax
	je	.L40
	movss	xmm2, DWORD PTR velocity[rip]
	movss	DWORD PTR -56[rbp], xmm2
	movss	xmm0, DWORD PTR yaw[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	subsd	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtsd2ss	xmm3, xmm0
	movd	eax, xmm3
	movd	xmm0, eax
	call	cosf@PLT
	movss	xmm1, DWORD PTR .LC7[rip]
	mulss	xmm0, xmm1
	addss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR velocity[rip], xmm0
	movss	xmm5, DWORD PTR velocity[rip+8]
	movss	DWORD PTR -56[rbp], xmm5
	movss	xmm0, DWORD PTR yaw[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	subsd	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtsd2ss	xmm6, xmm0
	movd	eax, xmm6
	movd	xmm0, eax
	call	sinf@PLT
	movss	xmm1, DWORD PTR .LC7[rip]
	mulss	xmm0, xmm1
	addss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR velocity[rip+8], xmm0
.L40:
	movzx	eax, BYTE PTR keys[rip+32]
	movzx	eax, al
	and	eax, 1
	test	eax, eax
	je	.L41
	movss	xmm7, DWORD PTR velocity[rip]
	movss	DWORD PTR -56[rbp], xmm7
	movss	xmm0, DWORD PTR yaw[rip]
	movss	xmm1, DWORD PTR .LC10[rip]
	xorps	xmm0, xmm1
	movd	eax, xmm0
	movd	xmm0, eax
	call	cosf@PLT
	movss	xmm1, DWORD PTR .LC7[rip]
	mulss	xmm0, xmm1
	addss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR velocity[rip], xmm0
	movss	xmm3, DWORD PTR velocity[rip+8]
	movss	DWORD PTR -56[rbp], xmm3
	movss	xmm0, DWORD PTR yaw[rip]
	movss	xmm1, DWORD PTR .LC10[rip]
	xorps	xmm0, xmm1
	movd	eax, xmm0
	movd	xmm0, eax
	call	sinf@PLT
	movss	xmm1, DWORD PTR .LC7[rip]
	mulss	xmm0, xmm1
	addss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR velocity[rip+8], xmm0
.L41:
	movss	xmm0, DWORD PTR velocity[rip+4]
	movss	xmm2, DWORD PTR -52[rbp]
	movss	xmm1, DWORD PTR .LC11[rip]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	movss	DWORD PTR velocity[rip+4], xmm0
	mov	rax, QWORD PTR playerPos[rip]
	mov	QWORD PTR -36[rbp], rax
	mov	eax, DWORD PTR playerPos[rip+8]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR playerPos[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR playerPos[rip+8]
	mov	DWORD PTR -16[rbp], eax
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR .LC0[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	mov	rax, QWORD PTR playerPos[rip]
	mov	QWORD PTR -12[rbp], rax
	mov	eax, DWORD PTR playerPos[rip+8]
	mov	DWORD PTR -4[rbp], eax
	movss	xmm0, DWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR .LC12[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -36[rbp]
	movss	xmm1, DWORD PTR -28[rbp]
	lea	rdi, velocity[rip]
	movq	xmm0, rax
	call	handle_collision@PLT
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR -16[rbp]
	lea	rdi, velocity[rip]
	movq	xmm0, rax
	call	handle_collision@PLT
	mov	rax, QWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR -4[rbp]
	lea	rdi, velocity[rip]
	movq	xmm0, rax
	call	handle_collision@PLT
	movss	xmm1, DWORD PTR playerPos[rip]
	movss	xmm0, DWORD PTR velocity[rip]
	mulss	xmm0, DWORD PTR -52[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR playerPos[rip], xmm0
	movss	xmm1, DWORD PTR playerPos[rip+4]
	movss	xmm0, DWORD PTR velocity[rip+4]
	mulss	xmm0, DWORD PTR -52[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR playerPos[rip+4], xmm0
	movss	xmm1, DWORD PTR playerPos[rip+8]
	movss	xmm0, DWORD PTR velocity[rip+8]
	mulss	xmm0, DWORD PTR -52[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR playerPos[rip+8], xmm0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	update, .-update
	.globl	raytrace
	.type	raytrace, @function
raytrace:
.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, 192
	movq	rax, xmm0
	movaps	xmm4, xmm1
	movdqa	xmm1, xmm2
	movaps	xmm0, xmm3
	mov	QWORD PTR -184[rbp], rdi
	mov	QWORD PTR -160[rbp], rax
	movss	DWORD PTR -152[rbp], xmm4
	movq	QWORD PTR -176[rbp], xmm1
	movss	DWORD PTR -168[rbp], xmm0
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR -176[rbp]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L43
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jne	.L43
	movss	xmm0, DWORD PTR -172[rbp]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L43
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jne	.L43
	movss	xmm0, DWORD PTR -168[rbp]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L43
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	je	.L98
.L43:
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -152[rbp]
	mov	DWORD PTR -24[rbp], eax
	movss	xmm0, DWORD PTR -160[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -128[rbp], eax
	movss	xmm0, DWORD PTR -156[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -124[rbp], eax
	movss	xmm0, DWORD PTR -152[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -120[rbp], eax
	movss	xmm0, DWORD PTR -176[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jb	.L95
	mov	eax, 1
	jmp	.L50
.L95:
	mov	eax, -1
.L50:
	mov	DWORD PTR -112[rbp], eax
	movss	xmm0, DWORD PTR -172[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jb	.L96
	mov	eax, 1
	jmp	.L53
.L96:
	mov	eax, -1
.L53:
	mov	DWORD PTR -108[rbp], eax
	movss	xmm0, DWORD PTR -168[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jb	.L97
	mov	eax, 1
	jmp	.L56
.L97:
	mov	eax, -1
.L56:
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -112[rbp], 0
	jle	.L57
	movss	xmm0, DWORD PTR .LC0[rip]
	jmp	.L58
.L57:
	pxor	xmm0, xmm0
.L58:
	movss	DWORD PTR -100[rbp], xmm0
	cmp	DWORD PTR -108[rbp], 0
	jle	.L59
	movss	xmm0, DWORD PTR .LC0[rip]
	jmp	.L60
.L59:
	pxor	xmm0, xmm0
.L60:
	movss	DWORD PTR -96[rbp], xmm0
	cmp	DWORD PTR -104[rbp], 0
	jle	.L61
	movss	xmm0, DWORD PTR .LC0[rip]
	jmp	.L62
.L61:
	pxor	xmm0, xmm0
.L62:
	movss	DWORD PTR -92[rbp], xmm0
	cmp	DWORD PTR -112[rbp], 0
	setle	al
	movzx	eax, al
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -108[rbp], 0
	jle	.L63
	mov	eax, 2
	jmp	.L64
.L63:
	mov	eax, 3
.L64:
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -104[rbp], 0
	jle	.L65
	mov	eax, 4
	jmp	.L66
.L65:
	mov	eax, 5
.L66:
	mov	DWORD PTR -80[rbp], eax
	mov	DWORD PTR -116[rbp], 3
	jmp	.L67
.L80:
	mov	edx, DWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	get_block@PLT
	test	al, al
	je	.L68
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR -160[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -52[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR -156[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -48[rbp], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR -152[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -44[rbp], xmm0
	movss	xmm0, DWORD PTR -52[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR -48[rbp]
	mulss	xmm0, xmm0
	addss	xmm1, xmm0
	movss	xmm0, DWORD PTR -44[rbp]
	mulss	xmm0, xmm0
	addss	xmm0, xmm1
	movss	DWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -20[rbp], rax
	mov	eax, DWORD PTR -152[rbp]
	mov	DWORD PTR -12[rbp], eax
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -128[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -124[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR -12[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -120[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	cmp	QWORD PTR -184[rbp], 0
	je	.L69
	lea	rcx, -132[rbp]
	lea	rdx, -136[rbp]
	lea	rsi, -140[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	edi, eax
	call	face_normal@PLT
	mov	rax, QWORD PTR -184[rbp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR -128[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR -124[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR -120[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	edx, DWORD PTR -140[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	DWORD PTR 20[rax], edx
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -184[rbp]
	movss	xmm0, DWORD PTR -40[rbp]
	movss	DWORD PTR 28[rax], xmm0
	mov	eax, 0
	jmp	.L82
.L69:
	mov	eax, DWORD PTR -116[rbp]
	mov	rdx, QWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR -12[rbp]
	mov	edi, eax
	movq	xmm0, rdx
	call	tex_index@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	edi, DWORD PTR -116[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	r9, QWORD PTR -160[rbp]
	movss	xmm1, DWORD PTR -152[rbp]
	mov	edx, DWORD PTR -120[rbp]
	mov	esi, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -128[rbp]
	mov	r8d, edi
	movq	xmm0, r9
	mov	edi, eax
	call	ray_color@PLT
	jmp	.L82
.L68:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -128[rbp]
	movss	xmm1, DWORD PTR -160[rbp]
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR -100[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -76[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -124[rbp]
	movss	xmm1, DWORD PTR -156[rbp]
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR -96[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -72[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -120[rbp]
	movss	xmm1, DWORD PTR -152[rbp]
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR -92[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -68[rbp], xmm0
	movss	xmm1, DWORD PTR -176[rbp]
	movss	xmm0, DWORD PTR -76[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -64[rbp], xmm0
	movss	xmm1, DWORD PTR -172[rbp]
	movss	xmm0, DWORD PTR -72[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -60[rbp], xmm0
	movss	xmm1, DWORD PTR -168[rbp]
	movss	xmm0, DWORD PTR -68[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -56[rbp], xmm0
	movss	xmm0, DWORD PTR -60[rbp]
	comiss	xmm0, DWORD PTR -64[rbp]
	jb	.L72
	movss	xmm0, DWORD PTR -56[rbp]
	comiss	xmm0, DWORD PTR -64[rbp]
	jb	.L72
	movss	xmm0, DWORD PTR -160[rbp]
	addss	xmm0, DWORD PTR -76[rbp]
	movss	DWORD PTR -160[rbp], xmm0
	movss	xmm1, DWORD PTR -156[rbp]
	movss	xmm0, DWORD PTR -172[rbp]
	mulss	xmm0, DWORD PTR -64[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -156[rbp], xmm0
	movss	xmm1, DWORD PTR -152[rbp]
	movss	xmm0, DWORD PTR -168[rbp]
	mulss	xmm0, DWORD PTR -64[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -152[rbp], xmm0
	mov	eax, DWORD PTR -112[rbp]
	add	DWORD PTR -128[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -116[rbp], eax
.L72:
	movss	xmm0, DWORD PTR -64[rbp]
	comiss	xmm0, DWORD PTR -60[rbp]
	jb	.L75
	movss	xmm0, DWORD PTR -56[rbp]
	comiss	xmm0, DWORD PTR -60[rbp]
	jb	.L75
	movss	xmm1, DWORD PTR -160[rbp]
	movss	xmm0, DWORD PTR -176[rbp]
	mulss	xmm0, DWORD PTR -60[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -160[rbp], xmm0
	movss	xmm0, DWORD PTR -156[rbp]
	addss	xmm0, DWORD PTR -72[rbp]
	movss	DWORD PTR -156[rbp], xmm0
	movss	xmm1, DWORD PTR -152[rbp]
	movss	xmm0, DWORD PTR -168[rbp]
	mulss	xmm0, DWORD PTR -60[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -152[rbp], xmm0
	mov	eax, DWORD PTR -108[rbp]
	add	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -116[rbp], eax
.L75:
	movss	xmm0, DWORD PTR -64[rbp]
	comiss	xmm0, DWORD PTR -56[rbp]
	jnb	.L93
	jmp	.L67
.L93:
	movss	xmm0, DWORD PTR -60[rbp]
	comiss	xmm0, DWORD PTR -56[rbp]
	jnb	.L94
	jmp	.L67
.L94:
	movss	xmm1, DWORD PTR -160[rbp]
	movss	xmm0, DWORD PTR -176[rbp]
	mulss	xmm0, DWORD PTR -56[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -160[rbp], xmm0
	movss	xmm1, DWORD PTR -156[rbp]
	movss	xmm0, DWORD PTR -172[rbp]
	mulss	xmm0, DWORD PTR -56[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -156[rbp], xmm0
	movss	xmm0, DWORD PTR -152[rbp]
	addss	xmm0, DWORD PTR -68[rbp]
	movss	DWORD PTR -152[rbp], xmm0
	mov	eax, DWORD PTR -104[rbp]
	add	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -116[rbp], eax
.L67:
	cmp	DWORD PTR -128[rbp], 0
	js	.L99
	cmp	DWORD PTR -124[rbp], 0
	js	.L99
	cmp	DWORD PTR -120[rbp], 0
	js	.L99
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, DWORD PTR worldSX[rip]
	cmp	edx, eax
	jnb	.L99
	mov	edx, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR worldSY[rip]
	cmp	edx, eax
	jnb	.L99
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR worldSZ[rip]
	cmp	edx, eax
	jb	.L80
	jmp	.L99
.L98:
	nop
	jmp	.L47
.L99:
	nop
.L47:
	cmp	QWORD PTR -184[rbp], 0
	je	.L81
	mov	rax, QWORD PTR -184[rbp]
	mov	DWORD PTR [rax], 0
.L81:
	mov	eax, 2
.L82:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L83
	call	__stack_chk_fail@PLT
.L83:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	raytrace, .-raytrace
	.section	.rodata
	.align 4
.LC0:
	.long	1065353216
	.align 4
.LC1:
	.long	-1082130432
	.align 4
.LC2:
	.long	1036831949
	.align 4
.LC3:
	.long	1090519040
	.align 4
.LC5:
	.long	1067030938
	.align 8
.LC6:
	.long	1413754136
	.long	1074340347
	.align 4
.LC7:
	.long	1077936128
	.align 8
.LC8:
	.long	1413754136
	.long	-1074191877
	.align 8
.LC9:
	.long	1413754136
	.long	1073291771
	.align 16
.LC10:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 4
.LC11:
	.long	1101004800
	.align 4
.LC12:
	.long	1072064102
	.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	"321575.c"
	.text
	.global	__aeabi_fadd
	.global	__aeabi_fcmpeq
	.global	__aeabi_fdiv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	handle_key
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_key, %function
handle_key:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	mov	r3, r0
	strb	r3, [fp, #-85]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldrb	r3, [fp, #-85]	@ zero_extendqisi2
	ldr	r2, .L37+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	bge	.L33
	ldrb	r3, [fp, #-85]	@ zero_extendqisi2
	ldr	r2, .L37+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	and	r3, r3, #1
	str	r3, [fp, #-80]
	ldrb	r3, [fp, #-85]	@ zero_extendqisi2
	ldr	r2, .L37+4
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-85]	@ zero_extendqisi2
	and	r2, r2, #1
	and	r1, r2, #255
	ldr	r2, .L37+4
	strb	r1, [r2, r3]
	ldrb	r3, [fp, #-85]	@ zero_extendqisi2
	cmp	r3, #80
	bgt	.L4
	cmp	r3, #57
	bge	.L5
	cmp	r3, #18
	beq	.L6
	cmp	r3, #18
	bgt	.L4
	cmp	r3, #1
	beq	.L7
	cmp	r3, #16
	beq	.L8
	b	.L4
.L5:
	sub	r3, r3, #57
	cmp	r3, #23
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L10:
	.word	.L14
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L13
	.word	.L4
	.word	.L4
	.word	.L12
	.word	.L4
	.word	.L11
	.word	.L4
	.word	.L4
	.word	.L9
.L13:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L15
	mov	r3, #1065353216
	b	.L16
.L15:
	ldr	r3, .L37+8
.L16:
	ldr	r2, .L37+12
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+12
	str	r2, [r3]	@ float
	b	.L4
.L9:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L37+8
	b	.L18
.L17:
	mov	r3, #1065353216
.L18:
	ldr	r2, .L37+12
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+12
	str	r2, [r3]	@ float
	b	.L4
.L12:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L19
	mov	r3, #1065353216
	b	.L20
.L19:
	ldr	r3, .L37+8
.L20:
	ldr	r2, .L37+16
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+16
	str	r2, [r3]	@ float
	b	.L4
.L11:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L37+8
	b	.L22
.L21:
	mov	r3, #1065353216
.L22:
	ldr	r2, .L37+16
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+16
	str	r2, [r3]	@ float
	b	.L4
.L14:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L37+20
	ldr	r3, [r3, #4]	@ float
	ldr	r1, .L37+24
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+20
	str	r2, [r3, #4]	@ float
	ldr	r3, .L37+28
	ldr	r3, [r3, #4]	@ float
	mov	r1, #1090519040
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+28
	str	r2, [r3, #4]	@ float
	b	.L34
.L8:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L35
	sub	r3, fp, #64
	mov	r2, #100
	mov	r1, #160
	mov	r0, r3
	bl	ray_dir
	ldr	r2, .L37+20
	sub	r3, fp, #40
	str	r3, [sp, #8]
	mov	ip, sp
	sub	r3, fp, #60
	ldm	r3, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, [fp, #-64]
	ldm	r2, {r0, r1, r2}
	bl	raytrace
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L35
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-76]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	blt	.L35
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	blt	.L35
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	blt	.L35
	ldr	r2, [fp, #-76]
	ldr	r3, .L37+32
	ldr	r3, [r3]
	cmp	r2, r3
	bcs	.L35
	ldr	r2, [fp, #-72]
	ldr	r3, .L37+36
	ldr	r3, [r3]
	cmp	r2, r3
	bcs	.L35
	ldr	r2, [fp, #-68]
	ldr	r3, .L37+40
	ldr	r3, [r3]
	cmp	r2, r3
	bcs	.L35
	mov	r3, #1
	ldr	r2, [fp, #-68]
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-76]
	bl	set_block
	b	.L35
.L6:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L36
	sub	r3, fp, #52
	mov	r2, #100
	mov	r1, #160
	mov	r0, r3
	bl	ray_dir
	ldr	r2, .L37+20
	sub	r3, fp, #40
	str	r3, [sp, #8]
	mov	ip, sp
	sub	r3, fp, #48
	ldm	r3, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, [fp, #-52]
	ldm	r2, {r0, r1, r2}
	bl	raytrace
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L36
	ldr	r0, [fp, #-36]
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r3, #0
	bl	set_block
	b	.L36
.L7:
	bl	init_world
	b	.L4
.L34:
	nop
	b	.L4
.L35:
	nop
	b	.L4
.L36:
	nop
.L4:
	ldr	r3, .L37+12
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L37+12
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	absf
	mov	r2, r0
	ldr	r3, .L37+12
	ldr	r3, [r3]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+12
	str	r2, [r3]	@ float
.L26:
	ldr	r3, .L37+16
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L1
	ldr	r3, .L37+16
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	absf
	mov	r2, r0
	ldr	r3, .L37+16
	ldr	r3, [r3]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+16
	str	r2, [r3]	@ float
	b	.L1
.L33:
	nop
.L1:
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC0
	.word	keys
	.word	-1082130432
	.word	dPitch
	.word	dYaw
	.word	playerPos
	.word	1036831949
	.word	velocity
	.word	worldSX
	.word	worldSY
	.word	worldSZ
	.size	handle_key, .-handle_key
	.global	__aeabi_fmul
	.global	__aeabi_f2d
	.global	__aeabi_dsub
	.global	__aeabi_d2f
	.global	__aeabi_fsub
	.align	2
	.global	update
	.syntax unified
	.arm
	.fpu softvfp
	.type	update, %function
update:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-56]	@ float
	ldr	r3, .L44
	ldr	r3, [r3]	@ float
	ldr	r1, .L44+4
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L44+8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L44+8
	str	r2, [r3]	@ float
	ldr	r3, .L44+12
	ldr	r3, [r3]	@ float
	ldr	r1, .L44+4
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L44+16
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L44+16
	str	r2, [r3]	@ float
	ldr	r3, .L44+8
	ldr	r3, [r3]	@ float
	ldr	r2, .L44+16
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	set_view
	ldr	r3, .L44+20
	mov	r2, #0
	str	r2, [r3, #8]	@ float
	ldr	r3, .L44+20
	ldr	r3, [r3, #8]	@ float
	ldr	r2, .L44+20
	str	r3, [r2]	@ float
	ldr	r3, .L44+24
	ldrb	r3, [r3, #30]	@ zero_extendqisi2
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L44+20
	ldr	r4, [r3]	@ float
	ldr	r3, .L44+16
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L44+28
	ldr	r1, .L44+32
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	cosf
	mov	r3, r0
	ldr	r1, .L44+36
	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, .L44+20
	str	r2, [r3]	@ float
	ldr	r3, .L44+20
	ldr	r4, [r3, #8]	@ float
	ldr	r3, .L44+16
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L44+28
	ldr	r1, .L44+32
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	sinf
	mov	r3, r0
	ldr	r1, .L44+36
	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, .L44+20
	str	r2, [r3, #8]	@ float
.L40:
	ldr	r3, .L44+24
	ldrb	r3, [r3, #17]	@ zero_extendqisi2
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L44+20
	ldr	r4, [r3]	@ float
	ldr	r3, .L44+16
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L44+28
	ldr	r1, .L44+40
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	cosf
	mov	r3, r0
	ldr	r1, .L44+36
	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, .L44+20
	str	r2, [r3]	@ float
	ldr	r3, .L44+20
	ldr	r4, [r3, #8]	@ float
	ldr	r3, .L44+16
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L44+28
	ldr	r1, .L44+40
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	sinf
	mov	r3, r0
	ldr	r1, .L44+36
	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, .L44+20
	str	r2, [r3, #8]	@ float
.L41:
	ldr	r3, .L44+24
	ldrb	r3, [r3, #31]	@ zero_extendqisi2
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L42
	ldr	r3, .L44+20
	ldr	r4, [r3]	@ float
	ldr	r3, .L44+16
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L44+28
	ldr	r1, .L44+44
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	cosf
	mov	r3, r0
	ldr	r1, .L44+36
	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, .L44+20
	str	r2, [r3]	@ float
	ldr	r3, .L44+20
	ldr	r4, [r3, #8]	@ float
	ldr	r3, .L44+16
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L44+28
	ldr	r1, .L44+44
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	sinf
	mov	r3, r0
	ldr	r1, .L44+36
	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, .L44+20
	str	r2, [r3, #8]	@ float
.L42:
	ldr	r3, .L44+24
	ldrb	r3, [r3, #32]	@ zero_extendqisi2
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L44+20
	ldr	r4, [r3]	@ float
	ldr	r3, .L44+16
	ldr	r3, [r3]	@ float
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	cosf
	mov	r3, r0
	ldr	r1, .L44+36
	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, .L44+20
	str	r2, [r3]	@ float
	ldr	r3, .L44+20
	ldr	r4, [r3, #8]	@ float
	ldr	r3, .L44+16
	ldr	r3, [r3]	@ float
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	sinf
	mov	r3, r0
	ldr	r1, .L44+36
	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, .L44+20
	str	r2, [r3, #8]	@ float
.L43:
	ldr	r3, .L44+20
	ldr	r4, [r3, #4]	@ float
	ldr	r1, .L44+48
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L44+20
	str	r2, [r3, #4]	@ float
	ldr	r2, .L44+52
	sub	r3, fp, #48
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r2, .L44+52
	sub	r3, fp, #36
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-32]	@ float
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r2, .L44+52
	sub	r3, fp, #24
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-20]	@ float
	ldr	r1, .L44+56
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, .L44+20
	sub	r2, fp, #48
	ldm	r2, {r0, r1, r2}
	bl	handle_collision
	ldr	r3, .L44+20
	sub	r2, fp, #36
	ldm	r2, {r0, r1, r2}
	bl	handle_collision
	ldr	r3, .L44+20
	sub	r2, fp, #24
	ldm	r2, {r0, r1, r2}
	bl	handle_collision
	ldr	r3, .L44+52
	ldr	r4, [r3]	@ float
	ldr	r3, .L44+20
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-56]	@ 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, .L44+52
	str	r2, [r3]	@ float
	ldr	r3, .L44+52
	ldr	r4, [r3, #4]	@ float
	ldr	r3, .L44+20
	ldr	r3, [r3, #4]	@ float
	ldr	r1, [fp, #-56]	@ 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, .L44+52
	str	r2, [r3, #4]	@ float
	ldr	r3, .L44+52
	ldr	r4, [r3, #8]	@ float
	ldr	r3, .L44+20
	ldr	r3, [r3, #8]	@ float
	ldr	r1, [fp, #-56]	@ 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, .L44+52
	str	r2, [r3, #8]	@ float
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L45:
	.align	2
.L44:
	.word	dPitch
	.word	1067030938
	.word	pitch
	.word	dYaw
	.word	yaw
	.word	velocity
	.word	keys
	.word	1413754136
	.word	1074340347
	.word	1077936128
	.word	-1074191877
	.word	1073291771
	.word	1101004800
	.word	playerPos
	.word	1072064102
	.size	update, .-update
	.global	__aeabi_f2iz
	.global	__aeabi_fcmpge
	.global	__aeabi_i2f
	.global	__aeabi_fcmple
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	raytrace
	.syntax unified
	.arm
	.fpu softvfp
	.type	raytrace, %function
raytrace:
	@ args = 20, pretend = 8, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #172
	sub	ip, fp, #160
	stm	ip, {r0, r1, r2}
	str	r3, [fp, #8]
	ldr	r3, [fp, #20]
	str	r3, [fp, #-164]
	ldr	r3, .L104
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #8]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #12]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #16]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L102
.L47:
	sub	r3, fp, #40
	sub	r2, fp, #160
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-160]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-156]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-152]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-128]
	ldr	r3, [fp, #8]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L99
	mov	r3, #1
	b	.L54
.L99:
	mvn	r3, #0
.L54:
	str	r3, [fp, #-120]
	ldr	r3, [fp, #12]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L100
	mov	r3, #1
	b	.L57
.L100:
	mvn	r3, #0
.L57:
	str	r3, [fp, #-116]
	ldr	r3, [fp, #16]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L101
	mov	r3, #1
	b	.L60
.L101:
	mvn	r3, #0
.L60:
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	ble	.L61
	mov	r3, #1065353216
	b	.L62
.L61:
	mov	r3, #0
.L62:
	str	r3, [fp, #-108]	@ float
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	ble	.L63
	mov	r3, #1065353216
	b	.L64
.L63:
	mov	r3, #0
.L64:
	str	r3, [fp, #-104]	@ float
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	ble	.L65
	mov	r3, #1065353216
	b	.L66
.L65:
	mov	r3, #0
.L66:
	str	r3, [fp, #-100]	@ float
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	ble	.L67
	mov	r3, #2
	b	.L68
.L67:
	mov	r3, #3
.L68:
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	ble	.L69
	mov	r3, #4
	b	.L70
.L69:
	mov	r3, #5
.L70:
	str	r3, [fp, #-88]
	mov	r3, #3
	str	r3, [fp, #-124]
	b	.L71
.L84:
	ldr	r2, [fp, #-128]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-136]
	bl	get_block
	mov	r3, r0
	cmp	r3, #0
	beq	.L72
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-160]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-60]	@ float
	ldr	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-156]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-56]	@ float
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #-152]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-52]	@ float
	ldr	r1, [fp, #-60]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-56]	@ float
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-52]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	sub	r3, fp, #28
	sub	r2, fp, #160
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r4, [fp, #-28]	@ float
	ldr	r0, [fp, #-136]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r4, [fp, #-24]	@ float
	ldr	r0, [fp, #-132]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r4, [fp, #-20]	@ float
	ldr	r0, [fp, #-128]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	beq	.L73
	sub	r3, fp, #140
	sub	r2, fp, #144
	sub	r1, fp, #148
	ldr	r0, [fp, #-124]
	bl	face_normal
	ldr	r3, [fp, #-164]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-164]
	ldr	r2, [fp, #-136]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-164]
	ldr	r2, [fp, #-132]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-164]
	ldr	r2, [fp, #-128]
	str	r2, [r3, #12]
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-164]
	str	r2, [r3, #16]
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-164]
	str	r2, [r3, #20]
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-164]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-164]
	ldr	r2, [fp, #-48]	@ float
	str	r2, [r3, #28]	@ float
	mov	r3, #0
	b	.L86
.L73:
	ldr	r3, [fp, #-124]
	sub	r2, fp, #28
	ldm	r2, {r0, r1, r2}
	bl	tex_index
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-124]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-44]
	str	r3, [sp, #8]
	mov	r2, sp
	sub	r3, fp, #156
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-160]
	ldr	r2, [fp, #-128]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-136]
	bl	ray_color
	mov	r3, r0
	b	.L86
.L72:
	ldr	r0, [fp, #-136]
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-160]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-108]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-84]	@ float
	ldr	r0, [fp, #-132]
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-156]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-104]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-80]	@ float
	ldr	r0, [fp, #-128]
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-152]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-100]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-76]	@ float
	ldr	r3, [fp, #8]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-84]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-72]	@ float
	ldr	r3, [fp, #12]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-80]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-68]	@ float
	ldr	r3, [fp, #16]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-76]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-64]	@ float
	ldr	r1, [fp, #-68]	@ float
	ldr	r0, [fp, #-72]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	ldr	r1, [fp, #-64]	@ float
	ldr	r0, [fp, #-72]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	ldr	r3, [fp, #-160]	@ float
	ldr	r1, [fp, #-84]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-160]	@ float
	ldr	r4, [fp, #-156]	@ float
	ldr	r3, [fp, #12]	@ float
	ldr	r1, [fp, #-72]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-156]	@ float
	ldr	r4, [fp, #-152]	@ float
	ldr	r3, [fp, #16]	@ float
	ldr	r1, [fp, #-72]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-152]	@ float
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-124]
.L76:
	ldr	r1, [fp, #-72]	@ float
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L79
	ldr	r1, [fp, #-64]	@ float
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L79
	ldr	r4, [fp, #-160]	@ float
	ldr	r3, [fp, #8]	@ float
	ldr	r1, [fp, #-68]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-160]	@ float
	ldr	r3, [fp, #-156]	@ float
	ldr	r1, [fp, #-80]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-156]	@ float
	ldr	r4, [fp, #-152]	@ float
	ldr	r3, [fp, #16]	@ float
	ldr	r1, [fp, #-68]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-152]	@ float
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-124]
.L79:
	ldr	r1, [fp, #-72]	@ float
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L97
	b	.L71
.L97:
	ldr	r1, [fp, #-68]	@ float
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L98
	b	.L71
.L98:
	ldr	r4, [fp, #-160]	@ float
	ldr	r3, [fp, #8]	@ float
	ldr	r1, [fp, #-64]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-160]	@ float
	ldr	r4, [fp, #-156]	@ float
	ldr	r3, [fp, #12]	@ float
	ldr	r1, [fp, #-64]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-156]	@ float
	ldr	r3, [fp, #-152]	@ float
	ldr	r1, [fp, #-76]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-152]	@ float
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-112]
	add	r3, r2, r3
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-124]
.L71:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	blt	.L103
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	blt	.L103
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	blt	.L103
	ldr	r2, [fp, #-136]
	ldr	r3, .L104+4
	ldr	r3, [r3]
	cmp	r2, r3
	bcs	.L103
	ldr	r2, [fp, #-132]
	ldr	r3, .L104+8
	ldr	r3, [r3]
	cmp	r2, r3
	bcs	.L103
	ldr	r2, [fp, #-128]
	ldr	r3, .L104+12
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L84
	b	.L103
.L102:
	nop
	b	.L51
.L103:
	nop
.L51:
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	beq	.L85
	ldr	r3, [fp, #-164]
	mov	r2, #0
	str	r2, [r3]
.L85:
	mov	r3, #2
.L86:
	ldr	r2, .L104
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L87
	bl	__stack_chk_fail
.L87:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, lr}
	add	sp, sp, #8
	bx	lr
.L105:
	.align	2
.L104:
	.word	.LC1
	.word	worldSX
	.word	worldSY
	.word	worldSZ
	.size	raytrace, .-raytrace
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
