	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function fic_draw_cursor
LCPI0_0:
	.long	25                              ## 0x19
	.long	25                              ## 0x19
	.long	25                              ## 0x19
	.long	25                              ## 0x19
LCPI0_1:
	.long	129                             ## 0x81
	.long	129                             ## 0x81
	.long	129                             ## 0x81
	.long	129                             ## 0x81
LCPI0_2:
	.long	66                              ## 0x42
	.long	66                              ## 0x42
	.long	66                              ## 0x42
	.long	66                              ## 0x42
LCPI0_3:
	.long	2155905153                      ## 0x80808081
	.long	2155905153                      ## 0x80808081
	.long	2155905153                      ## 0x80808081
	.long	2155905153                      ## 0x80808081
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.long	4294967258                      ## 0xffffffda
	.long	4294967258                      ## 0xffffffda
	.long	4294967258                      ## 0xffffffda
	.long	4294967258                      ## 0xffffffda
LCPI0_6:
	.long	112                             ## 0x70
	.long	112                             ## 0x70
	.long	112                             ## 0x70
	.long	112                             ## 0x70
LCPI0_7:
	.long	4294967222                      ## 0xffffffb6
	.long	4294967222                      ## 0xffffffb6
	.long	4294967222                      ## 0xffffffb6
	.long	4294967222                      ## 0xffffffb6
LCPI0_8:
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
LCPI0_9:
	.long	4294967278                      ## 0xffffffee
	.long	4294967278                      ## 0xffffffee
	.long	4294967278                      ## 0xffffffee
	.long	4294967278                      ## 0xffffffee
LCPI0_10:
	.long	4294967202                      ## 0xffffffa2
	.long	4294967202                      ## 0xffffffa2
	.long	4294967202                      ## 0xffffffa2
	.long	4294967202                      ## 0xffffffa2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fic_draw_cursor:                       ## @fic_draw_cursor
	.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
	pushq	%rax
	movl	$19544, %eax                    ## imm = 0x4C58
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %r9
	movq	(%r9), %r8
	leaq	16384(%r8), %rcx
	leaq	-16432(%rbp), %rax
	cmpq	%rcx, %rax
	movl	%esi, -19520(%rbp)              ## 4-byte Spill
	jae	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %rcx
	cmpq	%rcx, %r8
	jae	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_6
