	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_zone_get_serial           ## -- Begin function auth_zone_get_serial
	.p2align	4, 0x90
_auth_zone_get_serial:                  ## @auth_zone_get_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	callq	_az_find_name
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_LDNS_RR_TYPE_SOA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_az_domain_rrset
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	8(%rax), %rcx
	movl	(%rcx), %ecx
	cmpl	$22, %ecx
	jl	LBB0_5
## %bb.4:
	movq	16(%rax), %rax
	movl	(%rax), %eax
	leal	(%rcx,%rax), %edi
	addl	$-20, %edi
	callq	_sldns_read_uint32
	movl	%eax, (%r14)
	movl	$1, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_SOA,4,2           ## @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_get_serial           ; -- Begin function auth_zone_get_serial
	.p2align	2
_auth_zone_get_serial:                  ; @auth_zone_get_serial
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldp	w2, w1, [x0]
	bl	_az_find_name
	cbz	x0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_SOA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_SOA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_az_domain_rrset
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x0]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.3:
	ldr	x9, [x8, #8]
	ldr	w9, [x9]
	cmp	w9, #22
	b.ge	LBB0_5
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	ldr	x8, [x8, #16]
	ldr	w8, [x8]
	add	w8, w9, w8
	sub	w0, w8, #20
	bl	_sldns_read_uint32
	str	w0, [x19]
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_SOA,4,2           ; @LDNS_RR_TYPE_SOA
.subsections_via_symbols
