	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function sbr_dequant
LCPI0_0:
	.quad	0x4415af1d78b58c40              ## double 1.0E+20
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_sbr_dequant:                           ## @sbr_dequant
	.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	%rdi, %r12
	movq	_TYPE_CPE@GOTPCREL(%rip), %rax
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	cmpl	%esi, (%rax)
	jne	LBB0_19
## %bb.1:
	cmpq	$0, 24(%r12)
	je	LBB0_19
## %bb.2:
	movq	16(%r12), %rax
	cmpq	$0, 56(%rax)
	movl	$24, %ecx
	movl	$12, %r15d
	cmovel	%ecx, %r15d
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.3:
	movq	(%r12), %rcx
	movl	$1, %r13d
	leaq	_sbr_dequant.exp2_tab(%rip), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%r13), %rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %r13
	movq	%rdx, %r13
	jge	LBB0_8
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	8(%rax), %rdx
	movq	(%rdx,%r13,8), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	jle	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	xorps	%xmm1, %xmm1
	cvtsd2ss	%xmm2, %xmm1
	movaps	%xmm1, %xmm2
	addss	LCPI0_1(%rip), %xmm2
	divss	%xmm2, %xmm0
	movq	16(%r12), %rax
	movq	24(%rax), %rcx
	movq	(%rcx,%r13,8), %rcx
	movss	%xmm0, (%rcx,%r14,4)
	mulss	%xmm1, %xmm0
	movq	88(%rax), %rcx
	movq	(%rcx,%r13,8), %rcx
	movss	%xmm0, (%rcx,%r14,4)
	incq	%r14
	movq	(%r12), %rcx
	movq	8(%rax), %rdx
	movq	(%rdx,%r13,8), %rdx
	movslq	(%rcx,%rdx,4), %rdx
	cmpq	%rdx, %r14
	jge	LBB0_18
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 56(%rax)
	movq	16(%rax), %rax
	movq	(%rax,%r13,8), %rax
	movl	(%rax,%r14,4), %edi
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	addl	$7, %edi
	callq	_ff_exp2fi
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	16(%r12), %rax
	movq	80(%rax), %rax
	movq	(%rax,%r13,8), %rax
	movl	%r15d, %edi
	subl	(%rax,%r14,4), %edi
	callq	_ff_exp2fi
	movapd	%xmm0, %xmm2
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	sarl	%edi
	addl	$7, %edi
	callq	_ff_exp2fi
	movq	16(%r12), %rax
	movq	16(%rax), %rcx
	movq	80(%rax), %rax
	movq	(%rcx,%r13,8), %rcx
	movl	(%rcx,%r14,4), %ecx
	andl	$1, %ecx
	mulsd	(%rbx,%rcx,8), %xmm0
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	(%rax,%r13,8), %rax
	movl	%r15d, %edi
	subl	(%rax,%r14,4), %edi
	sarl	%edi
	callq	_ff_exp2fi
	movapd	%xmm0, %xmm2
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movq	16(%r12), %rax
	movq	80(%rax), %rax
	movq	(%rax,%r13,8), %rax
	movl	(%rax,%r14,4), %eax
	andl	$1, %eax
	mulsd	(%rbx,%rax,8), %xmm2
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	cvtsd2ss	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm0, %xmm1
	ucomisd	LCPI0_0(%rip), %xmm1
	jbe	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	L_.str(%rip), %rdx
	movsd	%xmm2, -48(%rbp)                ## 8-byte Spill
	callq	_av_log
	movsd	-48(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_17
LBB0_19:
	movq	16(%r12), %rax
	xorl	%r14d, %r14d
	movq	_NOISE_FLOOR_OFFSET@GOTPCREL(%rip), %r13
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %r13
LBB0_38:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	incq	%r14
	xorl	%ecx, %ecx
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	_TYPE_CPE@GOTPCREL(%rip), %rsi
	cmpl	%edx, (%rsi)
	sete	%cl
	incq	%rcx
	cmpq	%rcx, %r14
	jae	LBB0_39
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
                                        ##       Child Loop BB0_24 Depth 3
                                        ##     Child Loop BB0_34 Depth 2
                                        ##       Child Loop BB0_36 Depth 3
	movq	%r13, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	shlq	$6, %r14
	cmpl	$0, (%rax,%r14)
	jle	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%r12), %rcx
	movl	$1, %r13d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_22 Depth=2
	leaq	1(%r13), %rdx
	movslq	(%rax,%r14), %rsi
	cmpq	%rsi, %r13
	movq	%rdx, %r13
	jge	LBB0_26
