	.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_get
LCPI0_0:
	.quad	0x3f847ae147ae147b              ## double 0.01
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0x4076800000000000              ## double 360
LCPI0_3:
	.quad	0x4066800000000000              ## double 180
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lfo_get:                               ## @lfo_get
	.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
	movsd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	movl	24(%rdi), %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_FFMAX
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_FFMIN
	cvtsi2sdq	16(%rbx), %xmm1
	movsd	-16(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	addsd	%xmm2, %xmm1
	cvttsd2si	%xmm1, %rsi
	movl	$100, %edi
	callq	_FFMIN
	ucomisd	LCPI0_1(%rip), %xmm0
	jbe	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_fmod
LBB0_2:
	mulsd	LCPI0_2(%rip), %xmm0
	movq	_M_PI@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm0
	divsd	LCPI0_3(%rip), %xmm0
	callq	_sin
	mulsd	8(%rbx), %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,8,3                       ## @M_PI
	.no_dead_strip	_lfo_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lfo_get
_lfo_get:                               ; @lfo_get
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	ldr	d8, [x0]
	ldr	w0, [x0, #24]
	mov	x8, #5243
	movk	x8, #18350, lsl #16
	movk	x8, #31457, lsl #32
	movk	x8, #16260, lsl #48
	fmov	d0, x8
	bl	_FFMAX
	mov	x1, x0
	mov	w0, #1
	bl	_FFMIN
	fdiv	d0, d8, d0
	ldr	d1, [x19, #16]
	scvtf	d1, d1
	fadd	d0, d0, d1
	fcvtzs	x1, d0
	mov	w0, #100
	bl	_FFMIN
	fmov	d1, #1.00000000
	fcmp	d0, d1
	b.le	LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_fmod
LBB0_2:
	mov	x8, #140737488355328
	movk	x8, #16502, lsl #48
	fmov	d1, x8
Lloh0:
	adrp	x8, _M_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
	fmul	d0, d0, d1
Lloh2:
	ldr	d1, [x8]
	fmul	d0, d0, d1
	mov	x8, #140737488355328
	movk	x8, #16486, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	bl	_sin
	ldr	d1, [x19, #8]
	fmul	d0, d1, d0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,8,3                       ; @M_PI
	.no_dead_strip	_lfo_get
.subsections_via_symbols
