	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VS_DoForcedTraceLight          ## -- Begin function VS_DoForcedTraceLight
	.p2align	4, 0x90
_VS_DoForcedTraceLight:                 ## @VS_DoForcedTraceLight
	.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
	movl	%edi, %ebx
	movq	_drawSurfaces@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rdx
	leaq	(%rdx,%rdx,2), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	_MST_TRIANGLE_SOUP@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	je	LBB0_7
## %bb.1:
	cmpq	$0, 8(%rax,%rcx,8)
	js	LBB0_7
## %bb.2:
	movq	_entitySurface@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpl	$0, (%rsi,%rdx,4)
	je	LBB0_3
LBB0_5:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_TraceLtm                       ## TAILCALL
LBB0_3:
	movq	_dshaders@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	16(%rax,%rcx,8), %rax
	movl	(%rdx,%rax,4), %edi
	callq	_ShaderInfoForShader
	movq	_defaulttracelight@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_6
## %bb.4:
	cmpq	$0, 8(%rax)
	jne	LBB0_7
	jmp	LBB0_5
LBB0_6:
	cmpl	$0, (%rax)
	jne	LBB0_5
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drawSurfaces,8,3               ## @drawSurfaces
	.comm	_MST_TRIANGLE_SOUP,8,3          ## @MST_TRIANGLE_SOUP
	.comm	_entitySurface,8,3              ## @entitySurface
	.comm	_dshaders,8,3                   ## @dshaders
	.comm	_defaulttracelight,8,3          ## @defaulttracelight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VS_DoForcedTraceLight          ; -- Begin function VS_DoForcedTraceLight
	.p2align	2
_VS_DoForcedTraceLight:                 ; @VS_DoForcedTraceLight
	.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
Lloh0:
	adrp	x8, _drawSurfaces@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drawSurfaces@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #24
	smull	x9, w0, w9
	ldr	x9, [x8, x9]
Lloh3:
	adrp	x10, _MST_TRIANGLE_SOUP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MST_TRIANGLE_SOUP@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_7
; %bb.1:
	mov	x19, x0
	sxtw	x9, w19
	mov	w10, #24
	madd	x10, x9, x10, x8
	ldr	x10, [x10, #8]
	tbnz	x10, #63, LBB0_7
; %bb.2:
Lloh6:
	adrp	x10, _entitySurface@GOTPAGE
Lloh7:
	ldr	x10, [x10, _entitySurface@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	w10, [x10, x9, lsl #2]
	cbz	w10, LBB0_4
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_TraceLtm
LBB0_4:
Lloh9:
	adrp	x10, _dshaders@GOTPAGE
Lloh10:
	ldr	x10, [x10, _dshaders@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	mov	w11, #24
	madd	x8, x9, x11, x8
	ldr	x8, [x8, #16]
	ldr	w0, [x10, x8, lsl #2]
	bl	_ShaderInfoForShader
Lloh12:
	adrp	x8, _defaulttracelight@GOTPAGE
Lloh13:
	ldr	x8, [x8, _defaulttracelight@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_7
	b	LBB0_3
LBB0_6:
	ldr	w8, [x0]
	cbnz	w8, LBB0_3
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_drawSurfaces,8,3               ; @drawSurfaces
	.comm	_MST_TRIANGLE_SOUP,8,3          ; @MST_TRIANGLE_SOUP
	.comm	_entitySurface,8,3              ; @entitySurface
	.comm	_dshaders,8,3                   ; @dshaders
	.comm	_defaulttracelight,8,3          ; @defaulttracelight
.subsections_via_symbols
