	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PageIndexTupleDeleteNoCompact  ## -- Begin function PageIndexTupleDeleteNoCompact
	.p2align	4, 0x90
_PageIndexTupleDeleteNoCompact:         ## @PageIndexTupleDeleteNoCompact
	.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, %ebx
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_SizeOfPageHeaderData@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_5
## %bb.1:
	movq	8(%r15), %rcx
	cmpq	%rcx, %rax
	jg	LBB0_5
## %bb.2:
	movq	16(%r15), %r14
	cmpq	%r14, %rcx
	jg	LBB0_5
## %bb.3:
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jg	LBB0_5
## %bb.4:
	movl	%r14d, %edi
	callq	_MAXALIGN
	movl	%eax, %eax
	cmpq	%rax, %r14
	je	LBB0_6
LBB0_5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r15), %esi
	movl	8(%r15), %edx
	movq	16(%r15), %rcx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movq	%r15, %rdi
	callq	_PageGetMaxOffsetNumber
	movl	%eax, %r14d
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.7:
	cmpl	%ebx, %r14d
	jge	LBB0_9
LBB0_8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_elog
LBB0_9:
	movq	%r15, %rdi
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_PageGetItemId
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ItemIdHasStorage
	movq	%rax, %rdi
	callq	_Assert
	movq	%rbx, %rdi
	callq	_ItemIdGetLength
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_ItemIdGetOffset
	movl	%eax, %r12d
	cmpq	%r12, 8(%r15)
	jg	LBB0_12
## %bb.10:
	movl	%r13d, %eax
	addl	%r12d, %eax
	cmpq	%rax, 16(%r15)
	jl	LBB0_12
## %bb.11:
	movl	%r12d, %edi
	callq	_MAXALIGN
	cmpl	%eax, %r12d
	je	LBB0_13
LBB0_12:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_DATA_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_13:
	movl	%r13d, %edi
	callq	_MAXALIGN
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	jle	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_ItemIdSetUnused
	jmp	LBB0_16
LBB0_15:
	addq	$-4, (%r15)
	decl	%r14d
LBB0_16:
	movq	8(%r15), %rax
	cmpq	%r12, %rax
	jge	LBB0_17
## %bb.18:
	leaq	(%r15,%rax), %rsi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	leaq	(%rsi,%rbx), %rdi
	movl	%r12d, %edx
	subl	%eax, %edx
	callq	_memmove
	movq	8(%r15), %rax
	jmp	LBB0_19
LBB0_17:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_19:
	addq	%rax, %rbx
	movq	%rbx, 8(%r15)
	movq	%r15, %rdi
	callq	_PageIsEmpty
	testl	%eax, %eax
	jne	LBB0_26
## %bb.20:
	testl	%r14d, %r14d
	jle	LBB0_26
## %bb.21:
	negl	%r14d
	movl	$1, %ebx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	leal	(%r14,%rbx), %eax
	incl	%eax
	movl	%ebx, %ecx
	incl	%ecx
	movl	%ecx, %ebx
	cmpl	$1, %eax
	je	LBB0_26
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_PageGetItemId
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_ItemIdHasStorage
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	callq	_ItemIdGetOffset
	cmpl	%r12d, %eax
	ja	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, (%r13)
	jmp	LBB0_25
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SizeOfPageHeaderData,8,3       ## @SizeOfPageHeaderData
	.comm	_BLCKSZ,8,3                     ## @BLCKSZ
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ## @ERRCODE_DATA_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"corrupted page pointers: lower = %u, upper = %u, special = %u"

L_.str.1:                               ## @.str.1
	.asciz	"invalid index offnum: %u"

L_.str.2:                               ## @.str.2
	.asciz	"corrupted line pointer: offset = %u, size = %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PageIndexTupleDeleteNoCompact  ; -- Begin function PageIndexTupleDeleteNoCompact
	.p2align	2
