	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blgetbitmap                    ## -- Begin function blgetbitmap
	.p2align	4, 0x90
_blgetbitmap:                           ## @blgetbitmap
	.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	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movslq	24(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rax)
	je	LBB0_1
LBB0_6:
	movq	_BAS_BULKREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetAccessStrategy
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	4(%r14), %edi
	callq	_RelationGetNumberOfBlocks
	movq	%rax, %rcx
	movq	_BLOOM_HEAD_BLKNO@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpq	%rcx, %r15
	jge	LBB0_7
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_UnlockReleaseBuffer
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	incq	%r15
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %r15
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_20
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
	movl	4(%r14), %edi
	movq	_MAIN_FORKNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_ReadBufferExtended
	movl	%eax, %ebx
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_LockBuffer
	movl	%ebx, %edi
	callq	_BufferGetPage
	movl	%eax, %r12d
	movl	4(%r14), %esi
	movl	8(%r14), %edi
	movl	%eax, %edx
	callq	_TestForOldSnapshot
	movl	%r12d, %edi
	callq	_PageIsNew
	testl	%eax, %eax
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r12d, %edi
	callq	_BloomPageIsDeleted
	testl	%eax, %eax
	jne	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r12d, %edi
	callq	_BloomPageGetMaxOffset
	testl	%eax, %eax
	jle	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %r13d
	movl	$1, %r14d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=2
	addq	$8, %rax
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_tbm_add_tuples
	incq	-64(%rbp)                       ## 8-byte Folded Spill
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=2
	leal	1(%r14), %eax
	cmpl	%r13d, %r14d
	movl	%eax, %r14d
	je	LBB0_19
LBB0_13:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_BloomPageGetTuple
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	(%rax), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_9 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rdx,%rdi,4), %ebx
	notl	%ebx
	testl	%ebx, (%rsi,%rdi,4)
	jne	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=3
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_16
	jmp	LBB0_17
LBB0_7:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_20:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_FreeAccessStrategy
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_21:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	16(%r14), %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %edi
	shll	$2, %edi
	callq	_palloc0
	movq	%rax, (%rbx)
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %rbx
	xorl	%r15d, %r15d
	movq	_SK_ISNULL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rsi
	testl	%eax, (%r13)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r13), %edx
	movq	8(%r13), %rcx
	decq	%rcx
	movq	%rbx, %rdi
	callq	_signValue
	incl	%r15d
	addq	$24, %r13
	cmpl	(%r14), %r15d
	jl	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movq	%rsi, %rdi
	callq	_pfree
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOOM_HEAD_BLKNO,8,3           ## @BLOOM_HEAD_BLKNO
	.comm	_SK_ISNULL,4,2                  ## @SK_ISNULL
	.comm	_BAS_BULKREAD,4,2               ## @BAS_BULKREAD
	.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	_blgetbitmap                    ; -- Begin function blgetbitmap
	.p2align	2
_blgetbitmap:                           ; @blgetbitmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x0
	ldrsw	x23, [x0, #24]
	ldr	x8, [x23]
	cbz	x8, LBB0_17
LBB0_1:
Lloh0:
	adrp	x8, _BAS_BULKREAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BAS_BULKREAD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_GetAccessStrategy
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w0, [x20, #4]
	bl	_RelationGetNumberOfBlocks
Lloh3:
	adrp	x8, _BLOOM_HEAD_BLKNO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLOOM_HEAD_BLKNO@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
	cmp	x24, x0
	b.ge	LBB0_14
; %bb.2:
	mov	x19, x0
	mov	x22, #0
	add	x25, x23, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_UnlockReleaseBuffer
	bl	_CHECK_FOR_INTERRUPTS
	add	x24, x24, #1
	cmp	x24, x19
	b.eq	LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	w0, [x20, #4]
Lloh6:
	adrp	x8, _MAIN_FORKNUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAIN_FORKNUM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _RBM_NORMAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x2, x24
	ldr	w4, [sp, #4]                    ; 4-byte Folded Reload
	bl	_ReadBufferExtended
	mov	x26, x0
Lloh12:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_LockBuffer
	mov	x0, x26
	bl	_BufferGetPage
	mov	x27, x0
	ldp	w1, w0, [x20, #4]
	mov	x2, x27
	bl	_TestForOldSnapshot
	mov	x0, x27
	bl	_PageIsNew
	cbnz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_BloomPageIsDeleted
	cbnz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_BloomPageGetMaxOffset
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x0
	mov	w21, #1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x1, x0, #8
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	w2, #1
	mov	w3, #1
	bl	_tbm_add_tuples
	add	x22, x22, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w8, w21, #1
	cmp	w21, w28
	mov	x21, x8
	b.eq	LBB0_3
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	mov	x0, x25
	mov	x1, x27
	mov	x2, x21
	bl	_BloomPageGetTuple
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x9, [x0]
	ldr	x10, [x23]
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w11, [x9]
	ldr	w12, [x10]
	bics	wzr, w12, w11
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	add	x10, x10, #4
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_12
	b	LBB0_8
LBB0_14:
	mov	x22, #0
LBB0_15:
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	bl	_FreeAccessStrategy
LBB0_16:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	ldr	x22, [x20, #16]
	mov	x21, x23
	ldr	w8, [x21, #8]!
	lsl	w0, w8, #2
	bl	_palloc0
	str	x0, [x23]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.18:
	mov	w24, #0
Lloh15:
	adrp	x25, _SK_ISNULL@GOTPAGE
Lloh16:
	ldr	x25, [x25, _SK_ISNULL@GOTPAGEOFF]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldr	w9, [x25]
	ldr	x1, [x23]
	tst	w9, w8
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w2, [x22, #16]
	ldr	x8, [x22, #8]
	sub	x3, x8, #1
	mov	x0, x21
	bl	_signValue
	add	w24, w24, #1
	ldr	w8, [x20]
	add	x22, x22, #24
	cmp	w24, w8
	b.lt	LBB0_19
	b	LBB0_1
LBB0_21:
	mov	x0, x1
	bl	_pfree
	mov	x22, #0
	str	xzr, [x23]
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOOM_HEAD_BLKNO,8,3           ; @BLOOM_HEAD_BLKNO
	.comm	_SK_ISNULL,4,2                  ; @SK_ISNULL
	.comm	_BAS_BULKREAD,4,2               ; @BAS_BULKREAD
	.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
