	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_packet_header
_parse_packet_header:                   ## @parse_packet_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_avio_rb32
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_avio_r8
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_avio_r8
	movl	%eax, (%r12)
	movq	%rbx, %rdi
	callq	_avio_rb32
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%r15)
	leal	-16777216(%rax), %ecx
	cmpl	$-16777200, %ecx                ## imm = 0xFF000010
	jb	LBB0_6
## %bb.3:
	addl	$-16, %eax
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_avio_rb32
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_avio_r8
	cmpl	$225, %eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_avio_r8
	xorl	%r14d, %r14d
	cmpl	$226, %eax
	sete	%r14b
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parse_packet_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_packet_header
_parse_packet_header:                   ; @parse_packet_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_avio_rb32
	cbnz	w0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_avio_r8
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_avio_r8
	str	w0, [x21]
	mov	x0, x19
	bl	_avio_rb32
	str	w0, [x20]
	mov	w8, #-16777216
	mov	w9, #16
	movk	w9, #65280, lsl #16
	add	w8, w0, w8
	cmp	w8, w9
	b.lo	LBB0_6
; %bb.3:
	sub	w8, w0, #16
	str	w8, [x20]
	mov	x0, x19
	bl	_avio_rb32
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_avio_r8
	cmp	w0, #225
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_avio_r8
	cmp	w0, #226
	cset	w0, eq
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_parse_packet_header
.subsections_via_symbols
