	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_wptr
_get_wptr:                              ## @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
	movl	(%rdi), %eax
	subl	4(%rdi), %eax
	movq	_MSM_GPU_RINGBUFFER_SZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	sarl	$2, %ecx
	cltd
	idivl	%ecx
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSM_GPU_RINGBUFFER_SZ,4,2      ## @MSM_GPU_RINGBUFFER_SZ
	.no_dead_strip	_get_wptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_wptr
_get_wptr:                              ; @get_wptr
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
Lloh0:
	adrp	x10, _MSM_GPU_RINGBUFFER_SZ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MSM_GPU_RINGBUFFER_SZ@GOTPAGEOFF]
	sub	w8, w8, w9
Lloh2:
	ldr	w9, [x10]
	asr	w9, w9, #2
	sdiv	w10, w8, w9
	msub	w0, w10, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSM_GPU_RINGBUFFER_SZ,4,2      ; @MSM_GPU_RINGBUFFER_SZ
	.no_dead_strip	_get_wptr
.subsections_via_symbols
