	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ff_filter_frame_to_filter
_ff_filter_frame_to_filter:             ## @ff_filter_frame_to_filter
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	movq	32(%rdi), %r14
	addq	$24, %rdi
	callq	_ff_framequeue_queued_frames
	movl	%eax, %edi
	callq	_av_assert1
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_ff_inlink_consume_samples
	jmp	LBB0_3
LBB0_2:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ff_inlink_consume_frame
LBB0_3:
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_av_assert1
	testl	%r15d, %r15d
	js	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_filter_unblock
	decl	4(%rbx)
	movq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ff_filter_frame_framed
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_8
## %bb.6:
	cmpl	(%rbx), %r15d
	jne	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	movl	$300, %esi                      ## imm = 0x12C
	callq	_ff_filter_set_ready
	jmp	LBB0_9
LBB0_4:
	xorl	%edi, %edi
	cmpq	$0, -32(%rbp)
	sete	%dil
	callq	_av_assert1
	jmp	LBB0_9
LBB0_7:
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ff_avfilter_link_set_out_status
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.no_dead_strip	_ff_filter_frame_to_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ff_filter_frame_to_filter
_ff_filter_frame_to_filter:             ; @ff_filter_frame_to_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x20, [x0, #32]
	add	x0, x0, #24
	bl	_ff_framequeue_queued_frames
	bl	_av_assert1
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w2, [x19, #8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_ff_inlink_consume_samples
	b	LBB0_3
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_ff_inlink_consume_frame
LBB0_3:
	mov	x21, x0
	bl	_av_assert1
	tbnz	w21, #31, LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_filter_unblock
	ldr	w8, [x19, #4]
	sub	w8, w8, #1
	str	w8, [x19, #4]
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_ff_filter_frame_framed
	mov	x21, x0
	tbz	w0, #31, LBB0_6
; %bb.5:
	ldr	w8, [x19]
	cmp	w21, w8
	b.ne	LBB0_8
LBB0_6:
	mov	x0, x20
	mov	w1, #300
	bl	_ff_filter_set_ready
	b	LBB0_9
LBB0_7:
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_av_assert1
	b	LBB0_9
LBB0_8:
Lloh0:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_ff_avfilter_link_set_out_status
LBB0_9:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.no_dead_strip	_ff_filter_frame_to_filter
.subsections_via_symbols
