	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lz_enter_override
_lz_enter_override:                     ## @lz_enter_override
	.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
	movl	%r8d, -72(%rbp)                 ## 4-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LDNS_MAX_DOMAINLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	incl	%r12d
	shlq	$2, %r12
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r12, -96(%rbp)
	leaq	-96(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_sldns_str2wire_dname_buf
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%rbx, %rsi
LBB0_2:
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_log_err
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_dname_count_labels
	movl	%eax, %ebx
	movq	_UNBOUND_DNS_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	leaq	-84(%rbp), %r8
	movq	%r15, %rdi
	callq	_netblockstrtoaddr
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	leaq	-76(%rbp), %rsi
	movq	%r12, %rdi
	callq	_local_zone_str2type
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%r15, %rbx
	movq	%r13, %rdi
	callq	_lock_rw_rdlock
	movq	-96(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-72(%rbp), %r8d                 ## 4-byte Reload
	callq	_local_zones_find
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_lock_rw_wrlock
	movq	%r13, %rdi
	callq	_lock_rw_unlock
	cmpq	$0, 8(%r12)
	je	LBB0_10
LBB0_13:
	movl	16(%r12), %edi
	movl	$4, %esi
	callq	_regional_alloc_zero
	testq	%rax, %rax
	je	LBB0_11
## %bb.14:
	movl	-76(%rbp), %ecx
	movl	%ecx, (%rax)
	movq	8(%r12), %rdi
	movl	-80(%rbp), %ecx
	movl	-84(%rbp), %r8d
	leaq	-64(%rbp), %rdx
	movq	%rax, %rsi
	callq	_addr_tree_insert
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_lock_rw_unlock
	leaq	L_.str.5(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_17
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_18
LBB0_8:
	movq	%r13, %rdi
	callq	_lock_rw_unlock
	leaq	L_.str.3(%rip), %rdi
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_18
LBB0_10:
	movl	16(%r12), %edi
	movl	$4, %esi
	callq	_regional_alloc_zero
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %rdi
	callq	_addr_tree_init
	cmpq	$0, 8(%r12)
	jne	LBB0_13
LBB0_16:
	movq	%r12, %rdi
	callq	_lock_rw_unlock
LBB0_17:
	movl	$1, %r14d
	jmp	LBB0_18
LBB0_11:
	movq	%r12, %rdi
	callq	_lock_rw_unlock
	leaq	L_.str.4(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ## @LDNS_MAX_DOMAINLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot parse zone name in local-zone-override: %s %s"

	.comm	_UNBOUND_DNS_PORT,4,2           ## @UNBOUND_DNS_PORT
L_.str.1:                               ## @.str.1
	.asciz	"cannot parse netblock in local-zone-override: %s %s"

L_.str.2:                               ## @.str.2
	.asciz	"cannot parse type in local-zone-override: %s %s %s"

L_.str.3:                               ## @.str.3
	.asciz	"no local-zone for local-zone-override %s"

L_.str.4:                               ## @.str.4
	.asciz	"out of memory"

L_.str.5:                               ## @.str.5
	.asciz	"duplicate local-zone-override %s %s"

	.no_dead_strip	_lz_enter_override
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lz_enter_override
_lz_enter_override:                     ; @lz_enter_override
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #48
	mov	x22, x4
	mov	x23, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _LDNS_MAX_DOMAINLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_MAX_DOMAINLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x7fffffff0
	sub	x24, x9, x10
	mov	sp, x24
	stur	x8, [x29, #-80]
	sub	x2, x29, #80
	mov	x0, x1
	mov	x1, x24
	bl	_sldns_str2wire_dname_buf
	cbz	x0, LBB0_6
; %bb.1:
	stp	x19, x20, [sp, #-16]!
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	bl	_log_err
	add	sp, sp, #16
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldur	x8, [x29, #-72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.5:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x24
	bl	_dname_count_labels
	mov	x25, x0
Lloh13:
	adrp	x8, _UNBOUND_DNS_PORT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UNBOUND_DNS_PORT@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	sub	x2, x29, #88
	sub	x3, x29, #96
	sub	x4, x29, #92
	mov	x0, x20
	bl	_netblockstrtoaddr
	cbz	w0, LBB0_13
; %bb.7:
	sub	x1, x29, #100
	mov	x0, x23
	bl	_local_zone_str2type
	cbz	w0, LBB0_14
; %bb.8:
	mov	x0, x21
	bl	_lock_rw_rdlock
	ldur	x2, [x29, #-80]
	mov	x0, x21
	mov	x1, x24
	mov	x3, x25
	mov	x4, x22
	bl	_local_zones_find
	cbz	x0, LBB0_15
; %bb.9:
	mov	x22, x0
	bl	_lock_rw_wrlock
	mov	x0, x21
	bl	_lock_rw_unlock
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_16
LBB0_10:
	ldr	w0, [x22, #16]
	mov	w1, #4
	bl	_regional_alloc_zero
	cbz	x0, LBB0_20
; %bb.11:
	mov	x1, x0
	ldur	w8, [x29, #-100]
	str	w8, [x0]
	ldr	x0, [x22, #8]
	ldp	w3, w4, [x29, #-96]
	sub	x2, x29, #88
	bl	_addr_tree_insert
	cbnz	w0, LBB0_18
; %bb.12:
	mov	x0, x22
	bl	_lock_rw_unlock
	stp	x19, x20, [sp, #-16]!
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_log_err
	add	sp, sp, #16
	b	LBB0_19
LBB0_13:
	stp	x19, x20, [sp, #-16]!
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_14:
	sub	sp, sp, #32
	stp	x20, x23, [sp, #8]
	str	x19, [sp]
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_err
	add	sp, sp, #32
	b	LBB0_3
LBB0_15:
	mov	x0, x21
	bl	_lock_rw_unlock
	str	x19, [sp, #-16]!
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_16:
	ldr	w0, [x22, #16]
	mov	w1, #4
	bl	_regional_alloc_zero
	str	x0, [x22, #8]
	cbz	x0, LBB0_20
; %bb.17:
	bl	_addr_tree_init
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_10
LBB0_18:
	mov	x0, x22
	bl	_lock_rw_unlock
LBB0_19:
	mov	w0, #1
	b	LBB0_4
LBB0_20:
	mov	x0, x22
	bl	_lock_rw_unlock
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_log_err
	b	LBB0_3
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ; @LDNS_MAX_DOMAINLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot parse zone name in local-zone-override: %s %s"

	.comm	_UNBOUND_DNS_PORT,4,2           ; @UNBOUND_DNS_PORT
l_.str.1:                               ; @.str.1
	.asciz	"cannot parse netblock in local-zone-override: %s %s"

l_.str.2:                               ; @.str.2
	.asciz	"cannot parse type in local-zone-override: %s %s %s"

l_.str.3:                               ; @.str.3
	.asciz	"no local-zone for local-zone-override %s"

l_.str.4:                               ; @.str.4
	.asciz	"out of memory"

l_.str.5:                               ; @.str.5
	.asciz	"duplicate local-zone-override %s %s"

	.no_dead_strip	_lz_enter_override
.subsections_via_symbols
