	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_samples
_filter_samples:                        ## @filter_samples
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	(%rsi), %eax
	movq	8(%rdi), %rcx
	movslq	(%rdi), %rdx
	leal	1(%rdx), %edi
	movl	%edi, (%rbx)
	movl	%eax, (%rcx,%rdx,4)
	movl	4(%rsi), %eax
	movslq	(%rbx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rbx)
	movl	%eax, (%rcx,%rdx,4)
	movslq	(%rbx), %rax
	leaq	(%rcx,%rax,4), %rdi
	addq	$-96, %rdi
	leaq	-40(%rbp), %rsi
	callq	*16(%rbx)
	movl	-40(%rbp), %eax
	movl	-36(%rbp), %ecx
	leal	(%rcx,%rax), %edx
	sarl	$14, %edx
	movl	%edx, (%r15)
	subl	%ecx, %eax
	sarl	$14, %eax
	movl	%eax, (%r14)
	movslq	(%rbx), %rax
	movq	_PREV_SAMPLES_BUF_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	leaq	(%rdi,%rax,4), %rsi
	addq	$-88, %rsi
	movl	$88, %edx
	callq	_memmove
	movl	$22, (%rbx)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PREV_SAMPLES_BUF_SIZE,4,2      ## @PREV_SAMPLES_BUF_SIZE
	.no_dead_strip	_filter_samples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_samples
_filter_samples:                        ; @filter_samples
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w8, [x1]
	ldr	x9, [x0, #8]
	ldrsw	x10, [x0]
	add	w11, w10, #1
	str	w11, [x0]
	str	w8, [x9, x10, lsl #2]
	ldr	w8, [x1, #4]
	ldrsw	x10, [x0]
	add	w11, w10, #1
	str	w11, [x0]
	str	w8, [x9, x10, lsl #2]
	ldr	x8, [x0, #16]
	ldrsw	x10, [x0]
	add	x9, x9, x10, lsl #2
	sub	x0, x9, #96
	mov	x1, sp
	blr	x8
	ldp	w8, w9, [sp]
	add	w10, w9, w8
	asr	w10, w10, #14
	str	w10, [x21]
	sub	w8, w8, w9
	asr	w8, w8, #14
	str	w8, [x20]
	ldrsw	x8, [x19]
Lloh3:
	adrp	x9, _PREV_SAMPLES_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PREV_SAMPLES_BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	add	x8, x0, x8, lsl #2
	sub	x1, x8, #88
	mov	w2, #88
	bl	_memmove
	mov	w8, #22
	str	w8, [x19]
LBB0_2:
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PREV_SAMPLES_BUF_SIZE,4,2      ; @PREV_SAMPLES_BUF_SIZE
	.no_dead_strip	_filter_samples
.subsections_via_symbols
