	.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	16(%rdi), %rax
	movq	(%rax), %r15
	movq	(%rdi), %r12
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	$0, -40(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	je	LBB0_6
## %bb.3:
	movq	(%r12), %rcx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	movq	-40(%rbp), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	movq	(%rax), %rcx
	movq	%rcx, (%r12)
LBB0_5:
	movl	16(%r12), %edi
	movq	16(%rax), %rsi
	movl	8(%rax), %edx
	callq	_av_audio_fifo_write
	movl	%eax, %ebx
	leaq	-40(%rbp), %rdi
	callq	_av_frame_free
	testl	%ebx, %ebx
	js	LBB0_12
LBB0_6:
	movl	16(%r12), %edi
	callq	_av_audio_fifo_size
	cmpq	8(%r12), %rax
	jge	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_FF_FILTER_FORWARD_STATUS
	movq	%r14, %rdi
	callq	_ff_outlink_frame_wanted
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movl	16(%r12), %edi
	callq	_av_audio_fifo_size
	cmpq	8(%r12), %rax
	jge	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_ff_inlink_request_frame
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_7:
	movq	%r15, %rdi
	callq	_output_frame
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_11:
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.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, #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
	ldr	x8, [x0, #16]
	ldr	x19, [x8]
	ldp	x22, x8, [x0]
	ldr	x20, [x8]
	str	xzr, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	add	x1, sp, #8
	mov	x0, x19
	bl	_ff_inlink_consume_frame
	mov	x21, x0
	tbnz	w0, #31, LBB0_11
; %bb.1:
	cbz	w21, LBB0_5
; %bb.2:
	ldr	x9, [x22]
Lloh0:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x8, [sp, #8]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	x9, [x8]
	str	x9, [x22]
LBB0_4:
	ldr	w0, [x22, #16]
	ldr	x1, [x8, #16]
	ldr	w2, [x8, #8]
	bl	_av_audio_fifo_write
	mov	x21, x0
	add	x0, sp, #8
	bl	_av_frame_free
	tbnz	w21, #31, LBB0_11
LBB0_5:
	ldr	w0, [x22, #16]
	bl	_av_audio_fifo_size
	ldr	x8, [x22, #8]
	cmp	x0, x8
	b.ge	LBB0_9
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_STATUS
	mov	x0, x20
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_10
; %bb.7:
	ldr	w0, [x22, #16]
	bl	_av_audio_fifo_size
	ldr	x8, [x22, #8]
	cmp	x0, x8
	b.ge	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_ff_inlink_request_frame
	mov	w21, #0
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	bl	_output_frame
	mov	x21, x0
	b	LBB0_11
LBB0_10:
Lloh3:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
LBB0_11:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
