	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dns64_adjust_a
_dns64_adjust_a:                        ## @dns64_adjust_a
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	16(%rsi), %rax
	movq	8(%rax), %rax
	movslq	%edi, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	movq	8(%r15), %rdi
	callq	_log_assert
	movq	(%rbx), %rdi
	callq	_log_assert
	movq	(%rbx), %rax
	movq	16(%rax), %rdi
	callq	_log_assert
	cmpq	$0, (%r15)
	jne	LBB0_3
## %bb.1:
	movq	8(%r15), %rdi
	movl	$72, %esi
	callq	_regional_alloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movl	24(%r15), %eax
	movq	(%r15), %rcx
	movl	%eax, 64(%rcx)
LBB0_3:
	movq	(%rbx), %rax
	movq	16(%rax), %rbx
	movq	8(%r15), %rdi
	movl	60(%rbx), %esi
	movl	56(%rbx), %edx
	movl	52(%rbx), %ecx
	movl	48(%rbx), %r8d
	movl	44(%rbx), %r9d
	movl	40(%rbx), %r10d
	movl	36(%rbx), %r11d
	movl	32(%rbx), %eax
	subq	$8, %rsp
	pushq	%rax
	pushq	8(%rbx)
	pushq	%r11
	pushq	%r10
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	pushq	(%rbx)
	callq	_construct_reply_info_base
	addq	$48, %rsp
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	8(%r15), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_reply_info_alloc_rrset_keys
	testl	%eax, %eax
	je	LBB0_16
## %bb.5:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpq	$0, 8(%rdx)
	je	LBB0_15
## %bb.6:
	xorl	%r13d, %r13d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdi
	callq	_packed_rrset_ptr_fixup
	movq	-48(%rbp), %rax
	movq	%rax, (%rbx)
	incq	%r13
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpq	8(%rdx), %r13
	jae	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rax
	movq	(%rax,%r13,8), %r14
	movq	24(%rdx), %rax
	movq	(%rax,%r13,8), %rbx
	movq	(%r14), %r12
	movq	32(%r14), %rax
	movq	%rax, 32(%rbx)
	movups	16(%r14), %xmm0
	movups	%xmm0, 16(%rbx)
	movl	40(%r14), %eax
	movl	%eax, 40(%rbx)
	cmpq	(%rcx), %r13
	jae	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	16(%r14), %rax
	movq	(%rax), %r15
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r15
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r15), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	leaq	-48(%rbp), %rcx
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_dns64_synth_aaaa_data
	cmpq	$0, -48(%rbp)
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r15), %rax
	movl	(%rax), %edi
	movq	24(%rbx), %rdx
	movq	32(%rbx), %rsi
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r9d, %r9d
	callq	_rrset_cache_remove
	testq	%r13, %r13
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r15), %rdi
	movq	24(%rbx), %rdx
	movq	32(%rbx), %rsi
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r9d, %r9d
	callq	_msg_cache_remove
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	8(%r15), %rdi
	movq	24(%r14), %rdx
	movq	32(%r14), %rsi
	callq	_regional_alloc_init
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_packed_rrset_sizeof
	movq	8(%r15), %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_regional_alloc_init
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_16
LBB0_15:
	movq	(%r15), %rax
	movq	%rdx, 16(%rax)
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"converting A answers to AAAA answers"

	.comm	_LDNS_RR_TYPE_A,4,2             ## @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,4,2          ## @LDNS_RR_TYPE_AAAA
	.comm	_LDNS_RR_CLASS_IN,4,2           ## @LDNS_RR_CLASS_IN
	.no_dead_strip	_dns64_adjust_a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dns64_adjust_a
_dns64_adjust_a:                        ; @dns64_adjust_a
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x2
	mov	x19, x1
	ldr	x8, [x1, #16]
	ldr	x8, [x8, #8]
	ldr	x20, [x8, w0, sxtw #3]
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	ldr	x0, [x19, #8]
	bl	_log_assert
	ldr	x0, [x21]
	bl	_log_assert
	ldr	x8, [x21]
	ldr	x0, [x8, #16]
	bl	_log_assert
	ldr	x8, [x19]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x0, [x19, #8]
	mov	w1, #72
	bl	_regional_alloc
	str	x0, [x19]
	cbz	x0, LBB0_16
; %bb.2:
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	ldr	w8, [x19, #24]
	ldr	x9, [x19]
	str	w8, [x9, #64]
LBB0_3:
	ldr	x8, [x21]
	ldr	x25, [x8, #16]
	ldr	x0, [x19, #8]
	ldp	w2, w1, [x25, #56]
	ldp	w4, w3, [x25, #48]
	ldp	w7, w5, [x25, #40]
	ldp	x6, x8, [x25]
	ldp	w10, w9, [x25, #32]
	str	w10, [sp, #16]
	str	x8, [sp, #8]
	str	w9, [sp]
	bl	_construct_reply_info_base
	cbz	x0, LBB0_16
; %bb.4:
	mov	x21, x0
	ldr	x2, [x19, #8]
	mov	x1, #0
	bl	_reply_info_alloc_rrset_keys
	cbz	w0, LBB0_16
; %bb.5:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_15
; %bb.6:
	mov	x26, #0
Lloh5:
	adrp	x27, _LDNS_RR_TYPE_A@GOTPAGE
Lloh6:
	ldr	x27, [x27, _LDNS_RR_TYPE_A@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #24]
	bl	_packed_rrset_ptr_fixup
	ldr	x8, [sp, #24]
	str	x8, [x22]
	add	x26, x26, #1
	ldr	x8, [x21, #8]
	cmp	x26, x8
	b.hs	LBB0_15
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, #24]
	lsl	x9, x26, #3
	ldr	x24, [x8, x9]
	ldr	x8, [x21, #24]
	ldr	x22, [x8, x9]
	ldr	x23, [x24]
	ldr	q0, [x24, #16]
	ldr	x8, [x24, #32]
	str	x8, [x22, #32]
	str	q0, [x22, #16]
	ldr	w8, [x24, #40]
	str	w8, [x22, #40]
	ldr	x8, [x25]
	cmp	x26, x8
	b.hs	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x24, #16
	ldr	x28, [x8]
	ldr	w0, [x27]
	bl	_htons
	cmp	x28, x0
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x4, [x19, #8]
	add	x3, sp, #24
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x5, x20
	bl	_dns64_synth_aaaa_data
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldp	x2, x1, [x22, #24]
Lloh7:
	adrp	x8, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	w5, #0
	bl	_rrset_cache_remove
	cbz	x26, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x19, #16]
	ldp	x2, x1, [x22, #24]
Lloh13:
	adrp	x8, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	mov	w5, #0
	bl	_msg_cache_remove
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x24, #8]
	str	w8, [x22, #8]
	ldr	x0, [x19, #8]
	ldp	x2, x1, [x24, #24]
	bl	_regional_alloc_init
	str	x0, [x22, #32]
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_packed_rrset_sizeof
	mov	x2, x0
	ldr	x0, [x19, #8]
	mov	x1, x23
	bl	_regional_alloc_init
	str	x0, [sp, #24]
	cbnz	x0, LBB0_7
	b	LBB0_16
LBB0_15:
	ldr	x8, [x19]
	str	x21, [x8, #16]
LBB0_16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"converting A answers to AAAA answers"

	.comm	_LDNS_RR_TYPE_A,4,2             ; @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,4,2          ; @LDNS_RR_TYPE_AAAA
	.comm	_LDNS_RR_CLASS_IN,4,2           ; @LDNS_RR_CLASS_IN
	.no_dead_strip	_dns64_adjust_a
.subsections_via_symbols
