	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lz_setup_implicit
_lz_setup_implicit:                     ## @lz_setup_implicit
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	$0, -72(%rbp)
	callq	_init_parents
	movq	(%r12), %r14
	movl	$1, %r15d
	testq	%r14, %r14
	je	LBB0_22
## %bb.1:
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	leaq	-48(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	leaq	-128(%rbp), %rcx
	callq	_get_rr_nameclass
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	leaq	-112(%rbp), %rsi
	callq	_dname_count_size_labels
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_lock_rw_rdlock
	movq	-48(%rbp), %rsi
	movq	-112(%rbp), %rdx
	movq	-96(%rbp), %r8
	movq	-128(%rbp), %r9
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	callq	_local_zones_lookup
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	callq	_free
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %r12d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_lock_rw_unlock
	movl	%r12d, %r15d
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_2
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -96(%rbp)
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r12d, %ecx
	leaq	-100(%rbp), %r8
	callq	_dname_lab_cmp
	movq	-48(%rbp), %rdi
	callq	_free
	movl	-100(%rbp), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	jmp	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %rax
	movq	%rax, -72(%rbp)
	movl	$1, %r13d
	movl	%r12d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_lock_rw_unlock
	movl	$1, %r13d
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_13
LBB0_11:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_22
LBB0_14:
	testl	%r13d, %r13d
	movq	-120(%rbp), %r14                ## 8-byte Reload
	je	LBB0_20
## %bb.15:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, -48(%rbp)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	subl	%r12d, %r15d
	leaq	-48(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	movl	%r15d, %edx
	callq	_dname_remove_labels
	movq	-48(%rbp), %rdi
	movq	-72(%rbp), %rsi
	callq	_memdup
	movq	%rax, -48(%rbp)
	movq	%r13, %rdi
	callq	_free
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.18:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ecx, %ecx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_log_nametypeclass
	movq	-48(%rbp), %rsi
	movq	-72(%rbp), %rdx
	movq	_local_zone_transparent@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	movq	%r15, %r9
	callq	_lz_enter_zone_dname
	testq	%rax, %rax
	je	LBB0_17
## %bb.19:
	movq	%rax, %rdi
	callq	_lock_rw_unlock
LBB0_20:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movl	$1, %r15d
	je	LBB0_22
## %bb.21:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_lz_setup_implicit
	movl	%eax, %r15d
	jmp	LBB0_22
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_err
LBB0_17:
	xorl	%r15d, %r15d
LBB0_22:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad local-data RR %s"

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

	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
L_.str.2:                               ## @.str.2
	.asciz	"implicit transparent local-zone"

	.comm	_local_zone_transparent,4,2     ## @local_zone_transparent
	.no_dead_strip	_lz_setup_implicit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lz_setup_implicit
_lz_setup_implicit:                     ; @lz_setup_implicit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x1
	mov	x20, x0
	str	xzr, [sp, #56]
	bl	_init_parents
	ldr	x27, [x19]
	cbz	x27, LBB0_19
; %bb.1:
	mov	w22, #0
	mov	w24, #0
	mov	x23, #0
	mov	x21, #0
	mov	w26, #0
	mov	w28, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x2
	bl	_free
	mov	x0, x20
	bl	_lock_rw_unlock
	mov	w28, #1
	mov	w26, #1
	ldr	x27, [x27, #8]
	cbz	x27, LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x27]
	add	x1, sp, #48
	add	x2, sp, #40
	add	x3, sp, #32
	bl	_get_rr_nameclass
	cbz	w0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #48]
	add	x1, sp, #24
	bl	_dname_count_size_labels
	mov	x25, x0
	mov	x0, x20
	bl	_lock_rw_rdlock
	ldp	x4, x1, [sp, #40]
	ldp	x2, x5, [sp, #24]
	mov	x0, x20
	mov	x3, x25
	bl	_local_zones_lookup
	cbz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #48]
	bl	_free
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x24
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_lock_rw_unlock
	mov	x24, x25
	ldr	x27, [x27, #8]
	cbnz	x27, LBB0_3
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w28, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x2, [sp, #40]
	cmp	x8, x21
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x4, sp, #20
	mov	x0, x23
	mov	x1, x24
	mov	x3, x25
	bl	_dname_lab_cmp
	ldr	x0, [sp, #48]
	bl	_free
	ldr	w8, [sp, #20]
	cmp	w8, w22
	csel	w22, w8, w22, lt
	mov	w28, #1
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x21, x23, [sp, #40]
	ldr	x8, [sp, #24]
	str	x8, [sp, #56]
	mov	w28, #1
	mov	x22, x25
	b	LBB0_7
LBB0_12:
	ldr	w8, [x27]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
	mov	w0, #0
	b	LBB0_22
LBB0_13:
	cbz	w28, LBB0_17
; %bb.14:
	str	x23, [sp, #48]
	sub	w2, w24, w22
	add	x0, sp, #48
	add	x1, sp, #56
	bl	_dname_remove_labels
	ldp	x0, x1, [sp, #48]
	bl	_memdup
	str	x0, [sp, #48]
	mov	x0, x23
	bl	_free
	ldr	x2, [sp, #48]
	cbz	x2, LBB0_20
; %bb.15:
Lloh2:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w3, #0
	mov	x4, x21
	bl	_log_nametypeclass
	ldp	x1, x2, [sp, #48]
Lloh7:
	adrp	x8, _local_zone_transparent@GOTPAGE
Lloh8:
	ldr	x8, [x8, _local_zone_transparent@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x3, x22
	mov	x5, x21
	bl	_lz_enter_zone_dname
	cbz	x0, LBB0_21
; %bb.16:
	bl	_lock_rw_unlock
LBB0_17:
	cbz	w26, LBB0_19
; %bb.18:
	mov	x0, x20
	mov	x1, x19
	bl	_lz_setup_implicit
	b	LBB0_22
LBB0_19:
	mov	w0, #1
	b	LBB0_22
LBB0_20:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad local-data RR %s"

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

	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
l_.str.2:                               ; @.str.2
	.asciz	"implicit transparent local-zone"

	.comm	_local_zone_transparent,4,2     ; @local_zone_transparent
	.no_dead_strip	_lz_setup_implicit
.subsections_via_symbols
