	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function radeon_do_test_moves
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	8                               ## 0x8
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	16                              ## 0x10
	.quad	24                              ## 0x18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_radeon_do_test_moves:                  ## @radeon_do_test_moves
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	cmpl	$129, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$128, %esi
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_radeon_copy_dma_ring_index
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	callq	_radeon_copy_blit_ring_index
LBB0_5:
	movl	%eax, %r12d
	movl	4(%r15), %r13d
	subl	(%r15), %r13d
	movl	%r13d, %r14d
	shrl	$20, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RADEON_GEM_DOMAIN_VRAM@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	leaq	-48(%rbp), %rax
	movq	%rax, 16(%rsp)
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, (%rsp)
	movq	%r15, %rdi
	movl	$1048576, %esi                  ## imm = 0x100000
	movl	$1, %ecx
	xorl	%r9d, %r9d
	callq	_radeon_bo_create
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_ERROR                      ## TAILCALL
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_9:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_77:
	leaq	L_.str.16(%rip), %rdi
	callq	_pr_warn
LBB0_78:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_radeon_bo_reserve
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_76
## %bb.11:
	movq	-48(%rbp), %rdi
	movl	(%r12), %esi
	leaq	-68(%rbp), %rdx
	callq	_radeon_bo_pin
	testl	%eax, %eax
	je	LBB0_12
## %bb.79:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_75
LBB0_12:
	xorl	%ebx, %ebx
	cmpl	$1048576, %r13d                 ## imm = 0x100000
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	jb	LBB0_74
## %bb.13:
	cmpl	$2, %r14d
	movl	$1, %eax
	cmovbl	%eax, %r14d
	xorl	%r12d, %r12d
	movq	_RADEON_GEM_DOMAIN_GTT@GOTPCREL(%rip), %rax
	pxor	%xmm0, %xmm0
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_31 Depth 2
                                        ##     Child Loop BB0_44 Depth 2
                                        ##     Child Loop BB0_58 Depth 2
	movq	$0, -64(%rbp)
	movl	(%r13), %edx
	movl	(%rax), %r8d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,8), %rbx
	movq	%rbx, 16(%rsp)
	movdqu	%xmm0, (%rsp)
	movq	%r15, %rdi
	movl	$1048576, %esi                  ## imm = 0x100000
	movl	$1, %ecx
	xorl	%r9d, %r9d
	callq	_radeon_bo_create
	testl	%eax, %eax
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r12, %r13
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_radeon_bo_reserve
	movl	%eax, %r12d
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_63
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%rbx), %rdi
	movq	_RADEON_GEM_DOMAIN_GTT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	callq	_radeon_bo_pin
	testl	%eax, %eax
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%rbx), %rdi
	leaq	-80(%rbp), %rsi
	callq	_radeon_bo_kmap
	testl	%eax, %eax
	movq	%r13, %r12
	jne	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rdx
	leaq	1048576(%rdx), %r11
	cmpq	%r11, %rdx
	jae	LBB0_32
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	8(%rdx), %rax
	cmpq	%rax, %r11
	cmovaq	%r11, %rax
	movq	%rdx, %r9
	notq	%r9
	addq	%rax, %r9
	cmpq	$24, %r9
	jb	LBB0_31
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	shrq	$3, %r9
	incq	%r9
	movq	%r9, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %r10
	movq	%r10, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	movq	%rdx, %rax
	cmpq	$12, %r10
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0]
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [16,24]
	jb	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_14 Depth=1
	andq	$-4, %rdi
	movq	%rdx, %rax
LBB0_26:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, %xmm1
	paddq	%xmm2, %xmm1
	paddq	%xmm3, %xmm0
	movq	%xmm1, %rcx
	movdqu	%xmm1, (%rcx)
	movdqu	%xmm0, 16(%rcx)
	leaq	32(%rax), %rcx
	movq	%rcx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, %xmm1
	paddq	%xmm2, %xmm1
	paddq	%xmm3, %xmm0
	movq	%xmm1, %rcx
	movdqu	%xmm1, (%rcx)
	movdqu	%xmm0, 16(%rcx)
	leaq	64(%rax), %rcx
	movq	%rcx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, %xmm1
	paddq	%xmm2, %xmm1
	paddq	%xmm3, %xmm0
	movq	%xmm1, %rcx
	movdqu	%xmm1, (%rcx)
	movdqu	%xmm0, 16(%rcx)
	leaq	96(%rax), %rcx
	movq	%rcx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, %xmm1
	paddq	%xmm2, %xmm1
	paddq	%xmm3, %xmm0
	movq	%xmm1, %rcx
	movdqu	%xmm1, (%rcx)
	movdqu	%xmm0, 16(%rcx)
	subq	$-128, %rax
	addq	$-4, %rdi
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_14 Depth=1
	testq	%rsi, %rsi
	je	LBB0_29
