	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp8_handle_packet
_vp8_handle_packet:                     ## @vp8_handle_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rsi, %rbx
	testq	%r9, %r9
	je	LBB0_4
## %bb.1:
	movl	16(%rbp), %r13d
	testl	%r13d, %r13d
	jle	LBB0_25
## %bb.2:
	movq	%rdi, %r9
	movl	32(%rbp), %r8d
	movq	24(%rbp), %r11
	movq	_RTP_FLAG_MARKER@GOTPCREL(%rip), %rax
	andl	(%rax), %r8d
	movl	(%r12), %eax
	movl	$-1, %r10d
	xorl	%esi, %esi
	testb	$-128, %al
	jne	LBB0_8
## %bb.3:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	addq	$4, %r12
	decl	%r13d
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	movl	%r13d, %eax
	movq	%r12, %rdi
	jmp	LBB0_17
LBB0_4:
	cmpq	$0, 40(%rbx)
	je	LBB0_58
## %bb.5:
	leaq	40(%rbx), %rsi
	movl	(%rdx), %edx
	movq	%r14, %rdi
	callq	_ff_rtp_finalize_packet
	testl	%eax, %eax
	js	LBB0_26
## %bb.6:
	movl	48(%rbx), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	je	LBB0_26
## %bb.7:
	movq	_AV_PKT_FLAG_CORRUPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14)
	jmp	LBB0_26
LBB0_8:
	cmpl	$1, %r13d
	jbe	LBB0_25
## %bb.9:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movl	4(%r12), %ecx
	movl	%ecx, %r15d
	andl	$64, %r15d
	movl	%ecx, %r14d
	andl	$32, %r14d
	movl	%ecx, %eax
	andl	$16, %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	leaq	8(%r12), %rdi
	leal	-2(%r13), %eax
	testb	$-128, %cl
	je	LBB0_16
## %bb.10:
	testl	%eax, %eax
	je	LBB0_25
## %bb.11:
	movl	(%rdi), %r10d
	testb	$-128, %r10b
	jne	LBB0_13
## %bb.12:
	andl	$127, %r10d
	addq	$12, %r12
	addl	$-3, %r13d
	movl	$127, %esi
	jmp	LBB0_15
LBB0_13:
	cmpl	$1, %eax
	jbe	LBB0_25
## %bb.14:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r11, -104(%rbp)                ## 8-byte Spill
	callq	_AV_RB16
	movq	-104(%rbp), %r11                ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %r10d
	andl	$32767, %r10d                   ## imm = 0x7FFF
	addq	$16, %r12
	addl	$-4, %r13d
	movl	$32767, %esi                    ## imm = 0x7FFF
LBB0_15:
	movl	%r13d, %eax
	movq	%r12, %rdi
LBB0_16:
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
LBB0_17:
	movl	%r15d, %r13d
	shll	$25, %r13d
	sarl	$31, %r13d
	addl	%eax, %r13d
	xorl	%eax, %eax
	orl	%ecx, %r14d
	setne	%al
	subl	%eax, %r13d
	testl	%r13d, %r13d
	jle	LBB0_25
## %bb.18:
	movq	%r11, %r14
	shrl	$6, %r15d
	leaq	(%rdi,%r15,4), %rcx
	leaq	(%rcx,%rax,4), %r11
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	andl	$31, %eax
	cmpl	$16, %eax
	jne	LBB0_27
## %bb.19:
	cmpl	$3, %r13d
	jb	LBB0_27
## %bb.20:
	movl	%esi, %r12d
	movl	(%r11), %esi
	leaq	40(%rbx), %r15
	testb	$1, %sil
	jne	LBB0_37
## %bb.21:
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	movq	%r11, %r12
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ffio_free_dyn_buf
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, (%rbx)
	movl	$1, 8(%rbx)
LBB0_22:
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_23:
	leaq	4(%r12), %rdi
	callq	_AV_RL16
	shll	$3, %eax
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	(%r12), %ecx
	sarl	$5, %ecx
	orl	%eax, %ecx
	addl	$3, %ecx
	movl	%ecx, 16(%rbx)
	movq	%r15, %rdi
	callq	_avio_open_dyn_buf
	testl	%eax, %eax
	js	LBB0_26
## %bb.24:
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	andl	$1, %ecx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	$0, 32(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%rbx)
	xorl	$1, %ecx
	movl	%ecx, 12(%rbx)
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_32
LBB0_25:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_26:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	cmpl	$0, 4(%rbx)
	je	LBB0_58
