	.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	32(%rdi), %r12
	movq	16(%rdi), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK_ALL
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_ff_inlink_queued_samples
	movq	%rax, %rbx
	movq	8(%r15), %rax
	movl	4(%rax), %edi
	callq	_ff_inlink_queued_samples
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_FFMIN
	movl	%eax, %r14d
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	cmpq	$0, (%rax,%rbx,8)
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movl	%r14d, %esi
	callq	_ff_inlink_check_available_samples
	testq	%rax, %rax
	jle	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	(,%rbx,8), %rcx
	addq	(%r12), %rcx
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	_ff_inlink_consume_samples
	testl	%eax, %eax
	jns	LBB0_3
	jmp	LBB0_24
LBB0_8:
	movq	(%r12), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	cmpq	$0, 8(%rcx)
	je	LBB0_12
## %bb.10:
	movq	16(%r15), %rcx
	movq	(%rcx), %rdi
	movl	4(%rax), %esi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_21
## %bb.11:
	movq	%rax, %rbx
	movq	16(%r15), %rax
	movq	24(%r15), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_process_channels@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	(%rax), %rax
	movq	(%rax), %r13
	movq	%r15, %rdi
	callq	_ff_filter_get_nb_threads
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_FFMIN
	movq	%r15, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movq	(%r12), %rdi
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	callq	_av_frame_free
	movq	(%r12), %rdi
	addq	$8, %rdi
	callq	_av_frame_free
	movq	16(%r15), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_ff_filter_frame
	testl	%eax, %eax
	js	LBB0_24
LBB0_12:
	testl	%r14d, %r14d
	je	LBB0_17
LBB0_13:
	movq	16(%r15), %rax
	movq	(%rax), %rdi
	callq	_ff_outlink_frame_wanted
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_ff_inlink_queued_samples
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jle	LBB0_22
## %bb.15:
	movq	8(%r15), %rax
	movl	4(%rax), %edi
	callq	_ff_inlink_queued_samples
	testq	%rax, %rax
	jg	LBB0_25
## %bb.16:
	movl	$1, %eax
	jmp	LBB0_23
LBB0_17:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_ff_inlink_acknowledge_status
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	movq	8(%r15), %rax
	movl	4(%rax), %edi
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_ff_inlink_acknowledge_status
	testq	%rax, %rax
	je	LBB0_13
LBB0_19:
	movq	16(%r15), %rax
	movq	(%rax), %rdi
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	callq	_ff_outlink_set_status
LBB0_20:
	xorl	%r13d, %r13d
	jmp	LBB0_25
LBB0_24:
	movl	%eax, %r13d
	jmp	LBB0_25
LBB0_21:
	movq	(%r12), %rdi
	callq	_av_frame_free
	movq	(%r12), %rdi
	addq	$8, %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_22:
	xorl	%eax, %eax
LBB0_23:
	movq	8(%r15), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_ff_inlink_request_frame
LBB0_25:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_process_channels,4,2           ## @process_channels
	.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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x24, [x0, #32]
	ldr	x8, [x0, #16]
	ldr	x0, [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	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_ff_inlink_queued_samples
	mov	x1, x0
	mov	x0, x20
	bl	_FFMIN
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #1
	ccmp	w0, #1, #8, ge
	b.ge	LBB0_10
LBB0_1:
	ldr	x9, [x24]
	ldr	x8, [x9]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_5
; %bb.3:
	ldr	x9, [x19, #16]
	ldr	x0, [x9]
	ldr	w1, [x8, #4]
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_18
; %bb.4:
	mov	x21, x0
	ldp	x9, x8, [x19, #16]
	ldr	x25, [x8]
Lloh0:
	adrp	x8, _process_channels@GOTPAGE
Lloh1:
	ldr	x8, [x8, _process_channels@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	x8, [x9]
	ldr	x23, [x8]
	mov	x0, x19
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x23
	bl	_FFMIN
	mov	x4, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, #0
	blr	x25
	ldr	x0, [x24]
	ldr	x8, [x0]
	ldr	w8, [x8]
	str	w8, [x21]
	bl	_av_frame_free
	ldr	x8, [x24]
	add	x0, x8, #8
	bl	_av_frame_free
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	mov	x1, x21
	bl	_ff_filter_frame
	tbnz	w0, #31, LBB0_22
LBB0_5:
	cbz	w20, LBB0_15
LBB0_6:
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_22
; %bb.7:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_ff_inlink_queued_samples
	cmp	x0, #0
	b.le	LBB0_19
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_ff_inlink_queued_samples
	cmp	x0, #1
	b.ge	LBB0_21
; %bb.9:
	mov	w8, #1
	b	LBB0_20
LBB0_10:
	mov	x21, #0
	mov	x22, #0
	mov	x23, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #8
	add	x21, x21, #4
	cmp	x23, x8
	b.ge	LBB0_1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x8, [x8, x22]
	cbnz	x8, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x21]
	mov	x1, x20
	bl	_ff_inlink_check_available_samples
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x21]
	ldr	x8, [x24]
	add	x3, x8, x22
	mov	x1, x20
	mov	x2, x20
	bl	_ff_inlink_consume_samples
	tbz	w0, #31, LBB0_11
	b	LBB0_22
LBB0_15:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_ff_inlink_acknowledge_status
	cbnz	x0, LBB0_17
; %bb.16:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_ff_inlink_acknowledge_status
	cbz	x0, LBB0_6
LBB0_17:
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	ldp	w2, w1, [sp, #8]
	bl	_ff_outlink_set_status
	b	LBB0_21
LBB0_18:
	ldr	x0, [x24]
	bl	_av_frame_free
	ldr	x8, [x24]
	add	x0, x8, #8
	bl	_av_frame_free
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_AVERROR
LBB0_19:
	mov	x8, #0
LBB0_20:
	ldr	x9, [x19, #8]
	ldr	w0, [x9, x8, lsl #2]
	bl	_ff_inlink_request_frame
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_process_channels,4,2           ; @process_channels
	.no_dead_strip	_activate
.subsections_via_symbols
