	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_exp_vlc
_encode_exp_vlc:                        ## @encode_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	40(%rdi), %rax
	movq	(%rdi), %rcx
	movq	16(%rdi), %rdx
	subq	8(%rdi), %rcx
	movq	(%rax,%rcx,8), %r14
	movslq	%esi, %rax
	movq	(%rdx,%rax,8), %rbx
	movslq	24(%rdi), %rax
	leaq	(%rbx,%rax,4), %r13
	movl	$36, %edx
	cmpl	$1, 28(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r12d
	addq	$4, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	-10(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	cmpl	$32, %eax
	setb	%dil
	callq	_av_assert0
	leaq	32(%r15), %rdi
	movl	$5, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_put_bits
	movq	%r12, %rdx
	movslq	(%r14), %rax
	addq	$4, %r14
	leaq	(%rbx,%rax,4), %rbx
LBB0_2:
	cmpq	%r13, %rbx
	jae	LBB0_5
## %bb.3:
	addq	$32, %r15
	xorl	%r12d, %r12d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12), %r13d
	movl	%r13d, %r15d
	subl	%edx, %r15d
	addl	$60, %r15d
	xorl	%edi, %edi
	cmpl	$120, %r15d
	setb	%dil
	callq	_av_assert1
	movq	_ff_aac_scalefactor_bits@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %esi
	movq	_ff_aac_scalefactor_code@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %edx
	callq	_put_bits
	movslq	(%r14,%r12), %rax
	leaq	(%rbx,%rax,4), %rbx
	addq	$4, %r12
	movl	%r13d, %edx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	cmpq	%r13, %rbx
	jb	LBB0_4
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_aac_scalefactor_bits,8,3    ## @ff_aac_scalefactor_bits
	.comm	_ff_aac_scalefactor_code,8,3    ## @ff_aac_scalefactor_code
	.no_dead_strip	_encode_exp_vlc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_exp_vlc
_encode_exp_vlc:                        ; @encode_exp_vlc
	.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
	mov	x19, x2
	mov	x20, x0
	ldr	x8, [x0, #40]
	ldp	x9, x10, [x0]
	sub	x9, x9, x10
	ldr	x22, [x8, x9, lsl #3]
	ldr	x8, [x0, #16]
	ldr	x23, [x8, w1, sxtw #3]
	ldp	w8, w9, [x0, #24]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x24, x23, x8, lsl #2
	cmp	w9, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w25, [x19], #4
	sub	w21, w25, #10
	cmp	w21, #32
	cset	w0, lo
	bl	_av_assert0
	add	x0, x20, #32
	mov	w1, #5
	mov	x2, x21
	bl	_put_bits
	ldrsw	x8, [x22], #4
	add	x23, x23, x8, lsl #2
	cmp	x23, x24
	b.lo	LBB0_3
	b	LBB0_5
LBB0_2:
	mov	w25, #36
	cmp	x23, x24
	b.hs	LBB0_5
LBB0_3:
	add	x20, x20, #32
Lloh0:
	adrp	x21, _ff_aac_scalefactor_bits@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ff_aac_scalefactor_bits@GOTPAGEOFF]
Lloh2:
	adrp	x26, _ff_aac_scalefactor_code@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ff_aac_scalefactor_code@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x19], #4
	sub	w8, w27, w25
	add	w25, w8, #60
	cmp	w25, #120
	cset	w0, lo
	bl	_av_assert1
	ldr	x8, [x21]
	sbfiz	x9, x25, #2, #32
	ldr	w1, [x8, x9]
	ldr	x8, [x26]
	ldr	w2, [x8, x9]
	mov	x0, x20
	bl	_put_bits
	ldrsw	x8, [x22], #4
	add	x23, x23, x8, lsl #2
	mov	x25, x27
	cmp	x23, x24
	b.lo	LBB0_4
LBB0_5:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_aac_scalefactor_bits,8,3    ; @ff_aac_scalefactor_bits
	.comm	_ff_aac_scalefactor_code,8,3    ; @ff_aac_scalefactor_code
	.no_dead_strip	_encode_exp_vlc
.subsections_via_symbols
