	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_dvc1_tag
_mov_write_dvc1_tag:                    ## @mov_write_dvc1_tag
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -52(%rbp)
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mov_write_dvc1_structs
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	addl	$36, %esi
	movq	%r14, %rdi
	callq	_avio_wb32
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ffio_wfourcc
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	$28, %edx
	callq	_avio_write
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_avio_write
	xorl	%eax, %eax
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dvc1"

	.no_dead_strip	_mov_write_dvc1_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_write_dvc1_tag
_mov_write_dvc1_tag:                    ; @mov_write_dvc1_tag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	stp	xzr, xzr, [sp, #8]
	str	wzr, [sp, #32]
	str	xzr, [sp, #24]
	add	x1, sp, #8
	mov	x0, x20
	bl	_mov_write_dvc1_structs
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	add	w1, w8, #36
	mov	x0, x19
	bl	_avio_wb32
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #28
	bl	_avio_write
	ldr	x1, [x20, #8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_avio_write
	mov	w0, #0
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dvc1"

	.no_dead_strip	_mov_write_dvc1_tag
.subsections_via_symbols
