	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_lowdelay_slice
_decode_lowdelay_slice:                 ## @decode_lowdelay_slice
	.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	%rsi, %r14
	movq	(%rdi), %r13
	leaq	12(%rsi), %rbx
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_get_bits
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	shll	$3, %edi
	callq	_av_log2
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leal	1(%rax), %esi
	movq	%rbx, %rdi
	callq	_get_bits_long
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_get_bits_count
	movl	%eax, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_get_bits_left
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_FFMIN
	addl	%r15d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%r13)
	movslq	-56(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	xorl	%ebx, %ebx
	testq	%r15, %r15
	setne	%bl
	shlq	$2, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	subq	(%rax,%rbx,2), %rdi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	4(%r14), %r8d
	movl	8(%r14), %ecx
	movq	8(%r13), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%r15,8), %r10
	addq	%rbx, %r10
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	movl	%r12d, %r9d
	pushq	$0
	pushq	%r10
	callq	_decode_subband
	addq	$16, %rsp
	addq	$4, %rbx
	cmpq	$16, %rbx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	(%r13), %rax
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_5:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_get_bits_count
	subl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skip_bits_long
	movl	(%r14), %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	notl	%ecx
	subl	-68(%rbp), %ecx                 ## 4-byte Folded Reload
	leal	(%rcx,%rax,8), %r12d
	addl	$-7, %r12d
	movq	%rbx, %rdi
	callq	_get_bits_count
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_get_bits_left
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_FFMIN
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%r13)
	jle	LBB0_10
## %bb.6:
	addl	%r15d, -44(%rbp)                ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	xorl	%r15d, %r15d
	testq	%r12, %r12
	setne	%r15b
	shlq	$2, %r15
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rax
	movq	(%rax,%r12,8), %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	subq	(%rax,%r15,2), %rdi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	4(%r14), %r8d
	movl	8(%r14), %ecx
	movq	8(%r13), %rdx
	movq	8(%rdx), %rsi
	movq	16(%rdx), %rdx
	movq	(%rsi,%r12,8), %r10
	addq	%r15, %r10
	movq	(%rdx,%r12,8), %rbx
	addq	%r15, %rbx
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%r10
	callq	_decode_subband
	addq	$16, %rsp
	addq	$4, %r15
	cmpq	$16, %r15
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	movslq	(%r13), %rax
	cmpq	%rax, %r12
	jl	LBB0_7
