	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_isom_write_vpcc             ## -- Begin function ff_isom_write_vpcc
	.p2align	4, 0x90
_ff_isom_write_vpcc:                    ## @ff_isom_write_vpcc
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %rcx
	movq	%rdx, %rsi
	xorl	%edx, %edx
	callq	_ff_isom_get_vpcc_features
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	-48(%rbp), %esi
	movq	%rbx, %rdi
	callq	_avio_w8
	movl	-44(%rbp), %esi
	movq	%rbx, %rdi
	callq	_avio_w8
	movl	-40(%rbp), %eax
	movl	-36(%rbp), %esi
	shll	$4, %eax
	addl	%esi, %esi
	orl	%eax, %esi
	orl	-32(%rbp), %esi
	movq	%rbx, %rdi
	callq	_avio_w8
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_avio_w8
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_avio_w8
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_avio_w8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_avio_wb16
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_isom_write_vpcc             ; -- Begin function ff_isom_write_vpcc
	.p2align	2
_ff_isom_write_vpcc:                    ; @ff_isom_write_vpcc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x2
	mov	x19, x1
	add	x3, sp, #8
	mov	x1, x2
	mov	x2, #0
	bl	_ff_isom_get_vpcc_features
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_avio_w8
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_avio_w8
	ldp	w8, w9, [sp, #16]
	lsl	w9, w9, #1
	orr	w8, w9, w8, lsl #4
	ldr	w9, [sp, #24]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_avio_w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_avio_w8
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_avio_w8
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_avio_w8
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb16
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
