	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ProjectDlightTexture
_ProjectDlightTexture:                  ## @ProjectDlightTexture
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_backEnd@GOTPCREL(%rip), %rbx
	cmpl	$0, 16(%rbx)
	je	LBB0_6
## %bb.1:
	leaq	-12(%rbp), %rdi
	callq	_ComputeDeformValues
	movl	16(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	movq	_tess@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	btl	%edi, %ecx
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%edi
	cmpl	%edi, %eax
	jne	LBB0_3
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	leaq	-12(%rbp), %rsi
	callq	_ProjectDlightTexture.cold.1
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function ProjectDlightTexture.cold.1
_ProjectDlightTexture.cold.1:           ## @ProjectDlightTexture.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_backEnd@GOTPCREL(%rip), %r15
	movq	24(%r15), %rax
	movl	%edi, %ecx
	shlq	$5, %rcx
	movl	24(%rax,%rcx), %edi
	callq	_VectorCopy
	movq	_tr@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	movq	_DGEN_NONE@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	cmpl	(%rdx), %ecx
	setne	%bl
	shlq	$2, %rbx
	addq	8(%rax), %rbx
	incl	12(%r15)
	movq	%rbx, %rdi
	callq	_GLSL_BindProgram
	movq	_UNIFORM_MODELVIEWPROJECTIONMATRIX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_glState@GOTPCREL(%rip), %r15
	movl	4(%r15), %edx
	movq	%rbx, %rdi
	callq	_GLSL_SetUniformMat4
	movq	_UNIFORM_VERTEXLERP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_GLSL_SetUniformFloat
	movq	_UNIFORM_DEFORMGEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_GLSL_SetUniformInt
	movq	_UNIFORM_DEFORMPARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GLSL_SetUniformFloat5
	movq	_UNIFORM_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_tess@GOTPCREL(%rip), %rax
	movl	28(%rax), %edx
	movq	%rbx, %rdi
	callq	_GLSL_SetUniformFloat
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_backEnd,32,3                   ## @backEnd
	.comm	_tess,32,3                      ## @tess
	.comm	_tr,16,3                        ## @tr
	.comm	_DGEN_NONE,4,2                  ## @DGEN_NONE
	.comm	_UNIFORM_MODELVIEWPROJECTIONMATRIX,4,2 ## @UNIFORM_MODELVIEWPROJECTIONMATRIX
	.comm	_glState,8,2                    ## @glState
	.comm	_UNIFORM_VERTEXLERP,4,2         ## @UNIFORM_VERTEXLERP
	.comm	_UNIFORM_DEFORMGEN,4,2          ## @UNIFORM_DEFORMGEN
	.comm	_UNIFORM_DEFORMPARAMS,4,2       ## @UNIFORM_DEFORMPARAMS
	.comm	_UNIFORM_TIME,4,2               ## @UNIFORM_TIME
	.comm	_UNIFORM_COLOR,4,2              ## @UNIFORM_COLOR
	.comm	_UNIFORM_DLIGHTINFO,4,2         ## @UNIFORM_DLIGHTINFO
	.comm	_TB_COLORMAP,4,2                ## @TB_COLORMAP
	.comm	_GLS_ATEST_GT_0,4,2             ## @GLS_ATEST_GT_0
	.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
	.comm	_UNIFORM_ALPHATEST,4,2          ## @UNIFORM_ALPHATEST
	.no_dead_strip	_ProjectDlightTexture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ProjectDlightTexture
_ProjectDlightTexture:                  ; @ProjectDlightTexture
	.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, _backEnd@GOTPAGE
Lloh1:
	ldr	x19, [x19, _backEnd@GOTPAGEOFF]
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_5
; %bb.1:
	add	x0, sp, #12
	bl	_ComputeDeformValues
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w0, #0
Lloh2:
	adrp	x9, _tess@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tess@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w10, w9, w0
	tbnz	w10, #0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w0, w0, #1
	cmp	w8, w0
	b.ne	LBB0_3
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	add	x1, sp, #12
	bl	_ProjectDlightTexture.cold.1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function ProjectDlightTexture.cold.1
_ProjectDlightTexture.cold.1:           ; @ProjectDlightTexture.cold.1
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
Lloh5:
	adrp	x21, _backEnd@GOTPAGE
Lloh6:
	ldr	x21, [x21, _backEnd@GOTPAGEOFF]
	ldr	x8, [x21, #24]
	mov	w9, w0
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #24]
	bl	_VectorCopy
Lloh7:
	adrp	x8, _tr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8, #8]
	ldr	w9, [x19]
Lloh10:
	adrp	x10, _DGEN_NONE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DGEN_NONE@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	cmp	w9, w10
	cset	w9, ne
	add	x20, x8, w9, uxtw #2
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
	mov	x0, x20
	bl	_GLSL_BindProgram
Lloh13:
	adrp	x8, _UNIFORM_MODELVIEWPROJECTIONMATRIX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UNIFORM_MODELVIEWPROJECTIONMATRIX@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x21, _glState@GOTPAGE
Lloh17:
	ldr	x21, [x21, _glState@GOTPAGEOFF]
	ldr	w2, [x21, #4]
	mov	x0, x20
	bl	_GLSL_SetUniformMat4
Lloh18:
	adrp	x8, _UNIFORM_VERTEXLERP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _UNIFORM_VERTEXLERP@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_GLSL_SetUniformFloat
Lloh21:
	adrp	x8, _UNIFORM_DEFORMGEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UNIFORM_DEFORMGEN@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x20
	bl	_GLSL_SetUniformInt
Lloh24:
	adrp	x8, _UNIFORM_DEFORMPARAMS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _UNIFORM_DEFORMPARAMS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GLSL_SetUniformFloat5
Lloh27:
	adrp	x8, _UNIFORM_TIME@GOTPAGE
Lloh28:
	ldr	x8, [x8, _UNIFORM_TIME@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _tess@GOTPAGE
Lloh31:
	ldr	x8, [x8, _tess@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8, #28]
	mov	x0, x20
	bl	_GLSL_SetUniformFloat
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_backEnd,32,3                   ; @backEnd
	.comm	_tess,32,3                      ; @tess
	.comm	_tr,16,3                        ; @tr
	.comm	_DGEN_NONE,4,2                  ; @DGEN_NONE
	.comm	_UNIFORM_MODELVIEWPROJECTIONMATRIX,4,2 ; @UNIFORM_MODELVIEWPROJECTIONMATRIX
	.comm	_glState,8,2                    ; @glState
	.comm	_UNIFORM_VERTEXLERP,4,2         ; @UNIFORM_VERTEXLERP
	.comm	_UNIFORM_DEFORMGEN,4,2          ; @UNIFORM_DEFORMGEN
	.comm	_UNIFORM_DEFORMPARAMS,4,2       ; @UNIFORM_DEFORMPARAMS
	.comm	_UNIFORM_TIME,4,2               ; @UNIFORM_TIME
	.comm	_UNIFORM_COLOR,4,2              ; @UNIFORM_COLOR
	.comm	_UNIFORM_DLIGHTINFO,4,2         ; @UNIFORM_DLIGHTINFO
	.comm	_TB_COLORMAP,4,2                ; @TB_COLORMAP
	.comm	_GLS_ATEST_GT_0,4,2             ; @GLS_ATEST_GT_0
	.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
	.comm	_UNIFORM_ALPHATEST,4,2          ; @UNIFORM_ALPHATEST
	.no_dead_strip	_ProjectDlightTexture
.subsections_via_symbols
