	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bt_check_level_from_leftmost
_bt_check_level_from_leftmost:          ## @bt_check_level_from_leftmost
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	_P_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	16(%rbp), %rbx
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rdi)
	movq	_InvalidBtreeLevel@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rdi)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	$0, 16(%rdi)
	movl	(%rsi), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_DEBUG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%rbp), %rdx
	movl	32(%rbp), %ecx
	testq	%rdx, %rdx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rsi, %rcx
	leaq	L_.str(%rip), %rsi
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	callq	_elog
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r15), %edi
	callq	_RelationGetRelationName
	leaq	L_.str.13(%rip), %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_P_INCOMPLETE_SPLIT
	movl	%eax, 4(%r15)
	movq	8(%r14), %rbx
	movl	(%r15), %edi
	callq	_MemoryContextReset
	movq	%r13, %r12
	movq	_P_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_30
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r13
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	movq	%rbx, 32(%r15)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_palloc_btree_page
	movl	%eax, 24(%r15)
	movl	%eax, %edi
	callq	_PageGetLSN
	movl	%eax, 40(%r15)
	movl	24(%r15), %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_P_IGNORE
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%r15)
	movq	%r12, %rbx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_P_ISDELETED
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r15), %edi
	callq	_RelationGetRelationName
	movslq	%eax, %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movq	(%r14), %rcx
	leaq	L_.str.5(%rip), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_errdetail_internal
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_P_RIGHTMOST
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r15), %edi
	callq	_RelationGetRelationName
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	movq	%r12, %rbx
	jne	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%r15)
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_P_LEFTMOST
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_14
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_DEBUG1@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_NO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r15), %edi
	callq	_RelationGetRelationName
	leaq	L_.str.7(%rip), %rdi
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	cmpq	%rbx, %r13
	je	LBB0_28
	jmp	LBB0_27
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r15), %edi
	callq	_RelationGetRelationName
	leaq	L_.str.8(%rip), %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_P_ISROOT
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r15), %edi
	callq	_RelationGetRelationName
	leaq	L_.str.9(%rip), %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_P_ISLEAF
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_P_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rcx)
	movq	_InvalidBtreeLevel@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%r15), %r12
	movl	24(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_P_FIRSTDATAKEY
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	callq	_PageGetItemIdCareful
	movl	24(%r15), %edi
	movl	%eax, %esi
	callq	_PageGetItem
	movq	%rax, %rdi
	callq	_BTreeInnerTupleGetDownLink
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rcx)
	movq	16(%r14), %rax
	decq	%rax
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, 8(%rcx)
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%r15)
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rbx, (%r14)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r15), %edi
	callq	_RelationGetRelationName
	movslq	%eax, %rsi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movq	(%r14), %rcx
	leaq	L_.str.5(%rip), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_errdetail_internal
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	16(%r14), %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r15), %edi
	callq	_RelationGetRelationName
	movslq	%eax, %rsi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movq	16(%r14), %rcx
	leaq	L_.str.12(%rip), %rdi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_errdetail_internal
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_bt_target_page_check
	cmpq	%rbx, %r13
	je	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	(%r14), %r13
	je	LBB0_28
	jmp	LBB0_29
LBB0_30:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_NONE,8,3                     ## @P_NONE
	.comm	_InvalidBlockNumber,8,3         ## @InvalidBlockNumber
	.comm	_InvalidBtreeLevel,8,3          ## @InvalidBtreeLevel
	.comm	_DEBUG2,4,2                     ## @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"verifying level %u%s"

L_.str.1:                               ## @.str.1
	.asciz	" (true root level)"

L_.str.2:                               ## @.str.2
	.asciz	" (leaf level)"

L_.str.3:                               ## @.str.3
	.space	1

	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INDEX_CORRUPTED,4,2    ## @ERRCODE_INDEX_CORRUPTED
L_.str.4:                               ## @.str.4
	.asciz	"downlink or sibling link points to deleted block in index \"%s\""

L_.str.5:                               ## @.str.5
	.asciz	"Block=%u left block=%u left link from block=%u."

L_.str.6:                               ## @.str.6
	.asciz	"block %u fell off the end of index \"%s\""

	.comm	_DEBUG1,4,2                     ## @DEBUG1
	.comm	_ERRCODE_NO_DATA,4,2            ## @ERRCODE_NO_DATA
L_.str.7:                               ## @.str.7
	.asciz	"block %u of index \"%s\" ignored"

L_.str.8:                               ## @.str.8
	.asciz	"block %u is not leftmost in index \"%s\""

