	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_qu_spectra
_decode_qu_spectra:                     ## @decode_qu_spectra
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_18
## %bb.1:
	movl	(%rsi), %eax
	movl	4(%rsi), %ecx
	movl	8(%rsi), %ebx
	movl	12(%rsi), %edx
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	imull	%eax, %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	-60(%rbp), %r15d                ## 4-byte Folded Reload
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-64(%rbp), %r15d                ## 4-byte Folded Reload
	jge	LBB0_18
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
	cmpl	$1, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_16
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-104(%rbp), %r15                ## 8-byte Reload
	addl	%r13d, %r15d
	movl	-68(%rbp), %r12d                ## 4-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	incl	%r12d
	cmpl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	je	LBB0_17
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %ecx
	callq	_get_vlc2
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%eax, %r14d
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movslq	%r15d, %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=3
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_sign_extend
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=3
	movl	%ebx, %ecx
	shrl	%cl, %r14d
	movl	%eax, (%r12,%r13,4)
	incq	%r13
	cmpl	%r13d, -80(%rbp)                ## 4-byte Folded Reload
	je	LBB0_14
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_av_mod_uintp2
	movl	%eax, %r15d
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=3
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=3
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	movq	%rax, %rcx
	movl	%r15d, %eax
	negl	%eax
	testq	%rcx, %rcx
	cmovel	%r15d, %eax
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=3
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_18:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_qu_spectra
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_qu_spectra
_decode_qu_spectra:                     ; @decode_qu_spectra
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x3, [sp, #16]                   ; 8-byte Folded Spill
	str	w4, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w4, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x21, x2
	mov	x22, x0
	mov	w26, #0
	ldp	w8, w28, [x1]
	ldp	w23, w19, [x1, #8]
	stp	w28, w8, [sp, #24]              ; 8-byte Folded Spill
	mul	w8, w28, w8
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	add	w26, w26, w8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w26, w8
	b.ge	LBB0_17
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_13 Depth 3
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_get_bits1
	cbz	x0, LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w20, w20, #1
	ldp	w28, w8, [sp, #24]              ; 8-byte Folded Reload
	cmp	w20, w8
	b.eq	LBB0_3
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_13 Depth 3
	ldp	w2, w1, [x21]
	mov	x0, x22
	mov	w3, #1
	bl	_get_vlc2
	cmp	w28, #1
	b.lt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x24, x0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x27, x8, w26, sxtw #2
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x25
	mov	x1, x23
	bl	_sign_extend
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=3
	str	w0, [x27], #4
	lsr	w24, w24, w23
	add	w26, w26, #1
	subs	w28, w28, #1
	b.eq	LBB0_8
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x24
	mov	x1, x23
	bl	_av_mod_uintp2
	mov	x25, x0
	cbnz	w19, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=3
	cbz	w25, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=3
	mov	x0, x22
	bl	_get_bits1
	cmp	x0, #0
	cneg	w0, w25, ne
	b	LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=3
	mov	w0, #0
	b	LBB0_12
LBB0_17:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_qu_spectra
.subsections_via_symbols
