	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function activate
_activate:                              ## @activate
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	cmpl	$0, 4(%rdi)
	je	LBB0_1
## %bb.10:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ff_framesync_activate          ## TAILCALL
LBB0_1:
	movq	$0, -24(%rbp)
	movq	$0, -40(%rbp)
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	movq	-24(%rbp), %rcx
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%rcx, %rdx
	callq	_filter_frame
	movl	%eax, %r14d
	leaq	-24(%rbp), %rdi
	callq	_av_frame_free
	testl	%r14d, %r14d
	js	LBB0_9
## %bb.3:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	-40(%rbp), %rsi
	callq	_ff_filter_frame
LBB0_4:
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	callq	_ff_inlink_acknowledge_status
	movq	8(%rbx), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	-32(%rbp), %esi
	movl	-28(%rbp), %edx
	callq	_ff_outlink_set_status
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_7:
	callq	_ff_outlink_frame_wanted
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_ff_inlink_request_frame
LBB0_9:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function activate
_activate:                              ; @activate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	x0, [x0, #16]
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_ff_framesync_activate
LBB0_2:
	stp	xzr, xzr, [sp, #16]
	ldp	x9, x8, [x19]
	ldr	w0, [x8]
	ldr	w1, [x9]
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x1, sp, #24
	bl	_ff_inlink_consume_frame
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	ldr	x2, [sp, #24]
	add	x1, sp, #16
	mov	x0, x19
	mov	x3, x2
	bl	_filter_frame
	mov	x20, x0
	add	x0, sp, #24
	bl	_av_frame_free
	tbnz	w20, #31, LBB0_11
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	x1, [sp, #16]
	bl	_ff_filter_frame
LBB0_5:
	mov	x20, x0
	tbnz	w0, #31, LBB0_11
; %bb.6:
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_ff_inlink_acknowledge_status
	mov	x8, x0
	ldr	x9, [x19, #8]
	ldr	w0, [x9]
	cbz	x8, LBB0_8
; %bb.7:
	ldp	w2, w1, [sp, #8]
	bl	_ff_outlink_set_status
	b	LBB0_10
LBB0_8:
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_ff_inlink_request_frame
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_activate
.subsections_via_symbols
