	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_csa_vaddr               ## -- Begin function amdgpu_csa_vaddr
	.p2align	4, 0x90
_amdgpu_csa_vaddr:                      ## @amdgpu_csa_vaddr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	movq	_AMDGPU_GPU_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	movq	_AMDGPU_VA_RESERVED_SIZE@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	popq	%rbp
	jmp	_amdgpu_gmc_sign_extend         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AMDGPU_GPU_PAGE_SHIFT,4,2      ## @AMDGPU_GPU_PAGE_SHIFT
	.comm	_AMDGPU_VA_RESERVED_SIZE,8,3    ## @AMDGPU_VA_RESERVED_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_csa_vaddr               ; -- Begin function amdgpu_csa_vaddr
	.p2align	2
_amdgpu_csa_vaddr:                      ; @amdgpu_csa_vaddr
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AMDGPU_GPU_PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AMDGPU_GPU_PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh3:
	adrp	x9, _AMDGPU_VA_RESERVED_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AMDGPU_VA_RESERVED_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w0, w8, w9
	b	_amdgpu_gmc_sign_extend
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AMDGPU_GPU_PAGE_SHIFT,4,2      ; @AMDGPU_GPU_PAGE_SHIFT
	.comm	_AMDGPU_VA_RESERVED_SIZE,8,3    ; @AMDGPU_VA_RESERVED_SIZE
.subsections_via_symbols
