	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dequantize
_dequantize:                            ## @dequantize
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %r12d
	movl	8(%rsi), %edi
	addl	4(%r15), %edi
	movl	4(%rsi), %r13d
	movq	_QROOT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	shll	$4, %edx
	xorl	%esi, %esi
	callq	_av_clip
	movq	_QSHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_ff_qexp@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	(%r14), %rsi
	decq	%rsi
	cltq
	andq	%rax, %rsi
	sarl	%cl, %eax
	movl	(%rdx,%rsi,4), %r11d
	movl	%eax, %ecx
	shll	%cl, %r11d
	movl	(%r15), %edx
	imull	%r11d, %edx
	movq	_QBIAS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movl	4(%r15), %eax
	movq	_LOSSLESS_QLOG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.1:
	testl	%r13d, %r13d
	jle	LBB0_12
## %bb.2:
	movslq	-44(%rbp), %r8                  ## 4-byte Folded Reload
	shlq	$2, %r8
	xorl	%r9d, %r9d
	movq	_QEXPSHIFT@GOTPCREL(%rip), %r10
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r9
	addq	%r8, %rbx
	cmpq	%r13, %r9
	je	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%r12d, %r12d
	jle	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=2
	imull	%r11d, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movzbl	(%r10), %ecx
	sarl	%cl, %eax
	negl	%eax
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	%eax, (%rbx,%rdi,4)
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	incq	%rdi
	cmpq	%rdi, %r12
	je	LBB0_11
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%rdi,4), %esi
	testl	%esi, %esi
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	imull	%r11d, %esi
	addl	%edx, %esi
	movzbl	(%r10), %ecx
	sarl	%cl, %esi
	movl	%esi, %eax
	jmp	LBB0_9
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QROOT,4,2                      ## @QROOT
	.comm	_ff_qexp,8,3                    ## @ff_qexp
	.comm	_QSHIFT,4,2                     ## @QSHIFT
	.comm	_QBIAS_SHIFT,4,2                ## @QBIAS_SHIFT
	.comm	_LOSSLESS_QLOG,4,2              ## @LOSSLESS_QLOG
	.comm	_QEXPSHIFT,4,2                  ## @QEXPSHIFT
	.no_dead_strip	_dequantize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dequantize
_dequantize:                            ; @dequantize
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x3
	mov	x19, x2
	mov	x21, x0
	ldp	w22, w23, [x1]
	ldr	w8, [x0, #4]
	ldr	w9, [x1, #8]
	add	w0, w9, w8
Lloh0:
	adrp	x24, _QROOT@GOTPAGE
Lloh1:
	ldr	x24, [x24, _QROOT@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	w2, w8, #4
	mov	w1, #0
	bl	_av_clip
	ldr	w8, [x21, #4]
Lloh2:
	adrp	x9, _LOSSLESS_QLOG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LOSSLESS_QLOG@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	ccmp	w23, #1, #8, ne
	b.ge	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x8, #0
Lloh5:
	adrp	x9, _ff_qexp@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ff_qexp@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w10, [x24]
	sub	w10, w10, #1
	and	w10, w10, w0
	ldr	w9, [x9, w10, sxtw #2]
Lloh8:
	adrp	x10, _QSHIFT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _QSHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	asr	w10, w0, w10
	lsl	w9, w9, w10
	ldr	w10, [x21]
Lloh11:
	adrp	x11, _QBIAS_SHIFT@GOTPAGE
Lloh12:
	ldr	x11, [x11, _QBIAS_SHIFT@GOTPAGEOFF]
	mul	w10, w9, w10
Lloh13:
	ldr	w11, [x11]
	asr	w10, w10, w11
	sbfiz	x11, x20, #2, #32
Lloh14:
	adrp	x12, _QEXPSHIFT@GOTPAGE
Lloh15:
	ldr	x12, [x12, _QEXPSHIFT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	add	x19, x19, x11
	cmp	x8, x23
	b.eq	LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x13, x22
	mov	x14, x19
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=2
	msub	w15, w15, w9, w10
	ldr	w16, [x12]
	asr	w15, w15, w16
	neg	w15, w15
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	str	w15, [x14]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x14, x14, #4
	subs	x13, x13, #1
	b.eq	LBB0_3
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w15, [x14]
	tbnz	w15, #31, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	cbz	w15, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	madd	w15, w15, w9, w10
	ldr	w16, [x12]
	asr	w15, w15, w16
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QROOT,4,2                      ; @QROOT
	.comm	_ff_qexp,8,3                    ; @ff_qexp
	.comm	_QSHIFT,4,2                     ; @QSHIFT
	.comm	_QBIAS_SHIFT,4,2                ; @QBIAS_SHIFT
	.comm	_LOSSLESS_QLOG,4,2              ; @LOSSLESS_QLOG
	.comm	_QEXPSHIFT,4,2                  ; @QEXPSHIFT
	.no_dead_strip	_dequantize
.subsections_via_symbols
