	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotOnTopOfEntity               ## -- Begin function BotOnTopOfEntity
	.p2align	4, 0x90
_BotOnTopOfEntity:                      ## @BotOnTopOfEntity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_AAS_PresenceTypeBoundingBox
	movl	4(%rbx), %edi
	xorl	%r14d, %r14d
	movl	$-3, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_VectorMA
	movl	(%rbx), %r9d
	movl	4(%rbx), %edi
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %rax
	movq	_CONTENTS_PLAYERCLIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	subq	$8, %rsp
	movl	-24(%rbp), %eax
	movq	-32(%rbp), %rdx
	pushq	%rcx
	pushq	%rax
	pushq	%rdx
	callq	_AAS_Trace
	addq	$32, %rsp
	movq	_ENTITYNUM_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_ENTITYNUM_WORLD@GOTPCREL(%rip), %rcx
	movl	$-1, %esi
	movl	%eax, %edi
	cmovel	%esi, %edi
	cmpq	(%rcx), %rax
	cmovel	%esi, %edi
	negl	%edx
	sbbl	%r14d, %r14d
	orl	%edi, %r14d
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
	.comm	_CONTENTS_PLAYERCLIP,4,2        ## @CONTENTS_PLAYERCLIP
	.comm	_ENTITYNUM_WORLD,8,3            ## @ENTITYNUM_WORLD
	.comm	_ENTITYNUM_NONE,8,3             ## @ENTITYNUM_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotOnTopOfEntity               ; -- Begin function BotOnTopOfEntity
	.p2align	2
_BotOnTopOfEntity:                      ; @BotOnTopOfEntity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0, #8]
	mov	x2, #0
	mov	x4, #0
	bl	_AAS_PresenceTypeBoundingBox
	ldr	w0, [x19, #4]
	mov	w1, #-3
	mov	x2, #0
	mov	w3, #1
	mov	x5, #0
	bl	_VectorMA
Lloh0:
	adrp	x8, _CONTENTS_SOLID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONTENTS_SOLID@GOTPAGEOFF]
	ldp	w7, w0, [x19]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CONTENTS_PLAYERCLIP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CONTENTS_PLAYERCLIP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp]
	mov	x2, #0
	mov	x4, #0
	mov	x6, #0
	bl	_AAS_Trace
Lloh6:
	adrp	x8, _ENTITYNUM_WORLD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENTITYNUM_WORLD@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _ENTITYNUM_NONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENTITYNUM_NONE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x0, x9
	ccmp	x0, x8, #4, ne
	ccmp	w1, #0, #0, ne
	csinv	w0, w0, wzr, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
	.comm	_CONTENTS_PLAYERCLIP,4,2        ; @CONTENTS_PLAYERCLIP
	.comm	_ENTITYNUM_WORLD,8,3            ; @ENTITYNUM_WORLD
	.comm	_ENTITYNUM_NONE,8,3             ; @ENTITYNUM_NONE
.subsections_via_symbols
