	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_frame
_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	16(%rdi), %rcx
	movq	8(%rcx), %r15
	cmpl	$0, 24(%r15)
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	cmpl	$0, (%r13)
	movq	%r13, %rcx
	jle	LBB0_13
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rax
	movq	%rcx, %r13
	movl	(%r15), %ecx
	movl	%ebx, %edx
	imull	%ecx, %edx
	testq	%rax, %rax
	movslq	%edx, %rsi
	cmoveq	%rax, %rsi
	addq	64(%r15), %rsi
	imull	%r12d, %ecx
	movslq	%ecx, %rdx
	addq	48(%r15), %rdx
	movq	40(%r15), %rcx
	addq	%rbx, %rcx
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %r8
	movl	(%r14), %r9d
	movq	%r15, %rdi
	callq	_fast_convolute_nonlinear
	movq	%r13, %rcx
	incq	%rbx
	movslq	(%r13), %rax
	addl	$2, %r12d
	cmpq	%rax, %rbx
	jl	LBB0_3
	jmp	LBB0_13
LBB0_4:
	movl	(%r13), %eax
	xorl	%r12d, %r12d
	cmpl	$2, %eax
	jl	LBB0_10
## %bb.5:
	cmpq	$0, 72(%r15)
	je	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %r12
	movq	64(%r15), %rsi
	movslq	(%r15), %rax
	movslq	%ebx, %rdx
	imulq	%rax, %rdx
	addq	48(%r15), %rdx
	movq	40(%r15), %rcx
	addq	%r12, %rcx
	movq	16(%r14), %rax
	movq	(%rax,%r12,8), %r8
	movq	8(%rax,%r12,8), %r9
	movl	(%r14), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	callq	_fast_convolute2
	movl	(%r13), %eax
	leal	3(%r12), %ecx
	cmpl	%eax, %ecx
	jge	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	addl	$4, %ebx
	leaq	2(%r12), %rcx
	cmpq	$0, 72(%r15)
	jne	LBB0_8
LBB0_9:
	addl	$2, %r12d
LBB0_10:
	cmpl	%eax, %r12d
	movq	%r13, %rcx
	jge	LBB0_13
## %bb.11:
	movl	%r12d, %r13d
	addl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rax
	movq	%rcx, %rbx
	movl	(%r15), %ecx
	movl	%r13d, %edx
	imull	%ecx, %edx
	testq	%rax, %rax
	movslq	%edx, %rsi
	cmoveq	%rax, %rsi
	addq	64(%r15), %rsi
	imull	%r12d, %ecx
	movslq	%ecx, %rdx
	addq	48(%r15), %rdx
	movq	40(%r15), %rcx
	addq	%r13, %rcx
	movq	16(%r14), %rax
	movq	(%rax,%r13,8), %r8
	movl	(%r14), %r9d
	movq	%r15, %rdi
	callq	_fast_convolute
	movq	%rbx, %rcx
	incq	%r13
	addl	$2, %r12d
	cmpl	%r13d, (%rbx)
	jg	LBB0_12
LBB0_13:
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movq	8(%r14), %rbx
	cmpq	%rax, %rbx
	je	LBB0_17
## %bb.14:
	movq	%rcx, %r13
	movl	(%r14), %r12d
	movl	8(%rcx), %esi
	movl	$1, %edi
	callq	_av_make_q
	movl	4(%r13), %edx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_av_rescale_q
	addq	%rbx, %rax
	movq	%rax, 8(%r15)
	cmpq	$0, 32(%r15)
	je	LBB0_17
## %bb.15:
	cmpl	$0, 24(%r15)
	jne	LBB0_17
## %bb.16:
	movl	16(%r15), %eax
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	sarl	%r12d
	movl	8(%r13), %esi
	movl	$1, %edi
	callq	_av_make_q
	movl	4(%r13), %edx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_av_rescale_q
	subq	%rax, 8(%r14)
