	.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_generalized_cubic
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x4014000000000000              ## double 5
LCPI0_2:
	.quad	0xc020000000000000              ## double -8
LCPI0_3:
	.quad	0xc010000000000000              ## double -4
LCPI0_4:
	.quad	0x4000000000000000              ## double 2
LCPI0_5:
	.quad	0x4008000000000000              ## double 3
LCPI0_6:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter_generalized_cubic:              ## @filter_generalized_cubic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_DEFAULT_FILTER_GENERALIZED_CUBIC@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	movaps	%xmm1, -16(%rbp)                ## 16-byte Spill
	callq	_fabs
	xorps	%xmm1, %xmm1
	cvtsi2sd	%rax, %xmm1
	movapd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm2
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	movapd	-16(%rbp), %xmm3                ## 16-byte Reload
	xorpd	%xmm0, %xmm0
	cmpq	$1, %rax
	jne	LBB0_4
## %bb.3:
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0]
	movapd	%xmm3, %xmm4
	xorpd	%xmm3, %xmm0
	movsd	LCPI0_1(%rip), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm4, %xmm3
	mulsd	%xmm2, %xmm3
	mulsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	addsd	%xmm3, %xmm2
	mulsd	LCPI0_2(%rip), %xmm4
	mulsd	%xmm1, %xmm4
	addsd	%xmm2, %xmm4
	mulsd	LCPI0_3(%rip), %xmm0
	addsd	%xmm4, %xmm0
	jmp	LBB0_4
LBB0_1:
	movsd	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero
	movapd	-16(%rbp), %xmm4                ## 16-byte Reload
	subsd	%xmm4, %xmm0
	mulsd	%xmm2, %xmm0
	movsd	LCPI0_5(%rip), %xmm3            ## xmm3 = mem[0],zero
	subsd	%xmm4, %xmm3
	mulsd	%xmm2, %xmm3
	mulsd	%xmm1, %xmm0
	subsd	%xmm3, %xmm0
	addsd	LCPI0_6(%rip), %xmm0
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_FILTER_GENERALIZED_CUBIC,8,3 ## @DEFAULT_FILTER_GENERALIZED_CUBIC
	.no_dead_strip	_filter_generalized_cubic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_generalized_cubic
_filter_generalized_cubic:              ; @filter_generalized_cubic
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-32]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
Lloh0:
	adrp	x8, _DEFAULT_FILTER_GENERALIZED_CUBIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFAULT_FILTER_GENERALIZED_CUBIC@GOTPAGEOFF]
Lloh2:
	ldr	d8, [x8]
	bl	_fabs
	scvtf	d1, x0
	fmul	d2, d1, d1
	cmp	x0, #0
	b.le	LBB0_3
; %bb.1:
	movi	d0, #0000000000000000
	cmp	x0, #1
	b.ne	LBB0_4
; %bb.2:
	fneg	d0, d8
	fmul	d3, d2, d0
	fmov	d4, #5.00000000
	fmul	d4, d8, d4
	fmul	d2, d4, d2
	fmadd	d2, d3, d1, d2
	fmov	d3, #-8.00000000
	fmul	d3, d8, d3
	fmadd	d1, d3, d1, d2
	fmov	d2, #-4.00000000
	fmadd	d0, d0, d2, d1
	b	LBB0_4
LBB0_3:
	fmov	d0, #2.00000000
	fsub	d0, d0, d8
	fmul	d0, d0, d2
	fmov	d3, #3.00000000
	fsub	d3, d3, d8
	fneg	d3, d3
	fmul	d2, d2, d3
	fmadd	d0, d0, d1, d2
	fmov	d1, #1.00000000
	fadd	d0, d0, d1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_FILTER_GENERALIZED_CUBIC,8,3 ; @DEFAULT_FILTER_GENERALIZED_CUBIC
	.no_dead_strip	_filter_generalized_cubic
.subsections_via_symbols
