	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_pack_header
_parse_pack_header:                     ## @parse_pack_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_bits_bytes_left
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$12, %ecx
	jl	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_bits_skip
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	callq	_parse_pes_timestamp
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	movl	$39, %esi
	callq	_bits_skip
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_bits_get
	movl	(%rbx), %ecx
	sarl	$3, %ecx
	addl	%eax, %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_4
LBB0_2:
	movl	$2, %esi
	callq	_bits_skip
	movq	%rbx, %rdi
	callq	_parse_pes_timestamp
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_bits_skip
	movl	(%rbx), %eax
	sarl	$3, %eax
	movl	%eax, (%r14)
LBB0_4:
	movl	$1, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parse_pack_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_pack_header
_parse_pack_header:                     ; @parse_pack_header
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	mov	x0, x1
	bl	_bits_bytes_left
	cmp	w0, #12
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	mov	x0, x20
	mov	w1, #32
	bl	_bits_skip
	mov	x0, x20
	mov	w1, #2
	bl	_bits_get
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_parse_pes_timestamp
	str	w0, [x19, #4]
	mov	x0, x20
	mov	w1, #39
	bl	_bits_skip
	mov	x0, x20
	mov	w1, #3
	bl	_bits_get
	ldr	w8, [x20]
	add	w8, w0, w8, asr #3
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	w1, #2
	bl	_bits_skip
	mov	x0, x20
	bl	_parse_pes_timestamp
	str	w0, [x19, #4]
	mov	x0, x20
	mov	w1, #24
	bl	_bits_skip
	ldr	w8, [x20]
	asr	w8, w8, #3
LBB0_5:
	str	w8, [x19]
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_parse_pack_header
.subsections_via_symbols
