	.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, %rbx
	movq	16(%rdi), %r15
	movq	$0, -56(%rbp)
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK_ALL
	movq	(%r15), %rcx
	movq	_INPUT_MAIN@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	xorl	%r14d, %r14d
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_9
LBB0_1:
	cmpq	$0, 16(%r15)
	je	LBB0_3
## %bb.2:
	movq	(%r15), %rcx
	movq	_INPUT_CLEANSRC@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_15
LBB0_3:
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_ff_inlink_acknowledge_status
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movl	-44(%rbp), %esi
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_7
## %bb.5:
	movq	(%r12), %rcx
LBB0_6:
	movl	$1, %eax
	shll	%cl, %eax
	orl	%eax, 8(%r15)
	movq	(%rbx), %rax
	movl	(%rax,%rcx,4), %edi
	xorl	%esi, %esi
	callq	_filter_frame
	movl	%eax, %r14d
	movl	-44(%rbp), %esi
LBB0_7:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	-48(%rbp), %edx
	callq	_ff_outlink_set_status
LBB0_8:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	leaq	-56(%rbp), %rsi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	jle	LBB0_23
## %bb.10:
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	-56(%rbp), %rsi
	callq	_filter_frame
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_1
	jmp	LBB0_8
LBB0_11:
	cmpq	$0, 16(%r15)
	je	LBB0_17
## %bb.12:
	movq	(%rbx), %rax
	movq	_INPUT_CLEANSRC@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_ff_inlink_acknowledge_status
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	movl	-44(%rbp), %esi
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_7
## %bb.14:
	movq	(%r13), %rcx
	jmp	LBB0_6
LBB0_15:
	movq	(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	leaq	-56(%rbp), %rsi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	jle	LBB0_25
## %bb.16:
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	-56(%rbp), %rsi
	callq	_filter_frame
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_3
	jmp	LBB0_8
LBB0_17:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_ff_outlink_frame_wanted
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_8
## %bb.18:
	movq	(%r15), %rcx
	movq	(%r12), %rax
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_20
## %bb.19:
	movq	(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_ff_inlink_request_frame
LBB0_20:
	cmpq	$0, 16(%r15)
	je	LBB0_8
## %bb.21:
	movq	(%r15), %rcx
	movq	_INPUT_CLEANSRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_8
## %bb.22:
	movq	(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_ff_inlink_request_frame
	jmp	LBB0_8
LBB0_23:
	jns	LBB0_1
	jmp	LBB0_24
LBB0_25:
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jns	LBB0_3
LBB0_24:
	movl	%eax, %r14d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_INPUT_MAIN,8,3                 ## @INPUT_MAIN
	.comm	_INPUT_CLEANSRC,8,3             ## @INPUT_CLEANSRC
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.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
	str	xzr, [sp, #8]
	ldp	x8, x21, [x0, #8]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FF_FILTER_FORWARD_STATUS_BACK_ALL
	ldr	x9, [x21]
Lloh0:
	adrp	x22, _INPUT_MAIN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _INPUT_MAIN@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x9, x8, lsl #3]
	cbz	x9, LBB0_9
LBB0_1:
	mov	w20, #0
LBB0_2:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x9, [x21]
Lloh2:
	adrp	x23, _INPUT_CLEANSRC@GOTPAGE
Lloh3:
	ldr	x23, [x23, _INPUT_CLEANSRC@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x9, x8, lsl #3]
	cbz	x9, LBB0_15
LBB0_4:
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #4
	mov	x2, sp
	bl	_ff_inlink_acknowledge_status
	cbz	x0, LBB0_11
; %bb.5:
	ldr	w1, [sp, #4]
Lloh4:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x22]
LBB0_7:
	mov	w9, #1
	lsl	w9, w9, w8
	ldr	w10, [x21, #8]
	orr	w9, w9, w10
	str	w9, [x21, #8]
	ldr	x9, [x19]
	ldr	w0, [x9, x8, lsl #2]
	mov	x1, #0
	bl	_filter_frame
	mov	x20, x0
	ldr	w1, [sp, #4]
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w2, [sp]
	bl	_ff_outlink_set_status
	b	LBB0_27
LBB0_9:
	ldr	x9, [x19]
	ldr	w0, [x9, x8, lsl #2]
	add	x1, sp, #8
	bl	_ff_inlink_consume_frame
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.10:
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	ldr	x1, [sp, #8]
	bl	_filter_frame
	mov	x20, x0
	tbz	w0, #31, LBB0_2
	b	LBB0_27
LBB0_11:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_17
; %bb.12:
	ldr	x8, [x19]
Lloh7:
	adrp	x23, _INPUT_CLEANSRC@GOTPAGE
Lloh8:
	ldr	x23, [x23, _INPUT_CLEANSRC@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #4
	mov	x2, sp
	bl	_ff_inlink_acknowledge_status
	cbz	x0, LBB0_17
; %bb.13:
	ldr	w1, [sp, #4]
Lloh9:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_8
; %bb.14:
	ldr	x8, [x23]
	b	LBB0_7
LBB0_15:
	ldr	x9, [x19]
	ldr	w0, [x9, x8, lsl #2]
	add	x1, sp, #8
	bl	_ff_inlink_consume_frame
	cmp	w0, #1
	b.lt	LBB0_25
; %bb.16:
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	ldr	x1, [sp, #8]
	bl	_filter_frame
	mov	x20, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_27
LBB0_17:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_23
; %bb.18:
	ldr	x9, [x21]
	ldr	x8, [x22]
	ldr	x9, [x9, x8, lsl #3]
	cbnz	x9, LBB0_20
; %bb.19:
	ldr	x9, [x19]
	ldr	w0, [x9, x8, lsl #2]
	bl	_ff_inlink_request_frame
LBB0_20:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_23
; %bb.21:
	ldr	x9, [x21]
Lloh12:
	adrp	x8, _INPUT_CLEANSRC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INPUT_CLEANSRC@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x9, x8, lsl #3]
	cbnz	x9, LBB0_23
; %bb.22:
	ldr	x9, [x19]
	ldr	w0, [x9, x8, lsl #2]
	bl	_ff_inlink_request_frame
LBB0_23:
	mov	w20, #0
	b	LBB0_27
LBB0_24:
	mov	x20, x0
	tbz	w0, #31, LBB0_1
	b	LBB0_27
LBB0_25:
	mov	x20, x0
	tbnz	w0, #31, LBB0_27
; %bb.26:
	mov	w20, #0
	b	LBB0_4
LBB0_27:
	mov	x0, 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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_INPUT_MAIN,8,3                 ; @INPUT_MAIN
	.comm	_INPUT_CLEANSRC,8,3             ; @INPUT_CLEANSRC
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.no_dead_strip	_activate
.subsections_via_symbols
