	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function SV_LinkEntity
LCPI0_0:
	.long	0xbf800000                      ## float -1
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SV_LinkEntity
	.p2align	4, 0x90
_SV_LinkEntity:                         ## @SV_LinkEntity
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_TOTAL_ENT_LEAFS@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_SV_SvEntityForGentity
	movq	%rax, %r15
	cmpq	$0, 32(%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_SV_UnlinkEntity
LBB0_2:
	cmpq	$0, 64(%rbx)
	je	LBB0_3
## %bb.8:
	movq	_SOLID_BMODEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	24(%rbx), %r12
	movq	32(%rbx), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	ucomiss	%xmm0, %xmm1
	jne	LBB0_11
	jp	LBB0_11
## %bb.9:
	movss	4(%rax), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jne	LBB0_11
	jp	LBB0_11
## %bb.10:
	movss	8(%rax), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jne	LBB0_11
	jnp	LBB0_7
LBB0_11:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	callq	_RadiusFromBounds
	movq	40(%rbx), %rdi
	movq	48(%rbx), %rsi
	movss	(%r12), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, (%rdi)
	movss	(%r12), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, (%rsi)
	movss	4(%r12), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 4(%rdi)
	movss	4(%r12), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, 4(%rsi)
	movss	8(%r12), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 8(%rdi)
	addss	8(%r12), %xmm0
	movss	%xmm0, 8(%rsi)
	jmp	LBB0_12
LBB0_3:
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %rax
	movq	_CONTENTS_BODY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_4
## %bb.5:
	movq	8(%rbx), %rdx
	movl	(%rdx), %ecx
	cmpl	$2, %ecx
	movl	$1, %r8d
	cmovll	%r8d, %ecx
	cmpl	$255, %ecx
	movl	$255, %edi
	cmovael	%edi, %ecx
	movq	16(%rbx), %rsi
	xorl	%eax, %eax
	subl	8(%rsi), %eax
	movl	8(%rdx), %edx
	cmpl	$2, %eax
	cmovll	%r8d, %eax
	cmpl	$255, %eax
	cmovael	%edi, %eax
	cmpl	$-30, %edx
	movl	$-31, %esi
	cmovgel	%edx, %esi
	cmpl	$223, %esi
	movl	$223, %edx
	cmovll	%esi, %edx
	shll	$16, %edx
	orl	%ecx, %edx
	shll	$8, %eax
	orl	%edx, %eax
	addl	$2097152, %eax                  ## imm = 0x200000
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	movl	%eax, 72(%rbx)
	movq	24(%rbx), %r12
LBB0_7:
	movq	16(%rbx), %rsi
	movq	40(%rbx), %rdx
	movq	%r12, %rdi
	callq	_VectorAdd
	movq	8(%rbx), %rsi
	movq	48(%rbx), %rdx
	movq	%r12, %rdi
	callq	_VectorAdd
	movq	40(%rbx), %rdi
	movq	48(%rbx), %rsi
LBB0_12:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, (%rdi)
	movss	4(%rdi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, 4(%rdi)
	addss	8(%rdi), %xmm0
	movss	%xmm0, 8(%rdi)
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	(%rsi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, (%rsi)
	movss	4(%rsi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, 4(%rsi)
	addss	8(%rsi), %xmm0
	movss	%xmm0, 8(%rsi)
	movq	$0, (%r15)
	movq	$0, 40(%r15)
	movq	$-1, 8(%r15)
	movl	(%r13), %ecx
	leaq	-64(%rbp), %r8
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_CM_BoxLeafnums
	testl	%eax, %eax
	je	LBB0_41
## %bb.13:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_14
## %bb.15:
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%eax, %r12d
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%r13d, 8(%r15)
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r14
	cmpq	%r14, %r12
	je	LBB0_26
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r14,4), %edi
	callq	_CM_LeafArea
	cmpl	$-1, %eax
	je	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%eax, %r13d
	movl	8(%r15), %eax
	cmpl	$-1, %eax
	je	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	%r13d, %eax
	je	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	12(%r15), %eax
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	%r13d, %eax
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_sv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SS_LOADING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	40(%rsi), %rax
	cvttss2si	(%rax), %rdx
	cvttss2si	4(%rax), %rcx
	movl	76(%rsi), %esi
	cvttss2si	8(%rax), %r8
	leaq	L_.str(%rip), %rdi
	callq	_Com_DPrintf
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%r13d, 12(%r15)
	jmp	LBB0_25
LBB0_26:
	movq	$0, (%r15)
	xorl	%ebx, %ebx
	movq	_MAX_ENT_CLUSTERS@GOTPCREL(%rip), %r14
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_33
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %edi
	callq	_CM_LeafCluster
	cmpl	$-1, %eax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	(%r15), %rcx
	movq	16(%r15), %rdx
	leaq	1(%rcx), %rsi
	movq	%rsi, (%r15)
	movl	%eax, (%rdx,%rcx,4)
	cmpq	(%r14), %rsi
	jne	LBB0_29
## %bb.30:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %ebx
	jne	LBB0_32
	jmp	LBB0_33
LBB0_14:
	movq	$0, (%r15)
	xorl	%ebx, %ebx
	cmpl	%eax, %ebx
	je	LBB0_33
LBB0_32:
	movl	-64(%rbp), %edi
	callq	_CM_LeafCluster
	movq	%rax, 40(%r15)
LBB0_33:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	incl	60(%rdi)
	movq	_sv_worldSectors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	cmpl	$-1, %edx
	je	LBB0_40
## %bb.34:
	movq	40(%rdi), %rcx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	24(%rax), %rax
LBB0_39:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	(%rax), %rax
	movl	(%rax), %edx
	cmpl	$-1, %edx
	je	LBB0_40
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ssq	8(%rax), %xmm0
	movslq	%edx, %rdx
	movss	(%rcx,%rdx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	ja	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	48(%rdi), %rsi
	ucomiss	(%rsi,%rdx,4), %xmm0
	jbe	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	24(%rax), %rax
	addq	$8, %rax
	jmp	LBB0_39
LBB0_40:
	movq	%rax, 32(%r15)
	movq	16(%rax), %rcx
	movq	%rcx, 24(%r15)
	movq	%r15, 16(%rax)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rdi)
LBB0_41:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_43
## %bb.42:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TOTAL_ENT_LEAFS,4,2        ## @MAX_TOTAL_ENT_LEAFS
	.comm	_SOLID_BMODEL,4,2               ## @SOLID_BMODEL
	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
	.comm	_CONTENTS_BODY,4,2              ## @CONTENTS_BODY
	.comm	_sv,8,3                         ## @sv
	.comm	_SS_LOADING,8,3                 ## @SS_LOADING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Object %i touching 3 areas at %f %f %f\n"

	.comm	_MAX_ENT_CLUSTERS,8,3           ## @MAX_ENT_CLUSTERS
	.comm	_sv_worldSectors,8,3            ## @sv_worldSectors
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_LinkEntity                  ; -- Begin function SV_LinkEntity
	.p2align	2
_SV_LinkEntity:                         ; @SV_LinkEntity
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x21, _MAX_TOTAL_ENT_LEAFS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MAX_TOTAL_ENT_LEAFS@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	bl	_SV_SvEntityForGentity
	mov	x20, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_SV_UnlinkEntity
LBB0_2:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_7
; %bb.3:
Lloh7:
	adrp	x8, _SOLID_BMODEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOLID_BMODEL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	ldp	x22, x8, [x19, #24]
	ldr	s0, [x8]
	fcmp	s0, #0.0
	b.ne	LBB0_6
; %bb.4:
	ldr	s0, [x8, #4]
	fcmp	s0, #0.0
	b.ne	LBB0_6
; %bb.5:
	ldr	s0, [x8, #8]
	fcmp	s0, #0.0
	b.eq	LBB0_11
LBB0_6:
	ldp	x1, x0, [x19, #8]
	bl	_RadiusFromBounds
	ldp	x0, x1, [x19, #40]
	ldr	s1, [x22]
	fsub	s1, s1, s0
	str	s1, [x0]
	ldr	s1, [x22]
	fadd	s1, s0, s1
	str	s1, [x1]
	ldr	s1, [x22, #4]
	fsub	s1, s1, s0
	str	s1, [x0, #4]
	ldr	s1, [x22, #4]
	fadd	s1, s0, s1
	str	s1, [x1, #4]
	ldr	s1, [x22, #8]
	fsub	s1, s1, s0
	str	s1, [x0, #8]
	ldr	s1, [x22, #8]
	fadd	s0, s0, s1
	str	s0, [x1, #8]
	b	LBB0_12
LBB0_7:
	ldr	w8, [x19]
Lloh10:
	adrp	x9, _CONTENTS_SOLID@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CONTENTS_SOLID@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _CONTENTS_BODY@GOTPAGE
Lloh14:
	ldr	x10, [x10, _CONTENTS_BODY@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldp	x8, x9, [x19, #8]
	ldr	w10, [x8]
	cmp	w10, #1
	csinc	w10, w10, wzr, gt
	mov	w11, #255
	cmp	w10, #255
	csel	w10, w10, w11, lo
	ldr	w9, [x9, #8]
	neg	w12, w9
	cmp	w12, #1
	mov	w12, #1
	csneg	w9, w12, w9, le
	cmp	w9, #255
	csel	w9, w9, w11, lo
	ldr	w8, [x8, #8]
	cmn	w8, #31
	mov	w11, #-31
	csel	w8, w8, w11, gt
	mov	w11, #223
	cmp	w8, #223
	csel	w8, w8, w11, lt
	lsl	w8, w8, #16
	orr	w8, w8, w9, lsl #8
	orr	w8, w8, w10
	add	w8, w8, #512, lsl #12           ; =2097152
	b	LBB0_10
LBB0_9:
	mov	w8, #0
LBB0_10:
	str	w8, [x19, #72]
	ldr	x22, [x19, #24]
LBB0_11:
	ldr	x1, [x19, #16]
	ldr	x2, [x19, #40]
	mov	x0, x22
	bl	_VectorAdd
	ldr	x1, [x19, #8]
	ldr	x2, [x19, #48]
	mov	x0, x22
	bl	_VectorAdd
	ldp	x0, x1, [x19, #40]
LBB0_12:
	ldr	d0, [x0]
	fmov.2s	v1, #-1.00000000
	fadd.2s	v0, v0, v1
	str	d0, [x0]
	ldr	s0, [x0, #8]
	fmov	s1, #-1.00000000
	fadd	s0, s0, s1
	str	s0, [x0, #8]
	ldr	d0, [x1]
	fmov.2s	v1, #1.00000000
	fadd.2s	v0, v0, v1
	str	d0, [x1]
	ldr	s0, [x1, #8]
	fmov	s1, #1.00000000
	fadd	s0, s0, s1
	str	s0, [x1, #8]
	str	xzr, [x20]
	str	xzr, [x20, #40]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x20, #8]
	ldr	w3, [x21]
	sub	x4, x29, #92
	mov	x2, x23
	bl	_CM_BoxLeafnums
	cbz	w0, LBB0_37
; %bb.13:
	mov	x22, x0
	cmp	w0, #0
	b.le	LBB0_39
; %bb.14:
	mov	w25, w22
Lloh16:
	adrp	x26, _sv@GOTPAGE
Lloh17:
	ldr	x26, [x26, _sv@GOTPAGEOFF]
Lloh18:
	adrp	x27, _SS_LOADING@GOTPAGE
Lloh19:
	ldr	x27, [x27, _SS_LOADING@GOTPAGEOFF]
	mov	x28, x25
	mov	x21, x23
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	str	w24, [x20, #8]
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x21, x21, #4
	subs	x28, x28, #1
	b.eq	LBB0_23
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_CM_LeafArea
	cmn	w0, #1
	b.eq	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x24, x0
	ldr	w8, [x20, #8]
	cmn	w8, #1
	ccmp	w8, w0, #4, ne
	b.eq	LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x20, #12]
	cmn	w8, #1
	ccmp	w8, w24, #4, ne
	b.eq	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x19, #40]
	ldp	s0, s1, [x8]
	fcvtzs	x2, s0
	ldr	w1, [x19, #76]
	fcvtzs	x3, s1
	ldr	s0, [x8, #8]
	fcvtzs	x4, s0
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_DPrintf
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=1
	str	w24, [x20, #12]
	b	LBB0_16
LBB0_23:
	mov	x21, #0
	str	xzr, [x20]
Lloh22:
	adrp	x24, _MAX_ENT_CLUSTERS@GOTPAGE
Lloh23:
	ldr	x24, [x24, _MAX_ENT_CLUSTERS@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x21, x21, #1
	cmp	x25, x21
	b.eq	LBB0_29
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, x21, lsl #2]
	bl	_CM_LeafCluster
	cmn	w0, #1
	b.eq	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x20, #16]
	ldr	x9, [x20]
	add	x10, x9, #1
	str	x10, [x20]
	str	w0, [x8, x9, lsl #2]
	ldr	x8, [x24]
	cmp	x10, x8
	b.ne	LBB0_24
; %bb.27:
	cmp	w21, w22
	b.eq	LBB0_29
LBB0_28:
	ldur	w0, [x29, #-92]
	bl	_CM_LeafCluster
	str	x0, [x20, #40]
LBB0_29:
	ldr	w8, [x19, #60]
	add	w8, w8, #1
	str	w8, [x19, #60]
Lloh24:
	adrp	x8, _sv_worldSectors@GOTPAGE
Lloh25:
	ldr	x8, [x8, _sv_worldSectors@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	w10, [x8]
	cmn	w10, #1
	b.eq	LBB0_36
; %bb.30:
	ldr	x9, [x19, #40]
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x8, #24]
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x8]
	ldr	w10, [x8]
	cmn	w10, #1
	b.eq	LBB0_36
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	s1, [x9, w10, sxtw #2]
	ldr	x11, [x8, #8]
	scvtf	s0, x11
	fcmp	s1, s0
	b.gt	LBB0_31
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	sxtw	x10, w10
	ldr	x11, [x19, #48]
	ldr	s1, [x11, x10, lsl #2]
	fcmp	s1, s0
	b.pl	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x8, #24]
	add	x8, x8, #8
	b	LBB0_32
LBB0_36:
	ldr	x9, [x8, #16]
	stp	x9, x8, [x20, #24]
	str	x20, [x8, #16]
Lloh27:
	adrp	x8, _qtrue@GOTPAGE
Lloh28:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x19, #56]
LBB0_37:
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.38:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_39:
	mov	w21, #0
	str	xzr, [x20]
	cmp	w21, w22
	b.ne	LBB0_28
	b	LBB0_29
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TOTAL_ENT_LEAFS,4,2        ; @MAX_TOTAL_ENT_LEAFS
	.comm	_SOLID_BMODEL,4,2               ; @SOLID_BMODEL
	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
	.comm	_CONTENTS_BODY,4,2              ; @CONTENTS_BODY
	.comm	_sv,8,3                         ; @sv
	.comm	_SS_LOADING,8,3                 ; @SS_LOADING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Object %i touching 3 areas at %f %f %f\n"

	.comm	_MAX_ENT_CLUSTERS,8,3           ; @MAX_ENT_CLUSTERS
	.comm	_sv_worldSectors,8,3            ; @sv_worldSectors
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
