	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_zone_read_zonefile        ## -- Begin function auth_zone_read_zonefile
	.p2align	4, 0x90
_auth_zone_read_zonefile:               ## @auth_zone_read_zonefile
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LDNS_RR_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	(,%r13,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movl	$1, %r12d
	testq	%r14, %r14
	je	LBB0_19
## %bb.1:
	movq	(%r14), %r15
	testq	%r15, %r15
	je	LBB0_19
## %bb.2:
	cmpq	$0, (%r15)
	je	LBB0_19
## %bb.3:
	movq	%rbx, -312(%rbp)                ## 8-byte Spill
	movq	(%rbx), %r12
	testq	%r12, %r12
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	je	LBB0_7
## %bb.4:
	cmpq	$0, (%r12)
	je	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	movq	-312(%rbp), %rax                ## 8-byte Reload
	jne	LBB0_7
## %bb.6:
	movq	(%rax), %rdi
	callq	_strlen
	cltq
	addq	%rax, %r15
LBB0_7:
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERB_ALGO@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jl	LBB0_9
## %bb.8:
	movl	12(%r14), %edi
	leaq	-304(%rbp), %r12
	movq	%r12, %rsi
	callq	_dname_str
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_verbose
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_10
## %bb.14:
	movq	%rax, %rbx
	leaq	16(%r14), %r12
	movq	_auth_data_del@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_traverse_postorder
	movq	_auth_data_cmp@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_rbtree_init
	leaq	-304(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	$3600, -304(%rbp)               ## imm = 0xE10
	movl	8(%r14), %edx
	cmpl	$4, %edx
	ja	LBB0_16
## %bb.15:
	movl	-296(%rbp), %edi
	movl	12(%r14), %esi
	callq	_memcpy
	movl	8(%r14), %eax
	movl	%eax, -300(%rbp)
LBB0_16:
	shll	$2, %r13d
	leaq	-304(%rbp), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-320(%rbp), %rdx                ## 8-byte Reload
	movl	%r13d, %ecx
	movq	%r15, %r9
	pushq	-312(%rbp)                      ## 8-byte Folded Reload
	pushq	$0
	callq	_az_parse_file
	addq	$16, %rsp
	testl	%eax, %eax
	movl	$1, %r12d
	jne	LBB0_18
## %bb.17:
	movl	8(%r14), %esi
	movl	12(%r14), %edi
	callq	_sldns_wire2str_dname
	movq	%rax, %r14
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.5(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_log_err
	movq	%r14, %rdi
	callq	_free
LBB0_18:
	movq	%rbx, %rdi
	callq	_fclose
	jmp	LBB0_19
LBB0_10:
	movl	8(%r14), %esi
	movl	12(%r14), %edi
	callq	_sldns_wire2str_dname
	movq	%rax, %r12
	cmpq	$0, 24(%r14)
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	je	LBB0_13
## %bb.11:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_13
## %bb.12:
	movq	(%rbx), %rdi
	testq	%r12, %r12
	leaq	L_.str.3(%rip), %rcx
	cmovneq	%r12, %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	callq	_verbose
	movq	%r12, %rdi
	callq	_free
	movl	$1, %r12d
	jmp	LBB0_19
LBB0_13:
	testq	%r12, %r12
	leaq	L_.str.3(%rip), %rbx
	cmovneq	%r12, %rbx
	callq	_strerror
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_log_err
	movq	%r12, %rdi
	xorl	%r12d, %r12d
	callq	_free
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_BUF_SIZE,4,2           ## @LDNS_RR_BUF_SIZE
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_VERB_ALGO,8,3                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read zonefile %s for %s"

L_.str.1:                               ## @.str.1
	.asciz	"r"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.2:                               ## @.str.2
	.asciz	"no zonefile %s for %s"

L_.str.3:                               ## @.str.3
	.asciz	"error"

L_.str.4:                               ## @.str.4
	.asciz	"cannot open zonefile %s for %s: %s"

	.comm	_auth_data_del,4,2              ## @auth_data_del
	.comm	_auth_data_cmp,4,2              ## @auth_data_cmp
L_.str.5:                               ## @.str.5
	.asciz	"error parsing zonefile %s for %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_zone_read_zonefile        ; -- Begin function auth_zone_read_zonefile
	.p2align	2
_auth_zone_read_zonefile:               ; @auth_zone_read_zonefile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #272
	mov	x19, sp
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _LDNS_RR_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	lsl	x8, x26, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	cbz	x0, LBB0_17
; %bb.1:
	ldr	x20, [x21]
	cbz	x20, LBB0_17
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_17
; %bb.3:
	ldr	x24, [x22]
	cbz	x24, LBB0_7
; %bb.4:
	ldr	x8, [x24]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_strncmp
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x22]
	bl	_strlen
	add	x20, x20, w0, sxtw
LBB0_7:
Lloh8:
	adrp	x8, _verbosity@GOTPAGE
Lloh9:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x25, _VERB_ALGO@GOTPAGE
Lloh12:
	ldr	x25, [x25, _VERB_ALGO@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.lt	LBB0_9
; %bb.8:
	ldr	w0, [x21, #12]
	add	x1, x19, #8
	bl	_dname_str
	ldr	x0, [x25]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, x19, #8
	mov	x2, x20
	bl	_verbose
LBB0_9:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_fopen
	cbz	x0, LBB0_14
; %bb.10:
	mov	x24, x0
	add	x25, x21, #16
Lloh17:
	adrp	x8, _auth_data_del@GOTPAGE
Lloh18:
	ldr	x8, [x8, _auth_data_del@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x25
	mov	x2, #0
	bl	_traverse_postorder
Lloh20:
	adrp	x1, _auth_data_cmp@GOTPAGE
Lloh21:
	ldr	x1, [x1, _auth_data_cmp@GOTPAGEOFF]
	mov	x0, x25
	bl	_rbtree_init
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	w8, #3600
	str	w8, [x19, #8]
	ldr	w2, [x21, #8]
	cmp	w2, #4
	b.hi	LBB0_12
; %bb.11:
	ldr	w0, [x19, #16]
	ldr	w1, [x21, #12]
	bl	_memcpy
	ldr	w8, [x21, #8]
	str	w8, [x19, #12]
LBB0_12:
	lsl	w3, w26, #2
	add	x4, x19, #8
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	mov	x5, x20
	mov	w6, #0
	mov	x7, x22
	bl	_az_parse_file
	cbz	w0, LBB0_20
; %bb.13:
	mov	x0, x24
	bl	_fclose
	b	LBB0_17
LBB0_14:
	ldp	w1, w0, [x21, #8]
	bl	_sldns_wire2str_dname
	mov	x22, x0
	ldr	x8, [x21, #24]
Lloh22:
	adrp	x9, _errno@GOTPAGE
Lloh23:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh24:
	ldr	x0, [x9]
	cbz	x8, LBB0_21
; %bb.15:
Lloh25:
	adrp	x8, _ENOENT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.16:
	ldr	x0, [x25]
Lloh28:
	adrp	x8, l_.str.3@PAGE
Lloh29:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	x22, #0
	csel	x3, x8, x22, eq
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_verbose
	mov	x0, x22
	bl	_free
LBB0_17:
	mov	w0, #1
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.19:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
	ldp	w1, w0, [x21, #8]
	bl	_sldns_wire2str_dname
	mov	x21, x0
Lloh35:
	adrp	x8, l_.str.3@PAGE
Lloh36:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x2, x8, x0, eq
Lloh37:
	adrp	x0, l_.str.5@PAGE
Lloh38:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_log_err
	mov	x0, x21
	bl	_free
	mov	x0, x24
	bl	_fclose
	mov	w0, #0
	b	LBB0_18
LBB0_21:
Lloh39:
	adrp	x8, l_.str.3@PAGE
Lloh40:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	x22, #0
	csel	x21, x8, x22, eq
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh41:
	adrp	x0, l_.str.4@PAGE
Lloh42:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_log_err
	add	sp, sp, #16
	mov	x0, x22
	bl	_free
	mov	w0, #0
	b	LBB0_18
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_BUF_SIZE,4,2           ; @LDNS_RR_BUF_SIZE
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_VERB_ALGO,8,3                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read zonefile %s for %s"

l_.str.1:                               ; @.str.1
	.asciz	"r"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.2:                               ; @.str.2
	.asciz	"no zonefile %s for %s"

l_.str.3:                               ; @.str.3
	.asciz	"error"

l_.str.4:                               ; @.str.4
	.asciz	"cannot open zonefile %s for %s: %s"

	.comm	_auth_data_del,4,2              ; @auth_data_del
	.comm	_auth_data_cmp,4,2              ; @auth_data_cmp
l_.str.5:                               ; @.str.5
	.asciz	"error parsing zonefile %s for %s"

.subsections_via_symbols
