	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dns64_synth_aaaa_data
_dns64_synth_aaaa_data:                 ## @dns64_synth_aaaa_data
	.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	%rcx, %r12
	movl	(%rsi), %eax
	movq	_RR_COUNT_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_2
## %bb.1:
	movq	$0, (%r12)
	jmp	LBB0_17
LBB0_2:
	movq	%r9, %r13
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	imull	$42, %eax, %esi
	addl	$56, %esi
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %rdi
	callq	_regional_alloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %rbx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	48(%r14), %eax
	movl	%eax, 48(%rbx)
	movslq	(%r14), %rax
	movl	%eax, (%rbx)
	movq	$0, 40(%rbx)
	movl	36(%r14), %ecx
	movl	%ecx, 36(%rbx)
	movl	32(%r14), %ecx
	movl	%ecx, 32(%rbx)
	leaq	224(%rbx), %rcx
	movq	%rcx, 8(%rbx)
	leaq	224(%rbx,%rax,8), %rcx
	movq	%rcx, 16(%rbx)
	leaq	(%rcx,%rax,8), %rax
	movq	%rax, 24(%rbx)
	cmpl	$0, (%r14)
	je	LBB0_9
## %bb.4:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	cmpq	$6, (%rcx,%r15,8)
	jne	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r14), %rcx
	movq	(%rcx,%r15,8), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$4, 4(%rcx)
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rcx
	movq	$18, (%rcx,%r15,8)
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,8), %rax
	addq	%r12, %rax
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	16(%rbx), %rax
	movq	(%rax,%r15,8), %rcx
	movabsq	$68719476736, %rax              ## imm = 0x1000000000
	movq	%rax, (%rcx)
	movl	(%r13), %esi
	movl	4(%r13), %edi
	movq	16(%r14), %rax
	movq	(%rax,%r15,8), %rdx
	addq	$8, %rdx
	addq	$8, %rcx
	callq	_synthesize_aaaa
	movq	24(%r14), %rax
	movq	(%rax,%r15,8), %rcx
	movq	24(%rbx), %rax
	movq	%rcx, (%rax,%r15,8)
	incq	%r15
	movslq	(%r14), %rcx
	addq	$72, %r12
	cmpq	%rcx, %r15
	jb	LBB0_5
LBB0_9:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_13
## %bb.10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rsi
	movl	36(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_regional_alloc_init
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	leaq	24(%r15), %r14
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 32(%r15)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%r15, 16(%r15)
	movq	%r14, %rdi
	callq	_rrset_key_hash
	movl	%eax, 8(%r15)
	movq	%rbx, (%r15)
	jmp	LBB0_17
LBB0_12:
	leaq	L_.str(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_err                        ## TAILCALL
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str(%rip), %rdi
LBB0_15:
	callq	_log_err
LBB0_16:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RR_COUNT_MAX,4,2               ## @RR_COUNT_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

L_.str.1:                               ## @.str.1
	.asciz	"no key"

	.comm	_LDNS_RR_TYPE_AAAA,4,2          ## @LDNS_RR_TYPE_AAAA
	.no_dead_strip	_dns64_synth_aaaa_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dns64_synth_aaaa_data
lCPI0_0:
	.long	0                               ; 0x0
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dns64_synth_aaaa_data:                 ; @dns64_synth_aaaa_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x20, x3
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _RR_COUNT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RR_COUNT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_3
LBB0_1:
	str	xzr, [x20]
LBB0_2:
	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
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_3:
	mov	x24, x5
	mov	x22, x4
	mov	x19, x2
	mov	x25, x1
	mov	x23, x0
	mov	w9, #42
	orr	w10, wzr, #0x38
	madd	w1, w8, w9, w10
	mov	x0, x4
	bl	_regional_alloc
	str	x0, [x20]
	cbz	x0, LBB0_13
; %bb.4:
	mov	x21, x0
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x25, #48]
	str	w8, [x0, #48]
	ldrsw	x8, [x25]
	str	w8, [x0]
	str	xzr, [x0, #40]
	ldr	d0, [x25, #32]
	str	d0, [x0, #32]
	add	x9, x0, #224
	lsl	x8, x8, #3
	add	x10, x9, x8
	add	x8, x10, x8
	stp	x9, x10, [x0, #8]
	str	x8, [x0, #24]
	ldr	w9, [x25]
	cbz	w9, LBB0_10
; %bb.5:
	mov	x26, #0
	mov	x27, #0
	mov	w28, #18
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d8, [x9, lCPI0_0@PAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25, #8]
	ldr	x9, [x9, x27, lsl #3]
	cmp	x9, #6
	b.ne	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x25, #16]
	ldr	x9, [x9, x27, lsl #3]
	ldr	w10, [x9]
	cbnz	w10, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x9, #4]
	cmp	w9, #4
	b.ne	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	lsl	x23, x27, #3
	ldp	x9, x10, [x21, #8]
	str	x28, [x9, x23]
	ldrsw	x9, [x21]
	add	x8, x8, x9, lsl #3
	add	x8, x8, x26
	str	x8, [x10, x23]
	ldr	x8, [x21, #16]
	ldr	x3, [x8, x23]
	str	d8, [x3], #8
	ldp	w1, w0, [x24]
	ldr	x8, [x25, #16]
	ldr	x8, [x8, x23]
	add	x2, x8, #8
	bl	_synthesize_aaaa
	ldr	x8, [x25, #24]
	ldr	x9, [x8, x23]
	ldr	x8, [x21, #24]
	str	x9, [x8, x23]
	add	x27, x27, #1
	ldrsw	x9, [x25]
	add	x26, x26, #72
	cmp	x27, x9
	b.lo	LBB0_6
LBB0_10:
	cbz	x19, LBB0_14
; %bb.11:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x1, [x8, #24]
	ldr	w2, [x8, #36]
	mov	x0, x22
	bl	_regional_alloc_init
	mov	x22, x19
	str	x0, [x22, #24]!
	cbz	x0, LBB0_15
; %bb.12:
Lloh5:
	adrp	x8, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x19, #32]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	x19, [x19, #16]
	mov	x0, x22
	bl	_rrset_key_hash
	str	w0, [x19, #8]
	str	x21, [x19]
	b	LBB0_2
LBB0_13:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	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
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_log_err
LBB0_14:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
LBB0_16:
	bl	_log_err
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RR_COUNT_MAX,4,2               ; @RR_COUNT_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

l_.str.1:                               ; @.str.1
	.asciz	"no key"

	.comm	_LDNS_RR_TYPE_AAAA,4,2          ; @LDNS_RR_TYPE_AAAA
	.no_dead_strip	_dns64_synth_aaaa_data
.subsections_via_symbols
