	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btree_mask                     ## -- Begin function btree_mask
	.p2align	4, 0x90
_btree_mask:                            ## @btree_mask
	.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	%rdi, %rbx
	callq	_mask_page_lsn_and_checksum
	movl	%ebx, %edi
	callq	_mask_page_hint_bits
	movl	%ebx, %edi
	callq	_mask_unused_space
	movl	%ebx, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_P_ISDELETED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_mask_page_content
	jmp	LBB0_4
LBB0_2:
	movq	%r14, %rdi
	callq	_P_ISLEAF
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	callq	_mask_lp_flags
LBB0_4:
	movq	_BTP_HAS_GARBAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BTP_SPLIT_END@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, 8(%r14)
	movq	$0, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTP_HAS_GARBAGE,4,2            ## @BTP_HAS_GARBAGE
	.comm	_BTP_SPLIT_END,4,2              ## @BTP_SPLIT_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btree_mask                     ; -- Begin function btree_mask
	.p2align	2
_btree_mask:                            ; @btree_mask
	.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, x0
	bl	_mask_page_lsn_and_checksum
	mov	x0, x19
	bl	_mask_page_hint_bits
	mov	x0, x19
	bl	_mask_unused_space
	mov	x0, x19
	bl	_PageGetSpecialPointer
	mov	x20, x0
	bl	_P_ISDELETED
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_mask_page_content
	b	LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_P_ISLEAF
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_mask_lp_flags
LBB0_4:
Lloh0:
	adrp	x8, _BTP_HAS_GARBAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTP_HAS_GARBAGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BTP_SPLIT_END@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BTP_SPLIT_END@GOTPAGEOFF]
	ldr	w10, [x20, #8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w8, w10, w8
	str	w8, [x20, #8]
	str	xzr, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BTP_HAS_GARBAGE,4,2            ; @BTP_HAS_GARBAGE
	.comm	_BTP_SPLIT_END,4,2              ; @BTP_SPLIT_END
.subsections_via_symbols
