	.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, %r13
	movq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %rax
	movq	(%rax), %r14
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK_ALL
	movl	(%r13), %eax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jg	LBB0_1
LBB0_5:
	cmpl	%eax, %ebx
	jne	LBB0_18
LBB0_6:
	testl	%eax, %eax
	jle	LBB0_7
## %bb.8:
	movl	$-1, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ff_outlink_get_status
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ff_inlink_queued_frames
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r13), %eax
	cmpl	%eax, %ebx
	je	LBB0_6
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ff_outlink_get_status
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	xorl	%esi, %esi
	callq	_ff_inlink_peek_frame
	movq	%rax, -48(%rbp)
	movq	(%rax), %rdi
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_av_rescale_q
	cmpq	%r12, %rax
	cmovll	%ebx, %r15d
	cmovlq	%rax, %r12
	jmp	LBB0_14
LBB0_15:
	testl	%r15d, %r15d
	js	LBB0_18
## %bb.16:
	movq	8(%r13), %rax
	movl	%r15d, %ecx
	movq	(%rax,%rcx,8), %rdi
	leaq	-48(%rbp), %rsi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	js	LBB0_31
## %bb.17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movq	-48(%rbp), %rsi
	movq	%r12, (%rsi)
	movq	%r14, %rdi
	callq	_ff_filter_frame
	jmp	LBB0_31
LBB0_18:
	testl	%eax, %eax
	jle	LBB0_19
## %bb.20:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	incl	%r15d
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_27
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ff_inlink_queued_frames
	testq	%rax, %rax
	jne	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r14, %rdi
	callq	_ff_outlink_frame_wanted
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ff_outlink_get_status
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ff_inlink_request_frame
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_19:
	xorl	%r15d, %r15d
LBB0_27:
	cmpl	%eax, %r15d
	jne	LBB0_29
LBB0_28:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	%r14, %rdi
	callq	_ff_outlink_set_status
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_7:
	xorl	%r15d, %r15d
	cmpl	%eax, %r15d
	je	LBB0_28
LBB0_29:
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
LBB0_30:
	movl	(%rax), %eax
LBB0_31:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_av_log
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	leaq	-48(%rbp), %rsi
	callq	_ff_inlink_consume_frame
	testl	%eax, %eax
	js	LBB0_31
## %bb.12:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NOPTS value for input frame cannot be accepted, frame discarded\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.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, #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
	mov	x20, x0
	ldp	x21, x8, [x0, #16]
	ldr	x19, [x8]
Lloh0:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_STATUS_BACK_ALL
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x23, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_ff_outlink_get_status
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_ff_inlink_queued_frames
	cbnz	x0, LBB0_2
; %bb.5:
	ldr	w8, [x20]
LBB0_6:
	cmp	w23, w8
	b.ne	LBB0_14
LBB0_7:
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.8:
	mov	x23, #0
	mov	w24, #-1
Lloh3:
	adrp	x25, _AV_NOPTS_VALUE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh5:
	adrp	x26, _AV_TIME_BASE_Q@GOTPAGE
Lloh6:
	ldr	x26, [x26, _AV_TIME_BASE_Q@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.ge	LBB0_25
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_ff_outlink_get_status
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	mov	w1, #0
	bl	_ff_inlink_peek_frame
	str	x0, [sp, #8]
	ldr	x0, [x0]
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_28
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w1, [x8]
	ldr	w2, [x26]
	bl	_av_rescale_q
	cmp	x0, x22
	csel	x22, x0, x22, lt
	csel	w24, w23, w24, lt
	b	LBB0_9
LBB0_13:
	mov	w23, #0
	cmp	w23, w8
	b.eq	LBB0_7
LBB0_14:
	cmp	w8, #1
	b.lt	LBB0_31
LBB0_15:
	mov	x23, #0
	mov	w22, #0
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w22, w22, #1
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.ge	LBB0_22
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_ff_inlink_queued_frames
	cbnz	x0, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x19
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_ff_outlink_get_status
	cbnz	x0, LBB0_16
; %bb.21:
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_ff_inlink_request_frame
	b	LBB0_33
LBB0_22:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	cmp	w22, w8
	b.eq	LBB0_32
LBB0_23:
Lloh7:
	adrp	x8, _FFERROR_NOT_READY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FFERROR_NOT_READY@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
	b	LBB0_34
LBB0_25:
	tbnz	w24, #31, LBB0_30
; %bb.26:
	ldr	x8, [x20, #8]
	ldr	x0, [x8, w24, uxtw #3]
	add	x1, sp, #8
	bl	_ff_inlink_consume_frame
	tbnz	w0, #31, LBB0_34
; %bb.27:
	str	x22, [x21]
	ldr	x1, [sp, #8]
	str	x22, [x1]
	mov	x0, x19
	bl	_ff_filter_frame
	b	LBB0_34
LBB0_28:
Lloh9:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_log
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	add	x1, sp, #8
	bl	_ff_inlink_consume_frame
	tbnz	w0, #31, LBB0_34
; %bb.29:
	add	x0, sp, #8
	bl	_av_frame_free
Lloh14:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	b	LBB0_24
LBB0_30:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	cmp	w8, #1
	b.ge	LBB0_15
LBB0_31:
	mov	w22, #0
	cmp	w22, w8
	b.ne	LBB0_23
LBB0_32:
Lloh16:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	x2, [x21]
	mov	x0, x19
	bl	_ff_outlink_set_status
LBB0_33:
	mov	w0, #0
LBB0_34:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NOPTS value for input frame cannot be accepted, frame discarded\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_FFERROR_NOT_READY,4,2          ; @FFERROR_NOT_READY
	.no_dead_strip	_activate
.subsections_via_symbols
