	.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	16(%rdi), %rax
	movq	(%rax), %r15
	movq	(%rdi), %r13
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	js	LBB0_22
## %bb.1:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.2:
	movq	(%r13), %rbx
	movq	32(%r13), %rcx
	incq	%rbx
	movq	%rbx, (%r13)
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.3:
	movq	(%rcx), %rcx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_4
LBB0_6:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	jle	LBB0_7
## %bb.8:
	subq	8(%r13), %rbx
	callq	_av_inv_q
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	jmp	LBB0_10
LBB0_21:
	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
	jmp	LBB0_22
LBB0_4:
	movq	(%rax), %rdi
	cmpq	%rdx, %rdi
	je	LBB0_6
## %bb.5:
	subq	%rcx, %rdi
	jl	LBB0_6
## %bb.9:
	movl	(%r15), %esi
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_10:
	callq	_av_rescale_q
	movq	%rax, %rbx
	jmp	LBB0_11
LBB0_7:
	xorl	%ebx, %ebx
LBB0_11:
	movq	32(%r13), %rsi
	movq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_is_frozen
	movl	%eax, %r12d
	cmpq	16(%r13), %rbx
	jl	LBB0_17
## %bb.12:
	cmpl	$0, 24(%r13)
	jne	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	32(%r13), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	callq	_av_ts2timestr
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_set_meta
LBB0_14:
	testl	%r12d, %r12d
	jne	LBB0_16
## %bb.15:
	movq	-48(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_av_ts2timestr
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_set_meta
	movq	-48(%rbp), %rbx
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_av_ts2timestr
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %ecx
	callq	_set_meta
LBB0_16:
	movl	%r12d, 24(%r13)
LBB0_17:
	testl	%r12d, %r12d
	jne	LBB0_20
LBB0_18:
	leaq	32(%r13), %rdi
	callq	_av_frame_free
	movq	-48(%rbp), %rdi
	callq	_av_frame_clone
	movq	%rax, 32(%r13)
	movq	(%r13), %rcx
	movq	%rcx, 8(%r13)
	testq	%rax, %rax
	je	LBB0_19
LBB0_20:
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ff_filter_frame
	jmp	LBB0_22
LBB0_19:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_22:
	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	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lavfi.freezedetect.freeze_start"

L_.str.1:                               ## @.str.1
	.asciz	"lavfi.freezedetect.freeze_duration"

L_.str.2:                               ## @.str.2
	.asciz	"lavfi.freezedetect.freeze_end"

	.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, #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
	ldr	x8, [x0, #16]
	ldr	x21, [x8]
	ldp	x20, x8, [x0]
	ldr	x19, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	add	x1, sp, #8
	mov	x0, x21
	bl	_ff_inlink_consume_frame
	tbnz	w0, #31, LBB0_21
; %bb.1:
	ldr	x9, [sp, #8]
	cbz	x9, LBB0_7
; %bb.2:
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	mov	x22, x20
	ldr	x10, [x22, #32]!
	cbz	x10, LBB0_18
; %bb.3:
	ldr	x10, [x10]
Lloh0:
	adrp	x11, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_5
; %bb.4:
	ldr	x9, [x9]
	cmp	x9, x11
	ccmp	x9, x10, #8, ne
	b.ge	LBB0_9
LBB0_5:
	ldr	x0, [x21, #8]
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.6:
	ldr	x9, [x20, #8]
	sub	x23, x8, x9
	bl	_av_inv_q
	mov	x1, x0
Lloh3:
	adrp	x8, _AV_TIME_BASE_Q@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_TIME_BASE_Q@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x23
	b	LBB0_10
LBB0_7:
	mov	x0, x21
	mov	x1, x19
	bl	_FF_FILTER_FORWARD_STATUS
	mov	x0, x19
	mov	x1, x21
	bl	_FF_FILTER_FORWARD_WANTED
Lloh6:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_21
LBB0_8:
	mov	x24, #0
	b	LBB0_11
LBB0_9:
	sub	x0, x9, x10
	ldr	w1, [x21]
Lloh9:
	adrp	x8, _AV_TIME_BASE_Q@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_TIME_BASE_Q@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
LBB0_10:
	bl	_av_rescale_q
	mov	x24, x0
LBB0_11:
	ldr	x1, [x20, #32]
	ldr	x2, [sp, #8]
	mov	x0, x20
	bl	_is_frozen
	mov	x23, x0
	ldr	x8, [x20, #16]
	cmp	x24, x8
	b.lt	LBB0_17
; %bb.12:
	ldr	w8, [x20, #24]
	cbnz	w8, LBB0_14
; %bb.13:
	ldr	x25, [sp, #8]
	ldr	x8, [x20, #32]
	ldr	x0, [x8]
	mov	x1, x21
	bl	_av_ts2timestr
	mov	x3, x0
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x25
	bl	_set_meta
LBB0_14:
	cbnz	w23, LBB0_16
; %bb.15:
	ldr	x25, [sp, #8]
Lloh14:
	adrp	x1, _AV_TIME_BASE_Q@GOTPAGE
Lloh15:
	ldr	x1, [x1, _AV_TIME_BASE_Q@GOTPAGEOFF]
	mov	x0, x24
	bl	_av_ts2timestr
	mov	x3, x0
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x25
	bl	_set_meta
	ldr	x24, [sp, #8]
	ldr	x0, [x24]
	mov	x1, x21
	bl	_av_ts2timestr
	mov	x3, x0
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x24
	bl	_set_meta
LBB0_16:
	str	w23, [x20, #24]
LBB0_17:
	cbnz	w23, LBB0_19
LBB0_18:
	mov	x0, x22
	bl	_av_frame_free
	ldr	x0, [sp, #8]
	bl	_av_frame_clone
	str	x0, [x20, #32]
	ldr	x8, [x20]
	str	x8, [x20, #8]
	cbz	x0, LBB0_20
LBB0_19:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_ff_filter_frame
	b	LBB0_21
LBB0_20:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_21:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lavfi.freezedetect.freeze_start"

l_.str.1:                               ; @.str.1
	.asciz	"lavfi.freezedetect.freeze_duration"

l_.str.2:                               ; @.str.2
	.asciz	"lavfi.freezedetect.freeze_end"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
