	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dot_ram_1_write8               ## -- Begin function dot_ram_1_write8
	.p2align	4, 0x90
_dot_ram_1_write8:                      ## @dot_ram_1_write8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_scd@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	4(%rax), %edi
	movl	%r15d, %ebx
	shrl	%ebx
	andl	$131071, %ebx                   ## imm = 0x1FFFF
	movl	%ebx, %esi
	callq	_READ_BYTE
	movl	%eax, %ecx
	testb	$1, %r15b
	jne	LBB0_1
## %bb.2:
	andl	$15, %ecx
	shll	$4, %r14d
	jmp	LBB0_3
LBB0_1:
	andl	$240, %ecx
	andl	$15, %r14d
LBB0_3:
	orl	%ecx, %r14d
	movq	_gfx@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r12), %rsi
	movq	8(%r12), %rdx
	movl	4(%rdx), %edx
	andl	$24, %edx
	movq	(%rcx,%rdx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rax
	movl	%r14d, %ecx
	movl	(%rax,%rcx,4), %edx
	movl	4(%rsi), %edi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WRITE_BYTE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_scd,16,3                       ## @scd
	.comm	_gfx,8,3                        ## @gfx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dot_ram_1_write8               ; -- Begin function dot_ram_1_write8
	.p2align	2
_dot_ram_1_write8:                      ; @dot_ram_1_write8
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _scd@GOTPAGE
Lloh1:
	ldr	x22, [x22, _scd@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w0, [x8, #4]
	ubfx	w21, w20, #1, #17
	mov	x1, x21
	bl	_READ_BYTE
Lloh2:
	adrp	x8, _gfx@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gfx@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldp	x10, x9, [x22]
	ldr	w9, [x9, #4]
	ubfx	x9, x9, #3, #2
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, w0, sxtw #3]
	and	w9, w0, #0xf0
	bfi	w0, w19, #4, #28
	bfxil	w9, w19, #0, #4
	tst	w20, #0x1
	csel	w9, w0, w9, eq
	ldr	w2, [x8, w9, uxtw #2]
	ldr	w0, [x10, #4]
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_WRITE_BYTE
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_scd,16,3                       ; @scd
	.comm	_gfx,8,3                        ; @gfx
.subsections_via_symbols
