	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_subband_slice_buffered
_decode_subband_slice_buffered:         ## @decode_subband_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	40(%rsi), %edi
	addl	16(%r14), %edi
	movl	(%rsi), %r12d
	movq	_QROOT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	shll	$4, %edx
	xorl	%esi, %esi
	callq	_av_clip
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rcx
	cmpq	8(%r14), %rcx
	je	LBB0_2
## %bb.1:
	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), %r15d
	movl	%eax, %ecx
	shll	%cl, %r15d
	movl	(%r14), %r13d
	imull	%r15d, %r13d
	movq	_QBIAS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r13d
	movl	16(%r14), %eax
	movq	_LOSSLESS_QLOG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
LBB0_2:
	movq	_QEXPSHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %r15d
	shll	%cl, %r15d
	xorl	%r13d, %r13d
LBB0_3:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	jmp	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
LBB0_6:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %ecx
	jge	LBB0_12
## %bb.7:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	cmpl	%eax, %ecx
	je	LBB0_12
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movslq	16(%r12), %rax
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %rsi
	imulq	%rax, %rsi
	addq	32(%r12), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_slice_buffer_get_line
	movslq	20(%r12), %rcx
	leaq	(%rax,%rcx,4), %r14
	movl	(%r12), %edx
	shll	$2, %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	24(%r12), %rax
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movslq	%ebx, %rcx
	movl	4(%rax,%rcx,8), %edx
	leal	1(%rcx), %ebx
	cmpl	%r12d, %edx
	jge	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movslq	%ebx, %rbx
	movq	_QEXPSHIFT@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rcx,8), %esi
	movl	%esi, %edi
	sarl	%edi
	imull	%r15d, %edi
	addl	%r13d, %edi
	movzbl	(%r8), %ecx
	sarl	%cl, %edi
	andl	$1, %esi
	movl	%esi, %ecx
	negl	%ecx
	xorl	%edi, %ecx
	addl	%esi, %ecx
	movslq	%edx, %rdx
	movl	%ecx, (%r14,%rdx,4)
	movl	4(%rax,%rbx,8), %edx
	movq	%rbx, %rcx
	incq	%rbx
	cmpl	%r12d, %edx
	jl	LBB0_10
	jmp	LBB0_11
LBB0_12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	addq	$40, %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	_decode_subband_slice_buffered
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_subband_slice_buffered
_decode_subband_slice_buffered:         ; @decode_subband_slice_buffered
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x5, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w25, [x1]
	ldr	w8, [x0, #16]
	ldr	w9, [x1, #40]
	add	w0, w9, w8
Lloh0:
	adrp	x19, _QROOT@GOTPAGE
Lloh1:
	ldr	x19, [x19, _QROOT@GOTPAGEOFF]
	ldr	w8, [x19]
	lsl	w2, w8, #4
	mov	w1, #0
	bl	_av_clip
	ldr	x8, [x23, #8]
	ldr	x9, [x24, #8]
Lloh2:
	adrp	x26, _QEXPSHIFT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _QEXPSHIFT@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x24, #16]
Lloh4:
	adrp	x9, _LOSSLESS_QLOG@GOTPAGE
Lloh5:
	ldr	x9, [x9, _LOSSLESS_QLOG@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
LBB0_2:
	mov	w28, #0
	ldr	w8, [x26]
	mov	w9, #1
	lsl	w27, w9, w8
	cbz	w21, LBB0_5
LBB0_3:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w19, [x8]
	cmp	w21, w20
	b.lt	LBB0_9
	b	LBB0_6
LBB0_4:
	ldr	w8, [x24]
Lloh7:
	adrp	x9, _ff_qexp@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ff_qexp@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	w10, [x19]
	sub	w10, w10, #1
	and	w10, w10, w0
	ldr	w9, [x9, w10, sxtw #2]
Lloh10:
	adrp	x10, _QSHIFT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _QSHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	asr	w10, w0, w10
	lsl	w27, w9, w10
	mul	w8, w27, w8
Lloh13:
	adrp	x9, _QBIAS_SHIFT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _QBIAS_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	asr	w28, w8, w9
	cbnz	w21, LBB0_3
LBB0_5:
	mov	w19, #0
	cmp	w21, w20
	b.lt	LBB0_9
LBB0_6:
	mov	x10, x19
LBB0_7:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w10, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w21, w21, #1
	mov	x19, x10
	cmp	w21, w20
	b.eq	LBB0_7
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldrsw	x8, [x23, #16]
	sxtw	x9, w21
	ldr	x10, [x23, #32]
	madd	x1, x8, x9, x10
	mov	x0, x22
	bl	_slice_buffer_get_line
	ldrsw	x8, [x23, #20]
	add	x24, x0, x8, lsl #2
	ldr	w8, [x23]
	lsl	w2, w8, #2
	mov	x0, x24
	mov	w1, #0
	bl	_memset
	ldr	x8, [x23, #24]
	add	x9, x8, w19, sxtw #3
	ldr	w9, [x9, #4]
	add	w10, w19, #1
	cmp	w9, w25
	b.ge	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sxtw	x12, w19
	sxtw	x11, w10
	add	x10, x8, w10, sxtw #3
	add	x10, x10, #4
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x12, x12, #3
	ldr	w12, [x8, x12]
	asr	w13, w12, #1
	madd	w13, w13, w27, w28
	ldr	w14, [x26]
	asr	w13, w13, w14
	and	w12, w12, #0x1
	neg	w14, w12
	eor	w13, w13, w14
	add	w12, w13, w12
	str	w12, [x24, w9, sxtw #2]
	ldr	w9, [x10], #8
	mov	x12, x11
	add	x11, x11, #1
	cmp	w9, w25
	b.lt	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x10, x11
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.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	_decode_subband_slice_buffered
.subsections_via_symbols
