	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Fade                           ## -- Begin function Fade
	.p2align	4, 0x90
_Fade:                                  ## @Fade
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_WINDOW_FADINGOUT@GOTPCREL(%rip), %r10
	movq	_WINDOW_FADINGIN@GOTPCREL(%rip), %r9
	movl	(%r9), %eax
	orl	(%r10), %eax
	testl	%eax, (%rdi)
	je	LBB0_10
## %bb.1:
	movq	_DC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	(%rdx), %eax
	jle	LBB0_10
## %bb.2:
	addl	%ecx, %eax
	movl	%eax, (%rdx)
	movl	(%rdi), %ecx
	movl	(%r10), %edx
	movss	(%rsi), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	testl	%ecx, %edx
	je	LBB0_6
## %bb.3:
	subss	%xmm1, %xmm2
	movss	%xmm2, (%rsi)
	testq	%r8, %r8
	je	LBB0_10
## %bb.4:
	xorps	%xmm0, %xmm0
	ucomiss	%xmm2, %xmm0
	jb	LBB0_10
## %bb.5:
	movq	_WINDOW_VISIBLE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	jmp	LBB0_9
LBB0_6:
	addss	%xmm1, %xmm2
	movss	%xmm2, (%rsi)
	ucomiss	%xmm0, %xmm2
	jb	LBB0_10
## %bb.7:
	movss	%xmm0, (%rsi)
	testq	%r8, %r8
	je	LBB0_10
## %bb.8:
	movl	(%r9), %edx
LBB0_9:
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, (%rdi)
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINDOW_FADINGOUT,4,2           ## @WINDOW_FADINGOUT
	.comm	_WINDOW_FADINGIN,4,2            ## @WINDOW_FADINGIN
	.comm	_DC,8,3                         ## @DC
	.comm	_WINDOW_VISIBLE,4,2             ## @WINDOW_VISIBLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Fade                           ; -- Begin function Fade
	.p2align	2
_Fade:                                  ; @Fade
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x10, _WINDOW_FADINGOUT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WINDOW_FADINGOUT@GOTPAGEOFF]
	ldr	w11, [x10]
Lloh2:
	adrp	x9, _WINDOW_FADINGIN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WINDOW_FADINGIN@GOTPAGEOFF]
	ldr	w12, [x9]
	orr	w11, w12, w11
	tst	w11, w8
	b.eq	LBB0_10
; %bb.1:
Lloh4:
	adrp	x8, _DC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DC@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	w11, [x2]
	cmp	w8, w11
	b.le	LBB0_10
; %bb.2:
	add	w8, w8, w3
	str	w8, [x2]
	ldr	w8, [x0]
	ldr	w10, [x10]
	ldr	s2, [x1]
	tst	w10, w8
	b.eq	LBB0_6
; %bb.3:
	fsub	s0, s2, s1
	str	s0, [x1]
	cbz	x4, LBB0_10
; %bb.4:
	fcmp	s0, #0.0
	b.hi	LBB0_10
; %bb.5:
Lloh7:
	adrp	x9, _WINDOW_VISIBLE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WINDOW_VISIBLE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w9, w9, w10
	b	LBB0_9
LBB0_6:
	fadd	s1, s2, s1
	str	s1, [x1]
	fcmp	s1, s0
	b.lt	LBB0_10
; %bb.7:
	str	s0, [x1]
	cbz	x4, LBB0_10
; %bb.8:
	ldr	w9, [x9]
LBB0_9:
	bic	w8, w8, w9
	str	w8, [x0]
LBB0_10:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_WINDOW_FADINGOUT,4,2           ; @WINDOW_FADINGOUT
	.comm	_WINDOW_FADINGIN,4,2            ; @WINDOW_FADINGIN
	.comm	_DC,8,3                         ; @DC
	.comm	_WINDOW_VISIBLE,4,2             ; @WINDOW_VISIBLE
.subsections_via_symbols
