	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_zones_find_zone           ## -- Begin function auth_zones_find_zone
	.p2align	4, 0x90
_auth_zones_find_zone:                  ## @auth_zones_find_zone
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rdx, -56(%rbp)
	leaq	-48(%rbp), %r8
	callq	_auth_zone_find_less_equal
	movq	%rax, %rcx
	movq	-48(%rbp), %rax
	testq	%rcx, %rcx
	jne	LBB0_1
## %bb.2:
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_dname_get_shared_topdomain
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdi
	callq	_dname_count_size_labels
	movq	$0, -48(%rbp)
	movq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_auth_zone_find
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	leaq	-64(%rbp), %r15
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi
	callq	_dname_is_root
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_dname_remove_label
	cmpq	$0, -48(%rbp)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movl	%r14d, %ecx
	callq	_auth_zone_find
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_5
	jmp	LBB0_1
LBB0_8:
	xorl	%eax, %eax
LBB0_1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_zones_find_zone           ; -- Begin function auth_zones_find_zone
	.p2align	2
_auth_zones_find_zone:                  ; @auth_zones_find_zone
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x3
	mov	x21, x1
	mov	x20, x0
	str	x2, [sp, #16]
	add	x4, sp, #8
	bl	_auth_zone_find_less_equal
	mov	x8, x0
	ldr	x0, [sp, #8]
	cbz	x8, LBB0_2
LBB0_1:
	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
	add	sp, sp, #80
	ret
LBB0_2:
	cbz	x0, LBB0_1
; %bb.3:
	ldr	w0, [x0]
	mov	x1, x21
	bl	_dname_get_shared_topdomain
	mov	x21, x0
	str	x0, [sp, #24]
	add	x1, sp, #16
	bl	_dname_count_size_labels
	str	xzr, [sp, #8]
	ldr	x2, [sp, #16]
	mov	x0, x20
	mov	x1, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x3, x19
	bl	_auth_zone_find
	str	x0, [sp, #8]
	cbnz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	bl	_dname_is_root
	cbnz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_dname_remove_label
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x2, x1, [sp, #16]
	mov	x0, x20
	b	LBB0_4
LBB0_8:
	mov	x0, #0
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