L_.str.9:                               ## @.str.9
	.asciz	"block %u is not true root in index \"%s\""

L_.str.10:                              ## @.str.10
	.asciz	"left link/right link pair in index \"%s\" not in agreement"

L_.str.11:                              ## @.str.11
	.asciz	"leftmost down link for level points to block in index \"%s\" whose level is not one level down"

L_.str.12:                              ## @.str.12
	.asciz	"Block pointed to=%u expected level=%u level in pointed to block=%u."

L_.str.13:                              ## @.str.13
	.asciz	"circular link chain found in block %u of index \"%s\""

	.no_dead_strip	_bt_check_level_from_leftmost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bt_check_level_from_leftmost
_bt_check_level_from_leftmost:          ; @bt_check_level_from_leftmost
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _P_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _P_NONE@GOTPAGEOFF]
	ldr	x26, [x22]
	ldr	x23, [x1]
Lloh2:
	adrp	x9, _InvalidBlockNumber@GOTPAGE
Lloh3:
	ldr	x9, [x9, _InvalidBlockNumber@GOTPAGEOFF]
Lloh4:
	adrp	x10, _InvalidBtreeLevel@GOTPAGE
Lloh5:
	ldr	x10, [x10, _InvalidBtreeLevel@GOTPAGEOFF]
Lloh6:
	ldr	x27, [x9]
