	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auth_zone_delegpt
_auth_zone_delegpt:                     ## @auth_zone_delegpt
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$1, %r14d
	cmpq	$0, 24(%rsi)
	jne	LBB0_27
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	testq	%rdx, %rdx
	jne	LBB0_3
## %bb.2:
	movq	8(%r12), %r15
	movq	16(%r12), %rbx
LBB0_3:
	movq	16(%r13), %rax
	movq	(%rax), %rdi
	callq	_lock_rw_rdlock
	movq	16(%r13), %rax
	movq	(%rax), %rdi
	movl	24(%r13), %ecx
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_auth_zones_find_zone
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_lock_rw_rdlock
	movq	16(%r13), %rax
	movq	(%rax), %rdi
	callq	_lock_rw_unlock
	cmpq	$0, 32(%r15)
	je	LBB0_25
## %bb.6:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	movl	24(%r15), %edi
	movl	12(%rax), %esi
	callq	_query_dname_compare
	movq	(%r12), %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.14:
	testq	%rcx, %rcx
	jne	LBB0_15
	jmp	LBB0_16
LBB0_4:
	movq	16(%r13), %rax
	movq	(%rax), %rdi
	jmp	LBB0_26
LBB0_8:
	cmpl	$0, (%rcx)
	je	LBB0_15
## %bb.9:
	cmpq	$0, 8(%r13)
	je	LBB0_15
## %bb.10:
	cmpq	$0, 16(%r15)
	je	LBB0_15
## %bb.11:
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERB_ALGO@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jl	LBB0_13
## %bb.12:
	movl	24(%r15), %edi
	leaq	-304(%rbp), %r13
	movq	%r13, %rsi
	callq	_dname_str
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	callq	_verbose
LBB0_13:
	movq	%r15, %rdi
	callq	_lock_rw_unlock
	movq	$0, (%r12)
	jmp	LBB0_27
LBB0_15:
	movl	24(%r15), %edi
	movl	12(%rcx), %esi
	callq	_dname_subdomain_c
	testq	%rax, %rax
	je	LBB0_25
LBB0_16:
	cmpq	$0, 8(%r13)
	je	LBB0_20
## %bb.17:
	cmpq	$0, 16(%r15)
	je	LBB0_20
## %bb.18:
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERB_ALGO@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jl	LBB0_25
## %bb.19:
	movl	24(%r15), %edi
	leaq	-304(%rbp), %r12
	movq	%r12, %rsi
	callq	_dname_str
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_verbose
	jmp	LBB0_25
LBB0_20:
	movl	(%r13), %edi
	movl	$16, %esi
	callq	_regional_alloc_zero
	testq	%rax, %rax
	je	LBB0_21
## %bb.23:
	movq	%rax, %rbx
	movl	(%r13), %edi
	movl	8(%r15), %edx
	movl	24(%r15), %esi
	callq	_regional_alloc_init
	movl	%eax, 12(%rbx)
	testl	%eax, %eax
	je	LBB0_21
## %bb.24:
	movl	8(%r15), %eax
	movl	%eax, 8(%rbx)
	movl	4(%r15), %eax
	movl	%eax, 4(%rbx)
	movl	$1, (%rbx)
	movq	%rbx, (%r12)
LBB0_25:
	movq	%r15, %rdi
LBB0_26:
	callq	_lock_rw_unlock
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	movl	%r14d, %eax
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	leaq	L_.str.1(%rip), %rdi
	callq	_log_err
	movq	16(%r15), %rbx
	movq	%r15, %rdi
	callq	_lock_rw_unlock
	testq	%rbx, %rbx
	jne	LBB0_27
## %bb.22:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_errinf
	xorl	%r14d, %r14d
	jmp	LBB0_27
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_VERB_ALGO,8,3                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auth_zone %s fallback because cache blacklisted"

L_.str.1:                               ## @.str.1
	.asciz	"alloc failure"

L_.str.2:                               ## @.str.2
	.asciz	"malloc failure"

	.no_dead_strip	_auth_zone_delegpt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auth_zone_delegpt
