	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blbulkdelete                   ## -- Begin function blbulkdelete
	.p2align	4, 0x90
_blbulkdelete:                          ## @blbulkdelete
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	4(%rdi), %ebx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	movl	$4, %edi
	callq	_palloc0
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_2:
	leaq	-48(%rbp), %rdi
	movl	%ebx, %esi
	callq	_initBloomState
	movl	%ebx, %edi
	callq	_RelationGetNumberOfBlocks
	movq	_BLOOM_HEAD_BLKNO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r13
	jge	LBB0_25
## %bb.3:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %edi
	callq	_UnlockReleaseBuffer
	movq	%r15, %rdi
	callq	_GenericXLogAbort
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	cmpq	-88(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_25
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	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
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r8d
	movl	%ebx, %edi
	movq	%r13, %rdx
	callq	_ReadBufferExtended
	movl	%eax, %r14d
	movq	_BUFFER_LOCK_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_LockBuffer
	movl	%ebx, %edi
	callq	_GenericXLogStart
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_GenericXLogRegisterBuffer
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PageIsNew
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_BloomPageIsDeleted
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_BloomPageGetTuple
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_BloomPageGetMaxOffset
	movq	%rax, %rdi
	callq	_OffsetNumberNext
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_BloomPageGetTuple
	cmpq	%rax, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jae	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	%r12, %rdi
	callq	_BloomPageGetOpaque
	decl	(%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	leaq	-48(%rbp), %r15
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_BloomPageGetNextTuple
	movq	%rax, %rbx
	cmpq	%r14, %rax
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jae	LBB0_16
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	*-104(%rbp)                     ## 8-byte Folded Reload
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rbx, %rsi
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	-48(%rbp), %edx
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_memmove
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_BloomPageGetNextTuple
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_15
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_BloomPageGetMaxOffset
	movq	%rax, %rdi
	callq	_OffsetNumberNext
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_BloomPageGetTuple
	xorl	%edi, %edi
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	sete	%dil
	callq	_Assert
	movq	%r12, %rdi
	callq	_BloomPageGetMaxOffset
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_BloomPageGetFreeSpace
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_BloomPageGetMaxOffset
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_BloomPageSetDeleted
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	subq	%r12, %rax
	movq	%rax, (%r12)
	movq	%r15, %rdi
	callq	_GenericXLogFinish
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_GenericXLogAbort
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_UnlockReleaseBuffer
	jmp	LBB0_24
LBB0_25:
	movq	_BLOOM_METAPAGE_BLKNO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_ReadBuffer
	movl	%eax, %r15d
	movq	_BUFFER_LOCK_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_LockBuffer
	movl	%ebx, %edi
	callq	_GenericXLogStart
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_GenericXLogRegisterBuffer
	movq	%rax, %rdi
	callq	_BloomPageGetMeta
	movq	%rax, %rbx
	movl	16(%rax), %edi
	xorl	%edx, %edx
	callq	_memcpy
	movq	$0, 8(%rbx)
	movl	$0, (%rbx)
	movq	%r14, %rdi
	callq	_GenericXLogFinish
	movl	%r15d, %edi
	callq	_UnlockReleaseBuffer
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	$72, %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_EXCLUSIVE,4,2      ## @BUFFER_LOCK_EXCLUSIVE
	.comm	_FirstOffsetNumber,4,2          ## @FirstOffsetNumber
	.comm	_BloomMetaBlockN,4,2            ## @BloomMetaBlockN
	.comm	_BLOOM_METAPAGE_BLKNO,4,2       ## @BLOOM_METAPAGE_BLKNO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blbulkdelete                   ; -- Begin function blbulkdelete
	.p2align	2
_blbulkdelete:                          ; @blbulkdelete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w23, [x0, #4]
	cbnz	x1, LBB0_2
; %bb.1:
	mov	w0, #4
	bl	_palloc0
	mov	x19, x0
LBB0_2:
	add	x0, sp, #24
	mov	x1, x23
	bl	_initBloomState
	mov	x0, x23
	bl	_RelationGetNumberOfBlocks
Lloh0:
	adrp	x8, _BLOOM_HEAD_BLKNO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLOOM_HEAD_BLKNO@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
Lloh3:
	adrp	x24, _BUFFER_LOCK_EXCLUSIVE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _BUFFER_LOCK_EXCLUSIVE@GOTPAGEOFF]
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	cmp	x25, x0
	b.ge	LBB0_25
; %bb.3:
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
	str	x20, [sp]                       ; 8-byte Folded Spill
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_UnlockReleaseBuffer
	mov	x0, x27
	bl	_GenericXLogAbort
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x25, x8
	b.eq	LBB0_25
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	bl	_vacuum_delay_point
Lloh5:
	adrp	x8, _MAIN_FORKNUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAIN_FORKNUM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _RBM_NORMAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	ldr	w4, [x20]
	mov	x0, x23
	mov	x2, x25
	bl	_ReadBufferExtended
	mov	x26, x0
	ldr	w1, [x24]
	bl	_LockBuffer
	mov	x0, x23
	bl	_GenericXLogStart
	mov	x27, x0
	mov	x1, x26
	mov	w2, #0
	bl	_GenericXLogRegisterBuffer
	mov	x28, x0
	bl	_PageIsNew
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x28
	bl	_BloomPageIsDeleted
	cbnz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh11:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x0, sp, #24
	mov	x1, x28
	bl	_BloomPageGetTuple
	mov	x24, x0
	mov	x0, x28
	bl	_BloomPageGetMaxOffset
	bl	_OffsetNumberNext
	mov	x2, x0
	add	x0, sp, #24
	mov	x1, x28
	bl	_BloomPageGetTuple
	cmp	x24, x0
	b.hs	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x0
	mov	x23, x24
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x28
	bl	_BloomPageGetOpaque
	ldr	w8, [x0]
	sub	w8, w8, #1
	str	w8, [x0]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x0, sp, #24
	mov	x1, x23
	bl	_BloomPageGetNextTuple
	mov	x23, x0
	cmp	x0, x20
	b.hs	LBB0_17
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	blr	x22
	cbnz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	x24, x23
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w2, [sp, #24]
	mov	x0, x24
	mov	x1, x23
	bl	_memmove
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x0, sp, #24
	mov	x1, x24
	bl	_BloomPageGetNextTuple
	mov	x24, x0
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x24
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x28
	bl	_BloomPageGetMaxOffset
	bl	_OffsetNumberNext
	mov	x2, x0
	add	x0, sp, #24
	mov	x1, x28
	bl	_BloomPageGetTuple
	cmp	x24, x0
	cset	w0, eq
	bl	_Assert
	mov	x0, x28
	bl	_BloomPageGetMaxOffset
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #24
	mov	x1, x28
	bl	_BloomPageGetFreeSpace
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x24, x23
	b.eq	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x28
	bl	_BloomPageGetMaxOffset
	cbnz	x0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x28
	bl	_BloomPageSetDeleted
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x24, x28
	str	x8, [x28]
	mov	x0, x27
	bl	_GenericXLogFinish
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_GenericXLogAbort
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w23, [sp, #12]                  ; 4-byte Folded Reload
	ldr	x20, [sp]                       ; 8-byte Folded Reload
Lloh14:
	adrp	x24, _BUFFER_LOCK_EXCLUSIVE@GOTPAGE
Lloh15:
	ldr	x24, [x24, _BUFFER_LOCK_EXCLUSIVE@GOTPAGEOFF]
	mov	x0, x26
	bl	_UnlockReleaseBuffer
	b	LBB0_5
LBB0_25:
Lloh16:
	adrp	x8, _BLOOM_METAPAGE_BLKNO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BLOOM_METAPAGE_BLKNO@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_ReadBuffer
	mov	x20, x0
	ldr	w1, [x24]
	bl	_LockBuffer
	mov	x0, x23
	bl	_GenericXLogStart
	mov	x21, x0
	mov	x1, x20
	mov	w2, #0
	bl	_GenericXLogRegisterBuffer
	bl	_BloomPageGetMeta
	mov	x22, x0
	ldr	w0, [x0, #16]
	mov	w2, #0
	bl	_memcpy
	str	xzr, [x22, #8]
	str	wzr, [x22]
	mov	x0, x21
	bl	_GenericXLogFinish
	mov	x0, x20
	bl	_UnlockReleaseBuffer
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.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_EXCLUSIVE,4,2      ; @BUFFER_LOCK_EXCLUSIVE
	.comm	_FirstOffsetNumber,4,2          ; @FirstOffsetNumber
	.comm	_BloomMetaBlockN,4,2            ; @BloomMetaBlockN
	.comm	_BLOOM_METAPAGE_BLKNO,4,2       ; @BLOOM_METAPAGE_BLKNO
.subsections_via_symbols
