	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unpack_superblocks
_unpack_superblocks:                    ## @unpack_superblocks
	.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	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -60(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -56(%rbp)
	movl	4(%rdi), %eax
	movl	%eax, -52(%rbp)
	cmpq	$0, 120(%rdi)
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	8(%r12), %rdi
	movq	_SB_FULLY_CODED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r12), %edx
	callq	_memset
	xorl	%ebx, %ebx
	xorl	%eax, %eax
LBB0_37:
	movq	$0, 96(%r12)
	movq	%rax, %r15
	movq	24(%r12), %rdi
	movq	_MODE_COPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r12), %edx
	callq	_memset
	movq	%rbx, %rax
	movq	%r15, %r9
	movq	40(%r12), %rcx
	movq	120(%r12), %rbx
	xorl	%edx, %edx
	testq	%rbx, %rbx
	sete	%dl
	movq	48(%r12,%rdx,8), %rdx
	movq	%rdx, (%rcx)
	xorl	%edx, %edx
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_69:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	40(%r12), %rcx
	shlq	$2, %rdx
	addq	(%rcx,%r14,8), %rdx
	movq	%rdx, 8(%rcx,%r14,8)
	incq	%r14
LBB0_70:                                ##   in Loop: Header=BB0_38 Depth=1
	movl	-60(%rbp,%r14,4), %edx
	movq	120(%r12), %rbx
LBB0_38:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_45 Depth 2
                                        ##       Child Loop BB0_46 Depth 3
                                        ##     Child Loop BB0_54 Depth 2
                                        ##       Child Loop BB0_58 Depth 3
	xorl	%ecx, %ecx
	testq	%r14, %r14
	sete	%cl
	movl	64(%r12,%rcx,4), %ecx
	leal	(%rcx,%rdx), %esi
	testq	%rbx, %rbx
	movl	%edi, -100(%rbp)                ## 4-byte Spill
	je	LBB0_39
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	72(%r12), %r8
	movl	(%r8,%r14,4), %r13d
	cmpl	$-1, %r13d
	jne	LBB0_68
## %bb.42:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r9, %r15
	testl	%ecx, %ecx
	jle	LBB0_43
## %bb.44:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	80(%r12), %r10
	movslq	%edx, %r11
	movslq	%esi, %r9
	addq	$4, %r10
	movl	%r11d, %edi
	shll	$4, %edi
	xorl	%r13d, %r13d
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_45 Depth=2
	incq	%r11
	addl	$16, %edi
	cmpq	%r9, %r11
	jge	LBB0_52
LBB0_45:                                ##   Parent Loop BB0_38 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_46 Depth 3
	movslq	%edi, %rax
	leaq	(%r10,%rax,4), %rbx
	xorl	%eax, %eax
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_46 Depth=3
	addq	$2, %rax
	cmpq	$16, %rax
	je	LBB0_51
