	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PageIsVerified                 ## -- Begin function PageIsVerified
	.p2align	4, 0x90
_PageIsVerified:                        ## @PageIsVerified
	.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	%esi, %r14d
	movq	%rdi, %rbx
	callq	_PageIsNew
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_2:
	xorl	%eax, %eax
	callq	_DataChecksumsEnabled
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_pg_checksum_page
	movq	%rax, %r14
	xorl	%r12d, %r12d
	cmpq	(%rbx), %rax
	setne	%r12b
	movl	%r12d, %r13d
	jmp	LBB0_5
LBB0_4:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
LBB0_5:
	movq	_PD_VALID_FLAG_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%eax, 8(%rbx)
	jne	LBB0_14
## %bb.7:
	movq	24(%rbx), %rax
	cmpq	%rax, 16(%rbx)
	jg	LBB0_14
## %bb.9:
	movq	32(%rbx), %r15
	cmpq	%r15, %rax
	jg	LBB0_14
## %bb.10:
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jg	LBB0_14
## %bb.11:
	movq	%r15, %rdi
	callq	_MAXALIGN
	cmpq	%rax, %r15
	setne	%cl
	sete	%al
	orb	%cl, %r12b
	movl	$1, %r15d
	cmpb	$1, %r12b
	movl	$0, %r12d
	jne	LBB0_23
## %bb.12:
	movb	%al, %r12b
	jmp	LBB0_15
LBB0_14:
	xorl	%r12d, %r12d
LBB0_15:
	movq	_BLCKSZ@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	xorl	%edi, %edi
	testb	$7, %al
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_StaticAssertStmt
	movslq	(%r15), %rcx
	movl	$1, %r15d
	cmpq	$8, %rcx
	jb	LBB0_23
## %bb.16:
	shrq	$3, %rcx
	cmpq	$2, %rcx
	movl	$1, %eax
	cmovaeq	%rcx, %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx,%rcx,8)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_17
	jmp	LBB0_23
LBB0_19:
	testl	%r13d, %r13d
	je	LBB0_22
## %bb.20:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movq	%r12, %r13
	movl	(%rax), %r12d
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%eax, %eax
	callq	_pgstat_report_checksum_failure
	testl	%r13d, %r13d
	je	LBB0_22
## %bb.21:
	movq	_ignore_checksum_failure@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_23
LBB0_22:
	xorl	%r15d, %r15d
LBB0_23:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PD_VALID_FLAG_BITS,4,2         ## @PD_VALID_FLAG_BITS
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BLCKSZ has to be a multiple of sizeof(size_t)"

	.comm	_WARNING,4,2                    ## @WARNING
	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ## @ERRCODE_DATA_CORRUPTED
L_.str.1:                               ## @.str.1
	.asciz	"page verification failed, calculated checksum %u but expected %u"

	.comm	_ignore_checksum_failure,8,3    ## @ignore_checksum_failure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PageIsVerified                 ; -- Begin function PageIsVerified
	.p2align	2
_PageIsVerified:                        ; @PageIsVerified
	.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	x20, x1
	mov	x19, x0
	bl	_PageIsNew
Lloh0:
	adrp	x22, _BLCKSZ@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BLCKSZ@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	mov	w23, #0
	mov	w24, #0
	mov	x20, #0
	b	LBB0_8
LBB0_2:
	bl	_DataChecksumsEnabled
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_pg_checksum_page
	mov	x20, x0
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w23, ne
	b	LBB0_5
LBB0_4:
	mov	w23, #0
	mov	x20, #0
LBB0_5:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _PD_VALID_FLAG_BITS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PD_VALID_FLAG_BITS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	bics	wzr, w8, w9
	b.ne	LBB0_7
; %bb.6:
	ldp	x9, x8, [x19, #16]
	cmp	x9, x8
	b.le	LBB0_18
LBB0_7:
	mov	w24, #0
LBB0_8:
	ldr	w8, [x22]
	tst	x8, #0x7
	cset	w0, eq
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_StaticAssertStmt
	ldrsw	x8, [x22]
	cmp	w8, #8
	b.lo	LBB0_15
; %bb.9:
	lsr	x8, x8, #3
	cmp	x8, #1
	csinc	x8, x8, xzr, hi
	mov	x9, x19
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbnz	x10, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_10
	b	LBB0_15
LBB0_12:
	cbz	w23, LBB0_17
; %bb.13:
Lloh7:
	adrp	x8, _WARNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
	ldr	x2, [x19]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	bl	_pgstat_report_checksum_failure
	cbz	w24, LBB0_17
; %bb.14:
Lloh12:
	adrp	x8, _ignore_checksum_failure@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ignore_checksum_failure@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_17
LBB0_15:
	mov	w0, #1
LBB0_16:
	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_17:
	mov	w0, #0
	b	LBB0_16
LBB0_18:
	mov	w24, #0
	ldr	x21, [x19, #32]
	cmp	x8, x21
	b.gt	LBB0_8
; %bb.19:
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.gt	LBB0_8
; %bb.20:
	mov	x0, x21
	bl	_MAXALIGN
	cmp	x21, x0
	cset	w24, eq
	cset	w8, ne
	orr	w8, w23, w8
	cmp	w8, #1
	b.ne	LBB0_15
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PD_VALID_FLAG_BITS,4,2         ; @PD_VALID_FLAG_BITS
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BLCKSZ has to be a multiple of sizeof(size_t)"

	.comm	_WARNING,4,2                    ; @WARNING
	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ; @ERRCODE_DATA_CORRUPTED
l_.str.1:                               ; @.str.1
	.asciz	"page verification failed, calculated checksum %u but expected %u"

	.comm	_ignore_checksum_failure,8,3    ; @ignore_checksum_failure
.subsections_via_symbols
