	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sunrpc_cache_update            ## -- Begin function sunrpc_cache_update
	.p2align	4, 0x90
_sunrpc_cache_update:                   ## @sunrpc_cache_update
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_CACHE_VALID@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	16(%rdx), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%r12, %rdi
	callq	_write_lock
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:
	movq	%r12, %rdi
	callq	_write_unlock
LBB0_7:
	xorl	%eax, %eax
	callq	*32(%r12)
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_cache_init
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*24(%r12)
	movq	16(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %r13
	movq	%r12, %rdi
	callq	_write_lock
	movq	_CACHE_NEGATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leaq	16(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_CACHE_NEGATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$16, %rsi
	callq	_set_bit
	jmp	LBB0_12
LBB0_8:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_cache_put
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_11:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	*8(%r12)
LBB0_12:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r13,8), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, (%rcx,%r13,8)
	incl	4(%r12)
	movq	%rbx, %rdi
	callq	_cache_get
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_cache_fresh_locked
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cache_fresh_locked
	movq	%r12, %rdi
	callq	_write_unlock
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_cache_fresh_unlocked
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_cache_fresh_unlocked
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_cache_put
	movq	%rbx, %r14
	jmp	LBB0_13
LBB0_2:
	movq	_CACHE_NEGATIVE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	leaq	16(%r13), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	*8(%r12)
LBB0_5:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_cache_fresh_locked
	movq	%r12, %rdi
	callq	_write_unlock
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_cache_fresh_unlocked
LBB0_13:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CACHE_VALID,4,2                ## @CACHE_VALID
	.comm	_CACHE_NEGATIVE,4,2             ## @CACHE_NEGATIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sunrpc_cache_update            ; -- Begin function sunrpc_cache_update
	.p2align	2
_sunrpc_cache_update:                   ; @sunrpc_cache_update
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _CACHE_VALID@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CACHE_VALID@GOTPAGEOFF]
	ldr	w0, [x24]
	add	x22, x2, #16
	mov	x1, x22
	bl	_test_bit
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_write_lock
	ldr	w0, [x24]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.2:
	mov	x0, x20
	bl	_write_unlock
LBB0_3:
	ldr	x8, [x20, #32]
	blr	x8
	cbz	x0, LBB0_6
; %bb.4:
	mov	x22, x0
	bl	_cache_init
	ldr	x8, [x20, #24]
	mov	x0, x22
	mov	x1, x19
	blr	x8
	ldr	x24, [x20, #16]
	sxtw	x23, w23
	mov	x0, x20
	bl	_write_lock
Lloh2:
	adrp	x25, _CACHE_NEGATIVE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _CACHE_NEGATIVE@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x1, x21, #16
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w0, [x25]
	add	x1, x22, #16
	bl	_set_bit
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_cache_put
	mov	x19, #0
	b	LBB0_13
LBB0_7:
	ldr	x8, [x20, #8]
	mov	x0, x22
	mov	x1, x21
	blr	x8
LBB0_8:
	lsl	x8, x23, #3
	ldr	x9, [x24, x8]
	str	x9, [x22, #8]
	str	x22, [x24, x8]
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	mov	x0, x22
	bl	_cache_get
	ldr	w1, [x21]
	mov	x0, x22
	bl	_cache_fresh_locked
	mov	x0, x19
	mov	w1, #0
	bl	_cache_fresh_locked
	mov	x0, x20
	bl	_write_unlock
	mov	x0, x22
	mov	x1, x20
	bl	_cache_fresh_unlocked
	mov	x0, x19
	mov	x1, x20
	bl	_cache_fresh_unlocked
	mov	x0, x19
	mov	x1, x20
	bl	_cache_put
	mov	x19, x22
	b	LBB0_13
LBB0_9:
Lloh4:
	adrp	x23, _CACHE_NEGATIVE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _CACHE_NEGATIVE@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x1, x21, #16
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w0, [x23]
	mov	x1, x22
	bl	_set_bit
	b	LBB0_12
LBB0_11:
	ldr	x8, [x20, #8]
	mov	x0, x19
	mov	x1, x21
	blr	x8
LBB0_12:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_cache_fresh_locked
	mov	x0, x20
	bl	_write_unlock
	mov	x0, x19
	mov	x1, x20
	bl	_cache_fresh_unlocked
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CACHE_VALID,4,2                ; @CACHE_VALID
	.comm	_CACHE_NEGATIVE,4,2             ; @CACHE_NEGATIVE
.subsections_via_symbols
