	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_auth_zone_reload
_do_auth_zone_reload:                   ## @do_auth_zone_reload
	.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
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movq	8(%rsi), %rbx
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-60(%rbp), %r8
	movq	%r14, %rsi
	callq	_parse_arg_name
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_lock_rw_rdlock
	movq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_auth_zone_find
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_lock_rw_wrlock
	movq	%rbx, %rdi
	callq	_lock_rw_unlock
	movq	-48(%rbp), %rdi
	callq	_free
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_auth_zone_read_zonefile
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_lock_rw_unlock
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.8:
	movq	%r15, %rdi
	callq	_send_ok
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_lock_rw_unlock
LBB0_6:
	movq	-48(%rbp), %rdi
	callq	_free
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_ssl_printf
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_CLASS_IN,4,2           ## @LDNS_RR_CLASS_IN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error no auth-zone %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"error failed to read %s\n"

	.no_dead_strip	_do_auth_zone_reload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_auth_zone_reload
_do_auth_zone_reload:                   ; @do_auth_zone_reload
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	ldr	x22, [x1, #8]
	add	x2, sp, #8
	add	x3, sp, #24
	add	x4, sp, #20
	mov	x1, x19
	bl	_parse_arg_name
	cbz	w0, LBB0_9
; %bb.1:
	cbz	x22, LBB0_6
; %bb.2:
	mov	x0, x22
	bl	_lock_rw_rdlock
	ldr	x1, [sp, #8]
	ldr	x2, [sp, #24]
Lloh0:
	adrp	x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x22
	bl	_auth_zone_find
	cbz	x0, LBB0_5
; %bb.3:
	mov	x23, x0
	bl	_lock_rw_wrlock
	mov	x0, x22
	bl	_lock_rw_unlock
	ldr	x0, [sp, #8]
	bl	_free
	ldr	w1, [x21]
	mov	x0, x23
	bl	_auth_zone_read_zonefile
	mov	x21, x0
	mov	x0, x23
	bl	_lock_rw_unlock
	cbz	w21, LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_send_ok
	b	LBB0_9
LBB0_5:
	mov	x0, x22
	bl	_lock_rw_unlock
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_free
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x20
	mov	x2, x19
	bl	_ssl_printf
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_CLASS_IN,4,2           ; @LDNS_RR_CLASS_IN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error no auth-zone %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"error failed to read %s\n"

	.no_dead_strip	_do_auth_zone_reload
.subsections_via_symbols
