	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_len_table
_read_len_table:                        ## @read_len_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	jle	LBB0_22
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	112(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	jge	LBB0_22
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_get_bits
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	$5, %esi
	callq	_get_bits
	movl	%eax, %r13d
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_get_bits
	movl	%eax, %ebx
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rbx,%r14), %eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_20
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_get_bits_left
	testq	%rax, %rax
	js	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r14d, %r14
	leal	-1(%rbx), %eax
	cmpl	$7, %eax
	jb	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, %r8
	andq	$-8, %r8
	movd	%r13d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%r8), %rcx
	movq	%rcx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$24, %rcx
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	andq	$-4, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r14,4), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -112(%rcx,%rdi,4)
	movdqu	%xmm0, -96(%rcx,%rdi,4)
	movdqu	%xmm0, -80(%rcx,%rdi,4)
	movdqu	%xmm0, -64(%rcx,%rdi,4)
	movdqu	%xmm0, -48(%rcx,%rdi,4)
	movdqu	%xmm0, -32(%rcx,%rdi,4)
	movdqu	%xmm0, -16(%rcx,%rdi,4)
	movdqu	%xmm0, (%rcx,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	%r14, %rdi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rdi,4), %rcx
	shlq	$5, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rcx,%rsi)
	movdqu	%xmm0, (%rcx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	%r8, %r14
	cmpq	%r8, %rax
	je	LBB0_2
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	%r8d, %ebx
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	1(%rax), %r14
	movl	%r13d, (%r12,%rax,4)
	movq	%r14, %rax
	decl	%ebx
	jne	LBB0_19
	jmp	LBB0_2
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_20:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error reading huffman table\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_read_len_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_len_table
_read_len_table:                        ; @read_len_table
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	cmp	w2, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w25, #0
	add	x24, x0, #32
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w25, w19
	b.ge	LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	mov	x22, x0
	mov	x0, x20
	mov	w1, #5
	bl	_get_bits
	mov	x23, x0
	cbnz	w22, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	w1, #8
	bl	_get_bits
	mov	x22, x0
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w22, w25
	cmp	w8, w19
	b.gt	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_get_bits_left
	tbnz	x0, #63, LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w22, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	sxtw	x10, w25
	sub	w8, w22, #1
	cmp	w8, #15
	b.hs	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x10
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	and	x9, x8, #0x1fffffff0
	add	x25, x9, x10
	sub	w22, w22, w9
	dup.4s	v0, w23
	add	x10, x24, x10, lsl #2
	mov	x11, x9
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x10, #-32]
	stp	q0, q0, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x25
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x25, x8, #1
	str	w23, [x21, x8, lsl #2]
	mov	x8, x25
	subs	w22, w22, #1
	b.ne	LBB0_14
	b	LBB0_2
LBB0_15:
	mov	w0, #0
	b	LBB0_17
LBB0_16:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_17:
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error reading huffman table\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_read_len_table
.subsections_via_symbols