LBB0_3:
	leaq	16320(%r8), %rcx
	xorl	%eax, %eax
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [2155905153,2155905153,2155905153,2155905153]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [16,16,16,16]
	movdqa	LCPI0_5(%rip), %xmm12           ## xmm12 = [4294967258,4294967258,4294967258,4294967258]
	movdqa	LCPI0_6(%rip), %xmm9            ## xmm9 = [112,112,112,112]
	movdqa	LCPI0_7(%rip), %xmm13           ## xmm13 = [4294967222,4294967222,4294967222,4294967222]
	movdqa	LCPI0_8(%rip), %xmm10           ## xmm10 = [128,128,128,128]
	movdqa	LCPI0_9(%rip), %xmm14           ## xmm14 = [4294967278,4294967278,4294967278,4294967278]
	movdqa	LCPI0_10(%rip), %xmm15          ## xmm15 = [4294967202,4294967202,4294967202,4294967202]
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%r8,%rax,4), %xmm4
	movdqu	16(%r8,%rax,4), %xmm5
	movdqu	32(%r8,%rax,4), %xmm7
	movdqu	48(%r8,%rax,4), %xmm1
	movdqa	%xmm4, %xmm2
	punpckldq	%xmm5, %xmm2            ## xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
	pshufd	$170, %xmm1, %xmm8              ## xmm8 = xmm1[2,2,2,2]
	pblendw	$63, %xmm7, %xmm8               ## xmm8 = xmm7[0,1,2,3,4,5],xmm8[6,7]
	punpckldq	%xmm1, %xmm7            ## xmm7 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
	punpcklqdq	%xmm7, %xmm2            ## xmm2 = xmm2[0],xmm7[0]
	pmulld	LCPI0_0(%rip), %xmm2
	pshufd	$85, %xmm4, %xmm1               ## xmm1 = xmm4[1,1,1,1]
	pblendw	$12, %xmm5, %xmm1               ## xmm1 = xmm1[0,1],xmm5[2,3],xmm1[4,5,6,7]
	pblendw	$240, %xmm7, %xmm1              ## xmm1 = xmm1[0,1,2,3],xmm7[4,5,6,7]
	pmulld	LCPI0_1(%rip), %xmm1
	paddd	%xmm2, %xmm1
	punpckhdq	%xmm5, %xmm4            ## xmm4 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
	pblendw	$240, %xmm8, %xmm4              ## xmm4 = xmm4[0,1,2,3],xmm8[4,5,6,7]
	pmulld	LCPI0_2(%rip), %xmm4
	paddd	%xmm1, %xmm4
	pshufd	$245, %xmm4, %xmm1              ## xmm1 = xmm4[1,1,3,3]
	pmuldq	%xmm3, %xmm1
	movdqa	%xmm4, %xmm2
	pmuldq	%xmm3, %xmm2
	pshufd	$245, %xmm2, %xmm2              ## xmm2 = xmm2[1,1,3,3]
	pblendw	$204, %xmm1, %xmm2              ## xmm2 = xmm2[0,1],xmm1[2,3],xmm2[4,5],xmm1[6,7]
	paddd	%xmm4, %xmm2
	movdqa	%xmm2, %xmm1
	psrld	$31, %xmm1
	psrad	$7, %xmm2
	paddd	%xmm1, %xmm2
	paddd	%xmm11, %xmm2
	movdqa	%xmm2, -16432(%rbp,%rax)
	movdqu	(%r8,%rax,4), %xmm1
	movdqu	16(%r8,%rax,4), %xmm2
	movdqu	32(%r8,%rax,4), %xmm4
	movdqu	48(%r8,%rax,4), %xmm5
	movdqa	%xmm1, %xmm7
	punpckldq	%xmm2, %xmm7            ## xmm7 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
	pshufd	$170, %xmm5, %xmm6              ## xmm6 = xmm5[2,2,2,2]
	pblendw	$63, %xmm4, %xmm6               ## xmm6 = xmm4[0,1,2,3,4,5],xmm6[6,7]
	punpckldq	%xmm5, %xmm4            ## xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
	punpcklqdq	%xmm4, %xmm7            ## xmm7 = xmm7[0],xmm4[0]
	pmulld	%xmm12, %xmm7
	pshufd	$85, %xmm1, %xmm5               ## xmm5 = xmm1[1,1,1,1]
	pblendw	$12, %xmm2, %xmm5               ## xmm5 = xmm5[0,1],xmm2[2,3],xmm5[4,5,6,7]
	pblendw	$240, %xmm4, %xmm5              ## xmm5 = xmm5[0,1,2,3],xmm4[4,5,6,7]
	punpckhdq	%xmm2, %xmm1            ## xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
	pblendw	$240, %xmm6, %xmm1              ## xmm1 = xmm1[0,1,2,3],xmm6[4,5,6,7]
	pmulld	%xmm13, %xmm1
	pmulld	%xmm9, %xmm5
	paddd	%xmm7, %xmm5
	paddd	%xmm1, %xmm5
	pshufd	$245, %xmm5, %xmm1              ## xmm1 = xmm5[1,1,3,3]
	pmuldq	%xmm3, %xmm1
	movdqa	%xmm5, %xmm2
	pmuldq	%xmm3, %xmm2
	pshufd	$245, %xmm2, %xmm2              ## xmm2 = xmm2[1,1,3,3]
	pblendw	$204, %xmm1, %xmm2              ## xmm2 = xmm2[0,1],xmm1[2,3],xmm2[4,5],xmm1[6,7]
	paddd	%xmm5, %xmm2
	movdqa	%xmm2, %xmm1
	psrld	$31, %xmm1
	psrad	$7, %xmm2
	paddd	%xmm1, %xmm2
	paddd	%xmm10, %xmm2
	movdqa	%xmm2, -12336(%rbp,%rax)
	movdqu	(%r8,%rax,4), %xmm4
	movdqu	16(%r8,%rax,4), %xmm1
	movdqu	32(%r8,%rax,4), %xmm0
	movdqu	48(%r8,%rax,4), %xmm6
	movdqa	%xmm4, %xmm7
	punpckldq	%xmm1, %xmm7            ## xmm7 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
	movdqa	%xmm0, %xmm2
	punpckldq	%xmm6, %xmm2            ## xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
	punpcklqdq	%xmm2, %xmm7            ## xmm7 = xmm7[0],xmm2[0]
	pshufd	$85, %xmm4, %xmm5               ## xmm5 = xmm4[1,1,1,1]
	pblendw	$12, %xmm1, %xmm5               ## xmm5 = xmm5[0,1],xmm1[2,3],xmm5[4,5,6,7]
	pblendw	$240, %xmm2, %xmm5              ## xmm5 = xmm5[0,1,2,3],xmm2[4,5,6,7]
	punpckhdq	%xmm1, %xmm4            ## xmm4 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
	pshufd	$170, %xmm6, %xmm1              ## xmm1 = xmm6[2,2,2,2]
	pblendw	$63, %xmm0, %xmm1               ## xmm1 = xmm0[0,1,2,3,4,5],xmm1[6,7]
	punpckhdq	%xmm6, %xmm0            ## xmm0 = xmm0[2],xmm6[2],xmm0[3],xmm6[3]
	pblendw	$15, %xmm4, %xmm1               ## xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
	punpckhqdq	%xmm0, %xmm4            ## xmm4 = xmm4[1],xmm0[1]
	pmulld	%xmm14, %xmm7
	pmulld	%xmm15, %xmm1
	pmulld	%xmm9, %xmm5
	paddd	%xmm7, %xmm5
	paddd	%xmm1, %xmm5
	pshufd	$245, %xmm5, %xmm0              ## xmm0 = xmm5[1,1,3,3]
	pmuldq	%xmm3, %xmm0
	movdqa	%xmm5, %xmm1
	pmuldq	%xmm3, %xmm1
	pshufd	$245, %xmm1, %xmm1              ## xmm1 = xmm1[1,1,3,3]
	pblendw	$204, %xmm0, %xmm1              ## xmm1 = xmm1[0,1],xmm0[2,3],xmm1[4,5],xmm0[6,7]
	paddd	%xmm5, %xmm1
	movdqa	%xmm1, %xmm0
	psrld	$31, %xmm0
	psrad	$7, %xmm1
	paddd	%xmm0, %xmm1
	paddd	%xmm10, %xmm1
	movdqa	%xmm1, -8240(%rbp,%rax)
	movdqa	%xmm4, -4144(%rbp,%rax)
	addq	$16, %rax
	cmpq	$4080, %rax                     ## imm = 0xFF0
	jne	LBB0_4
