	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function R_RecursiveWorldNode
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_R_RecursiveWorldNode:                  ## @R_RecursiveWorldNode
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	_tr@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_46
## %bb.1:
	movl	%esi, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	40(%rbx), %rax
	movq	(%rax), %rdi
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_R_RecursiveWorldNode
	movq	40(%rbx), %rax
	movq	8(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpq	(%r14), %rax
	jne	LBB0_46
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
	movq	_r_nocull@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r15b
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	16(%rax), %rsi
	movq	16(%r14), %rdx
	callq	_BoxOnPlaneSide
	cmpl	$1, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %eax
	je	LBB0_46
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$2, %r15b
	je	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	16(%rax), %rsi
	movq	16(%r14), %rdx
	addq	$4, %rdx
	callq	_BoxOnPlaneSide
	cmpl	$1, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %eax
	jne	LBB0_11
	jmp	LBB0_46
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	andl	$-2, %r15d
	testb	$2, %r15b
	jne	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	$4, %r15b
	je	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	16(%rax), %rsi
	movq	16(%r14), %rdx
	addq	$8, %rdx
	callq	_BoxOnPlaneSide
	cmpl	$1, %eax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %eax
	jne	LBB0_15
	jmp	LBB0_46
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	andl	$-3, %r15d
	testb	$4, %r15b
	jne	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	$8, %r15b
	jne	LBB0_16
	jmp	LBB0_19
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	andl	$-5, %r15d
	testb	$8, %r15b
	je	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	16(%rax), %rsi
	movq	16(%r14), %rdx
	addq	$12, %rdx
	callq	_BoxOnPlaneSide
	cmpl	$1, %eax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %eax
	jne	LBB0_19
	jmp	LBB0_46
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	andl	$-9, %r15d
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$-1, 24(%rax)
	jne	LBB0_31
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 32(%r14)
	movl	$0, %edx
	jle	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_24 Depth=2
	movl	%r13d, %edx
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=2
	incq	%rbx
	movslq	32(%r14), %rax
	movl	%edx, %r13d
	cmpq	%rax, %rbx
	jge	LBB0_30
LBB0_24:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$1, %r15d
	movl	%ebx, %ecx
	shll	%cl, %r15d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	btl	%ebx, %eax
	jae	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	40(%r14), %r12
	movl	4(%r12,%rbx,8), %edi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	48(%r14), %rax
	movl	4(%rax), %esi
	callq	_DotProduct
	movq	48(%r14), %rax
	subss	(%rax), %xmm0
	movss	(%r12,%rbx,8), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm2
	xorps	LCPI0_0(%rip), %xmm2
	ucomiss	%xmm2, %xmm0
	movl	$0, %edx
	cmoval	%r15d, %edx
	orl	%r13d, %edx
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=2
	orl	%r15d, -56(%rbp)                ## 4-byte Folded Spill
LBB0_28:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	_tr@GOTPCREL(%rip), %r14
	jmp	LBB0_29
LBB0_31:
	incl	24(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdx
	movq	(%rdx), %rsi
	movq	8(%r14), %rax
	movq	(%rax), %rcx
	cmpq	(%rcx), %rsi
	jge	LBB0_33
## %bb.32:
	movq	%rsi, (%rcx)
LBB0_33:
	movq	8(%rdx), %rsi
	cmpq	8(%rcx), %rsi
	jge	LBB0_35
## %bb.34:
	movq	%rsi, 8(%rcx)
LBB0_35:
	movq	16(%rdx), %rdx
	cmpq	16(%rcx), %rdx
	jge	LBB0_37
## %bb.36:
	movq	%rdx, 16(%rcx)
LBB0_37:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rcx
	movq	(%rcx), %rdx
	movq	8(%rax), %rax
	cmpq	(%rax), %rdx
	jle	LBB0_39
## %bb.38:
	movq	%rdx, (%rax)
LBB0_39:
	movq	8(%rcx), %rdx
	cmpq	8(%rax), %rdx
	jle	LBB0_41
## %bb.40:
	movq	%rdx, 8(%rax)
LBB0_41:
	movq	16(%rcx), %rcx
	cmpq	16(%rax), %rcx
	jle	LBB0_43
## %bb.42:
	movq	%rcx, 16(%rax)
LBB0_43:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	28(%rax), %r14d
	testq	%r14, %r14
	je	LBB0_46
## %bb.44:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_R_AddWorldSurface
	incq	%rbx
	cmpl	%ebx, %r14d
	jne	LBB0_45
LBB0_46:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tr,48,3                        ## @tr
	.comm	_r_nocull,8,3                   ## @r_nocull
	.no_dead_strip	_R_RecursiveWorldNode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function R_RecursiveWorldNode
_R_RecursiveWorldNode:                  ; @R_RecursiveWorldNode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
Lloh0:
	adrp	x23, _tr@GOTPAGE
Lloh1:
	ldr	x23, [x23, _tr@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_44
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	w25, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x26
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #40]
	ldr	x0, [x8]
	ldr	w21, [sp, #12]                  ; 4-byte Folded Reload
	mov	x1, x21
	mov	x2, x22
	bl	_R_RecursiveWorldNode
	ldr	x8, [x20, #40]
	ldr	x20, [x8, #8]
	ldr	x8, [x20]
	ldr	x9, [x23]
	mov	x19, x26
	cmp	x8, x9
	b.ne	LBB0_44
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
Lloh2:
	adrp	x8, _r_nocull@GOTPAGE
Lloh3:
	ldr	x8, [x8, _r_nocull@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_21
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w21, #0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x0, x1, [x20, #8]
	ldr	x2, [x23, #16]
	bl	_BoxOnPlaneSide
	cmp	w0, #1
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #2
	b.eq	LBB0_44
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	tbz	w21, #1, LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x0, x1, [x20, #8]
	ldr	x8, [x23, #16]
	add	x2, x8, #4
	bl	_BoxOnPlaneSide
	cmp	w0, #1
	b.eq	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #2
	b.ne	LBB0_12
	b	LBB0_44
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w21, w21, #0xfffffffe
	tbnz	w21, #1, LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w21, #2, LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x0, x1, [x20, #8]
	ldr	x8, [x23, #16]
	add	x2, x8, #8
	bl	_BoxOnPlaneSide
	cmp	w0, #1
	b.eq	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #2
	b.ne	LBB0_16
	b	LBB0_44
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w21, w21, #0xfffffffd
	tbnz	w21, #2, LBB0_13
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w21, #3, LBB0_18
	b	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w21, w21, #0xfffffffb
	tbz	w21, #3, LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x0, x1, [x20, #8]
	ldr	x8, [x23, #16]
	add	x2, x8, #12
	bl	_BoxOnPlaneSide
	cmp	w0, #1
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #2
	b.ne	LBB0_21
	b	LBB0_44
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w21, w21, #0xfffffff7
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #24]
	cmn	w8, #1
	b.ne	LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
	mov	w26, #0
	cbz	w19, LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, #32]
	mov	x22, x26
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
	mov	x28, #0
	mov	w22, #0
	mov	w26, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	add	x28, x28, #1
	ldrsw	x8, [x23, #32]
	add	x27, x27, #8
	cmp	x28, x8
	b.ge	LBB0_3
LBB0_26:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	w24, w25, w28
	tst	w24, w19
	b.eq	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	ldr	x8, [x23, #40]
	add	x21, x8, x27
	ldr	w0, [x21, #4]
	ldr	x8, [x20, #48]
	ldr	w1, [x8, #4]
	bl	_DotProduct
	ldr	x8, [x20, #48]
	ldr	s1, [x8]
	fsub	s0, s0, s1
	ldr	s1, [x21]
	fneg	s2, s1
	fcmp	s0, s2
	csel	w8, w24, wzr, gt
	orr	w22, w8, w22
	fcmp	s0, s1
	b.pl	LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=2
	orr	w26, w24, w26
	b	LBB0_25
LBB0_29:
	ldr	w8, [x23, #24]
	add	w8, w8, #1
	str	w8, [x23, #24]
	ldr	x10, [x20, #8]
	ldr	x11, [x10]
	ldr	x8, [x23, #8]
	ldr	x9, [x8]
	ldr	x12, [x9]
	cmp	x11, x12
	b.ge	LBB0_31
; %bb.30:
	str	x11, [x9]
LBB0_31:
	ldr	x11, [x10, #8]
	ldr	x12, [x9, #8]
	cmp	x11, x12
	b.ge	LBB0_33
; %bb.32:
	str	x11, [x9, #8]
LBB0_33:
	ldr	x10, [x10, #16]
	ldr	x11, [x9, #16]
	cmp	x10, x11
	b.ge	LBB0_35
; %bb.34:
	str	x10, [x9, #16]
LBB0_35:
	ldr	x9, [x20, #16]
	ldr	x10, [x9]
	ldr	x8, [x8, #8]
	ldr	x11, [x8]
	cmp	x10, x11
	b.le	LBB0_37
; %bb.36:
	str	x10, [x8]
LBB0_37:
	ldr	x10, [x9, #8]
	ldr	x11, [x8, #8]
	cmp	x10, x11
	b.le	LBB0_39
; %bb.38:
	str	x10, [x8, #8]
LBB0_39:
	ldr	x9, [x9, #16]
	ldr	x10, [x8, #16]
	cmp	x9, x10
	b.le	LBB0_41
; %bb.40:
	str	x9, [x8, #16]
LBB0_41:
	ldr	w21, [x20, #28]
	cbz	w21, LBB0_44
; %bb.42:
	ldr	x20, [x20, #32]
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	ldr	x0, [x20], #8
	mov	x1, x19
	bl	_R_AddWorldSurface
	cbnz	w21, LBB0_43
LBB0_44:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_tr,48,3                        ; @tr
	.comm	_r_nocull,8,3                   ; @r_nocull
	.no_dead_strip	_R_RecursiveWorldNode
.subsections_via_symbols
