	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_ttm_tt_to_gtt
_radeon_ttm_tt_to_gtt:                  ## @radeon_ttm_tt_to_gtt
	.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	(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	_radeon_backend_func@GOTPCREL(%rip), %rcx
	cmoveq	%rdi, %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_radeon_backend_func,4,2        ## @radeon_backend_func
	.no_dead_strip	_radeon_ttm_tt_to_gtt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_ttm_tt_to_gtt
_radeon_ttm_tt_to_gtt:                  ; @radeon_ttm_tt_to_gtt
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _radeon_backend_func@GOTPAGE
Lloh1:
	ldr	x9, [x9, _radeon_backend_func@GOTPAGEOFF]
	cmp	x8, x9
	csel	x0, x0, xzr, eq
LBB0_2:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_radeon_backend_func,4,2        ; @radeon_backend_func
	.no_dead_strip	_radeon_ttm_tt_to_gtt
.subsections_via_symbols
