	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cik_compute_stop
_cik_compute_stop:                      ## @cik_compute_stop
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	8(%rsi), %eax
	movl	(%rsi), %ecx
	movl	4(%rsi), %edx
	movl	%eax, %esi
	xorl	%r8d, %r8d
	callq	_cik_srbm_select
	movq	_CP_PQ_WPTR_POLL_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movq	_WPTR_POLL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rbx), %edi
	notl	%esi
	andl	%eax, %esi
	callq	_WREG32
	movq	_CP_HQD_ACTIVE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_RREG32
	testb	$1, %al
	je	LBB0_6
## %bb.1:
	movq	_CP_HQD_DEQUEUE_REQUEST@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	$1, %esi
	callq	_WREG32
	cmpq	$0, (%r12)
	jle	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_RREG32
	testb	$1, %al
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	callq	_udelay
	incq	%rbx
	cmpq	(%r12), %rbx
	jl	LBB0_3
LBB0_5:
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_WREG32
	movq	_CP_HQD_PQ_RPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_WREG32
	movq	_CP_HQD_PQ_WPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_WREG32
LBB0_6:
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cik_srbm_select                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CP_PQ_WPTR_POLL_CNTL,4,2       ## @CP_PQ_WPTR_POLL_CNTL
	.comm	_WPTR_POLL_EN,8,3               ## @WPTR_POLL_EN
	.comm	_CP_HQD_ACTIVE,4,2              ## @CP_HQD_ACTIVE
	.comm	_CP_HQD_DEQUEUE_REQUEST,4,2     ## @CP_HQD_DEQUEUE_REQUEST
	.comm	_CP_HQD_PQ_RPTR,4,2             ## @CP_HQD_PQ_RPTR
	.comm	_CP_HQD_PQ_WPTR,4,2             ## @CP_HQD_PQ_WPTR
	.no_dead_strip	_cik_compute_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cik_compute_stop
_cik_compute_stop:                      ; @cik_compute_stop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w2, w8, [x1, #4]
	ldr	w3, [x1]
	mov	x1, x8
	mov	w4, #0
	bl	_cik_srbm_select
Lloh0:
	adrp	x20, _CP_PQ_WPTR_POLL_CNTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CP_PQ_WPTR_POLL_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
Lloh2:
	adrp	x8, _WPTR_POLL_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WPTR_POLL_EN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	ldr	w8, [x20]
	bic	w1, w0, w9
	mov	x0, x8
	bl	_WREG32
Lloh5:
	adrp	x20, _CP_HQD_ACTIVE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _CP_HQD_ACTIVE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
	tbz	w0, #0, LBB0_6
; %bb.1:
Lloh7:
	adrp	x21, _CP_HQD_DEQUEUE_REQUEST@GOTPAGE
Lloh8:
	ldr	x21, [x21, _CP_HQD_DEQUEUE_REQUEST@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #1
	bl	_WREG32
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbz	w0, #0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	bl	_udelay
	add	x22, x22, #1
	ldr	x8, [x19]
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_5:
	ldr	w0, [x21]
	mov	w1, #0
	bl	_WREG32
Lloh9:
	adrp	x8, _CP_HQD_PQ_RPTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CP_HQD_PQ_RPTR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_WREG32
Lloh12:
	adrp	x8, _CP_HQD_PQ_WPTR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CP_HQD_PQ_WPTR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_WREG32
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cik_srbm_select
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CP_PQ_WPTR_POLL_CNTL,4,2       ; @CP_PQ_WPTR_POLL_CNTL
	.comm	_WPTR_POLL_EN,8,3               ; @WPTR_POLL_EN
	.comm	_CP_HQD_ACTIVE,4,2              ; @CP_HQD_ACTIVE
	.comm	_CP_HQD_DEQUEUE_REQUEST,4,2     ; @CP_HQD_DEQUEUE_REQUEST
	.comm	_CP_HQD_PQ_RPTR,4,2             ; @CP_HQD_PQ_RPTR
	.comm	_CP_HQD_PQ_WPTR,4,2             ; @CP_HQD_PQ_WPTR
	.no_dead_strip	_cik_compute_stop
.subsections_via_symbols
