	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function idcin_read_packet
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	3                               ## 0x3
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	6                               ## 0x6
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	9                               ## 0x9
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
LCPI0_1:
	.byte	1                               ## 0x1
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	4                               ## 0x4
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	7                               ## 0x7
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	10                              ## 0xa
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
LCPI0_2:
	.byte	2                               ## 0x2
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	5                               ## 0x5
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	8                               ## 0x8
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	11                              ## 0xb
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
LCPI0_3:
	.byte	128                             ## 0x80
	.byte	0                               ## 0x0
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	4                               ## 0x4
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	8                               ## 0x8
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	12                              ## 0xc
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
LCPI0_4:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_5:
	.long	197379                          ## 0x30303
	.long	197379                          ## 0x30303
	.long	197379                          ## 0x30303
	.long	197379                          ## 0x30303
LCPI0_6:
	.long	4278190080                      ## 0xff000000
	.long	4278190080                      ## 0xff000000
	.long	4278190080                      ## 0xff000000
	.long	4278190080                      ## 0xff000000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_idcin_read_packet:                     ## @idcin_read_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	$1816, %rsp                     ## imm = 0x718
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r15
	movq	8(%rdi), %r12
	movq	%r15, %rdi
	callq	_avio_feof
	testq	%rax, %rax
	je	LBB0_6
LBB0_1:
	movq	(%r13), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_46
## %bb.5:
	addq	$1816, %rsp                     ## imm = 0x718
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpl	$0, (%r12)
	je	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	callq	_avio_rl32
	cmpl	$2, %eax
	jne	LBB0_14
## %bb.8:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.9:
	addq	$1816, %rsp                     ## imm = 0x718
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_10:
	xorl	%eax, %eax
	cmpl	$0, 4(%r12)
	sete	%al
	movl	8(%r12,%rax,4), %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_av_get_packet
	testl	%eax, %eax
	js	LBB0_4
## %bb.11:
	movl	32(%r12), %eax
	movl	%eax, 4(%r14)
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	16(%r12)
	movl	%eax, (%r14)
	xorb	$1, 4(%r12)
LBB0_12:
	xorl	%eax, %eax
	cmpq	$0, 24(%r12)
	je	LBB0_4
## %bb.13:
	xorb	$1, (%r12)
	jmp	LBB0_4
LBB0_14:
	cmpl	$1, %eax
	jne	LBB0_22
## %bb.15:
	movl	%eax, -1844(%rbp)               ## 4-byte Spill
	leaq	-816(%rbp), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$768, %edx                      ## imm = 0x300
	callq	_avio_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.16:
	cmpl	$768, %eax                      ## imm = 0x300
	jne	LBB0_27
## %bb.17:
	xorl	%ecx, %ecx
	movb	$1, %dil
	cmpb	$63, -816(%rbp)
	jbe	LBB0_30
LBB0_18:
	movd	%ecx, %xmm0
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [0,128,128,128,3,128,128,128,6,128,128,128,9,128,128,128]
	pmovzxdq	%xmm0, %xmm1                    ## xmm1 = xmm0[0],zero,xmm0[1],zero
	movdqa	LCPI0_1(%rip), %xmm10           ## xmm10 = [1,128,128,128,4,128,128,128,7,128,128,128,10,128,128,128]
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [2,128,128,128,5,128,128,128,8,128,128,128,11,128,128,128]
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [128,0,128,128,128,4,128,128,128,8,128,128,128,12,128,128]
	movdqa	LCPI0_4(%rip), %xmm5            ## xmm5 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	movdqa	LCPI0_5(%rip), %xmm8            ## xmm8 = [197379,197379,197379,197379]
	movdqa	LCPI0_6(%rip), %xmm7            ## xmm7 = [4278190080,4278190080,4278190080,4278190080]
	movl	-1844(%rbp), %eax               ## 4-byte Reload
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	por	%xmm0, %xmm6
	por	%xmm7, %xmm6
	movdqa	%xmm6, -1840(%rbp,%rcx,4)
	addq	$4, %rcx
	addq	$12, %rbx
	cmpq	$256, %rcx                      ## imm = 0x100
	je	LBB0_22
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	pinsrd	$2, 8(%rbx), %xmm0
	movdqa	%xmm0, %xmm6
	pshufb	%xmm9, %xmm6
	pslld	%xmm1, %xmm6
	movdqa	%xmm0, %xmm2
	pshufb	%xmm10, %xmm2
	pslld	%xmm1, %xmm2
	pshufb	%xmm4, %xmm2
	pshufb	%xmm3, %xmm0
	pslld	%xmm1, %xmm0
	pand	%xmm5, %xmm0
	pslld	$16, %xmm6
	por	%xmm2, %xmm6
	por	%xmm0, %xmm6
	pxor	%xmm0, %xmm0
	testb	%dil, %dil
	jne	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movdqa	%xmm6, %xmm0
	psrld	$6, %xmm0
	pand	%xmm8, %xmm0
	jmp	LBB0_19