## %bb.5:
	movl	$1020, %esi                     ## imm = 0x3FC
	movq	%rcx, %r8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8), %ecx
	movl	4(%r8), %eax
	leal	(%rcx,%rcx,4), %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%eax, %ebx
	shll	$7, %ebx
	addl	%eax, %ebx
	addl	%ecx, %ebx
	movl	8(%r8), %eax
	movl	%eax, %ecx
	shll	$6, %ecx
	leal	(%rcx,%rax,2), %ecx
	addl	%ebx, %ecx
	movslq	%ecx, %rcx
	imulq	$-2139062143, %rcx, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %ecx
	movl	%ecx, %eax
	sarl	$7, %eax
	shrl	$31, %ecx
	addl	%eax, %ecx
	addl	$16, %ecx
	movl	%ecx, -16432(%rbp,%rsi,4)
	imull	$-38, (%r8), %ecx
	imull	$112, 4(%r8), %eax
	imull	$-74, 8(%r8), %ebx
	addl	%ecx, %eax
	addl	%eax, %ebx
	movslq	%ebx, %rcx
	imulq	$-2139062143, %rcx, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %ecx
	movl	%ecx, %eax
	sarl	$7, %eax
	shrl	$31, %ecx
	addl	%eax, %ecx
	addl	$128, %ecx
	movl	%ecx, -12336(%rbp,%rsi,4)
	movl	(%r8), %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,8), %ecx
	imull	$112, 4(%r8), %eax
	subl	%ecx, %eax
	imull	$-94, 8(%r8), %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rcx
	imulq	$-2139062143, %rcx, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %ecx
	movl	%ecx, %eax
	sarl	$7, %eax
	shrl	$31, %ecx
	addl	%eax, %ecx
	addl	$128, %ecx
	movl	%ecx, -8240(%rbp,%rsi,4)
	movl	12(%r8), %ecx
	movl	%ecx, -4144(%rbp,%rsi,4)
	incq	%rsi
	addq	$16, %r8
	cmpq	$1024, %rsi                     ## imm = 0x400
	jne	LBB0_6
