	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PicoWrite16_bank
_PicoWrite16_bank:                      ## @PicoWrite16_bank
	.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
	movq	_Pico@GOTPCREL(%rip), %rax
	movq	_SRR_MAPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_EL_UIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzwl	%r14w, %ecx
	movq	_SekPc@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_elprintf
LBB0_2:
	movq	_Pico32x@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	shll	$20, %eax
	andl	$1048575, %ebx                  ## imm = 0xFFFFF
	orl	%eax, %ebx
	movl	%ebx, %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_m68k_write16                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico,4,2                       ## @Pico
	.comm	_SRR_MAPPED,4,2                 ## @SRR_MAPPED
	.comm	_EL_UIO,4,2                     ## @EL_UIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m68k w16 [%06x] %04x @%06x"

	.comm	_SekPc,4,2                      ## @SekPc
	.comm	_Pico32x,8,3                    ## @Pico32x
	.no_dead_strip	_PicoWrite16_bank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PicoWrite16_bank
_PicoWrite16_bank:                      ; @PicoWrite16_bank
	.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
Lloh0:
	adrp	x8, _Pico@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Pico@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SRR_MAPPED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SRR_MAPPED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EL_UIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EL_UIO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	and	w3, w19, #0xffff
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
	mov	x2, x20
	bl	_elprintf
LBB0_2:
Lloh14:
	adrp	x8, _Pico32x@GOTPAGE
Lloh15:
	ldr	x8, [x8, _Pico32x@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w8, [x8, #8]
	bfi	w20, w8, #20, #12
	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_write16
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico,4,2                       ; @Pico
	.comm	_SRR_MAPPED,4,2                 ; @SRR_MAPPED
	.comm	_EL_UIO,4,2                     ; @EL_UIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m68k w16 [%06x] %04x @%06x"

	.comm	_SekPc,4,2                      ; @SekPc
	.comm	_Pico32x,8,3                    ; @Pico32x
	.no_dead_strip	_PicoWrite16_bank
.subsections_via_symbols
