	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function updateSound
_updateSound:                           ## @updateSound
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	shrl	$31, %eax
	addl	%edi, %eax
	sarl	%eax
	movq	_snd_all_samples@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	cltq
	movq	_PsndOut@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	_snd_cbuff@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	_snd_cbuf_samples@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	cmovgeq	%rdx, %rax
	movq	%rax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_all_samples,4,2            ## @snd_all_samples
	.comm	_PsndOut,8,3                    ## @PsndOut
	.comm	_snd_cbuff,8,3                  ## @snd_cbuff
	.comm	_snd_cbuf_samples,8,3           ## @snd_cbuf_samples
	.no_dead_strip	_updateSound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function updateSound
_updateSound:                           ; @updateSound
	.cfi_startproc
; %bb.0:
	cmp	w0, #0
	cinc	w8, w0, lt
Lloh0:
	adrp	x9, _snd_all_samples@GOTPAGE
Lloh1:
	ldr	x9, [x9, _snd_all_samples@GOTPAGEOFF]
	asr	w8, w8, #1
	ldr	w10, [x9]
	add	w10, w10, w8
	str	w10, [x9]
Lloh2:
	adrp	x9, _PsndOut@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PsndOut@GOTPAGEOFF]
	ldr	x10, [x9]
	add	x8, x10, w8, sxtw
Lloh4:
	adrp	x10, _snd_cbuff@GOTPAGE
Lloh5:
	ldr	x10, [x10, _snd_cbuff@GOTPAGEOFF]
Lloh6:
	adrp	x11, _snd_cbuf_samples@GOTPAGE
Lloh7:
	ldr	x11, [x11, _snd_cbuf_samples@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	ldr	x11, [x11]
	sub	x12, x8, x10
	cmp	x12, x11
	csel	x8, x8, x10, lt
	str	x8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_all_samples,4,2            ; @snd_all_samples
	.comm	_PsndOut,8,3                    ; @PsndOut
	.comm	_snd_cbuff,8,3                  ; @snd_cbuff
	.comm	_snd_cbuf_samples,8,3           ; @snd_cbuf_samples
	.no_dead_strip	_updateSound
.subsections_via_symbols
