	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v6_0_ring_get_wptr
_gfx_v6_0_ring_get_wptr:                ## @gfx_v6_0_ring_get_wptr
	.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), %rax
	cmpq	%rdi, 8(%rax)
	je	LBB0_1
## %bb.3:
	movq	(%rax), %rax
	cmpq	%rdi, %rax
	je	LBB0_4
## %bb.5:
	addq	$8, %rax
	cmpq	%rdi, %rax
	je	LBB0_6
## %bb.7:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
LBB0_1:
	movq	_mmCP_RB0_WPTR@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_mmCP_RB1_WPTR@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_mmCP_RB2_WPTR@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	popq	%rbp
	jmp	_RREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmCP_RB0_WPTR,4,2              ## @mmCP_RB0_WPTR
	.comm	_mmCP_RB1_WPTR,4,2              ## @mmCP_RB1_WPTR
	.comm	_mmCP_RB2_WPTR,4,2              ## @mmCP_RB2_WPTR
	.no_dead_strip	_gfx_v6_0_ring_get_wptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v6_0_ring_get_wptr
_gfx_v6_0_ring_get_wptr:                ; @gfx_v6_0_ring_get_wptr
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	cmp	x9, x0
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_5
; %bb.2:
	add	x8, x8, #8
	cmp	x8, x0
	b.eq	LBB0_6
; %bb.3:
	b	_BUG
LBB0_4:
Lloh0:
	adrp	x8, _mmCP_RB0_WPTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmCP_RB0_WPTR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	_RREG32
LBB0_5:
Lloh3:
	adrp	x8, _mmCP_RB1_WPTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mmCP_RB1_WPTR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	_RREG32
LBB0_6:
Lloh6:
	adrp	x8, _mmCP_RB2_WPTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mmCP_RB2_WPTR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	_RREG32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_mmCP_RB0_WPTR,4,2              ; @mmCP_RB0_WPTR
	.comm	_mmCP_RB1_WPTR,4,2              ; @mmCP_RB1_WPTR
	.comm	_mmCP_RB2_WPTR,4,2              ; @mmCP_RB2_WPTR
	.no_dead_strip	_gfx_v6_0_ring_get_wptr
.subsections_via_symbols
