	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PageGetItemIdCareful
_PageGetItemIdCareful:                  ## @PageGetItemIdCareful
	.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	%ecx, %r15d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movl	%edx, %edi
	movl	%ecx, %esi
	callq	_PageGetItemId
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ItemIdGetOffset
	movslq	%eax, %rbx
	movl	%r14d, %edi
	callq	_ItemIdGetLength
	addq	%rbx, %rax
	movl	%r15d, %ebx
	movq	_BLCKSZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	$-4, %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r12), %edi
	callq	_RelationGetRelationName
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r14d, %edi
	callq	_ItemIdGetOffset
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	_ItemIdGetLength
	movq	%rax, %r13
	movl	%r14d, %edi
	callq	_ItemIdGetFlags
	leaq	L_.str.1(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movq	%r13, %r8
	movl	%eax, %r9d
	callq	_errdetail_internal
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	%r14d, %edi
	callq	_ItemIdIsRedirected
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_INDEX_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r12), %edi
	callq	_RelationGetRelationName
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r14d, %edi
	callq	_ItemIdGetOffset
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	_ItemIdGetLength
	movq	%rax, %r12
	movl	%r14d, %edi
	callq	_ItemIdGetFlags
	leaq	L_.str.1(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movq	%r12, %r8
	movl	%eax, %r9d
	callq	_errdetail_internal
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%r14d, %edi
	callq	_ItemIdIsUsed
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%r14d, %edi
	callq	_ItemIdGetLength
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INDEX_CORRUPTED,4,2    ## @ERRCODE_INDEX_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"line pointer points past end of tuple space in index \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"Index tid=(%u,%u) lp_off=%u, lp_len=%u lp_flags=%u."

L_.str.2:                               ## @.str.2
	.asciz	"invalid line pointer storage in index \"%s\""

	.no_dead_strip	_PageGetItemIdCareful
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PageGetItemIdCareful
_PageGetItemIdCareful:                  ; @PageGetItemIdCareful
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	mov	x1, x3
	bl	_PageGetItemId
	mov	x19, x0
	bl	_ItemIdGetOffset
	mov	x23, x0
	mov	x0, x19
	bl	_ItemIdGetLength
	add	x8, x0, w23, sxtw
Lloh0:
	adrp	x9, _BLCKSZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BLCKSZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	sub	x9, x9, #4
Lloh3:
	adrp	x26, _ERROR@GOTPAGE
Lloh4:
	ldr	x26, [x26, _ERROR@GOTPAGEOFF]
Lloh5:
	adrp	x27, _ERRCODE_INDEX_CORRUPTED@GOTPAGE
Lloh6:
	ldr	x27, [x27, _ERRCODE_INDEX_CORRUPTED@GOTPAGEOFF]
	cmp	x8, x9
	b.ls	LBB0_2
; %bb.1:
	ldr	w23, [x26]
	ldr	w0, [x27]
	bl	_errcode
	ldr	w0, [x22]
	bl	_RelationGetRelationName
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x0, x19
	bl	_ItemIdGetOffset
	mov	x24, x0
	mov	x0, x19
	bl	_ItemIdGetLength
	mov	x25, x0
	mov	x0, x19
	bl	_ItemIdGetFlags
	mov	x5, x0
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x24
	mov	x4, x25
	bl	_errdetail_internal
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_2:
	mov	x0, x19
	bl	_ItemIdIsRedirected
	cbz	x0, LBB0_5
LBB0_3:
	ldr	w23, [x26]
	ldr	w0, [x27]
	bl	_errcode
	ldr	w0, [x22]
	bl	_RelationGetRelationName
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x0, x19
	bl	_ItemIdGetOffset
	mov	x22, x0
	mov	x0, x19
	bl	_ItemIdGetLength
	mov	x24, x0
	mov	x0, x19
	bl	_ItemIdGetFlags
	mov	x5, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	mov	x4, x24
	bl	_errdetail_internal
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_4:
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_ItemIdIsUsed
	cbz	w0, LBB0_3
; %bb.6:
	mov	x0, x19
	bl	_ItemIdGetLength
	cbnz	x0, LBB0_4
	b	LBB0_3
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INDEX_CORRUPTED,4,2    ; @ERRCODE_INDEX_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"line pointer points past end of tuple space in index \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"Index tid=(%u,%u) lp_off=%u, lp_len=%u lp_flags=%u."

l_.str.2:                               ; @.str.2
	.asciz	"invalid line pointer storage in index \"%s\""

	.no_dead_strip	_PageGetItemIdCareful
.subsections_via_symbols
