	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rax
	movq	(%rax), %r15
	movq	(%rdi), %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	$0, -32(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	cmpl	$1, %eax
	jne	LBB0_17
LBB0_5:
	cmpq	$0, 8(%rbx)
	jle	LBB0_17
## %bb.6:
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_13
## %bb.7:
	movq	%r15, %rdi
	callq	_ff_inlink_queued_frames
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ff_inlink_peek_frame
	movq	%rax, %rdi
	movq	%rax, 56(%rbx)
	jmp	LBB0_13
LBB0_1:
	cmpq	$0, 8(%rbx)
	jle	LBB0_17
## %bb.2:
	movq	%r14, %rdi
	callq	_ff_outlink_frame_wanted
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movl	8(%r14), %edx
	movl	12(%r14), %esi
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_49
## %bb.10:
	movq	%rax, %r15
	leaq	52(%rbx), %rdi
	leaq	48(%rbx), %rsi
	movl	20(%rax), %edx
	movl	16(%rax), %ecx
	movl	8(%rax), %eax
	movl	12(%r15), %r10d
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	callq	_ff_fill_rectangle
	addq	$16, %rsp
	movq	32(%rbx), %rax
	movq	%rax, (%r15)
	movl	4(%r14), %edi
	callq	_av_inv_q
	movl	(%r14), %edx
	movl	$1, %edi
	movl	%eax, %esi
	callq	_av_rescale_q
	addq	%rax, 32(%rbx)
	decq	8(%rbx)
	jmp	LBB0_16
LBB0_3:
	movl	(%rbx), %eax
	cmpl	$1, %eax
	je	LBB0_5
LBB0_17:
	cmpl	$0, 16(%rbx)
	je	LBB0_18
LBB0_33:
	cmpq	$0, 24(%rbx)
	je	LBB0_34
## %bb.35:
	movl	20(%rbx), %eax
	cmpl	$1, %eax
	je	LBB0_39
## %bb.36:
	testl	%eax, %eax
	jne	LBB0_41
## %bb.37:
	movl	8(%r14), %edx
	movl	12(%r14), %esi
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_38
## %bb.40:
	leaq	52(%rbx), %rdi
	leaq	48(%rbx), %rsi
	movl	20(%rax), %edx
	movl	16(%rax), %ecx
	movl	8(%rax), %r10d
	movl	12(%rax), %eax
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%rax
	callq	_ff_fill_rectangle
	addq	$16, %rsp
	jmp	LBB0_41
LBB0_18:
	cmpq	$0, 8(%rbx)
	je	LBB0_19
LBB0_26:
	leaq	-36(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_ff_inlink_acknowledge_status
	testq	%rax, %rax
	je	LBB0_32
## %bb.27:
	movl	-36(%rbp), %esi
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_32
## %bb.28:
	cmpq	$0, 24(%rbx)
	je	LBB0_29
## %bb.31:
	movl	$1, 16(%rbx)
	movq	-48(%rbp), %rax
	addq	%rax, 32(%rbx)
LBB0_32:
	cmpl	$0, 16(%rbx)
	jne	LBB0_33
## %bb.45:
	cmpq	$0, 8(%rbx)
	jne	LBB0_47
## %bb.46:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_WANTED
LBB0_47:
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_48
LBB0_34:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	32(%rbx), %rdx
LBB0_30:
	movq	%r14, %rdi
	callq	_ff_outlink_set_status
	xorl	%eax, %eax
	jmp	LBB0_48
LBB0_39:
	movq	40(%rbx), %rdi
	callq	_av_frame_clone
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_38
LBB0_41:
	movq	32(%rbx), %rax
	movq	-32(%rbp), %rcx
	movq	%rax, (%rcx)
	movl	4(%r14), %edi
	callq	_av_inv_q
	movl	(%r14), %edx
	movl	$1, %edi
	movl	%eax, %esi
	callq	_av_rescale_q
	addq	%rax, 32(%rbx)
	movq	24(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_43
## %bb.42:
	decq	%rax
	movq	%rax, 24(%rbx)
LBB0_43:
	movq	-32(%rbp), %rsi
LBB0_44:
	movq	%r14, %rdi
	callq	_ff_filter_frame
	jmp	LBB0_48
LBB0_19:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	js	LBB0_48
## %bb.20:
	je	LBB0_25
## %bb.21:
	cmpl	$1, 20(%rbx)
	jne	LBB0_24
## %bb.22:
	cmpq	$0, 24(%rbx)
	je	LBB0_24
## %bb.23:
	leaq	40(%rbx), %rdi
	callq	_av_frame_free
	movq	-32(%rbp), %rdi
	callq	_av_frame_clone
	movq	%rax, 40(%rbx)
LBB0_24:
	movq	32(%rbx), %rax
	movq	-32(%rbp), %rsi
	addq	%rax, (%rsi)
	jmp	LBB0_44
LBB0_38:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_48:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_WANTED
	movq	56(%rbx), %rdi
LBB0_13:
	callq	_av_frame_clone
	testq	%rax, %rax
	je	LBB0_49
## %bb.14:
	movq	%rax, %r15
	movq	32(%rbx), %rax
	movq	%rax, (%r15)
	movl	4(%r14), %edi
	callq	_av_inv_q
	movl	(%r14), %edx
	movl	$1, %edi
	movl	%eax, %esi
	callq	_av_rescale_q
	addq	%rax, 32(%rbx)
	decq	8(%rbx)
	jne	LBB0_16
## %bb.15:
	movq	$0, 56(%rbx)
LBB0_16:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
LBB0_49:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_25:
	cmpl	$0, 16(%rbx)
	jne	LBB0_33
	jmp	LBB0_26
LBB0_29:
	movq	-48(%rbp), %rdx
	jmp	LBB0_30
	.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, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
	ldp	x21, x8, [x0]
	ldr	x19, [x8]
	str	xzr, [sp, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	ldr	w8, [x21]
	cbz	w8, LBB0_6
; %bb.1:
	cmp	w8, #1
	b.ne	LBB0_11
LBB0_2:
	ldr	x8, [x21, #8]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.3:
	ldr	x0, [x21, #56]
	cbnz	x0, LBB0_43
; %bb.4:
	mov	x0, x20
	bl	_ff_inlink_queued_frames
	cbz	x0, LBB0_41
; %bb.5:
	mov	x0, x20
	mov	w1, #0
	bl	_ff_inlink_peek_frame
	str	x0, [x21, #56]
	b	LBB0_43
LBB0_6:
	ldr	x8, [x21, #8]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_10
; %bb.8:
	ldp	w2, w1, [x19, #8]
	mov	x0, x19
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_47
; %bb.9:
	mov	x20, x0
	add	x0, x21, #52
	add	x1, x21, #48
	ldp	w3, w2, [x20, #16]
	ldp	w7, w6, [x20, #8]
	mov	w4, #0
	mov	w5, #0
	bl	_ff_fill_rectangle
	ldr	x8, [x21, #32]
	str	x8, [x20]
	ldr	w0, [x19, #4]
	bl	_av_inv_q
	mov	x1, x0
	ldr	w2, [x19]
	mov	w0, #1
	bl	_av_rescale_q
	ldr	x8, [x21, #32]
	add	x8, x8, x0
	str	x8, [x21, #32]
	ldr	x8, [x21, #8]
	sub	x8, x8, #1
	str	x8, [x21, #8]
	b	LBB0_46
LBB0_10:
	ldr	w8, [x21]
	cmp	w8, #1
	b.eq	LBB0_2
LBB0_11:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_17
LBB0_12:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_26
; %bb.13:
	ldr	w8, [x21, #20]
	cmp	w8, #1
	b.eq	LBB0_28
; %bb.14:
	cbnz	w8, LBB0_29
; %bb.15:
	ldp	w2, w1, [x19, #8]
	mov	x0, x19
	bl	_ff_get_video_buffer
	str	x0, [sp, #24]
	cbz	x0, LBB0_39
; %bb.16:
	add	x8, x21, #52
	add	x1, x21, #48
	ldp	w3, w2, [x0, #16]
	ldp	w7, w6, [x0, #8]
	mov	x0, x8
	mov	w4, #0
	mov	w5, #0
	bl	_ff_fill_rectangle
	b	LBB0_29
LBB0_17:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_33
LBB0_18:
	add	x1, sp, #20
	add	x2, sp, #8
	mov	x0, x20
	bl	_ff_inlink_acknowledge_status
	cbz	x0, LBB0_22
; %bb.19:
	ldr	w1, [sp, #20]
Lloh0:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_22
; %bb.20:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_49
; %bb.21:
	mov	w8, #1
	str	w8, [x21, #16]
	ldr	x8, [sp, #8]
	ldr	x9, [x21, #32]
	add	x8, x9, x8
	str	x8, [x21, #32]
LBB0_22:
	ldr	w8, [x21, #16]
	cbnz	w8, LBB0_12
; %bb.23:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_25
; %bb.24:
	mov	x0, x19
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_WANTED
LBB0_25:
Lloh3:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_40
LBB0_26:
Lloh6:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x2, [x21, #32]
LBB0_27:
	mov	x0, x19
	bl	_ff_outlink_set_status
	mov	w0, #0
	b	LBB0_40
LBB0_28:
	ldr	x0, [x21, #40]
	bl	_av_frame_clone
	str	x0, [sp, #24]
	cbz	x0, LBB0_39
LBB0_29:
	ldr	x8, [x21, #32]
	ldr	x9, [sp, #24]
	str	x8, [x9]
	ldr	w0, [x19, #4]
	bl	_av_inv_q
	mov	x1, x0
	ldr	w2, [x19]
	mov	w0, #1
	bl	_av_rescale_q
	ldp	x9, x8, [x21, #24]
	add	x8, x8, x0
	str	x8, [x21, #32]
	subs	x8, x9, #1
	b.lt	LBB0_31
; %bb.30:
	str	x8, [x21, #24]
LBB0_31:
	ldr	x1, [sp, #24]
LBB0_32:
	mov	x0, x19
	bl	_ff_filter_frame
	b	LBB0_40
LBB0_33:
	add	x1, sp, #24
	mov	x0, x20
	bl	_ff_inlink_consume_frame
	tbnz	w0, #31, LBB0_40
; %bb.34:
	cbz	w0, LBB0_48
; %bb.35:
	ldr	w8, [x21, #20]
	cmp	w8, #1
	b.ne	LBB0_38
; %bb.36:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_38
; %bb.37:
	add	x0, x21, #40
	bl	_av_frame_free
	ldr	x0, [sp, #24]
	bl	_av_frame_clone
	str	x0, [x21, #40]
LBB0_38:
	ldr	x8, [x21, #32]
	ldr	x1, [sp, #24]
	ldr	x9, [x1]
	add	x8, x9, x8
	str	x8, [x1]
	b	LBB0_32
LBB0_39:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_40:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_41:
	ldr	x0, [x21, #56]
	cbnz	x0, LBB0_43
; %bb.42:
	mov	x0, x19
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_WANTED
	ldr	x0, [x21, #56]
LBB0_43:
	bl	_av_frame_clone
	cbz	x0, LBB0_47
; %bb.44:
	mov	x20, x0
	ldr	x8, [x21, #32]
	str	x8, [x0]
	ldr	w0, [x19, #4]
	bl	_av_inv_q
	mov	x1, x0
	ldr	w2, [x19]
	mov	w0, #1
	bl	_av_rescale_q
	ldr	x8, [x21, #32]
	add	x8, x8, x0
	str	x8, [x21, #32]
	ldr	x8, [x21, #8]
	subs	x8, x8, #1
	str	x8, [x21, #8]
	b.ne	LBB0_46
; %bb.45:
	str	xzr, [x21, #56]
LBB0_46:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ff_filter_frame
LBB0_47:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_AVERROR
LBB0_48:
	ldr	w8, [x21, #16]
	cbnz	w8, LBB0_12
	b	LBB0_18
LBB0_49:
	ldr	x2, [sp, #8]
	b	LBB0_27
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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
