	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psb_mmu_mask_pte
_psb_mmu_mask_pte:                      ## @psb_mmu_mask_pte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_PSB_MMU_CACHED_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%esi, %edx
	je	LBB0_2
## %bb.1:
	movq	_PSB_PTE_CACHED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_2:
	movq	_PSB_PTE_VALID@GOTPCREL(%rip), %rdi
	movq	_PSB_MMU_RO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%esi, %ecx
	je	LBB0_4
## %bb.3:
	movq	_PSB_PTE_RO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	orl	(%rdi), %edx
	movq	_PSB_MMU_WO_MEMORY@GOTPCREL(%rip), %rdi
	andl	(%rdi), %esi
	je	LBB0_6
## %bb.5:
	movq	_PSB_PTE_WO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_6:
	orl	%esi, %ecx
	orl	%ecx, %edx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSB_PTE_VALID,4,2              ## @PSB_PTE_VALID
	.comm	_PSB_MMU_CACHED_MEMORY,4,2      ## @PSB_MMU_CACHED_MEMORY
	.comm	_PSB_PTE_CACHED,4,2             ## @PSB_PTE_CACHED
	.comm	_PSB_MMU_RO_MEMORY,4,2          ## @PSB_MMU_RO_MEMORY
	.comm	_PSB_PTE_RO,4,2                 ## @PSB_PTE_RO
	.comm	_PSB_MMU_WO_MEMORY,4,2          ## @PSB_MMU_WO_MEMORY
	.comm	_PSB_PTE_WO,4,2                 ## @PSB_PTE_WO
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.no_dead_strip	_psb_mmu_mask_pte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psb_mmu_mask_pte
_psb_mmu_mask_pte:                      ; @psb_mmu_mask_pte
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PSB_PTE_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSB_PTE_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PSB_MMU_CACHED_MEMORY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PSB_MMU_CACHED_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _PSB_PTE_CACHED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PSB_PTE_CACHED@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _PSB_MMU_RO_MEMORY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PSB_MMU_RO_MEMORY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _PSB_PTE_RO@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PSB_PTE_RO@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _PSB_MMU_WO_MEMORY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PSB_MMU_WO_MEMORY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _PSB_PTE_WO@GOTPAGE
Lloh19:
	ldr	x10, [x10, _PSB_PTE_WO@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	lsl	w9, w0, w9
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PSB_PTE_VALID,4,2              ; @PSB_PTE_VALID
	.comm	_PSB_MMU_CACHED_MEMORY,4,2      ; @PSB_MMU_CACHED_MEMORY
	.comm	_PSB_PTE_CACHED,4,2             ; @PSB_PTE_CACHED
	.comm	_PSB_MMU_RO_MEMORY,4,2          ; @PSB_MMU_RO_MEMORY
	.comm	_PSB_PTE_RO,4,2                 ; @PSB_PTE_RO
	.comm	_PSB_MMU_WO_MEMORY,4,2          ; @PSB_MMU_WO_MEMORY
	.comm	_PSB_PTE_WO,4,2                 ; @PSB_PTE_WO
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.no_dead_strip	_psb_mmu_mask_pte
.subsections_via_symbols
