	.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_AdjustAngles
LCPI0_0:
	.quad	0x3f50624dd2f1a9fc              ## double 0.001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CL_AdjustAngles
	.p2align	4, 0x90
_CL_AdjustAngles:                       ## @CL_AdjustAngles
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_in_speed@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_cls@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	je	LBB0_2
## %bb.1:
	movq	_cl_anglespeedkey@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	mulsd	(%rax), %xmm0
LBB0_2:
	cvtsd2ss	%xmm0, %xmm0
	movq	_in_strafe@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movss	%xmm0, -32(%rbp)                ## 4-byte Spill
	jne	LBB0_4
## %bb.3:
	movq	_cl_yawspeed@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, -28(%rbp)                ## 4-byte Spill
	movq	_in_right@GOTPCREL(%rip), %rdi
	callq	_CL_KeyState
	movq	_cl@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_YAW@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movss	(%rax,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	subss	%xmm0, %xmm1
	movss	%xmm1, (%rax,%rcx,4)
	movq	(%r14), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	-32(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movq	_in_left@GOTPCREL(%rip), %rdi
	callq	_CL_KeyState
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	mulss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	(%rax,%rcx,4), %xmm0
	movss	%xmm0, (%rax,%rcx,4)
	movss	-32(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_4:
	movq	_cl_pitchspeed@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, -28(%rbp)                ## 4-byte Spill
	movq	_in_lookup@GOTPCREL(%rip), %rdi
	callq	_CL_KeyState
	movq	_cl@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_PITCH@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movss	(%rax,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	subss	%xmm0, %xmm1
	movss	%xmm1, (%rax,%rcx,4)
	movq	(%r14), %rax
	movss	-32(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	(%rax), %xmm0
	movss	%xmm0, -32(%rbp)                ## 4-byte Spill
	movq	_in_lookdown@GOTPCREL(%rip), %rdi
	callq	_CL_KeyState
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	mulss	-32(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	(%rax,%rcx,4), %xmm0
	movss	%xmm0, (%rax,%rcx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_in_speed,8,3                   ## @in_speed
	.comm	_cls,8,3                        ## @cls
	.comm	_cl_anglespeedkey,8,3           ## @cl_anglespeedkey
	.comm	_in_strafe,4,2                  ## @in_strafe
	.comm	_cl_yawspeed,8,3                ## @cl_yawspeed
	.comm	_in_right,4,2                   ## @in_right
	.comm	_cl,8,3                         ## @cl
	.comm	_YAW,8,3                        ## @YAW
	.comm	_in_left,4,2                    ## @in_left
	.comm	_cl_pitchspeed,8,3              ## @cl_pitchspeed
	.comm	_in_lookup,4,2                  ## @in_lookup
	.comm	_PITCH,8,3                      ## @PITCH
	.comm	_in_lookdown,4,2                ## @in_lookdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_AdjustAngles                ; -- Begin function CL_AdjustAngles
	.p2align	2
_CL_AdjustAngles:                       ; @CL_AdjustAngles
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset b8, -56
	.cfi_offset b9, -64
Lloh0:
	adrp	x8, _in_speed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _in_speed@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _cls@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cls@GOTPAGEOFF]
Lloh5:
	ldr	d0, [x9]
	mov	x9, #43516
	movk	x9, #54001, lsl #16
	movk	x9, #25165, lsl #32
	movk	x9, #16208, lsl #48
	fmov	d1, x9
	fmul	d0, d0, d1
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _cl_anglespeedkey@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cl_anglespeedkey@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	d1, [x8]
	fmul	d0, d0, d1
LBB0_2:
	fcvt	s8, d0
Lloh9:
	adrp	x8, _in_strafe@GOTPAGE
Lloh10:
	ldr	x8, [x8, _in_strafe@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x19, _cl@GOTPAGE
Lloh13:
	ldr	x19, [x19, _cl@GOTPAGEOFF]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh14:
	adrp	x20, _cl_yawspeed@GOTPAGE
Lloh15:
	ldr	x20, [x20, _cl_yawspeed@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	s9, [x8]
Lloh16:
	adrp	x0, _in_right@GOTPAGE
Lloh17:
	ldr	x0, [x0, _in_right@GOTPAGEOFF]
	bl	_CL_KeyState
	ldr	x8, [x19]
Lloh18:
	adrp	x21, _YAW@GOTPAGE
Lloh19:
	ldr	x21, [x21, _YAW@GOTPAGEOFF]
	ldr	x9, [x21]
	lsl	x9, x9, #2
	ldr	s1, [x8, x9]
	fneg	s2, s9
	fmul	s2, s8, s2
	fmadd	s0, s2, s0, s1
	str	s0, [x8, x9]
	ldr	x8, [x20]
	ldr	s0, [x8]
	fmul	s9, s0, s8
Lloh20:
	adrp	x0, _in_left@GOTPAGE
Lloh21:
	ldr	x0, [x0, _in_left@GOTPAGEOFF]
	bl	_CL_KeyState
	ldr	x8, [x19]
	ldr	x9, [x21]
	lsl	x9, x9, #2
	ldr	s1, [x8, x9]
	fmadd	s0, s9, s0, s1
	str	s0, [x8, x9]
LBB0_4:
Lloh22:
	adrp	x20, _cl_pitchspeed@GOTPAGE
Lloh23:
	ldr	x20, [x20, _cl_pitchspeed@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	s9, [x8]
Lloh24:
	adrp	x0, _in_lookup@GOTPAGE
Lloh25:
	ldr	x0, [x0, _in_lookup@GOTPAGEOFF]
	bl	_CL_KeyState
	ldr	x8, [x19]
Lloh26:
	adrp	x21, _PITCH@GOTPAGE
Lloh27:
	ldr	x21, [x21, _PITCH@GOTPAGEOFF]
	ldr	x9, [x21]
	lsl	x9, x9, #2
	ldr	s1, [x8, x9]
	fneg	s2, s9
	fmul	s2, s8, s2
	fmadd	s0, s2, s0, s1
	str	s0, [x8, x9]
	ldr	x8, [x20]
	ldr	s0, [x8]
	fmul	s8, s0, s8
Lloh28:
	adrp	x0, _in_lookdown@GOTPAGE
Lloh29:
	ldr	x0, [x0, _in_lookdown@GOTPAGEOFF]
	bl	_CL_KeyState
	ldr	x8, [x19]
	ldr	x9, [x21]
	lsl	x9, x9, #2
	ldr	s1, [x8, x9]
	fmadd	s0, s8, s0, s1
	str	s0, [x8, x9]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_in_speed,8,3                   ; @in_speed
	.comm	_cls,8,3                        ; @cls
	.comm	_cl_anglespeedkey,8,3           ; @cl_anglespeedkey
	.comm	_in_strafe,4,2                  ; @in_strafe
	.comm	_cl_yawspeed,8,3                ; @cl_yawspeed
	.comm	_in_right,4,2                   ; @in_right
	.comm	_cl,8,3                         ; @cl
	.comm	_YAW,8,3                        ; @YAW
	.comm	_in_left,4,2                    ; @in_left
	.comm	_cl_pitchspeed,8,3              ; @cl_pitchspeed
	.comm	_in_lookup,4,2                  ; @in_lookup
	.comm	_PITCH,8,3                      ; @PITCH
	.comm	_in_lookdown,4,2                ; @in_lookdown
.subsections_via_symbols
