	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function R_LightDirForPoint
LCPI0_0:
	.long	0x3e4ccccd                      ## float 0.200000003
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_R_LightDirForPoint
	.p2align	4, 0x90
_R_LightDirForPoint:                    ## @R_LightDirForPoint
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movl	%esi, %r14d
	movl	%edi, %r12d
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_Com_Memset
	movl	-44(%rbp), %esi
	movl	%r12d, %edi
	callq	_VectorCopy
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_R_SetupEntityLightingGrid
	movl	-48(%rbp), %edi
	movl	%r15d, %esi
	callq	_DotProduct
	ucomiss	LCPI0_0(%rip), %xmm0
	jbe	LBB0_4
## %bb.3:
	movl	-48(%rbp), %r15d
LBB0_4:
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_VectorCopy
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_LightDirForPoint             ; -- Begin function R_LightDirForPoint
	.p2align	2
_R_LightDirForPoint:                    ; @R_LightDirForPoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x3]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_Com_Memset
	ldr	w1, [sp, #12]
	mov	x0, x22
	bl	_VectorCopy
	add	x0, sp, #8
	mov	x1, x21
	bl	_R_SetupEntityLightingGrid
	ldr	w0, [sp, #8]
	mov	x1, x20
	bl	_DotProduct
	ldr	w8, [sp, #8]
	mov	w9, #52429
	movk	w9, #15948, lsl #16
	fmov	s1, w9
	fcmp	s0, s1
	csel	w0, w8, w20, gt
	mov	x1, x19
	bl	_VectorCopy
Lloh0:
	adrp	x8, _qtrue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _qfalse@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
