	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetMouseData                   ## -- Begin function GetMouseData
	.p2align	4, 0x90
_GetMouseData:                          ## @GetMouseData
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_FCEUI_IsMovieActive
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_SDL_GetMouseState
	movl	%eax, %r14d
	movl	$0, 8(%rbx)
	movl	$1, %edi
	callq	_SDL_BUTTON
	testl	%r14d, %eax
	je	LBB0_3
## %bb.2:
	orb	$1, 8(%rbx)
LBB0_3:
	movl	$3, %edi
	callq	_SDL_BUTTON
	testl	%r14d, %eax
	je	LBB0_5
## %bb.4:
	orb	$2, 8(%rbx)
LBB0_5:
	movl	-24(%rbp), %edi
	movl	-20(%rbp), %esi
	callq	_PtoV
	movzwl	%ax, %ecx
	movl	%ecx, (%rbx)
	shrl	$16, %eax
	movl	%eax, 4(%rbx)
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetMouseData                   ; -- Begin function GetMouseData
	.p2align	2
_GetMouseData:                          ; @GetMouseData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_FCEUI_IsMovieActive
	tbnz	x0, #63, LBB0_6
; %bb.1:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_SDL_GetMouseState
	mov	x20, x0
	str	wzr, [x19, #8]
	mov	w0, #1
	bl	_SDL_BUTTON
	tst	w0, w20
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x19, #8]
	orr	w8, w8, #0x1
	str	w8, [x19, #8]
LBB0_3:
	mov	w0, #3
	bl	_SDL_BUTTON
	tst	w0, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x19, #8]
	orr	w8, w8, #0x2
	str	w8, [x19, #8]
LBB0_5:
	ldp	w1, w0, [sp, #8]
	bl	_PtoV
	and	w8, w0, #0xffff
	lsr	w9, w0, #16
	stp	w8, w9, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
