	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function processDSNSResponse
_processDSNSResponse:                   ## @processDSNSResponse
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	40(%rdx), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %r15
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %esi
	movl	28(%rbx), %edx
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	24(%rbx), %r8d
	callq	_reply_find_rrset
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_QUERYTARGETS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	16(%rbx), %rdi
	movl	8(%r14), %esi
	callq	_delegpt_from_message
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_errinf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RCODE_NOERROR,8,3         ## @LDNS_RCODE_NOERROR
	.comm	_LDNS_RR_TYPE_NS,4,2            ## @LDNS_RR_TYPE_NS
	.comm	_QUERYTARGETS_STATE,4,2         ## @QUERYTARGETS_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory in dsns dp alloc"

L_.str.1:                               ## @.str.1
	.asciz	"malloc failure, in DS search"

	.no_dead_strip	_processDSNSResponse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function processDSNSResponse
_processDSNSResponse:                   ; @processDSNSResponse
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	ldr	x8, [x2, #40]
	ldr	x21, [x8, w1, sxtw #3]
	ldr	x8, [x0, #16]
	ldr	w0, [x8]
	ldp	w2, w1, [x19, #28]
Lloh3:
	adrp	x8, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldr	w4, [x19, #24]
	bl	_reply_find_rrset
	cbz	w0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _QUERYTARGETS_STATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QUERYTARGETS_STATE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21, #4]
	ldr	x0, [x19, #16]
	ldr	w1, [x20, #8]
	bl	_delegpt_from_message
	str	w0, [x21]
	cbz	w0, LBB0_4
LBB0_3:
	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_4:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	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	_errinf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RCODE_NOERROR,8,3         ; @LDNS_RCODE_NOERROR
	.comm	_LDNS_RR_TYPE_NS,4,2            ; @LDNS_RR_TYPE_NS
	.comm	_QUERYTARGETS_STATE,4,2         ; @QUERYTARGETS_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory in dsns dp alloc"

l_.str.1:                               ; @.str.1
	.asciz	"malloc failure, in DS search"

	.no_dead_strip	_processDSNSResponse
.subsections_via_symbols