## %bb.28:
	movl	48(%rbx), %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	cmpl	(%rcx), %eax
	jne	LBB0_40
## %bb.29:
	movq	24(%rbx), %rax
	incq	%rax
	xorl	%r12d, %r12d
	cmpq	%r14, %rax
	jne	LBB0_43
## %bb.30:
	movq	%r11, -80(%rbp)                 ## 8-byte Spill
LBB0_31:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	-112(%rbp), %r15                ## 8-byte Reload
LBB0_32:
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.33:
	movq	%r14, 24(%rbx)
	cmpl	$0, 32(%rbx)
	jne	LBB0_35
## %bb.34:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %r14
	movq	%rdx, %r15
	movl	%r13d, %edx
	movl	%r8d, %r13d
	callq	_avio_write
	movl	%r13d, %r8d
	movq	%r15, %rdx
	movq	%r14, %r15
LBB0_35:
	testl	%r12d, %r12d
	je	LBB0_45
## %bb.36:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	testl	%r8d, %r8d
	setne	%al
	jmp	LBB0_26
LBB0_37:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_42
## %bb.38:
	cmpl	$0, 12(%rbx)
	je	LBB0_51
LBB0_42:
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	jne	LBB0_53
	jmp	LBB0_58
LBB0_40:
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_71
LBB0_41:
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_71
LBB0_43:
	cmpl	$0, 12(%rbx)
	je	LBB0_65
## %bb.44:
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_71
LBB0_45:
	testl	%r8d, %r8d
	je	LBB0_58
## %bb.46:
	leaq	40(%rbx), %rsi
	movl	(%rdx), %edx
	movq	%r15, %rdi
	callq	_ff_rtp_finalize_packet
	testl	%eax, %eax
	js	LBB0_26
## %bb.47:
	cmpl	$0, (%rbx)
	je	LBB0_49
## %bb.48:
	movq	_AV_PKT_FLAG_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_49:
	xorl	%eax, %eax
	cmpl	$0, 12(%rbx)
	je	LBB0_26
## %bb.50:
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r15)
	jmp	LBB0_26
LBB0_51:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r11, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	movl	%esi, %r15d
	callq	_avio_tell
	movl	%r15d, %esi
	movl	-48(%rbp), %r10d                ## 4-byte Reload
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	-80(%rbp), %r11                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	16(%rbx), %eax
	setge	%al
	cmpl	$0, 4(%rbx)
	je	LBB0_58
LBB0_53:
	cmpl	$0, 8(%rbx)
	je	LBB0_59
## %bb.54:
	testl	%r10d, %r10d
	js	LBB0_61
## %bb.55:
	movl	20(%rbx), %ecx
	incl	%ecx
	andl	%r12d, %ecx
	cmpl	%ecx, %r10d
	jne	LBB0_60
## %bb.56:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	sete	%cl
	orb	%al, %cl
	je	LBB0_60
## %bb.57:
	testq	%rdi, %rdi
	jne	LBB0_63
	jmp	LBB0_72
LBB0_58:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_59:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_71
LBB0_60:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_71
LBB0_61:
	movl	24(%rbx), %ecx
	notl	%ecx
	addl	%r14d, %ecx
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_68
## %bb.62:
	cmpl	$2, %ecx
	setb	%cl
	testb	%al, %cl
	je	LBB0_70
LBB0_63:
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	movq	%r11, %r12
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	$1, (%rbx)
	callq	_avio_tell
	cmpl	16(%rbx), %eax
	jge	LBB0_73
## %bb.64:
	movq	%r15, %rdi
	callq	_ffio_free_dyn_buf
	jmp	LBB0_22
LBB0_65:
	movq	%r11, -80(%rbp)                 ## 8-byte Spill
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_67
## %bb.66:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r9, %r15
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	callq	_avio_tell
	xorl	%r12d, %r12d
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%r15, %r9
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	16(%rbx), %eax
	jge	LBB0_75
LBB0_67:
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_71
LBB0_68:
	testl	%ecx, %ecx
	je	LBB0_72
## %bb.69:
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_71
LBB0_70:
	leaq	L_.str.2(%rip), %rdx
LBB0_71:
	movq	%r9, %rdi
	movq	%rbx, %rsi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vp8_broken_sequence            ## TAILCALL
