	.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_value
LCPI0_0:
	.quad	0x3f847ae147ae147b              ## double 0.01
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0xbff0000000000000              ## double -1
LCPI0_3:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_5:
	.quad	0x3fe8000000000000              ## double 0.75
LCPI0_6:
	.quad	0x3fd0000000000000              ## double 0.25
LCPI0_7:
	.quad	0x4010000000000000              ## double 4
LCPI0_8:
	.quad	0xc010000000000000              ## double -4
LCPI0_9:
	.quad	0x4000000000000000              ## double 2
LCPI0_10:
	.quad	0xbfe8000000000000              ## double -0.75
	.section	__TEXT,__literal16,16byte_literals
	.p2align	3
LCPI0_4:
	.quad	0x3ff0000000000000              ## double 1
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lfo_get_value:                         ## @lfo_get_value
	.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	32(%rdi), %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_FFMAX
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_FFMIN
	cvtsi2sdq	24(%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:
	movl	8(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_13
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	ucomisd	LCPI0_5(%rip), %xmm0
	jbe	LBB0_7
## %bb.6:
	addsd	LCPI0_10(%rip), %xmm0
	mulsd	LCPI0_7(%rip), %xmm0
	addsd	LCPI0_2(%rip), %xmm0
	jmp	LBB0_14
LBB0_4:
	addsd	%xmm0, %xmm0
	movq	_M_PI@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm0
	callq	_sin
	jmp	LBB0_14
LBB0_11:
	addsd	%xmm0, %xmm0
	addsd	LCPI0_2(%rip), %xmm0
	jmp	LBB0_14
LBB0_12:
	addsd	%xmm0, %xmm0
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
	jmp	LBB0_14
LBB0_13:
	xorl	%edi, %edi
	callq	_av_assert0
                                        ## implicit-def: $xmm0
	jmp	LBB0_14
LBB0_10:
	movsd	LCPI0_3(%rip), %xmm1            ## xmm1 = mem[0],zero
	xorl	%eax, %eax
	ucomisd	%xmm0, %xmm1
	seta	%al
	leaq	LCPI0_4(%rip), %rcx
	movsd	(%rcx,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	jmp	LBB0_14
LBB0_7:
	ucomisd	LCPI0_6(%rip), %xmm0
	jbe	LBB0_9
## %bb.8:
	mulsd	LCPI0_8(%rip), %xmm0
	addsd	LCPI0_9(%rip), %xmm0
	jmp	LBB0_14
LBB0_9:
	mulsd	LCPI0_7(%rip), %xmm0
LBB0_14:
	mulsd	16(%rbx), %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_M_PI,8,3                       ## @M_PI
	.no_dead_strip	_lfo_get_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lfo_get_value
_lfo_get_value:                         ; @lfo_get_value
	.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, #32]
	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, #24]
	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:
	ldr	w8, [x19, #8]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	fmov	d1, #0.75000000
	fcmp	d0, d1
	b.le	LBB0_11
; %bb.5:
	fmov	d1, #-0.75000000
	fadd	d0, d0, d1
	fmov	d1, #-1.00000000
	fmov	d2, #4.00000000
	fmadd	d0, d0, d2, d1
	b	LBB0_14
LBB0_6:
	fadd	d0, d0, d0
Lloh2:
	adrp	x8, _M_PI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh4:
	ldr	d1, [x8]
	fmul	d0, d0, d1
	bl	_sin
	b	LBB0_14
LBB0_7:
	fmov	d1, #-1.00000000
	fmov	d2, #2.00000000
	fmadd	d0, d0, d2, d1
	b	LBB0_14
LBB0_8:
	fmov	d1, #1.00000000
	fmov	d2, #-2.00000000
	fmadd	d0, d0, d2, d1
	b	LBB0_14
LBB0_9:
	mov	w0, #0
	bl	_av_assert0
                                        ; implicit-def: $d0
	b	LBB0_14
LBB0_10:
	fmov	d1, #0.50000000
	fcmp	d0, d1
	fmov	d0, #1.00000000
	fmov	d1, #-1.00000000
	fcsel	d0, d1, d0, mi
	b	LBB0_14
LBB0_11:
	fmov	d1, #0.25000000
	fcmp	d0, d1
	b.le	LBB0_13
; %bb.12:
	fmov	d1, #2.00000000
	fmov	d2, #-4.00000000
	fmadd	d0, d0, d2, d1
	b	LBB0_14
LBB0_13:
	fmov	d1, #4.00000000
	fmul	d0, d0, d1
LBB0_14:
	ldr	d1, [x19, #16]
	fmul	d0, d0, d1
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
                                        ; -- End function
	.comm	_M_PI,8,3                       ; @M_PI
	.no_dead_strip	_lfo_get_value
.subsections_via_symbols
