	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ProjectDlightTexture_scalar
_ProjectDlightTexture_scalar:           ## @ProjectDlightTexture_scalar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_backEnd@GOTPCREL(%rip), %rax
	movl	16(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.1:
	movq	_tess@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	$24, %edx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	btl	%ebx, %esi
	jb	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	addq	$32, %rdx
	cmpl	%ebx, %ecx
	jne	LBB0_2
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	24(%rax), %r14
	movl	(%r14,%rdx), %edi
	callq	_VectorCopy
	movq	_r_greyscale@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	cmpq	$0, 8(%rdi)
	jne	LBB0_4
## %bb.5:
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_ProjectDlightTexture_scalar.cold.1
	jmp	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ProjectDlightTexture_scalar.cold.2
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function ProjectDlightTexture_scalar.cold.1
LCPI1_0:
	.long	0x437f0000                      ## float 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ProjectDlightTexture_scalar.cold.1:    ## @ProjectDlightTexture_scalar.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	shlq	$5, %rbx
	movq	8(%rsi,%rbx), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	4(%rax), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	movss	8(%rax), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	callq	_LUMA
	movaps	%xmm0, %xmm1
	movss	LCPI1_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movq	8(%r14,%rbx), %rax
	mulss	(%rax), %xmm0
	movq	_r_greyscale@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	callq	_LERP
	ud2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function ProjectDlightTexture_scalar.cold.2
_ProjectDlightTexture_scalar.cold.2:    ## @ProjectDlightTexture_scalar.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	shlq	$5, %rsi
	movq	8(%rdi,%rsi), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	4(%rax), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	movss	8(%rax), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	callq	_LUMA
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_SHADER_MAX_VERTEXES,4,2        ## @SHADER_MAX_VERTEXES
	.comm	_SHADER_MAX_INDEXES,4,2         ## @SHADER_MAX_INDEXES
	.comm	_backEnd,32,3                   ## @backEnd
	.comm	_tess,40,3                      ## @tess
	.comm	_r_greyscale,8,3                ## @r_greyscale
	.comm	_r_dlightBacks,8,3              ## @r_dlightBacks
	.comm	_ri,8,3                         ## @ri
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ## @GL_TEXTURE_COORD_ARRAY
	.comm	_GL_FLOAT,4,2                   ## @GL_FLOAT
	.comm	_GL_COLOR_ARRAY,4,2             ## @GL_COLOR_ARRAY
	.comm	_GL_UNSIGNED_BYTE,4,2           ## @GL_UNSIGNED_BYTE
	.comm	_tr,4,2                         ## @tr
	.comm	_GLS_SRCBLEND_ONE,4,2           ## @GLS_SRCBLEND_ONE
	.comm	_GLS_DSTBLEND_ONE,4,2           ## @GLS_DSTBLEND_ONE
	.comm	_GLS_DEPTHFUNC_EQUAL,4,2        ## @GLS_DEPTHFUNC_EQUAL
	.comm	_GLS_SRCBLEND_DST_COLOR,4,2     ## @GLS_SRCBLEND_DST_COLOR
	.no_dead_strip	_ProjectDlightTexture_scalar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ProjectDlightTexture_scalar
_ProjectDlightTexture_scalar:           ; @ProjectDlightTexture_scalar
	.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	x8, _backEnd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _backEnd@GOTPAGEOFF]
	ldr	w9, [x8, #16]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x10, #0
Lloh2:
	adrp	x11, _tess@GOTPAGE
Lloh3:
	ldr	x11, [x11, _tess@GOTPAGEOFF]
Lloh4:
	ldr	w12, [x11]
	mov	w11, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w13, w12, w10
	tbnz	w13, #0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	add	x11, x11, #32
	cmp	w9, w10
	b.ne	LBB0_2
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
LBB0_5:
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x19, [x8, #24]
	ldr	w0, [x19, x11]
	bl	_VectorCopy
Lloh5:
	adrp	x8, _r_greyscale@GOTPAGE
Lloh6:
	ldr	x8, [x8, _r_greyscale@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_7
; %bb.6:
	mov	x1, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	bl	_ProjectDlightTexture_scalar.cold.1
LBB0_7:
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_ProjectDlightTexture_scalar.cold.2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function ProjectDlightTexture_scalar.cold.1
_ProjectDlightTexture_scalar.cold.1:    ; @ProjectDlightTexture_scalar.cold.1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x19, x1, x2, lsl #5
	ldr	x8, [x19, #8]
	bl	_OUTLINED_FUNCTION_0
	mov	w8, #1132396544
	fmov	s2, w8
	fmul	s1, s0, s2
	ldr	x8, [x19, #8]
	ldr	s0, [x8]
	fmul	s0, s0, s2
Lloh8:
	adrp	x8, _r_greyscale@GOTPAGE
Lloh9:
	ldr	x8, [x8, _r_greyscale@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x0, [x8]
	bl	_LERP
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function ProjectDlightTexture_scalar.cold.2
_ProjectDlightTexture_scalar.cold.2:    ; @ProjectDlightTexture_scalar.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	add	x8, x0, x1, lsl #5
	ldr	x8, [x8, #8]
	bl	_OUTLINED_FUNCTION_0
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0:                   ; @OUTLINED_FUNCTION_0 Thunk
	.cfi_startproc
; %bb.0:
	ldp	s0, s1, [x8]
	ldr	s2, [x8, #8]
	b	_LUMA
	.cfi_endproc
                                        ; -- End function
	.comm	_SHADER_MAX_VERTEXES,4,2        ; @SHADER_MAX_VERTEXES
	.comm	_SHADER_MAX_INDEXES,4,2         ; @SHADER_MAX_INDEXES
	.comm	_backEnd,32,3                   ; @backEnd
	.comm	_tess,40,3                      ; @tess
	.comm	_r_greyscale,8,3                ; @r_greyscale
	.comm	_r_dlightBacks,8,3              ; @r_dlightBacks
	.comm	_ri,8,3                         ; @ri
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ; @GL_TEXTURE_COORD_ARRAY
	.comm	_GL_FLOAT,4,2                   ; @GL_FLOAT
	.comm	_GL_COLOR_ARRAY,4,2             ; @GL_COLOR_ARRAY
	.comm	_GL_UNSIGNED_BYTE,4,2           ; @GL_UNSIGNED_BYTE
	.comm	_tr,4,2                         ; @tr
	.comm	_GLS_SRCBLEND_ONE,4,2           ; @GLS_SRCBLEND_ONE
	.comm	_GLS_DSTBLEND_ONE,4,2           ; @GLS_DSTBLEND_ONE
	.comm	_GLS_DEPTHFUNC_EQUAL,4,2        ; @GLS_DEPTHFUNC_EQUAL
	.comm	_GLS_SRCBLEND_DST_COLOR,4,2     ; @GLS_SRCBLEND_DST_COLOR
	.no_dead_strip	_ProjectDlightTexture_scalar
.subsections_via_symbols
