	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VS_R_LinkSurface               ## -- Begin function VS_R_LinkSurface
	.p2align	4, 0x90
_VS_R_LinkSurface:                      ## @VS_R_LinkSurface
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	notl	%edi
	movq	_dleafs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdi,4), %edi
	cmpl	$-1, %edi
	je	LBB0_2
## %bb.1:
	callq	_VS_LinkSurfaceIntoCluster
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dnodes,8,3                     ## @dnodes
	.comm	_dplanes,8,3                    ## @dplanes
	.comm	_SIDE_FRONT,4,2                 ## @SIDE_FRONT
	.comm	_SIDE_BACK,4,2                  ## @SIDE_BACK
	.comm	_SIDE_ON,4,2                    ## @SIDE_ON
	.comm	_dleafs,8,3                     ## @dleafs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VS_R_LinkSurface               ; -- Begin function VS_R_LinkSurface
	.p2align	2
_VS_R_LinkSurface:                      ; @VS_R_LinkSurface
	.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
	mvn	w8, w0
Lloh0:
	adrp	x9, _dleafs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _dleafs@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x9, w8, uxtw #2]
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	bl	_VS_LinkSurfaceIntoCluster
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dnodes,8,3                     ; @dnodes
	.comm	_dplanes,8,3                    ; @dplanes
	.comm	_SIDE_FRONT,4,2                 ; @SIDE_FRONT
	.comm	_SIDE_BACK,4,2                  ; @SIDE_BACK
	.comm	_SIDE_ON,4,2                    ; @SIDE_ON
	.comm	_dleafs,8,3                     ; @dleafs
.subsections_via_symbols
