	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_delitems_vacuum            ## -- Begin function _bt_delitems_vacuum
	.p2align	4, 0x90
__bt_delitems_vacuum:                   ## @_bt_delitems_vacuum
	.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, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movl	%esi, %ebx
	movl	%edi, %r15d
	movl	%esi, %edi
	callq	_BufferGetPage
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	testl	%r12d, %r12d
	jle	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_PageIndexMultiDelete
LBB0_2:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	callq	_PageGetSpecialPointer
	movq	$0, 8(%rax)
	movq	_BTP_HAS_GARBAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
	movl	%ebx, %edi
	callq	_MarkBufferDirty
	movl	%r15d, %edi
	callq	_RelationNeedsWAL
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -48(%rbp)
	xorl	%eax, %eax
	callq	_XLogBeginInsert
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_XLogRegisterBuffer
	movq	_SizeOfBtreeVacuum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_XLogRegisterData
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.4:
	shll	$2, %r12d
	xorl	%edi, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_XLogRegisterBufData
LBB0_5:
	movq	_RM_BTREE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XLOG_BTREE_VACUUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogInsert
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_PageSetLSN
LBB0_6:
	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	_BTP_HAS_GARBAGE,4,2            ## @BTP_HAS_GARBAGE
	.comm	_REGBUF_STANDARD,4,2            ## @REGBUF_STANDARD
	.comm	_SizeOfBtreeVacuum,4,2          ## @SizeOfBtreeVacuum
	.comm	_RM_BTREE_ID,4,2                ## @RM_BTREE_ID
	.comm	_XLOG_BTREE_VACUUM,4,2          ## @XLOG_BTREE_VACUUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_delitems_vacuum            ; -- Begin function _bt_delitems_vacuum
	.p2align	2
__bt_delitems_vacuum:                   ; @_bt_delitems_vacuum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x24, x0
	mov	x0, x1
	bl	_BufferGetPage
	mov	x19, x0
	bl	_START_CRIT_SECTION
	cmp	w21, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_PageIndexMultiDelete
LBB0_2:
	mov	x0, x19
	bl	_PageGetSpecialPointer
	str	xzr, [x0, #8]
Lloh0:
	adrp	x8, _BTP_HAS_GARBAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTP_HAS_GARBAGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	mov	x0, x22
	bl	_MarkBufferDirty
	mov	x0, x24
	bl	_RelationNeedsWAL
	cbz	x0, LBB0_6
; %bb.3:
	str	w23, [sp, #8]
	bl	_XLogBeginInsert
Lloh3:
	adrp	x8, _REGBUF_STANDARD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REGBUF_STANDARD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w0, #0
	mov	x1, x22
	bl	_XLogRegisterBuffer
Lloh6:
	adrp	x8, _SizeOfBtreeVacuum@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SizeOfBtreeVacuum@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_XLogRegisterData
	cmp	w21, #1
	b.lt	LBB0_5
; %bb.4:
	lsl	w2, w21, #2
	mov	w0, #0
	mov	x1, x20
	bl	_XLogRegisterBufData
LBB0_5:
Lloh9:
	adrp	x8, _RM_BTREE_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RM_BTREE_ID@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _XLOG_BTREE_VACUUM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XLOG_BTREE_VACUUM@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_XLogInsert
	mov	x1, x0
	mov	x0, x19
	bl	_PageSetLSN
LBB0_6:
	bl	_END_CRIT_SECTION
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BTP_HAS_GARBAGE,4,2            ; @BTP_HAS_GARBAGE
	.comm	_REGBUF_STANDARD,4,2            ; @REGBUF_STANDARD
	.comm	_SizeOfBtreeVacuum,4,2          ; @SizeOfBtreeVacuum
	.comm	_RM_BTREE_ID,4,2                ; @RM_BTREE_ID
	.comm	_XLOG_BTREE_VACUUM,4,2          ; @XLOG_BTREE_VACUUM
.subsections_via_symbols
