	.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	24(%rdi), %r12
	cmpl	$0, (%rdi)
	je	LBB0_11
## %bb.1:
	leaq	4(%r15), %r13
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jae	LBB0_37
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_ff_outlink_get_status
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %eax
	cmpq	%rax, %rbx
	jae	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rcx
	movl	%ebx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, %esi
	cmpl	$0, (%rcx,%rsi,4)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	addl	(%r15), %edx
	cmpl	%eax, %edx
	jb	LBB0_6
	jmp	LBB0_2
LBB0_8:
	movl	$1, (%rcx,%rsi,4)
	movq	8(%r15), %rax
	movl	(%rax,%rsi,4), %edi
	movl	-44(%rbp), %esi
	callq	_ff_inlink_set_status
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	4(%r15), %r13
	xorl	%eax, %eax
LBB0_12:
	movl	(%r12), %ecx
	movl	(%r13), %edx
LBB0_13:
	cmpl	%edx, %ecx
	jae	LBB0_25
## %bb.14:
	testl	%eax, %eax
	je	LBB0_44
## %bb.15:
	movq	8(%r15), %rax
	movl	%ecx, %ecx
	movl	(%rax,%rcx,4), %edi
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_ff_inlink_acknowledge_status
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jg	LBB0_20
## %bb.16:
	movl	$1, %r13d
	leaq	-44(%rbp), %r14
	leaq	-48(%rbp), %rbx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	cmpl	%eax, %r13d
	jae	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%r15), %rax
	movl	(%r12), %ecx
	addl	%r13d, %ecx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_ff_inlink_acknowledge_status
	incl	%r13d
	testl	%eax, %eax
	jle	LBB0_17
## %bb.19:
	decl	%r13d
LBB0_20:
	movl	(%r12), %esi
	addl	%r13d, %esi
	movq	%r15, %rdi
	callq	_close_input
	movl	(%r15), %eax
	addl	(%r12), %eax
	cmpl	4(%r15), %eax
	jb	LBB0_22
## %bb.21:
	movq	16(%r15), %rax
	movl	%r13d, %ecx
	movl	(%rax,%rcx,4), %edi
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	callq	_ff_outlink_set_status
LBB0_22:
	cmpl	$0, 16(%r12)
	jne	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	callq	_flush_segment
	testl	%eax, %eax
	js	LBB0_46
LBB0_24:
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_ff_filter_set_ready
	jmp	LBB0_9
LBB0_25:
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	testl	%eax, %eax
	je	LBB0_10
## %bb.26:
	xorl	%ebx, %ebx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rcx,4), %edi
	callq	_ff_inlink_request_frame
	xorl	%r14d, %r14d
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=1
	incq	%rbx
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jae	LBB0_10
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_ff_outlink_frame_wanted
	testq	%rax, %rax
	je	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	8(%r12), %rax
	movl	(%r12), %edx
	leal	(%rbx,%rdx), %ecx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_27
## %bb.31:
	movl	(%r15), %ecx
	xorl	%r14d, %r14d
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.32:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	addl	%ebx, %edx
	decl	%edx
	cmpl	$0, (%rax,%rdx,4)
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rdx,4), %edi
	callq	_ff_inlink_request_frame
	movl	(%r15), %ecx
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	cmpl	%ecx, %ebx
	jae	LBB0_10
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	8(%r12), %rax
	movl	(%r12), %edx
	incl	%ebx
	jmp	LBB0_33
LBB0_37:
	movl	(%r12), %ecx
	movl	(%r13), %edx
	cmpl	%edx, %ecx
	jae	LBB0_13
## %bb.38:
	testl	%eax, %eax
	je	LBB0_45
## %bb.39:
	movq	8(%r15), %rax
	movl	(%rax,%rcx,4), %edi
	leaq	-56(%rbp), %rsi
	callq	_ff_inlink_consume_frame
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_10
## %bb.40:
	movl	$1, %ebx
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	testl	%r14d, %r14d
	jne	LBB0_47
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	movl	(%r15), %eax
	cmpl	%eax, %ebx
	jae	LBB0_12
## %bb.43:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	8(%r15), %rax
	movl	(%r12), %ecx
	addl	%ebx, %ecx
	movl	(%rax,%rcx,4), %edi
	leaq	-56(%rbp), %rsi
	callq	_ff_inlink_consume_frame
	movl	%eax, %r14d
	incl	%ebx
	testl	%eax, %eax
	jns	LBB0_41
	jmp	LBB0_10
LBB0_44:
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_10
LBB0_45:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_46:
	movl	%eax, %r14d
	jmp	LBB0_10
