	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcache1Rekey
_pcache1Rekey:                          ## @pcache1Rekey
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpl	%edx, (%rsi)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r15, 16(%rbx)
	sete	%dil
	callq	_assert
	movl	8(%r15), %edi
	callq	_pcache1EnterMutex
	movl	(%r15), %ecx
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	shlq	$3, %rdx
	addq	16(%r15), %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rax
	movq	(%rdx), %rsi
	leaq	8(%rsi), %rdx
	cmpq	%rbx, %rsi
	jne	LBB0_1
## %bb.2:
	movq	8(%rbx), %rdx
	movq	%rdx, (%rax)
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	movl	%r14d, (%rbx)
	movq	16(%r15), %rax
	movq	(%rax,%rdx,8), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rbx, (%rax,%rdx,8)
	cmpl	%r14d, 4(%r15)
	jae	LBB0_4
## %bb.3:
	movl	%r14d, 4(%r15)
LBB0_4:
	movl	8(%r15), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pcache1LeaveMutex              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pcache1Rekey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcache1Rekey
_pcache1Rekey:                          ; @pcache1Rekey
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w8, [x1]
	cmp	w8, w2
	cset	w0, eq
	bl	_assert
	ldr	x8, [x21, #16]
	cmp	x8, x20
	cset	w0, eq
	bl	_assert
	ldr	w0, [x20, #8]
	bl	_pcache1EnterMutex
	ldr	w8, [x20]
	udiv	w9, w22, w8
	msub	w9, w9, w8, w22
	ldr	x10, [x20, #16]
	add	x10, x10, w9, uxtw #3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x10
	ldr	x11, [x10]
	add	x10, x11, #8
	cmp	x11, x21
	b.ne	LBB0_1
; %bb.2:
	ldr	x10, [x21, #8]
	str	x10, [x9]
	udiv	w9, w19, w8
	msub	w8, w9, w8, w19
	ldr	x9, [x20, #16]
	lsl	x8, x8, #3
	ldr	x10, [x9, x8]
	str	w19, [x21]
	str	x10, [x21, #8]
	str	x21, [x9, x8]
	ldr	w8, [x20, #4]
	cmp	w8, w19
	b.hs	LBB0_4
; %bb.3:
	str	w19, [x20, #4]
LBB0_4:
	ldr	w0, [x20, #8]
	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
	b	_pcache1LeaveMutex
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pcache1Rekey
.subsections_via_symbols
