	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ReadBuffer_common
_ReadBuffer_common:                     ## @ReadBuffer_common
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -76(%rbp)                 ## 4-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movl	%esi, -72(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	16(%rbp), %r14
	callq	_SmgrIsTemp
	movl	%eax, %r12d
	movl	$0, (%r14)
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ResourceOwnerEnlargeBuffers
	movq	_P_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	cmpl	%r13d, %r14d
	sete	%al
	movl	12(%r15), %edx
	movl	8(%r15), %ecx
	movl	(%r15), %r9d
	movl	4(%r15), %r8d
	subq	$8, %rsp
	movl	%ebx, %edi
	movl	%r13d, %esi
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	pushq	%rax
	callq	_TRACE_POSTGRESQL_BUFFER_READ_START
	addq	$16, %rsp
	movl	%r13d, %eax
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	cmpl	%r13d, %r14d
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_smgrnblocks
LBB0_2:
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_10
## %bb.3:
	leaq	-68(%rbp), %rcx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_LocalBufferAlloc
	movq	%rax, %r14
	movl	-68(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.17:
	movq	_pgBufferUsage@GOTPCREL(%rip), %rcx
	incl	24(%rcx)
	cmpl	%r13d, -56(%rbp)                ## 4-byte Folded Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_20
## %bb.18:
	movq	%r14, %rdi
	callq	_LocalBufHdrGetBlock
	jmp	LBB0_28
LBB0_10:
	movsbl	-72(%rbp), %esi                 ## 1-byte Folded Reload
	leaq	-68(%rbp), %r9
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	callq	_BufferAlloc
	movq	%rax, %r14
	movl	-68(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_11
## %bb.19:
	movq	_pgBufferUsage@GOTPCREL(%rip), %rcx
	incl	12(%rcx)
	cmpl	%r13d, -56(%rbp)                ## 4-byte Folded Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_20
## %bb.27:
	movq	%r14, %rdi
	callq	_BufHdrGetBlock
LBB0_28:
	movl	%eax, %edi
	callq	_PageIsNew
	testl	%eax, %eax
	je	LBB0_29
## %bb.30:
	testl	%ebx, %ebx
	je	LBB0_31
LBB0_64:
	movq	%r14, %rdi
	callq	_pg_atomic_read_u32
	movl	%eax, %r12d
	movq	_BM_VALID@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	andl	%eax, %edi
	callq	_Assert
	movl	(%rbx), %esi
	notl	%esi
	andl	%r12d, %esi
	movq	%r14, %rdi
	callq	_pg_atomic_unlocked_write_u32
	jmp	LBB0_33
LBB0_20:
	movq	16(%rbp), %rcx
	movl	$1, (%rcx)
	movq	_VacuumPageHit@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	movq	_VacuumCostActive@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_22
## %bb.21:
	movq	_VacuumCostPageHit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_VacuumCostBalance@GOTPCREL(%rip), %rdx
	addl	%ecx, (%rdx)
LBB0_22:
	movl	12(%r15), %edx
	movl	8(%r15), %ecx
	movl	(%r15), %r9d
	movl	4(%r15), %r8d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	pushq	%rax
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_TRACE_POSTGRESQL_BUFFER_READ_DONE
	addq	$16, %rsp
	testl	%ebx, %ebx
	jne	LBB0_63
## %bb.23:
	movq	_RBM_ZERO_AND_LOCK@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_25
## %bb.24:
	movq	%r14, %rdi
	callq	_BufferDescriptorGetContentLock
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_LWLockAcquire
	jmp	LBB0_63
LBB0_4:
	cmpl	%r13d, -56(%rbp)                ## 4-byte Folded Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_6
## %bb.5:
	movq	_pgBufferUsage@GOTPCREL(%rip), %rax
	incl	20(%rax)
	jmp	LBB0_34
LBB0_11:
	cmpl	%r13d, -56(%rbp)                ## 4-byte Folded Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_13
## %bb.12:
	movq	_pgBufferUsage@GOTPCREL(%rip), %rax
	incl	8(%rax)
	jmp	LBB0_34
LBB0_29:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	(%r15), %rdi
	movq	8(%r15), %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_relpath
	leaq	L_.str(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	testl	%ebx, %ebx
	jne	LBB0_64
LBB0_31:
	movq	_BM_VALID@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_LockBufHdr
	movl	%eax, %ebx
	movl	(%r12), %edi
	andl	%eax, %edi
	callq	_Assert
	movl	(%r12), %esi
	notl	%esi
	andl	%ebx, %esi
	movq	%r14, %rdi
	callq	_UnlockBufHdr
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_StartBufferIO
	testl	%eax, %eax
	je	LBB0_32
LBB0_33:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_34:
	movq	%r14, %rdi
	callq	_pg_atomic_read_u32
	movq	_BM_VALID@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %eax
	sete	%dil
	callq	_Assert
	movq	%r14, %rdi
	testl	%ebx, %ebx
	je	LBB0_36
## %bb.35:
	callq	_LocalBufHdrGetBlock
	jmp	LBB0_37
LBB0_36:
	callq	_BufHdrGetBlock
LBB0_37:
	movq	%rax, %r12
	cmpl	%r13d, -56(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_39
## %bb.38:
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_MemSet
	movq	%r15, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_smgrextend
	jmp	LBB0_51
LBB0_39:
	movq	_RBM_ZERO_AND_LOCK@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	je	LBB0_41
## %bb.40:
	movq	_RBM_ZERO_AND_CLEANUP_LOCK@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	je	LBB0_41
## %bb.42:
	movq	_track_io_timing@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_44
## %bb.43:
	callq	_INSTR_TIME_SET_CURRENT
LBB0_44:
	movq	%r15, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	callq	_smgrread
	cmpq	$0, (%rbx)
	je	LBB0_46
## %bb.45:
	callq	_INSTR_TIME_SET_CURRENT
	callq	_INSTR_TIME_SUBTRACT
	callq	_INSTR_TIME_GET_MICROSEC
	movl	%eax, %edi
	callq	_pgstat_count_buffer_read_time
	movq	_pgBufferUsage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_INSTR_TIME_ADD
LBB0_46:
	movl	%r12d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_PageIsVerified
	testl	%eax, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_52
## %bb.47:
	movq	_RBM_ZERO_ON_ERROR@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	je	LBB0_49
## %bb.48:
	movq	_zero_damaged_pages@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_49
## %bb.50:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	(%r15), %rdi
	movq	8(%r15), %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_relpath
	leaq	L_.str.3(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_51
LBB0_6:
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	je	LBB0_9
## %bb.7:
	movq	_RBM_NORMAL_NO_LOG@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_RBM_ZERO_ON_ERROR@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_34
LBB0_9:
	movq	_pgBufferUsage@GOTPCREL(%rip), %rax
	incl	16(%rax)
	jmp	LBB0_34
LBB0_13:
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	je	LBB0_16
## %bb.14:
	movq	_RBM_NORMAL_NO_LOG@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	je	LBB0_16
## %bb.15:
	movq	_RBM_ZERO_ON_ERROR@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_34
LBB0_16:
	movq	_pgBufferUsage@GOTPCREL(%rip), %rax
	incl	4(%rax)
	jmp	LBB0_34
LBB0_25:
	movq	_RBM_ZERO_AND_CLEANUP_LOCK@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_63
## %bb.26:
	movq	%r14, %rdi
	callq	_BufferDescriptorGetBuffer
	movl	%eax, %edi
	callq	_LockBufferForCleanup
	jmp	LBB0_63
LBB0_49:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	(%r15), %rdi
	movq	8(%r15), %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_relpath
	leaq	L_.str.2(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_errmsg
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_41:
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_MemSet
LBB0_51:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_52:
	movq	_RBM_ZERO_AND_LOCK@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_53
## %bb.55:
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	movq	_BM_VALID@GOTPCREL(%rip), %rbx
	jne	LBB0_58
	jmp	LBB0_56
LBB0_53:
	movq	_RBM_ZERO_AND_CLEANUP_LOCK@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	movq	_BM_VALID@GOTPCREL(%rip), %rbx
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	jne	LBB0_57
## %bb.54:
	testl	%r12d, %r12d
	jne	LBB0_57
LBB0_56:
	movq	%r14, %rdi
	callq	_BufferDescriptorGetContentLock
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_LWLockAcquire
LBB0_57:
	testl	%r12d, %r12d
	je	LBB0_59
LBB0_58:
	movq	%r14, %rdi
	callq	_pg_atomic_read_u32
	orl	(%rbx), %eax
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_pg_atomic_unlocked_write_u32
	jmp	LBB0_60
LBB0_59:
	movl	(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_TerminateBufferIO
LBB0_60:
	movq	_VacuumPageMiss@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_VacuumCostActive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_62
## %bb.61:
	movq	_VacuumCostPageMiss@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VacuumCostBalance@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
LBB0_62:
	movl	12(%r15), %edx
	movl	8(%r15), %ecx
	movl	(%r15), %r9d
	movl	4(%r15), %r8d
	movl	-68(%rbp), %eax
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	pushq	%rax
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_TRACE_POSTGRESQL_BUFFER_READ_DONE
	addq	$16, %rsp
LBB0_63:
	movq	%r14, %rdi
	callq	_BufferDescriptorGetBuffer
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentResourceOwner,4,2       ## @CurrentResourceOwner
	.comm	_P_NEW,4,2                      ## @P_NEW
	.comm	_pgBufferUsage,28,2             ## @pgBufferUsage
	.comm	_RBM_NORMAL,8,3                 ## @RBM_NORMAL
	.comm	_RBM_NORMAL_NO_LOG,8,3          ## @RBM_NORMAL_NO_LOG
	.comm	_RBM_ZERO_ON_ERROR,8,3          ## @RBM_ZERO_ON_ERROR
	.comm	_VacuumPageHit,4,2              ## @VacuumPageHit
	.comm	_VacuumCostActive,8,3           ## @VacuumCostActive
	.comm	_VacuumCostPageHit,8,3          ## @VacuumCostPageHit
	.comm	_VacuumCostBalance,4,2          ## @VacuumCostBalance
	.comm	_RBM_ZERO_AND_LOCK,8,3          ## @RBM_ZERO_AND_LOCK
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_RBM_ZERO_AND_CLEANUP_LOCK,8,3  ## @RBM_ZERO_AND_CLEANUP_LOCK
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected data beyond EOF in block %u of relation %s"

L_.str.1:                               ## @.str.1
	.asciz	"This has been seen to occur with buggy kernels; consider updating your system."

	.comm	_BM_VALID,4,2                   ## @BM_VALID
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
	.comm	_track_io_timing,8,3            ## @track_io_timing
	.comm	_zero_damaged_pages,8,3         ## @zero_damaged_pages
	.comm	_WARNING,4,2                    ## @WARNING
	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ## @ERRCODE_DATA_CORRUPTED
L_.str.2:                               ## @.str.2
	.asciz	"invalid page in block %u of relation %s; zeroing out page"

L_.str.3:                               ## @.str.3
	.asciz	"invalid page in block %u of relation %s"

	.comm	_VacuumPageMiss,4,2             ## @VacuumPageMiss
	.comm	_VacuumCostPageMiss,8,3         ## @VacuumCostPageMiss
	.no_dead_strip	_ReadBuffer_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ReadBuffer_common
_ReadBuffer_common:                     ; @ReadBuffer_common
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x27, x6
	mov	x20, x5
	mov	x25, x4
	mov	x26, x3
	mov	x19, x2
	mov	x28, x1
	mov	x22, x0
	bl	_SmgrIsTemp
	mov	x24, x0
	str	wzr, [x27]
Lloh0:
	adrp	x8, _CurrentResourceOwner@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CurrentResourceOwner@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ResourceOwnerEnlargeBuffers
Lloh3:
	adrp	x8, _P_NEW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P_NEW@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	cmp	w21, w26
	cset	w6, eq
	ldp	w3, w2, [x22, #8]
	ldp	w5, w4, [x22]
	mov	x0, x19
	mov	x1, x26
	str	w6, [sp, #8]                    ; 4-byte Folded Spill
	bl	_TRACE_POSTGRESQL_BUFFER_READ_START
	mov	x23, x26
	cmp	w21, w26
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x19
	bl	_smgrnblocks
	mov	x23, x0
LBB0_2:
	cbz	w24, LBB0_8
; %bb.3:
	add	x3, sp, #12
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	bl	_LocalBufferAlloc
	mov	x20, x0
	ldr	w7, [sp, #12]
	cbz	w7, LBB0_19
; %bb.4:
Lloh6:
	adrp	x8, _pgBufferUsage@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pgBufferUsage@GOTPAGEOFF]
	ldr	w9, [x8, #24]
	add	w9, w9, #1
	str	w9, [x8, #24]
	cmp	w21, w26
	b.ne	LBB0_14
; %bb.5:
	mov	x0, x20
	bl	_LocalBufHdrGetBlock
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_PageIsNew
	cbz	w0, LBB0_11
LBB0_6:
	cbz	w24, LBB0_12
LBB0_7:
	mov	x0, x20
	bl	_pg_atomic_read_u32
	mov	x27, x0
Lloh8:
	adrp	x28, _BM_VALID@GOTPAGE
Lloh9:
	ldr	x28, [x28, _BM_VALID@GOTPAGEOFF]
	ldr	w8, [x28]
	and	w0, w8, w0
	bl	_Assert
	ldr	w8, [x28]
	bic	w1, w27, w8
	mov	x0, x20
	bl	_pg_atomic_unlocked_write_u32
	b	LBB0_27
LBB0_8:
	add	x5, sp, #12
	mov	x0, x22
	mov	x1, x28
	mov	x2, x19
	mov	x3, x23
	mov	x4, x20
	bl	_BufferAlloc
	mov	x20, x0
	ldr	w7, [sp, #12]
	cbz	w7, LBB0_21
; %bb.9:
Lloh10:
	adrp	x8, _pgBufferUsage@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pgBufferUsage@GOTPAGEOFF]
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
	cmp	w21, w26
	b.ne	LBB0_14
; %bb.10:
	mov	x0, x20
	bl	_BufHdrGetBlock
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_PageIsNew
	cbnz	w0, LBB0_6
LBB0_11:
Lloh12:
	adrp	x8, _ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w27, [x8]
	ldp	x0, x1, [x22]
	mov	x2, x19
	bl	_relpath
	mov	x2, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_errmsg
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
	cbnz	w24, LBB0_7
LBB0_12:
Lloh19:
	adrp	x28, _BM_VALID@GOTPAGE
Lloh20:
	ldr	x28, [x28, _BM_VALID@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_LockBufHdr
	mov	x27, x0
	ldr	w8, [x28]
	and	w0, w8, w0
	bl	_Assert
	ldr	w8, [x28]
	bic	w1, w27, w8
	mov	x0, x20
	bl	_UnlockBufHdr
	mov	x0, x20
	mov	w1, #1
	bl	_StartBufferIO
	cbz	w0, LBB0_13
	b	LBB0_27
LBB0_14:
	mov	w8, #1
	str	w8, [x27]
Lloh21:
	adrp	x8, _VacuumPageHit@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VacuumPageHit@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh23:
	adrp	x8, _VacuumCostActive@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VacuumCostActive@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	w6, [sp, #8]                    ; 4-byte Folded Reload
	cbz	x8, LBB0_16
; %bb.15:
Lloh26:
	adrp	x8, _VacuumCostPageHit@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VacuumCostPageHit@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _VacuumCostBalance@GOTPAGE
Lloh30:
	ldr	x9, [x9, _VacuumCostBalance@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
LBB0_16:
	ldp	w3, w2, [x22, #8]
	ldp	w5, w4, [x22]
	mov	x0, x19
	mov	x1, x23
	bl	_TRACE_POSTGRESQL_BUFFER_READ_DONE
	cbnz	w24, LBB0_56
; %bb.17:
Lloh31:
	adrp	x8, _RBM_ZERO_AND_LOCK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RBM_ZERO_AND_LOCK@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x8, x25
	b.ne	LBB0_42
; %bb.18:
	mov	x0, x20
	bl	_BufferDescriptorGetContentLock
Lloh34:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	b	LBB0_56
LBB0_19:
	cmp	w21, w26
	b.ne	LBB0_23
; %bb.20:
Lloh37:
	adrp	x8, _pgBufferUsage@GOTPAGE
Lloh38:
	ldr	x8, [x8, _pgBufferUsage@GOTPAGEOFF]
	ldr	w9, [x8, #20]
	add	w9, w9, #1
	str	w9, [x8, #20]
	b	LBB0_27
LBB0_21:
	cmp	w21, w26
	b.ne	LBB0_25
; %bb.22:
Lloh39:
	adrp	x8, _pgBufferUsage@GOTPAGE
Lloh40:
	ldr	x8, [x8, _pgBufferUsage@GOTPAGEOFF]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	b	LBB0_27
LBB0_23:
Lloh41:
	adrp	x8, _RBM_NORMAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
Lloh44:
	adrp	x9, _RBM_NORMAL_NO_LOG@GOTPAGE
Lloh45:
	ldr	x9, [x9, _RBM_NORMAL_NO_LOG@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
Lloh47:
	adrp	x10, _RBM_ZERO_ON_ERROR@GOTPAGE
Lloh48:
	ldr	x10, [x10, _RBM_ZERO_ON_ERROR@GOTPAGEOFF]
Lloh49:
	ldr	x10, [x10]
	cmp	x8, x25
	ccmp	x9, x25, #4, ne
	ccmp	x10, x25, #4, ne
	b.ne	LBB0_27
; %bb.24:
Lloh50:
	adrp	x8, _pgBufferUsage@GOTPAGE
Lloh51:
	ldr	x8, [x8, _pgBufferUsage@GOTPAGEOFF]
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
	b	LBB0_27
LBB0_25:
Lloh52:
	adrp	x8, _RBM_NORMAL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
Lloh55:
	adrp	x9, _RBM_NORMAL_NO_LOG@GOTPAGE
Lloh56:
	ldr	x9, [x9, _RBM_NORMAL_NO_LOG@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
Lloh58:
	adrp	x10, _RBM_ZERO_ON_ERROR@GOTPAGE
Lloh59:
	ldr	x10, [x10, _RBM_ZERO_ON_ERROR@GOTPAGEOFF]
Lloh60:
	ldr	x10, [x10]
	cmp	x8, x25
	ccmp	x9, x25, #4, ne
	ccmp	x10, x25, #4, ne
	b.ne	LBB0_27
; %bb.26:
Lloh61:
	adrp	x8, _pgBufferUsage@GOTPAGE
Lloh62:
	ldr	x8, [x8, _pgBufferUsage@GOTPAGEOFF]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_27:
	mov	x0, x20
	bl	_pg_atomic_read_u32
Lloh63:
	adrp	x28, _BM_VALID@GOTPAGE
Lloh64:
	ldr	x28, [x28, _BM_VALID@GOTPAGEOFF]
	ldr	w8, [x28]
	tst	w8, w0
	cset	w0, eq
	bl	_Assert
	mov	x0, x20
	cbz	w24, LBB0_29
; %bb.28:
	bl	_LocalBufHdrGetBlock
	b	LBB0_30
LBB0_29:
	bl	_BufHdrGetBlock
LBB0_30:
	mov	x27, x0
	cmp	w21, w26
	b.ne	LBB0_32
; %bb.31:
Lloh65:
	adrp	x8, _BLCKSZ@GOTPAGE
Lloh66:
	ldr	x8, [x8, _BLCKSZ@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
	mov	x0, x27
	mov	w1, #0
	bl	_MemSet
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	x3, x27
	mov	w4, #0
	bl	_smgrextend
	ldr	w21, [sp, #8]                   ; 4-byte Folded Reload
	b	LBB0_45
LBB0_32:
Lloh68:
	adrp	x8, _RBM_ZERO_AND_LOCK@GOTPAGE
Lloh69:
	ldr	x8, [x8, _RBM_ZERO_AND_LOCK@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
Lloh71:
	adrp	x9, _RBM_ZERO_AND_CLEANUP_LOCK@GOTPAGE
Lloh72:
	ldr	x9, [x9, _RBM_ZERO_AND_CLEANUP_LOCK@GOTPAGEOFF]
Lloh73:
	ldr	x9, [x9]
	cmp	x8, x25
	ccmp	x9, x25, #4, ne
	b.ne	LBB0_34
; %bb.33:
Lloh74:
	adrp	x8, _BLCKSZ@GOTPAGE
Lloh75:
	ldr	x8, [x8, _BLCKSZ@GOTPAGEOFF]
Lloh76:
	ldr	w2, [x8]
	mov	x0, x27
	mov	w1, #0
	bl	_MemSet
	ldr	w21, [sp, #8]                   ; 4-byte Folded Reload
	b	LBB0_45
LBB0_34:
Lloh77:
	adrp	x21, _track_io_timing@GOTPAGE
Lloh78:
	ldr	x21, [x21, _track_io_timing@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_36
; %bb.35:
	bl	_INSTR_TIME_SET_CURRENT
LBB0_36:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	x3, x27
	bl	_smgrread
	ldr	x8, [x21]
	cbz	x8, LBB0_38
; %bb.37:
	bl	_INSTR_TIME_SET_CURRENT
	bl	_INSTR_TIME_SUBTRACT
	bl	_INSTR_TIME_GET_MICROSEC
	bl	_pgstat_count_buffer_read_time
Lloh79:
	adrp	x8, _pgBufferUsage@GOTPAGE
Lloh80:
	ldr	x8, [x8, _pgBufferUsage@GOTPAGEOFF]
Lloh81:
	ldr	w0, [x8]
	bl	_INSTR_TIME_ADD
LBB0_38:
	mov	x0, x27
	mov	x1, x23
	bl	_PageIsVerified
	ldr	w21, [sp, #8]                   ; 4-byte Folded Reload
	cbnz	w0, LBB0_45
; %bb.39:
Lloh82:
	adrp	x8, _RBM_ZERO_ON_ERROR@GOTPAGE
Lloh83:
	ldr	x8, [x8, _RBM_ZERO_ON_ERROR@GOTPAGEOFF]
Lloh84:
	ldr	x8, [x8]
	cmp	x8, x25
	b.eq	LBB0_44
; %bb.40:
Lloh85:
	adrp	x8, _zero_damaged_pages@GOTPAGE
Lloh86:
	ldr	x8, [x8, _zero_damaged_pages@GOTPAGEOFF]
Lloh87:
	ldr	x8, [x8]
	cbnz	x8, LBB0_44
; %bb.41:
Lloh88:
	adrp	x8, _ERROR@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh90:
	ldr	w26, [x8]
Lloh91:
	adrp	x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh92:
	ldr	x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
Lloh93:
	ldr	w0, [x8]
	bl	_errcode
	ldp	x0, x1, [x22]
	mov	x2, x19
	bl	_relpath
	mov	x2, x0
Lloh94:
	adrp	x0, l_.str.3@PAGE
Lloh95:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x23
	bl	_errmsg
	mov	x1, x0
	mov	x0, x26
	bl	_ereport
	b	LBB0_45
LBB0_42:
Lloh96:
	adrp	x8, _RBM_ZERO_AND_CLEANUP_LOCK@GOTPAGE
Lloh97:
	ldr	x8, [x8, _RBM_ZERO_AND_CLEANUP_LOCK@GOTPAGEOFF]
Lloh98:
	ldr	x8, [x8]
	cmp	x8, x25
	b.ne	LBB0_56
; %bb.43:
	mov	x0, x20
	bl	_BufferDescriptorGetBuffer
	bl	_LockBufferForCleanup
	b	LBB0_56
LBB0_44:
Lloh99:
	adrp	x8, _WARNING@GOTPAGE
Lloh100:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh101:
	ldr	w26, [x8]
Lloh102:
	adrp	x8, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh103:
	ldr	x8, [x8, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
Lloh104:
	ldr	w0, [x8]
	bl	_errcode
	ldp	x0, x1, [x22]
	mov	x2, x19
	bl	_relpath
	mov	x2, x0
Lloh105:
	adrp	x0, l_.str.2@PAGE
Lloh106:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x23
	bl	_errmsg
	mov	x1, x0
	mov	x0, x26
	bl	_ereport
Lloh107:
	adrp	x8, _BLCKSZ@GOTPAGE
Lloh108:
	ldr	x8, [x8, _BLCKSZ@GOTPAGEOFF]
Lloh109:
	ldr	w2, [x8]
	mov	x0, x27
	mov	w1, #0
	bl	_MemSet
LBB0_45:
Lloh110:
	adrp	x8, _RBM_ZERO_AND_LOCK@GOTPAGE
Lloh111:
	ldr	x8, [x8, _RBM_ZERO_AND_LOCK@GOTPAGEOFF]
Lloh112:
	ldr	x8, [x8]
	cmp	x8, x25
	b.ne	LBB0_47
; %bb.46:
	cbnz	w24, LBB0_51
	b	LBB0_49
LBB0_47:
Lloh113:
	adrp	x8, _RBM_ZERO_AND_CLEANUP_LOCK@GOTPAGE
Lloh114:
	ldr	x8, [x8, _RBM_ZERO_AND_CLEANUP_LOCK@GOTPAGEOFF]
Lloh115:
	ldr	x8, [x8]
	cmp	x8, x25
	b.ne	LBB0_50
; %bb.48:
	cbnz	w24, LBB0_50
LBB0_49:
	mov	x0, x20
	bl	_BufferDescriptorGetContentLock
Lloh116:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh117:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh118:
	ldr	w1, [x8]
	bl	_LWLockAcquire
LBB0_50:
	cbz	w24, LBB0_52
LBB0_51:
	mov	x0, x20
	bl	_pg_atomic_read_u32
	ldr	w8, [x28]
	orr	w1, w8, w0
	mov	x0, x20
	bl	_pg_atomic_unlocked_write_u32
	b	LBB0_53
LBB0_52:
	ldr	w2, [x28]
	mov	x0, x20
	mov	w1, #0
	bl	_TerminateBufferIO
LBB0_53:
Lloh119:
	adrp	x8, _VacuumPageMiss@GOTPAGE
Lloh120:
	ldr	x8, [x8, _VacuumPageMiss@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh121:
	adrp	x8, _VacuumCostActive@GOTPAGE
Lloh122:
	ldr	x8, [x8, _VacuumCostActive@GOTPAGEOFF]
Lloh123:
	ldr	x8, [x8]
	cbz	x8, LBB0_55
; %bb.54:
Lloh124:
	adrp	x8, _VacuumCostPageMiss@GOTPAGE
Lloh125:
	ldr	x8, [x8, _VacuumCostPageMiss@GOTPAGEOFF]
Lloh126:
	ldr	w8, [x8]
Lloh127:
	adrp	x9, _VacuumCostBalance@GOTPAGE
Lloh128:
	ldr	x9, [x9, _VacuumCostBalance@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
LBB0_55:
	ldp	w3, w2, [x22, #8]
	ldp	w5, w4, [x22]
	ldr	w7, [sp, #12]
	mov	x0, x19
	mov	x1, x23
	mov	x6, x21
	bl	_TRACE_POSTGRESQL_BUFFER_READ_DONE
LBB0_56:
	mov	x0, x20
	bl	_BufferDescriptorGetBuffer
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentResourceOwner,4,2       ; @CurrentResourceOwner
	.comm	_P_NEW,4,2                      ; @P_NEW
	.comm	_pgBufferUsage,28,2             ; @pgBufferUsage
	.comm	_RBM_NORMAL,8,3                 ; @RBM_NORMAL
	.comm	_RBM_NORMAL_NO_LOG,8,3          ; @RBM_NORMAL_NO_LOG
	.comm	_RBM_ZERO_ON_ERROR,8,3          ; @RBM_ZERO_ON_ERROR
	.comm	_VacuumPageHit,4,2              ; @VacuumPageHit
	.comm	_VacuumCostActive,8,3           ; @VacuumCostActive
	.comm	_VacuumCostPageHit,8,3          ; @VacuumCostPageHit
	.comm	_VacuumCostBalance,4,2          ; @VacuumCostBalance
	.comm	_RBM_ZERO_AND_LOCK,8,3          ; @RBM_ZERO_AND_LOCK
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_RBM_ZERO_AND_CLEANUP_LOCK,8,3  ; @RBM_ZERO_AND_CLEANUP_LOCK
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected data beyond EOF in block %u of relation %s"

l_.str.1:                               ; @.str.1
	.asciz	"This has been seen to occur with buggy kernels; consider updating your system."

	.comm	_BM_VALID,4,2                   ; @BM_VALID
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
	.comm	_track_io_timing,8,3            ; @track_io_timing
	.comm	_zero_damaged_pages,8,3         ; @zero_damaged_pages
	.comm	_WARNING,4,2                    ; @WARNING
	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ; @ERRCODE_DATA_CORRUPTED
l_.str.2:                               ; @.str.2
	.asciz	"invalid page in block %u of relation %s; zeroing out page"

l_.str.3:                               ; @.str.3
	.asciz	"invalid page in block %u of relation %s"

	.comm	_VacuumPageMiss,4,2             ; @VacuumPageMiss
	.comm	_VacuumCostPageMiss,8,3         ; @VacuumCostPageMiss
	.no_dead_strip	_ReadBuffer_common
.subsections_via_symbols
