	.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
	pushq	%rax
	.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), %r15
	movq	8(%r15), %rax
	movq	16(%r15), %rbx
	movq	(%rax), %r12
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_cqueue_empty
	movl	$1, %r13d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_ff_bufqueue_get
	movq	%rax, %r13
	movl	4(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_cqueue_dequeue
	movsd	-48(%rbp), %xmm0                ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	xorl	%edx, %edx
	ucomisd	%xmm1, %xmm0
	seta	%dl
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_amplify_frame
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ff_filter_frame
	movl	%eax, %r13d
LBB0_2:
	movq	%r14, %rdi
	callq	_av_frame_make_writable
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	cmpl	$0, (%r15)
	sete	%sil
	callq	_cqueue_enqueue
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_analyze_frame
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_ff_bufqueue_add
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x20, [x0]
	ldp	x8, x21, [x20, #8]
	ldr	x22, [x8]
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_cqueue_empty
	cbz	w0, LBB0_2
; %bb.1:
	mov	w22, #1
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	bl	_ff_bufqueue_get
	mov	x23, x0
	ldr	w0, [x21, #4]
	add	x1, sp, #8
	bl	_cqueue_dequeue
	ldr	d0, [sp, #8]
	fcmp	d0, #0.0
	cset	w2, gt
	mov	x0, x21
	mov	x1, x23
	bl	_amplify_frame
	mov	x0, x22
	mov	x1, x23
	bl	_ff_filter_frame
	mov	x22, x0
LBB0_3:
	mov	x0, x19
	bl	_av_frame_make_writable
	ldr	w0, [x21, #4]
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w1, eq
	bl	_cqueue_enqueue
	mov	x0, x21
	mov	x1, x19
	bl	_analyze_frame
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_ff_bufqueue_add
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_frame
.subsections_via_symbols
