	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SlruPhysicalReadPage
_SlruPhysicalReadPage:                  ## @SlruPhysicalReadPage
	.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	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	movq	(%rdi), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_SLRU_PAGES_PER_SEGMENT@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %r15d
	movl	%edx, %r12d
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_SlruFileName
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_PG_BINARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_OpenTransientFile
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movl	%eax, %r15d
	imull	%r14d, %r12d
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_lseek
	testq	%rax, %rax
	js	LBB0_9
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movq	_WAIT_EVENT_SLRU_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_report_wait_start
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	-52(%rbp), %rcx                 ## 4-byte Folded Reload
	movl	(%rax,%rcx,4), %esi
	movq	_BLCKSZ@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r15d, %edi
	callq	_read
	movl	%eax, %r13d
	movl	(%rbx), %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pgstat_report_wait_end
	cmpl	%ebx, %r13d
	jne	LBB0_10
## %bb.3:
	movl	%r15d, %edi
	callq	_CloseTransientFile
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_SLRU_CLOSE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_slru_errcause@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r12), %rax
	movq	_slru_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_13
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.6:
	movq	_InRecovery@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_11
## %bb.7:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	-52(%rbp), %rcx                 ## 4-byte Folded Reload
	movl	(%rax,%rcx,4), %edi
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_MemSet
LBB0_8:
	movl	$1, %r14d
	jmp	LBB0_13
LBB0_9:
	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	%r15d, %edi
	callq	_CloseTransientFile
	jmp	LBB0_12
LBB0_10:
	movq	_SLRU_READ_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_slru_errcause@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r12), %rax
	movq	_slru_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	%r15d, %edi
	callq	_CloseTransientFile
	jmp	LBB0_13
LBB0_11:
	movq	_SLRU_OPEN_FAILED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_slru_errcause@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_slru_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_12:
	xorl	%r14d, %r14d
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	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	_InRecovery,4,2                 ## @InRecovery
	.comm	_SLRU_OPEN_FAILED,4,2           ## @SLRU_OPEN_FAILED
	.comm	_slru_errcause,4,2              ## @slru_errcause
	.comm	_slru_errno,8,3                 ## @slru_errno
	.comm	_LOG,4,2                        ## @LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file \"%s\" doesn't exist, reading as zeroes"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_SLRU_SEEK_FAILED,4,2           ## @SLRU_SEEK_FAILED
	.comm	_WAIT_EVENT_SLRU_READ,4,2       ## @WAIT_EVENT_SLRU_READ
	.comm	_SLRU_READ_FAILED,4,2           ## @SLRU_READ_FAILED
	.comm	_SLRU_CLOSE_FAILED,4,2          ## @SLRU_CLOSE_FAILED
	.no_dead_strip	_SlruPhysicalReadPage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SlruPhysicalReadPage
_SlruPhysicalReadPage:                  ; @SlruPhysicalReadPage
	.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, x2
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x25, [x0]
Lloh3:
	adrp	x8, _SLRU_PAGES_PER_SEGMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SLRU_PAGES_PER_SEGMENT@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	sdiv	w23, w1, w26
Lloh6:
	adrp	x24, _BLCKSZ@GOTPAGE
Lloh7:
	ldr	x24, [x24, _BLCKSZ@GOTPAGEOFF]
	ldr	w27, [x24]
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, x23
	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
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x20, x0
	msub	w8, w23, w26, w21
	mul	w1, w8, w27
Lloh19:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	bl	_lseek
	tbnz	x0, #63, LBB0_8
; %bb.2:
Lloh22:
	adrp	x21, _errno@GOTPAGE
Lloh23:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	xzr, [x21]
Lloh24:
	adrp	x8, _WAIT_EVENT_SLRU_READ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WAIT_EVENT_SLRU_READ@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_pgstat_report_wait_start
	ldr	x8, [x25]
	ldr	w1, [x8, w19, sxtw #2]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_read
	mov	x19, x0
	ldr	w22, [x24]
	bl	_pgstat_report_wait_end
	cmp	w19, w22
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x20
	bl	_CloseTransientFile
	cbz	x0, LBB0_12
; %bb.4:
	mov	w0, #0
Lloh27:
	adrp	x8, _SLRU_CLOSE_FAILED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SLRU_CLOSE_FAILED@GOTPAGEOFF]
