	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ttm_tt_affect_userptr   ## -- Begin function amdgpu_ttm_tt_affect_userptr
	.p2align	4, 0x90
_amdgpu_ttm_tt_affect_userptr:          ## @amdgpu_ttm_tt_affect_userptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	(%rdi), %r8
	leaq	-1(%r8), %rcx
	cmpq	%rdx, %rcx
	jae	LBB0_3
## %bb.2:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	imulq	8(%rdi), %rcx
	addq	%r8, %rcx
	xorl	%eax, %eax
	cmpq	%rsi, %rcx
	seta	%al
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ttm_tt_affect_userptr   ; -- Begin function amdgpu_ttm_tt_affect_userptr
	.p2align	2
_amdgpu_ttm_tt_affect_userptr:          ; @amdgpu_ttm_tt_affect_userptr
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	sub	x9, x8, #1
	cmp	x9, x2
	b.hs	LBB0_4
; %bb.2:
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	madd	x8, x10, x9, x8
	cmp	x8, x1
	cset	w0, hi
LBB0_3:
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
.subsections_via_symbols
