	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dns64_apply_cfg
_dns64_apply_cfg:                       ## @dns64_apply_cfg
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rsi), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_DEFAULT_DNS64_PREFIX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_2:
	leaq	12(%r13), %r12
	leaq	8(%r13), %rbx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%r13, %r8
	callq	_netblockstrtoaddr
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_addr_is_ip6
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	cmpl	$97, (%r13)
	jb	LBB0_10
## %bb.5:
	movq	8(%r14), %rsi
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_8
LBB0_6:
	movq	8(%r14), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_log_err
	jmp	LBB0_14
LBB0_7:
	movq	8(%r14), %rsi
	leaq	L_.str.2(%rip), %rdi
LBB0_8:
	callq	_log_err
LBB0_9:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_10:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_dns64_insert_ignore_aaaa
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_11
LBB0_13:
	addq	$4, %r13
	movq	%r13, %rdi
	callq	_name_tree_init_parents
	movl	$1, %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %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	"dns64-prefix: %s"

	.comm	_DEFAULT_DNS64_PREFIX,8,3       ## @DEFAULT_DNS64_PREFIX
L_.str.1:                               ## @.str.1
	.asciz	"cannot parse dns64-prefix netblock: %s"

L_.str.2:                               ## @.str.2
	.asciz	"dns64_prefix is not IPv6: %s"

L_.str.3:                               ## @.str.3
	.asciz	"dns64-prefix length it not between 0 and 96: %s"

	.no_dead_strip	_dns64_apply_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dns64_apply_cfg
_dns64_apply_cfg:                       ; @dns64_apply_cfg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [x1, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
Lloh5:
	adrp	x8, _DEFAULT_DNS64_PREFIX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEFAULT_DNS64_PREFIX@GOTPAGEOFF]
	ldr	x9, [x20, #8]
Lloh7:
	ldr	x8, [x8]
	cmp	x9, #0
	csel	x0, x8, x9, eq
	add	x21, x19, #12
	add	x22, x19, #8
	mov	w1, #0
	mov	x2, x21
	mov	x3, x22
	mov	x4, x19
	bl	_netblockstrtoaddr
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_addr_is_ip6
	cbz	w0, LBB0_5
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #97
	b.lo	LBB0_8
; %bb.3:
	ldr	x1, [x20, #8]
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	x1, [x20, #8]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	x1, [x20, #8]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_log_err
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x20, [x20]
	cbz	x20, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x19
	bl	_dns64_insert_ignore_aaaa
	cbz	w0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_9
LBB0_11:
	add	x0, x19, #4
	bl	_name_tree_init_parents
	mov	w0, #1
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dns64-prefix: %s"

	.comm	_DEFAULT_DNS64_PREFIX,8,3       ; @DEFAULT_DNS64_PREFIX
l_.str.1:                               ; @.str.1
	.asciz	"cannot parse dns64-prefix netblock: %s"

l_.str.2:                               ; @.str.2
	.asciz	"dns64_prefix is not IPv6: %s"

l_.str.3:                               ; @.str.3
	.asciz	"dns64-prefix length it not between 0 and 96: %s"

	.no_dead_strip	_dns64_apply_cfg
.subsections_via_symbols
