	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function lfo_advance
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lfo_advance:                           ## @lfo_advance
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cvtsi2sd	%rax, %xmm0
	imull	4(%rdi), %esi
	cvtsi2sd	%rsi, %xmm1
	cvtsi2sdl	8(%rdi), %xmm2
	movsd	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero
	divsd	%xmm2, %xmm3
	mulsd	%xmm1, %xmm3
	addsd	%xmm0, %xmm3
	cvttsd2si	%xmm3, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_fabs
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	movl	$1, %esi
	callq	_fmod
	movl	%eax, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lfo_advance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lfo_advance
_lfo_advance:                           ; @lfo_advance
	.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
	ldr	s0, [x0]
	ucvtf	d0, d0
	ldr	w8, [x0, #4]
	mul	w8, w8, w1
	ucvtf	d1, w8
	ldr	s2, [x0, #8]
	sshll.2d	v2, v2, #0
	scvtf	d2, d2
	fmov	d3, #1.00000000
	fdiv	d2, d3, d2
	fmadd	d0, d1, d2, d0
	fcvtzu	w0, d0
	bl	_fabs
	str	w0, [x19]
	cbz	w0, LBB0_2
; %bb.1:
	mov	w1, #1
	bl	_fmod
	str	w0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lfo_advance
.subsections_via_symbols
