	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctr_csnd_audio_update_playpos
_ctr_csnd_audio_update_playpos:         ## @ctr_csnd_audio_update_playpos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_svcGetSystemTick
	movl	(%rbx), %ecx
	subl	%ecx, %eax
	movq	_CTR_CSND_CPU_TICKS_PER_SAMPLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cltd
	idivl	%esi
	movl	4(%rbx), %edx
	addl	%eax, %edx
	movq	_CTR_CSND_AUDIO_COUNT_MASK@GOTPCREL(%rip), %rdi
	andl	(%rdi), %edx
	movl	%edx, 4(%rbx)
	imull	%esi, %eax
	addl	%ecx, %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTR_CSND_CPU_TICKS_PER_SAMPLE,4,2 ## @CTR_CSND_CPU_TICKS_PER_SAMPLE
	.comm	_CTR_CSND_AUDIO_COUNT_MASK,4,2  ## @CTR_CSND_AUDIO_COUNT_MASK
	.no_dead_strip	_ctr_csnd_audio_update_playpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctr_csnd_audio_update_playpos
_ctr_csnd_audio_update_playpos:         ; @ctr_csnd_audio_update_playpos
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_svcGetSystemTick
	ldp	w8, w9, [x19]
	sub	w10, w0, w8
Lloh0:
	adrp	x11, _CTR_CSND_CPU_TICKS_PER_SAMPLE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _CTR_CSND_CPU_TICKS_PER_SAMPLE@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	sdiv	w10, w10, w11
Lloh3:
	adrp	x12, _CTR_CSND_AUDIO_COUNT_MASK@GOTPAGE
Lloh4:
	ldr	x12, [x12, _CTR_CSND_AUDIO_COUNT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	add	w9, w9, w10
	and	w9, w9, w12
	madd	w8, w10, w11, w8
	stp	w8, w9, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CTR_CSND_CPU_TICKS_PER_SAMPLE,4,2 ; @CTR_CSND_CPU_TICKS_PER_SAMPLE
	.comm	_CTR_CSND_AUDIO_COUNT_MASK,4,2  ; @CTR_CSND_AUDIO_COUNT_MASK
	.no_dead_strip	_ctr_csnd_audio_update_playpos
.subsections_via_symbols
