	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scale_band_ext_coeffs
_scale_band_ext_coeffs:                 ## @scale_band_ext_coeffs
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	%ecx, %edx
	jge	LBB0_19
## %bb.1:
	movq	_at9_q_unit_to_coeff_idx@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movslq	%edx, %r10
	movslq	%ecx, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%r9,%r10,4), %r14d
	xorl	%r15d, %r15d
	movq	%r10, %r11
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r10, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	cmpq	-72(%rbp), %r11                 ## 8-byte Folded Reload
	je	LBB0_19
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	movq	%r11, %rax
	movl	%r14d, %edx
	incq	%r11
	movl	4(%r9,%rax,4), %r14d
	cmpl	%r14d, %edx
	jge	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r14d, %r12
	subq	%r10, %rax
	movq	(%rdi), %rcx
	movslq	%edx, %rdx
	movq	%r12, %r13
	subq	%rdx, %r13
	cmpq	$8, %r13
	jb	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rsi,%r15,4), %r8
	addq	$4, %r8
	leaq	(%rcx,%rdx,4), %rbx
	cmpq	%r8, %rbx
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rsi,%r15,4), %r8
	leaq	(%rcx,%r12,4), %rbx
	cmpq	%rbx, %r8
	jb	LBB0_15
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rbx
	andq	$-8, %rbx
	leaq	-8(%rbx), %rdi
	movq	%rdi, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r9, %r8
	andq	$-2, %r8
	movss	(%rsi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	shufps	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	(%rcx,%rdx,4), %r10
	addq	$48, %r10
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-48(%r10,%rdi,4), %xmm1
	movups	-32(%r10,%rdi,4), %xmm2
	movups	-16(%r10,%rdi,4), %xmm3
	movups	(%r10,%rdi,4), %xmm4
	mulps	%xmm0, %xmm1
	mulps	%xmm0, %xmm2
	movups	%xmm1, -48(%r10,%rdi,4)
	movups	%xmm2, -32(%r10,%rdi,4)
	mulps	%xmm0, %xmm3
	mulps	%xmm0, %xmm4
	movups	%xmm3, -16(%r10,%rdi,4)
	movups	%xmm4, (%r10,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %r8
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r9b
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	%rdx, %rdi
	movss	(%rsi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	shufps	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movups	(%rcx,%rdi,4), %xmm1
	movups	16(%rcx,%rdi,4), %xmm2
	mulps	%xmm0, %xmm1
	mulps	%xmm0, %xmm2
	movups	%xmm1, (%rcx,%rdi,4)
	movups	%xmm2, 16(%rcx,%rdi,4)
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rbx, %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	je	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	%rbx, %rdx
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %ebx
	subl	%edx, %ebx
	movq	%rdx, %r8
	notq	%r8
	addq	%r12, %r8
	andq	$3, %rbx
	je	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rsi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	(%rcx,%rdx,4), %xmm0
	movss	%xmm0, (%rcx,%rdx,4)
	incq	%rdx
	decq	%rbx
	jne	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$3, %r8
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rsi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	(%rcx,%rdx,4), %xmm0
	movss	%xmm0, (%rcx,%rdx,4)
	movss	(%rsi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	4(%rcx,%rdx,4), %xmm0
	movss	%xmm0, 4(%rcx,%rdx,4)
	movss	(%rsi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	8(%rcx,%rdx,4), %xmm0
	movss	%xmm0, 8(%rcx,%rdx,4)
	movss	(%rsi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	12(%rcx,%rdx,4), %xmm0
	movss	%xmm0, 12(%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r12
	jne	LBB0_18
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	testb	$1, %r9b
	jne	LBB0_12
	jmp	LBB0_13
LBB0_19:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_at9_q_unit_to_coeff_idx,8,3    ## @at9_q_unit_to_coeff_idx
	.no_dead_strip	_scale_band_ext_coeffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scale_band_ext_coeffs
_scale_band_ext_coeffs:                 ; @scale_band_ext_coeffs
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w2 killed $w2 def $x2
	cmp	w2, w3
	b.ge	LBB0_11
; %bb.1:
	mov	x8, #0
Lloh0:
	adrp	x9, _at9_q_unit_to_coeff_idx@GOTPAGE
Lloh1:
	ldr	x9, [x9, _at9_q_unit_to_coeff_idx@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sxtw	x10, w2
	sxtw	x11, w3
	ldr	w17, [x9, w2, sxtw #2]
	mov	x14, x10
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	mov	x17, x13
	mov	x14, x12
	cmp	x12, x11
	b.eq	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	add	x12, x14, #1
	ldr	w13, [x9, x12, lsl #2]
	cmp	w17, w13
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x15, w13
	sub	x14, x14, x10
	ldr	x16, [x0]
	sxtw	x17, w17
	sub	x2, x15, x17
	cmp	x2, #16
	b.lo	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x3, x1, x8, lsl #2
	add	x5, x3, #4
	add	x4, x16, x17, lsl #2
	add	x6, x16, x15, lsl #2
	cmp	x4, x5
	ccmp	x3, x6, #2, lo
	b.lo	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	and	x3, x2, #0xfffffffffffffff0
	add	x17, x3, x17
	add	x5, x1, x14, lsl #2
	ld1r.4s	{ v0 }, [x5]
	add	x4, x4, #32
	mov	x5, x3
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q1, q2, [x4, #-32]
	ldp	q3, q4, [x4]
	fmul.4s	v1, v0, v1
	fmul.4s	v2, v0, v2
	fmul.4s	v3, v0, v3
	fmul.4s	v4, v0, v4
	stp	q1, q2, [x4, #-32]
	stp	q3, q4, [x4], #64
	subs	x5, x5, #16
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x2, x3
	b.eq	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x16, x16, x17, lsl #2
	sub	x15, x15, x17
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s0, [x1, x14, lsl #2]
	ldr	s1, [x16]
	fmul	s0, s0, s1
	str	s0, [x16], #4
	subs	x15, x15, #1
	b.ne	LBB0_10
	b	LBB0_2
LBB0_11:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_at9_q_unit_to_coeff_idx,8,3    ; @at9_q_unit_to_coeff_idx
	.no_dead_strip	_scale_band_ext_coeffs
.subsections_via_symbols
