	.file	"extr_memory.c_PicoReadM68k8_ramc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"m68k unmapped r8  [%06x] @%06x"
	.text
	.p2align 4
	.type	PicoReadM68k8_ramc, @function
PicoReadM68k8_ramc:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edi, 4194305
	je	.L13
	mov	eax, edi
	mov	edx, edi
	and	eax, 16646144
	cmp	eax, 6291456
	je	.L14
	cmp	edi, 8388607
	je	.L15
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	ecx, DWORD PTR SekPc[rip]
	mov	edi, DWORD PTR EL_UIO[rip]
	lea	rsi, .LC0[rip]
	call	elprintf@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR Pico_mcd[rip]
	mov	eax, DWORD PTR [rax]
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	QWORD PTR SRam[rip], 1
	sbb	eax, eax
	not	eax
	and	eax, 3
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rcx, QWORD PTR SRam[rip]
	xor	eax, eax
	test	rcx, rcx
	je	.L10
	sar	edx
	movzx	edx, dx
	mov	eax, DWORD PTR 32768[rcx+rdx*4]
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	ret
	.cfi_endproc
.LFE0:
	.size	PicoReadM68k8_ramc, .-PicoReadM68k8_ramc
	.comm	SekPc,4,4
	.comm	SRam,8,8
	.comm	Pico_mcd,8,8
	.comm	EL_UIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_memory.c_PicoReadM68k8_ramc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"m68k unmapped r8  [%06x] @%06x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	PicoReadM68k8_ramc, %function
PicoReadM68k8_ramc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	cmp	r0, r3
	beq	.L12
	and	r3, r0, #16646144
	cmp	r3, #6291456
	mov	r2, r0
	beq	.L13
	ldr	r3, .L15+4
	cmp	r0, r3
	beq	.L14
	ldr	r1, .L15+8
	ldr	r3, .L15+12
	push	{r4, lr}
	ldr	r3, [r3]
	ldr	r0, [r1]
	ldr	r1, .L15+16
	bl	elprintf
	mov	r0, #0
	pop	{r4, pc}
.L14:
	ldr	r3, .L15+20
	ldr	r3, [r3]
	ldr	r0, [r3]
	bx	lr
.L12:
	ldr	r3, .L15+24
	ldr	r3, [r3]
	cmp	r3, #0
	moveq	r0, #0
	movne	r0, #3
	bx	lr
.L13:
	ldr	r3, .L15+24
	ldr	r0, [r3]
	cmp	r0, #0
	ldrne	r3, .L15+28
	andne	r2, r3, r2, asr #1
	addne	r2, r2, #8192
	ldrne	r0, [r0, r2, lsl #2]
	bx	lr
.L16:
	.align	2
.L15:
	.word	4194305
	.word	8388607
	.word	EL_UIO
	.word	SekPc
	.word	.LC0
	.word	Pico_mcd
	.word	SRam
	.word	65535
	.size	PicoReadM68k8_ramc, .-PicoReadM68k8_ramc
	.comm	SekPc,4,4
	.comm	SRam,4,4
	.comm	Pico_mcd,4,4
	.comm	EL_UIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