## %bb.7:
	movq	%rdi, %r8
	leaq	-17456(%rbp), %rax
	leaq	-4016(%rbp), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	-8320(%rcx,%rdi,8), %xmm0
	movaps	-8192(%rcx,%rdi,8), %xmm1
	phaddd	-8304(%rcx,%rdi,8), %xmm0
	movaps	-8176(%rcx,%rdi,8), %xmm2
	movaps	%xmm1, %xmm3
	shufps	$136, %xmm2, %xmm3              ## xmm3 = xmm3[0,2],xmm2[0,2]
	shufps	$221, %xmm2, %xmm1              ## xmm1 = xmm1[1,3],xmm2[1,3]
	paddd	%xmm3, %xmm1
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrad	$31, %xmm0
	psrld	$30, %xmm0
	paddd	%xmm1, %xmm0
	psrad	$2, %xmm0
	movdqa	%xmm0, -2048(%rax,%rdi,4)
	movdqa	-4224(%rcx,%rdi,8), %xmm0
	movaps	-4096(%rcx,%rdi,8), %xmm1
	phaddd	-4208(%rcx,%rdi,8), %xmm0
	movaps	-4080(%rcx,%rdi,8), %xmm2
	movaps	%xmm1, %xmm3
	shufps	$136, %xmm2, %xmm3              ## xmm3 = xmm3[0,2],xmm2[0,2]
	shufps	$221, %xmm2, %xmm1              ## xmm1 = xmm1[1,3],xmm2[1,3]
	paddd	%xmm3, %xmm1
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrad	$31, %xmm0
	psrld	$30, %xmm0
	paddd	%xmm1, %xmm0
	psrad	$2, %xmm0
	movdqa	%xmm0, -1024(%rax,%rdi,4)
	movdqa	-128(%rcx,%rdi,8), %xmm0
	movaps	(%rcx,%rdi,8), %xmm1
	phaddd	-112(%rcx,%rdi,8), %xmm0
	movaps	16(%rcx,%rdi,8), %xmm2
	movaps	%xmm1, %xmm3
	shufps	$136, %xmm2, %xmm3              ## xmm3 = xmm3[0,2],xmm2[0,2]
	shufps	$221, %xmm2, %xmm1              ## xmm1 = xmm1[1,3],xmm2[1,3]
	paddd	%xmm3, %xmm1
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrad	$31, %xmm0
	psrld	$30, %xmm0
	paddd	%xmm1, %xmm0
	psrad	$2, %xmm0
	movdqa	%xmm0, (%rax,%rdi,4)
	addq	$4, %rdi
	cmpq	$16, %rdi
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	2(%rsi), %rdi
	addq	$64, %rax
	addq	$256, %rcx                      ## imm = 0x100
	cmpq	$30, %rsi
	movq	%rdi, %rsi
	jb	LBB0_8
