	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function S_Base_HearingThroughEntity
_S_Base_HearingThroughEntity:           ## @S_Base_HearingThroughEntity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	movq	_loopSounds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rsi
LBB0_2:
	movq	%rsi, %rdi
	callq	_VectorCopy
	movq	_listener_number@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	_listener_origin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DistanceSquared
	movq	_THIRD_PERSON_THRESHOLD_SQ@GOTPCREL(%rip), %rax
	ucomiss	(%rax), %xmm0
	jbe	LBB0_4
LBB0_5:
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_loopSounds,8,3                 ## @loopSounds
	.comm	_listener_number,4,2            ## @listener_number
	.comm	_listener_origin,4,2            ## @listener_origin
	.comm	_THIRD_PERSON_THRESHOLD_SQ,4,2  ## @THIRD_PERSON_THRESHOLD_SQ
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
	.no_dead_strip	_S_Base_HearingThroughEntity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function S_Base_HearingThroughEntity
_S_Base_HearingThroughEntity:           ; @S_Base_HearingThroughEntity
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbnz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _loopSounds@GOTPAGE
Lloh1:
	ldr	x8, [x8, _loopSounds@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x1, [x8, w19, sxtw #3]
LBB0_2:
	mov	x0, x1
	bl	_VectorCopy
Lloh3:
	adrp	x8, _listener_number@GOTPAGE
Lloh4:
	ldr	x8, [x8, _listener_number@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x20, _qfalse@GOTPAGE
Lloh7:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
	cmp	w8, w19
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _listener_origin@GOTPAGE
Lloh9:
	ldr	x8, [x8, _listener_origin@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_DistanceSquared
Lloh11:
	adrp	x8, _THIRD_PERSON_THRESHOLD_SQ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _THIRD_PERSON_THRESHOLD_SQ@GOTPAGEOFF]
Lloh13:
	ldr	s1, [x8]
Lloh14:
	adrp	x8, _qtrue@GOTPAGE
Lloh15:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	fcmp	s0, s1
	csel	x20, x20, x8, gt
LBB0_4:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_loopSounds,8,3                 ; @loopSounds
	.comm	_listener_number,4,2            ; @listener_number
	.comm	_listener_origin,4,2            ; @listener_origin
	.comm	_THIRD_PERSON_THRESHOLD_SQ,4,2  ; @THIRD_PERSON_THRESHOLD_SQ
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
	.no_dead_strip	_S_Base_HearingThroughEntity
.subsections_via_symbols
