	.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, %r12
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movq	(%rdi), %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	$0, -48(%rbp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	cmpl	$0, (%rbx)
	jne	LBB0_9
## %bb.1:
	movl	24(%rbx), %edi
	callq	_av_audio_fifo_size
	cmpq	8(%rbx), %rax
	jge	LBB0_9
## %bb.2:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	je	LBB0_9
## %bb.5:
	movl	24(%rbx), %edi
	movq	-48(%rbp), %rax
	movq	16(%rax), %rsi
	movl	8(%rax), %edx
	callq	_av_audio_fifo_write
	testl	%eax, %eax
	js	LBB0_26
## %bb.6:
	movq	16(%rbx), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_8:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
LBB0_9:
	movl	24(%rbx), %edi
	callq	_av_audio_fifo_size
	cmpq	8(%rbx), %rax
	jge	LBB0_12
## %bb.10:
	movl	24(%rbx), %edi
	callq	_av_audio_fifo_size
	movl	(%rbx), %ecx
	testq	%rax, %rax
	jle	LBB0_14
## %bb.11:
	testl	%ecx, %ecx
	je	LBB0_15
LBB0_12:
	movq	%r14, %rdi
	callq	_filter_frame
	movl	%eax, %r13d
	movl	24(%rbx), %edi
	callq	_av_audio_fifo_size
	cmpq	8(%rbx), %rax
	jl	LBB0_25
## %bb.13:
	movq	%r12, %rdi
	movl	$100, %esi
	callq	_ff_filter_set_ready
	jmp	LBB0_25
LBB0_14:
	testl	%ecx, %ecx
	jne	LBB0_20
LBB0_15:
	leaq	-52(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_ff_inlink_acknowledge_status
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	movl	-52(%rbp), %eax
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
## %bb.17:
	movl	$1, (%rbx)
	movl	24(%rbx), %edi
	callq	_av_audio_fifo_size
	testq	%rax, %rax
	js	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	movl	$100, %esi
	callq	_ff_filter_set_ready
	xorl	%r13d, %r13d
	jmp	LBB0_25
LBB0_19:
	cmpl	$0, (%rbx)
	je	LBB0_23
LBB0_20:
	movl	24(%rbx), %edi
	callq	_av_audio_fifo_size
	testq	%rax, %rax
	jle	LBB0_21
## %bb.22:
	cmpl	$0, (%rbx)
	jne	LBB0_24
LBB0_23:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_FF_FILTER_FORWARD_WANTED
LBB0_24:
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_25
LBB0_21:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%rbx), %rdx
	movq	%r15, %rdi
	callq	_ff_outlink_set_status
	xorl	%r13d, %r13d
	jmp	LBB0_25
LBB0_3:
	movl	%eax, %r13d
	jmp	LBB0_25
LBB0_26:
	movl	%eax, %r13d
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
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	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.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	x8, [x0, #16]
	ldr	x20, [x8]
	ldp	x23, x8, [x0]
	ldr	x21, [x8]
	str	xzr, [sp, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	ldr	w8, [x23]
	cbnz	w8, LBB0_8
; %bb.1:
	ldr	w0, [x23, #24]
	bl	_av_audio_fifo_size
	ldr	x8, [x23, #8]
	cmp	x0, x8
	b.ge	LBB0_8
; %bb.2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_ff_inlink_consume_frame
	mov	x22, x0
	tbnz	w0, #31, LBB0_25
; %bb.3:
	cbz	w22, LBB0_8
; %bb.4:
	ldr	w0, [x23, #24]
	ldr	x8, [sp, #8]
	ldr	x1, [x8, #16]
	ldr	w2, [x8, #8]
	bl	_av_audio_fifo_write
	tbnz	w0, #31, LBB0_24
; %bb.5:
	ldr	x8, [x23, #16]
Lloh0:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	str	x8, [x23, #16]
LBB0_7:
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_8:
	ldr	w0, [x23, #24]
	bl	_av_audio_fifo_size
	ldr	x8, [x23, #8]
	cmp	x0, x8
	b.ge	LBB0_11
; %bb.9:
	ldr	w0, [x23, #24]
	bl	_av_audio_fifo_size
	ldr	w8, [x23]
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.10:
	cbz	w8, LBB0_14
LBB0_11:
	mov	x0, x20
	bl	_filter_frame
	mov	x22, x0
	ldr	w0, [x23, #24]
	bl	_av_audio_fifo_size
	ldr	x8, [x23, #8]
	cmp	x0, x8
	b.lt	LBB0_25
; %bb.12:
	mov	x0, x19
	mov	w1, #100
	bl	_ff_filter_set_ready
	b	LBB0_25
LBB0_13:
	cbnz	w8, LBB0_19
LBB0_14:
	add	x1, sp, #4
	mov	x2, sp
	mov	x0, x20
	bl	_ff_inlink_acknowledge_status
	cbz	x0, LBB0_18
; %bb.15:
	ldr	w8, [sp, #4]
Lloh3:
	adrp	x9, _AVERROR_EOF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVERROR_EOF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.16:
	mov	w8, #1
	str	w8, [x23]
	ldr	w0, [x23, #24]
	bl	_av_audio_fifo_size
	tbnz	x0, #63, LBB0_18
; %bb.17:
	mov	x0, x19
	mov	w1, #100
	bl	_ff_filter_set_ready
	mov	w22, #0
	b	LBB0_25
LBB0_18:
	ldr	w8, [x23]
	cbz	w8, LBB0_21
LBB0_19:
	ldr	w0, [x23, #24]
	bl	_av_audio_fifo_size
	cmp	x0, #0
	b.le	LBB0_23
; %bb.20:
	ldr	w8, [x23]
	cbnz	w8, LBB0_22
LBB0_21:
	mov	x0, x21
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_WANTED
LBB0_22:
Lloh6:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	b	LBB0_25
LBB0_23:
Lloh9:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x2, [x23, #16]
	mov	x0, x21
	bl	_ff_outlink_set_status
	mov	w22, #0
	b	LBB0_25
LBB0_24:
	mov	x22, x0
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_25:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