LBB0_46:                                ##   Parent Loop BB0_38 Depth=1
                                        ##     Parent Loop BB0_45 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	-4(%rbx,%rax,4), %esi
	cmpl	$-1, %esi
	je	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=3
	movq	40(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movslq	%r13d, %rdx
	incl	%r13d
	movl	%esi, (%rcx,%rdx,4)
LBB0_48:                                ##   in Loop: Header=BB0_46 Depth=3
	movl	(%rbx,%rax,4), %esi
	cmpl	$-1, %esi
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_46 Depth=3
	movq	40(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movslq	%r13d, %rdx
	incl	%r13d
	movl	%esi, (%rcx,%rdx,4)
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_38 Depth=1
	testl	%ecx, %ecx
	jle	LBB0_40
## %bb.53:                              ##   in Loop: Header=BB0_38 Depth=1
	sarl	$2, %edi
	movl	%edi, -104(%rbp)                ## 4-byte Spill
	movslq	%edx, %r10
	movslq	%esi, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	shll	$4, %edx
	xorl	%r13d, %r13d
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_54
	.p2align	4, 0x90
LBB0_67:                                ##   in Loop: Header=BB0_54 Depth=2
	incq	%r10
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	addl	$16, %edx
	cmpq	-120(%rbp), %r10                ## 8-byte Folded Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_68
LBB0_54:                                ##   Parent Loop BB0_38 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_58 Depth 3
	movq	%r10, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rax, %r14
	movq	%r9, %rbx
	movq	%r15, %rdi
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_55
## %bb.56:                              ##   in Loop: Header=BB0_54 Depth=2
	movq	%r15, %rdi
	callq	_get_bits_left
	cmpl	-104(%rbp), %eax                ## 4-byte Folded Reload
	jl	LBB0_73
## %bb.57:                              ##   in Loop: Header=BB0_54 Depth=2
	movslq	-112(%rbp), %r11                ## 4-byte Folded Reload
	shlq	$2, %r11
	xorl	%r15d, %r15d
	movq	%rbx, %r9
	movq	%r14, %rax
	movq	_SB_PARTIALLY_CODED@GOTPCREL(%rip), %rdi
	movq	_MODE_INTER_NO_MV@GOTPCREL(%rip), %r8
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_58
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_58 Depth=3
	movq	_MODE_COPY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	104(%r12), %rcx
	movl	%edx, (%rcx,%rbx,4)
LBB0_66:                                ##   in Loop: Header=BB0_58 Depth=3
	incq	%r15
	cmpq	$16, %r15
	je	LBB0_67
LBB0_58:                                ##   Parent Loop BB0_38 Depth=1
                                        ##     Parent Loop BB0_54 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	80(%r12), %rdx
	addq	%r11, %rdx
	movslq	(%rdx,%r15,4), %rbx
	cmpq	$-1, %rbx
	je	LBB0_66
## %bb.59:                              ##   in Loop: Header=BB0_58 Depth=3
	movq	%r12, %rcx
	movq	8(%r12), %rcx
	movl	(%rcx,%r10,4), %ecx
	cmpl	(%rdi), %ecx
	jne	LBB0_63
## %bb.60:                              ##   in Loop: Header=BB0_58 Depth=3
	subl	$1, %eax
	jae	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_58 Depth=3
	xorl	$1, %r9d
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	112(%r12), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$5, %edx
	movl	$2, %ecx
	movq	%r11, %r14
	callq	_get_vlc2
	movq	%r14, %r11
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	_MODE_INTER_NO_MV@GOTPCREL(%rip), %r8
	movq	_SB_PARTIALLY_CODED@GOTPCREL(%rip), %rdi
                                        ## kill: def $eax killed $eax def $rax
LBB0_62:                                ##   in Loop: Header=BB0_58 Depth=3
	movl	%r9d, %ecx
LBB0_63:                                ##   in Loop: Header=BB0_58 Depth=3
	testl	%ecx, %ecx
	je	LBB0_65
## %bb.64:                              ##   in Loop: Header=BB0_58 Depth=3
	movl	(%r8), %esi
	movq	%r12, %rdx
	movq	104(%r12), %rcx
	movl	%esi, (%rcx,%rbx,4)
	movq	40(%r12), %rcx
	movq	(%rcx,%r14,8), %rdx
	movslq	%r13d, %rcx
	incl	%r13d
	movl	%ebx, (%rdx,%rcx,4)
	jmp	LBB0_66
LBB0_40:                                ##   in Loop: Header=BB0_38 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_68
LBB0_43:                                ##   in Loop: Header=BB0_38 Depth=1
	xorl	%r13d, %r13d
LBB0_52:                                ##   in Loop: Header=BB0_38 Depth=1
	movl	%r13d, (%r8,%r14,4)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, %r9
	movq	%rax, %r15
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_68
LBB0_55:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	%rbx, %r9
	movq	%r14, %rax
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_38 Depth=1
	movslq	%r13d, %rdx
	addq	%rdx, 96(%r12)
	testq	%r14, %r14
	movd	%edx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	88(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movdqu	%xmm0, (%rcx)
	movdqu	%xmm0, 16(%rcx)
	movdqu	%xmm0, 32(%rcx)
	movdqu	%xmm0, 48(%rcx)
	movdqu	%xmm0, 64(%rcx)
	movdqu	%xmm0, 80(%rcx)
	movdqu	%xmm0, 96(%rcx)
	movdqu	%xmm0, 112(%rcx)
	movdqu	%xmm0, 128(%rcx)
	movdqu	%xmm0, 144(%rcx)
	movdqu	%xmm0, 160(%rcx)
	movdqu	%xmm0, 176(%rcx)
	movdqu	%xmm0, 192(%rcx)
	movdqu	%xmm0, 208(%rcx)
	movdqu	%xmm0, 224(%rcx)
	movdqu	%xmm0, 240(%rcx)
	movl	-100(%rbp), %edi                ## 4-byte Reload
	cmovel	%edx, %edi
	cmpq	$1, %r14
	jbe	LBB0_69
## %bb.71:                              ##   in Loop: Header=BB0_38 Depth=1
	incq	%r14
	cmpq	$3, %r14
	jne	LBB0_70
## %bb.72:
	xorl	%eax, %eax
	jmp	LBB0_74
LBB0_73:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_74:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_77
## %bb.75:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	_get_bits1
                                        ## kill: def $eax killed $eax def $rax
	xorl	$1, %eax
	movl	16(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, -80(%rbp)                ## 4-byte Spill
	movq	%rbx, %r14
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 136(%r12)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAXIMUM_LONG_BIT_RUN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_get_bits1
	movq	%r15, %rdi
	movl	%eax, %r15d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	$1, %ebx
	movq	%r15, %rdi
	movq	%rbx, %r15
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	132(%r12), %esi
	movl	$6, %edx
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %ebx
	incl	%ebx
	cmpl	$34, %ebx
	movl	-80(%rbp), %r14d                ## 4-byte Reload
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$12, %esi
	callq	_get_bits
	movq	%rax, %rbx
	addl	$34, %ebx
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r12), %eax
	subl	%r13d, %eax
	cmpl	%eax, %ebx
	jg	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movslq	%r13d, %rdi
	shlq	$2, %rdi
	addq	8(%r12), %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	%r15, %rax
	addl	%ebx, %r13d
	testl	%eax, %eax
	movl	%ebx, %ecx
	cmovel	%eax, %ecx
	addl	%ecx, %r14d
	movl	16(%r12), %ecx
	cmpl	%ecx, %r13d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jl	LBB0_5
	jmp	LBB0_17
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
LBB0_17:
	cmpl	%ecx, %r14d
	jl	LBB0_18
	jmp	LBB0_35
LBB0_6:
	movl	16(%r12), %ecx
	movq	%rbx, %rax
	movq	%r14, %rbx
	movl	-80(%rbp), %r14d                ## 4-byte Reload
	cmpl	%ecx, %r14d
	jge	LBB0_35
LBB0_18:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
                                        ## kill: def $eax killed $eax def $rax
	xorl	$1, %eax
	xorl	%ebx, %ebx
	cmpl	%r14d, 16(%r12)
	jle	LBB0_35
## %bb.19:
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_34:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	addl	%ebx, %edx
	movl	16(%r12), %ecx
	subl	%r14d, %ecx
	cmpl	%ecx, %edx
	jge	LBB0_35
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	movl	%r14d, %r13d
	movq	%rbx, %r14
	movq	%rax, %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpq	$0, 136(%r12)
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	_MAXIMUM_LONG_BIT_RUN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_get_bits1
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=1
	xorl	$1, %ebx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	132(%r12), %esi
	movq	%rbx, %rdi
	movl	$6, %edx
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %ebx
	incl	%ebx
	cmpl	$34, %ebx
	movl	%r13d, %r14d
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$12, %esi
	callq	_get_bits
	movq	%rax, %rbx
	addl	$34, %ebx
LBB0_28:                                ##   in Loop: Header=BB0_20 Depth=1
	testl	%ebx, %ebx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jle	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_20 Depth=1
	leal	(%rax,%rax), %r8d
	movslq	%r15d, %r15
	xorl	%ecx, %ecx
	movq	_SB_NOT_CODED@GOTPCREL(%rip), %rdi
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_30 Depth=2
	incq	%r15
	cmpl	%ebx, %ecx
	jge	LBB0_34
LBB0_30:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	16(%r12), %rdx
	cmpq	%rdx, %r15
	jge	LBB0_76
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=2
	movq	8(%r12), %rdx
	movl	(%rdx,%r15,4), %esi
	cmpl	(%rdi), %esi
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_30 Depth=2
	movl	%r8d, (%rdx,%r15,4)
	incl	%ecx
	jmp	LBB0_33
LBB0_14:
	movl	128(%r12), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_15
LBB0_76:
	movl	128(%r12), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_15:
	callq	_av_log
	movl	$-1, %eax
	jmp	LBB0_74
LBB0_21:
	movq	%rbx, %rax
	movq	%r14, %rbx
	movl	%r13d, %r14d
LBB0_35:
	testl	%r14d, %r14d
	je	LBB0_37
## %bb.36:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
                                        ## kill: def $eax killed $eax def $rax
	xorl	$1, %eax
	xorl	%ebx, %ebx
	jmp	LBB0_37
LBB0_77:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SB_FULLY_CODED,4,2             ## @SB_FULLY_CODED
	.comm	_MAXIMUM_LONG_BIT_RUN,4,2       ## @MAXIMUM_LONG_BIT_RUN
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid partially coded superblock run length\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid fully coded superblock run length\n"

	.comm	_SB_NOT_CODED,4,2               ## @SB_NOT_CODED
	.comm	_MODE_COPY,4,2                  ## @MODE_COPY
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_SB_PARTIALLY_CODED,4,2         ## @SB_PARTIALLY_CODED
	.comm	_MODE_INTER_NO_MV,4,2           ## @MODE_INTER_NO_MV
	.no_dead_strip	_unpack_superblocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unpack_superblocks
_unpack_superblocks:                    ; @unpack_superblocks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x28, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	wzr, [sp, #44]
	ldr	d0, [x0]
	stur	d0, [sp, #48]
	ldr	x8, [x0, #120]
	cbz	x8, LBB0_40
; %bb.1:
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x8, _SB_FULLY_CODED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SB_FULLY_CODED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19, #16]
	bl	_memset
	mov	w22, #0
	mov	w27, #0
LBB0_2:
	str	xzr, [x19, #96]
	ldr	x0, [x19, #24]
Lloh6:
	adrp	x20, _MODE_COPY@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MODE_COPY@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w2, [x19, #32]
	bl	_memset
	mov	x17, x27
	mov	w8, #0
	mov	x24, #0
	mov	w0, #0
	ldr	x9, [x19, #120]
	mov	w10, #48
	mov	w11, #56
	cmp	x9, #0
	csel	x10, x11, x10, eq
	ldr	x10, [x19, x10]
	ldr	x11, [x19, #40]
	str	x10, [x11]
	str	x28, [sp, #32]                  ; 8-byte Folded Spill
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #40]
	ldr	x10, [x9, x24, lsl #3]
	add	x8, x10, x8, lsl #2
	add	x24, x24, #1
	str	x8, [x9, x24, lsl #3]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, sp, #44
	ldr	w8, [x8, x24, lsl #2]
	ldr	x9, [x19, #120]
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
                                        ;     Child Loop BB0_17 Depth 2
                                        ;       Child Loop BB0_22 Depth 3
	cmp	x24, #0
	mov	w10, #64
	mov	w11, #68
	csel	x10, x11, x10, eq
	ldr	w10, [x19, x10]
	add	w12, w10, w8
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	cbz	x9, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #72]
	ldr	w27, [x9, x24, lsl #2]
	cmn	w27, #1
	b.ne	LBB0_34
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w10, #1
	b.lt	LBB0_32
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w27, #0
	ldr	x10, [x19, #80]
	mov	x11, x8
	sxtw	x11, w11
                                        ; kill: def $w12 killed $w12 killed $x12 def $x12
	sxtw	x12, w12
	lsl	w8, w8, #4
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x11, x11, #1
	add	w8, w8, #16
	cmp	x11, x12
	b.ge	LBB0_30
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	mov	x13, #0
	add	x14, x10, w8, sxtw #2
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=3
	add	x13, x13, #4
	cmp	x13, #64
	b.eq	LBB0_9
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w15, [x14, x13]
	cmn	w15, #1
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	x16, [x19, #40]
	ldr	x16, [x16, x24, lsl #3]
	str	w15, [x16, w27, sxtw #2]
	add	w15, w27, #1
	mov	x27, x15
	b	LBB0_11
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w10, #1
	b.lt	LBB0_31
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w27, #0
	asr	w9, w0, #2
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	sxtw	x25, w8
	sxtw	x9, w12
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	lsl	w26, w8, #4
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	x25, x25, #1
	ldp	x26, x28, [sp, #24]             ; 16-byte Folded Reload
	add	w26, w26, #16
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x25, x8
	b.ge	LBB0_34
LBB0_17:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_22 Depth 3
	mov	x21, x17
	mov	x0, x28
	bl	_get_bits_left
	cmp	w0, #1
	b.lt	LBB0_33
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	x0, x28
	bl	_get_bits_left
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w0, w8
	b.lt	LBB0_37
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	x23, #0
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
	sbfiz	x26, x26, #2, #32
	mov	x17, x21
Lloh8:
	adrp	x11, _SB_PARTIALLY_CODED@GOTPAGE
Lloh9:
	ldr	x11, [x11, _SB_PARTIALLY_CODED@GOTPAGEOFF]
Lloh10:
	adrp	x12, _MODE_INTER_NO_MV@GOTPAGE
Lloh11:
	ldr	x12, [x12, _MODE_INTER_NO_MV@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=3
	ldr	w8, [x20]
	ldr	x10, [x19, #104]
	str	w8, [x10, x9, lsl #2]
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=3
	add	x23, x23, #4
	cmp	x23, #64
	b.eq	LBB0_16
LBB0_22:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_17 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x19, #80]
	add	x8, x8, x26
	ldr	w21, [x8, x23]
	cmn	w21, #1
	b.eq	LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=3
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x25, lsl #2]
	ldr	w9, [x11]
	cmp	w8, w9
	b.ne	LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=3
	cbz	w22, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=3
	sub	w22, w22, #1
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=3
	eor	w17, w17, #0x1
	ldr	w1, [x19, #112]
	mov	x28, x20
	mov	x20, x17
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	w2, #5
	mov	w3, #2
	bl	_get_vlc2
Lloh12:
	adrp	x12, _MODE_INTER_NO_MV@GOTPAGE
Lloh13:
	ldr	x12, [x12, _MODE_INTER_NO_MV@GOTPAGEOFF]
Lloh14:
	adrp	x11, _SB_PARTIALLY_CODED@GOTPAGE
Lloh15:
	ldr	x11, [x11, _SB_PARTIALLY_CODED@GOTPAGEOFF]
	mov	x22, x0
	mov	x17, x20
	mov	x20, x28
LBB0_27:                                ;   in Loop: Header=BB0_22 Depth=3
	mov	x8, x17
LBB0_28:                                ;   in Loop: Header=BB0_22 Depth=3
	sxtw	x9, w21
	cbz	w8, LBB0_20
; %bb.29:                               ;   in Loop: Header=BB0_22 Depth=3
	ldr	w8, [x12]
	ldr	x10, [x19, #104]
	str	w8, [x10, x9, lsl #2]
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24, lsl #3]
	str	w21, [x8, w27, sxtw #2]
	add	w8, w27, #1
	mov	x27, x8
	b	LBB0_21
LBB0_30:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w27, [x9, x24, lsl #2]
	b	LBB0_34
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w27, #0
	b	LBB0_34
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w27, #0
	str	wzr, [x9, x24, lsl #2]
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x17, x21
LBB0_34:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w27
	ldp	x10, x9, [x19, #88]
	add	x9, x9, x8
	str	x9, [x19, #96]
	ldr	x9, [x10, x24, lsl #3]
	dup.4s	v0, w27
	stp	q0, q0, [x9]
	stp	q0, q0, [x9, #32]
	stp	q0, q0, [x9, #64]
	stp	q0, q0, [x9, #96]
	stp	q0, q0, [x9, #128]
	stp	q0, q0, [x9, #160]
	stp	q0, q0, [x9, #192]
	stp	q0, q0, [x9, #224]
	cmp	x24, #0
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	csel	w0, w27, w0, eq
	cmp	x24, #1
	b.ls	LBB0_3
; %bb.35:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	cmp	x24, #3
	b.ne	LBB0_4
; %bb.36:
	mov	w0, #0
	b	LBB0_38
LBB0_37:
Lloh16:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
LBB0_38:
	ldr	x8, [sp, #56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_75
; %bb.39:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_40:
	mov	x0, x28
	bl	_get_bits1
	eor	w27, w0, #0x1
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_50
; %bb.41:
	mov	w23, #0
	mov	w22, #0
	mov	w20, #0
Lloh22:
	adrp	x24, _MAXIMUM_LONG_BIT_RUN@GOTPAGE
Lloh23:
	ldr	x24, [x24, _MAXIMUM_LONG_BIT_RUN@GOTPAGEOFF]
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x28
	bl	_get_bits_left
	cmp	w0, #0
	b.le	LBB0_52
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	x8, [x19, #136]
	ldr	w9, [x24]
	cmp	x8, #0
	ccmp	w22, w9, #0, ne
	b.eq	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_42 Depth=1
	eor	w27, w27, #0x1
	b	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_42 Depth=1
	mov	x0, x28
	bl	_get_bits1
	mov	x27, x0
LBB0_46:                                ;   in Loop: Header=BB0_42 Depth=1
	ldr	w1, [x19, #132]
	mov	x0, x28
	mov	w2, #6
	mov	w3, #2
	bl	_get_vlc2
	add	w22, w0, #1
	cmp	w22, #34
	b.ne	LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_42 Depth=1
	mov	x0, x28
	mov	w1, #12
	bl	_get_bits
	add	w22, w0, #34
LBB0_48:                                ;   in Loop: Header=BB0_42 Depth=1
	ldr	w8, [x19, #16]
	sub	w8, w8, w20
	cmp	w22, w8
	b.gt	LBB0_55
; %bb.49:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, w20, sxtw #2
	mov	x1, x27
	mov	x2, x22
	bl	_memset
	cmp	w27, #0
	csel	w8, wzr, w22, eq
	add	w23, w8, w23
	ldr	w8, [x19, #16]
	add	w20, w22, w20
	cmp	w20, w8
	b.lt	LBB0_42
	b	LBB0_51
LBB0_50:
	mov	w22, #0
	mov	w23, #0
LBB0_51:
	cmp	w23, w8
	b.lt	LBB0_53
	b	LBB0_57
LBB0_52:
	ldr	w8, [x19, #16]
	cmp	w23, w8
	b.ge	LBB0_57
LBB0_53:
	mov	x0, x28
	bl	_get_bits1
	eor	w27, w0, #0x1
	ldr	w8, [x19, #16]
	cmp	w8, w23
	b.le	LBB0_56
; %bb.54:
	mov	w20, #0
	mov	w22, #0
	mov	w26, #0
Lloh24:
	adrp	x24, _MAXIMUM_LONG_BIT_RUN@GOTPAGE
Lloh25:
	ldr	x24, [x24, _MAXIMUM_LONG_BIT_RUN@GOTPAGEOFF]
Lloh26:
	adrp	x25, _SB_NOT_CODED@GOTPAGE
Lloh27:
	ldr	x25, [x25, _SB_NOT_CODED@GOTPAGEOFF]
	b	LBB0_61
LBB0_55:
	ldr	w0, [x19, #128]
Lloh28:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x2, l_.str@PAGE
Lloh32:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_74
LBB0_56:
	mov	w22, #0
LBB0_57:
	cbz	w23, LBB0_2
; %bb.58:
	mov	x0, x28
	bl	_get_bits1
	mov	w22, #0
	eor	w27, w0, #0x1
	b	LBB0_2
LBB0_59:                                ;   in Loop: Header=BB0_61 Depth=1
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_60:                                ;   in Loop: Header=BB0_61 Depth=1
	add	w20, w22, w20
	ldr	w8, [x19, #16]
	sub	w8, w8, w23
	cmp	w20, w8
	b.ge	LBB0_57
LBB0_61:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_70 Depth 2
	mov	x0, x28
	bl	_get_bits_left
	cmp	w0, #1
	b.lt	LBB0_57
; %bb.62:                               ;   in Loop: Header=BB0_61 Depth=1
	ldr	x8, [x19, #136]
	ldr	w9, [x24]
	cmp	x8, #0
	ccmp	w22, w9, #0, ne
	b.eq	LBB0_64
; %bb.63:                               ;   in Loop: Header=BB0_61 Depth=1
	eor	w27, w27, #0x1
	b	LBB0_65
LBB0_64:                                ;   in Loop: Header=BB0_61 Depth=1
	mov	x0, x28
	bl	_get_bits1
	mov	x27, x0
LBB0_65:                                ;   in Loop: Header=BB0_61 Depth=1
	ldr	w1, [x19, #132]
	mov	x0, x28
	mov	w2, #6
	mov	w3, #2
	bl	_get_vlc2
	add	w22, w0, #1
	cmp	w22, #34
	b.ne	LBB0_67
; %bb.66:                               ;   in Loop: Header=BB0_61 Depth=1
	mov	x0, x28
	mov	w1, #12
	bl	_get_bits
	add	w22, w0, #34
LBB0_67:                                ;   in Loop: Header=BB0_61 Depth=1
	cmp	w22, #1
	b.lt	LBB0_60
; %bb.68:                               ;   in Loop: Header=BB0_61 Depth=1
	mov	w8, #0
	lsl	w9, w27, #1
	sxtw	x26, w26
	b	LBB0_70
LBB0_69:                                ;   in Loop: Header=BB0_70 Depth=2
	add	x26, x26, #1
	cmp	w8, w22
	b.ge	LBB0_59
LBB0_70:                                ;   Parent Loop BB0_61 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x10, [x19, #16]
	cmp	x26, x10
	b.ge	LBB0_73
; %bb.71:                               ;   in Loop: Header=BB0_70 Depth=2
	ldr	x10, [x19, #8]
	ldr	w11, [x10, x26, lsl #2]
	ldr	w12, [x25]
	cmp	w11, w12
	b.ne	LBB0_69
; %bb.72:                               ;   in Loop: Header=BB0_70 Depth=2
	str	w9, [x10, x26, lsl #2]
	add	w8, w8, #1
	b	LBB0_69
LBB0_73:
	ldr	w0, [x19, #128]
Lloh33:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x2, l_.str.1@PAGE
Lloh37:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_74:
	bl	_av_log
	mov	w0, #-1
	b	LBB0_38
LBB0_75:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_SB_FULLY_CODED,4,2             ; @SB_FULLY_CODED
	.comm	_MAXIMUM_LONG_BIT_RUN,4,2       ; @MAXIMUM_LONG_BIT_RUN
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid partially coded superblock run length\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid fully coded superblock run length\n"

	.comm	_SB_NOT_CODED,4,2               ; @SB_NOT_CODED
	.comm	_MODE_COPY,4,2                  ; @MODE_COPY
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_SB_PARTIALLY_CODED,4,2         ; @SB_PARTIALLY_CODED
	.comm	_MODE_INTER_NO_MV,4,2           ; @MODE_INTER_NO_MV
	.no_dead_strip	_unpack_superblocks
.subsections_via_symbols
