	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_v4_0_page_resume
_sdma_v4_0_page_resume:                 ## @sdma_v4_0_page_resume
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %ecx
	shlq	$5, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rcx), %rbx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movslq	(%rax,%rcx), %r13
	shlq	$2, %r13
	movq	_mmSDMA0_PAGE_RB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	_RREG32_SDMA
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_sdma_v4_0_rb_cntl
	movl	%eax, %r12d
	movl	(%r15), %esi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_RB_RPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_RB_RPTR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_RB_WPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_RB_WPTR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_RB_RPTR_ADDR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	addq	%r13, %rdi
	callq	_upper_32_bits
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_RB_RPTR_ADDR_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	addq	(%rbx), %r13
	movq	%r13, %rdi
	callq	_lower_32_bits
	andl	$-4, %eax
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_WREG32_SDMA
	movq	_SDMA0_PAGE_RB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RPTR_WRITEBACK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_mmSDMA0_PAGE_RB_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	4(%rbx,%r12), %edx
	sarl	$8, %edx
	movl	%r14d, %edi
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_RB_BASE_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_WREG32_SDMA
	movq	$0, 24(%rbx,%r12)
	movq	_mmSDMA0_PAGE_MINOR_PTR_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movl	$1, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_DOORBELL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_RREG32_SDMA
	movl	%eax, %r15d
	movq	_mmSDMA0_PAGE_DOORBELL_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_RREG32_SDMA
	movl	%eax, %r13d
	movq	_SDMA0_PAGE_DOORBELL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx,%r12), %ecx
	movl	%r15d, %edi
	callq	_REG_SET_FIELD
	movl	%eax, %r15d
	movq	_SDMA0_PAGE_DOORBELL_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%rbx,%r12), %ecx
	movl	%r13d, %edi
	callq	_REG_SET_FIELD
	movl	%eax, %r13d
	movq	_mmSDMA0_PAGE_DOORBELL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movl	%r15d, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_DOORBELL_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movl	%r13d, %edx
	callq	_WREG32_SDMA
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_sdma_v4_0_page_ring_set_wptr
	movq	_mmSDMA0_PAGE_MINOR_PTR_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_WREG32_SDMA
	movslq	16(%rbx,%r12), %rbx
	shlq	$2, %rbx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	addq	(%r12), %rbx
	movq	_mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_lower_32_bits
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_upper_32_bits
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_RB_WPTR_POLL_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_RREG32_SDMA
	movl	%eax, %r15d
	movq	_SDMA0_PAGE_RB_WPTR_POLL_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F32_POLL_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_amdgpu_sriov_vf
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_REG_SET_FIELD
	movq	_mmSDMA0_PAGE_RB_WPTR_POLL_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_WREG32_SDMA
	movq	_SDMA0_PAGE_RB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RB_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movq	_mmSDMA0_PAGE_RB_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_WREG32_SDMA
	movq	_mmSDMA0_PAGE_IB_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r14d, %edi
	callq	_RREG32_SDMA
	movq	_SDMA0_PAGE_IB_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_IB_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_WREG32_SDMA
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, 20(%rax,%rcx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mmSDMA0_PAGE_RB_CNTL,4,2       ## @mmSDMA0_PAGE_RB_CNTL
	.comm	_mmSDMA0_PAGE_RB_RPTR,4,2       ## @mmSDMA0_PAGE_RB_RPTR
	.comm	_mmSDMA0_PAGE_RB_RPTR_HI,4,2    ## @mmSDMA0_PAGE_RB_RPTR_HI
	.comm	_mmSDMA0_PAGE_RB_WPTR,4,2       ## @mmSDMA0_PAGE_RB_WPTR
	.comm	_mmSDMA0_PAGE_RB_WPTR_HI,4,2    ## @mmSDMA0_PAGE_RB_WPTR_HI
	.comm	_mmSDMA0_PAGE_RB_RPTR_ADDR_HI,4,2 ## @mmSDMA0_PAGE_RB_RPTR_ADDR_HI
	.comm	_mmSDMA0_PAGE_RB_RPTR_ADDR_LO,4,2 ## @mmSDMA0_PAGE_RB_RPTR_ADDR_LO
	.comm	_SDMA0_PAGE_RB_CNTL,4,2         ## @SDMA0_PAGE_RB_CNTL
	.comm	_RPTR_WRITEBACK_ENABLE,4,2      ## @RPTR_WRITEBACK_ENABLE
	.comm	_mmSDMA0_PAGE_RB_BASE,4,2       ## @mmSDMA0_PAGE_RB_BASE
	.comm	_mmSDMA0_PAGE_RB_BASE_HI,4,2    ## @mmSDMA0_PAGE_RB_BASE_HI
	.comm	_mmSDMA0_PAGE_MINOR_PTR_UPDATE,4,2 ## @mmSDMA0_PAGE_MINOR_PTR_UPDATE
	.comm	_mmSDMA0_PAGE_DOORBELL,4,2      ## @mmSDMA0_PAGE_DOORBELL
	.comm	_mmSDMA0_PAGE_DOORBELL_OFFSET,4,2 ## @mmSDMA0_PAGE_DOORBELL_OFFSET
	.comm	_SDMA0_PAGE_DOORBELL,4,2        ## @SDMA0_PAGE_DOORBELL
	.comm	_ENABLE,4,2                     ## @ENABLE
	.comm	_SDMA0_PAGE_DOORBELL_OFFSET,4,2 ## @SDMA0_PAGE_DOORBELL_OFFSET
	.comm	_OFFSET,4,2                     ## @OFFSET
	.comm	_mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_LO,4,2 ## @mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_LO
	.comm	_mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_HI,4,2 ## @mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_HI
	.comm	_mmSDMA0_PAGE_RB_WPTR_POLL_CNTL,4,2 ## @mmSDMA0_PAGE_RB_WPTR_POLL_CNTL
	.comm	_SDMA0_PAGE_RB_WPTR_POLL_CNTL,4,2 ## @SDMA0_PAGE_RB_WPTR_POLL_CNTL
	.comm	_F32_POLL_ENABLE,4,2            ## @F32_POLL_ENABLE
	.comm	_RB_ENABLE,4,2                  ## @RB_ENABLE
	.comm	_mmSDMA0_PAGE_IB_CNTL,4,2       ## @mmSDMA0_PAGE_IB_CNTL
	.comm	_SDMA0_PAGE_IB_CNTL,4,2         ## @SDMA0_PAGE_IB_CNTL
	.comm	_IB_ENABLE,4,2                  ## @IB_ENABLE
	.comm	_IB_SWAP_ENABLE,4,2             ## @IB_SWAP_ENABLE
	.no_dead_strip	_sdma_v4_0_page_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdma_v4_0_page_resume
_sdma_v4_0_page_resume:                 ; @sdma_v4_0_page_resume
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	mov	w9, w1
	add	x20, x8, x9, lsl #5
	ldrsw	x8, [x20]
	lsl	x24, x8, #2
Lloh0:
	adrp	x8, _mmSDMA0_PAGE_RB_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_CNTL@GOTPAGEOFF]
	ldr	w1, [x8]
	mov	x23, x8
	mov	x0, x19
	bl	_RREG32_SDMA
	mov	x1, x0
	mov	x0, x20
	bl	_sdma_v4_0_rb_cntl
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x22
	bl	_WREG32_SDMA
