	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atamouse_open
_atamouse_open:                         ## @atamouse_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_ikbd_mouse_y0_top
	movq	_mouse_threshold@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	4(%rax), %esi
	callq	_ikbd_mouse_thresh
	xorl	%eax, %eax
	callq	_ikbd_mouse_rel_pos
	movq	_atamouse_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_atari_input_mouse_interrupt_hook@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mouse_threshold,8,3            ## @mouse_threshold
	.comm	_atamouse_interrupt,4,2         ## @atamouse_interrupt
	.comm	_atari_input_mouse_interrupt_hook,4,2 ## @atari_input_mouse_interrupt_hook
	.comm	_atari_mouse_buttons,8,3        ## @atari_mouse_buttons
	.no_dead_strip	_atamouse_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atamouse_open
_atamouse_open:                         ; @atamouse_open
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_ikbd_mouse_y0_top
Lloh0:
	adrp	x8, _mouse_threshold@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mouse_threshold@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	w0, w1, [x8]
	bl	_ikbd_mouse_thresh
	bl	_ikbd_mouse_rel_pos
Lloh3:
	adrp	x8, _atamouse_interrupt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _atamouse_interrupt@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _atari_input_mouse_interrupt_hook@GOTPAGE
Lloh7:
	ldr	x9, [x9, _atari_input_mouse_interrupt_hook@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mouse_threshold,8,3            ; @mouse_threshold
	.comm	_atamouse_interrupt,4,2         ; @atamouse_interrupt
	.comm	_atari_input_mouse_interrupt_hook,4,2 ; @atari_input_mouse_interrupt_hook
	.comm	_atari_mouse_buttons,8,3        ; @atari_mouse_buttons
	.no_dead_strip	_atamouse_open
.subsections_via_symbols
