	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcd_run_cpus_normal            ## -- Begin function pcd_run_cpus_normal
	.p2align	4, 0x90
_pcd_run_cpus_normal:                   ## @pcd_run_cpus_normal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	%edi, %rax
	movq	_SekCycleAim@GOTPCREL(%rip), %r14
	addq	%rax, (%r14)
	xorl	%eax, %eax
	callq	_SekShouldInterrupt
	movq	_Pico_mcd@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%rcx), %eax
	cmpl	$11, %eax
	jg	LBB0_3
LBB0_2:
	movl	$0, (%rcx)
LBB0_6:
	movq	(%r14), %rdi
	movq	_SekCycleCnt@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rdi
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	callq	_CYCLES_GT
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_SekRunM68kOnce
	movq	(%r15), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	$0, 8(%rax)
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_pcd_sync_s68k
	jmp	LBB0_10
LBB0_3:
	cmpl	$16, %eax
	jb	LBB0_6
## %bb.4:
	movq	(%r14), %rdi
	movl	$1, %esi
	callq	_pcd_sync_s68k
	testl	%eax, %eax
	jle	LBB0_11
## %bb.5:
	movq	(%r14), %rcx
	imull	$40220, %eax, %eax              ## imm = 0x9D1C
	sarl	$16, %eax
	cltq
	subq	%rax, %rcx
	movq	_SekCycleCnt@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	jmp	LBB0_6
LBB0_11:
	movq	_EL_CDPOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %ecx
	movl	16(%rax), %edx
	movq	_SekPc@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	callq	_elprintf
	movq	(%r14), %rax
	movq	_SekCycleCnt@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SekCycleAim,8,3                ## @SekCycleAim
	.comm	_Pico_mcd,8,3                   ## @Pico_mcd
	.comm	_EL_CDPOLL,4,2                  ## @EL_CDPOLL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m68k poll [%02x] x%d @%06x"

	.comm	_SekPc,4,2                      ## @SekPc
	.comm	_SekCycleCnt,8,3                ## @SekCycleCnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcd_run_cpus_normal            ; -- Begin function pcd_run_cpus_normal
	.p2align	2
_pcd_run_cpus_normal:                   ; @pcd_run_cpus_normal
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x19, _SekCycleAim@GOTPAGE
Lloh1:
	ldr	x19, [x19, _SekCycleAim@GOTPAGEOFF]
	ldr	x8, [x19]
	add	x8, x8, w0, sxtw
	str	x8, [x19]
	bl	_SekShouldInterrupt
Lloh2:
	adrp	x21, _Pico_mcd@GOTPAGE
Lloh3:
	ldr	x21, [x21, _Pico_mcd@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh4:
	adrp	x20, _SekCycleCnt@GOTPAGE
Lloh5:
	ldr	x20, [x20, _SekCycleCnt@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w9, [x8]
	cmp	w9, #11
	b.gt	LBB0_3
LBB0_2:
	str	wzr, [x8]
	b	LBB0_8
LBB0_3:
	cmp	w9, #16
	b.lo	LBB0_8
; %bb.4:
	ldr	x0, [x19]
	mov	w1, #1
	bl	_pcd_sync_s68k
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.5:
	ldr	x8, [x19]
	mov	w9, #40220
	mul	w9, w0, w9
	asr	w9, w9, #16
	sub	x8, x8, w9, sxtw
	str	x8, [x20]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_SekRunM68kOnce
	ldr	x8, [x21]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_8 Depth=1
	str	xzr, [x8, #8]
	ldr	x0, [x20]
	mov	w1, #0
	bl	_pcd_sync_s68k
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	x1, [x20]
	bl	_CYCLES_GT
	cbnz	x0, LBB0_6
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh6:
	adrp	x8, _EL_CDPOLL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EL_CDPOLL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w2, [x8, #16]
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _SekPc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SekPc@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elprintf
	ldr	x8, [x19]
	str	x8, [x20]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SekCycleAim,8,3                ; @SekCycleAim
	.comm	_Pico_mcd,8,3                   ; @Pico_mcd
	.comm	_EL_CDPOLL,4,2                  ; @EL_CDPOLL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m68k poll [%02x] x%d @%06x"

	.comm	_SekPc,4,2                      ; @SekPc
	.comm	_SekCycleCnt,8,3                ; @SekCycleCnt
.subsections_via_symbols