## %bb.11:
	movq	8(%r9), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	(%rcx), %rsi
	movq	%rsi, -19528(%rbp)              ## 8-byte Spill
	movq	8(%rcx), %rsi
	movq	%rsi, -19512(%rbp)              ## 8-byte Spill
	movslq	(%rax), %r13
	movslq	4(%rax), %rbx
	movq	16(%rcx), %r12
	movslq	8(%rax), %r15
	movslq	%edx, %rax
	movq	%r8, -19552(%rbp)               ## 8-byte Spill
	movq	8(%r8), %rsi
	movq	%rax, -19536(%rbp)              ## 8-byte Spill
	subq	%rax, %rsi
	movl	$32, %r14d
	movl	$32, %edi
	movq	%r9, -19544(%rbp)               ## 8-byte Spill
	callq	_FFMIN
	cmpl	$1, %eax
	jle	LBB0_14
## %bb.12:
	movslq	-19520(%rbp), %rdi              ## 4-byte Folded Reload
	movq	-19536(%rbp), %rsi              ## 8-byte Reload
	movl	%esi, %eax
	sarl	%eax
	cltq
	imulq	%rax, %r15
	leaq	(%r12,%r15,4), %rcx
	movl	%edi, %edx
	sarl	%edx
	movslq	%edx, %rdx
	leaq	(%rcx,%rdx,4), %rcx
	addq	$4, %rcx
	movq	%rcx, -19520(%rbp)              ## 8-byte Spill
	imulq	%rax, %rbx
	movq	-19512(%rbp), %rax              ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rax
	leaq	(%rax,%rdx,4), %rax
	addq	$4, %rax
	movq	%rax, -19512(%rbp)              ## 8-byte Spill
	imulq	%rsi, %r13
	movq	-19528(%rbp), %rax              ## 8-byte Reload
	leaq	(%rax,%r13,4), %rax
	movq	%rdi, -19560(%rbp)              ## 8-byte Spill
	leaq	(%rax,%rdi,4), %r13
	xorl	%ecx, %ecx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -19584(%rbp)              ## 8-byte Spill
	movq	%r13, -19528(%rbp)              ## 8-byte Spill
	movq	-19552(%rbp), %rax              ## 8-byte Reload
	movq	(%rax), %rsi
	subq	-19560(%rbp), %rsi              ## 8-byte Folded Reload
	movl	$32, %edi
	callq	_FFMIN
	movl	%eax, %ebx
	movl	%eax, %r15d
	shrl	$31, %r15d
	addl	%eax, %r15d
	sarl	%r15d
	leal	-32(%r14), %eax
	movq	%r14, -19576(%rbp)              ## 8-byte Spill
	leaq	-16432(,%rax,4), %rsi
	addq	%rbp, %rsi
	leaq	-4144(,%rax,4), %rcx
	addq	%rbp, %rcx
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_fic_alpha_blend
	movq	-19544(%rbp), %rax              ## 8-byte Reload
	movq	8(%rax), %rax
	movq	8(%rax), %rax
	movslq	(%rax), %rax
	leaq	(%r13,%rax,4), %rdi
	movl	%r14d, %eax
	leaq	-16432(,%rax,4), %rsi
	addq	%rbp, %rsi
	leaq	-4144(,%rax,4), %rcx
	addq	%rbp, %rcx
	movl	%ebx, %edx
	callq	_fic_alpha_blend
	movq	%r12, -19568(%rbp)              ## 8-byte Spill
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	andl	$-16, %r12d
	leaq	-19504(,%r12,4), %rsi
	addq	%rbp, %rsi
	leaq	-17456(%rbp,%r12,4), %r13
	movq	-19512(%rbp), %r14              ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r15d, %edx
	movq	%r13, %rcx
	callq	_fic_alpha_blend
	leaq	-18480(,%r12,4), %rsi
	addq	%rbp, %rsi
	movq	-19520(%rbp), %rbx              ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movq	%r13, %rcx
	movq	-19528(%rbp), %r13              ## 8-byte Reload
	callq	_fic_alpha_blend
	movq	-19544(%rbp), %rax              ## 8-byte Reload
	movq	8(%rax), %rax
	movq	8(%rax), %rax
	movslq	(%rax), %rcx
	leaq	(%r13,%rcx,8), %r13
	movslq	4(%rax), %rcx
	leaq	(%r14,%rcx,4), %r14
	movq	%r14, -19512(%rbp)              ## 8-byte Spill
	movslq	8(%rax), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%rbx, -19520(%rbp)              ## 8-byte Spill
	movq	-19552(%rbp), %rax              ## 8-byte Reload
	movq	8(%rax), %rsi
	subq	-19536(%rbp), %rsi              ## 8-byte Folded Reload
	movl	$32, %edi
	callq	_FFMIN
	movq	-19584(%rbp), %rcx              ## 8-byte Reload
	decl	%eax
	movq	-19568(%rbp), %r12              ## 8-byte Reload
	addq	$16, %r12
	movq	-19576(%rbp), %r14              ## 8-byte Reload
	addl	$64, %r14d
	addl	$2, %ecx
	cmpl	%ecx, %eax
	jg	LBB0_13
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$19544, %rsp                    ## imm = 0x4C58
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fic_draw_cursor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fic_draw_cursor
_fic_draw_cursor:                       ; @fic_draw_cursor
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w27, -88
	.cfi_offset w28, -96
	mov	w9, #19520
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #4, lsl #12             ; =16384
	sub	sp, sp, #3136
	mov	x28, x2
	mov	x21, x1
	mov	x26, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x4, [x0, #16]
	ldr	x9, [x4]
	add	x8, sp, #3120
	add	x10, x8, #4, lsl #12            ; =16384
	add	x11, x9, #4, lsl #12            ; =16384
	cmp	x8, x11
	ccmp	x9, x10, #2, lo
	b.lo	LBB0_4
; %bb.1:
	mov	x10, #0
	movi.4s	v0, #25
	movi.4s	v1, #129
	movi.4s	v2, #66
	mov	w11, #32897
	movk	w11, #32896, lsl #16
	dup.4s	v3, w11
	mov	w11, #16320
	movi.4s	v4, #16
	add	x12, x9, x11
	mvni.4s	v5, #37
	movi.4s	v6, #112
	mvni.4s	v7, #73
	movi.4s	v16, #128
	mvni.4s	v17, #17
	mov	w11, #1020
	mvni.4s	v18, #93
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ld4.4s	{ v19, v20, v21, v22 }, [x9]
	mul.4s	v23, v19, v0
	mla.4s	v23, v20, v1
	mla.4s	v23, v21, v2
	smull2.2d	v19, v23, v3
	smull.2d	v20, v23, v3
	uzp2.4s	v19, v20, v19
	add.4s	v19, v19, v23
	sshr.4s	v20, v19, #7
	usra.4s	v20, v19, #31
	add.4s	v19, v20, v4
	add	x13, x8, x10
	str	q19, [x13]
	ld4.4s	{ v19, v20, v21, v22 }, [x9]
	mul.4s	v23, v19, v5
	mla.4s	v23, v20, v6
	mla.4s	v23, v21, v7
	smull2.2d	v19, v23, v3
	smull.2d	v20, v23, v3
	uzp2.4s	v19, v20, v19
	add.4s	v19, v19, v23
	sshr.4s	v20, v19, #7
	usra.4s	v20, v19, #31
	add.4s	v19, v20, v16
	str	q19, [x13, #4096]
	ld4.4s	{ v19, v20, v21, v22 }, [x9], #64
	mul.4s	v23, v19, v17
	mla.4s	v23, v20, v6
	mla.4s	v23, v21, v18
	smull2.2d	v24, v23, v3
	smull.2d	v25, v23, v3
	uzp2.4s	v24, v25, v24
	add.4s	v23, v24, v23
	sshr.4s	v24, v23, #7
	usra.4s	v24, v23, #31
	add.4s	v23, v24, v16
	str	q23, [x13, #8192]
	str	q22, [x13, #12288]
	add	x10, x10, #16
	cmp	x10, #4080
	b.ne	LBB0_2
; %bb.3:
	mov	x9, x12
	b	LBB0_5
LBB0_4:
	mov	x11, #0
LBB0_5:
	lsl	x10, x11, #2
	mov	w11, #25
	mov	w12, #66
	mov	w13, #32897
	movk	w13, #32896, lsl #16
	mov	w14, #-38
	mov	w15, #112
	mov	w16, #-74
	mov	w17, #-18
	mov	w0, #-94
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w2, [x9]
	add	w2, w2, w2, lsl #7
	madd	w1, w1, w11, w2
	ldr	w2, [x9, #8]
	madd	w1, w2, w12, w1
	smull	x2, w1, w13
	lsr	x2, x2, #32
	add	w1, w2, w1
	asr	w2, w1, #7
	add	w1, w2, w1, lsr #31
	add	w1, w1, #16
	add	x2, x8, x10
	str	w1, [x2]
	ldp	w1, w3, [x9]
	mul	w1, w1, w14
	madd	w1, w3, w15, w1
	ldr	w3, [x9, #8]
	madd	w1, w3, w16, w1
	smull	x3, w1, w13
	lsr	x3, x3, #32
	add	w1, w3, w1
	asr	w3, w1, #7
	add	w1, w3, w1, lsr #31
	add	w1, w1, #128
	str	w1, [x2, #4096]
	ldp	w1, w3, [x9]
	mul	w1, w1, w17
	madd	w1, w3, w15, w1
	ldr	w3, [x9, #8]
	madd	w1, w3, w0, w1
	smull	x3, w1, w13
	lsr	x3, x3, #32
	add	w1, w3, w1
	asr	w3, w1, #7
	add	w1, w3, w1, lsr #31
	add	w1, w1, #128
	str	w1, [x2, #8192]
	ldr	w1, [x9, #12]
	str	w1, [x2, #12288]
	add	x10, x10, #4
	add	x9, x9, #16
	cmp	x10, #1, lsl #12                ; =4096
	b.ne	LBB0_6
; %bb.7:
	mov	x9, #0
	add	x8, sp, #3120
	add	x10, sp, #48
	mov	w11, #4224
	mov	w12, #8320
	mov	w13, #12416
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x14, #0
	mov	x15, x8
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x16, x15, #1, lsl #12           ; =4096
	ld2.4s	{ v0, v1 }, [x16]
	add.4s	v0, v1, v0
	add	x16, x15, x11
	ld2.4s	{ v1, v2 }, [x16]
	add.4s	v0, v0, v1
	add.4s	v0, v0, v2
	cmlt.4s	v1, v0, #0
	usra.4s	v0, v1, #30
	sshr.4s	v0, v0, #2
	add	x16, x10, x14
	str	q0, [x16]
	add	x17, x15, #2, lsl #12           ; =8192
	ld2.4s	{ v0, v1 }, [x17]
	add.4s	v0, v1, v0
	add	x17, x15, x12
	ld2.4s	{ v1, v2 }, [x17]
	add.4s	v0, v0, v1
	add.4s	v0, v0, v2
	cmlt.4s	v1, v0, #0
	add	x17, x15, #3, lsl #12           ; =12288
	ld2.4s	{ v2, v3 }, [x17]
	usra.4s	v0, v1, #30
	add	x17, x15, x13
	ld2.4s	{ v4, v5 }, [x17]
	sshr.4s	v0, v0, #2
	str	q0, [x16, #1024]
	add.4s	v0, v3, v2
	add.4s	v0, v0, v4
	add.4s	v0, v0, v5
	cmlt.4s	v1, v0, #0
	usra.4s	v0, v1, #30
	sshr.4s	v0, v0, #2
	str	q0, [x16, #2048]
	add	x14, x14, #16
	add	x15, x15, #32
	cmp	x14, #64
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x14, x9, #2
	add	x8, x8, #256
	add	x10, x10, #64
	cmp	x9, #30
	mov	x9, x14
	b.lo	LBB0_8
; %bb.11:
	ldr	x8, [x4, #8]
	ldp	x9, x8, [x8]
	ldp	x20, x22, [x9]
	ldp	w23, w24, [x8]
	ldr	x25, [x9, #16]
	ldr	w27, [x8, #8]
	sxtw	x9, w28
	ldr	x8, [x26, #8]
	stp	x4, x9, [sp, #24]               ; 16-byte Folded Spill
	sub	x1, x8, x9
	mov	w0, #32
	bl	_FFMIN
	cmp	w0, #1
	b.le	LBB0_14
; %bb.12:
	mov	x19, x26
	mov	x11, x28
	mov	w28, #0
	mov	x26, #0
	asr	w8, w11, #1
	mul	w9, w27, w8
	add	x9, x25, w9, sxtw #2
	mul	w8, w24, w8
	sxtw	x12, w21
	asr	w10, w21, #1
	sbfiz	x10, x10, #2, #32
	add	x9, x9, x10
	add	x21, x9, #4
	add	x8, x22, w8, sxtw #2
	add	x8, x8, x10
	add	x22, x8, #4
	mul	w8, w23, w11
	add	x8, x20, w8, sxtw #2
	stp	x12, x19, [sp, #8]              ; 16-byte Folded Spill
	add	x20, x8, x12, lsl #2
	mov	w27, #32
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	sub	x1, x8, x9
	mov	w0, #32
	bl	_FFMIN
	mov	x23, x0
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	sub	w8, w27, #32
	lsl	x8, x8, #2
	add	x24, sp, #3120
	add	x1, x24, x8
	add	x25, x24, #3, lsl #12           ; =12288
	add	x3, x25, x8
	mov	x0, x20
	mov	x2, x23
	bl	_fic_alpha_blend
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldrsw	x8, [x8]
	add	x0, x20, x8, lsl #2
	mov	w8, w27
	lsl	x8, x8, #2
	add	x1, x24, x8
	add	x3, x25, x8
	mov	x2, x23
	bl	_fic_alpha_blend
	and	x8, x26, #0xfffffff0
	add	x9, sp, #48
	add	x23, x9, x8, lsl #2
	add	x25, x23, #2048
	mov	x0, x22
	mov	x1, x23
	ldr	w24, [sp, #44]                  ; 4-byte Folded Reload
	mov	x2, x24
	mov	x3, x25
	bl	_fic_alpha_blend
	add	x1, x23, #1024
	mov	x0, x21
	mov	x2, x24
	mov	x3, x25
	bl	_fic_alpha_blend
	ldr	x8, [x19, #8]
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldpsw	x9, x10, [x8]
	add	x20, x20, x9, lsl #3
	add	x22, x22, x10, lsl #2
	ldrsw	x8, [x8, #8]
	add	x21, x21, x8, lsl #2
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	sub	x1, x8, x9
	mov	w0, #32
	bl	_FFMIN
	sub	w8, w0, #1
	add	x26, x26, #16
	add	w27, w27, #64
	add	w28, w28, #2
	cmp	w8, w28
	b.gt	LBB0_13
LBB0_14:
	ldur	x8, [x29, #-96]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	add	sp, sp, #4, lsl #12             ; =16384
	add	sp, sp, #3136
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fic_draw_cursor
.subsections_via_symbols
