	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function respip_data_answer
_respip_data_answer:                    ## @respip_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r13
	movq	%rdi, %r14
	movq	64(%rbp), %r8
	movq	56(%rbp), %rbx
	movl	16(%rbp), %edi
	movq	(%r14), %r12
	movq	$0, (%rbx)
	cmpl	$-1, %edi
	je	LBB0_8
## %bb.1:
	movq	_respip_redirect@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_8
## %bb.2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movslq	%edi, %r15
	cmpq	32(%rbp), %r15
	jae	LBB0_7
## %bb.3:
	movq	24(%rbp), %rax
	cmpq	$0, (%rax,%r15,8)
	je	LBB0_7
## %bb.4:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	movq	%rcx, %rbx
	callq	_memset
	movq	(%rbx), %rax
	movq	(%rax,%r13,8), %rax
	movl	8(%rax), %ecx
	movl	%ecx, -68(%rbp)
	movl	4(%rax), %ecx
	movl	%ecx, -72(%rbp)
	movl	16(%rax), %edi
	callq	_ntohs
	movq	%rax, -80(%rbp)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	(%rax,%r13,8), %rax
	movl	12(%rax), %edi
	callq	_ntohs
	movq	%rax, -88(%rbp)
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	24(%rbp), %rax
	movq	(%rax,%r15,8), %rsi
	leaq	-112(%rbp), %rdi
	movq	%rbx, %rdx
	movq	64(%rbp), %rcx
	callq	_local_data_find_tag_datas
	testq	%rax, %rax
	je	LBB0_18
## %bb.5:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbp), %edx
	cmpl	48(%rbp), %edx
	jge	LBB0_16
## %bb.6:
	movq	40(%rbp), %rax
	movq	(%rax,%r15,8), %rcx
	jmp	LBB0_17
LBB0_7:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	56(%rbp), %rbx
LBB0_8:
	testq	%r12, %r12
	je	LBB0_19
LBB0_9:
	cmpq	(%r14), %r12
	jne	LBB0_12
## %bb.10:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r14
	movq	%r12, %rdi
	movq	%r8, %rsi
	callq	_copy_rrset
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	%rax, %r12
	movq	%r14, %rcx
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movl	8(%rax), %edx
	movl	%edx, 8(%r12)
	movl	4(%rax), %eax
	movl	%eax, 4(%r12)
	movq	64(%rbp), %r8
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_12:
	movq	_LDNS_RR_TYPE_ANY@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpq	%rdx, (%rax)
	cmoveq	%rsi, %r13
	leaq	1(%r13), %rdx
	movq	%rcx, %rdi
	movq	%r8, %rsi
	movq	%r13, %rcx
	callq	_make_new_reply_info
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	_PACKED_RRSET_FIXEDTTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r12)
	movq	(%rax), %rcx
	movq	%r12, (%rcx,%r13,8)
	movq	%r12, (%rbx)
	movq	%rax, (%r15)
	movl	$1, %eax
	jmp	LBB0_20
LBB0_16:
	leaq	L_.str.1(%rip), %rcx
LBB0_17:
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	leaq	-160(%rbp), %rdi
	movq	64(%rbp), %rsi
	callq	_copy_rrset
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_15
LBB0_18:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	56(%rbp), %rbx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	64(%rbp), %r8
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%r12, %r12
	jne	LBB0_9
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_15:
	movl	$-1, %eax
LBB0_20:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_respip_redirect,4,2            ## @respip_redirect
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"response-ip redirect with tag data [%d] %s"

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

	.comm	_LDNS_RR_TYPE_ANY,8,3           ## @LDNS_RR_TYPE_ANY
	.comm	_PACKED_RRSET_FIXEDTTL,4,2      ## @PACKED_RRSET_FIXEDTTL
	.no_dead_strip	_respip_data_answer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function respip_data_answer
