	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function CL_JoystickMove
LCPI0_0:
	.quad	0x3f50624dd2f1a9fc              ## double 0.001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CL_JoystickMove
	.p2align	4, 0x90
_CL_JoystickMove:                       ## @CL_JoystickMove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_j_yaw@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	_cl@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_j_yaw_axis@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movss	(%rax,%rcx,4), %xmm10           ## xmm10 = mem[0],zero,zero,zero
	movq	_j_side@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movss	(%rcx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movq	_j_side_axis@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movss	(%rax,%rcx,4), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	movq	_j_forward@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movss	(%rcx), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	movq	_j_forward_axis@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movss	(%rax,%rcx,4), %xmm8            ## xmm8 = mem[0],zero,zero,zero
	movq	_j_pitch@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movss	(%rcx), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	movq	_j_pitch_axis@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movss	(%rax,%rcx,4), %xmm9            ## xmm9 = mem[0],zero,zero,zero
	movq	_j_up@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movss	(%rcx), %xmm7                   ## xmm7 = mem[0],zero,zero,zero
	movq	_j_up_axis@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movss	(%rax,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movq	_in_speed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cl_run@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_BUTTON_WALKING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 24(%rbx)
LBB0_2:
	movq	_cls@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm6                   ## xmm6 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm6
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_cl_anglespeedkey@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	mulsd	(%rax), %xmm6
LBB0_4:
	cvtsd2ss	%xmm6, %xmm6
	mulss	%xmm3, %xmm1
	movq	_in_strafe@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	mulss	%xmm10, %xmm0
	movq	8(%r14), %rax
	movq	_YAW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movss	%xmm7, -36(%rbp)                ## 4-byte Spill
	movss	%xmm2, -32(%rbp)                ## 4-byte Spill
	je	LBB0_5
## %bb.6:
	movaps	%xmm1, %xmm3
	jmp	LBB0_7
LBB0_5:
	movaps	%xmm0, %xmm3
	movaps	%xmm1, %xmm0
LBB0_7:
	mulss	%xmm9, %xmm4
	movss	%xmm4, -24(%rbp)                ## 4-byte Spill
	mulss	%xmm8, %xmm5
	movss	%xmm5, -20(%rbp)                ## 4-byte Spill
	movss	%xmm6, -28(%rbp)                ## 4-byte Spill
	mulss	%xmm6, %xmm3
	addss	(%rax,%rcx,4), %xmm3
	movss	%xmm3, (%rax,%rcx,4)
	cvttss2si	%xmm0, %edi
	addl	16(%rbx), %edi
	callq	_ClampChar
	movq	%rax, 16(%rbx)
	movq	_in_mlooking@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.9:
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-24(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	jmp	LBB0_10
LBB0_8:
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-20(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
LBB0_10:
	movss	-28(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movq	8(%r14), %rax
	movq	_PITCH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	mulss	%xmm0, %xmm2
	addss	(%rax,%rcx,4), %xmm2
	movss	%xmm2, (%rax,%rcx,4)
	cvttss2si	%xmm1, %edi
	addl	8(%rbx), %edi
	callq	_ClampChar
	movq	%rax, 8(%rbx)
	movss	-36(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	-32(%rbp), %xmm0                ## 4-byte Folded Reload
	cvttss2si	%xmm0, %edi
	addl	(%rbx), %edi
	callq	_ClampChar
	movq	%rax, (%rbx)
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_j_yaw,8,3                      ## @j_yaw
	.comm	_cl,16,3                        ## @cl
	.comm	_j_yaw_axis,8,3                 ## @j_yaw_axis
	.comm	_j_side,8,3                     ## @j_side
	.comm	_j_side_axis,8,3                ## @j_side_axis
	.comm	_j_forward,8,3                  ## @j_forward
	.comm	_j_forward_axis,8,3             ## @j_forward_axis
	.comm	_j_pitch,8,3                    ## @j_pitch
	.comm	_j_pitch_axis,8,3               ## @j_pitch_axis
	.comm	_j_up,8,3                       ## @j_up
	.comm	_j_up_axis,8,3                  ## @j_up_axis
	.comm	_in_speed,4,2                   ## @in_speed
	.comm	_cl_run,8,3                     ## @cl_run
	.comm	_BUTTON_WALKING,4,2             ## @BUTTON_WALKING
	.comm	_cls,8,3                        ## @cls
	.comm	_cl_anglespeedkey,8,3           ## @cl_anglespeedkey
	.comm	_in_strafe,4,2                  ## @in_strafe
	.comm	_YAW,8,3                        ## @YAW
	.comm	_in_mlooking,8,3                ## @in_mlooking
	.comm	_PITCH,8,3                      ## @PITCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_JoystickMove                ; -- Begin function CL_JoystickMove
	.p2align	2
_CL_JoystickMove:                       ; @CL_JoystickMove
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	.cfi_offset b12, -72
	.cfi_offset b13, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _j_yaw@GOTPAGE
Lloh1:
	ldr	x8, [x8, _j_yaw@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	s0, [x8]
Lloh3:
	adrp	x20, _cl@GOTPAGE
Lloh4:
	ldr	x20, [x20, _cl@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _j_yaw_axis@GOTPAGE
Lloh6:
	ldr	x9, [x9, _j_yaw_axis@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	s1, [x8, x9, lsl #2]
Lloh8:
	adrp	x9, _j_side@GOTPAGE
Lloh9:
	ldr	x9, [x9, _j_side@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	s2, [x9]
Lloh11:
	adrp	x9, _j_side_axis@GOTPAGE
Lloh12:
	ldr	x9, [x9, _j_side_axis@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	s3, [x8, x9, lsl #2]
Lloh14:
	adrp	x9, _j_forward@GOTPAGE
Lloh15:
	ldr	x9, [x9, _j_forward@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	s4, [x9]
Lloh17:
	adrp	x9, _j_forward_axis@GOTPAGE
Lloh18:
	ldr	x9, [x9, _j_forward_axis@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	s5, [x8, x9, lsl #2]
Lloh20:
	adrp	x9, _j_pitch@GOTPAGE
Lloh21:
	ldr	x9, [x9, _j_pitch@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	s6, [x9]
Lloh23:
	adrp	x9, _j_pitch_axis@GOTPAGE
Lloh24:
	ldr	x9, [x9, _j_pitch_axis@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	s7, [x8, x9, lsl #2]
Lloh26:
	adrp	x9, _j_up@GOTPAGE
Lloh27:
	ldr	x9, [x9, _j_up@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	ldr	s8, [x9]
Lloh29:
	adrp	x9, _j_up_axis@GOTPAGE
Lloh30:
	ldr	x9, [x9, _j_up_axis@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	s9, [x8, x9, lsl #2]
Lloh32:
	adrp	x8, _in_speed@GOTPAGE
Lloh33:
	ldr	x8, [x8, _in_speed@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _cl_run@GOTPAGE
Lloh36:
	ldr	x9, [x9, _cl_run@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh38:
	adrp	x9, _BUTTON_WALKING@GOTPAGE
Lloh39:
	ldr	x9, [x9, _BUTTON_WALKING@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	ldr	w10, [x19, #24]
	orr	w9, w10, w9
	str	w9, [x19, #24]
LBB0_2:
Lloh41:
	adrp	x9, _cls@GOTPAGE
Lloh42:
	ldr	x9, [x9, _cls@GOTPAGEOFF]
Lloh43:
	ldr	d16, [x9]
	mov	x9, #43516
	movk	x9, #54001, lsl #16
	movk	x9, #25165, lsl #32
	movk	x9, #16208, lsl #48
	fmov	d17, x9
	fmul	d16, d16, d17
	cbz	w8, LBB0_4
; %bb.3:
Lloh44:
	adrp	x8, _cl_anglespeedkey@GOTPAGE
Lloh45:
	ldr	x8, [x8, _cl_anglespeedkey@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	ldr	d17, [x8]
	fmul	d16, d16, d17
LBB0_4:
	fmul	s10, s6, s7
	fmul	s11, s4, s5
	fmul	s2, s2, s3
	fmul	s0, s0, s1
	fcvt	s12, d16
Lloh47:
	adrp	x8, _in_strafe@GOTPAGE
Lloh48:
	ldr	x8, [x8, _in_strafe@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	ldr	x9, [x20, #8]
Lloh50:
	adrp	x10, _YAW@GOTPAGE
Lloh51:
	ldr	x10, [x10, _YAW@GOTPAGEOFF]
Lloh52:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	s1, [x9, x10]
	cmp	w8, #0
	fcsel	s3, s0, s2, eq
	fcsel	s0, s2, s0, eq
	fmadd	s1, s12, s3, s1
	str	s1, [x9, x10]
	ldr	w8, [x19, #16]
	fcvtzs	w9, s0
	add	w0, w8, w9
	bl	_ClampChar
	str	x0, [x19, #16]
Lloh53:
	adrp	x8, _in_mlooking@GOTPAGE
Lloh54:
	ldr	x8, [x8, _in_mlooking@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	cmp	x8, #0
	fcsel	s0, s10, s11, eq
	fcsel	s1, s11, s10, eq
Lloh56:
	adrp	x8, _PITCH@GOTPAGE
Lloh57:
	ldr	x8, [x8, _PITCH@GOTPAGEOFF]
	ldr	x9, [x20, #8]
Lloh58:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldr	s2, [x9, x8]
	fmadd	s0, s12, s0, s2
	str	s0, [x9, x8]
	ldr	w8, [x19, #8]
	fcvtzs	w9, s1
	add	w0, w8, w9
	bl	_ClampChar
	str	x0, [x19, #8]
	fmul	s0, s8, s9
	ldr	w8, [x19]
	fcvtzs	w9, s0
	add	w0, w8, w9
	bl	_ClampChar
	str	x0, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_j_yaw,8,3                      ; @j_yaw
	.comm	_cl,16,3                        ; @cl
	.comm	_j_yaw_axis,8,3                 ; @j_yaw_axis
	.comm	_j_side,8,3                     ; @j_side
	.comm	_j_side_axis,8,3                ; @j_side_axis
	.comm	_j_forward,8,3                  ; @j_forward
	.comm	_j_forward_axis,8,3             ; @j_forward_axis
	.comm	_j_pitch,8,3                    ; @j_pitch
	.comm	_j_pitch_axis,8,3               ; @j_pitch_axis
	.comm	_j_up,8,3                       ; @j_up
	.comm	_j_up_axis,8,3                  ; @j_up_axis
	.comm	_in_speed,4,2                   ; @in_speed
	.comm	_cl_run,8,3                     ; @cl_run
	.comm	_BUTTON_WALKING,4,2             ; @BUTTON_WALKING
	.comm	_cls,8,3                        ; @cls
	.comm	_cl_anglespeedkey,8,3           ; @cl_anglespeedkey
	.comm	_in_strafe,4,2                  ; @in_strafe
	.comm	_YAW,8,3                        ; @YAW
	.comm	_in_mlooking,8,3                ; @in_mlooking
	.comm	_PITCH,8,3                      ; @PITCH
.subsections_via_symbols
