	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sunrpc_cache_lookup            ## -- Begin function sunrpc_cache_lookup
	.p2align	4, 0x90
_sunrpc_cache_lookup:                   ## @sunrpc_cache_lookup
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	32(%rdi), %r15
	movslq	%edx, %rbx
	leaq	(%r15,%rbx,8), %r13
	callq	_read_lock
	movq	(%r15,%rbx,8), %r15
	testq	%r15, %r15
	je	LBB0_6
## %bb.1:
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	*8(%r14)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rbx
	movq	(%rbx), %r15
	testq	%r15, %r15
	jne	LBB0_2
	jmp	LBB0_6
LBB0_3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_cache_is_expired
	testq	%rax, %rax
	je	LBB0_4
LBB0_6:
	movq	%r14, %rdi
	callq	_read_unlock
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	*24(%r14)
	testq	%rax, %rax
	je	LBB0_20
## %bb.7:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_cache_init
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*16(%r14)
	movq	%r14, %rdi
	callq	_write_lock
	movq	(%r13), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.9:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	*8(%r14)
	testq	%rax, %rax
	jne	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r13), %r13
	movq	(%r13), %r15
	testq	%r15, %r15
	jne	LBB0_10
## %bb.15:
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_8:
	xorl	%r15d, %r15d
	jmp	LBB0_17
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_cache_is_expired
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	(%r15), %rax
	movq	%rax, (%r13)
	movq	$0, (%r15)
	decl	4(%r14)
LBB0_16:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_17:
	movq	(%r13), %rax
	movq	%rax, (%rbx)
	movq	%rbx, (%r13)
	incl	4(%r14)
	movq	%rbx, %rdi
	callq	_cache_get
	movq	%r14, %rdi
	callq	_write_unlock
	testq	%r15, %r15
	je	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cache_put
LBB0_19:
	movq	%rbx, %r15
	jmp	LBB0_20
LBB0_4:
	movq	%r15, %rdi
	callq	_cache_get
	movq	%r14, %rdi
	callq	_read_unlock
	jmp	LBB0_20
LBB0_12:
	movq	%r15, %rdi
	callq	_cache_get
	movq	%r14, %rdi
	callq	_write_unlock
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cache_put
LBB0_20:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sunrpc_cache_lookup            ; -- Begin function sunrpc_cache_lookup
	.p2align	2
_sunrpc_cache_lookup:                   ; @sunrpc_cache_lookup
	.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	x22, x1
	mov	x19, x0
	ldr	x8, [x0, #32]
	add	x23, x8, w2, sxtw #3
	bl	_read_lock
	ldr	x20, [x23]
	cbz	x20, LBB0_5
; %bb.1:
	mov	x21, x23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x21]
	ldr	x20, [x21]
	cbnz	x20, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_cache_is_expired
	cbz	x0, LBB0_16
LBB0_5:
	mov	x0, x19
	bl	_read_unlock
	ldr	x8, [x19, #24]
	blr	x8
	cbz	x0, LBB0_10
; %bb.6:
	mov	x21, x0
	bl	_cache_init
	ldr	x8, [x19, #16]
	mov	x0, x21
	mov	x1, x22
	blr	x8
	mov	x0, x19
	bl	_write_lock
	ldr	x20, [x23]
	cbz	x20, LBB0_13
; %bb.7:
	mov	x24, x23
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	cbnz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x24, [x24]
	ldr	x20, [x24]
	cbnz	x20, LBB0_8
	b	LBB0_13
LBB0_10:
	mov	x20, #0
	b	LBB0_18
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_cache_is_expired
	cbz	x0, LBB0_17
; %bb.12:
	ldr	x8, [x20]
	str	x8, [x24]
	str	xzr, [x20]
	ldr	w8, [x19, #4]
	sub	w8, w8, #1
	str	w8, [x19, #4]
LBB0_13:
	ldr	x8, [x23]
	str	x8, [x21]
	str	x21, [x23]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x21
	bl	_cache_get
	mov	x0, x19
	bl	_write_unlock
	cbz	x20, LBB0_15
; %bb.14:
	mov	x0, x20
	mov	x1, x19
	bl	_cache_put
LBB0_15:
	mov	x20, x21
	b	LBB0_18
LBB0_16:
	mov	x0, x20
	bl	_cache_get
	mov	x0, x19
	bl	_read_unlock
	b	LBB0_18
LBB0_17:
	mov	x0, x20
	bl	_cache_get
	mov	x0, x19
	bl	_write_unlock
	mov	x0, x21
	mov	x1, x19
	bl	_cache_put
LBB0_18:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
