	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_cursor
_put_cursor:                            ## @put_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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movslq	(%rdx), %rbx
	movq	8(%rdx), %rdi
	movq	16(%rdx), %r8
	movq	%rbx, %rcx
	addq	%r8, %rcx
	movl	%edi, %eax
	subl	%r8d, %eax
	cmpq	%rcx, %rdi
	cmovgel	%ebx, %eax
	movslq	24(%rdx), %r10
	movq	32(%rdx), %rbx
	movq	40(%rdx), %rcx
	movq	%r10, %rdi
	addq	%rcx, %rdi
	movl	%ebx, %r9d
	subl	%ecx, %r9d
	cmpq	%rdi, %rbx
	cmovgel	%r10d, %r9d
	movl	%r8d, %r10d
	sarl	$31, %r10d
	andl	%r8d, %r10d
	addl	%eax, %r10d
	testl	%r10d, %r10d
	jle	LBB0_59
## %bb.1:
	movl	%ecx, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	addl	%eax, %r9d
	testl	%r9d, %r9d
	jle	LBB0_59
## %bb.2:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovlel	%eax, %ecx
	testl	%r8d, %r8d
	cmovgl	%r8d, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	48(%rdx), %edi
	imull	%edi, %eax
	imull	%esi, %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rcx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rcx,4), %rax
	cmpl	$4, %edi
	je	LBB0_23
## %bb.3:
	cmpl	$2, %edi
	je	LBB0_41
## %bb.4:
	cmpl	$1, %edi
	jne	LBB0_59
