	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_comm_check                ## -- Begin function m68k_comm_check
	.p2align	4, 0x90
_m68k_comm_check:                       ## @m68k_comm_check
	.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
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_SekCyclesDone
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_pcd_sync_s68k
	cmpl	$14, %ebx
	jl	LBB0_3
## %bb.1:
	movq	_Pico_mcd@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	$64, %edi
	callq	_SekEndRun
	movq	(%r14), %rax
	movl	$1, (%rax)
LBB0_3:
	movq	_SekNotPolling@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_Pico_mcd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jne	LBB0_5
## %bb.4:
	cmpl	%ebx, 4(%rcx)
	jne	LBB0_5
## %bb.6:
	incq	8(%rcx)
	jmp	LBB0_7
LBB0_5:
	movl	%ebx, 4(%rcx)
	movq	$0, 8(%rcx)
	movq	$0, (%rax)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico_mcd,8,3                   ## @Pico_mcd
	.comm	_SekNotPolling,8,3              ## @SekNotPolling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_comm_check                ; -- Begin function m68k_comm_check
	.p2align	2
_m68k_comm_check:                       ; @m68k_comm_check
	.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
	mov	x19, x0
	bl	_SekCyclesDone
	mov	w1, #0
	bl	_pcd_sync_s68k
Lloh0:
	adrp	x20, _Pico_mcd@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Pico_mcd@GOTPAGEOFF]
	cmp	w19, #14
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w0, #64
	bl	_SekEndRun
	ldr	x8, [x20]
	mov	w9, #1
	str	w9, [x8]
LBB0_3:
Lloh2:
	adrp	x9, _SekNotPolling@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SekNotPolling@GOTPAGEOFF]
	ldr	x10, [x9]
	ldr	x8, [x20]
	cbnz	x10, LBB0_6
; %bb.4:
	ldr	w10, [x8, #4]
	cmp	w10, w19
	b.ne	LBB0_6
; %bb.5:
	ldr	x9, [x8, #8]
	add	x9, x9, #1
	str	x9, [x8, #8]
	b	LBB0_7
LBB0_6:
	str	w19, [x8, #4]
	str	xzr, [x8, #8]
	str	xzr, [x9]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico_mcd,8,3                   ; @Pico_mcd
	.comm	_SekNotPolling,8,3              ; @SekNotPolling
.subsections_via_symbols