Lloh7:
	ldr	x9, [x10]
	stp	x27, x9, [x8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	str	wzr, [x8, #16]
	ldr	w0, [x0]
	bl	_MemoryContextSwitchTo
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
Lloh8:
	adrp	x8, _DEBUG2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DEBUG2@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x2, [x19, #8]
	ldr	w8, [x19, #16]
Lloh11:
	adrp	x9, l_.str.3@PAGE
Lloh12:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh13:
	adrp	x10, l_.str.2@PAGE
Lloh14:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x2, #0
	csel	x9, x10, x9, eq
Lloh15:
	adrp	x10, l_.str.1@PAGE
Lloh16:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #0
	csel	x3, x9, x10, eq
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
Lloh19:
	adrp	x24, _ERROR@GOTPAGE
Lloh20:
	ldr	x24, [x24, _ERROR@GOTPAGEOFF]
Lloh21:
	adrp	x21, _ERRCODE_INDEX_CORRUPTED@GOTPAGE
Lloh22:
	ldr	x21, [x21, _ERRCODE_INDEX_CORRUPTED@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w26, [x24]
	ldr	w0, [x21]
	bl	_errcode
	ldr	w0, [x20, #8]
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh23:
	adrp	x0, l_.str.13@PAGE
Lloh24:
	add	x0, x0, l_.str.13@PAGEOFF
	mov	x1, x25
	bl	_errmsg
	mov	x1, x0
	mov	x0, x26
	bl	_ereport
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_P_INCOMPLETE_SPLIT
	str	w0, [x20, #4]
	ldr	x23, [x23, #8]
	ldr	w0, [x20]
	bl	_MemoryContextReset
	ldr	x8, [x22]
	mov	x26, x25
	cmp	x23, x8
	b.eq	LBB0_29
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x23
	bl	_CHECK_FOR_INTERRUPTS
	str	x23, [x20, #32]
	mov	x0, x20
	mov	x1, x23
	bl	_palloc_btree_page
	str	w0, [x20, #24]
	bl	_PageGetLSN
	str	w0, [x20, #40]
	ldr	w0, [x20, #24]
	bl	_PageGetSpecialPointer
	mov	x23, x0
	bl	_P_IGNORE
	cbz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_P_ISDELETED
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w28, [x24]
	ldr	w0, [x21]
	bl	_errcode
	ldr	w0, [x20, #8]
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	ldr	x3, [x23]
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x25
	mov	x2, x26
	bl	_errdetail_internal
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_P_RIGHTMOST
	cbz	x0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w28, [x24]
	ldr	w0, [x21]
	bl	_errcode
	ldr	w0, [x20, #8]
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh29:
	adrp	x0, l_.str.6@PAGE
Lloh30:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh31:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh32:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x27, x8
	b.ne	LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_P_LEFTMOST
	cbz	w0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_16
	b	LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh34:
	adrp	x8, _DEBUG1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DEBUG1@GOTPAGEOFF]
Lloh36:
	ldr	w28, [x8]
Lloh37:
	adrp	x8, _ERRCODE_NO_DATA@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ERRCODE_NO_DATA@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [x20, #8]
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh40:
	adrp	x0, l_.str.7@PAGE
Lloh41:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x25
	bl	_errmsg
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
	cmp	x25, x26
	b.eq	LBB0_1
	b	LBB0_28
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w27, [x24]
	ldr	w0, [x21]
	bl	_errcode
	ldr	w0, [x20, #8]
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh42:
	adrp	x0, l_.str.8@PAGE
Lloh43:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x25
	bl	_errmsg
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_P_ISROOT
	cbnz	w0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w27, [x24]
	ldr	w0, [x21]
	bl	_errcode
	ldr	w0, [x20, #8]
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh44:
	adrp	x0, l_.str.9@PAGE
Lloh45:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x25
	bl	_errmsg
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_P_ISLEAF
	cbz	w0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x27, [x22]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x27, [x9]
Lloh46:
	adrp	x8, _InvalidBtreeLevel@GOTPAGE
Lloh47:
	ldr	x8, [x8, _InvalidBtreeLevel@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x27, [x20, #32]
	ldr	w28, [x20, #24]
	mov	x0, x23
	bl	_P_FIRSTDATAKEY
	mov	x3, x0
	mov	x0, x20
	mov	x1, x27
	mov	x2, x28
	bl	_PageGetItemIdCareful
	mov	x1, x0
	ldr	w0, [x20, #24]
	bl	_PageGetItem
	bl	_BTreeInnerTupleGetDownLink
	mov	x27, x0
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x0, [x9]
	ldr	x8, [x23, #16]
	sub	x8, x8, #1
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x8, [x9, #8]
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	cmp	x8, x26
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w28, [x24]
	ldr	w0, [x21]
	bl	_errcode
	ldr	w0, [x20, #8]
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh49:
	adrp	x0, l_.str.10@PAGE
Lloh50:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_errmsg
	ldr	x3, [x23]
Lloh51:
	adrp	x0, l_.str.5@PAGE
Lloh52:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x25
	mov	x2, x26
	bl	_errdetail_internal
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x23, #16]
	cmp	x8, x9
	b.eq	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w28, [x24]
	ldr	w0, [x21]
	bl	_errcode
	ldr	w0, [x20, #8]
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh53:
	adrp	x0, l_.str.11@PAGE
Lloh54:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_errmsg
	ldr	x2, [x19, #8]
	ldr	x3, [x23, #16]
Lloh55:
	adrp	x0, l_.str.12@PAGE
Lloh56:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	x1, x25
	bl	_errdetail_internal
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_bt_target_page_check
	cmp	x25, x26
	b.eq	LBB0_1
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	cmp	x25, x8
	b.eq	LBB0_1
	b	LBB0_2
LBB0_29:
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_MemoryContextSwitchTo
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_P_NONE,8,3                     ; @P_NONE
	.comm	_InvalidBlockNumber,8,3         ; @InvalidBlockNumber
	.comm	_InvalidBtreeLevel,8,3          ; @InvalidBtreeLevel
	.comm	_DEBUG2,4,2                     ; @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"verifying level %u%s"

l_.str.1:                               ; @.str.1
	.asciz	" (true root level)"

l_.str.2:                               ; @.str.2
	.asciz	" (leaf level)"

l_.str.3:                               ; @.str.3
	.space	1

	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INDEX_CORRUPTED,4,2    ; @ERRCODE_INDEX_CORRUPTED
l_.str.4:                               ; @.str.4
	.asciz	"downlink or sibling link points to deleted block in index \"%s\""

l_.str.5:                               ; @.str.5
	.asciz	"Block=%u left block=%u left link from block=%u."

l_.str.6:                               ; @.str.6
	.asciz	"block %u fell off the end of index \"%s\""

	.comm	_DEBUG1,4,2                     ; @DEBUG1
	.comm	_ERRCODE_NO_DATA,4,2            ; @ERRCODE_NO_DATA
l_.str.7:                               ; @.str.7
	.asciz	"block %u of index \"%s\" ignored"

l_.str.8:                               ; @.str.8
	.asciz	"block %u is not leftmost in index \"%s\""

l_.str.9:                               ; @.str.9
	.asciz	"block %u is not true root in index \"%s\""

l_.str.10:                              ; @.str.10
	.asciz	"left link/right link pair in index \"%s\" not in agreement"

l_.str.11:                              ; @.str.11
	.asciz	"leftmost down link for level points to block in index \"%s\" whose level is not one level down"

l_.str.12:                              ; @.str.12
	.asciz	"Block pointed to=%u expected level=%u level in pointed to block=%u."

l_.str.13:                              ; @.str.13
	.asciz	"circular link chain found in block %u of index \"%s\""

	.no_dead_strip	_bt_check_level_from_leftmost
.subsections_via_symbols
