	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function stereo_transform
LCPI0_0:
	.long	0x42b40000                      ## float 90
LCPI0_1:
	.long	0x43340000                      ## float 180
LCPI0_3:
	.long	0x40400000                      ## float 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.long	0x7fffffff                      ## float NaN
	.long	0x7fffffff                      ## float NaN
	.long	0x7fffffff                      ## float NaN
	.long	0x7fffffff                      ## float NaN
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stereo_transform:                      ## @stereo_transform
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	ucomiss	LCPI0_0(%rip), %xmm0
	jne	LBB0_1
	jnp	LBB0_5
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_M_PI@GOTPCREL(%rip), %r15
	movss	(%r15), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, -64(%rbp)                ## 4-byte Spill
	mulss	%xmm1, %xmm0
	divss	LCPI0_1(%rip), %xmm0
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movss	(%rdi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -40(%rbp)                ## 4-byte Spill
	movss	(%rsi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, -36(%rbp)                ## 4-byte Spill
	callq	_hypotf
	movss	%xmm0, -32(%rbp)                ## 4-byte Spill
	movss	-40(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_atan2f
	movaps	LCPI0_2(%rip), %xmm1            ## xmm1 = [NaN,NaN,NaN,NaN]
	andps	%xmm0, %xmm1
	movq	_M_PI_4@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm2
	jae	LBB0_2
## %bb.3:
	movss	-64(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movaps	%xmm4, %xmm2
	addss	%xmm4, %xmm2
	movss	-28(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	subss	%xmm2, %xmm3
	addss	%xmm3, %xmm3
	subss	%xmm1, %xmm4
	mulss	%xmm3, %xmm4
	movss	%xmm4, -28(%rbp)                ## 4-byte Spill
	xorl	%edi, %edi
	callq	_FFDIFFSIGN
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	mulss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	(%r15), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	LCPI0_3(%rip), %xmm1
	divss	%xmm1, %xmm0
	addss	-64(%rbp), %xmm0                ## 4-byte Folded Reload
	jmp	LBB0_4
LBB0_2:
	movq	_M_PI_2@GOTPCREL(%rip), %rax
	movss	-28(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	divss	(%rax), %xmm1
	mulss	%xmm1, %xmm0
LBB0_4:
	callq	___sincosf_stret
	movshdup	%xmm0, %xmm1                    ## xmm1 = xmm0[1,1,3,3]
	movaps	%xmm1, -64(%rbp)                ## 16-byte Spill
	mulss	-32(%rbp), %xmm0                ## 4-byte Folded Reload
	movl	$-1, %edi
	movl	$1, %esi
	callq	_av_clipf
	movss	%xmm0, (%rbx)
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	mulss	-32(%rbp), %xmm0                ## 4-byte Folded Reload
	movl	$-1, %edi
	movl	$1, %esi
	callq	_av_clipf
	movss	%xmm0, (%r14)
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
	.comm	_M_PI_4,4,2                     ## @M_PI_4
	.comm	_M_PI_2,4,2                     ## @M_PI_2
	.no_dead_strip	_stereo_transform
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stereo_transform
_stereo_transform:                      ; @stereo_transform
	.cfi_startproc
; %bb.0:
	mov	w8, #1119092736
	fmov	s1, w8
	fcmp	s0, s1
	b.ne	LBB0_2
; %bb.1:
	ret
LBB0_2:
	stp	d13, d12, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	.cfi_offset b12, -88
	.cfi_offset b13, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _M_PI@GOTPAGE
Lloh1:
	ldr	x21, [x21, _M_PI@GOTPAGEOFF]
	ldr	s11, [x21]
	fmul	s0, s11, s0
	mov	w8, #1127481344
	fmov	s1, w8
	fdiv	s12, s0, s1
	ldr	s9, [x0]
	ldr	s10, [x1]
	fmov	s0, s9
	fmov	s1, s10
	bl	_hypotf
	fmov	s8, s0
	fmov	s0, s9
	fmov	s1, s10
	bl	_atan2f
	fabs	s1, s0
Lloh2:
	adrp	x8, _M_PI_4@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_PI_4@GOTPAGEOFF]
Lloh4:
	ldr	s2, [x8]
	fcmp	s1, s2
	b.ls	LBB0_4
; %bb.3:
	fmov	s2, #-2.00000000
	fmadd	s2, s11, s2, s12
	fadd	s2, s2, s2
	fsub	s1, s11, s1
	fmul	s9, s2, s1
	mov	w0, #0
	bl	_FFDIFFSIGN
	scvtf	s0, w0
	fmul	s0, s9, s0
	ldr	s1, [x21]
	fmov	s2, #3.00000000
	fmul	s1, s1, s2
	fdiv	s0, s0, s1
	fadd	s0, s11, s0
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _M_PI_2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_PI_2@GOTPAGEOFF]
Lloh7:
	ldr	s1, [x8]
	fdiv	s1, s12, s1
	fmul	s0, s0, s1
LBB0_5:
	bl	___sincosf_stret
	fmov	s9, s1
	fmul	s0, s8, s0
	mov	w0, #-1
	mov	w1, #1
	bl	_av_clipf
	str	s0, [x20]
	fmul	s0, s8, s9
	mov	w0, #-1
	mov	w1, #1
	bl	_av_clipf
	str	s0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
	.comm	_M_PI_4,4,2                     ; @M_PI_4
	.comm	_M_PI_2,4,2                     ; @M_PI_2
	.no_dead_strip	_stereo_transform
.subsections_via_symbols
