	.file	"extr_io_ctrl.c_io_gg_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	io_gg_write
	.type	io_gg_write, @function
io_gg_write:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edi, 6
	ja	.L1
	lea	rdx, .L4[rip]
	mov	edi, edi
	movsx	rax, DWORD PTR [rdx+rdi*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L1-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L1-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR io_reg[rip]
	mov	ecx, esi
	mov	edx, DWORD PTR config[rip]
	mov	edi, DWORD PTR Z80[rip]
	mov	DWORD PTR 24[rax], esi
	mov	esi, DWORD PTR config[rip+4]
	jmp	SN76489_Config@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR io_reg[rip]
	mov	DWORD PTR 4[rax], esi
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR io_reg[rip]
	mov	DWORD PTR 8[rax], esi
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR io_reg[rip]
	mov	DWORD PTR 12[rax], esi
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR io_reg[rip]
	and	esi, 248
	mov	DWORD PTR 20[rax], esi
	ret
	.cfi_endproc
.LFE0:
	.size	io_gg_write, .-io_gg_write
	.comm	io_reg,8,8
	.comm	config,8,8
	.comm	Z80,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_io_ctrl.c_io_gg_write.c"
	.text
	.align	2
	.global	io_gg_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	io_gg_write, %function
io_gg_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	r0, r0, #1
	cmp	r0, #5
	ldrls	pc, [pc, r0, asl #2]
	b	.L1
.L4:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L1
	.word	.L5
	.word	.L3
.L1:
	bx	lr
.L3:
	ldr	r3, .L10
	ldr	r0, .L10+4
	ldr	r3, [r3]
	ldr	ip, .L10+8
	str	r1, [r3, #24]
	ldr	r2, [r0]
	mov	r3, r1
	ldr	r1, [r0, #4]
	ldr	r0, [ip]
	b	SN76489_Config
.L8:
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r1, [r3, #4]
	bx	lr
.L7:
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r1, [r3, #8]
	bx	lr
.L6:
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r1, [r3, #12]
	bx	lr
.L5:
	ldr	r3, .L10
	and	r1, r1, #248
	ldr	r3, [r3]
	str	r1, [r3, #20]
	bx	lr
.L11:
	.align	2
.L10:
	.word	io_reg
	.word	config
	.word	Z80
	.size	io_gg_write, .-io_gg_write
	.comm	io_reg,4,4
	.comm	config,8,4
	.comm	Z80,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
