	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_code_table
_read_code_table:                       ## @read_code_table
	.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	$3160, %rsp                     ## imm = 0xC58
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	%rax, %r14
	movq	_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VLC_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%esi, %eax
	cmpl	%r14d, %eax
	jge	LBB0_4
## %bb.1:
	movq	$0, (%r13)
	movl	(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %ecx
LBB0_2:
	callq	_av_log
LBB0_3:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_4:
	testl	%r14d, %r14d
	jle	LBB0_14
## %bb.5:
	movq	%r13, -3136(%rbp)               ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -3128(%rbp)               ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	movq	%r15, -3176(%rbp)               ## 8-byte Spill
	movq	%r14, -3168(%rbp)               ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%rax, -3144(%rbp)               ## 8-byte Spill
	movq	%r12, %rdi
	movl	$9, %esi
	callq	_get_bits
	movq	%rax, -3152(%rbp)               ## 8-byte Spill
	addl	%eax, %r13d
	cmpl	$256, %r13d                     ## imm = 0x100
	jg	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -3152(%rbp)                 ## 4-byte Folded Reload
	jle	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r13d, -3156(%rbp)              ## 4-byte Spill
	movq	%rbx, -3184(%rbp)               ## 8-byte Spill
	leal	1(%rbx), %eax
	movl	%eax, -3160(%rbp)               ## 4-byte Spill
	movslq	-3128(%rbp), %rax               ## 4-byte Folded Reload
	leaq	-1072(%rbp,%rax,4), %rcx
	movq	%rcx, -3200(%rbp)               ## 8-byte Spill
	leaq	-2096(%rbp,%rax,4), %rcx
	movq	%rcx, -3192(%rbp)               ## 8-byte Spill
	leaq	-3120(%rbp,%rax,4), %rbx
	movq	-3144(%rbp), %rax               ## 8-byte Reload
	movl	%eax, %r14d
	movq	-3152(%rbp), %rcx               ## 8-byte Reload
	addl	%ecx, %eax
	movq	%rax, -3144(%rbp)               ## 8-byte Spill
	movq	%r12, %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r14,%r12), %r15d
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	-3200(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, (%rcx,%r12,4)
	movl	-3160(%rbp), %eax               ## 4-byte Reload
	movq	-3192(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, (%rcx,%r12,4)
	movl	%r15d, (%rbx,%r12,4)
	incq	%r12
	cmpl	%r12d, -3152(%rbp)              ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-3128(%rbp), %rax               ## 8-byte Reload
	addl	%r12d, %eax
	movq	%rax, -3128(%rbp)               ## 8-byte Spill
	movq	-3176(%rbp), %r15               ## 8-byte Reload
	movq	-3168(%rbp), %r14               ## 8-byte Reload
	movq	%r13, %r12
	movl	-3156(%rbp), %r13d              ## 4-byte Reload
	movq	-3184(%rbp), %rbx               ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-3144(%rbp), %rax               ## 8-byte Reload
	cmpl	$32640, %eax                    ## imm = 0x7F80
	jge	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	addl	%eax, %eax
	incl	%ebx
	cmpl	%r14d, %ebx
	jne	LBB0_6
## %bb.13:
	movq	_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-3128(%rbp), %rdx               ## 8-byte Reload
	movq	-3136(%rbp), %r13               ## 8-byte Reload
	jmp	LBB0_15
LBB0_14:
	xorl	%edx, %edx
LBB0_15:
	subq	$8, %rsp
	leaq	-1072(%rbp), %rax
	leaq	-3120(%rbp), %r10
	leaq	-2096(%rbp), %rcx
	movq	%r13, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	$0
	pushq	$1
	pushq	$1
	pushq	%rax
	pushq	$2
	pushq	$2
	pushq	%r10
	callq	_ff_init_vlc_sparse
	addq	$64, %rsp
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.17:
	addq	$3160, %rsp                     ## imm = 0xC58
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	-3136(%rbp), %rax               ## 8-byte Reload
	movq	$0, (%rax)
	movl	(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %ecx
	jmp	LBB0_2
LBB0_19:
	movq	-3136(%rbp), %rax               ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_3
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VLC_BITS,4,2                   ## @VLC_BITS
	.comm	_VLC_DEPTH,4,2                  ## @VLC_DEPTH
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"To long VLCs %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Too many VLCs (%d) to be read.\n"

	.no_dead_strip	_read_code_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_code_table
_read_code_table:                       ; @read_code_table
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #3152
	mov	x19, x2
	mov	x23, 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, #-96]
	mov	x0, x1
	mov	w1, #5
	bl	_get_bits
	mov	x21, x0
Lloh3:
	adrp	x8, _VLC_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VLC_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _VLC_DEPTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VLC_DEPTH@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mul	w8, w8, w1
	cmp	w8, w21
	b.ge	LBB0_4
; %bb.1:
	str	xzr, [x19]
	ldr	w0, [x20]
Lloh9:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x21
LBB0_2:
	bl	_av_log
LBB0_3:
Lloh14:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_4:
	cmp	w21, #1
	b.lt	LBB0_14
; %bb.5:
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	mov	w20, #0
	mov	w27, #0
	mov	w28, #0
	mov	w24, #0
	str	x21, [sp, #48]                  ; 8-byte Folded Spill
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x23
	mov	w1, #9
	bl	_get_bits
	mov	x25, x0
	add	w24, w24, w25
	cmp	w24, #256
	b.gt	LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, #1
	b.lt	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w21, w27, #1
	add	w8, w28, w25
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	sbfiz	x8, x20, #2, #32
	add	x9, sp, #2112
	add	x26, x9, x8
	add	x9, sp, #1088
	add	x22, x9, x8
	add	x9, sp, #64
	add	x19, x9, x8
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	w1, #8
	bl	_get_bits
	str	w0, [x26], #4
	str	w21, [x22], #4
	str	w28, [x19], #4
	add	w28, w28, #1
	add	w20, w20, #1
	subs	w25, w25, #1
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w28, [sp, #60]                  ; 4-byte Folded Reload
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #32640
	cmp	w28, w8
	b.ge	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w28, w28, #1
	add	w27, w27, #1
	cmp	w27, w21
	b.ne	LBB0_6
; %bb.13:
Lloh17:
	adrp	x8, _VLC_BITS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VLC_BITS@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_15
LBB0_14:
	mov	w20, #0
LBB0_15:
	str	wzr, [sp, #24]
	mov	x8, #4294967297
	add	x9, sp, #2112
	stp	x9, x8, [sp, #8]
	mov	w8, #2
	str	w8, [sp]
	add	x3, sp, #1088
	add	x6, sp, #64
	mov	x0, x19
	mov	x2, x20
	mov	w4, #1
	mov	w5, #1
	mov	w7, #2
	bl	_ff_init_vlc_sparse
LBB0_16:
	ldur	x8, [x29, #-96]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.17:
	add	sp, sp, #3152
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	xzr, [x8]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x2, l_.str.1@PAGE
Lloh27:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x24
	b	LBB0_2
LBB0_19:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	xzr, [x8]
	b	LBB0_3
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_VLC_BITS,4,2                   ; @VLC_BITS
	.comm	_VLC_DEPTH,4,2                  ; @VLC_DEPTH
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"To long VLCs %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Too many VLCs (%d) to be read.\n"

	.no_dead_strip	_read_code_table
.subsections_via_symbols
