	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VL_Radiosity                   ## -- Begin function VL_Radiosity
	.p2align	4, 0x90
_VL_Radiosity:                          ## @VL_Radiosity
	.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	_lightFloats@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_oldLightFloats@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	_numLightBytes@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_malloc
	movq	%rax, (%r15)
	movq	(%r14), %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%rax, %rdi
	callq	_memcpy
	movq	_numDrawSurfaces@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	__printf
	movl	(%rbx), %edi
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VL_SurfaceRadiosity@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_RunThreadsOnIndividual
	movq	(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lightFloats,8,3                ## @lightFloats
	.comm	_oldLightFloats,8,3             ## @oldLightFloats
	.comm	_numLightBytes,4,2              ## @numLightBytes
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%7i surfaces\n"

	.comm	_numDrawSurfaces,4,2            ## @numDrawSurfaces
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_VL_SurfaceRadiosity,4,2        ## @VL_SurfaceRadiosity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VL_Radiosity                   ; -- Begin function VL_Radiosity
	.p2align	2
_VL_Radiosity:                          ; @VL_Radiosity
	.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
Lloh0:
	adrp	x19, _lightFloats@GOTPAGE
Lloh1:
	ldr	x19, [x19, _lightFloats@GOTPAGEOFF]
Lloh2:
	adrp	x20, _oldLightFloats@GOTPAGE
Lloh3:
	ldr	x20, [x20, _oldLightFloats@GOTPAGEOFF]
	ldr	x8, [x19]
	str	x8, [x20]
Lloh4:
	adrp	x21, _numLightBytes@GOTPAGE
Lloh5:
	ldr	x21, [x21, _numLightBytes@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	w0, w8, #2
	bl	_malloc
	str	x0, [x19]
	ldr	x1, [x20]
	ldr	w8, [x21]
	lsl	w2, w8, #2
	bl	_memcpy
Lloh6:
	adrp	x19, _numDrawSurfaces@GOTPAGE
Lloh7:
	ldr	x19, [x19, _numDrawSurfaces@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__printf
	ldr	w0, [x19]
Lloh10:
	adrp	x8, _qtrue@GOTPAGE
Lloh11:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _VL_SurfaceRadiosity@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VL_SurfaceRadiosity@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_RunThreadsOnIndividual
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_lightFloats,8,3                ; @lightFloats
	.comm	_oldLightFloats,8,3             ; @oldLightFloats
	.comm	_numLightBytes,4,2              ; @numLightBytes
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%7i surfaces\n"

	.comm	_numDrawSurfaces,4,2            ; @numDrawSurfaces
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_VL_SurfaceRadiosity,4,2        ; @VL_SurfaceRadiosity
.subsections_via_symbols
