	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function filter_2_1
LCPI0_0:
	.long	0x7fffffff                      ## float NaN
	.long	0x7fffffff                      ## float NaN
	.long	0x7fffffff                      ## float NaN
	.long	0x7fffffff                      ## float NaN
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3eb0c6f7a0b5ed8d              ## double 9.9999999999999995E-7
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter_2_1:                            ## @filter_2_1
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	(%rdi), %r13
	cmpl	$0, (%r13)
	jle	LBB0_6
## %bb.1:
	movq	24(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	8(%rax), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	16(%rax), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movaps	%xmm4, %xmm2
	subss	%xmm1, %xmm2
	divss	%xmm0, %xmm2
	movss	%xmm2, -56(%rbp)                ## 4-byte Spill
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	subss	%xmm3, %xmm0
	andps	LCPI0_0(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)               ## 16-byte Spill
	movaps	%xmm4, %xmm0
	callq	_hypotf
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movq	_M_PI@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm0
	addss	%xmm1, %xmm0
	movaps	-112(%rbp), %xmm2               ## 16-byte Reload
	subss	%xmm2, %xmm0
	cmpltss	%xmm2, %xmm1
	andps	%xmm1, %xmm0
	andnps	%xmm2, %xmm1
	orps	%xmm0, %xmm1
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	leaq	-84(%rbp), %r14
	movq	%r14, %rdi
	leaq	-80(%rbp), %r15
	movq	%r15, %rsi
	callq	_stereo_position
	movl	16(%r13), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_stereo_transform
	movss	-84(%rbp), %xmm6                ## xmm6 = mem[0],zero,zero,zero
	movss	-80(%rbp), %xmm7                ## xmm7 = mem[0],zero,zero,zero
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-68(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	-52(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	movss	-76(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movss	-72(%rbp), %xmm5                ## 4-byte Reload
                                        ## xmm5 = mem[0],zero,zero,zero
	movl	%ebx, %esi
	callq	*8(%r13)
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movss	(%rax,%rbx,8), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	movss	%xmm3, -112(%rbp)               ## 4-byte Spill
	movss	4(%rax,%rbx,8), %xmm4           ## xmm4 = mem[0],zero,zero,zero
	movss	%xmm4, -48(%rbp)                ## 4-byte Spill
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movss	(%rax,%rbx,8), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movss	%xmm2, -52(%rbp)                ## 4-byte Spill
	movss	4(%rax,%rbx,8), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	movss	(%r12,%rbx,8), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -76(%rbp)                ## 4-byte Spill
	movss	4(%r12,%rbx,8), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -72(%rbp)                ## 4-byte Spill
	movaps	%xmm4, %xmm0
	addss	%xmm1, %xmm0
	movaps	%xmm3, %xmm1
	addss	%xmm2, %xmm1
	callq	_atan2f
	movss	%xmm0, -68(%rbp)                ## 4-byte Spill
	movss	-112(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_hypotf
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_hypotf
	movss	%xmm0, -60(%rbp)                ## 4-byte Spill
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-112(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_atan2f
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_atan2f
	movss	-60(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-64(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm3
	movaps	%xmm4, %xmm0
	addss	%xmm1, %xmm0
	xorps	%xmm5, %xmm5
	cvtss2sd	%xmm0, %xmm5
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	ucomisd	%xmm5, %xmm2
	movss	%xmm3, -44(%rbp)                ## 4-byte Spill
	jbe	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movaps	%xmm4, %xmm0
	callq	_FFDIFFSIGN
	movss	-60(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-64(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movss	-44(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	jmp	LBB0_5
LBB0_6:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
	.no_dead_strip	_filter_2_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_2_1
_filter_2_1:                            ; @filter_2_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d15, d14, [sp, #16]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #32]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #48]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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 b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	.cfi_offset b12, -120
	.cfi_offset b13, -128
	.cfi_offset b14, -136
	.cfi_offset b15, -144
	ldr	x21, [x0]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
	ldp	x9, x10, [x8]
	ldr	x8, [x8, #16]
	add	x22, x8, #4
	add	x23, x10, #4
	add	x24, x9, #4
	mov	x25, #60813
	movk	x25, #41141, lsl #16
	movk	x25, #50935, lsl #32
	movk	x25, #16048, lsl #48
Lloh0:
	adrp	x26, _M_PI@GOTPAGE
Lloh1:
	ldr	x26, [x26, _M_PI@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	fsub	s1, s13, s14
	fdiv	s15, s1, s0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	fabd	s9, s11, s12
	fmov	s0, s13
	fmov	s1, s14
	bl	_hypotf
	fmov	s8, s0
	ldr	s0, [x26]
	fmov	s1, #2.00000000
	fnmsub	s1, s0, s1, s9
	fcmp	s9, s0
	fcsel	s1, s1, s9, gt
	add	x0, sp, #12
	add	x1, sp, #8
	fmov	s0, s15
	bl	_stereo_position
	ldr	w2, [x21, #16]
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_stereo_transform
	ldr	x8, [x21, #8]
	ldp	s7, s6, [sp, #8]
	mov	x0, x19
	fmov	s0, s11
	fmov	s1, s12
	ldp	s2, s5, [sp]                    ; 8-byte Folded Reload
	fmov	s3, s8
	fmov	s4, s10
	mov	x1, x20
	blr	x8
	add	x20, x20, #1
	ldrsw	x8, [x21]
	add	x22, x22, #8
	add	x23, x23, #8
	add	x24, x24, #8
	cmp	x20, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	s11, s15, [x24, #-4]
	ldp	s12, s8, [x23, #-4]
	ldp	s10, s9, [x22, #-4]
	fadd	s0, s15, s8
	fadd	s1, s11, s12
	bl	_atan2f
	str	s0, [sp]                        ; 4-byte Folded Spill
	fmov	s0, s11
	fmov	s1, s15
	bl	_hypotf
	fmov	s13, s0
	fmov	s0, s12
	fmov	s1, s8
	bl	_hypotf
	fmov	s14, s0
	fmov	s0, s15
	fmov	s1, s11
	bl	_atan2f
	fmov	s11, s0
	fmov	s0, s8
	fmov	s1, s12
	bl	_atan2f
	fmov	s12, s0
	fadd	s0, s13, s14
	fcvt	d1, s0
	fmov	d2, x25
	fcmp	d1, d2
	str	s9, [sp, #4]                    ; 4-byte Folded Spill
	b.pl	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	fmov	s0, s13
	fmov	s1, s14
	bl	_FFDIFFSIGN
	fmov	s15, s0
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #48]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #32]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
	.no_dead_strip	_filter_2_1
.subsections_via_symbols