Lloh29:
	adrp	x9, _slru_errcause@GOTPAGE
Lloh30:
	ldr	x9, [x9, _slru_errcause@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	str	w8, [x9]
	ldr	x8, [x21]
	b	LBB0_7
LBB0_5:
Lloh33:
	adrp	x8, _errno@GOTPAGE
Lloh34:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
Lloh36:
	adrp	x9, _ENOENT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
Lloh39:
	adrp	x10, _InRecovery@GOTPAGE
Lloh40:
	ldr	x10, [x10, _InRecovery@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	cmp	x8, x9
	ccmp	w10, #0, #4, eq
	b.ne	LBB0_11
; %bb.6:
	mov	w0, #0
Lloh42:
	adrp	x9, _SLRU_OPEN_FAILED@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SLRU_OPEN_FAILED@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
Lloh45:
	adrp	x10, _slru_errcause@GOTPAGE
Lloh46:
	ldr	x10, [x10, _slru_errcause@GOTPAGEOFF]
Lloh47:
	str	w9, [x10]
LBB0_7:
Lloh48:
	adrp	x9, _slru_errno@GOTPAGE
Lloh49:
	ldr	x9, [x9, _slru_errno@GOTPAGEOFF]
Lloh50:
	str	x8, [x9]
	b	LBB0_13
LBB0_8:
Lloh51:
	adrp	x8, _SLRU_SEEK_FAILED@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SLRU_SEEK_FAILED@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _slru_errcause@GOTPAGE
Lloh55:
	ldr	x9, [x9, _slru_errcause@GOTPAGEOFF]
Lloh56:
	str	w8, [x9]
Lloh57:
	adrp	x8, _errno@GOTPAGE
Lloh58:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	b	LBB0_10
LBB0_9:
Lloh60:
	adrp	x8, _SLRU_READ_FAILED@GOTPAGE
Lloh61:
	ldr	x8, [x8, _SLRU_READ_FAILED@GOTPAGEOFF]
Lloh62:
	adrp	x9, _slru_errcause@GOTPAGE
Lloh63:
	ldr	x9, [x9, _slru_errcause@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
Lloh65:
	str	w8, [x9]
	ldr	x8, [x21]
LBB0_10:
Lloh66:
	adrp	x9, _slru_errno@GOTPAGE
Lloh67:
	ldr	x9, [x9, _slru_errno@GOTPAGEOFF]
Lloh68:
	str	x8, [x9]
	mov	x0, x20
	bl	_CloseTransientFile
	mov	w0, #0
	b	LBB0_13
LBB0_11:
Lloh69:
	adrp	x8, _LOG@GOTPAGE
Lloh70:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh71:
	ldr	w20, [x8]
Lloh72:
	adrp	x0, l_.str@PAGE
Lloh73:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	ldr	x8, [x25]
	ldr	w0, [x8, w19, sxtw #2]
	ldr	w2, [x24]
	mov	w1, #0
	bl	_MemSet
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh74:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh75:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh76:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	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_15:
	bl	___stack_chk_fail
	.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	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh62, Lloh63, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh64
	.loh AdrpLdrGotStr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.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	_InRecovery,4,2                 ; @InRecovery
	.comm	_SLRU_OPEN_FAILED,4,2           ; @SLRU_OPEN_FAILED
	.comm	_slru_errcause,4,2              ; @slru_errcause
	.comm	_slru_errno,8,3                 ; @slru_errno
	.comm	_LOG,4,2                        ; @LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file \"%s\" doesn't exist, reading as zeroes"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_SLRU_SEEK_FAILED,4,2           ; @SLRU_SEEK_FAILED
	.comm	_WAIT_EVENT_SLRU_READ,4,2       ; @WAIT_EVENT_SLRU_READ
	.comm	_SLRU_READ_FAILED,4,2           ; @SLRU_READ_FAILED
	.comm	_SLRU_CLOSE_FAILED,4,2          ; @SLRU_CLOSE_FAILED
	.no_dead_strip	_SlruPhysicalReadPage
.subsections_via_symbols