LBB0_28:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, %xmm1
	paddq	%xmm2, %xmm1
	paddq	%xmm3, %xmm0
	movq	%xmm1, %rcx
	movdqu	%xmm1, (%rcx)
	movdqu	%xmm0, 16(%rcx)
	addq	$32, %rax
	decq	%rsi
	jne	LBB0_28
LBB0_29:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpq	%r8, %r9
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	(%rdx,%r8,8), %rdx
LBB0_31:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, (%rdx)
	addq	$8, %rdx
	cmpq	%r11, %rdx
	jb	LBB0_31
LBB0_32:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%rbx), %rdi
	callq	_radeon_bo_kunmap
	movl	$1048576, %eax                  ## imm = 0x100000
	xorl	%edx, %edx
	movq	_RADEON_GPU_PAGE_SIZE@GOTPCREL(%rip), %rcx
	divl	(%rcx)
	movl	-52(%rbp), %esi
	movl	-68(%rbp), %edx
	movq	-48(%rbp), %rcx
	movl	(%rcx), %r8d
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movq	_R600_RING_TYPE_DMA_INDEX@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %ecx
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_radeon_copy_dma
	jmp	LBB0_35
LBB0_34:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_radeon_copy_blit
LBB0_35:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, -64(%rbp)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_36
## %bb.38:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_radeon_fence_wait
	testl	%eax, %eax
	jne	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	-64(%rbp), %rdi
	callq	_radeon_fence_unref
	movq	-48(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	callq	_radeon_bo_kmap
	testl	%eax, %eax
	jne	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-104(%rbp), %rsi
	leaq	1048576(%rsi), %rdi
	cmpq	%rdi, %rsi
	jae	LBB0_47
## %bb.43:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rcx
	movq	%rcx, %rax
	negq	%rax
LBB0_44:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_45
## %bb.46:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	%rsi, (%rsi)
	addq	$8, %rcx
	addq	$8, %rsi
	addq	$-8, %rax
	cmpq	%rdi, %rsi
	jb	LBB0_44
LBB0_47:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-48(%rbp), %rdi
	callq	_radeon_bo_kunmap
	movl	$1048576, %eax                  ## imm = 0x100000
	xorl	%edx, %edx
	movq	_RADEON_GPU_PAGE_SIZE@GOTPCREL(%rip), %rcx
	divl	(%rcx)
	movl	-68(%rbp), %esi
	movl	-52(%rbp), %edx
	movq	-48(%rbp), %rcx
	movl	(%rcx), %r8d
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movq	_R600_RING_TYPE_DMA_INDEX@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %ecx
	jne	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_radeon_copy_dma
	jmp	LBB0_50
LBB0_49:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_radeon_copy_blit
LBB0_50:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, -64(%rbp)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_51
## %bb.52:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_radeon_fence_wait
	testl	%eax, %eax
	jne	LBB0_53
## %bb.54:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	-64(%rbp), %rdi
	callq	_radeon_fence_unref
	movq	(%rbx), %rdi
	leaq	-80(%rbp), %rsi
	callq	_radeon_bo_kmap
	testl	%eax, %eax
	jne	LBB0_55
## %bb.56:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rsi
	leaq	1048576(%rsi), %rdi
	cmpq	%rdi, %rsi
	jae	LBB0_73
## %bb.57:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-104(%rbp), %rcx
	xorl	%eax, %eax
LBB0_58:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_59
## %bb.72:                              ##   in Loop: Header=BB0_58 Depth=2
	addq	$8, %rsi
	addq	$8, %rcx
	addq	$-8, %rax
	cmpq	%rdi, %rsi
	jb	LBB0_58
LBB0_73:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%rbx), %rdi
	callq	_radeon_bo_kunmap
	movl	-52(%rbp), %esi
	subl	8(%r15), %esi
	leaq	L_.str.15(%rip), %rdi
	callq	_DRM_INFO
	incq	%r12
	xorl	%ebx, %ebx
	cmpq	%r14, %r12
	movq	_RADEON_GEM_DOMAIN_GTT@GOTPCREL(%rip), %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	pxor	%xmm0, %xmm0
	jne	LBB0_14
	jmp	LBB0_74
