	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_word_ram_2M_dma_w              ## -- Begin function word_ram_2M_dma_w
	.p2align	4, 0x90
_word_ram_2M_dma_w:                     ## @word_ram_2M_dma_w
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_cdc@GOTPCREL(%rip), %r8
	movl	8(%r8), %ecx
	movq	_scd@GOTPCREL(%rip), %r9
	movq	8(%r9), %rsi
	movl	20(%rsi), %eax
	movl	%edi, %edx
	shrl	$2, %edx
	addl	%eax, %edx
	movl	%edx, 20(%rsi)
	leal	(%rcx,%rdi,2), %edx
	movl	%edx, 8(%r8)
	testl	%edi, %edi
	je	LBB0_6
## %bb.1:
	shll	$3, %eax
	andl	$262136, %eax                   ## imm = 0x3FFF8
	movq	(%r8), %r8
	movq	(%r9), %r9
	testb	$1, %dil
	jne	LBB0_3
## %bb.2:
	movl	%edi, %edx
	cmpl	$1, %edi
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	leal	-1(%rdi), %edx
	andl	$16382, %ecx                    ## imm = 0x3FFE
	movl	(%r8,%rcx), %esi
	movl	%esi, (%r9,%rax)
	addl	$2, %ecx
	orl	$2, %eax
	cmpl	$1, %edi
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	andl	$16382, %ecx                    ## imm = 0x3FFE
	movl	(%r8,%rcx), %esi
	movl	%eax, %edi
	movl	%esi, (%r9,%rdi)
	leal	2(%rcx), %esi
	addl	$2, %eax
	andl	$262142, %eax                   ## imm = 0x3FFFE
	andl	$16382, %esi                    ## imm = 0x3FFE
	leal	2(%rsi), %ecx
	movl	(%r8,%rsi), %esi
	movl	%esi, (%r9,%rax)
	addl	$2, %eax
	andl	$262142, %eax                   ## imm = 0x3FFFE
                                        ## kill: def $eax killed $eax def $rax
	addl	$-2, %edx
	jne	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cdc,16,3                       ## @cdc
	.comm	_scd,16,3                       ## @scd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_word_ram_2M_dma_w              ; -- Begin function word_ram_2M_dma_w
	.p2align	2
_word_ram_2M_dma_w:                     ; @word_ram_2M_dma_w
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x10, _cdc@GOTPAGE
Lloh1:
	ldr	x10, [x10, _cdc@GOTPAGEOFF]
	ldr	w8, [x10, #8]
Lloh2:
	adrp	x11, _scd@GOTPAGE
Lloh3:
	ldr	x11, [x11, _scd@GOTPAGEOFF]
	ldr	x12, [x11, #8]
	ldr	w9, [x12, #20]
	add	w13, w9, w0, lsr #2
	str	w13, [x12, #20]
	add	w12, w8, w0, lsl #1
	str	w12, [x10, #8]
	cbz	w0, LBB0_3
; %bb.1:
	ubfiz	w9, w9, #3, #15
	ldr	x10, [x10]
	ldr	x11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	x8, x8, #0x3ffe
	ldr	w12, [x10, x8]
	str	w12, [x11, w9, uxtw]
	add	w8, w8, #2
	add	w9, w9, #2
	and	w9, w9, #0x3fffe
	subs	w0, w0, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cdc,16,3                       ; @cdc
	.comm	_scd,16,3                       ; @scd
.subsections_via_symbols
