	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ttm_tt_is_readonly      ## -- Begin function amdgpu_ttm_tt_is_readonly
	.p2align	4, 0x90
_amdgpu_ttm_tt_is_readonly:             ## @amdgpu_ttm_tt_is_readonly
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AMDGPU_GEM_USERPTR_READONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rdi)
	setne	%al
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AMDGPU_GEM_USERPTR_READONLY,4,2 ## @AMDGPU_GEM_USERPTR_READONLY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ttm_tt_is_readonly      ; -- Begin function amdgpu_ttm_tt_is_readonly
	.p2align	2
_amdgpu_ttm_tt_is_readonly:             ; @amdgpu_ttm_tt_is_readonly
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AMDGPU_GEM_USERPTR_READONLY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AMDGPU_GEM_USERPTR_READONLY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AMDGPU_GEM_USERPTR_READONLY,4,2 ; @AMDGPU_GEM_USERPTR_READONLY
.subsections_via_symbols
