	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VGLMouseFreezeXY               ## -- Begin function VGLMouseFreezeXY
	.p2align	4, 0x90
_VGLMouseFreezeXY:                      ## @VGLMouseFreezeXY
	.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	%esi, %r14d
	movl	%edi, %r15d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_INTOFF
	movq	_VGLMouseShown@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VGL_MOUSESHOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	_VGLMouseXpos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_6
## %bb.2:
	movq	_VGLMouseAndMask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rdx), %ecx
	leal	(%rcx,%rax), %esi
	cmpl	%r15d, %esi
	jle	LBB0_6
## %bb.3:
	movq	_VGLMouseYpos@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmpl	%r14d, %esi
	jg	LBB0_6
## %bb.4:
	movl	4(%rdx), %edi
	addl	%esi, %edi
	cmpl	%r14d, %edi
	jle	LBB0_6
## %bb.5:
	movq	8(%rdx), %rdx
	subl	%esi, %r14d
	imull	%ecx, %r14d
	subl	%eax, %r15d
	addl	%r14d, %r15d
	movslq	%r15d, %rax
	movl	$1, %ebx
	cmpq	$0, (%rdx,%rax,8)
	jne	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VGLMouseShown,8,3              ## @VGLMouseShown
	.comm	_VGL_MOUSESHOW,8,3              ## @VGL_MOUSESHOW
	.comm	_VGLMouseXpos,4,2               ## @VGLMouseXpos
	.comm	_VGLMouseAndMask,8,3            ## @VGLMouseAndMask
	.comm	_VGLMouseYpos,4,2               ## @VGLMouseYpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VGLMouseFreezeXY               ; -- Begin function VGLMouseFreezeXY
	.p2align	2
_VGLMouseFreezeXY:                      ; @VGLMouseFreezeXY
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_INTOFF
Lloh0:
	adrp	x8, _VGLMouseShown@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VGLMouseShown@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _VGL_MOUSESHOW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VGL_MOUSESHOW@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
Lloh6:
	adrp	x8, _VGLMouseXpos@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VGLMouseXpos@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w19
	b.gt	LBB0_7
; %bb.2:
Lloh9:
	adrp	x9, _VGLMouseAndMask@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VGLMouseAndMask@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x9]
	ldr	w9, [x10]
	add	w11, w9, w8
	cmp	w11, w19
	b.le	LBB0_7
; %bb.3:
Lloh12:
	adrp	x11, _VGLMouseYpos@GOTPAGE
Lloh13:
	ldr	x11, [x11, _VGLMouseYpos@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	cmp	w11, w20
	b.gt	LBB0_7
; %bb.4:
	ldr	w12, [x10, #4]
	add	w12, w12, w11
	cmp	w12, w20
	b.le	LBB0_7
; %bb.5:
	ldr	x10, [x10, #8]
	sub	w11, w20, w11
	sub	w8, w19, w8
	madd	w8, w11, w9, w8
	ldr	x8, [x10, w8, sxtw #3]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_VGLMouseShown,8,3              ; @VGLMouseShown
	.comm	_VGL_MOUSESHOW,8,3              ; @VGL_MOUSESHOW
	.comm	_VGLMouseXpos,4,2               ; @VGLMouseXpos
	.comm	_VGLMouseAndMask,8,3            ; @VGLMouseAndMask
	.comm	_VGLMouseYpos,4,2               ; @VGLMouseYpos
.subsections_via_symbols
