	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lz_enter_zone_tag
_lz_enter_zone_tag:                     ## @lz_enter_zone_tag
	.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
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LDNS_MAX_DOMAINLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	incl	%ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, -64(%rbp)
	leaq	-64(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_sldns_str2wire_dname_buf
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	movq	%r15, %rsi
	callq	_log_err
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_dname_count_labels
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_lock_rw_rdlock
	movq	-64(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_local_zones_find
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %r14
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_lock_rw_wrlock
	movq	%r12, %rdi
	callq	_lock_rw_unlock
	movq	16(%rbx), %rdi
	callq	_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %r15
	movq	%r13, %rsi
	callq	_memdup
	movq	%rax, 16(%rbx)
	movq	%r13, (%rbx)
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	movq	%r14, %rdi
	callq	_lock_rw_unlock
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	callq	_lock_rw_unlock
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_8:
	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-tag: %s"

L_.str.1:                               ## @.str.1
	.asciz	"no local-zone for tag %s"

	.no_dead_strip	_lz_enter_zone_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lz_enter_zone_tag
_lz_enter_zone_tag:                     ; @lz_enter_zone_tag
	.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, #16
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, 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_3
; %bb.1:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	mov	x1, x21
	bl	_log_err
	mov	w19, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x24
	bl	_dname_count_labels
	mov	x25, x0
	mov	x0, x22
	bl	_lock_rw_rdlock
	ldur	x2, [x29, #-80]
	mov	x0, x22
	mov	x1, x24
	mov	x3, x25
	mov	x4, x23
	bl	_local_zones_find
	cbz	x0, LBB0_7
; %bb.4:
	mov	x23, x0
	add	x21, x0, #8
	mov	x0, x21
	bl	_lock_rw_wrlock
	mov	x0, x22
	bl	_lock_rw_unlock
	ldr	x0, [x23, #16]
	bl	_free
	mov	x0, x20
	mov	x1, x19
	bl	_memdup
	str	x0, [x23, #16]
	str	x19, [x23]
	cmp	x0, #0
	cset	w19, ne
	mov	x0, x21
	bl	_lock_rw_unlock
LBB0_5:
	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_8
; %bb.6:
	mov	x0, x19
	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_7:
	mov	x0, x22
	bl	_lock_rw_unlock
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_8:
	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 AdrpAdd	Lloh13, Lloh14
	.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-tag: %s"

l_.str.1:                               ; @.str.1
	.asciz	"no local-zone for tag %s"

	.no_dead_strip	_lz_enter_zone_tag
.subsections_via_symbols
