	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_exp_vlc
_decode_exp_vlc:                        ## @decode_exp_vlc
	.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	%rdi, %r14
	movq	_pow_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	56(%rdi), %rax
	movq	(%rdi), %rcx
	subq	8(%rdi), %rcx
	movq	(%rax,%rcx,8), %r12
	movq	48(%rdi), %rax
	movslq	%esi, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rcx,8), %r15
	movslq	16(%rdi), %rax
	leaq	(%r15,%rax,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$1, 20(%rdi)
	jne	LBB0_1
## %bb.2:
	leaq	40(%r14), %rdi
	movl	$5, %esi
	callq	_get_bits
	movl	%eax, %ebx
	cltq
	addl	$10, %ebx
	movss	280(%r13,%rax,4), %xmm1         ## xmm1 = mem[0],zero,zero,zero
	movq	320(%r13,%rax,8), %rax
	movl	(%r12), %ecx
	addq	$4, %r12
	movl	%ecx, %edx
	andl	$3, %edx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_1:
	movl	$36, %ebx
	xorps	%xmm1, %xmm1
	jmp	LBB0_7
LBB0_3:
	movq	%rax, (%r15)
	addq	$8, %r15
LBB0_4:
	movq	%rax, (%r15)
	addq	$8, %r15
LBB0_5:
	movq	%rax, (%r15)
	addq	$8, %r15
LBB0_6:
	movq	%rax, (%r15)
	addq	$8, %r15
	leal	-4(%rcx), %edx
	cmpl	$4, %ecx
	movl	%edx, %ecx
	jg	LBB0_3
LBB0_7:
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_8
## %bb.10:
	leaq	40(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movaps	%xmm0, %xmm1
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_9
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movss	%xmm1, -48(%rbp)                ## 4-byte Spill
	movl	36(%r14), %esi
	movq	_EXPVLCBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EXPMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_vlc2
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	leal	(%rax,%rbx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	addl	%eax, %ebx
	addl	$-60, %ebx
	movq	_pow_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_FF_ARRAY_ELEMS
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	jae	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movslq	%ebx, %rax
	movss	240(%r13,%rax,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	maxss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	240(%r13,%rax,8), %rax
	movl	(%r12), %ecx
	addq	$4, %r12
	movl	%ecx, %edx
	andl	$3, %edx
	leaq	LJTI0_1(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, (%r15)
	addq	$8, %r15
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, (%r15)
	addq	$8, %r15
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, (%r15)
	addq	$8, %r15
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%ecx, %edx
	movq	%rax, (%r15)
	addq	$8, %r15
	leal	-4(%rdx), %ecx
	cmpl	$4, %edx
	jle	LBB0_11
	jmp	LBB0_19
LBB0_8:
	movaps	%xmm1, %xmm0
LBB0_9:
	movq	24(%r14), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movss	%xmm0, (%rax,%rcx,4)
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_13:
	movl	32(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_16
LBB0_15:
	movl	32(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_16:
	movl	$-1, %eax
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
LJTI0_1:
	.long	L0_1_set_19
	.long	L0_1_set_22
	.long	L0_1_set_21
	.long	L0_1_set_20
	.end_data_region
                                        ## -- End function
	.comm	_pow_tab,8,3                    ## @pow_tab
	.comm	_EXPVLCBITS,4,2                 ## @EXPVLCBITS
	.comm	_EXPMAX,4,2                     ## @EXPMAX
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Exponent vlc invalid\n"

L_.str.1:                               ## @.str.1
	.asciz	"Exponent out of range: %d\n"

	.no_dead_strip	_decode_exp_vlc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_exp_vlc
_decode_exp_vlc:                        ; @decode_exp_vlc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
Lloh0:
	adrp	x8, _pow_tab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pow_tab@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x23, x8, #240
	ldp	x8, x9, [x0]
	sub	x8, x8, x9
	ldp	x10, x9, [x0, #48]
	ldr	x24, [x9, x8, lsl #3]
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x25, [x10, w1, sxtw #3]
	ldp	w8, w9, [x0, #16]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x26, x25, x8, lsl #3
	cmp	w9, #1
	b.ne	LBB0_2
; %bb.1:
	add	x0, x19, #40
	mov	w1, #5
	bl	_get_bits
	add	w27, w0, #10
	ldr	s8, [x23, w27, sxtw #2]
	ldr	x8, [x23, w27, sxtw #3]
	ldr	w9, [x24], #4
	and	x10, x9, #0x3
Lloh3:
	adrp	x11, lJTI0_0@PAGE
Lloh4:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_3
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	mov	w27, #36
	movi	d8, #0000000000000000
	b	LBB0_7
LBB0_3:
	str	x8, [x25], #8
LBB0_4:
	str	x8, [x25], #8
LBB0_5:
	str	x8, [x25], #8
LBB0_6:
	str	x8, [x25], #8
	subs	w9, w9, #4
	b.gt	LBB0_3
LBB0_7:
	cmp	x25, x26
	b.hs	LBB0_17
; %bb.8:
	add	x21, x19, #40
Lloh5:
	adrp	x28, _EXPVLCBITS@GOTPAGE
Lloh6:
	ldr	x28, [x28, _EXPVLCBITS@GOTPAGEOFF]
Lloh7:
	adrp	x20, _EXPMAX@GOTPAGE
Lloh8:
	ldr	x20, [x20, _EXPMAX@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	cmp	x25, x26
	b.hs	LBB0_17
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #36]
	ldr	w2, [x28]
	ldr	w3, [x20]
	mov	x0, x21
	bl	_get_vlc2
	tbnz	w0, #31, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w0, w27
	sub	w27, w22, #60
Lloh9:
	adrp	x8, _pow_tab@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pow_tab@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	bl	_FF_ARRAY_ELEMS
	cmp	w22, w0
	b.hs	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	s0, [x23, w27, sxtw #2]
	ldr	x8, [x23, w27, sxtw #3]
	fcmp	s0, s8
	fcsel	s8, s0, s8, gt
	ldr	w9, [x24], #4
	and	x10, x9, #0x3
Lloh12:
	adrp	x13, lJTI0_1@PAGE
Lloh13:
	add	x13, x13, lJTI0_1@PAGEOFF
	adr	x11, LBB0_13
	ldrb	w12, [x13, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	str	x8, [x25], #8
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	str	x8, [x25], #8
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	str	x8, [x25], #8
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	str	x8, [x25], #8
	subs	w9, w9, #4
	b.le	LBB0_9
	b	LBB0_13
LBB0_17:
	mov	w0, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sxtw	x8, w8
	ldr	x9, [x19, #24]
	str	s8, [x9, x8, lsl #2]
	b	LBB0_21
LBB0_18:
	ldr	w0, [x19, #32]
Lloh14:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_20
LBB0_19:
	ldr	w0, [x19, #32]
Lloh19:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	str	x27, [sp]
Lloh22:
	adrp	x2, l_.str.1@PAGE
Lloh23:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_20:
	bl	_av_log
	mov	w0, #-1
LBB0_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
lJTI0_1:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_15-LBB0_13)>>2
	.byte	(LBB0_14-LBB0_13)>>2
                                        ; -- End function
	.comm	_pow_tab,8,3                    ; @pow_tab
	.comm	_EXPVLCBITS,4,2                 ; @EXPVLCBITS
	.comm	_EXPMAX,4,2                     ; @EXPMAX
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Exponent vlc invalid\n"

l_.str.1:                               ; @.str.1
	.asciz	"Exponent out of range: %d\n"

	.no_dead_strip	_decode_exp_vlc
.subsections_via_symbols
