	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function imc_read_level_coeffs
LCPI0_0:
	.quad	8                               ## 0x8
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_imc_read_level_coeffs:                 ## @imc_read_level_coeffs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, %eax
	sarl	%eax
	movq	_huffman_vlc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rcx
	movq	%rcx, -80(%rbp)
	movq	%rcx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	paddq	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, -72(%rbp)
	addq	$24, %rcx
	movq	%rcx, -56(%rbp)
	movq	_imc_cb_select@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %r15
	andl	$4, %esi
	movl	%esi, %ebx
	shrl	$2, %ebx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	$7, %esi
	callq	_get_bits
	movl	%eax, (%r14)
LBB0_2:
	movq	_BANDS@GOTPCREL(%rip), %r12
	cmpl	%ebx, (%r12)
	jle	LBB0_7
## %bb.3:
	movl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpl	%ebx, (%r12)
	jle	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rax
	movq	-80(%rbp,%rax,8), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r13, %rdi
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, (%r14,%rbx,4)
	cmpl	$17, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_get_bits
	addl	%eax, (%r14,%rbx,4)
	jmp	LBB0_6
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_huffman_vlc,8,3                ## @huffman_vlc
	.comm	_imc_cb_select,8,3              ## @imc_cb_select
	.comm	_BANDS,4,2                      ## @BANDS
	.no_dead_strip	_imc_read_level_coeffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imc_read_level_coeffs
_imc_read_level_coeffs:                 ; @imc_read_level_coeffs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _huffman_vlc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _huffman_vlc@GOTPAGEOFF]
	asr	w9, w1, #1
Lloh5:
	ldr	x8, [x8]
	sbfiz	x9, x9, #3, #32
	ldr	x8, [x8, x9]
	add	x10, x8, #8
	stp	x8, x10, [sp, #8]
	add	x10, x8, #16
	add	x8, x8, #24
	stp	x10, x8, [sp, #24]
Lloh6:
	adrp	x8, _imc_cb_select@GOTPAGE
Lloh7:
	ldr	x8, [x8, _imc_cb_select@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x21, [x8, x9]
	ubfx	w22, w1, #2, #1
	tbz	w1, #2, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #7
	bl	_get_bits
	str	w0, [x19]
LBB0_2:
Lloh9:
	adrp	x23, _BANDS@GOTPAGE
Lloh10:
	ldr	x23, [x23, _BANDS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w22
	b.le	LBB0_7
; %bb.3:
	add	x24, sp, #8
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldr	w8, [x23]
	cmp	w8, w22
	b.le	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, x22, lsl #3]
	ldr	x8, [x24, x8, lsl #3]
	ldp	w2, w1, [x8]
	mov	x0, x20
	mov	w3, #2
	bl	_get_vlc2
	str	w0, [x19, x22, lsl #2]
	cmp	w0, #17
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	lsl	x8, x22, #2
	ldr	w9, [x19, x8]
	add	w9, w9, w0
	str	w9, [x19, x8]
	b	LBB0_4
LBB0_7:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_huffman_vlc,8,3                ; @huffman_vlc
	.comm	_imc_cb_select,8,3              ; @imc_cb_select
	.comm	_BANDS,4,2                      ; @BANDS
	.no_dead_strip	_imc_read_level_coeffs
.subsections_via_symbols
