	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_mask                      ## -- Begin function hash_mask
	.p2align	4, 0x90
_hash_mask:                             ## @hash_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	_LH_PAGE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	movq	_LH_UNUSED_PAGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_mask_page_content
	jmp	LBB0_5
LBB0_2:
	movq	_LH_BUCKET_PAGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.3:
	movq	_LH_OVERFLOW_PAGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
LBB0_4:
	movl	%ebx, %edi
	callq	_mask_lp_flags
LBB0_5:
	movq	_LH_PAGE_HAS_DEAD_TUPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LH_PAGE_TYPE,4,2               ## @LH_PAGE_TYPE
	.comm	_LH_UNUSED_PAGE,4,2             ## @LH_UNUSED_PAGE
	.comm	_LH_BUCKET_PAGE,4,2             ## @LH_BUCKET_PAGE
	.comm	_LH_OVERFLOW_PAGE,4,2           ## @LH_OVERFLOW_PAGE
	.comm	_LH_PAGE_HAS_DEAD_TUPLES,4,2    ## @LH_PAGE_HAS_DEAD_TUPLES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_mask                      ; -- Begin function hash_mask
	.p2align	2
_hash_mask:                             ; @hash_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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _LH_PAGE_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LH_PAGE_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _LH_UNUSED_PAGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LH_UNUSED_PAGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_mask_page_content
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x9, _LH_BUCKET_PAGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LH_BUCKET_PAGE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _LH_OVERFLOW_PAGE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LH_OVERFLOW_PAGE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_mask_lp_flags
LBB0_4:
Lloh12:
	adrp	x8, _LH_PAGE_HAS_DEAD_TUPLES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LH_PAGE_HAS_DEAD_TUPLES@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LH_PAGE_TYPE,4,2               ; @LH_PAGE_TYPE
	.comm	_LH_UNUSED_PAGE,4,2             ; @LH_UNUSED_PAGE
	.comm	_LH_BUCKET_PAGE,4,2             ; @LH_BUCKET_PAGE
	.comm	_LH_OVERFLOW_PAGE,4,2           ; @LH_OVERFLOW_PAGE
	.comm	_LH_PAGE_HAS_DEAD_TUPLES,4,2    ; @LH_PAGE_HAS_DEAD_TUPLES
.subsections_via_symbols