LBB0_45:
	movslq	-52(%rbp), %r8
	movslq	8(%r15), %rsi
	movq	-80(%rbp), %rdi
	subq	%rdi, %r8
	subq	%rsi, %r8
	subq	%rax, %r8
	movslq	-68(%rbp), %r9
	movslq	12(%r15), %rsi
	subq	%rdi, %r9
	subq	%rsi, %r9
	subq	%rax, %r9
	leaq	L_.str.10(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movq	-48(%rbp), %rdi
	jmp	LBB0_60
LBB0_59:
	movslq	-68(%rbp), %r8
	movslq	12(%r15), %rsi
	subq	%rsi, %r8
	subq	%rax, %r8
	movslq	-52(%rbp), %r9
	movslq	8(%r15), %rsi
	subq	%rsi, %r9
	subq	%rax, %r9
	leaq	L_.str.14(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movq	(%rbx), %rdi
LBB0_60:
	callq	_radeon_bo_kunmap
	jmp	LBB0_61
LBB0_15:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_65
LBB0_63:
	movl	%r12d, %r15d
	movq	%r13, %r12
	jmp	LBB0_64
LBB0_18:
	movl	%eax, %r15d
	leaq	L_.str.5(%rip), %rdi
	movq	%r13, %r12
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_62
LBB0_20:
	movl	%eax, %r15d
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_21
LBB0_36:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_37
LBB0_39:
	movl	%eax, %r15d
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_21
LBB0_41:
	movl	%eax, %r15d
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_21
LBB0_51:
	leaq	L_.str.11(%rip), %rdi
LBB0_37:
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movq	-64(%rbp), %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	jmp	LBB0_61
LBB0_53:
	movl	%eax, %r15d
	leaq	L_.str.12(%rip), %rdi
	jmp	LBB0_21
LBB0_55:
	movl	%eax, %r15d
	leaq	L_.str.13(%rip), %rdi
LBB0_21:
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_61:
	movq	(%rbx), %rdi
	callq	_radeon_bo_unpin
LBB0_62:
	movq	(%rbx), %rdi
	callq	_radeon_bo_unreserve
LBB0_64:
	movq	%rbx, %rdi
	callq	_radeon_bo_unref
LBB0_65:
	testl	%r12d, %r12d
	je	LBB0_68
## %bb.66:
	movl	%r12d, %r14d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,8), %rbx
	addq	$-8, %rbx
	incq	%r14
	.p2align	4, 0x90
LBB0_67:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_radeon_bo_unpin
	movq	(%rbx), %rdi
	callq	_radeon_bo_unreserve
	movq	%rbx, %rdi
	callq	_radeon_bo_unref
	decq	%r14
	addq	$-8, %rbx
	cmpq	$1, %r14
	ja	LBB0_67
LBB0_68:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_71
## %bb.69:
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_71
## %bb.70:
	leaq	-64(%rbp), %rdi
	callq	_radeon_fence_unref
LBB0_71:
	movl	%r15d, %ebx
LBB0_74:
	movq	-48(%rbp), %rdi
	callq	_radeon_bo_unpin
LBB0_75:
	movq	-48(%rbp), %rdi
	callq	_radeon_bo_unreserve
LBB0_76:
	leaq	-48(%rbp), %rdi
	callq	_radeon_bo_unref
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	testl	%ebx, %ebx
	jne	LBB0_77
	jmp	LBB0_78
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown copy method\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"Failed to allocate %d pointers\n"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_RADEON_GEM_DOMAIN_VRAM,4,2     ## @RADEON_GEM_DOMAIN_VRAM
L_.str.2:                               ## @.str.2
	.asciz	"Failed to create VRAM object\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to pin VRAM object\n"

	.comm	_RADEON_GEM_DOMAIN_GTT,4,2      ## @RADEON_GEM_DOMAIN_GTT
L_.str.4:                               ## @.str.4
	.asciz	"Failed to create GTT object %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to pin GTT object %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to map GTT object %d\n"

	.comm	_R600_RING_TYPE_DMA_INDEX,4,2   ## @R600_RING_TYPE_DMA_INDEX
	.comm	_RADEON_GPU_PAGE_SIZE,4,2       ## @RADEON_GPU_PAGE_SIZE
L_.str.7:                               ## @.str.7
	.asciz	"Failed GTT->VRAM copy %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"Failed to wait for GTT->VRAM fence %d\n"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to map VRAM object after copy %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"Incorrect GTT->VRAM copy %d: Got 0x%p, expected 0x%p (GTT/VRAM offset 0x%16llx/0x%16llx)\n"

L_.str.11:                              ## @.str.11
	.asciz	"Failed VRAM->GTT copy %d\n"

L_.str.12:                              ## @.str.12
	.asciz	"Failed to wait for VRAM->GTT fence %d\n"

L_.str.13:                              ## @.str.13
	.asciz	"Failed to map GTT object after copy %d\n"

L_.str.14:                              ## @.str.14
	.asciz	"Incorrect VRAM->GTT copy %d: Got 0x%p, expected 0x%p (VRAM/GTT offset 0x%16llx/0x%16llx)\n"

L_.str.15:                              ## @.str.15
	.asciz	"Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0x%llx\n"

L_.str.16:                              ## @.str.16
	.asciz	"Error while testing BO move\n"

	.no_dead_strip	_radeon_do_test_moves
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function radeon_do_test_moves
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	8                               ; 0x8
lCPI0_1:
	.quad	16                              ; 0x10
	.quad	24                              ; 0x18
lCPI0_2:
	.quad	32                              ; 0x20
	.quad	40                              ; 0x28
lCPI0_3:
	.quad	48                              ; 0x30
	.quad	56                              ; 0x38
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_radeon_do_test_moves:                  ; @radeon_do_test_moves
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	stur	xzr, [x29, #-96]
	cmp	w1, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x21
	bl	_radeon_copy_dma_ring_index
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	bl	_radeon_copy_blit_ring_index
LBB0_4:
	mov	x22, x0
	ldp	w9, w8, [x21]
	sub	w23, w8, w9
	lsr	w20, w23, #20
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #8
	bl	_kcalloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.5:
Lloh3:
	adrp	x26, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh5:
	adrp	x25, _RADEON_GEM_DOMAIN_VRAM@GOTPAGE
Lloh6:
	ldr	x25, [x25, _RADEON_GEM_DOMAIN_VRAM@GOTPAGEOFF]
	ldr	w4, [x25]
	sub	x8, x29, #96
	str	x8, [sp]
	mov	x0, x21
	mov	w1, #1048576
	mov	w3, #1
	mov	w5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_radeon_bo_create
	cbz	w0, LBB0_12
; %bb.6:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	b	_DRM_ERROR
LBB0_8:
	str	x20, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_9:
	bl	_DRM_ERROR
	mov	x0, x19
	bl	_kfree
LBB0_10:
Lloh13:
	adrp	x0, l_.str.16@PAGE
Lloh14:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_pr_warn
LBB0_11:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_12:
	ldur	x0, [x29, #-96]
	mov	w1, #0
	bl	_radeon_bo_reserve
	mov	x24, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_63
; %bb.13:
	ldur	x0, [x29, #-96]
	ldr	w1, [x25]
	sub	x2, x29, #104
	bl	_radeon_bo_pin
	cbz	w0, LBB0_15
; %bb.14:
	mov	x24, x0
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_62
LBB0_15:
	cmp	w23, #256, lsl #12              ; =1048576
	b.hs	LBB0_17
; %bb.16:
	mov	w24, #0
	b	LBB0_61
LBB0_17:
	mov	x25, #0
	cmp	w20, #1
	csinc	w8, w20, wzr, hi
	str	x8, [sp, #120]                  ; 8-byte Folded Spill
Lloh17:
	adrp	x28, _RADEON_GEM_DOMAIN_GTT@GOTPAGE
Lloh18:
	ldr	x28, [x28, _RADEON_GEM_DOMAIN_GTT@GOTPAGEOFF]
Lloh19:
	adrp	x8, lCPI0_0@PAGE
Lloh20:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #96]                   ; 16-byte Folded Spill
Lloh21:
	adrp	x8, lCPI0_1@PAGE
Lloh22:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	str	q0, [sp, #80]                   ; 16-byte Folded Spill
Lloh23:
	adrp	x8, lCPI0_2@PAGE
Lloh24:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	str	q0, [sp, #64]                   ; 16-byte Folded Spill
Lloh25:
	adrp	x8, lCPI0_3@PAGE
Lloh26:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
	str	q0, [sp, #48]                   ; 16-byte Folded Spill
Lloh27:
	adrp	x27, _R600_RING_TYPE_DMA_INDEX@GOTPAGE
Lloh28:
	ldr	x27, [x27, _R600_RING_TYPE_DMA_INDEX@GOTPAGEOFF]
Lloh29:
	adrp	x23, _RADEON_GPU_PAGE_SIZE@GOTPAGE
Lloh30:
	ldr	x23, [x23, _RADEON_GPU_PAGE_SIZE@GOTPAGEOFF]
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
                                        ;     Child Loop BB0_47 Depth 2
	str	xzr, [sp, #128]
	ldr	w2, [x26]
	add	x20, x19, x25, lsl #3
	ldr	w4, [x28]
	str	x20, [sp]
	mov	x0, x21
	mov	w1, #1048576
	mov	w3, #1
	mov	w5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_radeon_bo_create
	cbnz	w0, LBB0_64
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [x20]
	mov	w1, #0
	bl	_radeon_bo_reserve
	mov	x24, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_55
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [x20]
	ldr	w1, [x28]
	sub	x2, x29, #100
	bl	_radeon_bo_pin
	cbnz	w0, LBB0_65
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [x20]
	sub	x1, x29, #112
	bl	_radeon_bo_kmap
	cbnz	w0, LBB0_66
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	x9, [x29, #-112]
	add	x8, x9, #256, lsl #12           ; =1048576
	cmp	x9, x8
	b.hs	LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x10, x9, #8
	cmp	x8, x10
	csel	x10, x8, x10, hi
	mvn	x11, x9
	add	x10, x10, x11
	cmp	x10, #56
	b.lo	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=1
	lsr	x10, x10, #3
	add	x10, x10, #1
	mov	x12, x9
	and	x11, x10, #0x3ffffffffffffff8
	add	x9, x9, x11, lsl #3
	mov	x13, x11
	ldp	q5, q4, [sp, #80]               ; 32-byte Folded Reload
	ldp	q7, q6, [sp, #48]               ; 32-byte Folded Reload
LBB0_25:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	dup.2d	v0, x12
	add.2d	v1, v0, v4
	add.2d	v2, v0, v5
	add.2d	v3, v0, v6
	fmov	x14, d1
	stp	q1, q2, [x14]
	add.2d	v0, v0, v7
	stp	q3, q0, [x14, #32]
	add	x12, x12, #64
	subs	x13, x13, #8
	b.ne	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	x10, x11
	b.eq	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x10, x9
LBB0_28:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x9, [x10], #8
	mov	x9, x10
	cmp	x10, x8
	b.lo	LBB0_28
LBB0_29:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [x20]
	bl	_radeon_bo_kunmap
	ldr	w8, [x27]
	ldp	w2, w1, [x29, #-104]
	ldr	w9, [x23]
	ldur	x10, [x29, #-96]
	ldr	w4, [x10]
	mov	w10, #1048576
	udiv	w3, w10, w9
	mov	x0, x21
	cmp	w22, w8
	b.ne	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_18 Depth=1
	bl	_radeon_copy_dma
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_18 Depth=1
	bl	_radeon_copy_blit
LBB0_32:                                ;   in Loop: Header=BB0_18 Depth=1
	str	x0, [sp, #128]
	bl	_IS_ERR
	cbnz	x0, LBB0_67
; %bb.33:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [sp, #128]
	mov	w1, #0
	bl	_radeon_fence_wait
	cbnz	w0, LBB0_68
; %bb.34:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x0, sp, #128
	bl	_radeon_fence_unref
	ldur	x0, [x29, #-96]
	sub	x1, x29, #120
	bl	_radeon_bo_kmap
	cbnz	w0, LBB0_69
; %bb.35:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	x11, [x29, #-120]
	add	x10, x11, #256, lsl #12         ; =1048576
	cmp	x11, x10
	b.hs	LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	x8, [x29, #-112]
	neg	x9, x8
LBB0_37:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11]
	cmp	x8, x12
	b.ne	LBB0_50
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	x12, x11
	str	x11, [x12], #8
	add	x8, x8, #8
	sub	x9, x9, #8
	mov	x11, x12
	cmp	x12, x10
	b.lo	LBB0_37
LBB0_39:                                ;   in Loop: Header=BB0_18 Depth=1
	ldur	x0, [x29, #-96]
	bl	_radeon_bo_kunmap
	ldr	w8, [x27]
	ldp	w1, w2, [x29, #-104]
	ldr	w9, [x23]
	ldur	x10, [x29, #-96]
	ldr	w4, [x10]
	mov	w10, #1048576
	udiv	w3, w10, w9
	mov	x0, x21
	cmp	w22, w8
	b.ne	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_18 Depth=1
	bl	_radeon_copy_dma
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_18 Depth=1
	bl	_radeon_copy_blit
LBB0_42:                                ;   in Loop: Header=BB0_18 Depth=1
	str	x0, [sp, #128]
	bl	_IS_ERR
	cbnz	x0, LBB0_70
; %bb.43:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [sp, #128]
	mov	w1, #0
	bl	_radeon_fence_wait
	cbnz	w0, LBB0_72
; %bb.44:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x0, sp, #128
	bl	_radeon_fence_unref
	ldr	x0, [x20]
	sub	x1, x29, #112
	bl	_radeon_bo_kmap
	cbnz	w0, LBB0_73
; %bb.45:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	x9, [x29, #-112]
	add	x10, x9, #256, lsl #12          ; =1048576
	cmp	x9, x10
	b.hs	LBB0_49
; %bb.46:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x8, #0
	ldur	x13, [x29, #-120]
LBB0_47:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9, x8]
	add	x12, x13, x8
	cmp	x12, x11
	b.ne	LBB0_51
; %bb.48:                               ;   in Loop: Header=BB0_47 Depth=2
	add	x8, x8, #8
	add	x11, x9, x8
	cmp	x11, x10
	b.lo	LBB0_47
LBB0_49:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [x20]
	bl	_radeon_bo_kunmap
	ldur	w8, [x29, #-100]
	ldr	w9, [x21, #8]
	sub	w1, w8, w9
Lloh31:
	adrp	x0, l_.str.15@PAGE
Lloh32:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_DRM_INFO
	mov	w24, #0
	add	x25, x25, #1
	ldr	x8, [sp, #120]                  ; 8-byte Folded Reload
	cmp	x25, x8
	b.ne	LBB0_18
	b	LBB0_61
LBB0_50:
	ldursw	x10, [x29, #-100]
	ldur	x11, [x29, #-112]
	ldpsw	x13, x14, [x21, #8]
	sub	x10, x10, x11
	sub	x10, x10, x13
	sub	x10, x10, x9
	ldursw	x13, [x29, #-104]
	sub	x11, x13, x11
	sub	x11, x11, x14
	sub	x9, x11, x9
	stp	x10, x9, [sp, #24]
	stp	x12, x8, [sp, #8]
	str	x25, [sp]
Lloh33:
	adrp	x0, l_.str.10@PAGE
Lloh34:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DRM_ERROR
	ldur	x0, [x29, #-96]
	b	LBB0_52
LBB0_51:
	ldursw	x9, [x29, #-104]
	ldpsw	x13, x10, [x21, #8]
	sub	x9, x9, x10
	add	x9, x9, x8
	ldursw	x10, [x29, #-100]
	sub	x10, x10, x13
	add	x8, x10, x8
	stp	x9, x8, [sp, #24]
	stp	x11, x12, [sp, #8]
	str	x25, [sp]
Lloh35:
	adrp	x0, l_.str.14@PAGE
Lloh36:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_DRM_ERROR
	ldr	x0, [x20]
LBB0_52:
	bl	_radeon_bo_kunmap
	mov	w24, #0
LBB0_53:
	ldr	x0, [x20]
	bl	_radeon_bo_unpin
LBB0_54:
	ldr	x0, [x20]
	bl	_radeon_bo_unreserve
LBB0_55:
	mov	x0, x20
	bl	_radeon_bo_unref
	cbz	w25, LBB0_58
LBB0_56:
	mov	w8, w25
	add	x21, x8, #1
	add	x8, x19, w25, uxtw #3
	sub	x20, x8, #8
	mov	x22, x20
LBB0_57:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	bl	_radeon_bo_unpin
	ldr	x0, [x22], #-8
	bl	_radeon_bo_unreserve
	mov	x0, x20
	bl	_radeon_bo_unref
	sub	x21, x21, #1
	mov	x20, x22
	cmp	x21, #1
	b.hi	LBB0_57
LBB0_58:
	ldr	x0, [sp, #128]
	cbz	x0, LBB0_61
; %bb.59:
	bl	_IS_ERR
	cbnz	x0, LBB0_61
; %bb.60:
	add	x0, sp, #128
	bl	_radeon_fence_unref
LBB0_61:
	ldur	x0, [x29, #-96]
	bl	_radeon_bo_unpin
LBB0_62:
	ldur	x0, [x29, #-96]
	bl	_radeon_bo_unreserve
LBB0_63:
	sub	x0, x29, #96
	bl	_radeon_bo_unref
	mov	x0, x19
	bl	_kfree
	cbnz	w24, LBB0_10
	b	LBB0_11
LBB0_64:
	mov	x24, x0
	str	x25, [sp]
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_ERROR
	cbnz	w25, LBB0_56
	b	LBB0_58
LBB0_65:
	mov	x24, x0
	str	x25, [sp]
Lloh39:
	adrp	x0, l_.str.5@PAGE
Lloh40:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_54
LBB0_66:
	mov	x24, x0
	str	x25, [sp]
Lloh41:
	adrp	x0, l_.str.6@PAGE
Lloh42:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_53
LBB0_67:
	str	x25, [sp]
Lloh43:
	adrp	x0, l_.str.7@PAGE
Lloh44:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_71
LBB0_68:
	mov	x24, x0
	str	x25, [sp]
Lloh45:
	adrp	x0, l_.str.8@PAGE
Lloh46:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_53
LBB0_69:
	mov	x24, x0
	str	x25, [sp]
Lloh47:
	adrp	x0, l_.str.9@PAGE
Lloh48:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_53
LBB0_70:
	str	x25, [sp]
Lloh49:
	adrp	x0, l_.str.11@PAGE
Lloh50:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_71:
	bl	_DRM_ERROR
	ldr	x0, [sp, #128]
	bl	_PTR_ERR
	mov	x24, x0
	b	LBB0_53
LBB0_72:
	mov	x24, x0
	str	x25, [sp]
Lloh51:
	adrp	x0, l_.str.12@PAGE
Lloh52:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_53
LBB0_73:
	mov	x24, x0
	str	x25, [sp]
Lloh53:
	adrp	x0, l_.str.13@PAGE
Lloh54:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_53
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpAdrp	Lloh23, Lloh25
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpAdrp	Lloh21, Lloh23
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpAdrp	Lloh19, Lloh21
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown copy method\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"Failed to allocate %d pointers\n"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_RADEON_GEM_DOMAIN_VRAM,4,2     ; @RADEON_GEM_DOMAIN_VRAM
l_.str.2:                               ; @.str.2
	.asciz	"Failed to create VRAM object\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to pin VRAM object\n"

	.comm	_RADEON_GEM_DOMAIN_GTT,4,2      ; @RADEON_GEM_DOMAIN_GTT
l_.str.4:                               ; @.str.4
	.asciz	"Failed to create GTT object %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to pin GTT object %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to map GTT object %d\n"

	.comm	_R600_RING_TYPE_DMA_INDEX,4,2   ; @R600_RING_TYPE_DMA_INDEX
	.comm	_RADEON_GPU_PAGE_SIZE,4,2       ; @RADEON_GPU_PAGE_SIZE
l_.str.7:                               ; @.str.7
	.asciz	"Failed GTT->VRAM copy %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"Failed to wait for GTT->VRAM fence %d\n"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to map VRAM object after copy %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"Incorrect GTT->VRAM copy %d: Got 0x%p, expected 0x%p (GTT/VRAM offset 0x%16llx/0x%16llx)\n"

l_.str.11:                              ; @.str.11
	.asciz	"Failed VRAM->GTT copy %d\n"

l_.str.12:                              ; @.str.12
	.asciz	"Failed to wait for VRAM->GTT fence %d\n"

l_.str.13:                              ; @.str.13
	.asciz	"Failed to map GTT object after copy %d\n"

l_.str.14:                              ; @.str.14
	.asciz	"Incorrect VRAM->GTT copy %d: Got 0x%p, expected 0x%p (VRAM/GTT offset 0x%16llx/0x%16llx)\n"

l_.str.15:                              ; @.str.15
	.asciz	"Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0x%llx\n"

l_.str.16:                              ; @.str.16
	.asciz	"Error while testing BO move\n"

	.no_dead_strip	_radeon_do_test_moves
.subsections_via_symbols