LBB0_22:
	movq	(%r13), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_24
## %bb.23:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_1
LBB0_24:
	movl	%eax, -1844(%rbp)               ## 4-byte Spill
	movq	%r15, %rdi
	callq	_avio_rl32
	movl	%eax, %ebx
	cmpl	$4, %eax
	jb	LBB0_26
## %bb.25:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-4, %eax
	cmpl	%eax, %ebx
	jbe	LBB0_37
LBB0_26:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_27:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_28:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_4
LBB0_30:
	movq	$-1, %rdx
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$63, -814(%rbp,%rdx)
	ja	LBB0_18
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpb	$63, -813(%rbp,%rdx)
	ja	LBB0_18
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpb	$63, -812(%rbp,%rdx)
	ja	LBB0_18
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpq	$763, %rdx                      ## imm = 0x2FB
	je	LBB0_44
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	leaq	4(%rdx), %rsi
	cmpb	$64, -811(%rbp,%rdx)
	movq	%rsi, %rdx
	jb	LBB0_31
## %bb.36:
	cmpq	$767, %rsi                      ## imm = 0x2FF
	setb	%dil
	jmp	LBB0_18
LBB0_37:
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_avio_skip
	addl	$-4, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_av_get_packet
	testl	%eax, %eax
	js	LBB0_4
## %bb.38:
	cmpl	%ebx, %eax
	jne	LBB0_43