_respip_data_answer:                    ; @respip_data_answer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x23, x5
	mov	x21, x4
	mov	x20, x3
	mov	x25, x0
	ldp	x28, x22, [x29, #40]
	ldr	x24, [x0]
	str	xzr, [x28]
	cmn	w6, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x26, x6
	ldr	x8, [x29, #16]
Lloh0:
	adrp	x9, _respip_redirect@GOTPAGE
Lloh1:
	ldr	x9, [x9, _respip_redirect@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	sxtw	x19, w26
	ccmp	x19, x8, #2, eq
	b.lo	LBB0_9
LBB0_2:
	cbz	x24, LBB0_8
; %bb.3:
	ldr	x8, [x25]
	cmp	x24, x8
	b.ne	LBB0_6
; %bb.4:
	mov	x19, x2
	mov	x0, x24
	mov	x1, x22
	bl	_copy_rrset
	cbz	x0, LBB0_16
; %bb.5:
	mov	x24, x0
	ldr	x8, [x20]
	ldr	x8, [x8, x21, lsl #3]
	ldur	d0, [x8, #4]
	stur	d0, [x0, #4]
	mov	x2, x19
LBB0_6:
Lloh3:
	adrp	x8, _LDNS_RR_TYPE_ANY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_TYPE_ANY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x2
	csel	x21, xzr, x21, eq
	add	x2, x21, #1
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_make_new_reply_info
	cbz	x0, LBB0_16
; %bb.7:
Lloh6:
	adrp	x8, _PACKED_RRSET_FIXEDTTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PACKED_RRSET_FIXEDTTL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x24]
	ldr	x8, [x0]
	str	x24, [x8, x21, lsl #3]
	str	x24, [x28]
	str	x0, [x23]
	mov	w0, #1
	b	LBB0_17
LBB0_8:
	mov	w0, #0
	b	LBB0_17
LBB0_9:
	mov	x27, x7
	ldr	x8, [x7, x19, lsl #3]
	cbz	x8, LBB0_2
; %bb.10:
	str	x2, [sp]                        ; 8-byte Folded Spill
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	x8, [x20]
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	lsl	x23, x21, #3
	ldr	x8, [x8, x23]
	ldur	d0, [x8, #4]
	str	d0, [sp, #104]
	ldr	w0, [x8, #16]
	bl	_ntohs
	str	x0, [sp, #96]
	ldr	x8, [x20]
	ldr	x8, [x8, x23]
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w0, [x8, #12]
	bl	_ntohs
	str	x0, [sp, #88]
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	x1, [x27, x19, lsl #3]
	add	x0, sp, #64
	add	x2, sp, #16
	mov	x3, x22
	bl	_local_data_find_tag_datas
	cbz	x0, LBB0_15
; %bb.11:
	ldr	w8, [x29, #32]
Lloh9:
	adrp	x9, _VERB_ALGO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VERB_ALGO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
	cmp	w26, w8
	b.ge	LBB0_13
; %bb.12:
	ldr	x8, [x29, #24]
	ldr	x3, [x8, x19, lsl #3]
	b	LBB0_14
LBB0_13:
Lloh12:
	adrp	x3, l_.str.1@PAGE
Lloh13:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_14:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x26
	bl	_verbose
	add	x0, sp, #16
	mov	x1, x22
	bl	_copy_rrset
	mov	x24, x0
	cbz	x0, LBB0_16
LBB0_15:
	ldr	x2, [sp]                        ; 8-byte Folded Reload
	b	LBB0_2
LBB0_16:
	mov	w0, #-1
LBB0_17:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_respip_redirect,4,2            ; @respip_redirect
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"response-ip redirect with tag data [%d] %s"

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

	.comm	_LDNS_RR_TYPE_ANY,8,3           ; @LDNS_RR_TYPE_ANY
	.comm	_PACKED_RRSET_FIXEDTTL,4,2      ; @PACKED_RRSET_FIXEDTTL
	.no_dead_strip	_respip_data_answer
.subsections_via_symbols
