	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_intensity_stereo
_apply_intensity_stereo:                ## @apply_intensity_stereo
	.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
	movq	(%rsi), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%bl
	testl	%edx, %edx
	je	LBB0_19
## %bb.1:
	movslq	8(%rsi), %r8
	movslq	12(%rsi), %r15
	cmpl	%r15d, %r8d
	jle	LBB0_19
## %bb.2:
	movq	24(%rsi), %rdi
	movq	(%rdi,%rcx,8), %rdx
	movb	%bl, %al
	movq	(%rdi,%rax,8), %rdi
	movq	16(%rsi), %r9
	movq	_at9_q_unit_to_coeff_idx@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movl	(%r10,%r15,4), %r14d
	leaq	48(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	48(%rdx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r8, %r15
	je	LBB0_19
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	movq	%r15, %rcx
	movl	%r14d, %eax
	incq	%r15
	movl	4(%r10,%rcx,4), %r14d
	cmpl	%r14d, %eax
	jge	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%r9,%rcx,4), %xmm0
	movslq	%r14d, %rbx
	movslq	%eax, %rsi
	movq	%rbx, %r12
	subq	%rsi, %r12
	cmpq	$8, %r12
	jb	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rdi,%rsi,4), %rax
	leaq	(%rdx,%rsi,4), %rcx
	subq	%rcx, %rax
	cmpq	$32, %rax
	jb	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rax
	andq	$-8, %rax
	movaps	%xmm0, %xmm1
	shufps	$0, %xmm0, %xmm1                ## xmm1 = xmm1[0,0],xmm0[0,0]
	leaq	-8(%rax), %rcx
	movq	%rcx, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r10, %r13
	andq	$-2, %r13
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rsi,4), %r8
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rsi,4), %r11
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-48(%r11,%r9,4), %xmm2
	movups	-32(%r11,%r9,4), %xmm3
	mulps	%xmm1, %xmm2
	mulps	%xmm1, %xmm3
	movups	%xmm2, -48(%r8,%r9,4)
	movups	%xmm3, -32(%r8,%r9,4)
	movups	-16(%r11,%r9,4), %xmm2
	movups	(%r11,%r9,4), %xmm3
	mulps	%xmm1, %xmm2
	mulps	%xmm1, %xmm3
	movups	%xmm2, -16(%r8,%r9,4)
	movups	%xmm3, (%r8,%r9,4)
	addq	$16, %r9
	addq	$-2, %r13
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, %r10b
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	%rsi, %r9
	movups	(%rdx,%r9,4), %xmm2
	movups	16(%rdx,%r9,4), %xmm3
	mulps	%xmm1, %xmm2
	mulps	%xmm1, %xmm3
	movups	%xmm2, (%rdi,%r9,4)
	movups	%xmm3, 16(%rdi,%r9,4)
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rax, %r12
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	je	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	%rax, %rsi
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %eax
	subl	%esi, %eax
	movq	%rsi, %rcx
	notq	%rcx
	addq	%rbx, %rcx
	andq	$3, %rax
	je	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rdx,%rsi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%rdi,%rsi,4)
	incq	%rsi
	decq	%rax
	jne	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$3, %rcx
	jb	LBB0_3
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rdx,%rsi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%rdi,%rsi,4)
	movss	4(%rdx,%rsi,4), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, 4(%rdi,%rsi,4)
	movss	8(%rdx,%rsi,4), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, 8(%rdi,%rsi,4)
	movss	12(%rdx,%rsi,4), %xmm1          ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, 12(%rdi,%rsi,4)
	addq	$4, %rsi
	cmpq	%rsi, %rbx
	jne	LBB0_18
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r9d, %r9d
	testb	$1, %r10b
	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	_apply_intensity_stereo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_intensity_stereo
_apply_intensity_stereo:                ; @apply_intensity_stereo
	.cfi_startproc
; %bb.0:
	ldr	x10, [x1]
	cmp	x10, #0
	cset	w11, eq
	cbz	w2, LBB0_12
; %bb.1:
	ldpsw	x8, x0, [x1, #8]
	cmp	w8, w0
	b.le	LBB0_12
; %bb.2:
	ldp	x9, x12, [x1, #16]
	ldr	x10, [x12, x10, lsl #3]
	ldr	x11, [x12, w11, uxtw #3]
Lloh0:
	adrp	x12, _at9_q_unit_to_coeff_idx@GOTPAGE
Lloh1:
	ldr	x12, [x12, _at9_q_unit_to_coeff_idx@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	ldr	w1, [x12, x0, lsl #2]
	add	x13, x11, #32
	add	x14, x10, #32
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x16
	mov	x0, x15
	cmp	x15, x8
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	add	x15, x0, #1
	ldr	w16, [x12, x15, lsl #2]
	cmp	w1, w16
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x17, w16
	ldr	s0, [x9, x0, lsl #2]
	scvtf	s0, s0
	sxtw	x0, w1
	sub	x1, x17, x0
	cmp	x1, #16
	b.lo	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x4, x0, #2
	add	x2, x4, x11
	add	x3, x4, x10
	sub	x2, x2, x3
	cmp	x2, #64
	b.lo	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x2, x1, #0xfffffffffffffff0
	add	x0, x2, x0
	dup.4s	v1, v0[0]
	add	x3, x13, x4
	add	x4, x14, x4
	mov	x5, x2
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q2, q3, [x4, #-32]
	ldp	q4, q5, [x4], #64
	fmul.4s	v2, v2, v1
	fmul.4s	v3, v3, v1
	fmul.4s	v4, v4, v1
	fmul.4s	v5, v5, v0[0]
	stp	q2, q3, [x3, #-32]
	stp	q4, q5, [x3], #64
	subs	x5, x5, #16
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x1, x2
	b.eq	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x2, x0, #2
	add	x1, x10, x2
	add	x2, x11, x2
	sub	x17, x17, x0
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s1, [x1], #4
	fmul	s1, s1, s0
	str	s1, [x2], #4
	subs	x17, x17, #1
	b.ne	LBB0_11
	b	LBB0_3
LBB0_12:
	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	_apply_intensity_stereo
.subsections_via_symbols
