	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK_ALL
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_ff_inlink_queued_samples
	movl	%eax, %r15d
	movl	(%r14), %eax
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_5
## %bb.2:
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	-4(%rax,%rbx,4), %edi
	callq	_ff_inlink_queued_samples
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_FFMIN
	movl	%eax, %r15d
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	testl	%r15d, %r15d
	jg	LBB0_3
LBB0_5:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_try_push_frame
	testl	%eax, %eax
	js	LBB0_17
## %bb.7:
	movl	(%r14), %eax
LBB0_8:
	testl	%eax, %eax
	jle	LBB0_16
## %bb.9:
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %r15
	leaq	-36(%rbp), %r12
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_ff_inlink_queued_samples
	testl	%eax, %eax
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_ff_inlink_acknowledge_status
	movq	16(%r14), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	callq	_ff_outlink_frame_wanted
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_ff_inlink_request_frame
	jmp	LBB0_16
LBB0_12:
	movl	-40(%rbp), %esi
	movl	-36(%rbp), %edx
	callq	_ff_outlink_set_status
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	x19, x0
	ldr	x8, [x0, #16]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FF_FILTER_FORWARD_STATUS_BACK_ALL
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_ff_inlink_queued_samples
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #2
	ccmp	w0, #1, #8, ge
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x21, lsl #2]
	bl	_ff_inlink_queued_samples
	mov	x1, x20
	bl	_FFMIN
	mov	x20, x0
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	ccmp	w0, #0, #4, lt
	b.gt	LBB0_2
LBB0_3:
	cbz	w20, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_try_push_frame
	tbnz	w0, #31, LBB0_15
; %bb.5:
	ldr	w8, [x19]
LBB0_6:
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.7:
	mov	x20, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20, lsl #2]
	bl	_ff_inlink_queued_samples
	cbnz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20, lsl #2]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_ff_inlink_acknowledge_status
	mov	x8, x0
	ldr	x9, [x19, #16]
	ldr	w0, [x9]
	cbnz	x8, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_8
; %bb.12:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20, lsl #2]
	bl	_ff_inlink_request_frame
	b	LBB0_14
LBB0_13:
	ldp	w2, w1, [sp, #8]
	bl	_ff_outlink_set_status
LBB0_14:
	mov	w0, #0
LBB0_15:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_activate
.subsections_via_symbols
