	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mga_crtc_cursor_move           ## -- Begin function mga_crtc_cursor_move
	.p2align	4, 0x90
_mga_crtc_cursor_move:                  ## @mga_crtc_cursor_move
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
                                        ## kill: def $esi killed $esi def $rsi
	leal	64(%rsi), %r15d
	leal	64(%rbx), %r14d
	xorl	%edi, %edi
	cmpl	$-63, %esi
	setl	%dil
	callq	_BUG_ON
	xorl	%edi, %edi
	cmpl	$-63, %ebx
	setl	%dil
	callq	_BUG_ON
	movl	%r15d, %ebx
	movl	%r15d, %eax
	andl	$-65536, %eax                   ## imm = 0xFFFF0000
	movl	%eax, %edi
	callq	_BUG_ON
	movl	%r14d, %eax
	andl	$-65536, %eax                   ## imm = 0xFFFF0000
	movl	%eax, %edi
	callq	_BUG_ON
	movq	_MGA_CURPOSXL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%bl, %esi
	callq	_WREG8
	movq	_MGA_CURPOSXH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%bh, %esi
	callq	_WREG8
	movq	_MGA_CURPOSYL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%r14b, %esi
	movl	%r14d, %ebx
	callq	_WREG8
	movq	_MGA_CURPOSYH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%bh, %esi
	callq	_WREG8
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MGA_CURPOSXL,4,2               ## @MGA_CURPOSXL
	.comm	_MGA_CURPOSXH,4,2               ## @MGA_CURPOSXH
	.comm	_MGA_CURPOSYL,4,2               ## @MGA_CURPOSYL
	.comm	_MGA_CURPOSYH,4,2               ## @MGA_CURPOSYH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mga_crtc_cursor_move           ; -- Begin function mga_crtc_cursor_move
	.p2align	2
_mga_crtc_cursor_move:                  ; @mga_crtc_cursor_move
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	add	w20, w1, #64
	add	w21, w2, #64
	cmn	w1, #63
	cset	w0, lt
	bl	_BUG_ON
	cmn	w19, #63
	cset	w0, lt
	bl	_BUG_ON
	and	w0, w20, #0xffff0000
	bl	_BUG_ON
	and	w0, w21, #0xffff0000
	bl	_BUG_ON
Lloh0:
	adrp	x8, _MGA_CURPOSXL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MGA_CURPOSXL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	and	w1, w20, #0xff
	bl	_WREG8
Lloh3:
	adrp	x8, _MGA_CURPOSXH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MGA_CURPOSXH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ubfx	w1, w20, #8, #8
	bl	_WREG8
Lloh6:
	adrp	x8, _MGA_CURPOSYL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MGA_CURPOSYL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	and	w1, w21, #0xff
	bl	_WREG8
Lloh9:
	adrp	x8, _MGA_CURPOSYH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MGA_CURPOSYH@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ubfx	w1, w21, #8, #8
	bl	_WREG8
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MGA_CURPOSXL,4,2               ; @MGA_CURPOSXL
	.comm	_MGA_CURPOSXH,4,2               ; @MGA_CURPOSXH
	.comm	_MGA_CURPOSYL,4,2               ; @MGA_CURPOSYL
	.comm	_MGA_CURPOSYH,4,2               ; @MGA_CURPOSYH
.subsections_via_symbols
