	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function processDSNSFind
_processDSNSFind:                       ## @processDSNSFind
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	$0, -40(%rbp)
	movq	_VERB_ALGO@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	16(%rbx), %rdi
	movq	%rdi, (%rbx)
	movl	12(%rbx), %eax
	movl	%eax, 24(%rbx)
LBB0_2:
	movq	32(%rbx), %rax
	movq	(%rax), %rsi
	callq	_dname_subdomain_c
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	leaq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_dname_remove_label
	movq	(%rbx), %rdi
	movq	32(%rbx), %rax
	movq	(%rax), %rsi
	callq	_query_dname_compare
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_DSNS_FIND_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	(%r12), %edi
	movq	(%rbx), %rdx
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	8(%rbx), %r8d
	leaq	L_.str.2(%rip), %rsi
	callq	_log_nametypeclass
	movq	(%rbx), %rdi
	movl	24(%rbx), %esi
	movl	(%r12), %edx
	movl	8(%rbx), %ecx
	movq	_INIT_REQUEST_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_FINISHED_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-40(%rbp), %r11
	movq	%r15, %r8
	movl	%r14d, %r9d
	pushq	$0
	pushq	%r11
	pushq	%rax
	pushq	%r10
	pushq	%rbx
	callq	_generate_sub_request
	addq	$48, %rsp
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.6:
	movq	(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_errinf_dname
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_error_response_cache
	jmp	LBB0_7
LBB0_8:
	movq	32(%rbx), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_errinf_dname
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error_response_cache           ## TAILCALL
LBB0_4:
	movq	_QUERYTARGETS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	$1, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"processDSNSFind"

L_.str.1:                               ## @.str.1
	.asciz	"for DS query parent-child nameserver search the query is not under the zone"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ## @LDNS_RCODE_SERVFAIL
	.comm	_QUERYTARGETS_STATE,4,2         ## @QUERYTARGETS_STATE
	.comm	_DSNS_FIND_STATE,4,2            ## @DSNS_FIND_STATE
L_.str.2:                               ## @.str.2
	.asciz	"fetch nameservers"

	.comm	_LDNS_RR_TYPE_NS,4,2            ## @LDNS_RR_TYPE_NS
	.comm	_INIT_REQUEST_STATE,4,2         ## @INIT_REQUEST_STATE
	.comm	_FINISHED_STATE,4,2             ## @FINISHED_STATE
L_.str.3:                               ## @.str.3
	.asciz	"for DS query parent-child nameserver search, could not generate NS lookup for"

	.no_dead_strip	_processDSNSFind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function processDSNSFind
_processDSNSFind:                       ; @processDSNSFind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x22, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x22, [x22, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	ldr	x0, [x21]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x21, #16]
	str	x0, [x21]
	ldr	w8, [x21, #12]
	str	w8, [x21, #24]
LBB0_2:
	ldr	x8, [x21, #32]
	ldr	x1, [x8]
	bl	_dname_subdomain_c
	cbz	w0, LBB0_6
; %bb.3:
	add	x1, x21, #24
	mov	x0, x21
	bl	_dname_remove_label
	ldr	x0, [x21]
	ldr	x8, [x21, #32]
	ldr	x1, [x8]
	bl	_query_dname_compare
	cbz	x0, LBB0_7
; %bb.4:
Lloh4:
	adrp	x8, _DSNS_FIND_STATE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DSNS_FIND_STATE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x21, #28]
	ldr	w0, [x22]
	ldr	x2, [x21]
Lloh7:
	adrp	x22, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh8:
	ldr	x22, [x22, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
	ldr	w3, [x22]
	ldr	w4, [x21, #8]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_log_nametypeclass
	ldr	x0, [x21]
	ldr	w1, [x21, #24]
	ldr	w2, [x22]
	ldr	w3, [x21, #8]
Lloh11:
	adrp	x8, _INIT_REQUEST_STATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INIT_REQUEST_STATE@GOTPAGEOFF]
Lloh13:
	ldr	w7, [x8]
Lloh14:
	adrp	x8, _FINISHED_STATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FINISHED_STATE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	wzr, [sp, #16]
	add	x9, sp, #24
	str	x9, [sp, #8]
	str	w8, [sp]
	mov	x4, x20
	mov	x5, x19
	mov	x6, x21
	bl	_generate_sub_request
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_8
; %bb.5:
	ldr	x2, [x21]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_errinf_dname
Lloh19:
	adrp	x8, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_error_response_cache
	b	LBB0_8
LBB0_6:
	ldr	x8, [x21, #32]
	ldr	x2, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_errinf_dname
Lloh24:
	adrp	x8, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	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
	add	sp, sp, #80
	b	_error_response_cache
LBB0_7:
Lloh27:
	adrp	x8, _QUERYTARGETS_STATE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _QUERYTARGETS_STATE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x21, #28]
	mov	w0, #1
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"processDSNSFind"

l_.str.1:                               ; @.str.1
	.asciz	"for DS query parent-child nameserver search the query is not under the zone"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ; @LDNS_RCODE_SERVFAIL
	.comm	_QUERYTARGETS_STATE,4,2         ; @QUERYTARGETS_STATE
	.comm	_DSNS_FIND_STATE,4,2            ; @DSNS_FIND_STATE
l_.str.2:                               ; @.str.2
	.asciz	"fetch nameservers"

	.comm	_LDNS_RR_TYPE_NS,4,2            ; @LDNS_RR_TYPE_NS
	.comm	_INIT_REQUEST_STATE,4,2         ; @INIT_REQUEST_STATE
	.comm	_FINISHED_STATE,4,2             ; @FINISHED_STATE
l_.str.3:                               ; @.str.3
	.asciz	"for DS query parent-child nameserver search, could not generate NS lookup for"

	.no_dead_strip	_processDSNSFind
.subsections_via_symbols
