	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diffcore_apply_filter
_diffcore_apply_filter:                 ## @diffcore_apply_filter
	.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
	movq	%rdi, %r15
	leaq	-56(%rbp), %rdi
	callq	_DIFF_QUEUE_CLEAR
	cmpl	$0, (%r15)
	je	LBB0_17
## %bb.1:
	movq	_DIFF_STATUS_FILTER_AON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_filter_bit_tst
	movq	_diff_queued_diff@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.3:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	-8(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_match_filter
	movl	(%r12), %ecx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rbx), %rdx
	movslq	%ecx, %rsi
	cmpq	%rsi, %rbx
	movq	%rdx, %rbx
	jl	LBB0_4
LBB0_6:
	testq	%rax, %rax
	jne	LBB0_17
## %bb.7:
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_diff_free_filepair
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
	jmp	LBB0_16
LBB0_10:
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.11:
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r14
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rdi
	callq	_diff_free_filepair
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_match_filter
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_diff_q
	jmp	LBB0_15
LBB0_16:
	movq	8(%r12), %rdi
	callq	_free
	movups	-56(%rbp), %xmm0
	movups	%xmm0, (%r12)
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_diff_queued_diff,16,3          ## @diff_queued_diff
	.comm	_DIFF_STATUS_FILTER_AON,4,2     ## @DIFF_STATUS_FILTER_AON
	.no_dead_strip	_diffcore_apply_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diffcore_apply_filter
_diffcore_apply_filter:                 ; @diffcore_apply_filter
	.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	x19, x0
	mov	x0, sp
	bl	_DIFF_QUEUE_CLEAR
	ldr	w8, [x19]
	cbz	w8, LBB0_16
; %bb.1:
Lloh0:
	adrp	x8, _DIFF_STATUS_FILTER_AON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIFF_STATUS_FILTER_AON@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_filter_bit_tst
Lloh3:
	adrp	x21, _diff_queued_diff@GOTPAGE
Lloh4:
	ldr	x21, [x21, _diff_queued_diff@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	cbz	x0, LBB0_9
; %bb.2:
	b.lt	LBB0_15
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x1, [x8, x20, lsl #3]
	mov	x0, x19
	bl	_match_filter
	add	x20, x20, #1
	ldr	w8, [x21]
	sxtw	x9, w8
	cmp	x0, #0
	ccmp	x20, x9, #0, eq
	b.lt	LBB0_4
; %bb.5:
	cbnz	x0, LBB0_16
; %bb.6:
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.7:
	mov	x19, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x0, [x8, x19, lsl #3]
	bl	_diff_free_filepair
	add	x19, x19, #1
	ldrsw	x8, [x21]
	cmp	x19, x8
	b.lt	LBB0_8
	b	LBB0_15
LBB0_9:
	b.lt	LBB0_15
; %bb.10:
	mov	x22, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_diff_free_filepair
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x20, [x8, x22, lsl #3]
	mov	x0, x19
	mov	x1, x20
	bl	_match_filter
	cbz	x0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, sp
	mov	x1, x20
	bl	_diff_q
	b	LBB0_12
LBB0_15:
	ldr	x0, [x21, #8]
	bl	_free
	ldr	q0, [sp]
	str	q0, [x21]
LBB0_16:
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_diff_queued_diff,16,3          ; @diff_queued_diff
	.comm	_DIFF_STATUS_FILTER_AON,4,2     ; @DIFF_STATUS_FILTER_AON
	.no_dead_strip	_diffcore_apply_filter
.subsections_via_symbols
