	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cik_sdma_ring_set_wptr
_cik_sdma_ring_set_wptr:                ## @cik_sdma_ring_set_wptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_mmSDMA0_GFX_RB_WPTR@GOTPCREL(%rip), %rax
	movq	_sdma_offsets@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rdi), %rdx
	movq	(%rcx,%rdx,8), %rbx
	addq	(%rax), %rbx
	movl	8(%rdi), %edi
	callq	_lower_32_bits
	movzwl	%ax, %esi
	shll	$2, %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmSDMA0_GFX_RB_WPTR,8,3        ## @mmSDMA0_GFX_RB_WPTR
	.comm	_sdma_offsets,8,3               ## @sdma_offsets
	.no_dead_strip	_cik_sdma_ring_set_wptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cik_sdma_ring_set_wptr
_cik_sdma_ring_set_wptr:                ; @cik_sdma_ring_set_wptr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _mmSDMA0_GFX_RB_WPTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmSDMA0_GFX_RB_WPTR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _sdma_offsets@GOTPAGE
Lloh4:
	ldr	x9, [x9, _sdma_offsets@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x10, [x0]
	ldr	x9, [x9, x10, lsl #3]
	add	x19, x9, x8
	ldr	w0, [x0, #8]
	bl	_lower_32_bits
	ubfiz	w1, w0, #2, #16
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmSDMA0_GFX_RB_WPTR,8,3        ; @mmSDMA0_GFX_RB_WPTR
	.comm	_sdma_offsets,8,3               ; @sdma_offsets
	.no_dead_strip	_cik_sdma_ring_set_wptr
.subsections_via_symbols
