	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_change_extradata
_mov_change_extradata:                  ## @mov_change_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	32(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rdx
	movq	(%rax,%rcx,8), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, (%rdi)
	movl	-4(%rdx,%rax,4), %ebx
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.1:
	movq	24(%rdi), %rcx
	movq	-8(%rcx,%rax,8), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	movq	_AV_PKT_DATA_NEW_EXTRADATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_av_packet_new_side_data
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PKT_DATA_NEW_EXTRADATA,4,2  ## @AV_PKT_DATA_NEW_EXTRADATA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_mov_change_extradata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_change_extradata
_mov_change_extradata:                  ; @mov_change_extradata
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	x8, x9, [x0, #8]
	ldp	x11, x10, [x0, #24]
	ldr	x8, [x10, x8, lsl #3]
	sub	x8, x8, #1
	str	x8, [x0]
	ldr	w19, [x9, x8, lsl #2]
	ldr	x20, [x11, x8, lsl #3]
	cmp	w19, #1
	ccmp	x20, #0, #4, ge
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _AV_PKT_DATA_NEW_EXTRADATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PKT_DATA_NEW_EXTRADATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x0, x1
	mov	x1, x8
	mov	x2, x19
	bl	_av_packet_new_side_data
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PKT_DATA_NEW_EXTRADATA,4,2  ; @AV_PKT_DATA_NEW_EXTRADATA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_mov_change_extradata
.subsections_via_symbols
