	.file	"extr_ui_players.c_UI_MovedirAdjustment.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	UI_MovedirAdjustment, @function
UI_MovedirAdjustment:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rdx, rbp
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r8d, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR [rdi]
	mov	edi, r8d
	call	VectorSubtract@PLT
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, rbx
	mov	rdi, rbp
	call	AngleVectors@PLT
	movsd	xmm0, QWORD PTR [rbx]
	call	Q_fabs@PLT
	movsd	xmm4, QWORD PTR .LC6[rip]
	comisd	xmm4, xmm0
	jbe	.L2
	mov	QWORD PTR ds:0, 0x000000000
.L2:
	movsd	xmm0, QWORD PTR ds:8
	call	Q_fabs@PLT
	movsd	xmm5, QWORD PTR .LC6[rip]
	comisd	xmm5, xmm0
	jbe	.L34
	xor	ebx, ebx
	pxor	xmm0, xmm0
	movsd	xmm1, QWORD PTR [rbx]
	mov	QWORD PTR 8[rbx], 0x000000000
	comisd	xmm1, xmm0
	jbe	.L40
.L6:
	pxor	xmm2, xmm2
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movaps	xmm0, xmm2
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	movsd	xmm1, QWORD PTR ds:8
	pxor	xmm0, xmm0
	ucomisd	xmm1, xmm0
	jnp	.L41
.L8:
	comisd	xmm0, xmm1
	jbe	.L16
	movsd	xmm3, QWORD PTR ds:0
.L20:
	comisd	xmm3, xmm0
	movss	xmm2, DWORD PTR .LC1[rip]
	ja	.L1
	ucomisd	xmm3, xmm0
	jnp	.L42
.L30:
	comisd	xmm0, xmm3
	ja	.L26
.L16:
	comisd	xmm1, xmm0
	jbe	.L26
	movsd	xmm1, QWORD PTR ds:0
	comisd	xmm0, xmm1
	ja	.L25
	ucomisd	xmm1, xmm0
	jnp	.L43
.L26:
	movss	xmm2, DWORD PTR .LC3[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	movaps	xmm0, xmm2
	ret
	.p2align 4,,10
	.p2align 3
.L40:
	.cfi_restore_state
	movapd	xmm1, xmm0
.L7:
	comisd	xmm0, QWORD PTR ds:0
	jbe	.L16
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L42:
	jne	.L30
	movss	xmm2, DWORD PTR .LC4[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L43:
	jne	.L26
	movss	xmm2, DWORD PTR .LC5[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	movss	xmm2, DWORD PTR .LC1[rip]
	jmp	.L1
.L41:
	jne	.L8
	movsd	xmm3, QWORD PTR ds:0
	comisd	xmm3, xmm0
	ja	.L6
	comisd	xmm0, xmm1
	ja	.L20
	ucomisd	xmm1, xmm0
	jp	.L16
	je	.L7
	jmp	.L16
	.cfi_endproc
.LFE0:
	.size	UI_MovedirAdjustment, .-UI_MovedirAdjustment
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1102053376
	.align 4
.LC3:
	.long	3249537024
	.align 4
.LC4:
	.long	1110704128
	.align 4
.LC5:
	.long	3258187776
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC6:
	.long	1202590843
	.long	1065646817
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ui_players.c_UI_MovedirAdjustment.c"
	.text
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmpeq
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	UI_MovedirAdjustment, %function
UI_MovedirAdjustment:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, #0
	ldr	r1, [r0]
	mov	r2, r5
	ldr	r0, [r0, #4]
	bl	VectorSubtract
	mov	r3, r5
	mov	r2, r5
	mov	r1, r5
	mov	r0, r5
	bl	AngleVectors
	ldmia	r5, {r0-r1}
	bl	Q_fabs
	ldr	r2, .L41
	ldr	r3, .L41+4
	bl	__aeabi_dcmplt
	cmp	r0, r5
	movne	r2, #0
	movne	r3, #0
	stmne	r5, {r2-r3}
.L2:
	mov	r4, #0
	add	r1, r4, #8
	ldmia	r1, {r0-r1}
	bl	Q_fabs
	ldr	r2, .L41
	ldr	r3, .L41+4
	bl	__aeabi_dcmplt
	cmp	r0, r4
	beq	.L31
	ldmia	r4, {r0-r1}
	mov	r6, #0
	mov	r7, #0
	mov	r2, r6
	mov	r3, r7
	str	r6, [r4, #8]
	str	r7, [r4, #12]
	bl	__aeabi_dcmpgt
	cmp	r0, r4
	beq	.L7
.L6:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L31:
	mov	r4, #0
	mov	r2, #0
	add	r7, r4, #8
	ldmia	r7, {r6-r7}
	mov	r3, #0
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmpeq
	cmp	r0, r4
	mov	r2, #0
	mov	r3, #0
	bne	.L39
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmplt
	cmp	r0, #0
	beq	.L15
.L19:
	mov	r4, #0
	mov	r2, #0
	ldmia	r4, {r4-r5}
	mov	r3, #0
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	cmp	r0, #0
	bne	.L24
	mov	r2, #0
	mov	r3, #0
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpeq
	cmp	r0, #0
	bne	.L21
	mov	r0, r4
	mov	r1, r5
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	cmp	r0, #0
	bne	.L36
.L15:
	mov	r0, r6
	mov	r1, r7
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	cmp	r0, #0
	beq	.L36
	mov	r4, #0
	mov	r2, #0
	ldmia	r4, {r4-r5}
	mov	r3, #0
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	cmp	r0, #0
	bne	.L24
	mov	r0, r4
	mov	r1, r5
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	cmp	r0, #0
	bne	.L40
.L36:
	ldr	r0, .L41+8
	pop	{r4, r5, r6, r7, r8, pc}
.L39:
	ldmia	r4, {r0-r1}
	bl	__aeabi_dcmpgt
	cmp	r0, r4
	bne	.L6
	mov	r2, #0
	mov	r3, #0
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmplt
	cmp	r0, #0
	bne	.L19
	mov	r2, #0
	mov	r3, #0
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmpeq
	cmp	r0, #0
	beq	.L15
.L7:
	mov	r4, #0
	mov	r2, #0
	ldmia	r4, {r0-r1}
	mov	r3, #0
	bl	__aeabi_dcmplt
	cmp	r0, r4
	beq	.L15
	b	.L6
.L24:
	ldr	r0, .L41+12
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	ldr	r0, .L41+16
	pop	{r4, r5, r6, r7, r8, pc}
.L40:
	ldr	r0, .L41+20
	pop	{r4, r5, r6, r7, r8, pc}
.L42:
	.align	2
.L41:
	.word	1202590843
	.word	1065646817
	.word	-1045430272
	.word	1102053376
	.word	1110704128
	.word	-1036779520
	.size	UI_MovedirAdjustment, .-UI_MovedirAdjustment
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