## %bb.5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	56(%rcx), %r11
	movq	64(%rcx), %rcx
	movslq	%esi, %r8
	movl	%r10d, %ebx
	addq	%rbx, -56(%rbp)                 ## 8-byte Folded Spill
	movl	%ebx, %edi
	andl	$-8, %edi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	addq	$-8, %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movq	%rsi, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	andq	$-2, %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	negq	%rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	leaq	(,%r8,4), %r15
	xorl	%r12d, %r12d
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%rdx), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	leaq	(%r11,%rsi,4), %r11
	addq	%r15, %rax
	incq	%r12
	cmpl	%r9d, %r12d
	je	LBB0_59
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	cmpl	$8, %r10d
	jae	LBB0_13
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdi, %rsi
	testb	$1, %bl
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r11,%rdi,4), %esi
	andl	(%rax,%rdi,4), %esi
	xorl	(%rcx,%rdi,4), %esi
	movl	%esi, (%rax,%rdi,4)
	movq	%rdi, %rsi
	orq	$1, %rsi
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	notq	%rdi
	cmpq	-104(%rbp), %rdi                ## 8-byte Folded Reload
	je	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r11,%rsi,4), %edi
	andl	(%rax,%rsi,4), %edi
	xorl	(%rcx,%rsi,4), %edi
	movl	%edi, (%rax,%rsi,4)
	movl	4(%r11,%rsi,4), %edi
	andl	4(%rax,%rsi,4), %edi
	xorl	4(%rcx,%rsi,4), %edi
	movl	%edi, 4(%rax,%rsi,4)
	addq	$2, %rsi
	cmpq	%rsi, %rbx
	jne	LBB0_12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rsi
	imulq	-96(%rbp), %rsi                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rsi,4), %rdi
	leaq	(%r11,%rbx,4), %rsi
	leaq	(%rcx,%rbx,4), %r14
	cmpq	%rsi, %rax
	setb	%r8b
	cmpq	%rdi, %r11
	setb	%r13b
	cmpq	%r14, %rax
	setb	%sil
	cmpq	%rdi, %rcx
	setb	%r14b
	testb	%r13b, %r8b
	jne	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, %edi
	andb	%r14b, %sil
	jne	LBB0_9
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%r11,%r14,4), %xmm0
	movups	16(%r11,%r14,4), %xmm1
	movups	(%rax,%r14,4), %xmm2
	andps	%xmm0, %xmm2
	movups	16(%rax,%r14,4), %xmm0
	andps	%xmm1, %xmm0
	movups	32(%rax,%r14,4), %xmm1
	movups	48(%rax,%r14,4), %xmm3
	movups	(%rcx,%r14,4), %xmm4
	xorps	%xmm2, %xmm4
	movups	16(%rcx,%r14,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	%xmm4, (%rax,%r14,4)
	movups	%xmm2, 16(%rax,%r14,4)
	movups	32(%r11,%r14,4), %xmm0
	andps	%xmm1, %xmm0
	movups	48(%r11,%r14,4), %xmm1
	andps	%xmm3, %xmm1
	movups	32(%rcx,%r14,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	48(%rcx,%r14,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, 32(%rax,%r14,4)
	movups	%xmm0, 48(%rax,%r14,4)
	addq	$16, %r14
	addq	$-2, %rsi
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movups	(%rax,%r14,4), %xmm0
	movups	16(%rax,%r14,4), %xmm1
	movups	(%r11,%r14,4), %xmm2
	andps	%xmm0, %xmm2
	movups	16(%r11,%r14,4), %xmm0
	andps	%xmm1, %xmm0
	movups	(%rcx,%r14,4), %xmm1
	xorps	%xmm2, %xmm1
	movups	16(%rcx,%r14,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	%xmm1, (%rax,%r14,4)
	movups	%xmm2, 16(%rax,%r14,4)
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rdi
	cmpq	%rbx, %rsi
	je	LBB0_6
	jmp	LBB0_9
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r14d, %r14d
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_19
	jmp	LBB0_20
LBB0_23:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	56(%rcx), %r11
	movq	64(%rcx), %rcx
	movslq	%esi, %r8
	movl	%r10d, %ebx
	addq	%rbx, -56(%rbp)                 ## 8-byte Folded Spill
	movl	%ebx, %edi
	andl	$-8, %edi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	addq	$-8, %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movq	%rsi, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	andq	$-2, %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	negq	%rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	leaq	(,%r8,4), %rdx
	xorl	%r12d, %r12d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%rsi), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	leaq	(%r11,%rsi,4), %r11
	addq	%rdx, %rax
	incq	%r12
	cmpl	%r9d, %r12d
	je	LBB0_59
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_31 Depth 2
                                        ##     Child Loop BB0_39 Depth 2
	cmpl	$8, %r10d
	jb	LBB0_35
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%r12, %rsi
	imulq	-96(%rbp), %rsi                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rsi,4), %rsi
	leaq	(%r11,%rbx,4), %rdi
	leaq	(%rcx,%rbx,4), %r8
	cmpq	%rdi, %rax
	setb	%r13b
	cmpq	%rsi, %r11
	setb	%r15b
	cmpq	%r8, %rax
	setb	%dil
	cmpq	%rsi, %rcx
	setb	%r14b
	testb	%r15b, %r13b
	jne	LBB0_35
## %bb.28:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	$0, %esi
	andb	%r14b, %dil
	jne	LBB0_36
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_40
## %bb.30:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%r11,%r14,4), %xmm0
	movups	16(%r11,%r14,4), %xmm1
	movups	(%rax,%r14,4), %xmm2
	andps	%xmm0, %xmm2
	movups	16(%rax,%r14,4), %xmm0
	andps	%xmm1, %xmm0
	movups	32(%rax,%r14,4), %xmm1
	movups	48(%rax,%r14,4), %xmm3
	movups	(%rcx,%r14,4), %xmm4
	xorps	%xmm2, %xmm4
	movups	16(%rcx,%r14,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	%xmm4, (%rax,%r14,4)
	movups	%xmm2, 16(%rax,%r14,4)
	movups	32(%r11,%r14,4), %xmm0
	andps	%xmm1, %xmm0
	movups	48(%r11,%r14,4), %xmm1
	andps	%xmm3, %xmm1
	movups	32(%rcx,%r14,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	48(%rcx,%r14,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, 32(%rax,%r14,4)
	movups	%xmm0, 48(%rax,%r14,4)
	addq	$16, %r14
	addq	$-2, %rdi
	jne	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_25 Depth=1
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_34
LBB0_33:                                ##   in Loop: Header=BB0_25 Depth=1
	movups	(%rax,%r14,4), %xmm0
	movups	16(%rax,%r14,4), %xmm1
	movups	(%r11,%r14,4), %xmm2
	andps	%xmm0, %xmm2
	movups	16(%r11,%r14,4), %xmm0
	andps	%xmm1, %xmm0
	movups	(%rcx,%r14,4), %xmm1
	xorps	%xmm2, %xmm1
	movups	16(%rcx,%r14,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	%xmm1, (%rax,%r14,4)
	movups	%xmm2, 16(%rax,%r14,4)
LBB0_34:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	cmpq	%rbx, %rdi
	je	LBB0_24
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_25 Depth=1
	xorl	%esi, %esi
LBB0_36:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	%rsi, %rdi
	testb	$1, %bl
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	(%r11,%rsi,4), %edi
	andl	(%rax,%rsi,4), %edi
	xorl	(%rcx,%rsi,4), %edi
	movl	%edi, (%rax,%rsi,4)
	movq	%rsi, %rdi
	orq	$1, %rdi
LBB0_38:                                ##   in Loop: Header=BB0_25 Depth=1
	notq	%rsi
	cmpq	-104(%rbp), %rsi                ## 8-byte Folded Reload
	je	LBB0_24
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r11,%rdi,4), %esi
	andl	(%rax,%rdi,4), %esi
	xorl	(%rcx,%rdi,4), %esi
	movl	%esi, (%rax,%rdi,4)
	movl	4(%r11,%rdi,4), %esi
	andl	4(%rax,%rdi,4), %esi
	xorl	4(%rcx,%rdi,4), %esi
	movl	%esi, 4(%rax,%rdi,4)
	addq	$2, %rdi
	cmpq	%rdi, %rbx
	jne	LBB0_39
	jmp	LBB0_24
LBB0_40:                                ##   in Loop: Header=BB0_25 Depth=1
	xorl	%r14d, %r14d
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_33
	jmp	LBB0_34
LBB0_41:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	56(%rcx), %r11
	movq	64(%rcx), %rcx
	movslq	%esi, %r8
	movl	%r10d, %ebx
	addq	%rbx, -56(%rbp)                 ## 8-byte Folded Spill
	movl	%ebx, %edi
	andl	$-8, %edi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	addq	$-8, %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movq	%rsi, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	andq	$-2, %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	negq	%rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	leaq	(,%r8,4), %r8
	xorl	%r12d, %r12d
	movl	%r10d, -108(%rbp)               ## 4-byte Spill
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_43 Depth=1
	movslq	(%rdx), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	leaq	(%r11,%rsi,4), %r11
	addq	%r8, %rax
	incq	%r12
	cmpl	%r9d, %r12d
	je	LBB0_59
LBB0_43:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_49 Depth 2
                                        ##     Child Loop BB0_57 Depth 2
	cmpl	$8, %r10d
	jae	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_54
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_43 Depth=1
	movl	%r9d, %r10d
	movq	%r8, %r9
	movq	%r12, %rsi
	imulq	-96(%rbp), %rsi                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rsi,4), %rsi
	leaq	(%r11,%rbx,4), %rdi
	leaq	(%rcx,%rbx,4), %r8
	cmpq	%rdi, %rax
	setb	%r13b
	cmpq	%rsi, %r11
	setb	%r15b
	cmpq	%r8, %rax
	setb	%dil
	cmpq	%rsi, %rcx
	setb	%r14b
	testb	%r15b, %r13b
	jne	LBB0_53
## %bb.46:                              ##   in Loop: Header=BB0_43 Depth=1
	movl	$0, %esi
	andb	%r14b, %dil
	movq	%r9, %r8
	movl	%r10d, %r9d
	movl	-108(%rbp), %r10d               ## 4-byte Reload
	jne	LBB0_54
## %bb.47:                              ##   in Loop: Header=BB0_43 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_58
## %bb.48:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_43 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%r11,%r14,4), %xmm0
	movups	16(%r11,%r14,4), %xmm1
	movups	(%rax,%r14,4), %xmm2
	andps	%xmm0, %xmm2
	movups	16(%rax,%r14,4), %xmm0
	andps	%xmm1, %xmm0
	movups	32(%rax,%r14,4), %xmm1
	movups	48(%rax,%r14,4), %xmm3
	movups	(%rcx,%r14,4), %xmm4
	xorps	%xmm2, %xmm4
	movups	16(%rcx,%r14,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	%xmm4, (%rax,%r14,4)
	movups	%xmm2, 16(%rax,%r14,4)
	movups	32(%r11,%r14,4), %xmm0
	andps	%xmm1, %xmm0
	movups	48(%r11,%r14,4), %xmm1
	andps	%xmm3, %xmm1
	movups	32(%rcx,%r14,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	48(%rcx,%r14,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, 32(%rax,%r14,4)
	movups	%xmm0, 48(%rax,%r14,4)
	addq	$16, %r14
	addq	$-2, %rdi
	jne	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_43 Depth=1
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_52
LBB0_51:                                ##   in Loop: Header=BB0_43 Depth=1
	movups	(%rax,%r14,4), %xmm0
	movups	16(%rax,%r14,4), %xmm1
	movups	(%r11,%r14,4), %xmm2
	andps	%xmm0, %xmm2
	movups	16(%r11,%r14,4), %xmm0
	andps	%xmm1, %xmm0
	movups	(%rcx,%r14,4), %xmm1
	xorps	%xmm2, %xmm1
	movups	16(%rcx,%r14,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	%xmm1, (%rax,%r14,4)
	movups	%xmm2, 16(%rax,%r14,4)
LBB0_52:                                ##   in Loop: Header=BB0_43 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	cmpq	%rbx, %rdi
	je	LBB0_42
	jmp	LBB0_54
LBB0_53:                                ##   in Loop: Header=BB0_43 Depth=1
	xorl	%esi, %esi
	movq	%r9, %r8
	movl	%r10d, %r9d
	movl	-108(%rbp), %r10d               ## 4-byte Reload
	.p2align	4, 0x90
LBB0_54:                                ##   in Loop: Header=BB0_43 Depth=1
	movq	%rsi, %rdi
	testb	$1, %bl
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_43 Depth=1
	movl	(%r11,%rsi,4), %edi
	andl	(%rax,%rsi,4), %edi
	xorl	(%rcx,%rsi,4), %edi
	movl	%edi, (%rax,%rsi,4)
	movq	%rsi, %rdi
	orq	$1, %rdi
LBB0_56:                                ##   in Loop: Header=BB0_43 Depth=1
	notq	%rsi
	cmpq	-104(%rbp), %rsi                ## 8-byte Folded Reload
	je	LBB0_42
	.p2align	4, 0x90
LBB0_57:                                ##   Parent Loop BB0_43 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r11,%rdi,4), %esi
	andl	(%rax,%rdi,4), %esi
	xorl	(%rcx,%rdi,4), %esi
	movl	%esi, (%rax,%rdi,4)
	movl	4(%r11,%rdi,4), %esi
	andl	4(%rax,%rdi,4), %esi
	xorl	4(%rcx,%rdi,4), %esi
	movl	%esi, 4(%rax,%rdi,4)
	addq	$2, %rdi
	cmpq	%rdi, %rbx
	jne	LBB0_57
	jmp	LBB0_42
LBB0_58:                                ##   in Loop: Header=BB0_43 Depth=1
	xorl	%r14d, %r14d
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_51
	jmp	LBB0_52
LBB0_59:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_put_cursor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_cursor
_put_cursor:                            ; @put_cursor
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	ldrsw	x8, [x2]
	ldp	x9, x10, [x2, #8]
	sub	w11, w9, w10
	add	x12, x10, x8
	cmp	x9, x12
	csel	w8, w11, w8, lt
	ldrsw	x9, [x2, #24]
	ldp	x12, x11, [x2, #32]
	sub	w13, w12, w11
	add	x14, x11, x9
	cmp	x12, x14
	csel	w9, w13, w9, lt
	cmp	w10, #0
	csel	w12, w10, wzr, lt
	add	w8, w8, w12
	cmp	w11, #0
	csel	w12, w11, wzr, lt
	add	w9, w9, w12
	cmp	w8, #1
	ccmp	w9, #1, #8, ge
	b.lt	LBB0_34
; %bb.1:
	cmp	w11, #0
	csel	w12, w11, wzr, gt
	cmp	w10, #0
	csel	w10, w10, wzr, gt
	ldr	w11, [x2, #48]
	mul	w12, w12, w1
	madd	w10, w11, w10, w12
	sxtw	x15, w10
	add	x10, x0, w10, sxtw #2
	cmp	w11, #4
	b.eq	LBB0_14
; %bb.2:
	cmp	w11, #2
	b.eq	LBB0_24
; %bb.3:
	cmp	w11, #1
	b.ne	LBB0_34
; %bb.4:
	mov	x11, #0
	ldp	x13, x12, [x2, #56]
	sxtw	x14, w1
	add	x15, x15, x8
	and	x16, x8, #0xfffffff0
	sbfiz	x17, x1, #2, #32
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x1, [x2]
	lsl	x1, x1, #2
	add	x12, x12, x1
	add	x13, x13, x1
	add	x10, x10, x17
	add	x11, x11, #1
	cmp	w11, w9
	b.eq	LBB0_34
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	cmp	w8, #16
	b.hs	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, #0
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x3, x1, #2
	ldr	w4, [x10, x3]
	ldr	w5, [x13, x3]
	ldr	w6, [x12, x3]
	and	w4, w5, w4
	eor	w4, w4, w6
	str	w4, [x10, x3]
	add	x1, x1, #1
	cmp	x8, x1
	b.ne	LBB0_8
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, #0
	madd	x3, x11, x14, x15
	add	x4, x0, x3, lsl #2
	lsl	x3, x8, #2
	add	x5, x13, x3
	add	x3, x12, x3
	cmp	x10, x3
	ccmp	x12, x4, #2, lo
	cset	w3, lo
	cmp	x13, x4
	ccmp	x10, x5, #2, lo
	b.lo	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	tbnz	w3, #0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, #0
	mov	x3, x16
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x4, x10, x1
	ldp	q0, q1, [x4]
	ldp	q2, q3, [x4, #32]
	add	x5, x13, x1
	ldp	q4, q5, [x5]
	ldp	q6, q7, [x5, #32]
	and.16b	v0, v4, v0
	and.16b	v1, v5, v1
	and.16b	v2, v6, v2
	and.16b	v3, v7, v3
	add	x5, x12, x1
	ldp	q4, q5, [x5]
	ldp	q6, q7, [x5, #32]
	eor.16b	v0, v0, v4
	eor.16b	v1, v1, v5
	eor.16b	v2, v2, v6
	eor.16b	v3, v3, v7
	stp	q0, q1, [x4]
	stp	q2, q3, [x4, #32]
	add	x1, x1, #64
	subs	x3, x3, #16
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x16
	cmp	x16, x8
	b.ne	LBB0_8
	b	LBB0_5
LBB0_14:
	mov	x11, #0
                                        ; kill: def $w1 killed $w1 killed $x1 def $x1
	ldp	x13, x12, [x2, #56]
	sxtw	x14, w1
	add	x15, x15, x8
	and	x16, x8, #0xfffffff0
	sbfiz	x17, x1, #2, #32
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldrsw	x1, [x2]
	lsl	x1, x1, #2
	add	x12, x12, x1
	add	x13, x13, x1
	add	x10, x10, x17
	add	x11, x11, #1
	cmp	w11, w9
	b.eq	LBB0_34
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
	cmp	w8, #16
	b.hs	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x1, #0
	b	LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x1, #0
	madd	x3, x11, x14, x15
	add	x4, x0, x3, lsl #2
	lsl	x3, x8, #2
	add	x5, x13, x3
	add	x3, x12, x3
	cmp	x10, x3
	ccmp	x12, x4, #2, lo
	cset	w3, lo
	cmp	x13, x4
	ccmp	x10, x5, #2, lo
	b.lo	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	tbnz	w3, #0, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x1, #0
	mov	x3, x16
LBB0_21:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x4, x10, x1
	ldp	q0, q1, [x4]
	ldp	q2, q3, [x4, #32]
	add	x5, x13, x1
	ldp	q4, q5, [x5]
	ldp	q6, q7, [x5, #32]
	and.16b	v0, v4, v0
	and.16b	v1, v5, v1
	and.16b	v2, v6, v2
	and.16b	v3, v7, v3
	add	x5, x12, x1
	ldp	q4, q5, [x5]
	ldp	q6, q7, [x5, #32]
	eor.16b	v0, v0, v4
	eor.16b	v1, v1, v5
	eor.16b	v2, v2, v6
	eor.16b	v3, v3, v7
	stp	q0, q1, [x4]
	stp	q2, q3, [x4, #32]
	add	x1, x1, #64
	subs	x3, x3, #16
	b.ne	LBB0_21
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x1, x16
	cmp	x16, x8
	b.eq	LBB0_15
LBB0_23:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x3, x1, #2
	ldr	w4, [x10, x3]
	ldr	w5, [x13, x3]
	ldr	w6, [x12, x3]
	and	w4, w5, w4
	eor	w4, w4, w6
	str	w4, [x10, x3]
	add	x1, x1, #1
	cmp	x8, x1
	b.ne	LBB0_23
	b	LBB0_15
LBB0_24:
	mov	x11, #0
                                        ; kill: def $w1 killed $w1 killed $x1 def $x1
	ldp	x13, x12, [x2, #56]
	sxtw	x14, w1
	add	x15, x15, x8
	and	x16, x8, #0xfffffff0
	sbfiz	x17, x1, #2, #32
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	ldrsw	x1, [x2]
	lsl	x1, x1, #2
	add	x12, x12, x1
	add	x13, x13, x1
	add	x10, x10, x17
	add	x11, x11, #1
	cmp	w11, w9
	b.eq	LBB0_34
LBB0_26:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_31 Depth 2
                                        ;     Child Loop BB0_33 Depth 2
	cmp	w8, #16
	b.hs	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x1, #0
	b	LBB0_33
LBB0_28:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x1, #0
	madd	x3, x11, x14, x15
	add	x4, x0, x3, lsl #2
	lsl	x3, x8, #2
	add	x5, x13, x3
	add	x3, x12, x3
	cmp	x10, x3
	ccmp	x12, x4, #2, lo
	cset	w3, lo
	cmp	x13, x4
	ccmp	x10, x5, #2, lo
	b.lo	LBB0_33
; %bb.29:                               ;   in Loop: Header=BB0_26 Depth=1
	tbnz	w3, #0, LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x1, #0
	mov	x3, x16
LBB0_31:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x4, x10, x1
	ldp	q0, q1, [x4]
	ldp	q2, q3, [x4, #32]
	add	x5, x13, x1
	ldp	q4, q5, [x5]
	ldp	q6, q7, [x5, #32]
	and.16b	v0, v4, v0
	and.16b	v1, v5, v1
	and.16b	v2, v6, v2
	and.16b	v3, v7, v3
	add	x5, x12, x1
	ldp	q4, q5, [x5]
	ldp	q6, q7, [x5, #32]
	eor.16b	v0, v0, v4
	eor.16b	v1, v1, v5
	eor.16b	v2, v2, v6
	eor.16b	v3, v3, v7
	stp	q0, q1, [x4]
	stp	q2, q3, [x4, #32]
	add	x1, x1, #64
	subs	x3, x3, #16
	b.ne	LBB0_31
; %bb.32:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x1, x16
	cmp	x16, x8
	b.eq	LBB0_25
LBB0_33:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x3, x1, #2
	ldr	w4, [x10, x3]
	ldr	w5, [x13, x3]
	ldr	w6, [x12, x3]
	and	w4, w5, w4
	eor	w4, w4, w6
	str	w4, [x10, x3]
	add	x1, x1, #1
	cmp	x8, x1
	b.ne	LBB0_33
	b	LBB0_25
LBB0_34:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_put_cursor
.subsections_via_symbols
