	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SimpleLruReadPage_ReadOnly     ## -- Begin function SimpleLruReadPage_ReadOnly
	.p2align	4, 0x90
_SimpleLruReadPage_ReadOnly:            ## @SimpleLruReadPage_ReadOnly
	.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
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movl	24(%r12), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	8(%r12), %rcx
	movq	_SLRU_PAGE_EMPTY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_SLRU_PAGE_READ_IN_PROGRESS@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r13d, (%rcx,%rbx,4)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r12), %rdi
	movq	(%rdi,%rbx,8), %rdi
	cmpq	%rdx, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, %rdi
	je	LBB0_5
## %bb.7:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_SlruRecentlyUsed
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	24(%r12), %edi
	callq	_LWLockRelease
	movl	24(%r12), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	$1, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SimpleLruReadPage              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_SLRU_PAGE_EMPTY,8,3            ## @SLRU_PAGE_EMPTY
	.comm	_SLRU_PAGE_READ_IN_PROGRESS,8,3 ## @SLRU_PAGE_READ_IN_PROGRESS
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SimpleLruReadPage_ReadOnly     ; -- Begin function SimpleLruReadPage_ReadOnly
	.p2align	2
_SimpleLruReadPage_ReadOnly:            ; @SimpleLruReadPage_ReadOnly
	.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	x20, x1
	mov	x21, x0
	ldr	x22, [x0]
	ldr	w0, [x22, #24]
Lloh0:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	ldr	x9, [x22, #8]
Lloh3:
	adrp	x10, _SLRU_PAGE_EMPTY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SLRU_PAGE_EMPTY@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _SLRU_PAGE_READ_IN_PROGRESS@GOTPAGE
Lloh7:
	ldr	x11, [x11, _SLRU_PAGE_READ_IN_PROGRESS@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	cmp	x8, x23
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9, x23, lsl #2]
	cmp	w12, w20
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x22, #16]
	ldr	x12, [x12, x23, lsl #3]
	cmp	x12, x10
	ccmp	x12, x11, #4, ne
	b.eq	LBB0_2
; %bb.5:
	mov	x0, x22
	mov	x1, x23
	bl	_SlruRecentlyUsed
	mov	x0, x23
	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_6:
	ldr	w0, [x22, #24]
	bl	_LWLockRelease
	ldr	w0, [x22, #24]
Lloh9:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	mov	x3, x19
	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	_SimpleLruReadPage
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_SLRU_PAGE_EMPTY,8,3            ; @SLRU_PAGE_EMPTY
	.comm	_SLRU_PAGE_READ_IN_PROGRESS,8,3 ; @SLRU_PAGE_READ_IN_PROGRESS
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
.subsections_via_symbols
