	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistvacuumcleanup              ## -- Begin function gistvacuumcleanup
	.p2align	4, 0x90
_gistvacuumcleanup:                     ## @gistvacuumcleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	cmpq	$0, 16(%rdi)
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_create_GistBulkDeleteResult
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gistvacuumscan
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gistvacuum_delete_empty_pages
	movq	24(%rbx), %rdi
	callq	_MemoryContextDelete
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
	cmpl	$0, 8(%r14)
	jne	LBB0_6
## %bb.4:
	movq	(%r14), %rax
	cmpq	%rax, (%rbx)
	jle	LBB0_6
## %bb.5:
	movq	%rax, (%rbx)
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistvacuumcleanup              ; -- Begin function gistvacuumcleanup
	.p2align	2
_gistvacuumcleanup:                     ; @gistvacuumcleanup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_6
; %bb.1:
	mov	x20, x0
	cbnz	x19, LBB0_3
; %bb.2:
	bl	_create_GistBulkDeleteResult
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_gistvacuumscan
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_gistvacuum_delete_empty_pages
	ldr	x0, [x19, #24]
	bl	_MemoryContextDelete
	stp	xzr, xzr, [x19, #16]
	str	xzr, [x19, #8]
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_6
; %bb.4:
	ldr	x9, [x19]
	ldr	x8, [x20]
	cmp	x9, x8
	b.le	LBB0_6
; %bb.5:
	str	x8, [x19]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
