	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_zone_parse_notify_serial  ## -- Begin function auth_zone_parse_notify_serial
	.p2align	4, 0x90
_auth_zone_parse_notify_serial:         ## @auth_zone_parse_notify_serial
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	leaq	-48(%rbp), %rbx
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_set_position
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_query_info_parse
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	%r13, %rdi
	callq	_sldns_buffer_begin
	movl	%eax, %edi
	callq	_LDNS_ANCOUNT
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%r13, %rdi
	callq	_sldns_buffer_remaining
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	movq	%r13, %rdi
	callq	_pkt_dname_len
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%r13, %rdi
	callq	_sldns_buffer_remaining
	cmpl	$10, %eax
	jl	LBB0_9
## %bb.5:
	movq	%r13, %rdi
	callq	_sldns_buffer_read_u16
	movq	_LDNS_RR_TYPE_SOA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.6:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_sldns_buffer_skip
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_sldns_buffer_skip
	movq	%r13, %rdi
	callq	_sldns_buffer_read_u16
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_sldns_buffer_remaining
	cmpl	%r12d, %eax
	jl	LBB0_9
## %bb.7:
	cmpl	$22, %r12d
	jl	LBB0_9
## %bb.8:
	addl	$-20, %r12d
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_sldns_buffer_skip
	movq	%r13, %rdi
	callq	_sldns_buffer_read_u32
	movl	%eax, (%r14)
	movl	$1, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_SOA,8,3           ## @LDNS_RR_TYPE_SOA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_zone_parse_notify_serial  ; -- Begin function auth_zone_parse_notify_serial
	.p2align	2
_auth_zone_parse_notify_serial:         ; @auth_zone_parse_notify_serial
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x20
	mov	w1, #0
	bl	_sldns_buffer_set_position
	add	x0, sp, #8
	mov	x1, x20
	bl	_query_info_parse
	cbz	w0, LBB0_10
; %bb.1:
	mov	x0, x20
	bl	_sldns_buffer_begin
	bl	_LDNS_ANCOUNT
	cbz	x0, LBB0_10
; %bb.2:
	mov	x0, x20
	bl	_sldns_buffer_remaining
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x0, x20
	bl	_pkt_dname_len
	cbz	x0, LBB0_10
; %bb.4:
	mov	x0, x20
	bl	_sldns_buffer_remaining
	cmp	w0, #10
	b.lt	LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_sldns_buffer_read_u16
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_SOA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_SOA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x20
	mov	w1, #2
	bl	_sldns_buffer_skip
	mov	x0, x20
	mov	w1, #4
	bl	_sldns_buffer_skip
	mov	x0, x20
	bl	_sldns_buffer_read_u16
	mov	x21, x0
	mov	x0, x20
	bl	_sldns_buffer_remaining
	mov	x8, x0
	mov	w0, #0
	cmp	w8, w21
	b.lt	LBB0_10
; %bb.7:
	cmp	w21, #22
	b.lt	LBB0_10
; %bb.8:
	sub	w1, w21, #20
	mov	x0, x20
	bl	_sldns_buffer_skip
	mov	x0, x20
	bl	_sldns_buffer_read_u32
	str	w0, [x19]
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_SOA,8,3           ; @LDNS_RR_TYPE_SOA
.subsections_via_symbols
