	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_INPUT_DrawMousePointer         ## -- Begin function INPUT_DrawMousePointer
	.p2align	4, 0x90
_INPUT_DrawMousePointer:                ## @INPUT_DrawMousePointer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_INPUT_mouse_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_INPUT_MOUSE_PEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_INPUT_MOUSE_GUN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_2:
	movq	_mouse_pen_show_pointer@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.3:
	movq	_mouse_x@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MOUSE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_mouse_y@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	sarl	%cl, %ebx
	cmpl	$167, %eax
	ja	LBB0_12
## %bb.4:
	testl	%ebx, %ebx
	js	LBB0_12
## %bb.5:
	cmpl	$119, %ebx
	jg	LBB0_12
## %bb.6:
	movl	$-2, %edi
	xorl	%esi, %esi
	callq	_PLOT
	movl	$-1, %edi
	xorl	%esi, %esi
	callq	_PLOT
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_PLOT
	movl	$2, %edi
	xorl	%esi, %esi
	callq	_PLOT
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	xorl	%edi, %edi
	movl	$-1, %esi
	callq	_PLOT
	cmpl	$1, %ebx
	jne	LBB0_10
LBB0_8:
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_PLOT
LBB0_9:
	xorl	%edi, %edi
	movl	$2, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_PLOT                           ## TAILCALL
LBB0_10:
	xorl	%edi, %edi
	movl	$-2, %esi
	callq	_PLOT
	cmpl	$118, %ebx
	ja	LBB0_12
## %bb.11:
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_PLOT
	cmpl	$118, %ebx
	jne	LBB0_9
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INPUT_mouse_mode,8,3           ## @INPUT_mouse_mode
	.comm	_INPUT_MOUSE_PEN,8,3            ## @INPUT_MOUSE_PEN
	.comm	_INPUT_MOUSE_GUN,8,3            ## @INPUT_MOUSE_GUN
	.comm	_mouse_pen_show_pointer,8,3     ## @mouse_pen_show_pointer
	.comm	_mouse_x,4,2                    ## @mouse_x
	.comm	_MOUSE_SHIFT,4,2                ## @MOUSE_SHIFT
	.comm	_mouse_y,4,2                    ## @mouse_y
	.comm	_Screen_atari,8,3               ## @Screen_atari
	.comm	_Screen_WIDTH,4,2               ## @Screen_WIDTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_INPUT_DrawMousePointer         ; -- Begin function INPUT_DrawMousePointer
	.p2align	2
_INPUT_DrawMousePointer:                ; @INPUT_DrawMousePointer
	.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
Lloh0:
	adrp	x8, _INPUT_mouse_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INPUT_mouse_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _INPUT_MOUSE_PEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INPUT_MOUSE_PEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _mouse_pen_show_pointer@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mouse_pen_show_pointer@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
	b	LBB0_12
LBB0_2:
Lloh9:
	adrp	x9, _INPUT_MOUSE_GUN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _INPUT_MOUSE_GUN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _mouse_pen_show_pointer@GOTPAGE
Lloh13:
	ldr	x10, [x10, _mouse_pen_show_pointer@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x10, #0, #4, eq
	b.eq	LBB0_12
LBB0_3:
Lloh15:
	adrp	x8, _mouse_x@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mouse_x@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x8]
Lloh18:
	adrp	x8, _MOUSE_SHIFT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MOUSE_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	asr	w9, w9, w8
	cmp	w9, #167
	b.hi	LBB0_12
; %bb.4:
Lloh21:
	adrp	x9, _mouse_y@GOTPAGE
Lloh22:
	ldr	x9, [x9, _mouse_y@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	asr	w19, w9, w8
	tbnz	w19, #31, LBB0_12
; %bb.5:
	cmp	w19, #119
	b.gt	LBB0_12
; %bb.6:
	mov	w0, #-2
	mov	w1, #0
	bl	_PLOT
	mov	w0, #-1
	mov	w1, #0
	bl	_PLOT
	mov	w0, #1
	mov	w1, #0
	bl	_PLOT
	mov	w0, #2
	mov	w1, #0
	bl	_PLOT
	cbz	w19, LBB0_8
; %bb.7:
	mov	w0, #0
	mov	w1, #-1
	bl	_PLOT
	cmp	w19, #1
	b.ne	LBB0_10
LBB0_8:
	mov	w0, #0
	mov	w1, #1
	bl	_PLOT
LBB0_9:
	mov	w0, #0
	mov	w1, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PLOT
LBB0_10:
	mov	w0, #0
	mov	w1, #-2
	bl	_PLOT
	cmp	w19, #118
	b.hi	LBB0_12
; %bb.11:
	mov	w0, #0
	mov	w1, #1
	bl	_PLOT
	cmp	w19, #118
	b.ne	LBB0_9
LBB0_12:
	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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_INPUT_mouse_mode,8,3           ; @INPUT_mouse_mode
	.comm	_INPUT_MOUSE_PEN,8,3            ; @INPUT_MOUSE_PEN
	.comm	_INPUT_MOUSE_GUN,8,3            ; @INPUT_MOUSE_GUN
	.comm	_mouse_pen_show_pointer,8,3     ; @mouse_pen_show_pointer
	.comm	_mouse_x,4,2                    ; @mouse_x
	.comm	_MOUSE_SHIFT,4,2                ; @MOUSE_SHIFT
	.comm	_mouse_y,4,2                    ; @mouse_y
	.comm	_Screen_atari,8,3               ; @Screen_atari
	.comm	_Screen_WIDTH,4,2               ; @Screen_WIDTH
.subsections_via_symbols