Lloh2:
	adrp	x8, _mmSDMA0_PAGE_RB_RPTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_RPTR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_WREG32_SDMA
Lloh5:
	adrp	x8, _mmSDMA0_PAGE_RB_RPTR_HI@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_RPTR_HI@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_WREG32_SDMA
Lloh8:
	adrp	x8, _mmSDMA0_PAGE_RB_WPTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_WPTR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_WREG32_SDMA
Lloh11:
	adrp	x8, _mmSDMA0_PAGE_RB_WPTR_HI@GOTPAGE
Lloh12:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_WPTR_HI@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_WREG32_SDMA
Lloh14:
	adrp	x8, _mmSDMA0_PAGE_RB_RPTR_ADDR_HI@GOTPAGE
Lloh15:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_RPTR_ADDR_HI@GOTPAGEOFF]
Lloh16:
	ldr	w23, [x8]
	ldr	x8, [x21]
	add	x0, x8, x24
	bl	_upper_32_bits
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_WREG32_SDMA
Lloh17:
	adrp	x8, _mmSDMA0_PAGE_RB_RPTR_ADDR_LO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_RPTR_ADDR_LO@GOTPAGEOFF]
Lloh19:
	ldr	w23, [x8]
	ldr	x8, [x21]
	add	x0, x8, x24
	bl	_lower_32_bits
	and	w2, w0, #0xfffffffc
	mov	x0, x19
	mov	x1, x23
	bl	_WREG32_SDMA
Lloh20:
	adrp	x28, _SDMA0_PAGE_RB_CNTL@GOTPAGE
Lloh21:
	ldr	x28, [x28, _SDMA0_PAGE_RB_CNTL@GOTPAGEOFF]
	ldr	w1, [x28]
