	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function TriSoupLightingThread
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_TriSoupLightingThread
	.p2align	4, 0x90
_TriSoupLightingThread:                 ## @TriSoupLightingThread
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_drawSurfaces@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movslq	%edi, %rbx
	shlq	$4, %rbx
	movq	_dshaders@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_ShaderInfoForShader
	movq	8(%r14,%rbx), %rcx
	movq	_MST_TRIANGLE_SOUP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	addq	%rbx, %r14
	xorl	%esi, %esi
	cmpl	$0, 4(%rax)
	sete	%sil
	movl	(%rax), %edx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	leaq	-20(%rbp), %rcx
	movq	%r14, %rdi
	callq	_VertexLighting
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drawSurfaces,8,3               ## @drawSurfaces
	.comm	_dshaders,8,3                   ## @dshaders
	.comm	_MST_TRIANGLE_SOUP,8,3          ## @MST_TRIANGLE_SOUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TriSoupLightingThread          ; -- Begin function TriSoupLightingThread
	.p2align	2
_TriSoupLightingThread:                 ; @TriSoupLightingThread
	.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, _drawSurfaces@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drawSurfaces@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x19, x8, w0, sxtw #4
Lloh3:
	adrp	x8, _dshaders@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dshaders@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
	bl	_ShaderInfoForShader
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _MST_TRIANGLE_SOUP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MST_TRIANGLE_SOUP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	w2, w8, [x0]
	cmp	w8, #0
	cset	w1, eq
	fmov	d0, #1.00000000
	add	x3, sp, #12
	mov	x0, x19
	bl	_VertexLighting
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_drawSurfaces,8,3               ; @drawSurfaces
	.comm	_dshaders,8,3                   ; @dshaders
	.comm	_MST_TRIANGLE_SOUP,8,3          ; @MST_TRIANGLE_SOUP
.subsections_via_symbols
