	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cayman_vm_page_flags           ## -- Begin function cayman_vm_page_flags
	.p2align	4, 0x90
_cayman_vm_page_flags:                  ## @cayman_vm_page_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RADEON_VM_PAGE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%esi, %ecx
	je	LBB0_2
## %bb.1:
	movq	_R600_ENTRY_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movq	_RADEON_VM_PAGE_READABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	je	LBB0_4
## %bb.3:
	movq	_R600_PTE_READABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%ecx, %eax
	movq	_RADEON_VM_PAGE_WRITEABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%esi, %ecx
	je	LBB0_6
## %bb.5:
	movq	_R600_PTE_WRITEABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	orl	%ecx, %eax
	movq	_RADEON_VM_PAGE_SYSTEM@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_10
## %bb.7:
	movq	_R600_PTE_SYSTEM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_RADEON_VM_PAGE_SNOOPED@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	je	LBB0_9
## %bb.8:
	movq	_R600_PTE_SNOOPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_9:
	orl	%esi, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_VM_PAGE_VALID,4,2       ## @RADEON_VM_PAGE_VALID
	.comm	_R600_ENTRY_VALID,4,2           ## @R600_ENTRY_VALID
	.comm	_RADEON_VM_PAGE_READABLE,4,2    ## @RADEON_VM_PAGE_READABLE
	.comm	_R600_PTE_READABLE,4,2          ## @R600_PTE_READABLE
	.comm	_RADEON_VM_PAGE_WRITEABLE,4,2   ## @RADEON_VM_PAGE_WRITEABLE
	.comm	_R600_PTE_WRITEABLE,4,2         ## @R600_PTE_WRITEABLE
	.comm	_RADEON_VM_PAGE_SYSTEM,4,2      ## @RADEON_VM_PAGE_SYSTEM
	.comm	_R600_PTE_SYSTEM,4,2            ## @R600_PTE_SYSTEM
	.comm	_RADEON_VM_PAGE_SNOOPED,4,2     ## @RADEON_VM_PAGE_SNOOPED
	.comm	_R600_PTE_SNOOPED,4,2           ## @R600_PTE_SNOOPED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cayman_vm_page_flags           ; -- Begin function cayman_vm_page_flags
	.p2align	2
_cayman_vm_page_flags:                  ; @cayman_vm_page_flags
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RADEON_VM_PAGE_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADEON_VM_PAGE_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _R600_ENTRY_VALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _R600_ENTRY_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w1
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _RADEON_VM_PAGE_READABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RADEON_VM_PAGE_READABLE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _R600_PTE_READABLE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _R600_PTE_READABLE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
Lloh12:
	adrp	x10, _RADEON_VM_PAGE_WRITEABLE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RADEON_VM_PAGE_WRITEABLE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
Lloh15:
	adrp	x10, _R600_PTE_WRITEABLE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _R600_PTE_WRITEABLE@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
Lloh18:
	adrp	x8, _RADEON_VM_PAGE_SYSTEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RADEON_VM_PAGE_SYSTEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh21:
	adrp	x8, _R600_PTE_SYSTEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _R600_PTE_SYSTEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh24:
	adrp	x9, _RADEON_VM_PAGE_SNOOPED@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RADEON_VM_PAGE_SNOOPED@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _R600_PTE_SNOOPED@GOTPAGE
Lloh28:
	ldr	x10, [x10, _R600_PTE_SNOOPED@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_VM_PAGE_VALID,4,2       ; @RADEON_VM_PAGE_VALID
	.comm	_R600_ENTRY_VALID,4,2           ; @R600_ENTRY_VALID
	.comm	_RADEON_VM_PAGE_READABLE,4,2    ; @RADEON_VM_PAGE_READABLE
	.comm	_R600_PTE_READABLE,4,2          ; @R600_PTE_READABLE
	.comm	_RADEON_VM_PAGE_WRITEABLE,4,2   ; @RADEON_VM_PAGE_WRITEABLE
	.comm	_R600_PTE_WRITEABLE,4,2         ; @R600_PTE_WRITEABLE
	.comm	_RADEON_VM_PAGE_SYSTEM,4,2      ; @RADEON_VM_PAGE_SYSTEM
	.comm	_R600_PTE_SYSTEM,4,2            ; @R600_PTE_SYSTEM
	.comm	_RADEON_VM_PAGE_SNOOPED,4,2     ; @RADEON_VM_PAGE_SNOOPED
	.comm	_R600_PTE_SNOOPED,4,2           ; @R600_PTE_SNOOPED
.subsections_via_symbols
