	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p32x_m68k_poll_event           ## -- Begin function p32x_m68k_poll_event
	.p2align	4, 0x90
_p32x_m68k_poll_event:                  ## @p32x_m68k_poll_event
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_Pico32x@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	testl	%edi, %edx
	je	LBB0_2
## %bb.1:
	movl	%edi, %ebx
	movq	_EL_32X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%ebx
	movl	%edx, %ecx
	andl	%ebx, %ecx
	leaq	L_.str(%rip), %rsi
	callq	_elprintf
	andl	%ebx, (%r14)
	xorl	%edi, %edi
	callq	_SekSetStop
LBB0_2:
	xorps	%xmm0, %xmm0
	movq	_m68k_poll@GOTPCREL(%rip), %rax
	movups	%xmm0, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico32x,4,2                    ## @Pico32x
	.comm	_EL_32X,4,2                     ## @EL_32X
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m68k poll %02x -> %02x"

	.comm	_m68k_poll,16,3                 ## @m68k_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p32x_m68k_poll_event           ; -- Begin function p32x_m68k_poll_event
	.p2align	2
_p32x_m68k_poll_event:                  ; @p32x_m68k_poll_event
	.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	x20, _Pico32x@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Pico32x@GOTPAGEOFF]
	ldr	w2, [x20]
	tst	w2, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _EL_32X@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EL_32X@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bic	w3, w2, w19
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elprintf
	ldr	w8, [x20]
	bic	w8, w8, w19
	str	w8, [x20]
	mov	w0, #0
	bl	_SekSetStop
LBB0_2:
Lloh7:
	adrp	x8, _m68k_poll@GOTPAGE
Lloh8:
	ldr	x8, [x8, _m68k_poll@GOTPAGEOFF]
	stp	xzr, xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico32x,4,2                    ; @Pico32x
	.comm	_EL_32X,4,2                     ; @EL_32X
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m68k poll %02x -> %02x"

	.comm	_m68k_poll,16,3                 ; @m68k_poll
.subsections_via_symbols
