	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_checkpage                ## -- Begin function _hash_checkpage
	.p2align	4, 0x90
__hash_checkpage:                       ## @_hash_checkpage
	.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, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movl	%edi, %r14d
	movl	%esi, %edi
	callq	_BufferGetPage
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_PageIsNew
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r14d, %edi
	callq	_RelationGetRelationName
	movl	%r14d, %ebx
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_BufferGetBlockNumber
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %r14d
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	%r15d, %edi
	callq	_PageGetSpecialSize
	movq	%rax, %rbx
	movl	$4, %edi
	callq	_MAXALIGN
	cmpq	%rax, %rbx
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r14d, %edi
	callq	_RelationGetRelationName
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_BufferGetBlockNumber
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.5:
	movl	%r15d, %edi
	callq	_PageGetSpecialPointer
	cltq
	testl	%ebx, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r14d, %edi
	callq	_RelationGetRelationName
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_BufferGetBlockNumber
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_7:
	movq	_LH_META_PAGE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_11
## %bb.8:
	movl	%r15d, %edi
	callq	_HashPageGetMeta
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_HASH_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	%r14d, %r15d
	movl	(%rax), %r14d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r15d, %edi
	callq	_RelationGetRelationName
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%r15d, %r14d
	movl	%eax, %esi
	callq	_ereport
LBB0_10:
	movq	8(%rbx), %rax
	movq	_HASH_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r14d, %edi
	callq	_RelationGetRelationName
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INDEX_CORRUPTED,4,2    ## @ERRCODE_INDEX_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index \"%s\" contains unexpected zero page at block %u"

L_.str.1:                               ## @.str.1
	.asciz	"Please REINDEX it."

L_.str.2:                               ## @.str.2
	.asciz	"index \"%s\" contains corrupted page at block %u"

	.comm	_LH_META_PAGE,4,2               ## @LH_META_PAGE
	.comm	_HASH_MAGIC,8,3                 ## @HASH_MAGIC
L_.str.3:                               ## @.str.3
	.asciz	"index \"%s\" is not a hash index"

	.comm	_HASH_VERSION,8,3               ## @HASH_VERSION
L_.str.4:                               ## @.str.4
	.asciz	"index \"%s\" has wrong hash version"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_checkpage                ; -- Begin function _hash_checkpage
	.p2align	2
__hash_checkpage:                       ; @_hash_checkpage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_BufferGetPage
	mov	x21, x0
	bl	_PageIsNew
Lloh0:
	adrp	x25, _ERROR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ERROR@GOTPAGEOFF]
Lloh2:
	adrp	x26, _ERRCODE_INDEX_CORRUPTED@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ERRCODE_INDEX_CORRUPTED@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w23, [x25]
	ldr	w0, [x26]
	bl	_errcode
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x24, x0
	mov	x0, x22
	bl	_BufferGetBlockNumber
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	bl	_errmsg
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_2:
	mov	x0, x21
	bl	_PageGetSpecialSize
	mov	x23, x0
	mov	w0, #4
	bl	_MAXALIGN
	cmp	x23, x0
	b.eq	LBB0_4
; %bb.3:
	ldr	w23, [x25]
	ldr	w0, [x26]
	bl	_errcode
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x24, x0
	mov	x0, x22
	bl	_BufferGetBlockNumber
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x24
	bl	_errmsg
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_4:
	cbz	w20, LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_PageGetSpecialPointer
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_7
; %bb.6:
	ldr	w23, [x25]
	ldr	w0, [x26]
	bl	_errcode
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x24, x0
	mov	x0, x22
	bl	_BufferGetBlockNumber
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x24
	bl	_errmsg
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_7:
Lloh16:
	adrp	x8, _LH_META_PAGE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LH_META_PAGE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_11
; %bb.8:
	mov	x0, x21
	bl	_HashPageGetMeta
	mov	x20, x0
	ldr	x8, [x0]
Lloh19:
	adrp	x9, _HASH_MAGIC@GOTPAGE
Lloh20:
	ldr	x9, [x9, _HASH_MAGIC@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
	ldr	w21, [x25]
	ldr	w0, [x26]
	bl	_errcode
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x1, x0
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_10:
	ldr	x8, [x20, #8]
Lloh24:
	adrp	x9, _HASH_VERSION@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HASH_VERSION@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_11:
	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
	add	sp, sp, #96
	ret
LBB0_12:
	ldr	w20, [x25]
	ldr	w0, [x26]
	bl	_errcode
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x1, x0
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x20
	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
	add	sp, sp, #96
	b	_ereport
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INDEX_CORRUPTED,4,2    ; @ERRCODE_INDEX_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index \"%s\" contains unexpected zero page at block %u"

l_.str.1:                               ; @.str.1
	.asciz	"Please REINDEX it."

l_.str.2:                               ; @.str.2
	.asciz	"index \"%s\" contains corrupted page at block %u"

	.comm	_LH_META_PAGE,4,2               ; @LH_META_PAGE
	.comm	_HASH_MAGIC,8,3                 ; @HASH_MAGIC
l_.str.3:                               ; @.str.3
	.asciz	"index \"%s\" is not a hash index"

	.comm	_HASH_VERSION,8,3               ; @HASH_VERSION
l_.str.4:                               ; @.str.4
	.asciz	"index \"%s\" has wrong hash version"

.subsections_via_symbols
