	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_ds_response
_process_ds_response:                   ## @process_ds_response
	.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
	movq	%r9, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movq	32(%rsi), %r13
	movq	$0, 32(%rsi)
	leaq	-48(%rbp), %rax
	movq	%rax, (%rsp)
	callq	_ds_response_to_ke
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.7:
	callq	_key_entry_isgood
	movq	-48(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movl	8(%r15), %esi
	callq	_key_entry_get_rrset
	movl	%eax, 40(%rbx)
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	$0, 24(%rbx)
	jmp	LBB0_18
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	callq	_log_err
	movq	$0, 16(%rbx)
LBB0_17:
	movq	_VAL_VALIDATE_STATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	8(%r15), %edi
	movl	(%r14), %esi
	movl	4(%r14), %edx
	callq	_regional_alloc_init
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	4(%r14), %eax
	movl	%eax, 44(%rbx)
	movq	$0, 24(%rbx)
	jmp	LBB0_18
LBB0_11:
	movq	16(%rbp), %r12
	callq	_key_entry_isbad
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	(%rbx), %rax
	movq	_VAL_MAX_RESTART_COUNT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_14
## %bb.13:
	movq	%r13, 32(%rbx)
	leaq	24(%rbx), %rdi
	movl	8(%r15), %esi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_val_blacklist
	movq	$0, (%r15)
	incq	(%rbx)
	jmp	LBB0_18
LBB0_14:
	movq	-48(%rbp), %rdi
	callq	_key_entry_isbad
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_errinf_origin
	movl	(%r14), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_errinf_dname
LBB0_16:
	movq	-48(%rbp), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_17
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failure in process_ds_response"

	.comm	_VAL_VALIDATE_STATE,8,3         ## @VAL_VALIDATE_STATE
L_.str.1:                               ## @.str.1
	.asciz	"malloc failure in empty_DS_name"

L_.str.2:                               ## @.str.2
	.asciz	"malloc failure in process DS"

	.comm	_VAL_MAX_RESTART_COUNT,8,3      ## @VAL_MAX_RESTART_COUNT
L_.str.3:                               ## @.str.3
	.asciz	"for DS"

	.no_dead_strip	_process_ds_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_ds_response
_process_ds_response:                   ; @process_ds_response
	.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
	mov	x22, x6
	mov	x20, x5
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #8]
	ldr	x23, [x1, #32]
	str	xzr, [x1, #32]
	add	x6, sp, #8
	bl	_ds_response_to_ke
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_7
; %bb.2:
	bl	_key_entry_isgood
	mov	x8, x0
	ldr	x0, [sp, #8]
	cbz	x8, LBB0_9
; %bb.3:
	ldr	w1, [x21, #8]
	bl	_key_entry_get_rrset
	str	w0, [x19, #40]
	cbz	w0, LBB0_16
; %bb.4:
	str	xzr, [x19, #24]
	b	LBB0_15
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	bl	_log_err
Lloh2:
	adrp	x8, _VAL_VALIDATE_STATE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VAL_VALIDATE_STATE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stp	x8, xzr, [x19, #8]
	b	LBB0_15
LBB0_7:
	ldr	w0, [x21, #8]
	ldp	w1, w2, [x20]
	bl	_regional_alloc_init
	str	x0, [x19, #32]
	cbz	x0, LBB0_17
; %bb.8:
	ldr	w8, [x20, #4]
	str	w8, [x19, #44]
	str	xzr, [x19, #24]
	b	LBB0_15
LBB0_9:
	bl	_key_entry_isbad
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _VAL_MAX_RESTART_COUNT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VAL_MAX_RESTART_COUNT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_12
; %bb.11:
	str	x23, [x19, #32]
	add	x0, x19, #24
	ldr	w1, [x21, #8]
	mov	x2, x22
	mov	w3, #1
	bl	_val_blacklist
	str	xzr, [x21]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_15
LBB0_12:
	ldr	x0, [sp, #8]
	bl	_key_entry_isbad
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x21
	mov	x1, x22
	bl	_errinf_origin
	ldr	w2, [x20]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_errinf_dname
LBB0_14:
	ldr	x8, [sp, #8]
Lloh10:
	adrp	x9, _VAL_VALIDATE_STATE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _VAL_VALIDATE_STATE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #8]
LBB0_15:
	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
LBB0_16:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_17:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failure in process_ds_response"

	.comm	_VAL_VALIDATE_STATE,8,3         ; @VAL_VALIDATE_STATE
l_.str.1:                               ; @.str.1
	.asciz	"malloc failure in empty_DS_name"

l_.str.2:                               ; @.str.2
	.asciz	"malloc failure in process DS"

	.comm	_VAL_MAX_RESTART_COUNT,8,3      ; @VAL_MAX_RESTART_COUNT
l_.str.3:                               ; @.str.3
	.asciz	"for DS"

	.no_dead_strip	_process_ds_response
.subsections_via_symbols
