	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btbulkdelete                   ## -- Begin function btbulkdelete
	.p2align	4, 0x90
_btbulkdelete:                          ## @btbulkdelete
	.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	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %r15d
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	movl	$4, %edi
	callq	_palloc0
	movq	%rax, %r14
LBB0_2:
	movq	__bt_end_vacuum_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r15d, %edi
	callq	_PointerGetDatum
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_PG_ENSURE_ERROR_CLEANUP
	movl	%r15d, %edi
	callq	__bt_start_vacuum
	leaq	-44(%rbp), %r9
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %r8d
	callq	_btvacuumscan
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	movl	-44(%rbp), %esi
	callq	__bt_update_meta_cleanup_info
	movq	__bt_end_vacuum_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_PointerGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_PG_END_ENSURE_ERROR_CLEANUP
	movl	%r15d, %edi
	callq	__bt_end_vacuum
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__bt_end_vacuum_callback,4,2    ## @_bt_end_vacuum_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btbulkdelete                   ; -- Begin function btbulkdelete
	.p2align	2
_btbulkdelete:                          ; @btbulkdelete
	.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	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w19, [x0, #4]
	cbnz	x1, LBB0_2
; %bb.1:
	mov	w0, #4
	bl	_palloc0
	mov	x20, x0
LBB0_2:
Lloh0:
	adrp	x25, __bt_end_vacuum_callback@GOTPAGE
Lloh1:
	ldr	x25, [x25, __bt_end_vacuum_callback@GOTPAGEOFF]
	ldr	w24, [x25]
	mov	x0, x19
	bl	_PointerGetDatum
	mov	x1, x0
	mov	x0, x24
	bl	_PG_ENSURE_ERROR_CLEANUP
	mov	x0, x19
	bl	__bt_start_vacuum
	mov	x4, x0
	add	x5, sp, #12
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	bl	_btvacuumscan
	ldr	w1, [sp, #12]
	ldp	w2, w0, [x21]
	bl	__bt_update_meta_cleanup_info
	ldr	w21, [x25]
	mov	x0, x19
	bl	_PointerGetDatum
	mov	x1, x0
	mov	x0, x21
	bl	_PG_END_ENSURE_ERROR_CLEANUP
	mov	x0, x19
	bl	__bt_end_vacuum
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__bt_end_vacuum_callback,4,2    ; @_bt_end_vacuum_callback
.subsections_via_symbols
