	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_delitems_delete            ## -- Begin function _bt_delitems_delete
	.p2align	4, 0x90
__bt_delitems_delete:                   ## @_bt_delitems_delete
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movl	%esi, %r12d
	movl	%edi, %r13d
	movl	%esi, %edi
	callq	_BufferGetPage
	movl	%eax, %r14d
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setg	%dil
	callq	_Assert
	xorl	%eax, %eax
	callq	_XLogStandbyInfoActive
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	%r13d, %edi
	callq	_RelationNeedsWAL
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r13d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_index_compute_xid_horizon_for_tuples
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_3:
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_PageIndexMultiDelete
	movl	%r14d, %edi
	callq	_PageGetSpecialPointer
	movq	_BTP_HAS_GARBAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
	movl	%r12d, %edi
	callq	_MarkBufferDirty
	movl	%r13d, %edi
	callq	_RelationNeedsWAL
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -52(%rbp)
	movl	%ebx, -56(%rbp)
	xorl	%eax, %eax
	callq	_XLogBeginInsert
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_XLogRegisterBuffer
	movq	_SizeOfBtreeDelete@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	callq	_XLogRegisterData
	shll	$2, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_XLogRegisterData
	movq	_RM_BTREE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XLOG_BTREE_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogInsert
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_PageSetLSN
LBB0_5:
	xorl	%eax, %eax
	callq	_END_CRIT_SECTION
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_BTP_HAS_GARBAGE,4,2            ## @BTP_HAS_GARBAGE
	.comm	_REGBUF_STANDARD,4,2            ## @REGBUF_STANDARD
	.comm	_SizeOfBtreeDelete,4,2          ## @SizeOfBtreeDelete
	.comm	_RM_BTREE_ID,4,2                ## @RM_BTREE_ID
	.comm	_XLOG_BTREE_DELETE,4,2          ## @XLOG_BTREE_DELETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_delitems_delete            ; -- Begin function _bt_delitems_delete
	.p2align	2
__bt_delitems_delete:                   ; @_bt_delitems_delete
	.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	x25, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	bl	_BufferGetPage
	mov	x19, x0
Lloh0:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	cmp	w21, #0
	cset	w0, gt
	bl	_Assert
	bl	_XLogStandbyInfoActive
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_RelationNeedsWAL
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x23
	mov	x1, x25
	mov	x2, x22
	mov	x3, x20
	mov	x4, x21
	bl	_index_compute_xid_horizon_for_tuples
	mov	x24, x0
LBB0_3:
	bl	_START_CRIT_SECTION
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_PageIndexMultiDelete
	mov	x0, x19
	bl	_PageGetSpecialPointer
Lloh3:
	adrp	x8, _BTP_HAS_GARBAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTP_HAS_GARBAGE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	mov	x0, x22
	bl	_MarkBufferDirty
	mov	x0, x23
	bl	_RelationNeedsWAL
	cbz	x0, LBB0_5
; %bb.4:
	stp	w21, w24, [sp, #8]
	bl	_XLogBeginInsert
Lloh6:
	adrp	x8, _REGBUF_STANDARD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REGBUF_STANDARD@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w0, #0
	mov	x1, x22
	bl	_XLogRegisterBuffer
Lloh9:
	adrp	x8, _SizeOfBtreeDelete@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SizeOfBtreeDelete@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_XLogRegisterData
	lsl	w1, w21, #2
	mov	x0, x20
	bl	_XLogRegisterData
Lloh12:
	adrp	x8, _RM_BTREE_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RM_BTREE_ID@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _XLOG_BTREE_DELETE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _XLOG_BTREE_DELETE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_XLogInsert
	mov	x1, x0
	mov	x0, x19
	bl	_PageSetLSN
LBB0_5:
	bl	_END_CRIT_SECTION
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_BTP_HAS_GARBAGE,4,2            ; @BTP_HAS_GARBAGE
	.comm	_REGBUF_STANDARD,4,2            ; @REGBUF_STANDARD
	.comm	_SizeOfBtreeDelete,4,2          ; @SizeOfBtreeDelete
	.comm	_RM_BTREE_ID,4,2                ; @RM_BTREE_ID
	.comm	_XLOG_BTREE_DELETE,4,2          ; @XLOG_BTREE_DELETE
.subsections_via_symbols
