	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_frame_to_filters
_send_frame_to_filters:                 ## @send_frame_to_filters
	.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
	xorl	%edi, %edi
	cmpl	$0, (%r15)
	setg	%dil
	callq	_av_assert1
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	_AVERROR_EOF@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ecx
	movslq	%ecx, %rax
	movq	%r14, %r12
	cmpq	%rax, %rbx
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r15), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_av_frame_ref
	testl	%eax, %eax
	js	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r12, %rsi
	callq	_ifilter_send_frame
	movl	%eax, %r12d
	xorl	%eax, %eax
	cmpl	(%r13), %r12d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %eax
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_4
	jmp	LBB0_10
LBB0_1:
                                        ## implicit-def: $eax
	jmp	LBB0_10
LBB0_9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%eax, %edi
	callq	_av_err2str
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movl	%r14d, %esi
	movl	%eax, %ecx
	callq	_av_log
	movl	%r12d, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to inject frame into filter network: %s\n"

	.no_dead_strip	_send_frame_to_filters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_frame_to_filters
_send_frame_to_filters:                 ; @send_frame_to_filters
	.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	x20, x0
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, gt
	bl	_av_assert1
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, #0
Lloh0:
	adrp	x23, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AVERROR_EOF@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w8, #1
	cmp	x22, w8, sxtw
	mov	x21, x19
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x20, #16]
	mov	x0, x21
	mov	x1, x19
	bl	_av_frame_ref
	tbnz	w0, #31, LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x22, lsl #2]
	mov	x1, x21
	bl	_ifilter_send_frame
	mov	x21, x0
	ldr	w8, [x23]
	cmp	w0, w8
	csel	w0, wzr, w0, eq
	tbnz	w0, #31, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_2
	b	LBB0_8
LBB0_6:
                                        ; implicit-def: $w0
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	bl	_av_err2str
	mov	x3, x0
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	bl	_av_log
	mov	x0, x21
LBB0_8:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to inject frame into filter network: %s\n"

	.no_dead_strip	_send_frame_to_filters
.subsections_via_symbols
