	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_ScanForCrosshairEntity
_CG_ScanForCrosshairEntity:             ## @CG_ScanForCrosshairEntity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_cg@GOTPCREL(%rip), %rbx
	movl	32(%rbx), %edi
	callq	_VectorCopy
	movq	24(%rbx), %rax
	movl	(%rax), %edx
	movl	$131072, %esi                   ## imm = 0x20000
	callq	_VectorMA
	movq	_vec3_origin@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%rbx), %rax
	movl	(%rax), %r9d
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %rax
	movq	_CONTENTS_BODY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movl	%edx, (%rsp)
	leaq	-24(%rbp), %rdi
	movl	%ecx, %edx
	callq	_CG_Trace
	movq	-24(%rbp), %rax
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_4
## %bb.1:
	movl	-16(%rbp), %edi
	xorl	%esi, %esi
	callq	_CG_PointContents
	movq	_CONTENTS_FOG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.2:
	movq	_cg_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	-24(%rbp), %rax
	movl	(%rcx,%rax,4), %ecx
	movq	_PW_INVIS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	btl	%edx, %ecx
	jb	LBB0_4
## %bb.3:
	movq	%rax, (%rbx)
	movl	8(%rbx), %eax
	movl	%eax, 12(%rbx)
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,40,3                        ## @cg
	.comm	_vec3_origin,4,2                ## @vec3_origin
	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
	.comm	_CONTENTS_BODY,4,2              ## @CONTENTS_BODY
	.comm	_MAX_CLIENTS,8,3                ## @MAX_CLIENTS
	.comm	_CONTENTS_FOG,4,2               ## @CONTENTS_FOG
	.comm	_cg_entities,8,3                ## @cg_entities
	.comm	_PW_INVIS,4,2                   ## @PW_INVIS
	.no_dead_strip	_CG_ScanForCrosshairEntity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_ScanForCrosshairEntity
_CG_ScanForCrosshairEntity:             ; @CG_ScanForCrosshairEntity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _cg@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cg@GOTPAGEOFF]
	ldr	w0, [x19, #32]
	bl	_VectorCopy
	ldr	x8, [x19, #24]
	ldr	w2, [x8]
	mov	w1, #131072
	bl	_VectorMA
Lloh2:
	adrp	x8, _vec3_origin@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vec3_origin@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	ldr	x8, [x19, #16]
Lloh5:
	adrp	x9, _CONTENTS_SOLID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CONTENTS_SOLID@GOTPAGEOFF]
	ldr	w5, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _CONTENTS_BODY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CONTENTS_BODY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w6, w9, w8
	mov	x0, sp
	mov	x3, x2
	bl	_CG_Trace
	ldr	x8, [sp]
Lloh11:
	adrp	x9, _MAX_CLIENTS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAX_CLIENTS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_4
; %bb.1:
	ldr	w0, [sp, #8]
	mov	w1, #0
	bl	_CG_PointContents
Lloh14:
	adrp	x8, _CONTENTS_FOG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CONTENTS_FOG@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.2:
Lloh17:
	adrp	x8, _cg_entities@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cg_entities@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x8]
	ldr	x8, [sp]
	ldr	w9, [x9, x8, lsl #2]
Lloh20:
	adrp	x10, _PW_INVIS@GOTPAGE
Lloh21:
	ldr	x10, [x10, _PW_INVIS@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	lsr	w9, w9, w10
	tbnz	w9, #0, LBB0_4
; %bb.3:
	str	x8, [x19]
	ldr	w8, [x19, #8]
	str	w8, [x19, #12]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,40,3                        ; @cg
	.comm	_vec3_origin,4,2                ; @vec3_origin
	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
	.comm	_CONTENTS_BODY,4,2              ; @CONTENTS_BODY
	.comm	_MAX_CLIENTS,8,3                ; @MAX_CLIENTS
	.comm	_CONTENTS_FOG,4,2               ; @CONTENTS_FOG
	.comm	_cg_entities,8,3                ; @cg_entities
	.comm	_PW_INVIS,4,2                   ; @PW_INVIS
	.no_dead_strip	_CG_ScanForCrosshairEntity
.subsections_via_symbols
