	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mask_unused_space              ## -- Begin function mask_unused_space
	.p2align	4, 0x90
_mask_unused_space:                     ## @mask_unused_space
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edx
	movl	4(%rdi), %ecx
	movslq	%edx, %r14
	movl	8(%rdi), %r8d
	movl	%ecx, %r15d
	subl	%r14d, %r15d
	jl	LBB0_4
## %bb.1:
	cmpl	%ecx, %r8d
	jl	LBB0_4
## %bb.2:
	movq	_SizeOfPageHeaderData@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jl	LBB0_4
## %bb.3:
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r8d
	jle	LBB0_5
LBB0_4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_5:
	addq	%rbx, %r14
	movq	_MASK_MARKER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SizeOfPageHeaderData,4,2       ## @SizeOfPageHeaderData
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid page pd_lower %u pd_upper %u pd_special %u\n"

	.comm	_MASK_MARKER,4,2                ## @MASK_MARKER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mask_unused_space              ; -- Begin function mask_unused_space
	.p2align	2
_mask_unused_space:                     ; @mask_unused_space
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w8, w20, [x0]
	sxtw	x21, w8
	ldr	w4, [x0, #8]
Lloh0:
	adrp	x9, _SizeOfPageHeaderData@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SizeOfPageHeaderData@GOTPAGEOFF]
Lloh2:
	adrp	x10, _BLCKSZ@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BLCKSZ@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
	cmp	w20, w8
	ccmp	w4, w20, #8, ge
	ccmp	w8, w9, #8, ge
	ccmp	w4, w10, #0, ge
	b.le	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_elog
LBB0_2:
Lloh11:
	adrp	x8, _MASK_MARKER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MASK_MARKER@GOTPAGEOFF]
	add	x0, x21, x19
Lloh13:
	ldr	w1, [x8]
	sub	w2, w20, w21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SizeOfPageHeaderData,4,2       ; @SizeOfPageHeaderData
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid page pd_lower %u pd_upper %u pd_special %u\n"

	.comm	_MASK_MARKER,4,2                ; @MASK_MARKER
.subsections_via_symbols
