	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rrset_update_sec_status        ## -- Begin function rrset_update_sec_status
	.p2align	4, 0x90
_rrset_update_sec_status:               ## @rrset_update_sec_status
	.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	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	16(%rsi), %r15
	movq	%rsi, %rdi
	callq	_rrset_key_hash
	movl	%eax, 8(%r13)
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
	movl	$1, %ecx
	callq	_slabhash_lookup
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r14
	movq	8(%rax), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_rrsetdata_equal
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	movq	(%r15), %rax
	cmpq	(%rbx), %rax
	jle	LBB0_12
## %bb.3:
	movq	8(%r15), %rcx
	cmpq	8(%rbx), %rcx
	jle	LBB0_5
## %bb.4:
	movq	%rcx, 8(%rbx)
LBB0_5:
	movq	%rax, (%rbx)
	movl	(%r13), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %rdx
	movq	16(%r15), %rcx
	addq	%r12, %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_9
## %bb.6:
	movq	16(%rbx), %rax
	cmpq	%rax, %rcx
	jl	LBB0_9
## %bb.7:
	cmpq	%r12, %rax
	jl	LBB0_9
## %bb.8:
	movq	(%r15), %rax
	movq	_sec_status_bogus@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_12
LBB0_9:
	movq	%rcx, 16(%rbx)
	movq	32(%rbx), %rax
	addq	24(%rbx), %rax
	je	LBB0_12
## %bb.10:
	movq	40(%r15), %rax
	movq	40(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdx,8), %rsi
	addq	%r12, %rsi
	movq	%rsi, (%rcx,%rdx,8)
	incq	%rdx
	movq	32(%rbx), %rsi
	addq	24(%rbx), %rsi
	cmpq	%rsi, %rdx
	jb	LBB0_11
LBB0_12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lock_rw_unlock                 ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NS,8,3            ## @LDNS_RR_TYPE_NS
	.comm	_sec_status_bogus,8,3           ## @sec_status_bogus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rrset_update_sec_status        ; -- Begin function rrset_update_sec_status
	.p2align	2
_rrset_update_sec_status:               ; @rrset_update_sec_status
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x22, [x1, #16]
	mov	x0, x1
	bl	_rrset_key_hash
	mov	x1, x0
	str	w0, [x23, #8]
	mov	x0, x20
	mov	x2, x23
	mov	w3, #1
	bl	_slabhash_lookup
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
	ldr	x21, [x0, #8]
	mov	x0, x22
	mov	x1, x21
	bl	_rrsetdata_equal
	cbz	w0, LBB0_11
; %bb.2:
	ldr	x8, [x22]
	ldr	x9, [x21]
	cmp	x8, x9
	b.le	LBB0_11
; %bb.3:
	ldr	x9, [x22, #8]
	ldr	x10, [x21, #8]
	cmp	x9, x10
	b.le	LBB0_5
; %bb.4:
	str	x9, [x21, #8]
LBB0_5:
	str	x8, [x21]
	ldr	w0, [x23]
	bl	_ntohs
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x22, #16]
	add	x8, x8, x19
	cmp	x0, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x9, [x21, #16]
	cmp	x8, x9
	ccmp	x9, x19, #8, ge
	b.lt	LBB0_8
; %bb.7:
	ldr	x9, [x22]
Lloh3:
	adrp	x10, _sec_status_bogus@GOTPAGE
Lloh4:
	ldr	x10, [x10, _sec_status_bogus@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_11
LBB0_8:
	str	x8, [x21, #16]
	ldp	x8, x9, [x21, #24]
	cmn	x9, x8
	b.eq	LBB0_11
; %bb.9:
	mov	x8, #0
	ldr	x9, [x22, #40]
	ldr	x10, [x21, #40]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #3
	ldr	x12, [x9, x11]
	add	x12, x12, x19
	str	x12, [x10, x11]
	add	x8, x8, #1
	ldp	x11, x12, [x21, #24]
	add	x11, x12, x11
	cmp	x8, x11
	b.lo	LBB0_10
LBB0_11:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_lock_rw_unlock
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NS,8,3            ; @LDNS_RR_TYPE_NS
	.comm	_sec_status_bogus,8,3           ; @sec_status_bogus
.subsections_via_symbols