LBB0_22:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_24 Depth 3
	movq	8(%rax,%r14), %rdx
	movq	(%rdx,%r13,8), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	jle	LBB0_32
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	xorl	%r15d, %r15d
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_24 Depth=3
	incq	%r15
	movq	(%r12), %rcx
	movq	8(%rax,%r14), %rdx
	movq	(%rdx,%r13,8), %rdx
	movslq	(%rcx,%rdx,4), %rdx
	cmpq	%rdx, %r15
	jge	LBB0_32
LBB0_24:                                ##   Parent Loop BB0_20 Depth=1
                                        ##     Parent Loop BB0_22 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	$0, 56(%rax,%r14)
	movq	16(%rax,%r14), %rax
	movq	(%rax,%r13,8), %rax
	movl	(%rax,%r15,4), %edi
	je	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=3
	addl	$6, %edi
	callq	_ff_exp2fi
	movq	16(%r12), %rax
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_24 Depth=3
	sarl	%edi
	addl	$6, %edi
	callq	_ff_exp2fi
	movq	16(%r12), %rax
	movq	16(%rax,%r14), %rcx
	movq	(%rcx,%r13,8), %rcx
	movl	(%rcx,%r15,4), %ecx
	andl	$1, %ecx
	leaq	_sbr_dequant.exp2_tab(%rip), %rdx
	mulsd	(%rdx,%rcx,8), %xmm0
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=3
	cvtsd2ss	%xmm0, %xmm0
	movq	24(%rax,%r14), %rcx
	movq	(%rcx,%r13,8), %rcx
	movss	%xmm0, (%rcx,%r15,4)
	cvtss2sd	%xmm0, %xmm0
	ucomisd	LCPI0_0(%rip), %xmm0
	jbe	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_24 Depth=3
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	16(%r12), %rax
	movq	24(%rax,%r14), %rcx
	movq	(%rcx,%r13,8), %rcx
	movl	$1065353216, (%rcx,%r15,4)      ## imm = 0x3F800000
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$0, 32(%rax,%r14)
	jle	LBB0_27
## %bb.33:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	8(%r12), %ecx
	movl	$1, %r15d
	movq	%rbx, %r13
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_34 Depth=2
	leaq	1(%r15), %rdx
	movslq	32(%rax,%r14), %rsi
	cmpq	%rsi, %r15
	movq	%rdx, %r15
	jge	LBB0_38
LBB0_34:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_36 Depth 3
	testl	%ecx, %ecx
	jle	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_20 Depth=1
                                        ##     Parent Loop BB0_34 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r13), %edi
	movq	40(%rax,%r14), %rax
	movq	(%rax,%r15,8), %rax
	subl	(%rax,%rbx,4), %edi
	callq	_ff_exp2fi
	cvtsd2ss	%xmm0, %xmm0
	movq	16(%r12), %rax
	movq	48(%rax,%r14), %rcx
	movq	(%rcx,%r15,8), %rcx
	movss	%xmm0, (%rcx,%rbx,4)
	incq	%rbx
	movslq	8(%r12), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_36
	jmp	LBB0_37
LBB0_8:
	cmpl	$0, 32(%rax)
	jle	LBB0_39
