	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_pic
_decode_pic:                            ## @decode_pic
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpl	$0, 136(%rdi)
	je	LBB0_4
## %bb.1:
	movq	104(%r15), %rdi
	callq	_av_frame_unref
	leaq	112(%r15), %r14
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_skip_bits
	movq	(%r15), %rax
	movq	_PIC_PB_START_CODE@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_8
## %bb.2:
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_get_bits
	cltq
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	104(%r15), %rcx
	movq	%rax, (%rcx)
	movq	_AV_PICTURE_TYPE_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_23
## %bb.3:
	movl	128(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_5
LBB0_4:
	movl	128(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_5:
	xorl	%eax, %eax
	callq	_av_log
LBB0_6:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
LBB0_8:
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	104(%r15), %rcx
	movq	%rax, (%rcx)
	movq	%r14, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_skip_bits
LBB0_10:
	cmpq	$0, 120(%r15)
	jne	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	movl	$9, %esi
	callq	_show_bits
	testb	$1, %al
	jne	LBB0_52
LBB0_12:
	leaq	8(%r15), %rcx
LBB0_13:
	movl	$1, (%rcx)
LBB0_14:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_skip_bits
LBB0_15:
	movl	128(%r15), %edi
	movq	104(%r15), %rsi
	movq	(%rsi), %rax
	movq	_AV_PICTURE_TYPE_B@GOTPCREL(%rip), %r13
	xorl	%edx, %edx
	cmpq	(%r13), %rax
	je	LBB0_17
## %bb.16:
	movq	_AV_GET_BUFFER_FLAG_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_17:
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_27
## %bb.18:
	cmpl	$0, 132(%r15)
	jne	LBB0_20
## %bb.19:
	movq	104(%r15), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edi
	callq	_FFABS
                                        ## kill: def $eax killed $eax def $rax
	leal	32(%rax), %edi
	movl	$32, %esi
	callq	_FFALIGN
                                        ## kill: def $eax killed $eax def $rax
	shll	$4, %eax
	leal	(%rax,%rax,2), %edi
	callq	_av_mallocz
	movl	%eax, 132(%r15)
	testl	%eax, %eax
	je	LBB0_84
LBB0_20:
	movq	%r15, %rdi
	callq	_ff_cavs_init_pic
	testl	%eax, %eax
	js	LBB0_27
## %bb.21:
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_get_bits
	movl	%eax, %ecx
	addl	%eax, %ecx
	movl	%ecx, 96(%r15)
	movq	88(%r15), %rax
	movq	104(%r15), %rdx
	movq	(%rdx), %r8
	movq	(%r13), %r9
	movl	(%rax), %edx
	cmpq	%r9, %r8
	jne	LBB0_28
## %bb.22:
	subl	%ecx, %edx
	andl	$511, %edx                      ## imm = 0x1FF
	movq	16(%r15), %rbx
	movl	%edx, (%rbx)
	movl	%edx, %ecx
	jmp	LBB0_29
LBB0_27:
	movl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	88(%r15), %rdx
	movq	8(%rdx), %rsi
	movq	16(%rsi), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_6
## %bb.24:
	movq	24(%rdx), %rdx
	movq	16(%rdx), %rdx
	cmpl	$0, (%rdx)
	jne	LBB0_15
## %bb.25:
	cmpq	%rcx, %rax
	je	LBB0_6
	jmp	LBB0_15
LBB0_28:
	subl	%edx, %ecx
	andl	$511, %ecx                      ## imm = 0x1FF
	movq	16(%r15), %rbx
	movl	%ecx, (%rbx)
LBB0_29:
	movl	96(%r15), %edx
	subl	16(%rax), %edx
	andl	$511, %edx                      ## imm = 0x1FF
	movl	%edx, 4(%rbx)
	xorl	%esi, %esi
	movl	$0, %eax
	testl	%ecx, %ecx
	je	LBB0_31
## %bb.30:
	movw	$512, %ax                       ## imm = 0x200
	xorl	%edx, %edx
	divw	%cx
	movzwl	%ax, %eax
LBB0_31:
	movq	24(%r15), %rcx
	movl	%eax, (%rcx)
	movl	4(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_33
## %bb.32:
	movl	$512, %eax                      ## imm = 0x200
	xorl	%edx, %edx
	idivl	%edi
	movl	%eax, %esi
LBB0_33:
	movl	%esi, 4(%rcx)
	movl	(%rbx), %edi
	cmpq	%r9, %r8
	jne	LBB0_36
## %bb.34:
	imull	%esi, %edi
	movl	%edi, 32(%r15)
	callq	_FFABS
	cmpl	$32769, %eax                    ## imm = 0x8001
	jl	LBB0_41
## %bb.35:
	movl	32(%r15), %ecx
	movl	128(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_6
LBB0_36:
	xorl	%ecx, %ecx
	movl	$0, %eax
	testl	%edi, %edi
	je	LBB0_38
## %bb.37:
	movl	$16384, %eax                    ## imm = 0x4000
	xorl	%edx, %edx
	idivl	%edi
LBB0_38:
	movq	40(%r15), %rsi
	movl	%eax, (%rsi)
	movl	4(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_40
## %bb.39:
	movl	$16384, %eax                    ## imm = 0x4000
	xorl	%edx, %edx
	idivl	%edi
	movl	%eax, %ecx
LBB0_40:
	movl	%ecx, 4(%rsi)
LBB0_41:
	cmpq	$0, 120(%r15)
	je	LBB0_43
## %bb.42:
	movq	%r14, %rdi
	callq	_get_ue_golomb
LBB0_43:
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, 48(%r15)
	movl	$1, 52(%r15)
	testl	%eax, %eax
	jne	LBB0_47
## %bb.44:
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, 52(%r15)
	testl	%eax, %eax
	jne	LBB0_47
## %bb.45:
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_47
## %bb.46:
	movq	%r14, %rdi
	callq	_skip_bits1
LBB0_47:
	movq	%r14, %rdi
	callq	_skip_bits1
	movq	%r14, %rdi
	callq	_skip_bits1
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, 60(%r15)
	movl	%eax, 56(%r15)
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_get_bits
	movl	%eax, 64(%r15)
	movq	104(%r15), %rax
	movq	(%rax), %rax
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_54
## %bb.48:
	cmpl	$0, 48(%r15)
	jne	LBB0_51
## %bb.49:
	cmpl	$0, 52(%r15)
	jne	LBB0_51
## %bb.50:
	movq	%r14, %rdi
	callq	_skip_bits1
LBB0_51:
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_skip_bits
	jmp	LBB0_58
LBB0_52:
	movq	%r14, %rdi
	movl	$11, %esi
	callq	_show_bits
	leaq	8(%r15), %rcx
	testb	$3, %al
	jne	LBB0_13
## %bb.53:
	cmpl	$0, (%rcx)
	jg	LBB0_14
	jmp	LBB0_15
LBB0_54:
	cmpq	(%r13), %rax
	jne	LBB0_56
## %bb.55:
	cmpl	$1, 52(%r15)
	je	LBB0_57
LBB0_56:
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, 68(%r15)
LBB0_57:
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_skip_bits
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, 72(%r15)
LBB0_58:
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, 76(%r15)
	testl	%eax, %eax
	je	LBB0_79
LBB0_59:
	movq	$0, 80(%r15)
LBB0_60:
	movq	104(%r15), %rax
	movq	(%rax), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_63
	.p2align	4, 0x90
LBB0_61:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_check_for_slice
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_decode_mb_i
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_78
## %bb.62:                              ##   in Loop: Header=BB0_61 Depth=1
	movq	%r15, %rdi
	callq	_ff_cavs_next_mb
	testq	%rax, %rax
	jne	LBB0_61
	jmp	LBB0_101
LBB0_63:
	movq	_AV_PICTURE_TYPE_P@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_85
## %bb.64:
	movl	$-1, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_68
LBB0_65:                                ##   in Loop: Header=BB0_68 Depth=1
	decl	%r13d
	movq	_P_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_66:                                ##   in Loop: Header=BB0_68 Depth=1
	movq	%r15, %rdi
	callq	_decode_mb_p
LBB0_67:                                ##   in Loop: Header=BB0_68 Depth=1
	movq	%r15, %rdi
	callq	_ff_cavs_next_mb
	movl	%r13d, %r12d
	testq	%rax, %rax
	je	LBB0_101
LBB0_68:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_check_for_slice
	negq	%rax
	movl	$0, %r13d
	sbbl	%r13d, %r13d
	orl	%r12d, %r13d
	movl	72(%r15), %eax
	testl	%eax, %eax
	je	LBB0_72
## %bb.69:                              ##   in Loop: Header=BB0_68 Depth=1
	testl	%r13d, %r13d
	jns	LBB0_72
## %bb.70:                              ##   in Loop: Header=BB0_68 Depth=1
	movq	%r14, %rdi
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_102
## %bb.71:                              ##   in Loop: Header=BB0_68 Depth=1
	movq	%r14, %rdi
	callq	_get_ue_golomb
	movl	%eax, %r13d
	movl	72(%r15), %eax
LBB0_72:                                ##   in Loop: Header=BB0_68 Depth=1
	testl	%eax, %eax
	je	LBB0_75
## %bb.73:                              ##   in Loop: Header=BB0_68 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_65
## %bb.74:                              ##   in Loop: Header=BB0_68 Depth=1
	movl	$-1, %r13d
LBB0_75:                                ##   in Loop: Header=BB0_68 Depth=1
	movq	%r14, %rdi
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_102
## %bb.76:                              ##   in Loop: Header=BB0_68 Depth=1
	movq	%r14, %rdi
	callq	_get_ue_golomb
	movl	%eax, %esi
	movq	_P_SKIP@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	addl	72(%r15), %esi
	movq	_P_8X8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %esi
	jbe	LBB0_66
## %bb.77:                              ##   in Loop: Header=BB0_68 Depth=1
	notl	%eax
	addl	%eax, %esi
	movq	%r15, %rdi
	callq	_decode_mb_i
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_67
LBB0_78:
	xorl	%eax, %eax
	callq	_emms_c
	jmp	LBB0_7
LBB0_79:
	movq	%r14, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_59
## %bb.80:
	movq	%r14, %rdi
	callq	_get_se_golomb
	movl	%eax, 80(%r15)
	movq	%r14, %rdi
	callq	_get_se_golomb
	movl	%eax, 84(%r15)
	movl	80(%r15), %ecx
	addl	$-65, %ecx
	cmpl	$-129, %ecx
	jb	LBB0_83
## %bb.81:
	cmpl	$-64, %eax
	jl	LBB0_83
## %bb.82:
	cmpl	$65, %eax
	jl	LBB0_60
LBB0_83:
	movq	$0, 80(%r15)
	jmp	LBB0_6
LBB0_84:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_85:
	movl	$-1, %r12d
	movq	_B_SKIP@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_86:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_check_for_slice
	negq	%rax
	movl	$0, %r12d
	sbbl	%r12d, %r12d
	orl	%ebx, %r12d
	movl	72(%r15), %eax
	testl	%eax, %eax
	je	LBB0_90
## %bb.87:                              ##   in Loop: Header=BB0_86 Depth=1
	testl	%r12d, %r12d
	jns	LBB0_90
## %bb.88:                              ##   in Loop: Header=BB0_86 Depth=1
	movq	%r14, %rdi
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_102
## %bb.89:                              ##   in Loop: Header=BB0_86 Depth=1
	movq	%r14, %rdi
	callq	_get_ue_golomb
	movl	%eax, %r12d
	movl	72(%r15), %eax
LBB0_90:                                ##   in Loop: Header=BB0_86 Depth=1
	testl	%eax, %eax
	je	LBB0_94
## %bb.91:                              ##   in Loop: Header=BB0_86 Depth=1
	testl	%r12d, %r12d
	je	LBB0_93
## %bb.92:                              ##   in Loop: Header=BB0_86 Depth=1
	decl	%r12d
	movl	(%r13), %esi
	movq	%r15, %rdi
	jmp	LBB0_98
LBB0_93:                                ##   in Loop: Header=BB0_86 Depth=1
	movl	$-1, %r12d
LBB0_94:                                ##   in Loop: Header=BB0_86 Depth=1
	movq	%r14, %rdi
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_102
## %bb.95:                              ##   in Loop: Header=BB0_86 Depth=1
	movq	%r14, %rdi
	callq	_get_ue_golomb
	addl	(%r13), %eax
	addl	72(%r15), %eax
	movq	_B_8X8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jbe	LBB0_97
## %bb.96:                              ##   in Loop: Header=BB0_86 Depth=1
	notl	%ecx
	addl	%ecx, %eax
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_decode_mb_i
	jmp	LBB0_99
LBB0_97:                                ##   in Loop: Header=BB0_86 Depth=1
	movq	%r15, %rdi
	movl	%eax, %esi
LBB0_98:                                ##   in Loop: Header=BB0_86 Depth=1
	callq	_decode_mb_b
LBB0_99:                                ##   in Loop: Header=BB0_86 Depth=1
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_78
## %bb.100:                             ##   in Loop: Header=BB0_86 Depth=1
	movq	%r15, %rdi
	callq	_ff_cavs_next_mb
	testq	%rax, %rax
	jne	LBB0_86
LBB0_101:
	xorl	%eax, %eax
	callq	_emms_c
	jmp	LBB0_103
LBB0_102:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_emms_c
	testl	%ebx, %ebx
	js	LBB0_7
LBB0_103:
	movq	104(%r15), %rax
	movq	(%rax), %rax
	movq	_AV_PICTURE_TYPE_B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.104:
	movq	88(%r15), %rax
	movq	24(%rax), %rdi
	callq	_av_frame_unref
	movq	_AVSFrame@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	88(%r15), %rax
	movl	96(%r15), %esi
	movq	104(%r15), %rdx
	movl	16(%rax), %ecx
	movq	24(%rax), %r8
	callq	_FFSWAP
	movl	(%r14), %edi
	movq	88(%r15), %rax
	movl	(%rax), %esi
	movq	8(%rax), %rdx
	movl	16(%rax), %ecx
	movq	24(%rax), %r8
	callq	_FFSWAP
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No sequence header decoded yet\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_PIC_PB_START_CODE,8,3          ## @PIC_PB_START_CODE
	.comm	_AV_PICTURE_TYPE_I,8,3          ## @AV_PICTURE_TYPE_I
	.comm	_AV_PICTURE_TYPE_B,8,3          ## @AV_PICTURE_TYPE_B
L_.str.1:                               ## @.str.1
	.asciz	"illegal picture type\n"

	.comm	_AV_GET_BUFFER_FLAG_REF,4,2     ## @AV_GET_BUFFER_FLAG_REF
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"sym_factor %d too large\n"

	.comm	_AV_PICTURE_TYPE_P,8,3          ## @AV_PICTURE_TYPE_P
	.comm	_P_SKIP,4,2                     ## @P_SKIP
	.comm	_P_8X8,4,2                      ## @P_8X8
	.comm	_B_SKIP,4,2                     ## @B_SKIP
	.comm	_B_8X8,4,2                      ## @B_8X8
	.comm	_AVSFrame,4,2                   ## @AVSFrame
	.no_dead_strip	_decode_pic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_pic
_decode_pic:                            ; @decode_pic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldr	w8, [x0, #136]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x0, [x19, #104]
	bl	_av_frame_unref
	add	x20, x19, #112
	mov	x0, x20
	mov	w1, #16
	bl	_skip_bits
	ldr	x8, [x19]
Lloh0:
	adrp	x22, _PIC_PB_START_CODE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PIC_PB_START_CODE@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh2:
	adrp	x23, _AV_PICTURE_TYPE_B@GOTPAGE
Lloh3:
	ldr	x23, [x23, _AV_PICTURE_TYPE_B@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x20
	mov	w1, #2
	bl	_get_bits
Lloh4:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw
	ldr	x9, [x19, #104]
	str	x8, [x9]
	ldr	x9, [x23]
	cmp	x8, x9
	b.le	LBB0_22
; %bb.3:
	ldr	w0, [x19, #128]
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19, #128]
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
LBB0_5:
	bl	_av_log
LBB0_6:
Lloh17:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
	b	LBB0_21
LBB0_7:
Lloh20:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x9, [x19, #104]
	str	x8, [x9]
	mov	x0, x20
	bl	_get_bits1
	cbz	w0, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	w1, #24
	bl	_skip_bits
LBB0_9:
	ldr	x8, [x19, #120]
	cbnz	x8, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	w1, #9
	bl	_show_bits
	tbnz	w0, #0, LBB0_30
LBB0_11:
	add	x8, x19, #8
LBB0_12:
	mov	w9, #1
	str	w9, [x8]
LBB0_13:
	mov	x0, x20
	mov	w1, #1
	bl	_skip_bits
LBB0_14:
	ldr	w0, [x19, #128]
	ldr	x1, [x19, #104]
	ldr	x8, [x1]
	ldr	x9, [x23]
Lloh23:
	adrp	x10, _AV_GET_BUFFER_FLAG_REF@GOTPAGE
Lloh24:
	ldr	x10, [x10, _AV_GET_BUFFER_FLAG_REF@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w2, wzr, w10, eq
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_20
; %bb.15:
	ldr	w8, [x19, #132]
	cbnz	w8, LBB0_17
; %bb.16:
	ldr	x8, [x19, #104]
	ldr	x8, [x8, #8]
	ldr	w0, [x8]
	bl	_FFABS
	add	w0, w0, #32
	mov	w1, #32
	bl	_FFALIGN
	add	w8, w0, w0, lsl #1
	lsl	w0, w8, #4
	bl	_av_mallocz
	str	w0, [x19, #132]
	cbz	w0, LBB0_32
LBB0_17:
	mov	x0, x19
	bl	_ff_cavs_init_pic
	tbnz	w0, #31, LBB0_20
; %bb.18:
	mov	x0, x20
	mov	w1, #8
	bl	_get_bits
	lsl	w8, w0, #1
	str	w8, [x19, #96]
	ldr	x9, [x19, #104]
	ldr	x9, [x9]
	ldr	x10, [x23]
	ldr	x11, [x19, #88]
	ldr	w12, [x11]
	cmp	x9, x10
	b.ne	LBB0_24
; %bb.19:
	sub	w8, w12, w8
	b	LBB0_25
LBB0_20:
	mov	x21, x0
LBB0_21:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_22:
	ldr	x10, [x19, #88]
	ldr	x11, [x10, #8]
	ldr	x11, [x11, #16]
	ldr	w11, [x11]
	cbz	w11, LBB0_6
; %bb.23:
	ldr	x10, [x10, #24]
	ldr	x10, [x10, #16]
	ldr	w10, [x10]
	cmp	w10, #0
	ccmp	x8, x9, #0, eq
	b.eq	LBB0_6
	b	LBB0_14
LBB0_24:
	sub	w8, w8, w12
LBB0_25:
	and	w12, w8, #0x1ff
	ldr	x8, [x19, #16]
	str	w12, [x8]
	ldr	w13, [x19, #96]
	ldr	w11, [x11, #16]
	sub	w11, w13, w11
	and	w11, w11, #0x1ff
	str	w11, [x8, #4]
	mov	w11, #512
	udiv	w13, w11, w12
	cmp	w12, #0
	csel	w12, wzr, w13, eq
	ldr	x13, [x19, #24]
	str	w12, [x13]
	ldr	w12, [x8, #4]
	sdiv	w11, w11, w12
	cmp	w12, #0
	csel	w12, wzr, w11, eq
	str	w12, [x13, #4]
	ldr	w11, [x8]
	cmp	x9, x10
	b.ne	LBB0_28
; %bb.26:
	mul	w0, w11, w12
	str	w0, [x19, #32]
	bl	_FFABS
	cmp	w0, #8, lsl #12                 ; =32768
	b.le	LBB0_37
; %bb.27:
	ldr	w0, [x19, #128]
Lloh26:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w8, [x19, #32]
	str	x8, [sp]
Lloh29:
	adrp	x2, l_.str.2@PAGE
Lloh30:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_28:
	cbz	w11, LBB0_33
; %bb.29:
	mov	w9, #16384
	sdiv	w10, w9, w11
	b	LBB0_34
LBB0_30:
	mov	x0, x20
	mov	w1, #11
	bl	_show_bits
	add	x8, x19, #8
	tst	w0, #0x3
	b.ne	LBB0_12
; %bb.31:
	ldr	w8, [x8]
	cmp	w8, #0
	b.gt	LBB0_13
	b	LBB0_14
LBB0_32:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_AVERROR
LBB0_33:
	mov	w10, #0
LBB0_34:
	ldr	x9, [x19, #40]
	str	w10, [x9]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_36
; %bb.35:
	mov	w10, #16384
	sdiv	w8, w10, w8
LBB0_36:
	str	w8, [x9, #4]
LBB0_37:
	ldr	x8, [x19, #120]
	cbz	x8, LBB0_39
; %bb.38:
	mov	x0, x20
	bl	_get_ue_golomb
LBB0_39:
	mov	x0, x20
	bl	_get_bits1
	mov	w8, #1
	stp	w0, w8, [x19, #48]
	cbnz	w0, LBB0_43
; %bb.40:
	mov	x0, x20
	bl	_get_bits1
	str	w0, [x19, #52]
	cbnz	w0, LBB0_43
; %bb.41:
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_43
; %bb.42:
	mov	x0, x20
	bl	_skip_bits1
LBB0_43:
	mov	x0, x20
	bl	_skip_bits1
	mov	x0, x20
	bl	_skip_bits1
	mov	x0, x20
	bl	_get_bits1
	stp	w0, w0, [x19, #56]
	mov	x0, x20
	mov	w1, #6
	bl	_get_bits
	str	w0, [x19, #64]
	ldr	x8, [x19, #104]
	ldr	x8, [x8]
Lloh34:
	adrp	x21, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh35:
	ldr	x21, [x21, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_48
; %bb.44:
	ldr	w8, [x19, #48]
	cbnz	w8, LBB0_47
; %bb.45:
	ldr	w8, [x19, #52]
	cbnz	w8, LBB0_47
; %bb.46:
	mov	x0, x20
	bl	_skip_bits1
LBB0_47:
	mov	x0, x20
	mov	w1, #4
	bl	_skip_bits
	b	LBB0_52
LBB0_48:
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_50
; %bb.49:
	ldr	w8, [x19, #52]
	cmp	w8, #1
	b.eq	LBB0_51
LBB0_50:
	mov	x0, x20
	bl	_get_bits1
	str	w0, [x19, #68]
LBB0_51:
	mov	x0, x20
	mov	w1, #4
	bl	_skip_bits
	mov	x0, x20
	bl	_get_bits1
	str	w0, [x19, #72]
LBB0_52:
	mov	x0, x20
	bl	_get_bits1
	str	w0, [x19, #76]
	cbz	w0, LBB0_73
LBB0_53:
	str	xzr, [x19, #80]
LBB0_54:
	ldr	x8, [x19, #104]
	ldr	x8, [x8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_57
LBB0_55:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_check_for_slice
	mov	x0, x19
	mov	w1, #0
	bl	_decode_mb_i
	mov	x21, x0
	tbnz	w0, #31, LBB0_72
; %bb.56:                               ;   in Loop: Header=BB0_55 Depth=1
	mov	x0, x19
	bl	_ff_cavs_next_mb
	cbnz	x0, LBB0_55
	b	LBB0_93
LBB0_57:
Lloh36:
	adrp	x9, _AV_PICTURE_TYPE_P@GOTPAGE
Lloh37:
	ldr	x9, [x9, _AV_PICTURE_TYPE_P@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_78
; %bb.58:
	mov	w21, #0
	mov	w22, #-1
Lloh39:
	adrp	x24, _P_SKIP@GOTPAGE
Lloh40:
	ldr	x24, [x24, _P_SKIP@GOTPAGEOFF]
Lloh41:
	adrp	x25, _P_8X8@GOTPAGE
Lloh42:
	ldr	x25, [x25, _P_8X8@GOTPAGEOFF]
	b	LBB0_62
LBB0_59:                                ;   in Loop: Header=BB0_62 Depth=1
	sub	w22, w22, #1
	ldr	w1, [x24]
LBB0_60:                                ;   in Loop: Header=BB0_62 Depth=1
	mov	x0, x19
	bl	_decode_mb_p
LBB0_61:                                ;   in Loop: Header=BB0_62 Depth=1
	mov	x0, x19
	bl	_ff_cavs_next_mb
	cbz	x0, LBB0_93
LBB0_62:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_check_for_slice
	cmp	x0, #0
	csinv	w22, w22, wzr, eq
	ldr	w8, [x19, #72]
	cbz	w8, LBB0_66
; %bb.63:                               ;   in Loop: Header=BB0_62 Depth=1
	tbz	w22, #31, LBB0_66
; %bb.64:                               ;   in Loop: Header=BB0_62 Depth=1
	mov	x0, x20
	bl	_get_bits_left
	cmp	w0, #1
	b.lt	LBB0_94
; %bb.65:                               ;   in Loop: Header=BB0_62 Depth=1
	mov	x0, x20
	bl	_get_ue_golomb
	mov	x22, x0
	ldr	w8, [x19, #72]
LBB0_66:                                ;   in Loop: Header=BB0_62 Depth=1
	cbz	w8, LBB0_69
; %bb.67:                               ;   in Loop: Header=BB0_62 Depth=1
	cbnz	w22, LBB0_59
; %bb.68:                               ;   in Loop: Header=BB0_62 Depth=1
	mov	w22, #-1
LBB0_69:                                ;   in Loop: Header=BB0_62 Depth=1
	mov	x0, x20
	bl	_get_bits_left
	cmp	w0, #1
	b.lt	LBB0_94
; %bb.70:                               ;   in Loop: Header=BB0_62 Depth=1
	mov	x0, x20
	bl	_get_ue_golomb
	ldr	w8, [x24]
	ldr	w9, [x19, #72]
	add	w8, w8, w0
	add	w1, w8, w9
	ldr	w8, [x25]
	cmp	w1, w8
	b.ls	LBB0_60
; %bb.71:                               ;   in Loop: Header=BB0_62 Depth=1
	mvn	w8, w8
	add	w1, w1, w8
	mov	x0, x19
	bl	_decode_mb_i
	mov	x21, x0
	tbz	w0, #31, LBB0_61
LBB0_72:
	bl	_emms_c
	b	LBB0_21
LBB0_73:
	mov	x0, x20
	bl	_get_bits1
	cbz	w0, LBB0_53
; %bb.74:
	mov	x0, x20
	bl	_get_se_golomb
	str	w0, [x19, #80]
	mov	x0, x20
	bl	_get_se_golomb
	str	w0, [x19, #84]
	ldr	w8, [x19, #80]
	sub	w8, w8, #65
	cmn	w8, #129
	b.lo	LBB0_77
; %bb.75:
	cmn	w0, #64
	b.lt	LBB0_77
; %bb.76:
	cmp	w0, #65
	b.lt	LBB0_54
LBB0_77:
	str	xzr, [x19, #80]
	b	LBB0_6
LBB0_78:
	mov	w22, #-1
Lloh43:
	adrp	x24, _B_SKIP@GOTPAGE
Lloh44:
	ldr	x24, [x24, _B_SKIP@GOTPAGEOFF]
Lloh45:
	adrp	x25, _B_8X8@GOTPAGE
Lloh46:
	ldr	x25, [x25, _B_8X8@GOTPAGEOFF]
LBB0_79:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_check_for_slice
	cmp	x0, #0
	csinv	w22, w22, wzr, eq
	ldr	w8, [x19, #72]
	cbz	w8, LBB0_83
; %bb.80:                               ;   in Loop: Header=BB0_79 Depth=1
	tbz	w22, #31, LBB0_83
; %bb.81:                               ;   in Loop: Header=BB0_79 Depth=1
	mov	x0, x20
	bl	_get_bits_left
	cmp	w0, #1
	b.lt	LBB0_94
; %bb.82:                               ;   in Loop: Header=BB0_79 Depth=1
	mov	x0, x20
	bl	_get_ue_golomb
	mov	x22, x0
	ldr	w8, [x19, #72]
LBB0_83:                                ;   in Loop: Header=BB0_79 Depth=1
	cbz	w8, LBB0_87
; %bb.84:                               ;   in Loop: Header=BB0_79 Depth=1
	cbz	w22, LBB0_86
; %bb.85:                               ;   in Loop: Header=BB0_79 Depth=1
	sub	w22, w22, #1
	ldr	w1, [x24]
	b	LBB0_90
LBB0_86:                                ;   in Loop: Header=BB0_79 Depth=1
	mov	w22, #-1
LBB0_87:                                ;   in Loop: Header=BB0_79 Depth=1
	mov	x0, x20
	bl	_get_bits_left
	cmp	w0, #1
	b.lt	LBB0_94
; %bb.88:                               ;   in Loop: Header=BB0_79 Depth=1
	mov	x0, x20
	bl	_get_ue_golomb
	ldr	w8, [x24]
	ldr	w9, [x19, #72]
	add	w8, w8, w0
	add	w1, w8, w9
	ldr	w8, [x25]
	cmp	w1, w8
	b.ls	LBB0_90
; %bb.89:                               ;   in Loop: Header=BB0_79 Depth=1
	mvn	w8, w8
	add	w1, w1, w8
	mov	x0, x19
	bl	_decode_mb_i
	b	LBB0_91
LBB0_90:                                ;   in Loop: Header=BB0_79 Depth=1
	mov	x0, x19
	bl	_decode_mb_b
LBB0_91:                                ;   in Loop: Header=BB0_79 Depth=1
	mov	x21, x0
	tbnz	w0, #31, LBB0_72
; %bb.92:                               ;   in Loop: Header=BB0_79 Depth=1
	mov	x0, x19
	bl	_ff_cavs_next_mb
	cbnz	x0, LBB0_79
LBB0_93:
	bl	_emms_c
	b	LBB0_95
LBB0_94:
Lloh47:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh49:
	ldr	w21, [x8]
	bl	_emms_c
	tbnz	w21, #31, LBB0_21
LBB0_95:
	ldr	x8, [x19, #104]
	ldr	x8, [x8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.96:
	ldr	x8, [x19, #88]
	ldr	x0, [x8, #24]
	bl	_av_frame_unref
Lloh50:
	adrp	x20, _AVSFrame@GOTPAGE
Lloh51:
	ldr	x20, [x20, _AVSFrame@GOTPAGEOFF]
	ldr	w0, [x20]
	ldp	x8, x1, [x19, #88]
	ldr	x2, [x19, #104]
	ldp	x3, x4, [x8, #16]
	bl	_FFSWAP
	ldr	w0, [x20]
	ldr	x8, [x19, #88]
	ldp	x1, x2, [x8]
	ldp	x3, x4, [x8, #16]
	bl	_FFSWAP
	b	LBB0_21
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No sequence header decoded yet\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_PIC_PB_START_CODE,8,3          ; @PIC_PB_START_CODE
	.comm	_AV_PICTURE_TYPE_I,8,3          ; @AV_PICTURE_TYPE_I
	.comm	_AV_PICTURE_TYPE_B,8,3          ; @AV_PICTURE_TYPE_B
l_.str.1:                               ; @.str.1
	.asciz	"illegal picture type\n"

	.comm	_AV_GET_BUFFER_FLAG_REF,4,2     ; @AV_GET_BUFFER_FLAG_REF
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"sym_factor %d too large\n"

	.comm	_AV_PICTURE_TYPE_P,8,3          ; @AV_PICTURE_TYPE_P
	.comm	_P_SKIP,4,2                     ; @P_SKIP
	.comm	_P_8X8,4,2                      ; @P_8X8
	.comm	_B_SKIP,4,2                     ; @B_SKIP
	.comm	_B_8X8,4,2                      ; @B_8X8
	.comm	_AVSFrame,4,2                   ; @AVSFrame
	.no_dead_strip	_decode_pic
.subsections_via_symbols