LBB0_47:
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_ff_filter_set_ready
	movl	(%r12), %eax
	leal	(%rax,%rbx), %esi
	decl	%esi
	movq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_push_frame
	movl	%eax, %r14d
	jmp	LBB0_10
	.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
	ldr	x21, [x0, #24]
	ldr	w8, [x0]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x20, #0
	add	x22, x19, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	w8, [x19]
	cmp	x20, x8
	b.hs	LBB0_17
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x20, lsl #2]
	bl	_ff_outlink_get_status
	str	w0, [sp, #4]
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	cmp	x20, x8
	b.hs	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x21, #8]
	mov	x10, x20
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x9, w10, uxtw #2]
	cbz	w11, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w11, [x19]
	add	w10, w11, w10
	cmp	w10, w8
	b.lo	LBB0_6
	b	LBB0_2
LBB0_8:
	mov	w8, w10
	lsl	x8, x8, #2
	mov	w10, #1
	str	w10, [x9, x8]
	ldr	x9, [x19, #8]
	ldr	w0, [x9, x8]
	ldr	w1, [sp, #4]
	bl	_ff_inlink_set_status
LBB0_9:
	mov	w20, #0
LBB0_10:
	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
LBB0_11:
	add	x22, x19, #4
LBB0_12:
	ldr	w9, [x21]
	ldr	w10, [x22]
LBB0_13:
	cmp	w9, w10
	b.hs	LBB0_34
; %bb.14:
	cbz	w8, LBB0_24
; %bb.15:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, w9, uxtw #2]
	add	x1, sp, #4
	mov	x2, sp
	bl	_ff_inlink_acknowledge_status
	cmp	w0, #0
	b.le	LBB0_25
; %bb.16:
	mov	w20, #0
	b	LBB0_29
LBB0_17:
	ldr	w9, [x21]
	ldr	w10, [x22]
	cmp	w9, w10
	b.hs	LBB0_13
; %bb.18:
	cbz	w8, LBB0_13
; %bb.19:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #8
	bl	_ff_inlink_consume_frame
	mov	x20, x0
	tbnz	w0, #31, LBB0_10
; %bb.20:
	mov	w23, #1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	cbnz	w20, LBB0_47
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [x19]
	cmp	w23, w8
	b.hs	LBB0_12
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [x21]
	ldr	x9, [x19, #8]
	add	w8, w23, w8
	ldr	w0, [x9, w8, uxtw #2]
	add	x1, sp, #8
	bl	_ff_inlink_consume_frame
	mov	x20, x0
	add	w23, w23, #1
	tbz	w0, #31, LBB0_21
	b	LBB0_10
LBB0_24:
Lloh0:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_25:
	mov	w20, #1
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cmp	w20, w8
	b.hs	LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x21]
	ldr	x9, [x19, #8]
	add	w8, w20, w8
	ldr	w0, [x9, w8, uxtw #2]
	add	x1, sp, #4
	mov	x2, sp
	bl	_ff_inlink_acknowledge_status
	add	w20, w20, #1
	cmp	w0, #0
	b.le	LBB0_26
; %bb.28:
	sub	w20, w20, #1
LBB0_29:
	ldr	w8, [x21]
	add	w1, w8, w20
	mov	x0, x19
	bl	_close_input
	ldr	w8, [x21]
	ldp	w9, w10, [x19]
	add	w8, w9, w8
	cmp	w8, w10
	b.lo	LBB0_31
; %bb.30:
	ldr	x8, [x19, #16]
	ldr	w0, [x8, w20, uxtw #2]
	ldp	w2, w1, [sp]
	bl	_ff_outlink_set_status
LBB0_31:
	ldr	w8, [x21, #16]
	cbnz	w8, LBB0_33
; %bb.32:
	mov	x0, x19
	bl	_flush_segment
	tbnz	w0, #31, LBB0_46
LBB0_33:
	mov	x0, x19
	mov	w1, #10
	bl	_ff_filter_set_ready
	b	LBB0_9
LBB0_34:
Lloh3:
	adrp	x9, _FFERROR_NOT_READY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x9]
	cbz	w8, LBB0_10
; %bb.35:
	mov	x22, #0
	b	LBB0_38
LBB0_36:                                ;   in Loop: Header=BB0_38 Depth=1
	ldr	x9, [x19, #8]
	ldr	w0, [x9, x8, lsl #2]
	bl	_ff_inlink_request_frame
	mov	w20, #0
LBB0_37:                                ;   in Loop: Header=BB0_38 Depth=1
	add	x22, x22, #1
	ldr	w8, [x19]
	cmp	x22, x8
	b.hs	LBB0_10
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x22, lsl #2]
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_37
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	ldr	x9, [x21, #8]
	ldr	w10, [x21]
	add	w8, w22, w10
	ldr	w11, [x9, w8, uxtw #2]
	cbz	w11, LBB0_36
; %bb.40:
	ldr	w8, [x19]
	cbz	w8, LBB0_9
; %bb.41:
	mov	w20, #1
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	add	w10, w10, w20
	sub	w10, w10, #1
	ldr	w9, [x9, w10, uxtw #2]
	cbnz	w9, LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x10, lsl #2]
	bl	_ff_inlink_request_frame
	ldr	w8, [x19]
LBB0_44:                                ;   in Loop: Header=BB0_42 Depth=1
	cmp	w20, w8
	b.hs	LBB0_9
; %bb.45:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	x9, [x21, #8]
	ldr	w10, [x21]
	add	w20, w20, #1
	b	LBB0_42
LBB0_46:
	mov	x20, x0
	b	LBB0_10
LBB0_47:
	mov	x0, x19
	mov	w1, #10
	bl	_ff_filter_set_ready
	ldr	w8, [x21]
	add	w8, w8, w23
	sub	w1, w8, #1
	ldr	x2, [sp, #8]
	mov	x0, x19
	bl	_push_frame
	mov	x20, x0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
