	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function on_off_gradient
LCPI0_0:
	.long	0xbf800000                      ## float -1
LCPI0_1:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0x40400000                      ## float 3
LCPI0_3:
	.long	0x3f000000                      ## float 0.5
LCPI0_4:
	.long	0x437f0000                      ## float 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_on_off_gradient:                       ## @on_off_gradient
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_M_PI@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm4
	addss	LCPI0_0(%rip), %xmm2
	addss	%xmm3, %xmm4
	divss	%xmm2, %xmm1
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm2
	mulss	%xmm4, %xmm2
	mulss	%xmm4, %xmm0
	addss	%xmm2, %xmm0
	subss	%xmm3, %xmm0
	ucomiss	%xmm4, %xmm0
	mulss	LCPI0_2(%rip), %xmm3
	jbe	LBB0_3
## %bb.1:
	ucomiss	%xmm0, %xmm3
	jbe	LBB0_3
## %bb.2:
	callq	_cosf
	addss	LCPI0_1(%rip), %xmm0
	mulss	LCPI0_3(%rip), %xmm0
	mulss	LCPI0_4(%rip), %xmm0
	cvttss2si	%xmm0, %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%ecx, %ecx
	ucomiss	%xmm3, %xmm0
	movl	$255, %eax
	cmovael	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
	.no_dead_strip	_on_off_gradient
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_off_gradient
_on_off_gradient:                       ; @on_off_gradient
	.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, _M_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh2:
	ldr	s3, [x8]
	fadd	s4, s3, s3
	fmov	s5, #-1.00000000
	fadd	s2, s2, s5
	fdiv	s1, s1, s2
	fmov	s8, #1.00000000
	fsub	s1, s8, s1
	fmul	s1, s1, s4
	fmadd	s0, s0, s4, s1
	fsub	s0, s0, s3
	fmov	s1, #3.00000000
	fmul	s1, s3, s1
	fcmp	s4, s0
	fccmp	s0, s1, #0, mi
	b.mi	LBB0_2
; %bb.1:
	fcmp	s0, s1
	mov	w8, #255
	csel	w0, w8, wzr, lt
	b	LBB0_3
LBB0_2:
	bl	_cosf
	fadd	s0, s0, s8
	fmov	s1, #0.50000000
	fmul	s0, s0, s1
	mov	w8, #1132396544
	fmov	s1, w8
	fmul	s0, s0, s1
	fcvtzs	w0, s0
LBB0_3:
	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	_M_PI,4,2                       ; @M_PI
	.no_dead_strip	_on_off_gradient
.subsections_via_symbols
