	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsec3_find_closest_encloser
_nsec3_find_closest_encloser:           ## @nsec3_find_closest_encloser
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	8(%rcx), %r14
	movq	%r14, -48(%rbp)
	movq	(%rcx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)
	movl	(%rsi), %esi
	movq	%r14, %rdi
	callq	_dname_subdomain_c
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%r12, %rdx
	movq	%r13, %rdi
	leaq	20(%r15), %r13
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	addq	$16, %r15
	movq	%r15, (%rsp)
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movq	%r14, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	callq	_find_matching_nsec3
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_dname_remove_label
	movq	-48(%rbp), %rdi
	movl	(%rbx), %esi
	callq	_dname_subdomain_c
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx
	movq	-56(%rbp), %r8
	movq	%r15, (%rsp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r13, %r9
	callq	_find_matching_nsec3
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	movq	-48(%rbp), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	-56(%rbp), %rax
	movq	%rax, (%rcx)
	movl	$1, %ecx
LBB0_7:
	movl	%ecx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%ecx, %ecx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nsec3_find_closest_encloser
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsec3_find_closest_encloser
_nsec3_find_closest_encloser:           ; @nsec3_find_closest_encloser
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldp	x26, x25, [x3]
	stp	x26, x25, [sp]
	ldr	w1, [x1]
	mov	x0, x25
	bl	_dname_subdomain_c
	cbz	x0, LBB0_6
; %bb.1:
	add	x23, x19, #20
	add	x24, x19, #16
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x25
	mov	x4, x26
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x5, x23
	mov	x6, x24
	bl	_find_matching_nsec3
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_dname_remove_label
	ldr	x0, [sp, #8]
	ldr	w1, [x21]
	bl	_dname_subdomain_c
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x4, x3, [sp]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	b	LBB0_2
LBB0_5:
	ldp	x9, x8, [sp]
	stp	x9, x8, [x19]
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nsec3_find_closest_encloser
.subsections_via_symbols
