	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc2hq_handle_sequence_header
_vc2hq_handle_sequence_header:          ## @vc2hq_handle_sequence_header
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	_DIRAC_DATA_UNIT_HEADER_SIZE@GOTPCREL(%rip), %rax
	movslq	%r8d, %r13
	addq	(%rax), %r13
	movq	%rdx, %rdi
	movq	%r13, %rsi
	callq	_av_new_packet
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	8(%rbx), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_fill_parse_info_header
	movq	_DIRAC_DATA_UNIT_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, (%r14)
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIRAC_DATA_UNIT_HEADER_SIZE,8,3 ## @DIRAC_DATA_UNIT_HEADER_SIZE
	.no_dead_strip	_vc2hq_handle_sequence_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc2hq_handle_sequence_header
_vc2hq_handle_sequence_header:          ; @vc2hq_handle_sequence_header
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _DIRAC_DATA_UNIT_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _DIRAC_DATA_UNIT_HEADER_SIZE@GOTPAGEOFF]
	ldr	x8, [x25]
	add	x24, x8, w4, sxtw
	mov	x0, x2
	mov	x1, x24
	bl	_av_new_packet
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x1, [x20, #8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x24
	bl	_fill_parse_info_header
	ldr	x8, [x20, #8]
	ldr	x9, [x25]
	add	x0, x9, x8
	mov	x1, x23
	mov	x2, x22
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [x21]
	str	w8, [x20]
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DIRAC_DATA_UNIT_HEADER_SIZE,8,3 ; @DIRAC_DATA_UNIT_HEADER_SIZE
	.no_dead_strip	_vc2hq_handle_sequence_header
.subsections_via_symbols