## %bb.9:
	movl	8(%r12), %ecx
	movl	$1, %r15d
	movq	_NOISE_FLOOR_OFFSET@GOTPCREL(%rip), %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	1(%r15), %rdx
	movslq	32(%rax), %rsi
	cmpq	%rsi, %r15
	movq	%rdx, %r15
	jge	LBB0_39
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	movq	40(%rax), %rax
	movq	(%rax,%r15,8), %rax
	subl	(%rax,%rbx,4), %edi
	incl	%edi
	callq	_ff_exp2fi
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movq	16(%r12), %rax
	movq	104(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movl	$12, %edi
	subl	(%rax,%rbx,4), %edi
	callq	_ff_exp2fi
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	xorl	%edi, %edi
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	setae	%dil
	callq	_av_assert0
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	-52(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm2, %xmm0
	addss	%xmm1, %xmm0
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movq	16(%r12), %rax
	movq	48(%rax), %rcx
	movq	(%rcx,%r15,8), %rcx
	movss	%xmm1, (%rcx,%rbx,4)
	mulss	%xmm2, %xmm1
	movq	112(%rax), %rcx
	movq	(%rcx,%r15,8), %rcx
	movss	%xmm1, (%rcx,%rbx,4)
	incq	%rbx
	movslq	8(%r12), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_12
	jmp	LBB0_13
LBB0_39:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @sbr_dequant.exp2_tab
_sbr_dequant.exp2_tab:
	.quad	0x3ff0000000000000              ## double 1
	.quad	0x4060000000000000              ## double 128

	.comm	_TYPE_CPE,4,2                   ## @TYPE_CPE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"envelope scalefactor overflow in dequant\n"

	.comm	_NOISE_FLOOR_OFFSET,4,2         ## @NOISE_FLOOR_OFFSET
	.no_dead_strip	_sbr_dequant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbr_dequant
_sbr_dequant:                           ; @sbr_dequant
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	mov	x19, x0
Lloh0:
	adrp	x8, _TYPE_CPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w8, w1
	b.ne	LBB0_13
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_13
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #56]
	cmp	x9, #0
	mov	w9, #12
	mov	w10, #24
	csel	w21, w10, w9, eq
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_33
; %bb.3:
	ldr	x9, [x19]
	mov	w23, #1
Lloh3:
	adrp	x22, _sbr_dequant.exp2_tab@PAGE
Lloh4:
	add	x22, x22, _sbr_dequant.exp2_tab@PAGEOFF
	mov	x24, #35904
	movk	x24, #30901, lsl #16
	movk	x24, #44829, lsl #32
	movk	x24, #17429, lsl #48
Lloh5:
	adrp	x25, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x25, [x25, _AV_LOG_ERROR@GOTPAGEOFF]
	fmov	s10, #1.00000000
Lloh7:
	adrp	x20, l_.str@PAGE
Lloh8:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x23, #1
	ldrsw	x11, [x8]
	cmp	x23, x11
	mov	x23, x10
	b.ge	LBB0_33
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x10, [x8, #8]
	ldr	x10, [x10, x23, lsl #3]
	ldr	w10, [x9, x10, lsl #2]
	cmp	w10, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	fcvt	s1, d9
	fadd	s2, s1, s10
	fdiv	s0, s0, s2
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #24]
	ldr	x9, [x9, x27]
	str	s0, [x9, x28]
	fmul	s0, s0, s1
	ldr	x9, [x8, #88]
	ldr	x9, [x9, x27]
	str	s0, [x9, x28]
	add	x26, x26, #1
	ldr	x9, [x19]
	ldr	x10, [x8, #8]
	ldr	x10, [x10, x27]
	ldrsw	x10, [x9, x10, lsl #2]
	cmp	x26, x10
	b.ge	LBB0_4
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x8, #16]
	ldr	x9, [x9, x23, lsl #3]
	ldr	w9, [x9, x26, lsl #2]
	ldr	x8, [x8, #56]
	lsl	x27, x23, #3
	lsl	x28, x26, #2
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	w0, w9, #7
	bl	_ff_exp2fi
	fmov	d8, d0
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #80]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w8, [x8, x26, lsl #2]
	sub	w0, w21, w8
	bl	_ff_exp2fi
	fmov	d9, d0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	asr	w8, w9, #1
	add	w0, w8, #7
	bl	_ff_exp2fi
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #16]
	ldr	x9, [x9, x27]
	ldr	w9, [x9, x28]
	and	x9, x9, #0x1
	ldr	d1, [x22, x9, lsl #3]
	fmul	d8, d0, d1
	ldr	x8, [x8, #80]
	ldr	x8, [x8, x27]
	ldr	w8, [x8, x28]
	sub	w8, w21, w8
	asr	w0, w8, #1
	bl	_ff_exp2fi
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #80]
	ldr	x8, [x8, x27]
	ldr	w8, [x8, x28]
	and	x8, x8, #0x1
	ldr	d1, [x22, x8, lsl #3]
	fmul	d9, d0, d1
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=2
	fcvt	s0, d8
	fcvt	d1, s0
	fmov	d2, x24
	fcmp	d1, d2
	b.le	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w1, [x25]
	mov	x0, #0
	mov	x2, x20
	bl	_av_log
	fmov	s0, #1.00000000
	b	LBB0_7
LBB0_13:
	mov	x23, #0
	ldr	x8, [x19, #16]
Lloh9:
	adrp	x25, _NOISE_FLOOR_OFFSET@GOTPAGE
Lloh10:
	ldr	x25, [x25, _NOISE_FLOOR_OFFSET@GOTPAGEOFF]
Lloh11:
	adrp	x24, _sbr_dequant.exp2_tab@PAGE
Lloh12:
	add	x24, x24, _sbr_dequant.exp2_tab@PAGEOFF
	mov	x27, #35904
	movk	x27, #30901, lsl #16
	movk	x27, #44829, lsl #32
	movk	x27, #17429, lsl #48
Lloh13:
	adrp	x21, _AV_LOG_ERROR@GOTPAGE
Lloh14:
	ldr	x21, [x21, _AV_LOG_ERROR@GOTPAGEOFF]
	mov	w28, #1065353216
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x23, x23, #1
Lloh15:
	adrp	x9, _TYPE_CPE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TYPE_CPE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w9, w10
	mov	w9, #1
	cinc	x9, x9, eq
	cmp	x23, x9
	b.hs	LBB0_39
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
                                        ;       Child Loop BB0_21 Depth 3
                                        ;     Child Loop BB0_29 Depth 2
                                        ;       Child Loop BB0_31 Depth 3
	lsl	x22, x23, #6
	ldr	w9, [x8, x22]
	cmp	w9, #1
	b.lt	LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x19]
	mov	w20, #1
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	add	x10, x20, #1
	ldrsw	x11, [x8, x22]
	cmp	x20, x11
	mov	x20, x10
	b.ge	LBB0_26
LBB0_18:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_21 Depth 3
	add	x10, x8, x23, lsl #6
	ldr	x10, [x10, #8]
	ldr	x10, [x10, x20, lsl #3]
	ldr	w10, [x9, x10, lsl #2]
	cmp	w10, #1
	b.lt	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	x26, #0
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=3
	add	x26, x26, #1
	ldr	x9, [x19]
	add	x10, x8, x23, lsl #6
	ldr	x10, [x10, #8]
	ldr	x10, [x10, x20, lsl #3]
	ldrsw	x10, [x9, x10, lsl #2]
	cmp	x26, x10
	b.ge	LBB0_17
LBB0_21:                                ;   Parent Loop BB0_15 Depth=1
                                        ;     Parent Loop BB0_18 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x8, x8, x23, lsl #6
	ldr	x9, [x8, #56]
	ldr	x8, [x8, #16]
	ldr	x8, [x8, x20, lsl #3]
	ldr	w8, [x8, x26, lsl #2]
	cbz	x9, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=3
	add	w0, w8, #6
	bl	_ff_exp2fi
	ldr	x8, [x19, #16]
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_21 Depth=3
	asr	w8, w8, #1
	add	w0, w8, #6
	bl	_ff_exp2fi
	ldr	x8, [x19, #16]
	add	x9, x8, x23, lsl #6
	ldr	x9, [x9, #16]
	ldr	x9, [x9, x20, lsl #3]
	ldr	w9, [x9, x26, lsl #2]
	and	x9, x9, #0x1
	ldr	d1, [x24, x9, lsl #3]
	fmul	d0, d0, d1
LBB0_24:                                ;   in Loop: Header=BB0_21 Depth=3
	add	x9, x8, x23, lsl #6
	ldr	x9, [x9, #24]
	ldr	x9, [x9, x20, lsl #3]
	fcvt	s0, d0
	str	s0, [x9, x26, lsl #2]
	fcvt	d0, s0
	fmov	d1, x27
	fcmp	d0, d1
	b.le	LBB0_20
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=3
	ldr	w1, [x21]
	mov	x0, #0
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	ldr	x8, [x19, #16]
	add	x9, x8, x23, lsl #6
	ldr	x9, [x9, #24]
	ldr	x9, [x9, x20, lsl #3]
	str	w28, [x9, x26, lsl #2]
	b	LBB0_20
LBB0_26:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x9, x8, x23, lsl #6
	ldr	w9, [x9, #32]
	cmp	w9, #1
	b.lt	LBB0_14
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w9, [x19, #8]
	mov	w20, #1
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=2
	add	x10, x20, #1
	add	x11, x8, x23, lsl #6
	ldrsw	x11, [x11, #32]
	cmp	x20, x11
	mov	x20, x10
	b.ge	LBB0_14
LBB0_29:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_31 Depth 3
	cmp	w9, #1
	b.lt	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x21, x24
	mov	x26, #0
LBB0_31:                                ;   Parent Loop BB0_15 Depth=1
                                        ;     Parent Loop BB0_29 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w9, [x25]
	add	x8, x8, x22
	ldr	x8, [x8, #40]
	lsl	x28, x20, #3
	ldr	x8, [x8, x28]
	lsl	x24, x26, #2
	ldr	w8, [x8, x24]
	sub	w0, w9, w8
	bl	_ff_exp2fi
	ldr	x8, [x19, #16]
	add	x9, x8, x22
	ldr	x9, [x9, #48]
	ldr	x9, [x9, x28]
	fcvt	s0, d0
	str	s0, [x9, x24]
	add	x26, x26, #1
	ldrsw	x9, [x19, #8]
	cmp	x26, x9
	b.lt	LBB0_31
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x24, x21
Lloh20:
	adrp	x21, _AV_LOG_ERROR@GOTPAGE
Lloh21:
	ldr	x21, [x21, _AV_LOG_ERROR@GOTPAGEOFF]
	mov	w28, #1065353216
	b	LBB0_28
LBB0_33:
	ldr	w9, [x8, #32]
	cmp	w9, #1
	b.lt	LBB0_39
; %bb.34:
	ldr	w9, [x19, #8]
	mov	w21, #1
Lloh22:
	adrp	x20, _NOISE_FLOOR_OFFSET@GOTPAGE
Lloh23:
	ldr	x20, [x20, _NOISE_FLOOR_OFFSET@GOTPAGEOFF]
	mov	w22, #12
	mov	x23, #35904
	movk	x23, #30901, lsl #16
	movk	x23, #44829, lsl #32
	movk	x23, #17429, lsl #48
	fmov	s8, #1.00000000
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	add	x10, x21, #1
	ldrsw	x11, [x8, #32]
	cmp	x21, x11
	mov	x21, x10
	b.ge	LBB0_39
LBB0_36:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_38 Depth 2
	cmp	w9, #1
	b.lt	LBB0_35
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	mov	x24, #0
LBB0_38:                                ;   Parent Loop BB0_36 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x8, #40]
	lsl	x25, x21, #3
	ldr	x8, [x8, x25]
	ldr	w9, [x20]
	lsl	x26, x24, #2
	ldr	w8, [x8, x26]
	sub	w8, w9, w8
	add	w0, w8, #1
	bl	_ff_exp2fi
	fcvt	s9, d0
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #104]
	ldr	x8, [x8, x25]
	ldr	w8, [x8, x26]
	sub	w0, w22, w8
	bl	_ff_exp2fi
	fcvt	s10, d0
	fcvt	d0, s9
	fmov	d1, x23
	fcmp	d0, d1
	cset	w0, ls
	bl	_av_assert0
	fadd	s0, s10, s8
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #48]
	ldr	x9, [x9, x25]
	fdiv	s0, s9, s0
	str	s0, [x9, x26]
	ldr	x9, [x8, #112]
	ldr	x9, [x9, x25]
	fmul	s0, s0, s10
	str	s0, [x9, x26]
	add	x24, x24, #1
	ldrsw	x9, [x19, #8]
	cmp	x24, x9
	b.lt	LBB0_38
	b	LBB0_35
LBB0_39:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @sbr_dequant.exp2_tab
_sbr_dequant.exp2_tab:
	.quad	0x3ff0000000000000              ; double 1
	.quad	0x4060000000000000              ; double 128

	.comm	_TYPE_CPE,4,2                   ; @TYPE_CPE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"envelope scalefactor overflow in dequant\n"

	.comm	_NOISE_FLOOR_OFFSET,4,2         ; @NOISE_FLOOR_OFFSET
	.no_dead_strip	_sbr_dequant
.subsections_via_symbols
