	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r15
	movq	(%rdi), %r12
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	$0, -48(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	cmpl	$0, (%r12)
	je	LBB0_3
LBB0_1:
	cmpq	$0, 16(%r12)
	jle	LBB0_11
## %bb.2:
	movq	%r14, %rdi
	callq	_flush
	jmp	LBB0_14
LBB0_3:
	movq	8(%r12), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movq	%rdx, %rsi
	callq	_ff_inlink_consume_samples
	testl	%eax, %eax
	js	LBB0_14
## %bb.4:
	je	LBB0_6
## %bb.5:
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_filter_frame
	testl	%eax, %eax
	jle	LBB0_14
LBB0_6:
	movq	%r15, %rdi
	callq	_ff_inlink_queued_samples
	cmpq	8(%r12), %rax
	jge	LBB0_12
## %bb.7:
	cmpl	$0, (%r12)
	jne	LBB0_1
## %bb.8:
	leaq	-36(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	callq	_ff_inlink_acknowledge_status
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	movl	-36(%rbp), %eax
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.10:
	movl	$1, (%r12)
	jmp	LBB0_1
LBB0_11:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r12), %edx
	movq	%r14, %rdi
	callq	_ff_outlink_set_status
	jmp	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ff_filter_set_ready
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	cmpl	$0, (%r12)
	jne	LBB0_1
## %bb.16:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_WANTED
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.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, #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	x21, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
	ldp	x22, x8, [x0]
	ldr	x19, [x8]
	str	xzr, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	ldr	w8, [x22]
	cbz	w8, LBB0_3
LBB0_1:
	ldr	x8, [x22, #16]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x0, x19
	bl	_flush
	b	LBB0_14
LBB0_3:
	ldr	x1, [x22, #8]
	add	x3, sp, #8
	mov	x0, x20
	mov	x2, x1
	bl	_ff_inlink_consume_samples
	tbnz	w0, #31, LBB0_14
; %bb.4:
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_filter_frame
	cmp	w0, #1
	b.lt	LBB0_14
LBB0_6:
	mov	x0, x20
	bl	_ff_inlink_queued_samples
	ldr	x8, [x22, #8]
	cmp	x0, x8
	b.ge	LBB0_12
; %bb.7:
	ldr	w8, [x22]
	cbnz	w8, LBB0_1
; %bb.8:
	add	x1, sp, #4
	mov	x2, sp
	mov	x0, x20
	bl	_ff_inlink_acknowledge_status
	cbz	x0, LBB0_15
; %bb.9:
	ldr	w8, [sp, #4]
Lloh0:
	adrp	x9, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AVERROR_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.10:
	mov	w8, #1
	str	w8, [x22]
	b	LBB0_1
LBB0_11:
Lloh3:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x22, #24]
	mov	x0, x19
	bl	_ff_outlink_set_status
	b	LBB0_13
LBB0_12:
	mov	x0, x21
	mov	w1, #10
	bl	_ff_filter_set_ready
LBB0_13:
	mov	w0, #0
LBB0_14:
	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
LBB0_15:
	ldr	w8, [x22]
	cbnz	w8, LBB0_1
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_WANTED
Lloh6:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
