	.file	"extr_memory.c_z80_md_ym2612_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	z80_md_ym2612_write, @function
z80_md_ym2612_write:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR PicoOpt[rip]
	test	DWORD PTR POPT_EN_FM[rip], eax
	jne	.L11
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	movzx	esi, sil
	mov	edx, 1
	call	ym2612_write_local@PLT
	and	eax, 1
	or	DWORD PTR emustatus[rip], eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	z80_md_ym2612_write, .-z80_md_ym2612_write
	.comm	emustatus,4,4
	.comm	PicoOpt,4,4
	.comm	POPT_EN_FM,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_z80_md_ym2612_write.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	z80_md_ym2612_write, %function
z80_md_ym2612_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L11
	ldr	r3, .L11+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	bxeq	lr
	mov	r2, #1
	push	{r4, lr}
	bl	ym2612_write_local
	ldr	r2, .L11+8
	and	r3, r0, #1
	ldr	r0, [r2]
	orr	r0, r0, r3
	str	r0, [r2]
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	PicoOpt
	.word	POPT_EN_FM
	.word	emustatus
	.size	z80_md_ym2612_write, .-z80_md_ym2612_write
	.comm	emustatus,4,4
	.comm	PicoOpt,4,4
	.comm	POPT_EN_FM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
