	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ttm_tt_set_user_pages   ## -- Begin function amdgpu_ttm_tt_set_user_pages
	.p2align	4, 0x90
_amdgpu_ttm_tt_set_user_pages:          ## @amdgpu_ttm_tt_set_user_pages
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_16
## %bb.1:
	cmpq	$1, %r8
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
LBB0_11:
	testb	$1, %r8b
	je	LBB0_16
## %bb.12:
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.14:
	movq	(%rsi,%rax,8), %rcx
	jmp	LBB0_15
LBB0_3:
	movq	%r8, %r9
	andq	$-2, %r9
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rsi,%rax,8), %rcx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rdi), %rdx
	movq	%rcx, 8(%rdx,%rax,8)
	addq	$2, %rax
	cmpq	%rax, %r9
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rsi,%rax,8), %rcx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rdi), %rdx
	movq	%rcx, (%rdx,%rax,8)
	testq	%rsi, %rsi
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_13:
	xorl	%ecx, %ecx
LBB0_15:
	movq	8(%rdi), %rdx
	movq	%rcx, (%rdx,%rax,8)
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ttm_tt_set_user_pages   ; -- Begin function amdgpu_ttm_tt_set_user_pages
	.p2align	2
_amdgpu_ttm_tt_set_user_pages:          ; @amdgpu_ttm_tt_set_user_pages
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x9, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x1, x9, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x0, #8]
	str	x10, [x11, x9, lsl #3]
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	x1, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	b	LBB0_3
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
