	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function filter_frame
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter_frame:                          ## @filter_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, -56(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %r13
	movq	8(%rax), %rax
	movq	(%rax), %r14
	movq	8(%rsi), %rax
	movq	(%rax), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	(%rsi), %r12d
	movsd	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, -112(%rbp)               ## 16-byte Spill
	movsd	8(%r13), %xmm0                  ## xmm0 = mem[0],zero
	movaps	%xmm0, -96(%rbp)                ## 16-byte Spill
	movsd	16(%r13), %xmm0                 ## xmm0 = mem[0],zero
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_av_frame_is_writable
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_av_frame_copy_props
LBB0_4:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	testl	%r12d, %r12d
	movq	-136(%rbp), %r15                ## 8-byte Reload
	jle	LBB0_7
## %bb.5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	28(%r13), %rbx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	-80(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm0
	addq	$24, %r13
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm2, %xmm1
	movddup	-112(%rbp), %xmm2               ## 16-byte Folded Reload
                                        ## xmm2 = mem[0,0]
	movapd	%xmm2, -80(%rbp)                ## 16-byte Spill
	movddup	-96(%rbp), %xmm2                ## 16-byte Folded Reload
                                        ## xmm2 = mem[0,0]
	movapd	%xmm2, -192(%rbp)               ## 16-byte Spill
	movddup	%xmm1, %xmm1                    ## xmm1 = xmm1[0,0]
	movapd	%xmm1, -176(%rbp)               ## 16-byte Spill
	movddup	%xmm0, %xmm0                    ## xmm0 = xmm0[0,0]
	movapd	%xmm0, -160(%rbp)               ## 16-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movupd	(%r15,%r14), %xmm0
	mulpd	-192(%rbp), %xmm0               ## 16-byte Folded Reload
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	movq	%rbx, %rdi
	callq	_lfo_get_value
	movapd	%xmm0, -96(%rbp)                ## 16-byte Spill
	movq	%r13, %rdi
	callq	_lfo_get_value
	movapd	-96(%rbp), %xmm1                ## 16-byte Reload
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	mulpd	LCPI0_2(%rip), %xmm1
	addpd	-160(%rbp), %xmm1               ## 16-byte Folded Reload
	movapd	-112(%rbp), %xmm0               ## 16-byte Reload
	mulpd	%xmm0, %xmm1
	mulpd	-176(%rbp), %xmm0               ## 16-byte Folded Reload
	addpd	%xmm1, %xmm0
	mulpd	-80(%rbp), %xmm0                ## 16-byte Folded Reload
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movupd	%xmm0, (%rax,%r14)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_lfo_advance
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_lfo_advance
	addq	$16, %r14
	decl	%r12d
	jne	LBB0_6
LBB0_7:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	-120(%rbp), %rbx                ## 8-byte Folded Reload
	je	LBB0_9
## %bb.8:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
LBB0_9:
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ff_filter_frame
LBB0_10:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d15, d14, [sp, #16]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #32]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #48]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	.cfi_offset b12, -120
	.cfi_offset b13, -128
	.cfi_offset b14, -136
	.cfi_offset b15, -144
	mov	x20, x1
	mov	x22, x0
	str	x1, [sp, #8]
	ldr	x8, [x0]
	ldp	x23, x9, [x8]
	ldr	x19, [x9]
	ldr	x8, [x1, #8]
	ldr	x24, [x8]
	ldr	w25, [x1]
	ldp	d8, d9, [x23]
	ldr	d12, [x23, #16]
	mov	x0, x1
	bl	_av_frame_is_writable
	mov	x21, x20
	cbz	x0, LBB0_2
; %bb.1:
	cmp	w25, #1
	b.ge	LBB0_4
	b	LBB0_6
LBB0_2:
	ldr	w1, [x20]
	mov	x0, x22
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_10
; %bb.3:
	mov	x21, x0
	mov	x1, x20
	bl	_av_frame_copy_props
	cmp	w25, #1
	b.lt	LBB0_6
LBB0_4:
	ldr	x8, [x21, #8]
	ldr	x26, [x8]
	add	x22, x23, #28
	fmov	d10, #0.50000000
	fmul	d11, d12, d10
	add	x23, x23, #24
	fmov	d0, #1.00000000
	fsub	d12, d0, d12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d0, d1, [x24], #16
	fmul	d13, d9, d0
	fmul	d14, d9, d1
	mov	x0, x22
	bl	_lfo_get_value
	fmadd	d0, d0, d10, d11
	fmul	d15, d13, d0
	mov	x0, x23
	bl	_lfo_get_value
	fmadd	d0, d0, d10, d11
	fmul	d0, d14, d0
	fmadd	d1, d13, d12, d15
	fmadd	d0, d14, d12, d0
	fmul	d1, d8, d1
	fmul	d0, d8, d0
	stp	d1, d0, [x26], #16
	mov	x0, x22
	mov	w1, #1
	bl	_lfo_advance
	mov	x0, x23
	mov	w1, #1
	bl	_lfo_advance
	subs	w25, w25, #1
	b.ne	LBB0_5
LBB0_6:
	cmp	x21, x20
	b.eq	LBB0_8
; %bb.7:
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	bl	_ff_filter_frame
LBB0_9:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #48]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #32]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_10:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols
