	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_next
_filter_next:                           ## @filter_next
	.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
	cmpl	$0, 24(%rdi)
	je	LBB0_14
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rsi), %r14
	cmpq	(%rdi), %r14
	jae	LBB0_14
## %bb.2:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_LDNS_RR_TYPE_NSEC3@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	cmpq	(%rbx), %r14
	jae	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movl	20(%rax), %edi
	callq	_ntohs
	cmpq	(%r15), %rax
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movl	16(%rax), %edi
	callq	_ntohs
	cmpq	8(%rbx), %rax
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %rcx
	movq	8(%rcx), %rcx
	movq	%rcx, -56(%rbp)
	movq	(%rax,%r14,8), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_dname_remove_label
	movq	-56(%rbp), %rdi
	movl	24(%rbx), %esi
	callq	_query_dname_compare
	testq	%rax, %rax
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	cmpq	(%r12), %r14
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r13d
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_rrset_get_count
	cmpl	%eax, %r13d
	jge	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	movl	%r13d, %esi
	callq	_nsec3_unknown_flags
	testq	%rax, %rax
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	movl	%r13d, %esi
	callq	_nsec3_known_algo
	testl	%eax, %eax
	je	LBB0_8
## %bb.12:
	movq	%r14, (%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	jmp	LBB0_15
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ## @LDNS_RR_TYPE_NSEC3
	.no_dead_strip	_filter_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_next
_filter_next:                           ; @filter_next
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_15
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	ldr	x23, [x1]
	ldr	x8, [x0]
	cmp	x23, x8
	b.hs	LBB0_15
; %bb.2:
	mov	x19, x2
Lloh0:
	adrp	x24, _LDNS_RR_TYPE_NSEC3@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LDNS_RR_TYPE_NSEC3@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20]
	cmp	x23, x8
	b.hs	LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w0, [x8, #20]
	bl	_ntohs
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w0, [x8, #16]
	bl	_ntohs
	ldr	x8, [x20, #8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #16]
	lsl	x9, x23, #3
	ldr	x10, [x8, x9]
	ldr	x10, [x10, #8]
	str	x10, [sp, #8]
	ldr	x8, [x8, x9]
	ldr	x8, [x8]
	str	x8, [sp]
	add	x0, sp, #8
	mov	x1, sp
	bl	_dname_remove_label
	ldr	x0, [sp, #8]
	ldr	w1, [x20, #24]
	bl	_query_dname_compare
	cbnz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	cmp	x23, x8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	add	w22, w8, #1
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	w22, w22, #1
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x23, lsl #3]
	bl	_rrset_get_count
	cmp	w22, w0
	b.ge	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x23, lsl #3]
	mov	x1, x22
	bl	_nsec3_unknown_flags
	cbnz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x23, lsl #3]
	mov	x1, x22
	bl	_nsec3_known_algo
	cbz	w0, LBB0_10
; %bb.14:
	str	x23, [x21]
	str	w22, [x19]
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x23, lsl #3]
	b	LBB0_16
LBB0_15:
	mov	x0, #0
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ; @LDNS_RR_TYPE_NSEC3
	.no_dead_strip	_filter_next
.subsections_via_symbols
