	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dv_write_packet
_dv_write_packet:                       ## @dv_write_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %eax
	movq	8(%rdi), %rcx
	movq	(%rsi), %rdx
	movl	(%rcx,%rdx,4), %edx
	movl	12(%rsi), %ecx
	movl	8(%rsi), %r8d
	leaq	-16(%rbp), %r9
	movl	%eax, %esi
	callq	_dv_assemble_frame
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movq	-16(%rbp), %rsi
	movl	%eax, %edx
	callq	_avio_write
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dv_write_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dv_write_packet
_dv_write_packet:                       ; @dv_write_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w8, [x0, #16]
	ldr	x9, [x0, #8]
	ldr	x10, [x1]
	ldr	w2, [x9, x10, lsl #2]
	ldp	w4, w3, [x1, #8]
	add	x5, sp, #8
	mov	x1, x8
	bl	_dv_assemble_frame
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	w0, [x19]
	ldr	x1, [sp, #8]
	bl	_avio_write
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dv_write_packet
.subsections_via_symbols
