	.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, %r14
	movq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %r13
	movq	(%rax), %r15
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK
	movq	%r13, %rdi
	callq	_ff_inlink_queued_frames
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_ff_inlink_consume_frame
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rax
	movq	(%rax), %r12
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
LBB0_3:
	testl	%ebx, %ebx
	js	LBB0_9
LBB0_4:
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_8
## %bb.5:
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_av_rescale_q
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rbx, (%rax)
	jge	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	callq	_ff_outlink_frame_wanted
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_create_frame
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_8:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_FF_FILTER_FORWARD_STATUS
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_FF_FILTER_FORWARD_WANTED
	movq	_FFERROR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	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	_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	x19, x0
	ldp	x8, x24, [x0, #8]
	ldr	x9, [x0]
	ldr	x20, [x8]
	ldr	x21, [x9]
Lloh0:
	adrp	x25, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AV_NOPTS_VALUE@GOTPAGEOFF]
	ldr	x22, [x25]
	mov	x0, x21
	mov	x1, x20
	bl	_FF_FILTER_FORWARD_STATUS_BACK
	mov	x0, x20
	bl	_ff_inlink_queued_frames
	cbz	x0, LBB0_4
; %bb.1:
	str	xzr, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_ff_inlink_consume_frame
	mov	x23, x0
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
	ldr	x22, [x8]
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_3:
	tbnz	w23, #31, LBB0_9
LBB0_4:
	ldr	x8, [x25]
	cmp	x22, x8
	b.eq	LBB0_8
; %bb.5:
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x22
	bl	_av_rescale_q
	ldr	x8, [x24]
	cmp	x8, x0
	b.ge	LBB0_8
; %bb.6:
	mov	x22, x0
	mov	x0, x21
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x22
	bl	_create_frame
	mov	x23, x0
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	mov	x1, x21
	bl	_FF_FILTER_FORWARD_STATUS
	mov	x0, x21
	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	w23, [x8]
LBB0_9:
	mov	x0, x23
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.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
