	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_video
_filter_video:                          ## @filter_video
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_reinit_video_filters
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movl	4(%rbx), %esi
	callq	_hb_avfilter_add_frame
	movq	16(%rbx), %rdi
	movl	4(%rbx), %esi
	callq	_hb_avfilter_get_frame
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	leaq	8(%rbx), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_copy_frame
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_hb_buffer_list_append
	movl	4(%rbx), %edi
	callq	_av_frame_unref
	incl	(%rbx)
	movq	16(%rbx), %rdi
	movl	4(%rbx), %esi
	callq	_hb_avfilter_get_frame
	testl	%eax, %eax
	jns	LBB0_3
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_copy_frame
	leaq	8(%rbx), %rdi
	movq	%rax, %rsi
	callq	_hb_buffer_list_append
	movl	4(%rbx), %edi
	callq	_av_frame_unref
	incl	(%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_video
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_video
_filter_video:                          ; @filter_video
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_reinit_video_filters
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w1, [x19, #4]
	bl	_hb_avfilter_add_frame
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #4]
	bl	_hb_avfilter_get_frame
	tbnz	w0, #31, LBB0_5
; %bb.2:
	add	x20, x19, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_copy_frame
	mov	x1, x0
	mov	x0, x20
	bl	_hb_buffer_list_append
	ldr	w0, [x19, #4]
	bl	_av_frame_unref
	ldp	w8, w1, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x0, [x19, #16]
	bl	_hb_avfilter_get_frame
	tbz	w0, #31, LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_copy_frame
	mov	x1, x0
	add	x0, x19, #8
	bl	_hb_buffer_list_append
	ldr	w0, [x19, #4]
	bl	_av_frame_unref
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_video
.subsections_via_symbols
