	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function celt_stereo_is_decouple
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_celt_stereo_is_decouple:               ## @celt_stereo_is_decouple
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_16
## %bb.1:
	movaps	%xmm1, %xmm2
	mulss	%xmm1, %xmm2
	movaps	%xmm0, %xmm3
	mulss	%xmm0, %xmm3
	addss	%xmm2, %xmm3
	sqrtss	%xmm3, %xmm3
	movq	_FLT_EPSILON@GOTPCREL(%rip), %rax
	addss	(%rax), %xmm3
	movss	LCPI0_0(%rip), %xmm8            ## xmm8 = mem[0],zero,zero,zero
	divss	%xmm3, %xmm8
	mulss	%xmm8, %xmm0
	mulss	%xmm1, %xmm8
	movl	%edx, %r9d
	cmpl	$8, %edx
	jb	LBB0_2
## %bb.3:
	leaq	(%rsi,%r9,4), %rax
	cmpq	%rdi, %rax
	jbe	LBB0_6
## %bb.4:
	leaq	(%rdi,%r9,4), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_6
LBB0_2:
	xorl	%ecx, %ecx
LBB0_12:
	movq	%rcx, %rax
	notq	%rax
	testb	$1, %r9b
	je	LBB0_14
## %bb.13:
	movss	(%rsi,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm8, %xmm1
	movss	(%rdi,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	movss	%xmm2, (%rdi,%rcx,4)
	orq	$1, %rcx
LBB0_14:
	addq	%r9, %rax
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rsi,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm8, %xmm1
	movss	(%rdi,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	movss	%xmm2, (%rdi,%rcx,4)
	movss	4(%rsi,%rcx,4), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm8, %xmm1
	movss	4(%rdi,%rcx,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	movss	%xmm2, 4(%rdi,%rcx,4)
	addq	$2, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_15
	jmp	LBB0_16
LBB0_6:
	movl	%r9d, %ecx
	andl	$-8, %ecx
	movaps	%xmm8, %xmm3
	shufps	$0, %xmm8, %xmm3                ## xmm3 = xmm3[0,0],xmm8[0,0]
	movaps	%xmm0, %xmm9
	shufps	$0, %xmm0, %xmm9                ## xmm9 = xmm9[0,0],xmm0[0,0]
	leaq	-8(%rcx), %rax
	movq	%rax, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:
	movq	%r8, %rax
	andq	$-2, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rdx,4), %xmm4
	movups	16(%rsi,%rdx,4), %xmm5
	mulps	%xmm3, %xmm4
	mulps	%xmm3, %xmm5
	movups	(%rdi,%rdx,4), %xmm6
	movups	16(%rdi,%rdx,4), %xmm7
	movups	32(%rdi,%rdx,4), %xmm2
	movups	48(%rdi,%rdx,4), %xmm1
	mulps	%xmm9, %xmm6
	addps	%xmm4, %xmm6
	mulps	%xmm9, %xmm7
	addps	%xmm5, %xmm7
	movups	%xmm6, (%rdi,%rdx,4)
	movups	%xmm7, 16(%rdi,%rdx,4)
	movups	32(%rsi,%rdx,4), %xmm4
	movups	48(%rsi,%rdx,4), %xmm5
	mulps	%xmm3, %xmm4
	mulps	%xmm3, %xmm5
	mulps	%xmm9, %xmm2
	addps	%xmm4, %xmm2
	mulps	%xmm9, %xmm1
	addps	%xmm5, %xmm1
	movups	%xmm2, 32(%rdi,%rdx,4)
	movups	%xmm1, 48(%rdi,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rax
	jne	LBB0_8
## %bb.9:
	testb	$1, %r8b
	je	LBB0_11
LBB0_10:
	movups	(%rdi,%rdx,4), %xmm1
	movups	16(%rdi,%rdx,4), %xmm2
	movups	(%rsi,%rdx,4), %xmm4
	movups	16(%rsi,%rdx,4), %xmm5
	mulps	%xmm3, %xmm4
	mulps	%xmm3, %xmm5
	mulps	%xmm9, %xmm1
	addps	%xmm4, %xmm1
	mulps	%xmm9, %xmm2
	addps	%xmm5, %xmm2
	movups	%xmm1, (%rdi,%rdx,4)
	movups	%xmm2, 16(%rdi,%rdx,4)
LBB0_11:
	cmpq	%r9, %rcx
	jne	LBB0_12
LBB0_16:
	popq	%rbp
	retq
LBB0_17:
	xorl	%edx, %edx
	testb	$1, %r8b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_FLT_EPSILON,4,2                ## @FLT_EPSILON
	.no_dead_strip	_celt_stereo_is_decouple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function celt_stereo_is_decouple
_celt_stereo_is_decouple:               ; @celt_stereo_is_decouple
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.1:
	fmul	s2, s1, s1
	fmadd	s2, s0, s0, s2
	fsqrt	s2, s2
Lloh0:
	adrp	x8, _FLT_EPSILON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLT_EPSILON@GOTPAGEOFF]
Lloh2:
	ldr	s3, [x8]
	fadd	s2, s2, s3
	fmov	s3, #1.00000000
	fdiv	s2, s3, s2
	fmul	s0, s2, s0
	fmul	s1, s2, s1
	mov	w8, w2
	cmp	w2, #16
	b.lo	LBB0_4
; %bb.2:
	lsl	x9, x8, #2
	add	x10, x1, x9
	cmp	x10, x0
	b.ls	LBB0_8
; %bb.3:
	add	x9, x0, x9
	cmp	x9, x1
	b.ls	LBB0_8
LBB0_4:
	mov	x9, #0
LBB0_5:
	lsl	x11, x9, #2
	add	x10, x1, x11
	add	x11, x0, x11
	sub	x8, x8, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s2, [x10], #4
	ldr	s3, [x11]
	fmul	s2, s1, s2
	fmadd	s2, s0, s3, s2
	str	s2, [x11], #4
	subs	x8, x8, #1
	b.ne	LBB0_6
LBB0_7:
	ret
LBB0_8:
	dup.4s	v2, v1[0]
	and	x9, x8, #0xfffffff0
	dup.4s	v3, v0[0]
	add	x10, x1, #32
	add	x11, x0, #32
	mov	x12, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11]
	ldp	q16, q17, [x10, #-32]
	ldp	q18, q19, [x10], #64
	fmul.4s	v16, v2, v16
	fmul.4s	v17, v2, v17
	fmul.4s	v18, v2, v18
	fmul.4s	v19, v19, v1[0]
	fmla.4s	v16, v4, v3
	fmla.4s	v17, v5, v3
	fmla.4s	v18, v6, v3
	fmla.4s	v19, v7, v3
	stp	q16, q17, [x11, #-32]
	stp	q18, q19, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x9, x8
	b.eq	LBB0_7
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FLT_EPSILON,4,2                ; @FLT_EPSILON
	.no_dead_strip	_celt_stereo_is_decouple
.subsections_via_symbols