_auth_zone_delegpt:                     ; @auth_zone_delegpt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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 w27, -56
	.cfi_offset w28, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x8, [x1, #24]
	cbnz	x8, LBB0_25
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	cbnz	x2, LBB0_3
; %bb.2:
	ldp	x19, x22, [x20, #8]
LBB0_3:
	ldr	x8, [x21, #16]
	ldr	x0, [x8]
	bl	_lock_rw_rdlock
	ldr	x8, [x21, #16]
	ldr	x0, [x8]
	ldr	w3, [x21, #24]
	mov	x1, x22
	mov	x2, x19
	bl	_auth_zones_find_zone
	cbz	x0, LBB0_8
; %bb.4:
	mov	x19, x0
	bl	_lock_rw_rdlock
	ldr	x8, [x21, #16]
	ldr	x0, [x8]
	bl	_lock_rw_unlock
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_23
; %bb.5:
	ldr	x8, [x20]
	cbz	x8, LBB0_16
; %bb.6:
	ldr	w0, [x19, #24]
	ldr	w1, [x8, #12]
	bl	_query_dname_compare
	ldr	x8, [x20]
	cbz	x0, LBB0_9
; %bb.7:
	cbnz	x8, LBB0_15
	b	LBB0_16
LBB0_8:
	ldr	x8, [x21, #16]
	ldr	x0, [x8]
	b	LBB0_24
LBB0_9:
	ldr	w9, [x8]
	cbz	w9, LBB0_15
; %bb.10:
	ldr	x9, [x21, #8]
	cbz	x9, LBB0_15
; %bb.11:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_15
; %bb.12:
Lloh3:
	adrp	x8, _verbosity@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x21, _VERB_ALGO@GOTPAGE
Lloh7:
	ldr	x21, [x21, _VERB_ALGO@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.lt	LBB0_14
; %bb.13:
	ldr	w0, [x19, #24]
	add	x1, sp, #8
	bl	_dname_str
	ldr	x0, [x21]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_verbose
LBB0_14:
	mov	x0, x19
	bl	_lock_rw_unlock
	str	xzr, [x20]
	b	LBB0_25
LBB0_15:
	ldr	w0, [x19, #24]
	ldr	w1, [x8, #12]
	bl	_dname_subdomain_c
	cbz	x0, LBB0_23
LBB0_16:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_20
; %bb.17:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_20
; %bb.18:
Lloh10:
	adrp	x8, _verbosity@GOTPAGE
Lloh11:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x20, _VERB_ALGO@GOTPAGE
Lloh14:
	ldr	x20, [x20, _VERB_ALGO@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_23
; %bb.19:
	ldr	w0, [x19, #24]
	add	x1, sp, #8
	bl	_dname_str
	ldr	x0, [x20]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_verbose
	b	LBB0_23
LBB0_20:
	ldr	w0, [x21]
	mov	w1, #16
	bl	_regional_alloc_zero
	cbz	x0, LBB0_28
; %bb.21:
	mov	x22, x0
	ldr	w0, [x21]
	ldr	w1, [x19, #24]
	ldr	w2, [x19, #8]
	bl	_regional_alloc_init
	str	w0, [x22, #12]
	cbz	w0, LBB0_28
; %bb.22:
	ldur	d0, [x19, #4]
	stur	d0, [x22, #4]
	mov	w8, #1
	str	w8, [x22]
	str	x22, [x20]
LBB0_23:
	mov	x0, x19
LBB0_24:
	bl	_lock_rw_unlock
LBB0_25:
	mov	w0, #1
LBB0_26:
	ldur	x8, [x29, #-56]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.27:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_28:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
	ldr	x20, [x19, #16]
	mov	x0, x19
	bl	_lock_rw_unlock
	cbnz	x20, LBB0_25
; %bb.29:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_errinf
	mov	w0, #0
	b	LBB0_26
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_VERB_ALGO,8,3                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auth_zone %s fallback because cache blacklisted"

l_.str.1:                               ; @.str.1
	.asciz	"alloc failure"

l_.str.2:                               ; @.str.2
	.asciz	"malloc failure"

	.no_dead_strip	_auth_zone_delegpt
.subsections_via_symbols