Lloh22:
	adrp	x8, _RPTR_WRITEBACK_ENABLE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RPTR_WRITEBACK_ENABLE@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x22, x0
Lloh25:
	adrp	x8, _mmSDMA0_PAGE_RB_BASE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_BASE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w8, [x20, #4]
	asr	w2, w8, #8
	mov	x0, x19
	bl	_WREG32_SDMA
Lloh28:
	adrp	x8, _mmSDMA0_PAGE_RB_BASE_HI@GOTPAGE
Lloh29:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_BASE_HI@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WREG32_SDMA
	str	xzr, [x20, #24]
Lloh31:
	adrp	x25, _mmSDMA0_PAGE_MINOR_PTR_UPDATE@GOTPAGE
Lloh32:
	ldr	x25, [x25, _mmSDMA0_PAGE_MINOR_PTR_UPDATE@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #1
	bl	_WREG32_SDMA
Lloh33:
	adrp	x27, _mmSDMA0_PAGE_DOORBELL@GOTPAGE
Lloh34:
	ldr	x27, [x27, _mmSDMA0_PAGE_DOORBELL@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_RREG32_SDMA
	mov	x23, x0
Lloh35:
	adrp	x26, _mmSDMA0_PAGE_DOORBELL_OFFSET@GOTPAGE
Lloh36:
	ldr	x26, [x26, _mmSDMA0_PAGE_DOORBELL_OFFSET@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_RREG32_SDMA
	mov	x24, x0
Lloh37:
	adrp	x8, _SDMA0_PAGE_DOORBELL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SDMA0_PAGE_DOORBELL@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _ENABLE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENABLE@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	ldr	w3, [x20, #8]
	mov	x0, x23
	bl	_REG_SET_FIELD
	mov	x23, x0
Lloh43:
	adrp	x8, _SDMA0_PAGE_DOORBELL_OFFSET@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SDMA0_PAGE_DOORBELL_OFFSET@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
Lloh46:
	adrp	x8, _OFFSET@GOTPAGE
Lloh47:
	ldr	x8, [x8, _OFFSET@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	ldr	w3, [x20, #12]
	mov	x0, x24
	bl	_REG_SET_FIELD
	mov	x24, x0
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x23
	bl	_WREG32_SDMA
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x24
	bl	_WREG32_SDMA
	mov	x0, x20
	bl	_sdma_v4_0_page_ring_set_wptr
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_WREG32_SDMA
	ldr	x8, [x21]
	ldrsw	x9, [x20, #16]
	add	x23, x8, x9, lsl #2
Lloh49:
	adrp	x8, _mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_LO@GOTPAGE
Lloh50:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_LO@GOTPAGEOFF]
Lloh51:
	ldr	w24, [x8]
	mov	x0, x23
	bl	_lower_32_bits
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_WREG32_SDMA
Lloh52:
	adrp	x8, _mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_HI@GOTPAGE
Lloh53:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_HI@GOTPAGEOFF]
Lloh54:
	ldr	w24, [x8]
	mov	x0, x23
	bl	_upper_32_bits
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_WREG32_SDMA
Lloh55:
	adrp	x26, _mmSDMA0_PAGE_RB_WPTR_POLL_CNTL@GOTPAGE
Lloh56:
	ldr	x26, [x26, _mmSDMA0_PAGE_RB_WPTR_POLL_CNTL@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_RREG32_SDMA
	mov	x23, x0
Lloh57:
	adrp	x8, _SDMA0_PAGE_RB_WPTR_POLL_CNTL@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SDMA0_PAGE_RB_WPTR_POLL_CNTL@GOTPAGEOFF]
Lloh59:
	ldr	w24, [x8]
Lloh60:
	adrp	x8, _F32_POLL_ENABLE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _F32_POLL_ENABLE@GOTPAGEOFF]
Lloh62:
	ldr	w25, [x8]
	mov	x0, x21
	bl	_amdgpu_sriov_vf
	cmp	x0, #0
	cset	w3, ne
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_REG_SET_FIELD
	mov	x2, x0
	ldr	w1, [x26]
	mov	x0, x19
	bl	_WREG32_SDMA
	ldr	w1, [x28]
Lloh63:
	adrp	x8, _RB_ENABLE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _RB_ENABLE@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x2, x0
Lloh66:
	adrp	x8, _mmSDMA0_PAGE_RB_CNTL@GOTPAGE
Lloh67:
	ldr	x8, [x8, _mmSDMA0_PAGE_RB_CNTL@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WREG32_SDMA
Lloh69:
	adrp	x21, _mmSDMA0_PAGE_IB_CNTL@GOTPAGE
Lloh70:
	ldr	x21, [x21, _mmSDMA0_PAGE_IB_CNTL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_RREG32_SDMA
Lloh71:
	adrp	x8, _SDMA0_PAGE_IB_CNTL@GOTPAGE
Lloh72:
	ldr	x8, [x8, _SDMA0_PAGE_IB_CNTL@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
Lloh74:
	adrp	x8, _IB_ENABLE@GOTPAGE
Lloh75:
	ldr	x8, [x8, _IB_ENABLE@GOTPAGEOFF]
Lloh76:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x2, x0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_WREG32_SDMA
	mov	w8, #1
	str	w8, [x20, #20]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mmSDMA0_PAGE_RB_CNTL,4,2       ; @mmSDMA0_PAGE_RB_CNTL
	.comm	_mmSDMA0_PAGE_RB_RPTR,4,2       ; @mmSDMA0_PAGE_RB_RPTR
	.comm	_mmSDMA0_PAGE_RB_RPTR_HI,4,2    ; @mmSDMA0_PAGE_RB_RPTR_HI
	.comm	_mmSDMA0_PAGE_RB_WPTR,4,2       ; @mmSDMA0_PAGE_RB_WPTR
	.comm	_mmSDMA0_PAGE_RB_WPTR_HI,4,2    ; @mmSDMA0_PAGE_RB_WPTR_HI
	.comm	_mmSDMA0_PAGE_RB_RPTR_ADDR_HI,4,2 ; @mmSDMA0_PAGE_RB_RPTR_ADDR_HI
	.comm	_mmSDMA0_PAGE_RB_RPTR_ADDR_LO,4,2 ; @mmSDMA0_PAGE_RB_RPTR_ADDR_LO
	.comm	_SDMA0_PAGE_RB_CNTL,4,2         ; @SDMA0_PAGE_RB_CNTL
	.comm	_RPTR_WRITEBACK_ENABLE,4,2      ; @RPTR_WRITEBACK_ENABLE
	.comm	_mmSDMA0_PAGE_RB_BASE,4,2       ; @mmSDMA0_PAGE_RB_BASE
	.comm	_mmSDMA0_PAGE_RB_BASE_HI,4,2    ; @mmSDMA0_PAGE_RB_BASE_HI
	.comm	_mmSDMA0_PAGE_MINOR_PTR_UPDATE,4,2 ; @mmSDMA0_PAGE_MINOR_PTR_UPDATE
	.comm	_mmSDMA0_PAGE_DOORBELL,4,2      ; @mmSDMA0_PAGE_DOORBELL
	.comm	_mmSDMA0_PAGE_DOORBELL_OFFSET,4,2 ; @mmSDMA0_PAGE_DOORBELL_OFFSET
	.comm	_SDMA0_PAGE_DOORBELL,4,2        ; @SDMA0_PAGE_DOORBELL
	.comm	_ENABLE,4,2                     ; @ENABLE
	.comm	_SDMA0_PAGE_DOORBELL_OFFSET,4,2 ; @SDMA0_PAGE_DOORBELL_OFFSET
	.comm	_OFFSET,4,2                     ; @OFFSET
	.comm	_mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_LO,4,2 ; @mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_LO
	.comm	_mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_HI,4,2 ; @mmSDMA0_PAGE_RB_WPTR_POLL_ADDR_HI
	.comm	_mmSDMA0_PAGE_RB_WPTR_POLL_CNTL,4,2 ; @mmSDMA0_PAGE_RB_WPTR_POLL_CNTL
	.comm	_SDMA0_PAGE_RB_WPTR_POLL_CNTL,4,2 ; @SDMA0_PAGE_RB_WPTR_POLL_CNTL
	.comm	_F32_POLL_ENABLE,4,2            ; @F32_POLL_ENABLE
	.comm	_RB_ENABLE,4,2                  ; @RB_ENABLE
	.comm	_mmSDMA0_PAGE_IB_CNTL,4,2       ; @mmSDMA0_PAGE_IB_CNTL
	.comm	_SDMA0_PAGE_IB_CNTL,4,2         ; @SDMA0_PAGE_IB_CNTL
	.comm	_IB_ENABLE,4,2                  ; @IB_ENABLE
	.comm	_IB_SWAP_ENABLE,4,2             ; @IB_SWAP_ENABLE
	.no_dead_strip	_sdma_v4_0_page_resume
.subsections_via_symbols
