	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_cursor_image
_copy_cursor_image:                     ## @copy_cursor_image
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	leal	7(%r14), %eax
	leal	14(%r14), %r13d
	testl	%eax, %eax
	cmovnsl	%eax, %r13d
	movl	%ecx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	(%rsi,%r8,4), %rdi
	imull	%ecx, %edx
	shll	$2, %edx
	movq	%rbx, %rsi
	callq	_memcpy
	testl	%r12d, %r12d
	jle	LBB0_8
## %bb.1:
	sarl	$3, %r13d
	movslq	%r13d, %r8
	movslq	%r14d, %r10
	movl	%r12d, %r9d
	movl	%r14d, %edi
	shlq	$2, %r10
	xorl	%r11d, %r11d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	addq	%r10, %rbx
	cmpq	%r9, %r11
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r11, %rax
	imulq	%r8, %rax
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%rdx
	cmpq	%rdx, %rdi
	je	LBB0_7
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$-268435455, (%rbx,%rdx,4)      ## imm = 0xF0000001
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%edx, %ecx
	andb	$7, %cl
	movl	$128, %esi
	shrl	%cl, %esi
	movl	%edx, %ecx
	shrl	$3, %ecx
	addq	%rax, %rcx
	orl	%esi, (%r15,%rcx,4)
	jmp	LBB0_6
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_cursor_image
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_cursor_image
_copy_cursor_image:                     ; @copy_cursor_image
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	w8, w2, #7
	add	w9, w2, #14
	cmp	w8, #0
	csel	w23, w9, w8, lt
	add	x0, x1, x4, lsl #2
	mul	w8, w2, w3
	lsl	w2, w8, #2
	mov	x1, x21
	bl	_memcpy
	cmp	w22, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x8, #0
	sbfx	x9, x23, #3, #29
	mov	w10, w22
	sbfiz	x11, x19, #2, #32
	mov	w12, #-268435455
	mov	w13, #128
	mov	w14, w19
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	x21, x21, x11
	cmp	x8, x10
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w19, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, #0
	mul	x16, x8, x9
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x15, x15, #1
	cmp	x14, x15
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w17, [x21, x15, lsl #2]
	cmp	w17, w12
	b.lo	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	and	w17, w15, #0x7
	lsr	w17, w13, w17
	ubfx	x0, x15, #3, #29
	add	x0, x16, x0
	lsl	x0, x0, #2
	ldr	w1, [x20, x0]
	orr	w17, w1, w17
	str	w17, [x20, x0]
	b	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_cursor_image
.subsections_via_symbols