LBB0_17:
	movl	20(%r15), %edi
	movl	(%r14), %esi
	callq	_FFMAX
	movl	%eax, 20(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	x23, [x0, #16]
	ldr	x20, [x23, #8]
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.2:
	mov	w22, #0
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20, #56]
	ldr	w10, [x20]
	mul	w11, w10, w24
	sxtw	x11, w11
	cmp	x9, #0
	csel	x9, xzr, x11, eq
	add	x1, x8, x9
	mul	w8, w22, w10
	ldp	x10, x9, [x20, #40]
	add	x2, x9, w8, sxtw
	add	x3, x24, x10
	ldr	x8, [x19, #16]
	ldr	x4, [x8, x24, lsl #3]
	ldr	w5, [x19]
	mov	x0, x20
	bl	_fast_convolute_nonlinear
	add	x24, x24, #1
	ldrsw	x8, [x21]
	add	w22, w22, #2
	cmp	x24, x8
	b.lt	LBB0_3
	b	LBB0_14
LBB0_4:
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.5:
	ldr	x9, [x20, #72]
	cbz	x9, LBB0_10
; %bb.6:
	mov	w22, #0
	mov	x9, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x9
	ldr	x1, [x20, #64]
	ldrsw	x8, [x20]
	sxtw	x9, w22
	ldp	x11, x10, [x20, #40]
	madd	x2, x9, x8, x10
	add	x3, x24, x11
	ldr	x8, [x19, #16]
	add	x8, x8, x24, lsl #3
	ldp	x4, x5, [x8]
	ldr	w6, [x19]
	mov	x0, x20
	bl	_fast_convolute2
	ldr	w8, [x21]
	add	w9, w24, #3
	cmp	w9, w8
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x20, #72]
	add	w22, w22, #4
	add	x9, x24, #2
	cbnz	x10, LBB0_7
LBB0_9:
	add	w9, w24, #2
LBB0_10:
	cmp	w9, w8
	b.lt	LBB0_12
	b	LBB0_14
LBB0_11:
	mov	w9, #0
	cmp	w9, w8
	b.ge	LBB0_14
LBB0_12:
	lsl	w22, w9, #1
	mov	w24, w9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20, #56]
	ldr	w10, [x20]
	mul	w11, w10, w24
	sxtw	x11, w11
	cmp	x9, #0
	csel	x9, xzr, x11, eq
	add	x1, x8, x9
	mul	w8, w22, w10
	ldp	x10, x9, [x20, #40]
	add	x2, x9, w8, sxtw
	add	x3, x24, x10
	ldr	x8, [x19, #16]
	ldr	x4, [x8, x24, lsl #3]
	ldr	w5, [x19]
	mov	x0, x20
	bl	_fast_convolute
	add	x24, x24, #1
	ldr	w8, [x21]
	add	w22, w22, #2
	cmp	w8, w24
	b.gt	LBB0_13
LBB0_14:
Lloh0:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x20, #8]
	ldr	x24, [x19, #8]
	cmp	x24, x8
	b.eq	LBB0_18
; %bb.15:
	ldr	w22, [x19]
	ldr	w1, [x21, #8]
	mov	w0, #1
	bl	_av_make_q
	mov	x1, x0
	ldr	w2, [x21, #4]
	mov	x0, x22
	bl	_av_rescale_q
	add	x8, x0, x24
	str	x8, [x20, #8]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_18
; %bb.16:
	ldr	w8, [x20, #24]
	cbnz	w8, LBB0_18
; %bb.17:
	ldr	w8, [x20, #16]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w22, w8, #1
	ldr	w1, [x21, #8]
	mov	w0, #1
	bl	_av_make_q
	mov	x1, x0
	ldr	w2, [x21, #4]
	mov	x0, x22
	bl	_av_rescale_q
	ldr	x8, [x19, #8]
	sub	x8, x8, x0
	str	x8, [x19, #8]
LBB0_18:
	ldr	w0, [x20, #20]
	ldr	w1, [x19]
	bl	_FFMAX
	str	w0, [x20, #20]
	ldr	x8, [x23]
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ff_filter_frame
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.no_dead_strip	_filter_frame
.subsections_via_symbols