LBB0_72:
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	movq	%r11, %r12
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_73:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movq	%r15, %rsi
	callq	_ff_rtp_finalize_packet
	testl	%eax, %eax
	js	LBB0_26
## %bb.74:
	movq	_AV_PKT_FLAG_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movl	48(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	movq	-128(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_23
LBB0_75:
	movl	$1, 32(%rbx)
	movl	$1, (%rbx)
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PKT_FLAG_CORRUPT,4,2        ## @AV_PKT_FLAG_CORRUPT
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_RTP_FLAG_MARKER,4,2            ## @RTP_FLAG_MARKER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Keyframe missing\n"

L_.str.1:                               ## @.str.1
	.asciz	"Missed a picture, sequence broken\n"

L_.str.2:                               ## @.str.2
	.asciz	"Missed too much, sequence broken\n"

L_.str.3:                               ## @.str.3
	.asciz	"Missed unknown data, sequence broken\n"

L_.str.4:                               ## @.str.4
	.asciz	"Received no start marker; dropping frame\n"

L_.str.5:                               ## @.str.5
	.asciz	"Missed part of a keyframe, sequence broken\n"

L_.str.6:                               ## @.str.6
	.asciz	"Missed part of the first partition, sequence broken\n"

L_.str.7:                               ## @.str.7
	.asciz	"Received no start marker\n"

	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
	.no_dead_strip	_vp8_handle_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function vp8_handle_packet
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_vp8_handle_packet:                     ; @vp8_handle_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	cbz	x5, LBB0_12
; %bb.1:
	mov	x25, x6
	cmp	w6, #0
	b.le	LBB0_18
; %bb.2:
	mov	x26, x5
	mov	x10, x0
	ldr	w11, [x29, #16]
	mov	x0, x5
	ldr	w27, [x0], #4
Lloh0:
	adrp	x8, _RTP_FLAG_MARKER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTP_FLAG_MARKER@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x8]
	tbnz	w27, #7, LBB0_17
; %bb.3:
	mov	w28, #0
	mov	w23, #0
	mov	w24, #0
	mov	w26, #0
	sub	w8, w25, #1
LBB0_4:
	mov	w13, #-1
LBB0_5:
	lsl	w9, w28, #25
	add	w9, w8, w9, asr #31
	orr	w8, w23, w24
	cmp	w8, #0
	cset	w8, ne
	sub	w25, w9, w8
	cmp	w25, #0
	b.le	LBB0_18
; %bb.6:
	lsr	w9, w28, #6
	add	x9, x0, w9, uxtw #2
	add	x28, x9, w8, uxtw #2
	and	w8, w27, #0x1f
	cmp	w8, #16
	b.ne	LBB0_22
; %bb.7:
	cmp	w25, #3
	b.lo	LBB0_22
; %bb.8:
	ldr	w23, [x28]
	add	x27, x19, #40
	tbnz	w23, #0, LBB0_34
; %bb.9:
	stp	w13, w11, [sp, #16]             ; 8-byte Folded Spill
	str	w12, [sp, #4]                   ; 4-byte Folded Spill
	str	x7, [sp, #8]                    ; 8-byte Folded Spill
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x27
	bl	_ffio_free_dyn_buf
	mov	w24, #0
	mov	w26, #0
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_10:
	add	x0, x28, #4
	bl	_AV_RL16
	ldr	w8, [x28]
	asr	w8, w8, #5
	orr	w8, w8, w0, lsl #3
	add	w8, w8, #3
	str	w8, [x19, #16]
	mov	x0, x27
	bl	_avio_open_dyn_buf
	tbnz	w0, #31, LBB0_19
; %bb.11:
	and	w8, w23, #0x1
	ldr	w9, [x21]
	str	w9, [x19, #48]
	str	wzr, [x19, #32]
	ldp	w9, w11, [sp, #16]              ; 8-byte Folded Reload
	str	w9, [x19, #20]
	eor	w8, w8, #0x1
	str	w8, [x19, #12]
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x7, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w12, [sp, #4]                   ; 4-byte Folded Reload
	mov	x23, x26
	b	LBB0_26
LBB0_12:
	mov	x1, x19
	ldr	x8, [x1, #40]!
	cbz	x8, LBB0_56
; %bb.13:
	ldr	w2, [x22]
	mov	x0, x20
	bl	_ff_rtp_finalize_packet
	tbnz	w0, #31, LBB0_19
; %bb.14:
	ldr	w8, [x19, #48]
	str	w8, [x21]
	ldr	w8, [x19]
	cbz	w8, LBB0_49
; %bb.15:
	mov	w0, #0
Lloh5:
	adrp	x8, _AV_PKT_FLAG_CORRUPT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_PKT_FLAG_CORRUPT@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_19
LBB0_17:
	cmp	w25, #1
	b.hi	LBB0_20
LBB0_18:
Lloh7:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_20:
	ldr	w9, [x26, #4]
	and	w28, w9, #0x40
	and	w23, w9, #0x20
	and	w24, w9, #0x10
	add	x0, x26, #8
	sub	w8, w25, #2
	tbnz	w9, #7, LBB0_31
; %bb.21:
	mov	w26, #0
	b	LBB0_4
LBB0_22:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_56
; %bb.23:
	ldr	w8, [x19, #48]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_37
; %bb.24:
	ldr	x8, [x19, #24]
	add	x8, x8, #1
	cmp	x8, x7
	b.ne	LBB0_41
; %bb.25:
	mov	w24, #0
	mov	w23, #0
LBB0_26:
	mov	x27, x19
	ldr	x0, [x27, #40]!
	cbz	x0, LBB0_38
; %bb.27:
	str	x7, [x19, #24]
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_29
; %bb.28:
	mov	x1, x28
	mov	x2, x25
	mov	x25, x11
	mov	x26, x12
	bl	_avio_write
	mov	x12, x26
	mov	x11, x25
LBB0_29:
	and	w8, w12, w11
	cbz	w24, LBB0_43
; %bb.30:
	str	w23, [x21]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_19
LBB0_31:
	cbz	w8, LBB0_18
; %bb.32:
	ldr	w9, [x0]
	tbnz	w9, #7, LBB0_39
; %bb.33:
	and	w13, w9, #0x7f
	add	x0, x26, #12
	sub	w8, w25, #3
	mov	w26, #127
	b	LBB0_5
LBB0_34:
	ldr	x0, [x27]
	cbz	x0, LBB0_36
; %bb.35:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_50
LBB0_36:
	mov	w8, #0
	ldr	w9, [x19, #4]
	cbnz	w9, LBB0_51
	b	LBB0_56
LBB0_37:
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_69
LBB0_38:
Lloh12:
	adrp	x2, l_.str.7@PAGE
Lloh13:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_69
LBB0_39:
	cmp	w8, #1
	b.ls	LBB0_18
; %bb.40:
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	str	x7, [sp, #8]                    ; 8-byte Folded Spill
	str	w11, [sp, #20]                  ; 4-byte Folded Spill
	str	w12, [sp, #4]                   ; 4-byte Folded Spill
	bl	_AV_RB16
	ldr	w12, [sp, #4]                   ; 4-byte Folded Reload
	ldr	w11, [sp, #20]                  ; 4-byte Folded Reload
	ldr	x7, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	and	w13, w0, #0x7fff
	add	x0, x26, #16
	sub	w8, w25, #4
	mov	w26, #32767
	b	LBB0_5
LBB0_41:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_63
; %bb.42:
Lloh14:
	adrp	x2, l_.str.5@PAGE
Lloh15:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_69
LBB0_43:
	cbz	w8, LBB0_56
; %bb.44:
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x27
	bl	_ff_rtp_finalize_packet
	tbnz	w0, #31, LBB0_19
; %bb.45:
	ldr	w8, [x19]
	cbz	w8, LBB0_47
; %bb.46:
Lloh16:
	adrp	x8, _AV_PKT_FLAG_CORRUPT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_PKT_FLAG_CORRUPT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_47:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_49
; %bb.48:
	mov	w0, #0
Lloh19:
	adrp	x8, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
	b	LBB0_16
LBB0_49:
	mov	w0, #0
	b	LBB0_19
LBB0_50:
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	mov	x24, x7
	stp	w13, w11, [sp, #16]             ; 8-byte Folded Spill
	str	w23, [sp, #8]                   ; 4-byte Folded Spill
	mov	x23, x12
	bl	_avio_tell
	ldp	w13, w11, [sp, #16]             ; 8-byte Folded Reload
	mov	x12, x23
	ldr	w23, [sp, #8]                   ; 4-byte Folded Reload
	mov	x7, x24
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	ldr	w8, [x19, #16]
	cmp	w0, w8
	cset	w8, ge
	ldr	w9, [x19, #4]
	cbz	w9, LBB0_56
LBB0_51:
	ldr	w9, [x19, #8]
	cbz	w9, LBB0_57
; %bb.52:
	tbnz	w13, #31, LBB0_59
; %bb.53:
	ldr	w9, [x19, #20]
	add	w9, w9, #1
	and	w9, w9, w26
	cmp	w13, w9
	b.ne	LBB0_58
; %bb.54:
	ldr	x0, [x27]
	cmp	x0, #0
	cset	w9, eq
	orr	w8, w9, w8
	tbz	w8, #0, LBB0_58
; %bb.55:
	cbnz	x0, LBB0_61
	b	LBB0_70
LBB0_56:
Lloh21:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_AVERROR
LBB0_57:
Lloh24:
	adrp	x2, l_.str@PAGE
Lloh25:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_69
LBB0_58:
Lloh26:
	adrp	x2, l_.str.1@PAGE
Lloh27:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_69
LBB0_59:
	ldr	w9, [x19, #24]
	mvn	w9, w9
	add	w9, w9, w7
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_66
; %bb.60:
	cmp	w9, #2
	cset	w9, lo
	and	w8, w9, w8
	tbz	w8, #0, LBB0_68
LBB0_61:
	stp	w13, w11, [sp, #16]             ; 8-byte Folded Spill
	str	w12, [sp, #4]                   ; 4-byte Folded Spill
	str	x7, [sp, #8]                    ; 8-byte Folded Spill
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	mov	w8, #1
	str	w8, [x19]
	bl	_avio_tell
	ldr	w8, [x19, #16]
	cmp	w0, w8
	b.ge	LBB0_72
; %bb.62:
	mov	x0, x27
	bl	_ffio_free_dyn_buf
	b	LBB0_71
LBB0_63:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_65
; %bb.64:
	mov	x23, x10
	mov	x24, x7
	mov	x26, x11
	mov	x27, x12
	bl	_avio_tell
	mov	x10, x23
	ldr	w8, [x19, #16]
	cmp	w0, w8
	b.ge	LBB0_74
LBB0_65:
Lloh28:
	adrp	x2, l_.str.6@PAGE
Lloh29:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_69
LBB0_66:
	cbz	w9, LBB0_70
; %bb.67:
Lloh30:
	adrp	x2, l_.str.3@PAGE
Lloh31:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_69
LBB0_68:
Lloh32:
	adrp	x2, l_.str.2@PAGE
Lloh33:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_69:
	mov	x0, x10
	mov	x1, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_vp8_broken_sequence
LBB0_70:
	stp	w13, w11, [sp, #16]             ; 8-byte Folded Spill
	str	w12, [sp, #4]                   ; 4-byte Folded Spill
	str	x7, [sp, #8]                    ; 8-byte Folded Spill
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
LBB0_71:
	mov	w24, #0
	mov	w26, #0
	b	LBB0_10
LBB0_72:
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x27
	bl	_ff_rtp_finalize_packet
	tbnz	w0, #31, LBB0_19
; %bb.73:
Lloh34:
	adrp	x8, _AV_PKT_FLAG_CORRUPT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AV_PKT_FLAG_CORRUPT@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	ldr	w26, [x19, #48]
	mov	w24, #1
	b	LBB0_10
LBB0_74:
	mov	x12, x27
	mov	x11, x26
	mov	x7, x24
	mov	w24, #0
	mov	w23, #0
	mov	w8, #1
	str	w8, [x19, #32]
	str	w8, [x19]
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PKT_FLAG_CORRUPT,4,2        ; @AV_PKT_FLAG_CORRUPT
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_RTP_FLAG_MARKER,4,2            ; @RTP_FLAG_MARKER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Keyframe missing\n"

l_.str.1:                               ; @.str.1
	.asciz	"Missed a picture, sequence broken\n"

l_.str.2:                               ; @.str.2
	.asciz	"Missed too much, sequence broken\n"

l_.str.3:                               ; @.str.3
	.asciz	"Missed unknown data, sequence broken\n"

l_.str.4:                               ; @.str.4
	.asciz	"Received no start marker; dropping frame\n"

l_.str.5:                               ; @.str.5
	.asciz	"Missed part of a keyframe, sequence broken\n"

l_.str.6:                               ; @.str.6
	.asciz	"Missed part of the first partition, sequence broken\n"

l_.str.7:                               ; @.str.7
	.asciz	"Received no start marker\n"

	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
	.no_dead_strip	_vp8_handle_packet
.subsections_via_symbols
