	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function amdgpu_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
_amdgpu_do_test_moves:                  ## @amdgpu_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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	48(%rdi), %r15
	movq	$0, -56(%rbp)
	movl	(%rdi), %ebx
	movq	_AMDGPU_IB_POOL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$16, %eax
	subl	%eax, %ebx
	movq	_AMDGPU_MAX_RINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.1:
	movq	40(%r13), %rcx
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%edx, %edx
LBB0_9:
	testb	$1, %al
	je	LBB0_12
## %bb.10:
	movq	(%rcx,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	subl	(%rax), %ebx
LBB0_12:
	xorl	%eax, %eax
	cmpq	$0, 32(%r13)
	je	LBB0_14
## %bb.13:
	movq	_AMDGPU_GPU_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	subl	%eax, %ebx
	cmpq	$0, 24(%r13)
	je	LBB0_16
## %bb.15:
	subl	16(%r13), %ebx
LBB0_16:
	movl	%ebx, %r12d
	shrl	$20, %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	leaq	-176(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	$1048576, -176(%rbp)            ## imm = 0x100000
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
	movq	_AMDGPU_GEM_DOMAIN_VRAM@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, -168(%rbp)
	movq	$0, -144(%rbp)
	movq	_ttm_bo_type_kernel@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -152(%rbp)
	movq	$0, -160(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_amdgpu_bo_create
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_17:
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_20:
	movq	%r14, %rdi
	callq	_kfree
LBB0_81:
	leaq	L_.str.16(%rip), %rdi
	callq	_pr_warn
LBB0_82:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%eax, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	subl	(%rdi), %ebx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rcx,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	subl	(%rdi), %ebx
	jmp	LBB0_8
LBB0_21:
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_amdgpu_bo_reserve
	movl	%eax, %r14d
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_80
## %bb.22:
	movq	-56(%rbp), %rdi
	movq	(%r15), %rsi
	callq	_amdgpu_bo_pin
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_79
LBB0_24:
	movq	-56(%rbp), %rdi
	callq	_amdgpu_bo_gpu_offset
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	cmpl	$1048576, %ebx                  ## imm = 0x100000
	jb	LBB0_78
## %bb.25:
	cmpl	$2, %r12d
	movl	$1, %eax
	cmovael	%r12d, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movslq	-68(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	negq	%rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	_AMDGPU_GEM_DOMAIN_GTT@GOTPCREL(%rip), %rbx
	leaq	-176(%rbp), %rsi
LBB0_26:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_40 Depth 2
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_45 Depth 2
                                        ##     Child Loop BB0_54 Depth 2
                                        ##     Child Loop BB0_65 Depth 2
	movq	$0, -64(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -168(%rbp)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,8), %r12
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_amdgpu_bo_create
	testl	%eax, %eax
	jne	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	(%r12), %rdi
	xorl	%esi, %esi
	callq	_amdgpu_bo_reserve
	movl	%eax, %r14d
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_70
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	(%r12), %rdi
	movq	(%rbx), %rsi
	callq	_amdgpu_bo_pin
	testl	%eax, %eax
	jne	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	(%r12), %rdi
	callq	_amdgpu_ttm_alloc_gart
	testl	%eax, %eax
	jne	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdi
	callq	_amdgpu_bo_gpu_offset
	movl	%eax, %r15d
	movq	(%r12), %rdi
	leaq	-80(%rbp), %rsi
	callq	_amdgpu_bo_kmap
	testl	%eax, %eax
	jne	LBB0_34
## %bb.36:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-80(%rbp), %rdx
	leaq	1048576(%rdx), %rcx
	cmpq	%rcx, %rdx
	jae	LBB0_46
## %bb.37:                              ##   in Loop: Header=BB0_26 Depth=1
	leaq	8(%rdx), %rax
	cmpq	%rax, %rcx
	cmovaq	%rcx, %rax
	movq	%rdx, %r10
	notq	%r10
	addq	%rax, %r10
	cmpq	$24, %r10
	jb	LBB0_45
## %bb.38:                              ##   in Loop: Header=BB0_26 Depth=1
	shrq	$3, %r10
	incq	%r10
	movq	%r10, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %r9
	movq	%r9, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %ebx
	andl	$3, %ebx
	movq	%rdx, %rax
	cmpq	$12, %r9
	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_41
## %bb.39:                              ##   in Loop: Header=BB0_26 Depth=1
	andq	$-4, %rdi
	movq	%rdx, %rax
LBB0_40:                                ##   Parent Loop BB0_26 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, %rsi
	movdqu	%xmm1, (%rsi)
	movdqu	%xmm0, 16(%rsi)
	leaq	32(%rax), %rsi
	movq	%rsi, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, %xmm1
	paddq	%xmm2, %xmm1
	paddq	%xmm3, %xmm0
	movq	%xmm1, %rsi
	movdqu	%xmm1, (%rsi)
	movdqu	%xmm0, 16(%rsi)
	leaq	64(%rax), %rsi
	movq	%rsi, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, %xmm1
	paddq	%xmm2, %xmm1
	paddq	%xmm3, %xmm0
	movq	%xmm1, %rsi
	movdqu	%xmm1, (%rsi)
	movdqu	%xmm0, 16(%rsi)
	leaq	96(%rax), %rsi
	movq	%rsi, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, %xmm1
	paddq	%xmm2, %xmm1
	paddq	%xmm3, %xmm0
	movq	%xmm1, %rsi
	movdqu	%xmm1, (%rsi)
	movdqu	%xmm0, 16(%rsi)
	subq	$-128, %rax
	addq	$-4, %rdi
	jne	LBB0_40
LBB0_41:                                ##   in Loop: Header=BB0_26 Depth=1
	testq	%rbx, %rbx
	je	LBB0_43
LBB0_42:                                ##   Parent Loop BB0_26 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, %rsi
	movdqu	%xmm1, (%rsi)
	movdqu	%xmm0, 16(%rsi)
	addq	$32, %rax
	decq	%rbx
	jne	LBB0_42
LBB0_43:                                ##   in Loop: Header=BB0_26 Depth=1
	cmpq	%r8, %r10
	je	LBB0_46
## %bb.44:                              ##   in Loop: Header=BB0_26 Depth=1
	leaq	(%rdx,%r8,8), %rdx
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, (%rdx)
	addq	$8, %rdx
	cmpq	%rcx, %rdx
	jb	LBB0_45
LBB0_46:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	(%r12), %rdi
	callq	_amdgpu_bo_kunmap
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	$1048576, %ecx                  ## imm = 0x100000
	xorl	%r8d, %r8d
	leaq	-64(%rbp), %r9
	pushq	$0
	pushq	$0
	callq	_amdgpu_copy_buffer
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_dma_fence_wait
	testl	%eax, %eax
	jne	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-64(%rbp), %rdi
	callq	_dma_fence_put
	movq	-56(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	callq	_amdgpu_bo_kmap
	testl	%eax, %eax
	jne	LBB0_51
## %bb.52:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-104(%rbp), %rdi
	leaq	1048576(%rdi), %rbx
	cmpq	%rbx, %rdi
	jae	LBB0_57
## %bb.53:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-80(%rbp), %rcx
	movslq	%r15d, %rsi
	addq	%rcx, %rsi
	negq	%rsi
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	%rcx, %rax
	negq	%rax
LBB0_54:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_55
## %bb.56:                              ##   in Loop: Header=BB0_54 Depth=2
	movq	%rdi, (%rdi)
	addq	$8, %rcx
	addq	$8, %rdi
	addq	$-8, %rsi
	addq	$-8, %rax
	cmpq	%rbx, %rdi
	jb	LBB0_54
LBB0_57:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	-56(%rbp), %rdi
	callq	_amdgpu_bo_kunmap
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	$1048576, %ecx                  ## imm = 0x100000
	xorl	%r8d, %r8d
	leaq	-64(%rbp), %r9
	pushq	$0
	pushq	$0
	callq	_amdgpu_copy_buffer
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_58
## %bb.59:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_dma_fence_wait
	testl	%eax, %eax
	jne	LBB0_60
## %bb.61:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-64(%rbp), %rdi
	callq	_dma_fence_put
	movq	(%r12), %rdi
	leaq	-80(%rbp), %rsi
	callq	_amdgpu_bo_kmap
	testl	%eax, %eax
	jne	LBB0_62
## %bb.63:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-80(%rbp), %rsi
	leaq	1048576(%rsi), %rdi
	cmpq	%rdi, %rsi
	jae	LBB0_77
## %bb.64:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-104(%rbp), %rcx
	movslq	%r15d, %rax
	negq	%rax
	movq	-112(%rbp), %rbx                ## 8-byte Reload
LBB0_65:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_66
## %bb.76:                              ##   in Loop: Header=BB0_65 Depth=2
	addq	$8, %rsi
	addq	$8, %rcx
	addq	$-8, %rbx
	addq	$-8, %rax
	cmpq	%rdi, %rsi
	jb	LBB0_65
LBB0_77:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	(%r12), %rdi
	callq	_amdgpu_bo_kunmap
	movl	4(%r13), %eax
	subl	%eax, %r15d
	leaq	L_.str.15(%rip), %rdi
	movl	%r15d, %esi
	callq	_DRM_INFO
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	xorl	%r14d, %r14d
	cmpq	-128(%rbp), %r15                ## 8-byte Folded Reload
	movq	_AMDGPU_GEM_DOMAIN_GTT@GOTPCREL(%rip), %rbx
	leaq	-176(%rbp), %rsi
	jne	LBB0_26
	jmp	LBB0_78
LBB0_55:
	movslq	4(%r13), %rdi
	xorl	%r14d, %r14d
	movq	-80(%rbp), %rbx
	xorl	%r9d, %r9d
	subq	%rbx, %r9
	movq	%r9, %r8
	subq	%rdi, %r8
	subq	%rsi, %r8
	movslq	8(%r13), %rsi
	subq	%rsi, %r9
	subq	%rax, %r9
	leaq	L_.str.10(%rip), %rdi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movq	-56(%rbp), %rdi
	jmp	LBB0_67
LBB0_66:
	movslq	8(%r13), %r8
	addq	%rbx, %r8
	negq	%r8
	movslq	4(%r13), %r9
	addq	%rax, %r9
	negq	%r9
	leaq	L_.str.14(%rip), %rdi
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movq	(%r12), %rdi
LBB0_67:
	callq	_amdgpu_bo_kunmap
	jmp	LBB0_68
LBB0_27:
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_71
LBB0_30:
	movl	%eax, %r14d
	leaq	L_.str.4(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_69
LBB0_32:
	movl	%eax, %r14d
	movq	(%r12), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_68
LBB0_34:
	movl	%eax, %r14d
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_35
LBB0_47:
	movl	%eax, %r14d
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_35
LBB0_49:
	movl	%eax, %r14d
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_35
LBB0_51:
	movl	%eax, %r14d
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_35
LBB0_58:
	movl	%eax, %r14d
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_35
LBB0_60:
	movl	%eax, %r14d
	leaq	L_.str.12(%rip), %rdi
	jmp	LBB0_35
LBB0_62:
	movl	%eax, %r14d
	leaq	L_.str.13(%rip), %rdi
LBB0_35:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_68:
	movq	(%r12), %rdi
	callq	_amdgpu_bo_unpin
LBB0_69:
	movq	(%r12), %rdi
	callq	_amdgpu_bo_unreserve
LBB0_70:
	movq	%r12, %rdi
	callq	_amdgpu_bo_unref
LBB0_71:
	testl	%r15d, %r15d
	je	LBB0_74
## %bb.72:
	movl	%r15d, %r15d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,8), %rbx
	addq	$-8, %rbx
	incq	%r15
	.p2align	4, 0x90
LBB0_73:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_amdgpu_bo_unpin
	movq	(%rbx), %rdi
	callq	_amdgpu_bo_unreserve
	movq	%rbx, %rdi
	callq	_amdgpu_bo_unref
	decq	%r15
	addq	$-8, %rbx
	cmpq	$1, %r15
	ja	LBB0_73
LBB0_74:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_78
## %bb.75:
	callq	_dma_fence_put
LBB0_78:
	movq	-56(%rbp), %rdi
	callq	_amdgpu_bo_unpin
LBB0_79:
	movq	-56(%rbp), %rdi
	callq	_amdgpu_bo_unreserve
LBB0_80:
	leaq	-56(%rbp), %rdi
	callq	_amdgpu_bo_unref
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	testl	%r14d, %r14d
	jne	LBB0_81
	jmp	LBB0_82
	.cfi_endproc
                                        ## -- End function
	.comm	_AMDGPU_IB_POOL_SIZE,4,2        ## @AMDGPU_IB_POOL_SIZE
	.comm	_AMDGPU_MAX_RINGS,4,2           ## @AMDGPU_MAX_RINGS
	.comm	_AMDGPU_GPU_PAGE_SIZE,8,3       ## @AMDGPU_GPU_PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate %d pointers\n"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_AMDGPU_GEM_DOMAIN_VRAM,8,3     ## @AMDGPU_GEM_DOMAIN_VRAM
	.comm	_ttm_bo_type_kernel,4,2         ## @ttm_bo_type_kernel
L_.str.1:                               ## @.str.1
	.asciz	"Failed to create VRAM object\n"

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

	.comm	_AMDGPU_GEM_DOMAIN_GTT,8,3      ## @AMDGPU_GEM_DOMAIN_GTT
L_.str.3:                               ## @.str.3
	.asciz	"Failed to create GTT object %d\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"%p bind failed\n"

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

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	_amdgpu_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 amdgpu_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
_amdgpu_do_test_moves:                  ; @amdgpu_do_test_moves
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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	x20, x0
	ldr	x21, [x0, #48]
	stur	xzr, [x29, #-96]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AMDGPU_IB_POOL_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AMDGPU_IB_POOL_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w8, w8, w9, lsl #16
Lloh3:
	adrp	x9, _AMDGPU_MAX_RINGS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AMDGPU_MAX_RINGS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x10, [x20, #40]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x11]
	sub	w8, w8, w11
	b	LBB0_2
LBB0_5:
Lloh6:
	adrp	x9, _AMDGPU_GPU_PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AMDGPU_GPU_PAGE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldp	x11, x10, [x20, #24]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	sub	w24, w8, w9
	cbz	x11, LBB0_7
; %bb.6:
	ldr	w8, [x20, #16]
	sub	w24, w24, w8
LBB0_7:
	lsr	w22, w24, #20
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #8
	bl	_kcalloc
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.8:
	sub	x0, x29, #144
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	mov	w8, #1048576
	stur	w8, [x29, #-144]
Lloh12:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	stur	w8, [x29, #-104]
Lloh15:
	adrp	x23, _AMDGPU_GEM_DOMAIN_VRAM@GOTPAGE
Lloh16:
	ldr	x23, [x23, _AMDGPU_GEM_DOMAIN_VRAM@GOTPAGEOFF]
	ldr	x8, [x23]
	stur	xzr, [x29, #-112]
Lloh17:
	adrp	x9, _ttm_bo_type_kernel@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ttm_bo_type_kernel@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stur	w9, [x29, #-120]
	stp	x8, xzr, [x29, #-136]
	sub	x1, x29, #144
	sub	x2, x29, #96
	mov	x0, x20
	bl	_amdgpu_bo_create
	cbz	w0, LBB0_14
; %bb.9:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
	str	x22, [sp]
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
LBB0_11:
	bl	_DRM_ERROR
	mov	x0, x19
	bl	_kfree
LBB0_12:
Lloh24:
	adrp	x0, l_.str.16@PAGE
Lloh25:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_pr_warn
LBB0_13:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_14:
	ldur	x0, [x29, #-96]
	mov	w1, #0
	bl	_amdgpu_bo_reserve
	mov	x25, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_59
; %bb.15:
	ldur	x0, [x29, #-96]
	ldr	x1, [x23]
	bl	_amdgpu_bo_pin
	cbz	w0, LBB0_17
; %bb.16:
	mov	x25, x0
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_58
LBB0_17:
	ldur	x0, [x29, #-96]
	bl	_amdgpu_bo_gpu_offset
	cmp	w24, #256, lsl #12              ; =1048576
	b.hs	LBB0_19
; %bb.18:
	mov	w25, #0
	b	LBB0_57
LBB0_19:
	mov	x23, x0
	mov	x27, #0
	cmp	w22, #1
	csinc	w9, w22, wzr, hi
	sxtw	x24, w23
	neg	x8, x24
	stp	x8, x9, [sp, #120]              ; 16-byte Folded Spill
Lloh28:
	adrp	x28, _AMDGPU_GEM_DOMAIN_GTT@GOTPAGE
Lloh29:
	ldr	x28, [x28, _AMDGPU_GEM_DOMAIN_GTT@GOTPAGEOFF]
Lloh30:
	adrp	x8, lCPI0_0@PAGE
Lloh31:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #96]                   ; 16-byte Folded Spill
Lloh32:
	adrp	x8, lCPI0_1@PAGE
Lloh33:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	str	q0, [sp, #80]                   ; 16-byte Folded Spill
Lloh34:
	adrp	x8, lCPI0_2@PAGE
Lloh35:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	str	q0, [sp, #64]                   ; 16-byte Folded Spill
Lloh36:
	adrp	x8, lCPI0_3@PAGE
Lloh37:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
	str	q0, [sp, #48]                   ; 16-byte Folded Spill
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
                                        ;     Child Loop BB0_31 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
                                        ;     Child Loop BB0_44 Depth 2
	str	xzr, [sp, #136]
	ldr	x8, [x28]
	stur	x8, [x29, #-136]
	add	x22, x19, x27, lsl #3
	sub	x1, x29, #144
	mov	x0, x20
	mov	x2, x22
	bl	_amdgpu_bo_create
	cbnz	w0, LBB0_60
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [x22]
	mov	w1, #0
	bl	_amdgpu_bo_reserve
	mov	x25, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_52
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [x22]
	ldr	x1, [x28]
	bl	_amdgpu_bo_pin
	cbnz	w0, LBB0_61
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [x22]
	bl	_amdgpu_ttm_alloc_gart
	cbnz	w0, LBB0_62
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [x22]
	bl	_amdgpu_bo_gpu_offset
	mov	x26, x0
	ldr	x0, [x22]
	add	x1, sp, #152
	bl	_amdgpu_bo_kmap
	cbnz	w0, LBB0_63
; %bb.25:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x9, [sp, #152]
	add	x8, x9, #256, lsl #12           ; =1048576
	cmp	x9, x8
	b.hs	LBB0_32
; %bb.26:                               ;   in Loop: Header=BB0_20 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_30
; %bb.27:                               ;   in Loop: Header=BB0_20 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_28:                                ;   Parent Loop BB0_20 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_28
; %bb.29:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	x10, x11
	b.eq	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x10, x9
LBB0_31:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x9, [x10], #8
	mov	x9, x10
	cmp	x10, x8
	b.lo	LBB0_31
LBB0_32:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [x22]
	bl	_amdgpu_bo_kunmap
	add	x5, sp, #136
	mov	x0, x21
	mov	x1, x26
	mov	x2, x23
	mov	w3, #1048576
	mov	x4, #0
	mov	w6, #0
	mov	w7, #0
	bl	_amdgpu_copy_buffer
	cbnz	w0, LBB0_64
; %bb.33:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [sp, #136]
	mov	w1, #0
	bl	_dma_fence_wait
	cbnz	w0, LBB0_65
; %bb.34:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [sp, #136]
	bl	_dma_fence_put
	ldur	x0, [x29, #-96]
	add	x1, sp, #144
	bl	_amdgpu_bo_kmap
	cbnz	w0, LBB0_66
; %bb.35:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x12, [sp, #144]
	add	x9, x12, #256, lsl #12          ; =1048576
	cmp	x12, x9
	b.hs	LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [sp, #152]
	add	x10, x8, w26, sxtw
	neg	x10, x10
	add	x11, x24, x8
	neg	x11, x11
LBB0_37:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x12]
	cmp	x8, x13
	b.ne	LBB0_47
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	x13, x12
	str	x12, [x13], #8
	add	x8, x8, #8
	sub	x10, x10, #8
	sub	x11, x11, #8
	mov	x12, x13
	cmp	x13, x9
	b.lo	LBB0_37
LBB0_39:                                ;   in Loop: Header=BB0_20 Depth=1
	ldur	x0, [x29, #-96]
	bl	_amdgpu_bo_kunmap
	add	x5, sp, #136
	mov	x0, x21
	mov	x1, x23
	mov	x2, x26
	mov	w3, #1048576
	mov	x4, #0
	mov	w6, #0
	mov	w7, #0
	bl	_amdgpu_copy_buffer
	cbnz	w0, LBB0_67
; %bb.40:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [sp, #136]
	mov	w1, #0
	bl	_dma_fence_wait
	cbnz	w0, LBB0_68
; %bb.41:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [sp, #136]
	bl	_dma_fence_put
	ldr	x0, [x22]
	add	x1, sp, #152
	bl	_amdgpu_bo_kmap
	cbnz	w0, LBB0_69
; %bb.42:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x9, [sp, #152]
	add	x10, x9, #256, lsl #12          ; =1048576
	cmp	x9, x10
	b.hs	LBB0_46
; %bb.43:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x11, #0
	ldr	x8, [sp, #144]
	sub	x11, x11, w26, sxtw
	ldr	x12, [sp, #120]                 ; 8-byte Folded Reload
LBB0_44:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x9]
	cmp	x8, x13
	b.ne	LBB0_48
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=2
	add	x9, x9, #8
	add	x8, x8, #8
	sub	x12, x12, #8
	sub	x11, x11, #8
	cmp	x9, x10
	b.lo	LBB0_44
LBB0_46:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [x22]
	bl	_amdgpu_bo_kunmap
	ldr	w8, [x20, #4]
	sub	w1, w26, w8
Lloh38:
	adrp	x0, l_.str.15@PAGE
Lloh39:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_DRM_INFO
	mov	w25, #0
	add	x27, x27, #1
	ldr	x8, [sp, #128]                  ; 8-byte Folded Reload
	cmp	x27, x8
	b.ne	LBB0_20
	b	LBB0_57
LBB0_47:
	ldr	x9, [sp, #152]
	ldpsw	x12, x14, [x20, #4]
	neg	x9, x9
	sub	x12, x9, x12
	sub	x10, x12, x10
	sub	x9, x9, x14
	sub	x9, x9, x11
	stp	x10, x9, [sp, #24]
	stp	x13, x8, [sp, #8]
	str	x27, [sp]
Lloh40:
	adrp	x0, l_.str.10@PAGE
Lloh41:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DRM_ERROR
	ldur	x0, [x29, #-96]
	b	LBB0_49
LBB0_48:
	ldpsw	x10, x9, [x20, #4]
	add	x9, x9, x12
	neg	x9, x9
	add	x10, x10, x11
	neg	x10, x10
	stp	x9, x10, [sp, #24]
	stp	x13, x8, [sp, #8]
	str	x27, [sp]
Lloh42:
	adrp	x0, l_.str.14@PAGE
Lloh43:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_DRM_ERROR
	ldr	x0, [x22]
LBB0_49:
	bl	_amdgpu_bo_kunmap
	mov	w25, #0
LBB0_50:
	ldr	x0, [x22]
	bl	_amdgpu_bo_unpin
LBB0_51:
	ldr	x0, [x22]
	bl	_amdgpu_bo_unreserve
LBB0_52:
	mov	x0, x22
	bl	_amdgpu_bo_unref
	cbz	w27, LBB0_55
LBB0_53:
	mov	w8, w27
	add	x21, x8, #1
	add	x8, x19, w27, uxtw #3
	sub	x20, x8, #8
	mov	x22, x20
LBB0_54:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	bl	_amdgpu_bo_unpin
	ldr	x0, [x22], #-8
	bl	_amdgpu_bo_unreserve
	mov	x0, x20
	bl	_amdgpu_bo_unref
	sub	x21, x21, #1
	mov	x20, x22
	cmp	x21, #1
	b.hi	LBB0_54
LBB0_55:
	ldr	x0, [sp, #136]
	cbz	x0, LBB0_57
; %bb.56:
	bl	_dma_fence_put
LBB0_57:
	ldur	x0, [x29, #-96]
	bl	_amdgpu_bo_unpin
LBB0_58:
	ldur	x0, [x29, #-96]
	bl	_amdgpu_bo_unreserve
LBB0_59:
	sub	x0, x29, #96
	bl	_amdgpu_bo_unref
	mov	x0, x19
	bl	_kfree
	cbnz	w25, LBB0_12
	b	LBB0_13
LBB0_60:
	mov	x25, x0
	str	x27, [sp]
Lloh44:
	adrp	x0, l_.str.3@PAGE
Lloh45:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_ERROR
	cbnz	w27, LBB0_53
	b	LBB0_55
LBB0_61:
	mov	x25, x0
	str	x27, [sp]
Lloh46:
	adrp	x0, l_.str.4@PAGE
Lloh47:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_51
LBB0_62:
	mov	x25, x0
	ldr	x8, [x22]
	str	x8, [sp]
Lloh48:
	adrp	x0, l_.str.5@PAGE
Lloh49:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_50
LBB0_63:
	mov	x25, x0
	str	x27, [sp]
Lloh50:
	adrp	x0, l_.str.6@PAGE
Lloh51:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_50
LBB0_64:
	mov	x25, x0
	str	x27, [sp]
Lloh52:
	adrp	x0, l_.str.7@PAGE
Lloh53:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_50
LBB0_65:
	mov	x25, x0
	str	x27, [sp]
Lloh54:
	adrp	x0, l_.str.8@PAGE
Lloh55:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_50
LBB0_66:
	mov	x25, x0
	str	x27, [sp]
Lloh56:
	adrp	x0, l_.str.9@PAGE
Lloh57:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_50
LBB0_67:
	mov	x25, x0
	str	x27, [sp]
Lloh58:
	adrp	x0, l_.str.11@PAGE
Lloh59:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_50
LBB0_68:
	mov	x25, x0
	str	x27, [sp]
Lloh60:
	adrp	x0, l_.str.12@PAGE
Lloh61:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_50
LBB0_69:
	mov	x25, x0
	str	x27, [sp]
Lloh62:
	adrp	x0, l_.str.13@PAGE
Lloh63:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_50
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdr	Lloh36, Lloh37
	.loh AdrpAdrp	Lloh34, Lloh36
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpAdrp	Lloh32, Lloh34
	.loh AdrpLdr	Lloh32, Lloh33
	.loh AdrpAdrp	Lloh30, Lloh32
	.loh AdrpLdr	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_AMDGPU_IB_POOL_SIZE,4,2        ; @AMDGPU_IB_POOL_SIZE
	.comm	_AMDGPU_MAX_RINGS,4,2           ; @AMDGPU_MAX_RINGS
	.comm	_AMDGPU_GPU_PAGE_SIZE,8,3       ; @AMDGPU_GPU_PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate %d pointers\n"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_AMDGPU_GEM_DOMAIN_VRAM,8,3     ; @AMDGPU_GEM_DOMAIN_VRAM
	.comm	_ttm_bo_type_kernel,4,2         ; @ttm_bo_type_kernel
l_.str.1:                               ; @.str.1
	.asciz	"Failed to create VRAM object\n"

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

	.comm	_AMDGPU_GEM_DOMAIN_GTT,8,3      ; @AMDGPU_GEM_DOMAIN_GTT
l_.str.3:                               ; @.str.3
	.asciz	"Failed to create GTT object %d\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"%p bind failed\n"

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

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	_amdgpu_do_test_moves
.subsections_via_symbols
