	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function CG_DrawCrosshair3D
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x43b40000                      ## float 360
LCPI0_2:
	.long	0x44200000                      ## float 640
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_CG_DrawCrosshair3D:                    ## @CG_DrawCrosshair3D
	.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	$208, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_cg_drawCrosshair@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	_cg@GOTPCREL(%rip), %r14
	movq	32(%r14), %rcx
	movq	(%rcx), %rcx
	movq	_PERS_TEAM@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	_TEAM_SPECTATOR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.2:
	cmpq	$0, 24(%r14)
	jne	LBB0_7
## %bb.3:
	movq	_cg_crosshairSize@GOTPCREL(%rip), %rcx
	movss	(%r14), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	subss	4(%r14), %xmm0
	movss	(%rcx), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_6
## %bb.4:
	movq	_ITEM_BLOB_TIME@GOTPCREL(%rip), %rcx
	movss	(%rcx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_6
## %bb.5:
	divss	%xmm1, %xmm0
	addss	LCPI0_0(%rip), %xmm0
	mulss	%xmm0, %xmm2
LBB0_6:
	movss	%xmm2, -180(%rbp)               ## 4-byte Spill
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovlel	%ecx, %eax
	movq	_cgs@GOTPCREL(%rip), %r12
	movq	8(%r12), %rcx
	movq	_NUM_CROSSHAIRS@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%rcx,%rdx,4), %r15d
	leaq	L_.str(%rip), %rdi
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rsi
	movl	$128, %edx
	callq	_trap_Cvar_VariableStringBuffer
	movq	%rbx, %rdi
	callq	_atof
	movss	%xmm0, -188(%rbp)               ## 4-byte Spill
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	$128, %edx
	callq	_trap_Cvar_VariableStringBuffer
	movq	%rbx, %rdi
	callq	_atof
	movss	-188(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movss	%xmm1, -184(%rbp)               ## 4-byte Spill
	movss	8(%r14), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movq	_M_PI@GOTPCREL(%rip), %rax
	mulss	(%rax), %xmm0
	divss	LCPI0_1(%rip), %xmm0
	callq	_tan
	movaps	%xmm0, %xmm2
	movss	-188(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	movss	%xmm2, -192(%rbp)               ## 4-byte Spill
	movss	-184(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	(%r12), %xmm0
	mulss	%xmm1, %xmm0
	addss	%xmm2, %xmm2
	divss	%xmm2, %xmm0
	movss	%xmm0, -184(%rbp)               ## 4-byte Spill
	movl	12(%r14), %edi
	movq	16(%r14), %rax
	movl	(%rax), %esi
	callq	_VectorMA
	movl	12(%r14), %esi
	movq	_MASK_SHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-200(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_CG_Trace
	leaq	-224(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movq	_RF_DEPTHHACK@GOTPCREL(%rip), %rax
	movq	_RF_CROSSHAIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RT_SPRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -208(%rbp)
	movl	%ecx, -224(%rbp)
	movl	-196(%rbp), %edi
	movl	-212(%rbp), %esi
	callq	_VectorCopy
	movss	-180(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	divss	LCPI0_2(%rip), %xmm0
	mulss	-192(%rbp), %xmm0               ## 4-byte Folded Reload
	mulss	-200(%rbp), %xmm0
	mulss	-184(%rbp), %xmm0               ## 4-byte Folded Reload
	divss	-188(%rbp), %xmm0               ## 4-byte Folded Reload
	movss	%xmm0, -220(%rbp)
	movl	%r15d, -216(%rbp)
	movq	%rbx, %rdi
	callq	_trap_R_AddRefEntityToScene
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$208, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_cg_drawCrosshair,4,2           ## @cg_drawCrosshair
	.comm	_cg,40,3                        ## @cg
	.comm	_PERS_TEAM,8,3                  ## @PERS_TEAM
	.comm	_TEAM_SPECTATOR,8,3             ## @TEAM_SPECTATOR
	.comm	_cg_crosshairSize,4,2           ## @cg_crosshairSize
	.comm	_ITEM_BLOB_TIME,4,2             ## @ITEM_BLOB_TIME
	.comm	_cgs,16,3                       ## @cgs
	.comm	_NUM_CROSSHAIRS,4,2             ## @NUM_CROSSHAIRS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r_zProj"

L_.str.1:                               ## @.str.1
	.asciz	"r_stereoSeparation"

	.comm	_M_PI,4,2                       ## @M_PI
	.comm	_MASK_SHOT,4,2                  ## @MASK_SHOT
	.comm	_RT_SPRITE,4,2                  ## @RT_SPRITE
	.comm	_RF_DEPTHHACK,4,2               ## @RF_DEPTHHACK
	.comm	_RF_CROSSHAIR,4,2               ## @RF_CROSSHAIR
	.no_dead_strip	_CG_DrawCrosshair3D
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_DrawCrosshair3D
_CG_DrawCrosshair3D:                    ; @CG_DrawCrosshair3D
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	d11, d10, [sp, #176]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #192]              ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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
	.cfi_offset b10, -72
	.cfi_offset b11, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _cg_drawCrosshair@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cg_drawCrosshair@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.1:
Lloh6:
	adrp	x19, _cg@GOTPAGE
Lloh7:
	ldr	x19, [x19, _cg@GOTPAGEOFF]
	ldp	x10, x9, [x19, #24]
	ldr	x9, [x9]
Lloh8:
	adrp	x11, _PERS_TEAM@GOTPAGE
Lloh9:
	ldr	x11, [x11, _PERS_TEAM@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	ldr	x9, [x9, x11, lsl #3]
Lloh11:
	adrp	x11, _TEAM_SPECTATOR@GOTPAGE
Lloh12:
	ldr	x11, [x11, _TEAM_SPECTATOR@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x9, x11
	ccmp	x10, #0, #0, ne
	b.ne	LBB0_6
; %bb.2:
Lloh14:
	adrp	x9, _cg_crosshairSize@GOTPAGE
Lloh15:
	ldr	x9, [x9, _cg_crosshairSize@GOTPAGEOFF]
Lloh16:
	ldr	s10, [x9]
	ldp	s0, s1, [x19]
	fsub	s0, s0, s1
	fcmp	s0, #0.0
	b.le	LBB0_5
; %bb.3:
Lloh17:
	adrp	x9, _ITEM_BLOB_TIME@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ITEM_BLOB_TIME@GOTPAGEOFF]
Lloh19:
	ldr	s1, [x9]
	fcmp	s0, s1
	b.pl	LBB0_5
; %bb.4:
	fdiv	s0, s0, s1
	fmov	s1, #1.00000000
	fadd	s0, s0, s1
	fmul	s10, s10, s0
LBB0_5:
	cmp	w8, #0
	csel	w8, w8, wzr, gt
Lloh20:
	adrp	x21, _cgs@GOTPAGE
Lloh21:
	ldr	x21, [x21, _cgs@GOTPAGEOFF]
Lloh22:
	adrp	x9, _NUM_CROSSHAIRS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _NUM_CROSSHAIRS@GOTPAGEOFF]
	ldr	x10, [x21, #8]
Lloh24:
	ldr	w9, [x9]
	sdiv	w11, w8, w9
	msub	w8, w11, w9, w8
	ldr	w20, [x10, w8, uxtw #2]
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #40
	mov	w2, #128
	bl	_trap_Cvar_VariableStringBuffer
	add	x0, sp, #40
	bl	_atof
	fmov	s8, s0
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #40
	mov	w2, #128
	bl	_trap_Cvar_VariableStringBuffer
	add	x0, sp, #40
	bl	_atof
	fdiv	s9, s8, s0
Lloh29:
	adrp	x8, _M_PI@GOTPAGE
Lloh30:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
	ldr	s0, [x19, #8]
Lloh31:
	ldr	s1, [x8]
	fmul	s0, s0, s1
	mov	w8, #1135869952
	fmov	s1, w8
	fdiv	s0, s0, s1
	bl	_tan
	fmul	s11, s8, s0
	ldr	s0, [x21]
	fmul	s0, s9, s0
	fmul	s0, s8, s0
	fadd	s1, s11, s11
	fdiv	s9, s0, s1
	ldr	w0, [x19, #12]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	fmov	s0, s9
	bl	_VectorMA
	ldr	w1, [x19, #12]
Lloh32:
	adrp	x8, _MASK_SHOT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MASK_SHOT@GOTPAGEOFF]
Lloh34:
	ldr	w6, [x8]
	add	x0, sp, #32
	mov	x2, #0
	mov	x3, #0
	mov	w5, #0
	bl	_CG_Trace
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #20
	bl	_memset
Lloh35:
	adrp	x8, _RT_SPRITE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RT_SPRITE@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _RF_DEPTHHACK@GOTPAGE
Lloh39:
	ldr	x9, [x9, _RF_DEPTHHACK@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x10, _RF_CROSSHAIR@GOTPAGE
Lloh42:
	ldr	x10, [x10, _RF_CROSSHAIR@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w8, [sp, #24]
	str	w9, [sp, #8]
	ldr	w0, [sp, #36]
	ldr	w1, [sp, #20]
	bl	_VectorCopy
	mov	w8, #1142947840
	fmov	s0, w8
	fdiv	s0, s10, s0
	fmul	s0, s0, s11
	ldr	s1, [sp, #32]
	fmul	s0, s0, s1
	fmul	s0, s9, s0
	fdiv	s0, s0, s8
	str	s0, [sp, #12]
	str	w20, [sp, #16]
	add	x0, sp, #8
	bl	_trap_R_AddRefEntityToScene
LBB0_6:
	ldur	x8, [x29, #-72]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #192]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_cg_drawCrosshair,4,2           ; @cg_drawCrosshair
	.comm	_cg,40,3                        ; @cg
	.comm	_PERS_TEAM,8,3                  ; @PERS_TEAM
	.comm	_TEAM_SPECTATOR,8,3             ; @TEAM_SPECTATOR
	.comm	_cg_crosshairSize,4,2           ; @cg_crosshairSize
	.comm	_ITEM_BLOB_TIME,4,2             ; @ITEM_BLOB_TIME
	.comm	_cgs,16,3                       ; @cgs
	.comm	_NUM_CROSSHAIRS,4,2             ; @NUM_CROSSHAIRS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r_zProj"

l_.str.1:                               ; @.str.1
	.asciz	"r_stereoSeparation"

	.comm	_M_PI,4,2                       ; @M_PI
	.comm	_MASK_SHOT,4,2                  ; @MASK_SHOT
	.comm	_RT_SPRITE,4,2                  ; @RT_SPRITE
	.comm	_RF_DEPTHHACK,4,2               ; @RF_DEPTHHACK
	.comm	_RF_CROSSHAIR,4,2               ; @RF_CROSSHAIR
	.no_dead_strip	_CG_DrawCrosshair3D
.subsections_via_symbols
