	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_zonefile_syntax_check
_http_zonefile_syntax_check:            ## @http_zonefile_syntax_check
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LDNS_RR_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	$0, -56(%rbp)
	leaq	-96(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	$3600, -96(%rbp)                ## imm = 0xE10
	movl	(%r15), %edx
	cmpl	$7, %edx
	ja	LBB0_2
## %bb.1:
	movl	%edx, -92(%rbp)
	movq	-72(%rbp), %rdi
	movl	24(%r15), %esi
	callq	_memmove
LBB0_2:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movq	$0, -104(%rbp)
	leaq	-112(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	leaq	-96(%rbp), %rcx
	movq	%r13, %rdx
	callq	_chunkline_non_comment_RR
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	movq	%rbx, -64(%rbp)
	movq	%r13, %rdi
	callq	_sldns_buffer_begin
	movl	-92(%rbp), %r10d
	testl	%r10d, %r10d
	je	LBB0_4
## %bb.5:
	movq	-72(%rbp), %r9
	jmp	LBB0_6
LBB0_4:
	xorl	%r9d, %r9d
LBB0_6:
	movl	-96(%rbp), %r8d
	movq	-88(%rbp), %rbx
	movq	%rbx, %r11
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	-80(%rbp), %r11
LBB0_8:
	subq	$8, %rsp
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%rax, %rdi
	movq	%r14, %rsi
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_sldns_str2wire_rr_buf
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_LDNS_WIREPARSE_OFFSET
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_LDNS_WIREPARSE_ERROR
	movl	%eax, %edi
	callq	_sldns_get_errorstr_parse
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_12
LBB0_10:
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_sldns_wirerr_get_class
	movl	$1, %r12d
	cmpq	8(%r15), %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_log_err
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_BUF_SIZE,4,2           ## @LDNS_RR_BUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parse failure on first RR[%d]: %s"

L_.str.1:                               ## @.str.1
	.asciz	"parse failure: first record in downloaded zonefile from wrong RR class"

	.no_dead_strip	_http_zonefile_syntax_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_zonefile_syntax_check
_http_zonefile_syntax_check:            ; @http_zonefile_syntax_check
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #80
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _LDNS_RR_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x22, x8, #2
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x7fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	stur	xzr, [x29, #-56]
	sub	x0, x29, #88
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	w8, #3600
	stur	w8, [x29, #-88]
	ldr	w2, [x19]
	cmp	w2, #7
	b.hi	LBB0_2
; %bb.1:
	stur	w2, [x29, #-84]
	ldur	x0, [x29, #-64]
	ldr	w1, [x19, #24]
	bl	_memmove
LBB0_2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	stp	xzr, x8, [x29, #-104]
	sub	x0, x29, #96
	sub	x1, x29, #104
	sub	x3, x29, #88
	mov	x2, x21
	bl	_chunkline_non_comment_RR
	cbz	w0, LBB0_9
; %bb.3:
	stur	x22, [x29, #-48]
	mov	x0, x21
	bl	_sldns_buffer_begin
	ldp	w4, w6, [x29, #-88]
	ldp	x9, x8, [x29, #-72]
	cmp	w6, #0
	csel	x5, xzr, x8, eq
	ldur	x8, [x29, #-80]
	cmp	x8, #0
	csel	x7, xzr, x9, eq
	str	x8, [sp, #-16]!
	sub	x2, x29, #48
	sub	x3, x29, #56
	mov	x1, x20
	bl	_sldns_str2wire_rr_buf
	add	sp, sp, #16
	cbz	w0, LBB0_5
; %bb.4:
	mov	x21, x0
	bl	_LDNS_WIREPARSE_OFFSET
	mov	x19, x0
	mov	x0, x21
	bl	_LDNS_WIREPARSE_ERROR
	bl	_sldns_get_errorstr_parse
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #-16]!
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
	add	sp, sp, #16
	b	LBB0_8
LBB0_5:
	ldp	x2, x1, [x29, #-56]
	mov	x0, x20
	bl	_sldns_wirerr_get_class
	ldr	x8, [x19, #8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #1
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_BUF_SIZE,4,2           ; @LDNS_RR_BUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parse failure on first RR[%d]: %s"

l_.str.1:                               ; @.str.1
	.asciz	"parse failure: first record in downloaded zonefile from wrong RR class"

	.no_dead_strip	_http_zonefile_syntax_check
.subsections_via_symbols