_PageIndexTupleDeleteNoCompact:         ; @PageIndexTupleDeleteNoCompact
	.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	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SizeOfPageHeaderData@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SizeOfPageHeaderData@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x25, _ERROR@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ERROR@GOTPAGEOFF]
Lloh5:
	adrp	x26, _ERRCODE_DATA_CORRUPTED@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ERRCODE_DATA_CORRUPTED@GOTPAGEOFF]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.1:
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.2:
	ldr	x20, [x19, #16]
Lloh7:
	adrp	x8, _BLCKSZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BLCKSZ@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x9, x20
	ccmp	x20, x8, #0, le
	b.gt	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_MAXALIGN
	cmp	x20, w0, uxtw
	b.eq	LBB0_5
LBB0_4:
	ldr	w20, [x25]
	ldr	w0, [x26]
	bl	_errcode
	ldr	w1, [x19]
	ldr	w2, [x19, #8]
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_5:
	mov	x0, x19
	bl	_PageGetMaxOffsetNumber
	mov	x20, x0
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.6:
	cmp	w20, w21
	b.ge	LBB0_8
LBB0_7:
	ldr	w0, [x25]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	bl	_PageGetItemId
	mov	x24, x0
	bl	_ItemIdHasStorage
	bl	_Assert
	mov	x0, x24
	bl	_ItemIdGetLength
	mov	x23, x0
	mov	x0, x24
	bl	_ItemIdGetOffset
	mov	w22, w0
	ldr	x8, [x19, #8]
	cmp	x8, x22
	b.gt	LBB0_11
; %bb.9:
	ldr	x8, [x19, #16]
	add	w9, w22, w23
	cmp	x8, x9
	b.lt	LBB0_11
; %bb.10:
	mov	x0, x22
	bl	_MAXALIGN
	cmp	w22, w0
	b.eq	LBB0_12
LBB0_11:
	ldr	w25, [x25]
	ldr	w0, [x26]
	bl	_errcode
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_12:
	mov	x0, x23
	bl	_MAXALIGN
	mov	x23, x0
	cmp	w20, w21
	b.le	LBB0_14
; %bb.13:
	mov	x0, x24
	bl	_ItemIdSetUnused
	b	LBB0_15
LBB0_14:
	ldr	x8, [x19]
	sub	x8, x8, #4
	str	x8, [x19]
	sub	w20, w20, #1
LBB0_15:
	ldr	x8, [x19, #8]
	cmp	x8, x22
	b.ge	LBB0_17
; %bb.16:
	mov	w21, w23
	add	x1, x19, x8
	add	x0, x1, x21
	sub	w2, w22, w8
	bl	_memmove
	ldr	x8, [x19, #8]
	b	LBB0_18
LBB0_17:
	mov	w21, w23
LBB0_18:
	add	x8, x8, x21
	str	x8, [x19, #8]
	mov	x0, x19
	bl	_PageIsEmpty
	cbnz	w0, LBB0_25
; %bb.19:
	cmp	w20, #1
	b.lt	LBB0_25
; %bb.20:
	mov	w21, #0
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	cmp	w20, w21
	b.eq	LBB0_25
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	add	w21, w21, #1
	mov	x0, x19
	mov	x1, x21
	bl	_PageGetItemId
	mov	x24, x0
	bl	_ItemIdHasStorage
	cbz	x0, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x24
	bl	_ItemIdGetOffset
	cmp	w0, w22
	b.hi	LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x24]
	add	w8, w8, w23
	str	w8, [x24]
	b	LBB0_21
LBB0_25:
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SizeOfPageHeaderData,8,3       ; @SizeOfPageHeaderData
	.comm	_BLCKSZ,8,3                     ; @BLCKSZ
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DATA_CORRUPTED,4,2     ; @ERRCODE_DATA_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"corrupted page pointers: lower = %u, upper = %u, special = %u"

l_.str.1:                               ; @.str.1
	.asciz	"invalid index offnum: %u"

l_.str.2:                               ; @.str.2
	.asciz	"corrupted line pointer: offset = %u, size = %u"

.subsections_via_symbols
