	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rrset_array_unlock_touch       ## -- Begin function rrset_array_unlock_touch
	.p2align	4, 0x90
_rrset_array_unlock_touch:              ## @rrset_array_unlock_touch
	.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	%rcx, %r14
	movq	%rdx, %r13
	movq	%rdi, %rbx
	movq	_RR_COUNT_MAX@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jb	LBB0_5
## %bb.1:
	leal	(,%r14,4), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	testq	%r14, %r14
	je	LBB0_23
## %bb.3:
	movq	%rax, %r12
	leaq	-1(%r14), %rcx
	movl	%r14d, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_6
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_log_warn
	xorl	%r12d, %r12d
LBB0_11:
	testq	%r14, %r14
	je	LBB0_23
## %bb.12:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdi
	callq	_lock_rw_unlock
	cmpq	$1, %r14
	jne	LBB0_13
LBB0_17:
	testq	%r12, %r12
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_23
## %bb.18:
	movq	8(%r13), %rsi
	movl	(%r12), %edx
	movl	(%r13), %ecx
	movq	%r15, %rdi
	callq	_rrset_cache_touch
	cmpq	$1, %r14
	jne	LBB0_19
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	-1(%r14), %rbx
	leaq	24(%r13), %r15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	$16, %r15
	decq	%rbx
	je	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	cmpq	-16(%r15), %rdi
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	callq	_lock_rw_unlock
	jmp	LBB0_16
LBB0_19:
	addq	$24, %r13
	movl	$1, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	addq	$16, %r13
	cmpq	%rbx, %r14
	je	LBB0_23
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	cmpq	-16(%r13), %rsi
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	(%r12,%rbx,4), %edx
	movl	-8(%r13), %ecx
	movq	%r15, %rdi
	callq	_rrset_cache_touch
	jmp	LBB0_22
LBB0_6:
	movq	%r14, %rdx
	andq	$-4, %rdx
	leaq	56(%r13), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rsi), %rdi
	movl	4(%rdi), %edi
	movl	%edi, (%r12,%rcx,4)
	movq	-32(%rsi), %rdi
	movl	4(%rdi), %edi
	movl	%edi, 4(%r12,%rcx,4)
	movq	-16(%rsi), %rdi
	movl	4(%rdi), %edi
	movl	%edi, 8(%r12,%rcx,4)
	movq	(%rsi), %rdi
	movl	4(%rdi), %edi
	movl	%edi, 12(%r12,%rcx,4)
	addq	$4, %rcx
	addq	$64, %rsi
	cmpq	%rcx, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	(%r12,%rcx,4), %rdx
	shlq	$4, %rcx
	addq	%r13, %rcx
	addq	$8, %rcx
	shlq	$2, %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,4), %rdi
	movl	4(%rdi), %edi
	movl	%edi, (%rdx,%rsi)
	addq	$4, %rsi
	cmpq	%rsi, %rax
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_RR_COUNT_MAX,8,3               ## @RR_COUNT_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rrset LRU: memory allocation failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rrset_array_unlock_touch       ; -- Begin function rrset_array_unlock_touch
	.p2align	2
_rrset_array_unlock_touch:              ; @rrset_array_unlock_touch
	.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	x21, x3
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _RR_COUNT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RR_COUNT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	b.lo	LBB0_6
; %bb.1:
	lsl	w8, w21, #2
	mov	x0, x1
	mov	x1, x8
	bl	_regional_alloc
	cbz	x0, LBB0_6
; %bb.2:
	cbz	x21, LBB0_10
; %bb.3:
	mov	x22, x0
	mov	x8, #0
	add	x9, x20, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #16
	ldr	w10, [x10, #4]
	str	w10, [x22, x8, lsl #2]
	add	x8, x8, #1
	cmp	x21, x8
	b.ne	LBB0_4
; %bb.5:
	cbnz	x21, LBB0_7
	b	LBB0_10
LBB0_6:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_warn
	mov	x22, #0
	cbz	x21, LBB0_10
LBB0_7:
	ldr	x0, [x20, #8]
	bl	_lock_rw_unlock
	subs	x23, x21, #1
	b.ne	LBB0_11
LBB0_8:
	cbz	x22, LBB0_10
; %bb.9:
	ldr	x1, [x20, #8]
	ldr	w2, [x22]
	ldr	w3, [x20]
	mov	x0, x19
	bl	_rrset_cache_touch
	subs	x21, x21, #1
	b.ne	LBB0_15
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	add	x24, x20, #24
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x24, #16
	subs	x23, x23, #1
	b.eq	LBB0_8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldur	x8, [x24, #-16]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	bl	_lock_rw_unlock
	b	LBB0_12
LBB0_15:
	add	x20, x20, #16
	add	x22, x22, #4
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x20, x20, #16
	add	x22, x22, #4
	subs	x21, x21, #1
	b.eq	LBB0_10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20, #8]
	ldur	x8, [x20, #-8]
	cmp	x1, x8
	b.eq	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w2, [x22]
	ldr	w3, [x20]
	mov	x0, x19
	bl	_rrset_cache_touch
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RR_COUNT_MAX,8,3               ; @RR_COUNT_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rrset LRU: memory allocation failed"

.subsections_via_symbols
