	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function local_data_answer
_local_data_answer:                     ## @local_data_answer
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	40(%rbp), %r14d
	movl	24(%rbp), %eax
	leaq	-112(%rbp), %rcx
	movq	%rcx, -104(%rbp)
	movl	4(%rdx), %ecx
	movl	%ecx, -92(%rbp)
	movl	(%rdx), %ecx
	movl	%ecx, -96(%rbp)
	movl	%eax, -112(%rbp)
	movq	_local_zone_redirect@GOTPCREL(%rip), %rax
	movq	_local_zone_inform_redirect@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rax)
	je	LBB0_2
## %bb.1:
	cmpl	%r14d, (%rcx)
	jne	LBB0_11
LBB0_2:
	movl	48(%rbp), %r15d
	movl	12(%rbx), %eax
	movl	%eax, -92(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -96(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -112(%rbp)
	cmpl	$-1, %r15d
	je	LBB0_11
## %bb.3:
	movslq	%r15d, %r12
	cmpq	64(%rbp), %r12
	jae	LBB0_11
## %bb.4:
	movq	56(%rbp), %rax
	cmpq	$0, (%rax,%r12,8)
	je	LBB0_11
## %bb.5:
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	56(%rbp), %rax
	movq	(%rax,%r12,8), %rsi
	movq	%r13, %rdi
	leaq	-88(%rbp), %rdx
	movq	16(%rbp), %rcx
	callq	_find_tag_datas
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	80(%rbp), %r15d
	jge	LBB0_7
## %bb.8:
	movq	72(%rbp), %rax
	movq	(%rax,%r12,8), %rcx
	jmp	LBB0_9
LBB0_11:
	movq	32(%rbp), %r15
	leaq	-104(%rbp), %rsi
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_rbtree_search
	movq	%rax, (%r15)
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_26
## %bb.12:
	movl	16(%r13), %esi
	movq	%rax, %rdi
	movl	$1, %edx
	callq	_local_data_find_type
	testq	%rax, %rax
	je	LBB0_26
## %bb.13:
	movq	%rax, %r12
	movq	_local_zone_redirect@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_local_zone_inform_redirect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r14d, %ecx
	je	LBB0_15
## %bb.14:
	cmpl	%r14d, %eax
	jne	LBB0_18
LBB0_15:
	movq	_LDNS_RR_TYPE_CNAME@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	cmpl	%edi, 16(%r13)
	je	LBB0_18
## %bb.16:
	movq	(%r12), %rax
	movq	(%rax), %rbx
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_17
## %bb.21:
	movq	16(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_regional_alloc_zero
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_26
## %bb.22:
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_regional_alloc_init
	movq	8(%r13), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:
	movl	4(%r13), %ecx
	movl	%ecx, 4(%rax)
	movl	(%r13), %ecx
	movl	%ecx, (%rax)
	movl	$1, %r15d
	jmp	LBB0_26
LBB0_17:
	movq	_local_zone_redirect@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_local_zone_inform_redirect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	cmpl	%r14d, %ecx
	je	LBB0_20
## %bb.19:
	cmpl	%r14d, %eax
	je	LBB0_20
## %bb.24:
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	16(%rbp), %r9
	pushq	%rax
	pushq	$1
	pushq	(%r12)
	jmp	LBB0_25
LBB0_20:
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movl	4(%r13), %eax
	movl	%eax, -76(%rbp)
	movl	(%r13), %eax
	movl	%eax, -80(%rbp)
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-88(%rbp), %rbx
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	16(%rbp), %r9
	pushq	%rax
	pushq	$1
	pushq	%rbx
LBB0_25:
	callq	_local_encode
	addq	$32, %rsp
	movl	%eax, %r15d
LBB0_26:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.1(%rip), %rcx
LBB0_9:
	movq	16(%rbp), %rbx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_verbose
	movl	$1, %r15d
	cmpq	$0, 8(%r13)
	jne	LBB0_26
## %bb.10:
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	pushq	%rax
	pushq	$1
	leaq	-88(%rbp), %rax
	pushq	%rax
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_local_zone_redirect,4,2        ## @local_zone_redirect
	.comm	_local_zone_inform_redirect,4,2 ## @local_zone_inform_redirect
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"redirect with tag data [%d] %s"

L_.str.1:                               ## @.str.1
	.asciz	"null"

	.comm	_LDNS_RCODE_NOERROR,4,2         ## @LDNS_RCODE_NOERROR
	.comm	_LDNS_RR_TYPE_CNAME,4,2         ## @LDNS_RR_TYPE_CNAME
	.no_dead_strip	_local_data_answer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function local_data_answer
_local_data_answer:                     ; @local_data_answer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	stp	x4, x5, [sp, #24]               ; 16-byte Folded Spill
	stp	x1, x3, [sp, #8]                ; 16-byte Folded Spill
	mov	x20, x2
	mov	x26, x0
	ldr	w27, [x29, #24]
	add	x22, sp, #56
	str	x22, [sp, #64]
	ldr	d0, [x2]
	str	d0, [sp, #72]
	str	w7, [sp, #56]
Lloh0:
	adrp	x28, _local_zone_redirect@GOTPAGE
Lloh1:
	ldr	x28, [x28, _local_zone_redirect@GOTPAGEOFF]
	ldr	w8, [x28]
Lloh2:
	adrp	x21, _local_zone_inform_redirect@GOTPAGE
Lloh3:
	ldr	x21, [x21, _local_zone_inform_redirect@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, w27
	ccmp	w9, w27, #4, ne
	b.ne	LBB0_7
; %bb.1:
	ldr	w25, [x29, #28]
	ldr	d0, [x26, #8]
	str	d0, [sp, #72]
	ldr	w8, [x26]
	str	w8, [sp, #56]
	cmn	w25, #1
	b.eq	LBB0_7
; %bb.2:
	ldr	x8, [x29, #40]
	sxtw	x23, w25
	cmp	x23, x8
	b.hs	LBB0_7
; %bb.3:
	ldr	x24, [x29, #32]
	ldr	x8, [x24, x23, lsl #3]
	cbz	x8, LBB0_7
; %bb.4:
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x1, [x24, x23, lsl #3]
	add	x2, sp, #40
	mov	x0, x20
	mov	x3, x19
	bl	_find_tag_datas
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w8, [x29, #56]
Lloh4:
	adrp	x9, _VERB_ALGO@GOTPAGE
Lloh5:
	ldr	x9, [x9, _VERB_ALGO@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	cmp	w25, w8
	b.ge	LBB0_24
; %bb.6:
	ldr	x8, [x29, #48]
	ldr	x3, [x8, x23, lsl #3]
	b	LBB0_25
LBB0_7:
	ldr	x23, [x29, #16]
	add	x1, x22, #8
	add	x0, x26, #4
	bl	_rbtree_search
	str	x0, [x23]
	cbz	x0, LBB0_23
; %bb.8:
	ldr	w1, [x20, #16]
	mov	w2, #1
	bl	_local_data_find_type
	cbz	x0, LBB0_23
; %bb.9:
	mov	x25, x0
	ldr	w9, [x28]
	ldr	w8, [x21]
	cmp	w9, w27
	b.eq	LBB0_11
; %bb.10:
	cmp	w8, w27
	b.ne	LBB0_17
LBB0_11:
	ldr	w10, [x20, #16]
Lloh7:
	adrp	x11, _LDNS_RR_TYPE_CNAME@GOTPAGE
Lloh8:
	ldr	x11, [x11, _LDNS_RR_TYPE_CNAME@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x11]
	cmp	w10, w0
	b.eq	LBB0_17
; %bb.12:
	ldr	x8, [x25]
	ldr	x22, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_16
; %bb.13:
	mov	x0, x19
	mov	w1, #8
	bl	_regional_alloc_zero
	str	x0, [x20, #8]
	cbz	x0, LBB0_23
; %bb.14:
	ldr	x1, [x25]
	mov	x0, x19
	mov	w2, #16
	bl	_regional_alloc_init
	ldr	x8, [x20, #8]
	str	x0, [x8]
	cbz	x0, LBB0_23
; %bb.15:
	ldr	d0, [x20]
	str	d0, [x0]
	mov	w0, #1
	b	LBB0_23
LBB0_16:
	ldr	w9, [x28]
	ldr	w8, [x21]
LBB0_17:
	cmp	w9, w27
	b.eq	LBB0_20
; %bb.18:
	cmp	w8, w27
	b.eq	LBB0_20
; %bb.19:
	ldr	x6, [x25]
Lloh10:
	adrp	x8, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp]
	b	LBB0_22
LBB0_20:
	ldr	x8, [x25]
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	d0, [x20]
	str	d0, [sp, #48]
LBB0_21:
Lloh13:
	adrp	x8, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp]
	add	x6, sp, #40
LBB0_22:
	mov	x0, x20
	ldp	x1, x2, [sp, #8]                ; 16-byte Folded Reload
	ldp	x3, x4, [sp, #24]               ; 16-byte Folded Reload
	mov	x5, x19
	mov	w7, #1
	bl	_local_encode
LBB0_23:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_24:
Lloh16:
	adrp	x3, l_.str.1@PAGE
Lloh17:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_25:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
	bl	_verbose
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_21
; %bb.26:
	mov	w0, #1
	b	LBB0_23
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_local_zone_redirect,4,2        ; @local_zone_redirect
	.comm	_local_zone_inform_redirect,4,2 ; @local_zone_inform_redirect
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"redirect with tag data [%d] %s"

l_.str.1:                               ; @.str.1
	.asciz	"null"

	.comm	_LDNS_RCODE_NOERROR,4,2         ; @LDNS_RCODE_NOERROR
	.comm	_LDNS_RR_TYPE_CNAME,4,2         ; @LDNS_RR_TYPE_CNAME
	.no_dead_strip	_local_data_answer
.subsections_via_symbols
