	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VGLMouseOverlap                ## -- Begin function VGLMouseOverlap
	.p2align	4, 0x90
_VGLMouseOverlap:                       ## @VGLMouseOverlap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VGLMouseShown@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_VGL_MOUSESHOW@GOTPCREL(%rip), %r9
	xorl	%eax, %eax
	cmpq	(%r9), %r8
	jne	LBB0_9
## %bb.1:
	movq	_VGLMouseXpos@GOTPCREL(%rip), %r8
	movl	(%r8), %r9d
	movl	%r9d, %r8d
	subl	%edi, %r8d
	jge	LBB0_3
## %bb.2:
	movq	_VGLMouseAndMask@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addl	(%rdx), %r8d
	testl	%r8d, %r8d
	jg	LBB0_5
LBB0_9:
	popq	%rbp
	retq
LBB0_3:
	addl	%edi, %edx
	subl	%r9d, %edx
	movl	%edx, %r8d
	testl	%r8d, %r8d
	jle	LBB0_9
LBB0_5:
	movq	_VGLMouseYpos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	subl	%esi, %edx
	jge	LBB0_7
## %bb.6:
	movq	_VGLMouseAndMask@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addl	4(%rax), %edx
	jmp	LBB0_8
LBB0_7:
	addl	%esi, %ecx
	subl	%eax, %ecx
	movl	%ecx, %edx
LBB0_8:
	xorl	%eax, %eax
	testl	%edx, %edx
	setg	%al
	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	_VGLMouseOverlap                ; -- Begin function VGLMouseOverlap
	.p2align	2
_VGLMouseOverlap:                       ; @VGLMouseOverlap
	.cfi_startproc
; %bb.0:
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_3
; %bb.1:
Lloh6:
	adrp	x8, _VGLMouseXpos@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VGLMouseXpos@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
	subs	w8, w9, w0
	b.ge	LBB0_4
; %bb.2:
Lloh9:
	adrp	x9, _VGLMouseAndMask@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VGLMouseAndMask@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w9, [x9]
	add	w8, w8, w9
	cmp	w8, #1
	b.ge	LBB0_5
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	add	w8, w2, w0
	sub	w8, w8, w9
	cmp	w8, #1
	b.lt	LBB0_3
LBB0_5:
Lloh12:
	adrp	x8, _VGLMouseYpos@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VGLMouseYpos@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x8]
	subs	w8, w9, w1
	b.ge	LBB0_7
; %bb.6:
Lloh15:
	adrp	x9, _VGLMouseAndMask@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VGLMouseAndMask@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	w9, [x9, #4]
	add	w8, w8, w9
	b	LBB0_8
LBB0_7:
	add	w8, w3, w1
	sub	w8, w8, w9
LBB0_8:
	cmp	w8, #0
	cset	w0, gt
	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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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
