	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dequantize_slice_buffered
_dequantize_slice_buffered:             ## @dequantize_slice_buffered
	.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
	movl	%r9d, %r13d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movl	24(%rdx), %edi
	addl	4(%r14), %edi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %ebx
	movq	_QROOT@GOTPCREL(%rip), %r15
	movl	(%r15), %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	(%r15), %rsi
	decq	%rsi
	cltq
	andq	%rax, %rsi
	sarl	%cl, %eax
	movl	(%rdx,%rsi,4), %r12d
	movl	%eax, %ecx
	shll	%cl, %r12d
	movl	(%r14), %r15d
	imull	%r12d, %r15d
	movq	_QBIAS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r15d
	movl	4(%r14), %eax
	movq	_LOSSLESS_QLOG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.1:
	cmpl	16(%rbp), %r13d
	jge	LBB0_12
## %bb.2:
	movq	_QEXPSHIFT@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	cmpl	16(%rbp), %r13d
	je	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movslq	4(%rcx), %rax
	movslq	%r13d, %rsi
	imulq	%rax, %rsi
	addq	16(%rcx), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_slice_buffer_get_line
	testl	%ebx, %ebx
	jle	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movslq	8(%rcx), %rcx
	leaq	(%rax,%rcx,4), %rax
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=2
	imull	%r12d, %esi
	movl	%r15d, %edi
	subl	%esi, %edi
	movzbl	(%r14), %ecx
	shrl	%cl, %edi
	negl	%edi
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	%edi, (%rax,%rdx,4)
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	incq	%rdx
	cmpq	%rdx, %rbx
	je	LBB0_11
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rdx,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	%r12d, %esi
	addl	%r15d, %esi
	movzbl	(%r14), %ecx
	shrl	%cl, %esi
	movl	%esi, %edi
	jmp	LBB0_9
LBB0_12:
	addq	$24, %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_slice_buffered
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dequantize_slice_buffered
_dequantize_slice_buffered:             ; @dequantize_slice_buffered
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x6
	mov	x20, x5
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w24, [x2]
	ldr	w8, [x0, #4]
	ldr	w9, [x2, #24]
	add	w0, w9, w8
Lloh0:
	adrp	x25, _QROOT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _QROOT@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	w2, w8, #4
	mov	w1, #0
	bl	_av_clip
	ldr	w8, [x23, #4]
Lloh2:
	adrp	x9, _LOSSLESS_QLOG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LOSSLESS_QLOG@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	ccmp	w20, w19, #0, ne
	b.lt	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh5:
	adrp	x8, _ff_qexp@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ff_qexp@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w9, [x25]
	sub	w9, w9, #1
	and	w9, w9, w0
	ldr	w8, [x8, w9, sxtw #2]
Lloh8:
	adrp	x9, _QSHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _QSHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	asr	w9, w0, w9
	lsl	w25, w8, w9
	ldr	w8, [x23]
	mul	w8, w25, w8
Lloh11:
	adrp	x9, _QBIAS_SHIFT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _QBIAS_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	asr	w23, w8, w9
Lloh14:
	adrp	x26, _QEXPSHIFT@GOTPAGE
Lloh15:
	ldr	x26, [x26, _QEXPSHIFT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w20, #1
	cmp	w20, w19
	b.eq	LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldrsw	x8, [x21, #4]
	sxtw	x9, w20
	ldr	x10, [x21, #16]
	madd	x1, x8, x9, x10
	mov	x0, x22
	bl	_slice_buffer_get_line
	cmp	w24, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x21, #8]
	add	x8, x0, x8, lsl #2
	mov	x9, x24
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=2
	msub	w10, w10, w25, w23
	ldr	w11, [x26]
	lsr	w10, w10, w11
	neg	w10, w10
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	str	w10, [x8]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x8, #4
	subs	x9, x9, #1
	b.eq	LBB0_3
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x8]
	tbnz	w10, #31, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	cbz	w10, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	madd	w10, w10, w25, w23
	ldr	w11, [x26]
	lsr	w10, w10, w11
	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_slice_buffered
.subsections_via_symbols
