	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	2                               ## -- Begin function CG_PlayerAnimation
LCPI0_0:
	.long	0x3fc00000                      ## float 1.5
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_CG_PlayerAnimation:                    ## @CG_PlayerAnimation
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	_cg_noPlayerAnims@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	$0, (%r9)
	movl	$0, (%r15)
	movl	$0, (%r12)
	movl	$0, (%r13)
	jmp	LBB0_6
LBB0_2:
	movq	%rdi, %rbx
	movslq	48(%rdi), %r14
	movq	_PW_HASTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	52(%rdi), %edi
	movl	56(%rbx), %edx
	xorl	%esi, %esi
	btl	%eax, %edi
	setae	%sil
	leaq	LCPI0_0(%rip), %rax
	movss	(%rax,%rsi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movq	_cgs@GOTPCREL(%rip), %rax
	shlq	$2, %r14
	leaq	24(%rbx), %rsi
	addq	(%rax), %r14
	cmpq	$0, 40(%rbx)
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.3:
	movq	_ANIM_TOGGLEBIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%edx, %eax
	movq	_LEGS_IDLE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movq	_LEGS_TURN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_5:
	movq	%r14, %rdi
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	callq	_CG_RunLerpFrame
	movl	24(%rbx), %eax
	movl	%eax, (%r13)
	movl	28(%rbx), %eax
	movl	%eax, (%r12)
	movss	32(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movss	%xmm0, (%rax)
	movl	60(%rbx), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_CG_RunLerpFrame
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movl	4(%rbx), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movss	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movq	16(%rbp), %rax
	movss	%xmm0, (%rax)
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg_noPlayerAnims,8,3           ## @cg_noPlayerAnims
	.comm	_PW_HASTE,4,2                   ## @PW_HASTE
	.comm	_cgs,8,3                        ## @cgs
	.comm	_ANIM_TOGGLEBIT,4,2             ## @ANIM_TOGGLEBIT
	.comm	_LEGS_IDLE,4,2                  ## @LEGS_IDLE
	.comm	_LEGS_TURN,4,2                  ## @LEGS_TURN
	.no_dead_strip	_CG_PlayerAnimation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_PlayerAnimation
_CG_PlayerAnimation:                    ; @CG_PlayerAnimation
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	mov	x20, x5
	mov	x21, x4
	mov	x23, x2
	mov	x25, x1
Lloh0:
	adrp	x8, _cg_noPlayerAnims@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg_noPlayerAnims@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	str	wzr, [x20]
	str	wzr, [x21]
	str	wzr, [x23]
	str	wzr, [x25]
	b	LBB0_5
LBB0_2:
	mov	x19, x6
	mov	x24, x3
	mov	x22, x0
	ldp	w8, w9, [x0, #48]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
Lloh3:
	adrp	x10, _PW_HASTE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PW_HASTE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsr	w9, w9, w10
	tst	w9, #0x1
	fmov	s0, #1.50000000
	fmov	s1, #1.00000000
Lloh6:
	adrp	x9, _cgs@GOTPAGE
Lloh7:
	ldr	x9, [x9, _cgs@GOTPAGEOFF]
	fcsel	s8, s1, s0, eq
Lloh8:
	ldr	x9, [x9]
	add	x26, x9, x8, lsl #2
	add	x1, x0, #24
	ldr	x8, [x0, #40]
	ldr	w2, [x0, #56]
	cbz	x8, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _ANIM_TOGGLEBIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ANIM_TOGGLEBIT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bic	w8, w2, w8
Lloh12:
	adrp	x9, _LEGS_IDLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LEGS_IDLE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _LEGS_TURN@GOTPAGE
Lloh16:
	ldr	x10, [x10, _LEGS_TURN@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w8, w9
	csel	w2, w10, w2, eq
LBB0_4:
	mov	x0, x26
	fmov	s0, s8
	bl	_CG_RunLerpFrame
	ldr	w8, [x22, #24]
	str	w8, [x25]
	ldr	w8, [x22, #28]
	str	w8, [x23]
	ldr	s0, [x22, #32]
	str	s0, [x24]
	ldr	w2, [x22, #60]
	mov	x0, x26
	mov	x1, x22
	fmov	s0, s8
	bl	_CG_RunLerpFrame
	ldr	w8, [x22]
	str	w8, [x21]
	ldr	w8, [x22, #4]
	str	w8, [x20]
	ldr	s0, [x22, #8]
	str	s0, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_cg_noPlayerAnims,8,3           ; @cg_noPlayerAnims
	.comm	_PW_HASTE,4,2                   ; @PW_HASTE
	.comm	_cgs,8,3                        ; @cgs
	.comm	_ANIM_TOGGLEBIT,4,2             ; @ANIM_TOGGLEBIT
	.comm	_LEGS_IDLE,4,2                  ; @LEGS_IDLE
	.comm	_LEGS_TURN,4,2                  ; @LEGS_TURN
	.no_dead_strip	_CG_PlayerAnimation
.subsections_via_symbols
