	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function CG_PlayerFloatSprite
LCPI0_0:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_CG_PlayerFloatSprite:                  ## @CG_PlayerFloatSprite
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	_cg@GOTPCREL(%rip), %rsi
	movq	8(%rsi), %rdx
	xorl	%ecx, %ecx
	cmpl	$0, (%rsi)
	movl	$0, %ebx
	jne	LBB0_2
## %bb.1:
	movq	_RF_THIRD_PERSON@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
LBB0_2:
	cmpq	(%rdx), %rax
	cmovnel	%ecx, %ebx
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	(%r12), %edi
	movq	-64(%rbp), %rsi
	callq	_VectorCopy
	movq	-64(%rbp), %rax
	addl	$48, 8(%rax)
	movq	_RT_SPRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	%r14d, -40(%rbp)
	movl	$10, -56(%rbp)
	movl	%ebx, -52(%rbp)
	movq	-48(%rbp), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,255,255,255]
	movups	%xmm0, (%rax)
	movq	%r15, %rdi
	callq	_trap_R_AddRefEntityToScene
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,16,3                        ## @cg
	.comm	_RF_THIRD_PERSON,4,2            ## @RF_THIRD_PERSON
	.comm	_RT_SPRITE,4,2                  ## @RT_SPRITE
	.no_dead_strip	_CG_PlayerFloatSprite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_PlayerFloatSprite
_CG_PlayerFloatSprite:                  ; @CG_PlayerFloatSprite
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _cg@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cg@GOTPAGEOFF]
	ldr	x10, [x9, #8]
	ldr	x10, [x10]
	ldr	w9, [x9]
	cmp	w9, #0
	ccmp	x8, x10, #0, eq
Lloh2:
	adrp	x8, _RF_THIRD_PERSON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RF_THIRD_PERSON@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	csel	w21, wzr, w8, ne
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	w0, [x20]
	ldr	x1, [sp]
	bl	_VectorCopy
	ldr	x8, [sp]
	ldr	w9, [x8, #8]
	add	w9, w9, #48
	str	w9, [x8, #8]
Lloh5:
	adrp	x8, _RT_SPRITE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RT_SPRITE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w19, w8, [sp, #24]
	mov	w8, #10
	stp	w8, w21, [sp, #8]
	ldr	x8, [sp, #16]
	movi.2d	v0, #0x0000ff000000ff
	str	q0, [x8]
	mov	x0, sp
	bl	_trap_R_AddRefEntityToScene
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,16,3                        ; @cg
	.comm	_RF_THIRD_PERSON,4,2            ; @RF_THIRD_PERSON
	.comm	_RT_SPRITE,4,2                  ; @RT_SPRITE
	.no_dead_strip	_CG_PlayerFloatSprite
.subsections_via_symbols
