	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function anchor_read_bind_file
_anchor_read_bind_file:                 ## @anchor_read_bind_file
	.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, %rbx
	movq	%rdi, %r12
	movl	$1, -52(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	callq	_verbose
	movq	%rbx, %rdi
	callq	_sldns_buffer_clear
	leaq	-52(%rbp), %r13
	leaq	L_.str.3(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_sldns_buffer_clear
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	$1, %ecx
	callq	_readkeyword_bindfile
	cmpl	$12, %eax
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_sldns_buffer_begin
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$12, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	$123, %ecx
	callq	_skip_to_special
	testl	%eax, %eax
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_process_bind_contents
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	$59, %ecx
	callq	_skip_to_special
	testl	%eax, %eax
	jne	LBB0_7
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_log_err
	movq	%r15, %rdi
	callq	_fclose
	jmp	LBB0_10
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_10
LBB0_5:
	movq	%r15, %rdi
	callq	_fclose
	movl	$1, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"error opening file %s: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
L_.str.2:                               ## @.str.2
	.asciz	"reading in bind-compat-mode: '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"trusted-keys"

L_.str.4:                               ## @.str.4
	.asciz	"error in trusted key: \"%s\""

	.no_dead_strip	_anchor_read_bind_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function anchor_read_bind_file
_anchor_read_bind_file:                 ; @anchor_read_bind_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	w8, #1
	str	w8, [sp, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_fopen
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_verbose
	mov	x0, x21
	bl	_sldns_buffer_clear
Lloh7:
	adrp	x23, l_.str.3@PAGE
Lloh8:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w0, LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_sldns_buffer_clear
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	mov	w3, #1
	bl	_readkeyword_bindfile
	cmp	w0, #12
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_sldns_buffer_begin
	mov	x1, x23
	mov	w2, #12
	bl	_strncmp
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	mov	w3, #123
	bl	_skip_to_special
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	bl	_process_bind_contents
	cbz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	mov	w3, #59
	bl	_skip_to_special
	cbnz	w0, LBB0_3
LBB0_9:
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_log_err
	mov	x0, x20
	bl	_fclose
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_log_err
LBB0_11:
	mov	w0, #0
	b	LBB0_13
LBB0_12:
	mov	x0, x20
	bl	_fclose
	mov	w0, #1
LBB0_13:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"error opening file %s: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
l_.str.2:                               ; @.str.2
	.asciz	"reading in bind-compat-mode: '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"trusted-keys"

l_.str.4:                               ; @.str.4
	.asciz	"error in trusted key: \"%s\""

	.no_dead_strip	_anchor_read_bind_file
.subsections_via_symbols
