	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_cursor_position
_intel_cursor_position:                 ## @intel_cursor_position
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edx
	movl	4(%rdi), %edi
	movq	_CURSOR_POS_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_CURSOR_X_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r8d, %eax
	shll	%cl, %eax
	movl	%edx, %esi
	negl	%esi
	cmovsl	%edx, %esi
	sarl	$31, %edx
	shll	%cl, %esi
	movq	_CURSOR_Y_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r8d
	andl	%eax, %edx
	movl	%edi, %eax
	negl	%eax
	cmovsl	%edi, %eax
	sarl	$31, %edi
	shll	%cl, %eax
	andl	%r8d, %edi
	orl	%esi, %eax
	orl	%edx, %eax
	orl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CURSOR_POS_SIGN,4,2            ## @CURSOR_POS_SIGN
	.comm	_CURSOR_X_SHIFT,4,2             ## @CURSOR_X_SHIFT
	.comm	_CURSOR_Y_SHIFT,4,2             ## @CURSOR_Y_SHIFT
	.no_dead_strip	_intel_cursor_position
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_cursor_position
_intel_cursor_position:                 ; @intel_cursor_position
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
Lloh0:
	adrp	x10, _CURSOR_POS_SIGN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CURSOR_POS_SIGN@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _CURSOR_X_SHIFT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _CURSOR_X_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	lsl	w12, w10, w11
	cmp	w8, #0
	cneg	w13, w8, mi
	and	w8, w12, w8, asr #31
	lsl	w11, w13, w11
	orr	w8, w8, w11
Lloh6:
	adrp	x11, _CURSOR_Y_SHIFT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CURSOR_Y_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	cmp	w9, #0
	cneg	w12, w9, mi
	and	w9, w10, w9, asr #31
	lsl	w10, w12, w11
	orr	w8, w8, w10
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CURSOR_POS_SIGN,4,2            ; @CURSOR_POS_SIGN
	.comm	_CURSOR_X_SHIFT,4,2             ; @CURSOR_X_SHIFT
	.comm	_CURSOR_Y_SHIFT,4,2             ; @CURSOR_Y_SHIFT
	.no_dead_strip	_intel_cursor_position
.subsections_via_symbols
