	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoWrite8_mcd_io              ## -- Begin function PicoWrite8_mcd_io
	.p2align	4, 0x90
_PicoWrite8_mcd_io:                     ## @PicoWrite8_mcd_io
	.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	%esi, %r14d
	movl	%edi, %ebx
	movl	%edi, %eax
	andl	$65280, %eax                    ## imm = 0xFF00
	cmpl	$8192, %eax                     ## imm = 0x2000
	jne	LBB0_2
## %bb.1:
	movq	_EL_CDREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %edx
	andl	$63, %edx
	movq	_SekPc@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	callq	_elprintf
	movl	%ebx, %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_m68k_reg_write8                ## TAILCALL
LBB0_2:
	movl	%ebx, %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PicoWrite8_io                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EL_CDREGS,4,2                  ## @EL_CDREGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m68k_regs w8:  [%02x]   %02x @%06x"

	.comm	_SekPc,4,2                      ## @SekPc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoWrite8_mcd_io              ; -- Begin function PicoWrite8_mcd_io
	.p2align	2
_PicoWrite8_mcd_io:                     ; @PicoWrite8_mcd_io
	.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, x1
	mov	x20, x0
	and	w8, w0, #0xff00
	cmp	w8, #2, lsl #12                 ; =8192
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EL_CDREGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EL_CDREGS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	and	w2, w20, #0x3f
Lloh3:
	adrp	x8, _SekPc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SekPc@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	bl	_elprintf
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_m68k_reg_write8
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PicoWrite8_io
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EL_CDREGS,4,2                  ; @EL_CDREGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m68k_regs w8:  [%02x]   %02x @%06x"

	.comm	_SekPc,4,2                      ; @SekPc
.subsections_via_symbols
