	.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	0xbfe0000000000000              ## 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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rsi, -80(%rbp)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rbx
	movq	8(%rbx), %r13
	movq	%rsi, %rdi
	callq	_av_frame_is_writable
	movq	%r15, %rsi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%rax, %r14
	callq	_av_frame_copy_props
	movq	%r14, %rsi
LBB0_4:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	(%r15), %ebx
	testl	%ebx, %ebx
	jle	LBB0_15
## %bb.5:
	movl	(%r13), %ecx
	movl	4(%r13), %r8d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	xorl	%r9d, %r9d
	movsd	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %ebx
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	24(%r13), %eax
	incl	%eax
	cltd
	idivl	8(%r13)
	movl	%edx, 24(%r13)
	incq	%r9
	movslq	%ebx, %rax
	cmpq	%rax, %r9
	jge	LBB0_15
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	leal	(%rcx,%r8), %eax
	decl	%eax
	cltd
	idivl	%r8d
	movl	%edx, (%r13)
	testl	%edi, %edi
	jle	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	addl	$2, %esi
	movl	%esi, %eax
	cltd
	idivl	%r8d
	movslq	%edx, %rax
	movsd	(%rdi,%rax,8), %xmm4            ## xmm4 = mem[0],zero
	subsd	%xmm2, %xmm4
	subsd	%xmm2, %xmm3
	movapd	%xmm4, %xmm5
	movsd	LCPI0_0(%rip), %xmm6            ## xmm6 = mem[0],zero
	mulsd	%xmm6, %xmm5
	subsd	%xmm3, %xmm5
	mulsd	LCPI0_1(%rip), %xmm4
	addsd	%xmm3, %xmm3
	addsd	%xmm4, %xmm3
	mulsd	%xmm0, %xmm5
	addsd	%xmm5, %xmm3
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movapd	%xmm6, %xmm4
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	mulsd	%xmm0, %xmm3
	addsd	%xmm2, %xmm3
	movsd	%xmm3, (%rbx,%r14,8)
	mulsd	64(%r13), %xmm3
	mulsd	56(%r13), %xmm1
	addsd	%xmm3, %xmm1
	movsd	%xmm1, (%rax,%r9,8)
	incq	%r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rdi
	cmpq	%rdi, %r14
	jge	LBB0_13
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rax
	movq	(%rax,%r14,8), %r12
	movq	8(%rsi), %rax
	movl	8(%r13), %ecx
	movl	%r14d, %edx
	imull	%ecx, %edx
	imull	12(%r13), %edx
	movq	(%rax,%r14,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%edx, %xmm0
	addsd	%xmm4, %xmm0
	cvttsd2si	%xmm0, %eax
	addl	24(%r13), %eax
	movq	16(%r13), %rsi
	cltd
	idivl	%ecx
	movslq	%edx, %rax
	movsd	(%rsi,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -96(%rbp)
	cvttsd2si	%xmm0, %r15d
	leaq	-96(%rbp), %rdi
	movq	%r9, %rbx
	callq	_modf
	movq	%rbx, %r9
	movq	32(%r13), %rbx
	movq	72(%r13), %rax
	movq	(%rax,%r14,8), %rdi
	movsd	(%r12,%r9,8), %xmm1             ## xmm1 = mem[0],zero
	movsd	(%rbx,%r14,8), %xmm2            ## xmm2 = mem[0],zero
	mulsd	40(%r13), %xmm2
	addsd	%xmm1, %xmm2
	movslq	(%r13), %rcx
	movsd	%xmm2, (%rdi,%rcx,8)
	leal	(%rcx,%r15), %esi
	movl	4(%r13), %r8d
	movl	%esi, %eax
	cltd
	idivl	%r8d
	movslq	%edx, %rax
	movsd	(%rdi,%rax,8), %xmm2            ## xmm2 = mem[0],zero
	leal	(%rcx,%r15), %eax
	incl	%eax
	cltd
	idivl	%r8d
	movslq	%edx, %rax
	movsd	(%rdi,%rax,8), %xmm3            ## xmm3 = mem[0],zero
	movq	48(%r13), %rax
	movq	_INTERPOLATION_LINEAR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	subsd	%xmm2, %xmm3
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movsd	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%edx, %ecx
	jmp	LBB0_14
LBB0_15:
	cmpq	%r15, %rsi
	je	LBB0_17
## %bb.16:
	leaq	-80(%rbp), %rdi
	movq	%rsi, %rbx
	callq	_av_frame_free
	movq	%rbx, %rsi
LBB0_17:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_ff_filter_frame
LBB0_18:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-80(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INTERPOLATION_LINEAR,8,3       ## @INTERPOLATION_LINEAR
	.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	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [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 w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	mov	x19, x1
	mov	x20, x0
	str	x1, [sp, #24]
	ldr	x22, [x0, #8]
	ldr	x23, [x22, #8]
	mov	x0, x1
	bl	_av_frame_is_writable
	mov	x21, x19
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x22]
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_17
; %bb.2:
	mov	x21, x0
	mov	x1, x19
	bl	_av_frame_copy_props
LBB0_3:
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w10, [x19]
	cmp	w10, #1
	b.lt	LBB0_13
; %bb.4:
	mov	x24, #0
	ldp	w8, w9, [x23]
	fmov	d8, #0.50000000
	ldr	w11, [x20]
	fmov	d9, #-0.50000000
	fmov	d10, #2.00000000
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x19]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w12, [x23, #24]
	add	w12, w12, #1
	ldr	w13, [x23, #8]
	sdiv	w14, w12, w13
	msub	w12, w14, w13, w12
	str	w12, [x23, #24]
	add	x24, x24, #1
	cmp	x24, w10, sxtw
	b.ge	LBB0_13
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	add	w8, w8, w9
	sub	w8, w8, #1
	sdiv	w12, w8, w9
	msub	w8, w12, w9, w8
	str	w8, [x23]
	cmp	w11, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, #0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	add	w12, w12, #2
	sdiv	w13, w12, w9
	msub	w12, w13, w9, w12
	ldr	d4, [x11, w12, sxtw #3]
	fsub	d4, d4, d2
	fsub	d3, d3, d2
	fnmsub	d5, d4, d8, d3
	fmul	d4, d4, d9
	fmadd	d3, d3, d10, d4
	fmadd	d3, d5, d0, d3
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	fmadd	d0, d3, d0, d2
	str	d0, [x10, x26, lsl #3]
	ldp	d2, d3, [x23, #56]
	fmul	d0, d0, d3
	fmadd	d0, d1, d2, d0
	str	d0, [x27, x24, lsl #3]
	add	x26, x26, #1
	ldrsw	x11, [x20]
	cmp	x26, x11
	b.ge	LBB0_5
LBB0_11:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	lsl	x28, x26, #3
	ldr	x22, [x8, x28]
	ldr	x8, [x21, #8]
	ldr	x27, [x8, x28]
	ldp	w8, w9, [x23, #8]
	mul	w10, w8, w26
	mul	w9, w10, w9
	scvtf	d0, w9
	fadd	d0, d0, d8
	fcvtzs	w9, d0
	ldr	x10, [x23, #16]
	ldr	w11, [x23, #24]
	add	w9, w11, w9
	sdiv	w11, w9, w8
	msub	w8, w11, w8, w9
	ldr	d0, [x10, w8, sxtw #3]
	str	d0, [sp, #16]
	fcvtzs	w25, d0
	add	x0, sp, #16
	bl	_modf
	ldr	x8, [x23, #72]
	ldr	x11, [x8, x28]
	ldr	d1, [x22, x24, lsl #3]
	ldr	x10, [x23, #32]
	ldr	d2, [x10, x28]
	ldr	d3, [x23, #40]
	fmadd	d2, d2, d3, d1
	ldrsw	x8, [x23]
	str	d2, [x11, x8, lsl #3]
	add	w12, w8, w25
	ldr	w9, [x23, #4]
	sdiv	w13, w12, w9
	msub	w13, w13, w9, w12
	ldr	d2, [x11, w13, sxtw #3]
	add	w13, w12, #1
	sdiv	w14, w13, w9
	msub	w13, w14, w9, w13
	ldr	d3, [x11, w13, sxtw #3]
	ldr	x13, [x23, #48]
Lloh0:
	adrp	x14, _INTERPOLATION_LINEAR@GOTPAGE
Lloh1:
	ldr	x14, [x14, _INTERPOLATION_LINEAR@GOTPAGEOFF]
Lloh2:
	ldr	x14, [x14]
	cmp	x13, x14
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	fsub	d3, d3, d2
	b	LBB0_10
LBB0_13:
	cmp	x21, x19
	b.eq	LBB0_15
; %bb.14:
	add	x0, sp, #24
	bl	_av_frame_free
LBB0_15:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_ff_filter_frame
LBB0_16:
	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	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_17:
	add	x0, sp, #24
	bl	_av_frame_free
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INTERPOLATION_LINEAR,8,3       ; @INTERPOLATION_LINEAR
	.no_dead_strip	_filter_frame
.subsections_via_symbols
