	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cik_compute_set_wptr           ## -- Begin function cik_compute_set_wptr
	.p2align	4, 0x90
_cik_compute_set_wptr:                  ## @cik_compute_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
	movl	(%rsi), %eax
	movl	4(%rsi), %ecx
	movq	(%rdi), %rdx
	leal	3(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$2, %edi
	movslq	%edi, %rax
	movl	%ecx, (%rdx,%rax,4)
	movl	4(%rsi), %eax
	movl	8(%rsi), %edi
	movl	%eax, %esi
	popq	%rbp
	jmp	_WDOORBELL32                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cik_compute_set_wptr           ; -- Begin function cik_compute_set_wptr
	.p2align	2
_cik_compute_set_wptr:                  ; @cik_compute_set_wptr
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldp	w10, w9, [x1]
	add	w11, w10, #3
	cmp	w10, #0
	csel	w10, w11, w10, lt
	asr	w10, w10, #2
	str	w9, [x8, w10, sxtw #2]
	ldp	w1, w0, [x1, #4]
	b	_WDOORBELL32
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
