	.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), %rax
	movq	(%rax), %r14
	movq	(%rdi), %r13
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	$0, -48(%rbp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	movq	(%r13), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rdx, %rsi
	callq	_ff_inlink_consume_samples
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	je	LBB0_12
## %bb.3:
	cmpl	$0, 8(%r13)
	movq	-48(%rbp), %rsi
	je	LBB0_5
## %bb.4:
	movq	(%r13), %rax
	cmpq	%rax, (%rsi)
	jne	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	callq	_ff_filter_frame
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_ff_inlink_queued_samples
	cmpq	(%r13), %rax
	jl	LBB0_13
## %bb.6:
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_ff_filter_set_ready
	jmp	LBB0_13
LBB0_1:
	movl	%eax, %r12d
	jmp	LBB0_13
LBB0_12:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_STATUS
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_FF_FILTER_FORWARD_WANTED
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_13:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ff_get_audio_buffer
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r14
	movq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_av_frame_copy_props
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movl	16(%r14), %edi
	movq	-48(%rbp), %rax
	movl	16(%rax), %esi
	movq	(%rax), %r8
	movl	12(%rax), %r9d
	movl	8(%rax), %eax
	movl	%eax, (%rsp)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_samples_copy
	movl	16(%r14), %edi
	movq	-48(%rbp), %rax
	movq	(%rax), %rsi
	movq	(%r13), %rdx
	subq	%rsi, %rdx
	movl	12(%rax), %ecx
	movl	8(%rax), %r8d
	callq	_av_samples_set_silence
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ff_filter_frame
	movl	%eax, %r12d
	jmp	LBB0_13
LBB0_8:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r12d
	jmp	LBB0_13
LBB0_10:
	movl	%eax, %r12d
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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	x20, x0
	ldr	x8, [x0, #16]
	ldr	x22, [x8]
	ldp	x23, x8, [x0]
	ldr	x19, [x8]
	str	xzr, [sp, #8]
	mov	x0, x19
	mov	x1, x22
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	ldr	x1, [x23]
	add	x3, sp, #8
	mov	x0, x22
	mov	x2, x1
	bl	_ff_inlink_consume_samples
	mov	x21, x0
	tbnz	w0, #31, LBB0_7
; %bb.1:
	cbz	w21, LBB0_6
; %bb.2:
	ldr	w8, [x23, #8]
	ldr	x1, [sp, #8]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	x9, [x1]
	ldr	x8, [x23]
	cmp	x9, x8
	b.ne	LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_ff_filter_frame
	mov	x21, x0
	mov	x0, x22
	bl	_ff_inlink_queued_samples
	ldr	x8, [x23]
	cmp	x0, x8
	b.lt	LBB0_7
; %bb.5:
	mov	x0, x20
	mov	w1, #100
	bl	_ff_filter_set_ready
	b	LBB0_7
LBB0_6:
	mov	x0, x22
	mov	x1, x19
	bl	_FF_FILTER_FORWARD_STATUS
	mov	x0, x19
	mov	x1, x22
	bl	_FF_FILTER_FORWARD_WANTED
Lloh0:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
LBB0_7:
	mov	x0, x21
	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_8:
	mov	x0, x19
	mov	x1, x8
	bl	_ff_get_audio_buffer
	str	x0, [sp]
	cbz	x0, LBB0_11
; %bb.9:
	mov	x20, x0
	ldr	x1, [sp, #8]
	bl	_av_frame_copy_props
	tbnz	w0, #31, LBB0_12
; %bb.10:
	ldr	w0, [x20, #16]
	ldr	x8, [sp, #8]
	ldp	w5, w1, [x8, #12]
	ldr	x4, [x8]
	ldr	w6, [x8, #8]
	mov	w2, #0
	mov	w3, #0
	bl	_av_samples_copy
	ldr	w0, [x20, #16]
	ldr	x8, [sp, #8]
	ldr	x1, [x8]
	ldr	x9, [x23]
	sub	x2, x9, x1
	ldp	w4, w3, [x8, #8]
	bl	_av_samples_set_silence
	add	x0, sp, #8
	bl	_av_frame_free
	mov	x0, x19
	mov	x1, x20
	bl	_ff_filter_frame
	mov	x21, x0
	b	LBB0_7
LBB0_11:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x21, x0
	b	LBB0_7
LBB0_12:
	mov	x21, x0
	mov	x0, sp
	bl	_av_frame_free
	add	x0, sp, #8
	bl	_av_frame_free
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
