	.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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	32(%rdi), %rax
	movq	(%rax), %r15
	movq	16(%rdi), %r14
	movq	24(%rdi), %rax
	movq	(%rax), %rdi
	movq	$0, -64(%rbp)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	xorl	%ebx, %ebx
	cmpl	$0, (%r14)
	je	LBB0_4
LBB0_1:
	movl	4(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_30
## %bb.2:
	movq	16(%r14), %rcx
	movq	24(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.3:
	decl	%eax
	movl	%eax, 4(%r14)
	callq	_av_frame_clone
	movq	16(%r14), %rcx
	movq	%rax, 32(%rcx)
	jmp	LBB0_10
LBB0_4:
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ff_inlink_consume_frame
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_41
## %bb.5:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.6:
	movq	16(%r14), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_22
## %bb.7:
	cmpq	$0, 24(%rax)
	je	LBB0_23
LBB0_8:
	cmpq	$0, 32(%rax)
	je	LBB0_24
LBB0_9:
	leaq	-64(%rbp), %rdi
	callq	_av_frame_free
LBB0_10:
	movq	16(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_26
## %bb.11:
	cmpq	$0, 8(%rax)
	je	LBB0_26
## %bb.12:
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.13:
	cmpq	$0, 24(%rax)
	je	LBB0_26
## %bb.14:
	cmpq	$0, 32(%rax)
	je	LBB0_26
## %bb.15:
	callq	_av_frame_clone
	testq	%rax, %rax
	je	LBB0_25
## %bb.16:
	movq	%rax, %r13
	cmpl	$0, 8(%r12)
	jne	LBB0_27
## %bb.17:
	movq	%r13, %rdi
	callq	_av_frame_make_writable
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_27
## %bb.18:
	movl	8(%r14), %eax
	testb	$1, %al
	je	LBB0_20
## %bb.19:
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	36(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	24(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_ff_filter_get_nb_threads
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_FFMIN
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	movl	8(%r14), %eax
LBB0_20:
	testb	$2, %al
	je	LBB0_27
## %bb.21:
	movq	%r13, -88(%rbp)
	movl	$1, -96(%rbp)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	32(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	24(%r14), %rax
	movl	4(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_ff_filter_get_nb_threads
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_FFMIN
	leaq	-96(%rbp), %rdx
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	movl	$2, -96(%rbp)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	32(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	24(%r14), %rax
	movl	8(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_ff_filter_get_nb_threads
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_FFMIN
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	leaq	-96(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	jmp	LBB0_27
LBB0_22:
	callq	_av_frame_clone
	movq	16(%r14), %rcx
	movq	%rax, 16(%rcx)
	movq	16(%r14), %rax
	cmpq	$0, 24(%rax)
	jne	LBB0_8
LBB0_23:
	movq	-64(%rbp), %rdi
	callq	_av_frame_clone
	movq	16(%r14), %rcx
	movq	%rax, 24(%rcx)
	movq	16(%r14), %rax
	cmpq	$0, 32(%rax)
	jne	LBB0_9
LBB0_24:
	movq	-64(%rbp), %rdi
	callq	_av_frame_clone
	movq	16(%r14), %rcx
	movq	%rax, 32(%rcx)
	jmp	LBB0_9
LBB0_25:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %ebx
LBB0_26:
	xorl	%r13d, %r13d
LBB0_27:
	movq	16(%r14), %rdi
	callq	_av_frame_free
	movq	16(%r14), %rax
	movq	8(%rax), %rcx
	movq	%rcx, (%rax)
	movq	16(%r14), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 8(%rax)
	movq	16(%r14), %rax
	movq	24(%rax), %rcx
	movq	%rcx, 16(%rax)
	movq	16(%r14), %rax
	movq	32(%rax), %rcx
	movq	%rcx, 24(%rax)
	movq	16(%r14), %rax
	movq	$0, 32(%rax)
	testl	%ebx, %ebx
	js	LBB0_41
## %bb.28:
	testq	%r13, %r13
	je	LBB0_30
## %bb.29:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_ff_filter_frame
	movl	%eax, %ebx
	jmp	LBB0_41
LBB0_30:
	cmpl	$0, (%r14)
	je	LBB0_33
## %bb.31:
	cmpl	$0, 4(%r14)
	jle	LBB0_38
LBB0_32:
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_ff_filter_set_ready
	jmp	LBB0_40
LBB0_33:
	leaq	-76(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	movq	%r15, %rdi
	callq	_ff_inlink_acknowledge_status
	testq	%rax, %rax
	je	LBB0_37
## %bb.34:
	movl	-76(%rbp), %ecx
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_37
## %bb.35:
	movl	$1, (%r14)
	movq	16(%r14), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rcx)
	setne	%dl
	xorl	%esi, %esi
	cmpq	$0, 8(%rcx)
	setne	%sil
	addl	%edx, %esi
	movl	%esi, 4(%r14)
	jne	LBB0_32
## %bb.36:
	movl	(%rax), %esi
	movl	-96(%rbp), %edx
	jmp	LBB0_39
LBB0_37:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_WANTED
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_41
LBB0_38:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r14), %rax
	movq	16(%rax), %rax
	movl	4(%rax), %edx
LBB0_39:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ff_outlink_set_status
LBB0_40:
	xorl	%ebx, %ebx
LBB0_41:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_FFERROR_NOT_READY,4,2          ## @FFERROR_NOT_READY
	.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, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	ldr	x8, [x0, #32]
	ldr	x21, [x8]
	ldp	x26, x8, [x0, #16]
	ldr	x19, [x8]
	str	xzr, [sp, #24]
	mov	x0, x19
	mov	x1, x21
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	ldr	w8, [x26]
	cbz	w8, LBB0_5
; %bb.1:
	mov	w22, #0
LBB0_2:
	ldr	w8, [x26, #4]
	cmp	w8, #0
	b.le	LBB0_27
; %bb.3:
	ldr	x9, [x26, #16]
	ldr	x0, [x9, #24]
	cbz	x0, LBB0_11
; %bb.4:
	sub	w8, w8, #1
	str	w8, [x26, #4]
	bl	_av_frame_clone
	ldr	x8, [x26, #16]
	str	x0, [x8, #32]
	b	LBB0_11
LBB0_5:
	add	x1, sp, #24
	mov	x0, x21
	bl	_ff_inlink_consume_frame
	mov	x22, x0
	tbnz	w0, #31, LBB0_38
; %bb.6:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_2
; %bb.7:
	ldr	x8, [x26, #16]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_39
; %bb.8:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_40
LBB0_9:
	ldr	x8, [x8, #32]
	cbz	x8, LBB0_41
LBB0_10:
	add	x0, sp, #24
	bl	_av_frame_free
LBB0_11:
	ldr	x8, [x26, #16]
	ldr	x9, [x8]
	cbz	x9, LBB0_23
; %bb.12:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_23
; %bb.13:
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_23
; %bb.14:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_23
; %bb.15:
	ldr	x8, [x8, #32]
	cbz	x8, LBB0_23
; %bb.16:
	bl	_av_frame_clone
	mov	x23, x0
	cbz	x0, LBB0_42
; %bb.17:
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_24
; %bb.18:
	mov	x0, x23
	bl	_av_frame_make_writable
	mov	x22, x0
	tbnz	w0, #31, LBB0_24
; %bb.19:
	ldr	w8, [x26, #8]
	tbz	w8, #0, LBB0_21
; %bb.20:
	ldr	x8, [x20]
	ldr	x27, [x8]
	ldr	w24, [x26, #36]
	ldr	x8, [x26, #24]
	ldr	w25, [x8]
	mov	x0, x20
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x25
	bl	_FFMIN
	mov	x4, x0
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	mov	x3, #0
	blr	x27
	ldr	w8, [x26, #8]
LBB0_21:
	tbz	w8, #1, LBB0_24
; %bb.22:
	str	x23, [sp, #8]
	mov	w8, #1
	str	w8, [sp]
	ldr	x8, [x20]
	ldr	x27, [x8]
	ldr	w24, [x26, #32]
	ldr	x8, [x26, #24]
	ldr	w25, [x8, #4]
	mov	x0, x20
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x25
	bl	_FFMIN
	mov	x4, x0
	mov	x2, sp
	mov	x0, x20
	mov	x1, x24
	mov	x3, #0
	blr	x27
	mov	w8, #2
	str	w8, [sp]
	ldr	x8, [x20]
	ldr	x27, [x8]
	ldr	w24, [x26, #32]
	ldr	x8, [x26, #24]
	ldr	w25, [x8, #8]
	mov	x0, x20
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x25
	bl	_FFMIN
	mov	x4, x0
	mov	x2, sp
	mov	x0, x20
	mov	x1, x24
	mov	x3, #0
	blr	x27
	b	LBB0_24
LBB0_23:
	mov	x23, #0
LBB0_24:
	ldr	x0, [x26, #16]
	bl	_av_frame_free
	ldr	x8, [x26, #16]
	ldr	x9, [x8, #8]
	str	x9, [x8]
	ldr	x8, [x26, #16]
	ldr	x9, [x8, #16]
	str	x9, [x8, #8]
	ldr	x8, [x26, #16]
	ldr	x9, [x8, #24]
	str	x9, [x8, #16]
	ldr	x8, [x26, #16]
	ldr	x9, [x8, #32]
	str	x9, [x8, #24]
	ldr	x8, [x26, #16]
	str	xzr, [x8, #32]
	tbnz	w22, #31, LBB0_38
; %bb.25:
	cbz	x23, LBB0_27
; %bb.26:
	mov	x0, x19
	mov	x1, x23
	bl	_ff_filter_frame
	mov	x22, x0
	b	LBB0_38
LBB0_27:
	ldr	w8, [x26]
	cbz	w8, LBB0_30
; %bb.28:
	ldr	w8, [x26, #4]
	cmp	w8, #0
	b.le	LBB0_35
LBB0_29:
	mov	x0, x20
	mov	w1, #10
	bl	_ff_filter_set_ready
	b	LBB0_37
LBB0_30:
	add	x1, sp, #20
	mov	x2, sp
	mov	x0, x21
	bl	_ff_inlink_acknowledge_status
	cbz	x0, LBB0_34
; %bb.31:
	ldr	w9, [sp, #20]
Lloh0:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w9, w10
	b.ne	LBB0_34
; %bb.32:
	mov	w9, #1
	str	w9, [x26]
	ldr	x9, [x26, #16]
	ldp	x10, x9, [x9]
	cmp	x10, #0
	cset	w10, ne
	cmp	x9, #0
	cinc	w9, w10, ne
	str	w9, [x26, #4]
	cbnz	w9, LBB0_29
; %bb.33:
	ldr	w1, [x8]
	ldr	w2, [sp]
	b	LBB0_36
LBB0_34:
	mov	x0, x19
	mov	x1, x21
	bl	_FF_FILTER_FORWARD_WANTED
Lloh2:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
	b	LBB0_38
LBB0_35:
Lloh5:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	x8, [x26, #16]
	ldr	x8, [x8, #16]
	ldr	w2, [x8, #4]
LBB0_36:
	mov	x0, x19
	bl	_ff_outlink_set_status
LBB0_37:
	mov	w22, #0
LBB0_38:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_39:
	bl	_av_frame_clone
	ldr	x8, [x26, #16]
	str	x0, [x8, #16]
	ldr	x8, [x26, #16]
	ldr	x9, [x8, #24]
	cbnz	x9, LBB0_9
LBB0_40:
	ldr	x0, [sp, #24]
	bl	_av_frame_clone
	ldr	x8, [x26, #16]
	str	x0, [x8, #24]
	ldr	x8, [x26, #16]
	ldr	x8, [x8, #32]
	cbnz	x8, LBB0_10
LBB0_41:
	ldr	x0, [sp, #24]
	bl	_av_frame_clone
	ldr	x8, [x26, #16]
	str	x0, [x8, #32]
	b	LBB0_10
LBB0_42:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x22, x0
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
