	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vce_v4_0_ring_get_rptr
_vce_v4_0_ring_get_rptr:                ## @vce_v4_0_ring_get_rptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	cmpl	$1, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_mmVCE_RB_RPTR2@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_mmVCE_RB_RPTR3@GOTPCREL(%rip), %rax
LBB0_3:
	movq	_VCE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.4:
	movq	_mmVCE_RB_RPTR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	movl	%eax, %edi
	popq	%rbp
	jmp	_RREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VCE,4,2                        ## @VCE
	.comm	_mmVCE_RB_RPTR,4,2              ## @mmVCE_RB_RPTR
	.comm	_mmVCE_RB_RPTR2,4,2             ## @mmVCE_RB_RPTR2
	.comm	_mmVCE_RB_RPTR3,4,2             ## @mmVCE_RB_RPTR3
	.no_dead_strip	_vce_v4_0_ring_get_rptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vce_v4_0_ring_get_rptr
_vce_v4_0_ring_get_rptr:                ; @vce_v4_0_ring_get_rptr
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _VCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VCE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _mmVCE_RB_RPTR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _mmVCE_RB_RPTR@GOTPAGEOFF]
Lloh4:
	adrp	x11, _mmVCE_RB_RPTR2@GOTPAGE
Lloh5:
	ldr	x11, [x11, _mmVCE_RB_RPTR2@GOTPAGEOFF]
Lloh6:
	adrp	x12, _mmVCE_RB_RPTR3@GOTPAGE
Lloh7:
	ldr	x12, [x12, _mmVCE_RB_RPTR3@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
	cmp	w8, #1
	csel	x9, x11, x12, eq
	cmp	w8, #0
	csel	x8, x10, x9, eq
	ldr	w2, [x8]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_RREG32
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VCE,4,2                        ; @VCE
	.comm	_mmVCE_RB_RPTR,4,2              ; @mmVCE_RB_RPTR
	.comm	_mmVCE_RB_RPTR2,4,2             ; @mmVCE_RB_RPTR2
	.comm	_mmVCE_RB_RPTR3,4,2             ; @mmVCE_RB_RPTR3
	.no_dead_strip	_vce_v4_0_ring_get_rptr
.subsections_via_symbols
