	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_extradata_filter
_extract_extradata_filter:              ## @extract_extradata_filter
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	$0, -40(%rbp)
	callq	_ff_bsf_get_packet_ref
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%r12)
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	-40(%rbp), %rdx
	xorl	%r15d, %r15d
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.5:
	movq	_AV_PKT_DATA_NEW_EXTRADATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %ecx
	movq	%r14, %rdi
	callq	_av_packet_add_side_data
	testl	%eax, %eax
	jns	LBB0_8
## %bb.6:
	movl	%eax, %ebx
	leaq	-40(%rbp), %rdi
	callq	_av_freep
	movl	%ebx, %r15d
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %r15d
	jmp	LBB0_8
LBB0_3:
	movl	%eax, %r15d
LBB0_7:
	movq	%r14, %rdi
	callq	_av_packet_unref
LBB0_8:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PKT_DATA_NEW_EXTRADATA,4,2  ## @AV_PKT_DATA_NEW_EXTRADATA
	.no_dead_strip	_extract_extradata_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_extradata_filter
_extract_extradata_filter:              ; @extract_extradata_filter
	.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
	mov	x21, x0
	ldr	x22, [x0]
	str	xzr, [sp, #8]
	bl	_ff_bsf_get_packet_ref
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	x8, [x22]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x21
	mov	x1, x19
	blr	x8
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	x2, [sp, #8]
	cbz	x2, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _AV_PKT_DATA_NEW_EXTRADATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PKT_DATA_NEW_EXTRADATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [sp, #4]
	mov	x0, x19
	bl	_av_packet_add_side_data
	tbnz	w0, #31, LBB0_7
LBB0_4:
	mov	w20, #0
	b	LBB0_9
LBB0_5:
	mov	x20, x0
	b	LBB0_9
LBB0_6:
	mov	x20, x0
	b	LBB0_8
LBB0_7:
	mov	x20, x0
	add	x0, sp, #8
	bl	_av_freep
LBB0_8:
	mov	x0, x19
	bl	_av_packet_unref
LBB0_9:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PKT_DATA_NEW_EXTRADATA,4,2  ; @AV_PKT_DATA_NEW_EXTRADATA
	.no_dead_strip	_extract_extradata_filter
.subsections_via_symbols
