	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, -32(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	8(%rax), %rax
	movq	(%rax), %r14
	movl	(%r15), %esi
	cmpl	$-1, %esi
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_av_frame_get_side_data
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movl	4(%r15), %ecx
	cmpl	$129, %ecx
	je	LBB0_7
## %bb.4:
	cmpl	$128, %ecx
	jne	LBB0_12
## %bb.5:
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_13
LBB0_7:
	movl	(%r15), %esi
	cmpl	$-1, %esi
	je	LBB0_8
## %bb.10:
	testq	%rax, %rax
	je	LBB0_6
## %bb.11:
	movq	%rbx, %rdi
	callq	_av_frame_remove_side_data
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_av_frame_remove_side_data
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 8(%rbx)
	jne	LBB0_9
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
LBB0_12:
	xorl	%edi, %edi
	callq	_av_assert0
LBB0_13:
	leaq	-32(%rbp), %rdi
	callq	_av_frame_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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, #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
	mov	x19, x1
	str	x1, [sp, #8]
	ldr	x8, [x0]
	ldp	x21, x9, [x8]
	ldr	x20, [x9]
	ldr	w1, [x21]
	cmn	w1, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_av_frame_get_side_data
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldr	w8, [x21, #4]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.5:
	cbnz	x0, LBB0_11
	b	LBB0_13
LBB0_6:
	ldr	w1, [x21]
	cmn	w1, #1
	b.eq	LBB0_10
; %bb.7:
	cbz	x0, LBB0_11
; %bb.8:
	mov	x0, x19
	bl	_av_frame_remove_side_data
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_av_frame_remove_side_data
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_9
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	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
	b	_ff_filter_frame
LBB0_12:
	mov	w0, #0
	bl	_av_assert0
LBB0_13:
	add	x0, sp, #8
	bl	_av_frame_free
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_frame
.subsections_via_symbols
