	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_volume
_update_volume:                         ## @update_volume
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	movsd	(%rax,%rcx,8), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm1, %xmm0
	xorpd	%xmm2, %xmm2
	xorl	%edx, %edx
	ucomisd	%xmm2, %xmm0
	setbe	%dl
	movq	8(%rdi,%rdx,8), %rdx
	mulsd	(%rdx,%rcx,8), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, (%rax,%rcx,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_volume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_volume
_update_volume:                         ; @update_volume
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0]
	sbfiz	x9, x1, #3, #32
	ldr	d1, [x8, x9]
	fsub	d0, d0, d1
	fcmp	d0, #0.0
	mov	w10, #16
	mov	w11, #8
	csel	x10, x11, x10, gt
	ldr	x10, [x0, x10]
	ldr	d2, [x10, x9]
	fmadd	d0, d0, d2, d1
	str	d0, [x8, x9]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_volume
.subsections_via_symbols
