	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function processFinished
_processFinished:                       ## @processFinished
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	28(%rbx), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_log_query_info
	cmpl	$0, 36(%rbx)
	je	LBB0_1
LBB0_8:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.10:
	movq	_BIT_RA@GOTPCREL(%rip), %rax
	movq	(%rsi), %rcx
	movl	4(%rcx), %edx
	orl	(%rax), %edx
	movq	_BIT_AA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%edx, %eax
	movq	_BIT_QR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 4(%rcx)
	movq	_module_finished@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	40(%rbx), %rcx
	movslq	%r12d, %rdx
	movl	%eax, (%rcx,%rdx,4)
	cmpq	$0, 24(%r14)
	jne	LBB0_12
## %bb.11:
	cmpq	$0, 16(%r14)
	je	LBB0_20
LBB0_12:
	movl	20(%rbx), %edx
	movq	%r14, %rdi
	callq	_iter_prepend
	testl	%eax, %eax
	je	LBB0_13
## %bb.15:
	movl	28(%rbx), %eax
	movq	(%r14), %rsi
	movl	%eax, 8(%rsi)
	movq	_sec_status_unchecked@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rsi), %rdx
	movl	%eax, (%rdx)
	cmpl	$0, 36(%rbx)
	jne	LBB0_20
## %bb.16:
	movl	(%rbx), %eax
	movq	_BIT_RD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.17:
	movl	24(%rbx), %r8d
	movl	32(%rbx), %edi
	movq	8(%r14), %rcx
	xorl	%r9d, %r9d
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.18:
	cmpq	$0, (%rcx)
	setne	%r9b
LBB0_19:
	movl	20(%rbx), %r10d
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	pushq	%rax
	pushq	%r10
	callq	_iter_dns_store
	addq	$16, %rsp
	movq	(%r14), %rsi
LBB0_20:
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%rsi, 8(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, 48(%r14)
	je	LBB0_8
## %bb.2:
	cmpl	$0, 40(%r14)
	jne	LBB0_8
## %bb.3:
	movl	32(%rbx), %edi
	movq	32(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	movq	(%rax), %rdx
LBB0_7:
	movq	%r15, %rsi
	callq	_iter_store_parentside_neg
	jmp	LBB0_8
LBB0_9:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_verbose
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_errinf
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.3(%rip), %rdi
	callq	_log_err
LBB0_14:
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error_response                 ## TAILCALL
LBB0_5:
	xorl	%edx, %edx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"finishing processing for"

	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
L_.str.1:                               ## @.str.1
	.asciz	"No response is set, servfail"

L_.str.2:                               ## @.str.2
	.asciz	"(no response found at query finish)"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ## @LDNS_RCODE_SERVFAIL
	.comm	_BIT_RA,4,2                     ## @BIT_RA
	.comm	_BIT_AA,4,2                     ## @BIT_AA
	.comm	_BIT_QR,4,2                     ## @BIT_QR
	.comm	_module_finished,4,2            ## @module_finished
L_.str.3:                               ## @.str.3
	.asciz	"prepend rrsets: out of memory"

	.comm	_sec_status_unchecked,4,2       ## @sec_status_unchecked
	.comm	_BIT_RD,4,2                     ## @BIT_RD
	.comm	_LDNS_RCODE_NOERROR,4,2         ## @LDNS_RCODE_NOERROR
	.no_dead_strip	_processFinished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function processFinished
_processFinished:                       ; @processFinished
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x19, #28
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_log_query_info
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_9
LBB0_1:
	ldr	x1, [x20]
	cbz	x1, LBB0_15
; %bb.2:
Lloh5:
	adrp	x8, _BIT_RA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BIT_RA@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x1]
	ldr	w10, [x9, #4]
	orr	w8, w10, w8
Lloh8:
	adrp	x10, _BIT_AA@GOTPAGE
Lloh9:
	ldr	x10, [x10, _BIT_AA@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	bic	w8, w8, w10
Lloh11:
	adrp	x10, _BIT_QR@GOTPAGE
Lloh12:
	ldr	x10, [x10, _BIT_QR@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	orr	w8, w10, w8
Lloh14:
	adrp	x10, _module_finished@GOTPAGE
Lloh15:
	ldr	x10, [x10, _module_finished@GOTPAGEOFF]
	str	w8, [x9, #4]
Lloh16:
	ldr	w8, [x10]
	ldr	x9, [x19, #40]
	str	w8, [x9, w22, sxtw #2]
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_20
LBB0_4:
	ldr	w2, [x19, #20]
	mov	x0, x20
	bl	_iter_prepend
	cbz	w0, LBB0_16
; %bb.5:
	ldr	w8, [x19, #28]
	ldr	x1, [x20]
	str	w8, [x1, #8]
Lloh17:
	adrp	x8, _sec_status_unchecked@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sec_status_unchecked@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	x2, [x1]
	str	w8, [x2]
	ldr	w8, [x19, #36]
	cbnz	w8, LBB0_20
; %bb.6:
	ldr	w7, [x19]
Lloh20:
	adrp	x8, _BIT_RD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BIT_RD@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w7
	b.eq	LBB0_20
; %bb.7:
	ldr	w0, [x19, #32]
	ldr	w4, [x19, #24]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_18
; %bb.8:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w5, ne
	b	LBB0_19
LBB0_9:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_1
; %bb.10:
	ldr	w8, [x20, #40]
	cbnz	w8, LBB0_1
; %bb.11:
	ldr	w0, [x19, #32]
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_13
; %bb.12:
	ldr	x8, [x20]
	cbz	x8, LBB0_21
LBB0_13:
	ldr	x2, [x8]
LBB0_14:
	mov	x1, x21
	bl	_iter_store_parentside_neg
	b	LBB0_1
LBB0_15:
Lloh23:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_errinf
	b	LBB0_17
LBB0_16:
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_log_err
LBB0_17:
Lloh32:
	adrp	x8, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_error_response
LBB0_18:
	mov	w5, #0
LBB0_19:
	ldr	w6, [x19, #20]
	mov	x1, x21
	mov	w3, #0
	bl	_iter_dns_store
	ldr	x1, [x20]
LBB0_20:
Lloh35:
	adrp	x8, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	x1, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_21:
	mov	x2, #0
	b	LBB0_14
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"finishing processing for"

	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
l_.str.1:                               ; @.str.1
	.asciz	"No response is set, servfail"

l_.str.2:                               ; @.str.2
	.asciz	"(no response found at query finish)"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ; @LDNS_RCODE_SERVFAIL
	.comm	_BIT_RA,4,2                     ; @BIT_RA
	.comm	_BIT_AA,4,2                     ; @BIT_AA
	.comm	_BIT_QR,4,2                     ; @BIT_QR
	.comm	_module_finished,4,2            ; @module_finished
l_.str.3:                               ; @.str.3
	.asciz	"prepend rrsets: out of memory"

	.comm	_sec_status_unchecked,4,2       ; @sec_status_unchecked
	.comm	_BIT_RD,4,2                     ; @BIT_RD
	.comm	_LDNS_RCODE_NOERROR,4,2         ; @LDNS_RCODE_NOERROR
	.no_dead_strip	_processFinished
.subsections_via_symbols