## %bb.39:
	cmpl	$1, -1844(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_42
## %bb.40:
	movq	_AV_PKT_DATA_PALETTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AVPALETTE_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_av_packet_new_side_data
	testq	%rax, %rax
	je	LBB0_45
## %bb.41:
	movl	(%rbx), %edx
	leaq	-1840(%rbp), %rsi
	movq	%rax, %rdi
	callq	_memcpy
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_42:
	movl	36(%r12), %eax
	movl	%eax, 4(%r14)
	movl	$1, (%r14)
	jmp	LBB0_12
LBB0_43:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	%r14, %rdi
	callq	_av_packet_unref
	jmp	LBB0_28
LBB0_44:
	addq	$4, %rdx
	cmpq	$767, %rdx                      ## imm = 0x2FF
	setb	%dil
	movl	$2, %ecx
	jmp	LBB0_18
LBB0_45:
	movq	%r14, %rdi
	callq	_av_packet_unref
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_EIO,4,2                        ## @EIO
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"incomplete packet\n"

	.comm	_INT_MAX,4,2                    ## @INT_MAX
L_.str.1:                               ## @.str.1
	.asciz	"invalid chunk size: %u\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_PKT_DATA_PALETTE,4,2        ## @AV_PKT_DATA_PALETTE
	.comm	_AVPALETTE_SIZE,4,2             ## @AVPALETTE_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
	.no_dead_strip	_idcin_read_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function idcin_read_packet
lCPI0_0:
	.byte	12                              ; 0xc
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	13                              ; 0xd
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	14                              ; 0xe
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	15                              ; 0xf
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_1:
	.byte	8                               ; 0x8
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	9                               ; 0x9
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	10                              ; 0xa
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	11                              ; 0xb
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_2:
	.byte	4                               ; 0x4
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	5                               ; 0x5
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	6                               ; 0x6
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	7                               ; 0x7
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_3:
	.byte	0                               ; 0x0
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	1                               ; 0x1
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	2                               ; 0x2
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	3                               ; 0x3
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_idcin_read_packet:                     ; @idcin_read_packet
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #1808
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldp	x21, x24, [x0]
	mov	x0, x21
	bl	_avio_feof
	cbz	x0, LBB0_4
LBB0_1:
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AVERROR_EOF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVERROR_EOF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, w9, w8, eq
LBB0_2:
	ldur	x8, [x29, #-72]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_41
; %bb.3:
	add	sp, sp, #1808
	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	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x24]
	cbz	w8, LBB0_8
; %bb.5:
	mov	x0, x21
	bl	_avio_rl32
	cmp	w0, #2
	b.ne	LBB0_11
; %bb.6:
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_41
; %bb.7:
	add	sp, sp, #1808
	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	x28, x27, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_8:
	ldr	w8, [x24, #4]
	cmp	w8, #0
	mov	w8, #8
	mov	w9, #12
	csel	x8, x9, x8, eq
	ldr	w20, [x24, x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_av_get_packet
	tbnz	w0, #31, LBB0_2
; %bb.9:
	ldr	w8, [x24, #32]
	str	w8, [x19, #4]
	ldr	w8, [x24, #16]
	udiv	w8, w20, w8
	str	w8, [x19]
	ldr	w8, [x24, #4]
	eor	w8, w8, #0x1
	str	w8, [x24, #4]
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_38
LBB0_10:
	mov	w0, #0
	ldr	w8, [x24]
	eor	w8, w8, #0x1
	str	w8, [x24]
	b	LBB0_2
LBB0_11:
	mov	x22, x0
	cmp	w0, #1
	b.ne	LBB0_27
; %bb.12:
	add	x1, sp, #1032
	mov	x0, x21
	mov	w2, #768
	bl	_avio_read
	tbnz	w0, #31, LBB0_2
; %bb.13:
	cmp	w0, #768
	b.ne	LBB0_16
; %bb.14:
	ldrb	w8, [sp, #1032]
	cmp	w8, #63
	b.ls	LBB0_19
; %bb.15:
	mov	w10, #0
	mov	w8, #1
	b	LBB0_25
LBB0_16:
Lloh15:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_log
LBB0_17:
Lloh20:
	adrp	x8, _EIO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_2
LBB0_19:
	mov	x10, #0
	add	x8, sp, #1032
	add	x9, x8, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x8, x10
	cmp	x10, #767
	b.eq	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldrb	w11, [x9, x8]
	add	x10, x8, #1
	cmp	w11, #64
	b.lo	LBB0_20
; %bb.22:
	mov	w10, #0
	b	LBB0_24
LBB0_23:
	mov	w10, #2
LBB0_24:
	cmp	x8, #767
	cset	w8, lo
LBB0_25:
	mov	x9, #0
	dup.4s	v0, w10
	add	x10, sp, #1032
Lloh22:
	adrp	x11, lCPI0_0@PAGE
Lloh23:
	ldr	q1, [x11, lCPI0_0@PAGEOFF]
Lloh24:
	adrp	x11, lCPI0_1@PAGE
Lloh25:
	ldr	q2, [x11, lCPI0_1@PAGEOFF]
Lloh26:
	adrp	x11, lCPI0_2@PAGE
Lloh27:
	ldr	q3, [x11, lCPI0_2@PAGEOFF]
	movi.2d	v4, #0x00ff000000ff00
Lloh28:
	adrp	x11, lCPI0_3@PAGE
Lloh29:
	ldr	q5, [x11, lCPI0_3@PAGEOFF]
	movi.2d	v6, #0x0000ff000000ff
	mov	w11, #771
	movk	w11, #3, lsl #16
	dup.4s	v7, w11
	add	x11, sp, #8
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ld3.16b	{ v16, v17, v18 }, [x10], #48
	tbl.16b	v19, { v16 }, v1
	tbl.16b	v20, { v16 }, v2
	tbl.16b	v21, { v16 }, v3
	tbl.16b	v22, { v16 }, v5
	ushl.4s	v22, v22, v0
	ushl.4s	v21, v21, v0
	ushl.4s	v20, v20, v0
	ushl.4s	v19, v19, v0
	tbl.16b	v23, { v17 }, v5
	tbl.16b	v24, { v17 }, v3
	tbl.16b	v25, { v17 }, v2
	tbl.16b	v26, { v17 }, v1
	ushl.4s	v26, v26, v0
	ushl.4s	v25, v25, v0
	ushl.4s	v24, v24, v0
	ushl.4s	v23, v23, v0
	tbl.16b	v27, { v18 }, v5
	tbl.16b	v28, { v18 }, v3
	tbl.16b	v29, { v18 }, v2
	tbl.16b	v16, { v18 }, v1
	ushl.4s	v16, v16, v0
	ushl.4s	v17, v29, v0
	ushl.4s	v18, v28, v0
	ushl.4s	v27, v27, v0
	shl.4s	v19, v19, #16
	shl.4s	v20, v20, #16
	shl.4s	v21, v21, #16
	shl.4s	v22, v22, #16
	shl.4s	v23, v23, #8
	shl.4s	v24, v24, #8
	shl.4s	v25, v25, #8
	shl.4s	v26, v26, #8
	and.16b	v26, v26, v4
	and.16b	v25, v25, v4
	and.16b	v24, v24, v4
	and.16b	v23, v23, v4
	orr.16b	v22, v23, v22
	orr.16b	v21, v24, v21
	orr.16b	v20, v25, v20
	orr.16b	v19, v26, v19
	and.16b	v23, v27, v6
	and.16b	v18, v18, v6
	and.16b	v17, v17, v6
	and.16b	v16, v16, v6
	orr.16b	v16, v19, v16
	orr.16b	v17, v20, v17
	orr.16b	v18, v21, v18
	orr.16b	v19, v22, v23
	ushr.4s	v20, v19, #6
	ushr.4s	v21, v18, #6
	ushr.4s	v22, v17, #6
	cmp	w8, #0
	csetm	w12, ne
	dup.4s	v23, w12
	ushr.4s	v24, v16, #6
	bic.16b	v24, v24, v23
	bic.16b	v22, v22, v23
	bic.16b	v21, v21, v23
	bic.16b	v20, v20, v23
	and.16b	v20, v20, v7
	and.16b	v21, v21, v7
	and.16b	v22, v22, v7
	and.16b	v23, v24, v7
	orr.16b	v16, v16, v23
	orr.16b	v17, v17, v22
	orr.16b	v18, v18, v21
	orr.16b	v19, v19, v20
	orr.4s	v19, #255, lsl #24
	add	x12, x11, x9
	orr.4s	v18, #255, lsl #24
	orr.4s	v17, #255, lsl #24
	orr.4s	v16, #255, lsl #24
	stp	q17, q16, [x12, #32]
	stp	q19, q18, [x12]
	add	x9, x9, #64
	cmp	x9, #1024
	b.ne	LBB0_26
LBB0_27:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_29
; %bb.28:
Lloh30:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x2, l_.str@PAGE
Lloh34:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_log
	b	LBB0_1
LBB0_29:
	mov	x0, x21
	bl	_avio_rl32
                                        ; kill: def $w0 killed $w0 def $x0
	subs	w23, w0, #4
	b.lo	LBB0_31
; %bb.30:
Lloh35:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh36:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	sub	w8, w8, #4
	cmp	w0, w8
	b.ls	LBB0_32
LBB0_31:
Lloh38:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	str	x0, [sp]
Lloh41:
	adrp	x2, l_.str.1@PAGE
Lloh42:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_av_log
Lloh43:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh44:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	b	LBB0_2
LBB0_32:
	mov	x0, x21
	mov	w1, #4
	bl	_avio_skip
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	bl	_av_get_packet
	tbnz	w0, #31, LBB0_2
; %bb.33:
	cmp	w0, w23
	b.ne	LBB0_39
; %bb.34:
	cmp	w22, #1
	b.ne	LBB0_37
; %bb.35:
Lloh46:
	adrp	x8, _AV_PKT_DATA_PALETTE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _AV_PKT_DATA_PALETTE@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x20, _AVPALETTE_SIZE@GOTPAGE
Lloh50:
	ldr	x20, [x20, _AVPALETTE_SIZE@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_av_packet_new_side_data
	cbz	x0, LBB0_40
; %bb.36:
	ldr	w2, [x20]
	add	x1, sp, #8
	bl	_memcpy
Lloh51:
	adrp	x8, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh52:
	ldr	x8, [x8, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_37:
	ldr	w8, [x24, #36]
	mov	w9, #1
	stp	w9, w8, [x19]
	ldr	x8, [x24, #24]
	cbnz	x8, LBB0_10
LBB0_38:
	mov	w0, #0
	b	LBB0_2
LBB0_39:
Lloh54:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh55:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x2, l_.str@PAGE
Lloh58:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_log
	mov	x0, x19
	bl	_av_packet_unref
	b	LBB0_17
LBB0_40:
	mov	x0, x19
	bl	_av_packet_unref
Lloh59:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_18
LBB0_41:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpAdrp	Lloh26, Lloh28
	.loh AdrpLdr	Lloh26, Lloh27
	.loh AdrpAdrp	Lloh24, Lloh26
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpAdrp	Lloh22, Lloh24
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_EIO,4,2                        ; @EIO
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"incomplete packet\n"

	.comm	_INT_MAX,4,2                    ; @INT_MAX
l_.str.1:                               ; @.str.1
	.asciz	"invalid chunk size: %u\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_PKT_DATA_PALETTE,4,2        ; @AV_PKT_DATA_PALETTE
	.comm	_AVPALETTE_SIZE,4,2             ; @AVPALETTE_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
	.no_dead_strip	_idcin_read_packet
.subsections_via_symbols
