	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_vm_map_gart             ## -- Begin function radeon_vm_map_gart
	.p2align	4, 0x90
_radeon_vm_map_gart:                    ## @radeon_vm_map_gart
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	notq	%rax
	andq	%rsi, %rax
	shrq	%cl, %rsi
	movq	(%rdi), %rcx
	orq	(%rcx,%rsi,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_vm_map_gart             ; -- Begin function radeon_vm_map_gart
	.p2align	2
_radeon_vm_map_gart:                    ; @radeon_vm_map_gart
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsr	x9, x1, x9
	ldr	x8, [x8, x9, lsl #3]
Lloh3:
	adrp	x9, _PAGE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAGE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	bic	x9, x1, x9
	orr	x0, x9, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
.subsections_via_symbols
