	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function chebyshev2_bp_filter
LCPI0_0:
	.quad	0x4034000000000000              ## double 20
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_3:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_4:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_chebyshev2_bp_filter:                  ## @chebyshev2_bp_filter
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movapd	%xmm0, %xmm5
	movl	%esi, %r14d
	movq	%rdi, %r12
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm2
	jne	LBB0_3
	jp	LBB0_3
## %bb.1:
	ucomisd	%xmm0, %xmm4
	jne	LBB0_3
	jp	LBB0_3
## %bb.2:
	movq	(%r12), %rax
	movapd	LCPI0_4(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movupd	%xmm0, (%rax)
	jmp	LBB0_6
LBB0_3:
	divsd	LCPI0_0(%rip), %xmm2
	movapd	%xmm2, %xmm0
	movsd	%xmm5, -88(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -104(%rbp)               ## 8-byte Spill
	movsd	%xmm4, -48(%rbp)                ## 8-byte Spill
	movsd	%xmm3, -80(%rbp)                ## 8-byte Spill
	callq	_ff_exp10
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	-80(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	divsd	LCPI0_0(%rip), %xmm0
	callq	_ff_exp10
	movsd	%xmm0, -72(%rbp)                ## 8-byte Spill
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	divsd	LCPI0_0(%rip), %xmm0
	callq	_ff_exp10
	movsd	%xmm0, -96(%rbp)                ## 8-byte Spill
	movsd	-56(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	movsd	-72(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm1
	subsd	%xmm1, %xmm3
	movapd	%xmm0, %xmm2
	mulsd	%xmm0, %xmm2
	subsd	%xmm2, %xmm1
	divsd	%xmm1, %xmm3
	cvttsd2si	%xmm3, %edi
	callq	_sqrt
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	%xmm0, -112(%rbp)               ## 8-byte Spill
	divsd	%xmm0, %xmm1
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_pow
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	%xmm0, %xmm0
	addsd	LCPI0_1(%rip), %xmm0
	cvttsd2si	%xmm0, %r15d
	movl	%r15d, %edi
	callq	_sqrt
	addsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	-64(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_pow
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movl	%r15d, %edi
	callq	_sqrt
	mulsd	-72(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	-96(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	-48(%rbp), %xmm1                ## 8-byte Folded Reload
	addsd	%xmm1, %xmm0
	movsd	-64(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_pow
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movsd	-104(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	LCPI0_2(%rip), %xmm0
	callq	_tan
	movsd	%xmm0, -72(%rbp)                ## 8-byte Spill
	movsd	-88(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_cos
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	cmpl	$2, %r14d
	jl	LBB0_6
## %bb.4:
	movl	%r14d, %r15d
	shrl	$31, %r15d
	addl	%r14d, %r15d
	sarl	%r15d
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	%xmm1, %xmm0
	subsd	%xmm0, %xmm1
	movsd	LCPI0_2(%rip), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm1
	movsd	-80(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	%xmm0, %xmm0
	movsd	-48(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	divsd	%xmm2, %xmm0
	subsd	%xmm0, %xmm2
	mulsd	%xmm3, %xmm2
	movsd	%xmm2, -48(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	addsd	%xmm1, %xmm1
	movsd	%xmm1, -88(%rbp)                ## 8-byte Spill
	incl	%r15d
	movl	$1, %ebx
	xorl	%r14d, %r14d
	movq	_M_PI@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	addsd	%xmm0, %xmm0
	addsd	LCPI0_3(%rip), %xmm0
	divsd	-112(%rbp), %xmm0               ## 8-byte Folded Reload
	mulsd	(%r13), %xmm0
	mulsd	LCPI0_2(%rip), %xmm0
	callq	___sincos_stret
	movapd	%xmm0, %xmm4
	movsd	-88(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	%xmm4, %xmm0
	movsd	-72(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm0
	movapd	%xmm2, %xmm5
	mulsd	%xmm2, %xmm5
	addsd	%xmm0, %xmm5
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm3
	mulsd	%xmm0, %xmm3
	addsd	%xmm5, %xmm3
	movapd	%xmm1, %xmm6
	mulsd	%xmm1, %xmm6
	addsd	%xmm3, %xmm6
	movq	(%r12), %rdi
	addq	%r14, %rdi
	movsd	-80(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	movsd	-48(%rbp), %xmm5                ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
	movsd	-64(%rbp), %xmm7                ## 8-byte Reload
                                        ## xmm7 = mem[0],zero
	callq	_chebyshev2_fo_section
	incq	%rbx
	addq	$8, %r14
	cmpq	%rbx, %r15
	jne	LBB0_5
LBB0_6:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,8,3                       ## @M_PI
	.no_dead_strip	_chebyshev2_bp_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chebyshev2_bp_filter
_chebyshev2_bp_filter:                  ; @chebyshev2_bp_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	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	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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 b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	.cfi_offset b12, -104
	.cfi_offset b13, -112
	.cfi_offset b14, -120
	.cfi_offset b15, -128
	fmov	d8, d4
	fmov	d11, d3
	mov	x20, x1
	mov	x19, x0
	cmp	w1, #0
	cinc	w22, w1, lt
	fcmp	d2, #0.0
	b.ne	LBB0_3
; %bb.1:
	fcmp	d8, #0.0
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19]
	movi.4s	v0, #1
	str	q0, [x8]
	b	LBB0_6
LBB0_3:
	fmov	d9, #20.00000000
	stp	d1, d0, [sp]                    ; 16-byte Folded Spill
	fdiv	d0, d2, d9
	bl	_ff_exp10
	fmov	d12, d0
	fdiv	d0, d11, d9
	bl	_ff_exp10
	fmov	d13, d0
	fdiv	d0, d8, d9
	bl	_ff_exp10
	fmov	d10, d0
	fneg	d0, d13
	fmul	d0, d13, d0
	fmadd	d0, d12, d12, d0
	fneg	d1, d10
	fmul	d1, d10, d1
	fmadd	d1, d13, d13, d1
	fdiv	d0, d0, d1
	fcvtzs	w0, d0
	bl	_sqrt
	fmov	d15, d0
	scvtf	d14, w20
	fmov	d11, #1.00000000
	fdiv	d9, d11, d14
	fmov	d0, d12
	fmov	d1, d9
	bl	_pow
	fmov	d8, d0
	fmadd	d0, d15, d15, d11
	fcvtzs	w21, d0
	mov	x0, x21
	bl	_sqrt
	fadd	d0, d15, d0
	fmov	d1, d9
	bl	_pow
	fmov	d11, d0
	mov	x0, x21
	bl	_sqrt
	fmul	d0, d13, d0
	fmadd	d0, d10, d15, d0
	fmov	d1, d9
	bl	_pow
	fmov	d12, d0
	fmov	d0, #0.50000000
	ldr	d1, [sp]                        ; 8-byte Folded Reload
	fmul	d0, d1, d0
	bl	_tan
	fmov	d10, d0
	ldr	d0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_cos
	cmp	w20, #2
	b.lt	LBB0_6
; %bb.4:
	fmov	d9, d0
	mov	x20, #0
	asr	w8, w22, #1
	fmov	d0, #1.00000000
	fdiv	d0, d0, d11
	fsub	d0, d11, d0
	fmov	d1, #0.50000000
	fmul	d11, d0, d1
	fmul	d0, d8, d8
	fdiv	d0, d0, d12
	fsub	d0, d12, d0
	fmul	d12, d0, d1
	fadd	d15, d11, d11
	add	w21, w8, #1
	mov	w22, #1
	fmov	d13, #2.00000000
Lloh0:
	adrp	x23, _M_PI@GOTPAGE
Lloh1:
	ldr	x23, [x23, _M_PI@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d0, w22
	fmov	d1, #-1.00000000
	fmadd	d0, d0, d13, d1
	fdiv	d0, d0, d14
	ldr	d1, [x23]
	fmul	d0, d0, d1
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	bl	___sincos_stret
	fmov	d4, d0
	fmul	d0, d15, d0
	fmul	d0, d10, d0
	fmadd	d0, d10, d10, d0
	fmadd	d0, d11, d11, d0
	fmadd	d6, d1, d1, d0
	ldr	x8, [x19]
	add	x0, x8, x20
	fmov	d0, d11
	fmov	d2, d10
	fmov	d3, d8
	fmov	d5, d12
	fmov	d7, d9
	bl	_chebyshev2_fo_section
	add	x22, x22, #1
	add	x20, x20, #8
	cmp	x21, x22
	b.ne	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [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, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,8,3                       ; @M_PI
	.no_dead_strip	_chebyshev2_bp_filter
.subsections_via_symbols
