	.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), %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	movq	%r15, %rdi
	callq	_ff_inlink_queued_frames
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ff_inlink_peek_frame
	movq	%rax, -40(%rbp)
	movl	(%rax), %edi
	movl	(%r15), %esi
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_av_rescale_q
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.2:
	cmpl	$2, %ecx
	je	LBB0_8
## %bb.3:
	cmpl	$1, %ecx
	jne	LBB0_12
## %bb.4:
	movq	8(%rbx), %rcx
	jmp	LBB0_6
LBB0_5:
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
	movq	%rax, %rcx
LBB0_6:
	movq	%rax, %rdx
	subq	%rcx, %rdx
	cmpq	16(%rbx), %rdx
	jl	LBB0_17
## %bb.7:
	movq	%rax, 8(%rbx)
	movl	$2, (%rbx)
LBB0_8:
	movq	%r15, %rdi
	callq	_ff_inlink_queued_frames
	leaq	-1(%rax), %rsi
	movq	%r15, %rdi
	callq	_ff_inlink_peek_frame
	movq	%rax, -40(%rbp)
	movl	(%rax), %edi
	movl	(%r15), %esi
	movl	(%r12), %edx
	callq	_av_rescale_q
	subq	8(%rbx), %rax
	cmpq	24(%rbx), %rax
	jge	LBB0_11
## %bb.9:
	xorl	%eax, %eax
	callq	_av_gettime
	cmpq	32(%rbx), %rax
	jge	LBB0_11
## %bb.10:
	movl	(%rbx), %ecx
	jmp	LBB0_12
LBB0_11:
	movl	(%rbx), %ecx
	incl	%ecx
	movl	%ecx, (%rbx)
LBB0_12:
	cmpl	$3, %ecx
	jne	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_av_gettime
	subq	32(%rbx), %rax
	jns	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=1
	negq	%rax
	shrq	%rax
	movq	%rax, %rdi
	movl	$100, %esi
	movl	$1000000, %edx                  ## imm = 0xF4240
	callq	_av_clip
	movl	%eax, %edi
	callq	_av_usleep
	jmp	LBB0_14
LBB0_15:
	movl	(%rbx), %ecx
	incl	%ecx
	movl	%ecx, (%rbx)
LBB0_16:
	cmpl	$4, %ecx
	jne	LBB0_19
LBB0_17:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	js	LBB0_20
## %bb.18:
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ff_filter_frame
	jmp	LBB0_20
LBB0_19:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_FF_FILTER_FORWARD_STATUS
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_WANTED
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.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	x20, [x8]
	ldp	x21, x8, [x0]
	ldr	x19, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	mov	x0, x20
	bl	_ff_inlink_queued_frames
	cbz	x0, LBB0_19
; %bb.1:
	mov	x0, x20
	mov	x1, #0
	bl	_ff_inlink_peek_frame
	str	x0, [sp, #8]
	ldr	w0, [x0]
	ldr	w1, [x20]
Lloh0:
	adrp	x22, _AV_TIME_BASE_Q@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_TIME_BASE_Q@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_av_rescale_q
	ldr	w8, [x21]
	cbz	w8, LBB0_5
; %bb.2:
	cmp	w8, #2
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.4:
	ldr	x8, [x21, #8]
	b	LBB0_6
LBB0_5:
	str	x0, [x21, #8]
	mov	w8, #1
	str	w8, [x21]
	mov	x8, x0
LBB0_6:
	ldr	x9, [x21, #16]
	sub	x8, x0, x8
	cmp	x8, x9
	b.lt	LBB0_17
; %bb.7:
	str	x0, [x21, #8]
	mov	w8, #2
	str	w8, [x21]
LBB0_8:
	mov	x0, x20
	bl	_ff_inlink_queued_frames
	sub	x1, x0, #1
	mov	x0, x20
	bl	_ff_inlink_peek_frame
	str	x0, [sp, #8]
	ldr	w0, [x0]
	ldr	w1, [x20]
	ldr	w2, [x22]
	bl	_av_rescale_q
	ldr	x8, [x21, #8]
	ldr	x9, [x21, #24]
	sub	x8, x0, x8
	cmp	x8, x9
	b.ge	LBB0_11
; %bb.9:
	bl	_av_gettime
	ldr	x8, [x21, #32]
	cmp	x0, x8
	b.ge	LBB0_11
; %bb.10:
	ldr	w8, [x21]
	b	LBB0_12
LBB0_11:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_12:
	cmp	w8, #3
	b.ne	LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	bl	_av_gettime
	ldr	x8, [x21, #32]
	subs	x8, x0, x8
	b.pl	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	neg	x8, x8
	lsr	x0, x8, #1
	mov	w1, #100
	mov	w2, #16960
	movk	w2, #15, lsl #16
	bl	_av_clip
	bl	_av_usleep
	b	LBB0_13
LBB0_15:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_16:
	cmp	w8, #4
	b.ne	LBB0_19
LBB0_17:
	add	x1, sp, #8
	mov	x0, x20
	bl	_ff_inlink_consume_frame
	tbnz	w0, #31, LBB0_20
; %bb.18:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_ff_filter_frame
	b	LBB0_20
LBB0_19:
	mov	x0, x20
	mov	x1, x19
	bl	_FF_FILTER_FORWARD_STATUS
	mov	x0, x19
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_WANTED
Lloh2:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_20:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
