	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_CrossBSPNode                 ## -- Begin function P_CrossBSPNode
	.p2align	4, 0x90
_P_CrossBSPNode:                        ## @P_CrossBSPNode
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NF_SUBSECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%edi, %ecx
	je	LBB0_1
LBB0_7:
	notl	%ecx
	andl	%edi, %ecx
	xorl	%eax, %eax
	cmpl	$-1, %edi
	cmovnel	%ecx, %eax
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_P_CrossSubsector               ## TAILCALL
LBB0_1:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_nodes@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movslq	%edi, %r13
	leaq	(%r12,%r13,8), %r14
	movq	_strace@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	%r14, %rdx
	callq	_P_DivlineSide
	movl	%eax, %ebx
	cmpl	$2, %eax
	cmovel	%r15d, %ebx
	movq	(%r12,%r13,8), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_P_CrossBSPNode
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_t2x@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_t2y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_P_DivlineSide
	cmpl	%eax, %ebx
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	xorl	$1, %ebx
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_NF_SUBSECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%edi, %ecx
	je	LBB0_2
	jmp	LBB0_7
LBB0_4:
	movl	$1, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NF_SUBSECTOR,4,2               ## @NF_SUBSECTOR
	.comm	_nodes,8,3                      ## @nodes
	.comm	_strace,8,2                     ## @strace
	.comm	_t2x,4,2                        ## @t2x
	.comm	_t2y,4,2                        ## @t2y
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_CrossBSPNode                 ; -- Begin function P_CrossBSPNode
	.p2align	2
_P_CrossBSPNode:                        ; @P_CrossBSPNode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x20, _NF_SUBSECTOR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NF_SUBSECTOR@GOTPAGEOFF]
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_2
LBB0_1:
	bic	w8, w0, w8
	cmn	w0, #1
	csel	w0, wzr, w8, eq
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_P_CrossSubsector
LBB0_2:
Lloh2:
	adrp	x21, _nodes@GOTPAGE
Lloh3:
	ldr	x21, [x21, _nodes@GOTPAGEOFF]
Lloh4:
	adrp	x22, _strace@GOTPAGE
Lloh5:
	ldr	x22, [x22, _strace@GOTPAGEOFF]
Lloh6:
	adrp	x23, _t2x@GOTPAGE
Lloh7:
	ldr	x23, [x23, _t2x@GOTPAGEOFF]
Lloh8:
	adrp	x24, _t2y@GOTPAGE
Lloh9:
	ldr	x24, [x24, _t2y@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x19, x8, w0, sxtw #3
	ldp	w1, w0, [x22]
	mov	x2, x19
	bl	_P_DivlineSide
	cmp	w0, #2
	csel	w25, wzr, w0, eq
	ldr	x8, [x19]
	ldr	w0, [x8, w25, sxtw #2]
	bl	_P_CrossBSPNode
	cbz	w0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x25, w25
	ldr	w0, [x23]
	ldr	w1, [x24]
	mov	x2, x19
	bl	_P_DivlineSide
	cmp	w25, w0
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	eor	x9, x25, #0x1
	ldr	w0, [x8, x9, lsl #2]
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_3
	b	LBB0_1
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NF_SUBSECTOR,4,2               ; @NF_SUBSECTOR
	.comm	_nodes,8,3                      ; @nodes
	.comm	_strace,8,2                     ; @strace
	.comm	_t2x,4,2                        ; @t2x
	.comm	_t2y,4,2                        ; @t2y
.subsections_via_symbols
