	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ginVacuumPostingTree
_ginVacuumPostingTree:                  ## @ginVacuumPostingTree
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_ginVacuumPostingTreeLeaves
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %r8d
	movl	4(%rbx), %edi
	movq	_MAIN_FORKNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edx
	callq	_ReadBufferExtended
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_LockBufferForCleanup
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$1, -56(%rbp)
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_ginScanToDelete
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rbx
	callq	_pfree
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_3:
	movl	%r14d, %edi
	callq	_UnlockReleaseBuffer
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAIN_FORKNUM,4,2               ## @MAIN_FORKNUM
	.comm	_RBM_NORMAL,4,2                 ## @RBM_NORMAL
	.comm	_InvalidBlockNumber,4,2         ## @InvalidBlockNumber
	.comm	_InvalidOffsetNumber,4,2        ## @InvalidOffsetNumber
	.no_dead_strip	_ginVacuumPostingTree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ginVacuumPostingTree
_ginVacuumPostingTree:                  ; @ginVacuumPostingTree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
	bl	_ginVacuumPostingTreeLeaves
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _MAIN_FORKNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAIN_FORKNUM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RBM_NORMAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldp	w4, w0, [x20]
	mov	x2, x19
	bl	_ReadBufferExtended
	mov	x21, x0
	bl	_LockBufferForCleanup
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh6:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh7:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #1
	str	w8, [sp, #24]
	str	w9, [sp, #8]
Lloh9:
	adrp	x8, _InvalidOffsetNumber@GOTPAGE
Lloh10:
	ldr	x8, [x8, _InvalidOffsetNumber@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_ginScanToDelete
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x0, #8]
	bl	_pfree
	mov	x0, x19
	cbnz	x19, LBB0_2
LBB0_3:
	mov	x0, x21
	bl	_UnlockReleaseBuffer
LBB0_4:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAIN_FORKNUM,4,2               ; @MAIN_FORKNUM
	.comm	_RBM_NORMAL,4,2                 ; @RBM_NORMAL
	.comm	_InvalidBlockNumber,4,2         ; @InvalidBlockNumber
	.comm	_InvalidOffsetNumber,4,2        ; @InvalidOffsetNumber
	.no_dead_strip	_ginVacuumPostingTree
.subsections_via_symbols
