	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bt_getmeta
__bt_getmeta:                           ## @_bt_getmeta
	.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	%edi, %r14d
	movl	%esi, %edi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_BTPageGetMeta
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_P_ISMETA
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_BTREE_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r14d, %edi
	callq	_RelationGetRelationName
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movq	8(%rbx), %rax
	movq	_BTREE_MIN_VERSION@GOTPCREL(%rip), %r12
	movq	_BTREE_VERSION@GOTPCREL(%rip), %r13
	cmpq	(%r12), %rax
	jl	LBB0_5
## %bb.4:
	cmpq	(%r13), %rax
	jle	LBB0_6
LBB0_5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r14d, %edi
	callq	_RelationGetRelationName
	movq	8(%rbx), %rdx
	movq	(%r13), %rcx
	movq	(%r12), %r8
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTREE_MAGIC,8,3                ## @BTREE_MAGIC
	.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\" is not a btree"

	.comm	_BTREE_MIN_VERSION,8,3          ## @BTREE_MIN_VERSION
	.comm	_BTREE_VERSION,8,3              ## @BTREE_VERSION
L_.str.1:                               ## @.str.1
	.asciz	"version mismatch in index \"%s\": file version %d, current version %d, minimal supported version %d"

	.no_dead_strip	__bt_getmeta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bt_getmeta
__bt_getmeta:                           ; @_bt_getmeta
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x0
	mov	x0, x1
	bl	_BufferGetPage
	mov	x19, x0
	bl	_PageGetSpecialPointer
	mov	x21, x0
	mov	x0, x19
	bl	_BTPageGetMeta
	mov	x19, x0
	mov	x0, x21
	bl	_P_ISMETA
Lloh0:
	adrp	x22, _ERROR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ERROR@GOTPAGEOFF]
Lloh2:
	adrp	x23, _ERRCODE_INDEX_CORRUPTED@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ERRCODE_INDEX_CORRUPTED@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _BTREE_MAGIC@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BTREE_MAGIC@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_2:
	ldr	w21, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x20
	bl	_RelationGetRelationName
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_3:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x24, _BTREE_MIN_VERSION@GOTPAGE
Lloh10:
	ldr	x24, [x24, _BTREE_MIN_VERSION@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh11:
	adrp	x25, _BTREE_VERSION@GOTPAGE
Lloh12:
	ldr	x25, [x25, _BTREE_VERSION@GOTPAGEOFF]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.le	LBB0_5
; %bb.4:
	ldr	w21, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x20
	bl	_RelationGetRelationName
	mov	x1, x0
	ldr	x8, [x19, #8]
	ldr	x9, [x25]
	ldr	x10, [x24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_5:
	mov	x0, x19
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BTREE_MAGIC,8,3                ; @BTREE_MAGIC
	.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\" is not a btree"

	.comm	_BTREE_MIN_VERSION,8,3          ; @BTREE_MIN_VERSION
	.comm	_BTREE_VERSION,8,3              ; @BTREE_VERSION
l_.str.1:                               ; @.str.1
	.asciz	"version mismatch in index \"%s\": file version %d, current version %d, minimal supported version %d"

	.no_dead_strip	__bt_getmeta
.subsections_via_symbols
