	.file	"extr_gfx.c_dot_ram_1_write8.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dot_ram_1_write8
	.type	dot_ram_1_write8, @function
dot_ram_1_write8:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR scd[rip]
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	shr	ebp
	mov	edi, DWORD PTR 4[rax]
	mov	ebx, esi
	and	ebp, 131071
	mov	esi, ebp
	call	READ_BYTE@PLT
	and	r12d, 1
	je	.L2
	mov	edx, eax
	and	ebx, 15
	and	edx, 240
	or	edx, ebx
.L3:
	mov	rcx, QWORD PTR scd[rip+8]
	mov	rsi, QWORD PTR gfx[rip]
	cdqe
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	ecx, DWORD PTR 4[rcx]
	sar	ecx, 3
	and	ecx, 3
	mov	rcx, QWORD PTR [rsi+rcx*8]
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	mov	rax, QWORD PTR [rcx+rax*8]
	mov	rcx, QWORD PTR scd[rip]
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	edi, DWORD PTR 4[rcx]
	jmp	WRITE_BYTE@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, eax
	sal	ebx, 4
	and	edx, 15
	or	edx, ebx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	dot_ram_1_write8, .-dot_ram_1_write8
	.comm	scd,16,16
	.comm	gfx,8,8
	.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_gfx.c_dot_ram_1_write8.c"
	.text
	.align	2
	.global	dot_ram_1_write8
	.syntax unified
	.arm
	.fpu softvfp
	.type	dot_ram_1_write8, %function
dot_ram_1_write8:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L6
	ldr	r4, .L6+4
	ldr	r3, [r7]
	and	r4, r4, r0, lsr #1
	mov	r5, r1
	mov	r6, r0
	mov	r1, r4
	ldr	r0, [r3, #4]
	bl	READ_BYTE
	tst	r6, #1
	andne	r5, r5, #15
	andne	r3, r0, #240
	andeq	r3, r0, #15
	orrne	r5, r3, r5
	orreq	r5, r3, r5, lsl #4
	ldr	r3, [r7, #4]
	ldr	r2, .L6+8
	ldr	r3, [r3, #4]
	ldr	r2, [r2]
	asr	r3, r3, #3
	and	r3, r3, #3
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r7]
	ldr	r3, [r3, r0, lsl #2]
	mov	r1, r4
	ldr	r0, [r2, #4]
	ldr	r2, [r3, r5, lsl #2]
	pop	{r4, r5, r6, r7, r8, lr}
	b	WRITE_BYTE
.L7:
	.align	2
.L6:
	.word	scd
	.word	131071
	.word	gfx
	.size	dot_ram_1_write8, .-dot_ram_1_write8
	.comm	scd,8,4
	.comm	gfx,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
