	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_id3v2_finish                ## -- Begin function ff_id3v2_finish
	.p2align	4, 0x90
_ff_id3v2_finish:                       ## @ff_id3v2_finish
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %eax
	testl	%edx, %edx
	movl	$10, %ecx
	cmovsl	%ecx, %eax
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$268435455, %edx                ## imm = 0xFFFFFFF
	subq	(%rdi), %rdx
	movl	%eax, %edi
	movl	$10, %esi
	callq	_av_clip
	movl	%eax, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_ffio_fill
	movslq	%r15d, %rax
	addq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_avio_tell
	movl	%eax, %r15d
	movl	8(%r14), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_avio_seek
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_id3v2_put_size
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_avio_seek                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_id3v2_finish                ; -- Begin function ff_id3v2_finish
	.p2align	2
_ff_id3v2_finish:                       ; @ff_id3v2_finish
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	mov	w8, #10
	cmp	w2, #0
	csel	w0, w8, w2, lt
	ldr	x8, [x20]
	mov	w9, #268435455
	sub	x2, x9, x8
	mov	w1, #10
	bl	_av_clip
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_ffio_fill
	ldr	x8, [x20]
	add	x8, x8, w21, sxtw
	str	x8, [x20]
	mov	x0, x19
	bl	_avio_tell
	mov	x21, x0
	ldr	w1, [x20, #8]
Lloh0:
	adrp	x22, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_avio_seek
	ldr	x1, [x20]
	mov	x0, x19
	bl	_id3v2_put_size
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_avio_seek
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