LBB0_10:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_lowdelay_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_lowdelay_slice
_decode_lowdelay_slice:                 ; @decode_lowdelay_slice
	.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
	mov	x19, x1
	ldr	x20, [x0]
	add	x21, x1, #12
	mov	x0, x21
	mov	w1, #7
	bl	_get_bits
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w8, [x19]
	lsl	w0, w8, #3
	bl	_av_log2
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	add	w1, w0, #1
	mov	x0, x21
	bl	_get_bits_long
	mov	x22, x0
	mov	x0, x21
	bl	_get_bits_count
	mov	x25, x0
	mov	x0, x21
	bl	_get_bits_left
	mov	x1, x0
	str	w22, [sp]                       ; 4-byte Folded Spill
	mov	x0, x22
	bl	_FFMIN
	add	w25, w0, w25
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x26, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sxtw	x27, w8
	mov	w28, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x20]
	cmp	x26, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x26, #0
	cset	w24, ne
	ldr	x8, [x20, #16]
	lsl	x22, x26, #3
	ldr	x8, [x8, x22]
	ldr	x8, [x8, w24, uxtw #3]
	cinc	x23, x28, ne
	sub	x0, x27, x8
	mov	w1, #0
	bl	_FFMAX
	mov	x2, x0
	ldp	w4, w3, [x19, #4]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, x22]
	add	x6, x8, w24, uxtw #2
	mov	x0, x20
	mov	x1, x21
	mov	x5, x25
	mov	x7, #0
	bl	_decode_subband
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x22]
	ldr	x8, [x8, x23, lsl #3]
	sub	x0, x27, x8
	mov	w1, #0
	bl	_FFMAX
	mov	x2, x0
	ldp	w4, w3, [x19, #4]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, x22]
	add	x6, x8, x23, lsl #2
	mov	x0, x20
	mov	x1, x21
	mov	x5, x25
	mov	x7, #0
	bl	_decode_subband
	add	x24, x23, #1
	cmp	x24, #4
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x22]
	ldr	x8, [x8, x24, lsl #3]
	sub	x0, x27, x8
	mov	w1, #0
	bl	_FFMAX
	mov	x2, x0
	ldp	w4, w3, [x19, #4]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, x22]
	add	x6, x8, x24, lsl #2
	mov	x0, x20
	mov	x1, x21
	mov	x5, x25
	mov	x7, #0
	bl	_decode_subband
	add	x23, x23, #2
	cmp	x23, #4
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x22]
	ldr	x8, [x8, x23, lsl #3]
	sub	x0, x27, x8
	mov	w1, #0
	bl	_FFMAX
	mov	x2, x0
	ldp	w4, w3, [x19, #4]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, x22]
	add	x6, x8, x23, lsl #2
	mov	x0, x20
	mov	x1, x21
	mov	x5, x25
	mov	x7, #0
	bl	_decode_subband
	b	LBB0_2
LBB0_6:
	mov	x0, x21
	bl	_get_bits_count
	sub	w1, w0, w25
	mov	x0, x21
	bl	_skip_bits_long
	ldr	w8, [x19]
	ldp	w10, w9, [sp]                   ; 8-byte Folded Reload
	mvn	w9, w9
	sub	w9, w9, w10
	add	w8, w9, w8, lsl #3
	sub	w24, w8, #7
	mov	x0, x21
	bl	_get_bits_count
	mov	x23, x0
	mov	x0, x21
	bl	_get_bits_left
	mov	x1, x0
	mov	x0, x24
	bl	_FFMIN
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.7:
	mov	x24, #0
	add	w23, w0, w23
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x22, w8
	mov	w25, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x20]
	cmp	x24, x8
	b.ge	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x24, #0
	cset	w28, ne
	ldr	x8, [x20, #16]
	lsl	x26, x24, #3
	ldr	x8, [x8, x26]
	ldr	x8, [x8, w28, uxtw #3]
	cinc	x27, x25, ne
	sub	x0, x22, x8
	mov	w1, #0
	bl	_FFMAX
	mov	x2, x0
	ldr	x8, [x20, #8]
	ldp	x9, x8, [x8, #8]
	ldr	x9, [x9, x26]
	ldp	w4, w3, [x19, #4]
	lsl	x10, x28, #2
	add	x6, x9, x10
	ldr	x8, [x8, x26]
	add	x7, x8, x10
	mov	x0, x20
	mov	x1, x21
	mov	x5, x23
	bl	_decode_subband
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x27, lsl #3]
	sub	x0, x22, x8
	mov	w1, #0
	bl	_FFMAX
	mov	x2, x0
	ldr	x8, [x20, #8]
	ldp	x9, x8, [x8, #8]
	ldr	x9, [x9, x26]
	ldp	w4, w3, [x19, #4]
	lsl	x10, x27, #2
	add	x6, x9, x10
	ldr	x8, [x8, x26]
	add	x7, x8, x10
	mov	x0, x20
	mov	x1, x21
	mov	x5, x23
	bl	_decode_subband
	add	x28, x27, #1
	cmp	x28, #4
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x28, lsl #3]
	sub	x0, x22, x8
	mov	w1, #0
	bl	_FFMAX
	mov	x2, x0
	ldr	x8, [x20, #8]
	ldp	x9, x8, [x8, #8]
	ldr	x9, [x9, x26]
	ldp	w4, w3, [x19, #4]
	lsl	x10, x28, #2
	add	x6, x9, x10
	ldr	x8, [x8, x26]
	add	x7, x8, x10
	mov	x0, x20
	mov	x1, x21
	mov	x5, x23
	bl	_decode_subband
	add	x27, x27, #2
	cmp	x27, #4
	b.eq	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x27, lsl #3]
	sub	x0, x22, x8
	mov	w1, #0
	bl	_FFMAX
	mov	x2, x0
	ldr	x8, [x20, #8]
	ldp	x9, x8, [x8, #8]
	ldr	x9, [x9, x26]
	ldp	w4, w3, [x19, #4]
	lsl	x10, x27, #2
	add	x6, x9, x10
	ldr	x8, [x8, x26]
	add	x7, x8, x10
	mov	x0, x20
	mov	x1, x21
	mov	x5, x23
	bl	_decode_subband
	b	LBB0_8
LBB0_12:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_lowdelay_slice
.subsections_via_symbols
