	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SimpleLruDoesPhysicalPageExist ## -- Begin function SimpleLruDoesPhysicalPageExist
	.p2align	4, 0x90
_SimpleLruDoesPhysicalPageExist:        ## @SimpleLruDoesPhysicalPageExist
	.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	%esi, %r15d
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SLRU_PAGES_PER_SEGMENT@GOTPCREL(%rip), %rcx
	movl	%esi, %eax
	cltd
	idivl	(%rcx)
	movl	%eax, %r13d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_SlruFileName
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_PG_BINARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OpenTransientFile
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_3
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_ENOENT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.2:
	movq	_SLRU_OPEN_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_slru_errcause@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_slru_errno@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	movl	%r12d, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_SlruReportIOError
LBB0_3:
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_lseek
	movq	%rax, %r13
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:
	movq	_SLRU_SEEK_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_slru_errcause@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_slru_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	%r12d, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_SlruReportIOError
LBB0_5:
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movl	%ebx, %edi
	callq	_CloseTransientFile
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_SLRU_CLOSE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_slru_errcause@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_slru_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	movslq	-52(%rbp), %rax                 ## 4-byte Folded Reload
	imulq	%rax, %r14
	addq	%r14, %r15
	xorl	%eax, %eax
	cmpq	%r15, %r13
	setge	%al
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SLRU_PAGES_PER_SEGMENT,4,2     ## @SLRU_PAGES_PER_SEGMENT
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_PG_BINARY,4,2                  ## @PG_BINARY
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_SLRU_OPEN_FAILED,4,2           ## @SLRU_OPEN_FAILED
	.comm	_slru_errcause,4,2              ## @slru_errcause
	.comm	_slru_errno,8,3                 ## @slru_errno
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_SLRU_SEEK_FAILED,4,2           ## @SLRU_SEEK_FAILED
	.comm	_SLRU_CLOSE_FAILED,4,2          ## @SLRU_CLOSE_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SimpleLruDoesPhysicalPageExist ; -- Begin function SimpleLruDoesPhysicalPageExist
	.p2align	2
_SimpleLruDoesPhysicalPageExist:        ; @SimpleLruDoesPhysicalPageExist
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _SLRU_PAGES_PER_SEGMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SLRU_PAGES_PER_SEGMENT@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	sdiv	w20, w1, w24
Lloh6:
	adrp	x26, _BLCKSZ@GOTPAGE
Lloh7:
	ldr	x26, [x26, _BLCKSZ@GOTPAGEOFF]
	ldrsw	x28, [x26]
Lloh8:
	adrp	x8, _MAXPGPATH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAXPGPATH@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	mov	x1, x22
	mov	x2, x20
	bl	_SlruFileName
Lloh13:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _PG_BINARY@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PG_BINARY@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x22
	bl	_OpenTransientFile
	mov	x22, x0
Lloh19:
	adrp	x8, _errno@GOTPAGE
Lloh20:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
	adrp	x27, _slru_errcause@GOTPAGE
Lloh22:
	ldr	x27, [x27, _slru_errcause@GOTPAGEOFF]
Lloh23:
	adrp	x25, _slru_errno@GOTPAGE
Lloh24:
	ldr	x25, [x25, _slru_errno@GOTPAGEOFF]
	tbz	w0, #31, LBB0_4
; %bb.1:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _ENOENT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_9
LBB0_3:
Lloh28:
	adrp	x9, _SLRU_OPEN_FAILED@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SLRU_OPEN_FAILED@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	str	w9, [x27]
	str	x8, [x25]
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_SlruReportIOError
LBB0_4:
Lloh31:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_lseek
	mov	x23, x0
	tbz	x0, #63, LBB0_6
; %bb.5:
Lloh34:
	adrp	x8, _SLRU_SEEK_FAILED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SLRU_SEEK_FAILED@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [x27]
Lloh37:
	adrp	x8, _errno@GOTPAGE
Lloh38:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	str	x8, [x25]
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_SlruReportIOError
LBB0_6:
	ldrsw	x21, [x26]
	mov	x0, x22
	bl	_CloseTransientFile
	cbz	x0, LBB0_8
; %bb.7:
	mov	w0, #0
Lloh40:
	adrp	x8, _SLRU_CLOSE_FAILED@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SLRU_CLOSE_FAILED@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	str	w8, [x27]
Lloh43:
	adrp	x8, _errno@GOTPAGE
Lloh44:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	str	x8, [x25]
	b	LBB0_9
LBB0_8:
	msub	w8, w20, w24, w19
	sxtw	x8, w8
	mul	x8, x28, x8
	add	x8, x21, x8
	cmp	x23, x8
	cset	w0, ge
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_SLRU_PAGES_PER_SEGMENT,4,2     ; @SLRU_PAGES_PER_SEGMENT
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_PG_BINARY,4,2                  ; @PG_BINARY
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_SLRU_OPEN_FAILED,4,2           ; @SLRU_OPEN_FAILED
	.comm	_slru_errcause,4,2              ; @slru_errcause
	.comm	_slru_errno,8,3                 ; @slru_errno
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_SLRU_SEEK_FAILED,4,2           ; @SLRU_SEEK_FAILED
	.comm	_SLRU_CLOSE_FAILED,4,2          ; @SLRU_CLOSE_FAILED
.subsections_via_symbols
