	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_frame
_filter_frame:                          ## @filter_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	movq	%rbx, -24(%rbp)
	movq	8(%rdi), %rax
	movq	8(%rax), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.4:
	movq	%rbx, %rdx
	callq	_ff_qsvvpp_filter_frame
	movl	%eax, %ebx
	leaq	-24(%rbp), %rdi
	callq	_av_frame_free
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	(%rax), %rax
	movq	(%rax), %r14
	movl	(%rbx), %edi
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_3
## %bb.2:
	movl	(%rsi), %esi
	movl	(%r14), %edx
	callq	_av_rescale_q
	movl	%eax, (%rbx)
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x1, x0
	str	x19, [sp, #8]
	ldr	x8, [x0, #8]
	ldr	x9, [x8, #8]
	ldr	x0, [x9]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x19
	bl	_ff_qsvvpp_filter_frame
	mov	x19, x0
	add	x0, sp, #8
	bl	_av_frame_free
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	ldr	x8, [x8]
	ldr	x20, [x8]
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x1]
	ldr	w2, [x20]
	bl	_av_rescale_q
	str	w0, [x19]
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_ff_filter_frame
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.no_dead_strip	_filter_frame
.subsections_via_symbols
