	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %r13
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rbx
	movq	(%rax), %r14
	movl	$0, -44(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	leaq	8(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%r13)
	je	LBB0_1
LBB0_8:
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.9:
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_write_frame
	movl	%eax, %r12d
	cmpl	$0, -44(%rbp)
	je	LBB0_17
## %bb.10:
	movq	%r15, %rdi
	movl	$100, %esi
	callq	_ff_filter_set_ready
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_ff_inlink_check_available_frame
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_read_frame
	testl	%eax, %eax
	js	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$1, (%r13)
	jle	LBB0_2
	jmp	LBB0_8
LBB0_13:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.14:
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movl	4(%r13), %edx
	movq	%r14, %rdi
	callq	_ff_outlink_set_status
	xorl	%r12d, %r12d
	jmp	LBB0_17
LBB0_16:
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_17
LBB0_5:
	cmpl	$1, (%r13)
	jg	LBB0_8
## %bb.6:
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_inlink_acknowledge_status
	testl	%eax, %eax
	jle	LBB0_11
## %bb.7:
	movl	-48(%rbp), %r8d
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_update_eof_pts
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	jne	LBB0_8
## %bb.12:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_FF_FILTER_FORWARD_WANTED
	xorl	%r12d, %r12d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.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	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldp	x8, x20, [x0, #8]
	ldr	x9, [x0]
	ldr	x22, [x8]
	ldr	x21, [x9]
	str	wzr, [sp, #12]
	mov	x0, x21
	mov	x1, x22
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	mov	x23, x20
	ldr	x8, [x23, #8]!
	cbz	x8, LBB0_6
LBB0_1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_write_frame
	mov	x24, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_14
; %bb.3:
	mov	x0, x19
	mov	w1, #100
	bl	_ff_filter_set_ready
	b	LBB0_14
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_ff_inlink_check_available_frame
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_read_frame
	tbnz	w0, #31, LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w8, #1
	b.le	LBB0_4
	b	LBB0_1
LBB0_7:
	ldr	x1, [x23]
	cmp	x1, #0
	ccmp	w8, #0, #0, ne
	b.eq	LBB0_9
; %bb.8:
Lloh0:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	b	LBB0_14
LBB0_9:
	ldr	w2, [x20, #4]
	mov	x0, x21
	bl	_ff_outlink_set_status
	mov	w24, #0
	b	LBB0_14
LBB0_10:
	ldr	w8, [x20]
	cmp	w8, #1
	b.gt	LBB0_1
; %bb.11:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x23
	bl	_ff_inlink_acknowledge_status
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.12:
	ldr	w4, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_update_eof_pts
	b	LBB0_1
LBB0_13:
	mov	x24, x0
LBB0_14:
	mov	x0, x24
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
	cbnz	w0, LBB0_1
; %bb.16:
	mov	x0, x21
	mov	x1, x22
	bl	_FF_FILTER_FORWARD_WANTED
	mov	w24, #0
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
