	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blvacuumcleanup                ## -- Begin function blvacuumcleanup
	.p2align	4, 0x90
_blvacuumcleanup:                       ## @blvacuumcleanup
	.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
	movq	%rsi, %rbx
	cmpq	$0, 8(%rdi)
	jne	LBB0_11
## %bb.1:
	movq	%rdi, %r15
	movl	(%rdi), %r13d
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:
	movl	$24, %edi
	callq	_palloc0
	movq	%rax, %rbx
LBB0_3:
	movl	%r13d, %edi
	callq	_RelationGetNumberOfBlocks
	movq	%rax, 16(%rbx)
	xorps	%xmm0, %xmm0
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movups	%xmm0, (%rbx)
	movq	_BLOOM_HEAD_BLKNO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rbx
	jge	LBB0_10
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_RecordFreeIndexPage
	movl	$1, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	%rax, (%rcx)
	movl	%r14d, %edi
	callq	_UnlockReleaseBuffer
	incq	%rbx
	cmpq	%rbx, -64(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_vacuum_delay_point
	movq	_MAIN_FORKNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	4(%r15), %r8d
	movl	%r13d, %edi
	movq	%rbx, %rdx
	callq	_ReadBufferExtended
	movl	%eax, %r14d
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_LockBuffer
	movl	%r14d, %edi
	callq	_BufferGetPage
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PageIsNew
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_BloomPageIsDeleted
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_BloomPageGetMaxOffset
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_10:
	movl	(%r15), %edi
	callq	_IndexFreeSpaceMapVacuum
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOOM_HEAD_BLKNO,8,3           ## @BLOOM_HEAD_BLKNO
	.comm	_MAIN_FORKNUM,4,2               ## @MAIN_FORKNUM
	.comm	_RBM_NORMAL,4,2                 ## @RBM_NORMAL
	.comm	_BUFFER_LOCK_SHARE,4,2          ## @BUFFER_LOCK_SHARE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blvacuumcleanup                ; -- Begin function blvacuumcleanup
	.p2align	2
_blvacuumcleanup:                       ; @blvacuumcleanup
	.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	x19, x1
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	w21, [x0]
	cbnz	x19, LBB0_3
; %bb.2:
	mov	w0, #24
	bl	_palloc0
	mov	x19, x0
LBB0_3:
	mov	x0, x21
	bl	_RelationGetNumberOfBlocks
	mov	x26, x19
	str	xzr, [x26, #8]!
	str	x0, [x19, #16]
	str	xzr, [x19]
Lloh0:
	adrp	x8, _BLOOM_HEAD_BLKNO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLOOM_HEAD_BLKNO@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	cmp	x23, x0
	b.ge	LBB0_10
; %bb.4:
	mov	x22, x0
Lloh3:
	adrp	x28, _RBM_NORMAL@GOTPAGE
Lloh4:
	ldr	x28, [x28, _RBM_NORMAL@GOTPAGEOFF]
Lloh5:
	adrp	x27, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh6:
	ldr	x27, [x27, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_RecordFreeIndexPage
	mov	x8, x26
	mov	w0, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x8]
	add	x9, x9, x0
	str	x9, [x8]
	mov	x0, x24
	bl	_UnlockReleaseBuffer
	add	x23, x23, #1
	cmp	x22, x23
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	bl	_vacuum_delay_point
Lloh7:
	adrp	x8, _MAIN_FORKNUM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAIN_FORKNUM@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w3, [x28]
	ldr	w4, [x20, #4]
	mov	x0, x21
	mov	x2, x23
	bl	_ReadBufferExtended
	mov	x24, x0
	ldr	w1, [x27]
	bl	_LockBuffer
	mov	x0, x24
	bl	_BufferGetPage
	mov	x25, x0
	bl	_PageIsNew
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	bl	_BloomPageIsDeleted
	cbnz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	bl	_BloomPageGetMaxOffset
	mov	x8, x19
	b	LBB0_6
LBB0_10:
	ldr	w0, [x20]
	bl	_IndexFreeSpaceMapVacuum
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOOM_HEAD_BLKNO,8,3           ; @BLOOM_HEAD_BLKNO
	.comm	_MAIN_FORKNUM,4,2               ; @MAIN_FORKNUM
	.comm	_RBM_NORMAL,4,2                 ; @RBM_NORMAL
	.comm	_BUFFER_LOCK_SHARE,4,2          ; @BUFFER_LOCK_SHARE
.subsections_via_symbols
