	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_local_zones_tags_lookup        ## -- Begin function local_zones_tags_lookup
	.p2align	4, 0x90
_local_zones_tags_lookup:               ## @local_zones_tags_lookup
	.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	%r8, %r14
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, -72(%rbp)
	movq	%rdx, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %rax
	cmpq	%r9, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_dname_is_root
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	leaq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_dname_remove_label
	decl	%r12d
	movq	-72(%rbp), %rbx
	movq	-64(%rbp), %r13
LBB0_3:
	leaq	-128(%rbp), %rsi
	movq	%rsi, -80(%rbp)
	movq	%r14, -128(%rbp)
	movq	%rbx, -88(%rbp)
	movq	%r13, -120(%rbp)
	movl	%r12d, -112(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_rbtree_find_less_equal
	movq	-56(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.4:
	cmpq	%r14, (%rbx)
	jne	LBB0_11
## %bb.5:
	movl	32(%rbp), %r12d
	movq	24(%rbp), %r14
	movq	16(%rbp), %r15
	movq	40(%rbx), %rdi
	movl	16(%rbx), %esi
	movq	-88(%rbp), %rdx
	movl	-112(%rbp), %ecx
	leaq	-44(%rbp), %r8
	callq	_dname_lab_cmp
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %eax
	cmpl	-44(%rbp), %eax
	jg	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	36(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	32(%rbx), %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_taglist_intersect
	testq	%rax, %rax
	je	LBB0_10
	jmp	LBB0_12
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DS,8,3            ## @LDNS_RR_TYPE_DS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_local_zones_tags_lookup        ; -- Begin function local_zones_tags_lookup
	.p2align	2
_local_zones_tags_lookup:               ; @local_zones_tags_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x7
	mov	x20, x6
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x22, x0
	stur	x1, [x29, #-72]
	stp	xzr, x2, [sp, #72]
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x5
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x25
	bl	_dname_is_root
	cbnz	w0, LBB0_3
; %bb.2:
	sub	x0, x29, #72
	add	x1, sp, #80
	bl	_dname_remove_label
	sub	w23, w23, #1
	ldur	x25, [x29, #-72]
	ldr	x24, [sp, #80]
LBB0_3:
	add	x8, sp, #16
	stp	x25, x8, [sp, #56]
	stp	x21, x24, [sp, #16]
	str	w23, [sp, #32]
	add	x1, sp, #16
	add	x2, sp, #72
	mov	x0, x22
	bl	_rbtree_find_less_equal
	ldr	x22, [sp, #72]
	cbz	x22, LBB0_12
; %bb.4:
	ldr	x8, [x22]
	cmp	x8, x21
	b.ne	LBB0_11
; %bb.5:
	ldr	w21, [x29, #16]
	ldr	x0, [x22, #40]
	ldr	w1, [x22, #16]
	ldr	x2, [sp, #56]
	ldr	w3, [sp, #32]
	add	x4, sp, #12
	bl	_dname_lab_cmp
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x22, [x22, #24]
	cbz	x22, LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22, #16]
	ldr	w9, [sp, #12]
	cmp	w8, w9
	b.gt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w21, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x22, #36]
	cbz	w0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x22, #32]
	mov	x2, x20
	mov	x3, x19
	bl	_taglist_intersect
	cbz	x0, LBB0_6
	b	LBB0_12
LBB0_11:
	mov	x22, #0
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DS,8,3            ; @LDNS_RR_TYPE_DS
.subsections_via_symbols
