	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_extradata
_dump_extradata:                        ## @dump_extradata
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	leaq	8(%r13), %r14
	movq	%r14, %rsi
	callq	_ff_bsf_get_packet_ref
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_13
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.2:
	movq	(%r13), %rcx
	movq	_DUMP_FREQ_ALL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.3:
	movq	_DUMP_FREQ_KEYFRAME@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.4:
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r14)
	je	LBB0_11
LBB0_5:
	movq	8(%rax), %rdx
	cmpq	%rdx, 16(%r13)
	jl	LBB0_11
## %bb.6:
	movq	24(%r13), %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	16(%r13), %rax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx), %rdx
	movq	8(%rdx), %rsi
	subq	%rsi, %rcx
	cmpq	%rcx, %rax
	jge	LBB0_14
## %bb.8:
	addq	%rax, %rsi
	movq	%r15, %rdi
	callq	_av_new_packet
	testl	%eax, %eax
	js	LBB0_15
## %bb.9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_av_packet_copy_props
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_16
## %bb.10:
	movq	16(%r15), %rdi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	callq	_memcpy
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	addq	16(%r15), %rdi
	movq	16(%r13), %rdx
	movq	24(%r13), %rsi
	callq	_memcpy
	jmp	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_av_packet_move_ref
LBB0_12:
	movq	%r14, %rdi
	callq	_av_packet_unref
LBB0_13:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_15:
	movl	%eax, %r12d
	jmp	LBB0_12
LBB0_16:
	movq	%r15, %rdi
	callq	_av_packet_unref
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_DUMP_FREQ_ALL,8,3              ## @DUMP_FREQ_ALL
	.comm	_DUMP_FREQ_KEYFRAME,8,3         ## @DUMP_FREQ_KEYFRAME
	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_dump_extradata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_extradata
_dump_extradata:                        ; @dump_extradata
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x22, x0
	ldr	x23, [x0, #8]
	add	x19, x23, #8
	mov	x1, x19
	bl	_ff_bsf_get_packet_ref
	mov	x20, x0
	tbnz	w0, #31, LBB0_13
; %bb.1:
	ldr	x8, [x22]
	ldr	x1, [x8]
	cbz	x1, LBB0_11
; %bb.2:
	ldr	x9, [x23]
Lloh0:
	adrp	x10, _DUMP_FREQ_ALL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DUMP_FREQ_ALL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_5
; %bb.3:
Lloh3:
	adrp	x10, _DUMP_FREQ_KEYFRAME@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DUMP_FREQ_KEYFRAME@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.4:
	ldr	w9, [x19]
Lloh6:
	adrp	x10, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_11
LBB0_5:
	ldr	x9, [x23, #16]
	ldr	x2, [x8, #8]
	cmp	x9, x2
	b.lt	LBB0_11
; %bb.6:
	ldr	x0, [x23, #24]
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.7:
Lloh9:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
	ldr	x8, [x23, #16]
Lloh11:
	ldr	x10, [x9]
	ldr	x9, [x22]
	ldr	x9, [x9, #8]
	sub	x10, x10, x9
	cmp	x8, x10
	b.ge	LBB0_14
; %bb.8:
	add	x1, x9, x8
	mov	x0, x21
	bl	_av_new_packet
	tbnz	w0, #31, LBB0_15
; %bb.9:
	mov	x0, x21
	mov	x1, x19
	bl	_av_packet_copy_props
	mov	x20, x0
	tbnz	w0, #31, LBB0_16
; %bb.10:
	ldr	x0, [x21, #16]
	ldr	x8, [x22]
	ldp	x1, x2, [x8]
	bl	_memcpy
	ldr	x8, [x21, #16]
	ldr	x9, [x22]
	ldr	x9, [x9, #8]
	add	x0, x9, x8
	ldp	x2, x1, [x23, #16]
	bl	_memcpy
	b	LBB0_12
LBB0_11:
	mov	x0, x21
	mov	x1, x19
	bl	_av_packet_move_ref
LBB0_12:
	mov	x0, x19
	bl	_av_packet_unref
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh12:
	adrp	x8, _ERANGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_15:
	mov	x20, x0
	b	LBB0_12
LBB0_16:
	mov	x0, x21
	bl	_av_packet_unref
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DUMP_FREQ_ALL,8,3              ; @DUMP_FREQ_ALL
	.comm	_DUMP_FREQ_KEYFRAME,8,3         ; @DUMP_FREQ_KEYFRAME
	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_dump_extradata
.subsections_via_symbols
