	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoWrite8_32x                 ## -- Begin function PicoWrite8_32x
	.p2align	4, 0x90
_PicoWrite8_32x:                        ## @PicoWrite8_32x
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	movl	%edi, %eax
	andl	$65472, %eax                    ## imm = 0xFFC0
	cmpl	$20736, %eax                    ## imm = 0x5100
	jne	LBB0_7
## %bb.1:
	movq	_Pico32x@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_EL_32X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%r14b, %ecx
	movq	_SekPc@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_elprintf
	movl	%ebx, %eax
	andl	$63, %eax
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%r15), %eax
	notl	%eax
	andl	%r14d, %eax
	movq	_P32XS_ADEN@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.3:
	xorl	%eax, %eax
	callq	_Pico32xStartup
	movq	_P32XS_nRES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r15), %eax
	movl	%eax, (%r15)
	orl	(%rbx), %eax
	movl	%eax, (%r15)
	movl	$1, %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_p32x_reg_write8                ## TAILCALL
LBB0_7:
	movq	_EL_UIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%r14b, %ecx
	movq	_SekPc@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elprintf                       ## TAILCALL
LBB0_4:
	andl	$48, %ebx
	cmpl	$32, %ebx
	jne	LBB0_6
## %bb.5:
	xorl	$1, %eax
	movl	%r14d, (%r15,%rax,4)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico32x,8,3                    ## @Pico32x
	.comm	_EL_32X,4,2                     ## @EL_32X
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m68k 32x w8  [%06x]   %02x @%06x"

	.comm	_SekPc,4,2                      ## @SekPc
	.comm	_P32XS_ADEN,4,2                 ## @P32XS_ADEN
	.comm	_P32XS_nRES,4,2                 ## @P32XS_nRES
	.comm	_EL_UIO,4,2                     ## @EL_UIO
L_.str.1:                               ## @.str.1
	.asciz	"m68k unmapped w8  [%06x]   %02x @%06x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoWrite8_32x                 ; -- Begin function PicoWrite8_32x
	.p2align	2
_PicoWrite8_32x:                        ; @PicoWrite8_32x
	.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
	mov	x19, x1
	mov	x20, x0
	and	w8, w0, #0xffc0
	mov	w9, #20736
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _Pico32x@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Pico32x@GOTPAGEOFF]
Lloh2:
	adrp	x9, _EL_32X@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EL_32X@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
Lloh5:
	ldr	w0, [x9]
	and	w3, w19, #0xff
Lloh6:
	adrp	x8, _SekPc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SekPc@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_elprintf
	and	w8, w20, #0x3f
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x21]
	bic	w8, w19, w8
Lloh11:
	adrp	x20, _P32XS_ADEN@GOTPAGE
Lloh12:
	ldr	x20, [x20, _P32XS_ADEN@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w8, w9
	b.eq	LBB0_7
; %bb.3:
	bl	_Pico32xStartup
Lloh13:
	adrp	x8, _P32XS_nRES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _P32XS_nRES@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x21]
	mov	w0, #1
	mov	x1, x19
	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
	b	_p32x_reg_write8
LBB0_4:
Lloh16:
	adrp	x8, _EL_UIO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EL_UIO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	and	w3, w19, #0xff
Lloh19:
	adrp	x8, _SekPc@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SekPc@GOTPAGEOFF]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh23:
	ldr	w4, [x8]
	mov	x2, x20
	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
	b	_elprintf
LBB0_5:
	and	w9, w20, #0x30
	cmp	w9, #32
	b.ne	LBB0_7
; %bb.6:
	eor	w8, w8, #0x1
	str	w19, [x21, w8, uxtw #2]
LBB0_7:
	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
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico32x,8,3                    ; @Pico32x
	.comm	_EL_32X,4,2                     ; @EL_32X
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m68k 32x w8  [%06x]   %02x @%06x"

	.comm	_SekPc,4,2                      ; @SekPc
	.comm	_P32XS_ADEN,4,2                 ; @P32XS_ADEN
	.comm	_P32XS_nRES,4,2                 ; @P32XS_nRES
	.comm	_EL_UIO,4,2                     ; @EL_UIO
l_.str.1:                               ; @.str.1
	.asciz	"m68k unmapped w8  [%06x]   %02x @%06x"

.subsections_via_symbols
