	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcm_ram_dma_w                  ## -- Begin function pcm_ram_dma_w
	.p2align	4, 0x90
_pcm_ram_dma_w:                         ## @pcm_ram_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), %rax
	movq	(%rax), %rsi
	movl	20(%rsi), %eax
	movl	%edi, %edx
	shrl	%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	$2, %eax
	andl	$4092, %eax                     ## imm = 0xFFC
	movq	(%r8), %r8
	movq	_pcm@GOTPCREL(%rip), %rdx
	movq	(%rdx), %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	$4094, %eax                     ## imm = 0xFFE
	andl	$16382, %esi                    ## imm = 0x3FFE
	leal	2(%rsi), %ecx
	movl	(%r8,%rsi), %esi
	movl	%esi, (%r9,%rax)
	addl	$2, %eax
	andl	$4094, %eax                     ## imm = 0xFFE
                                        ## 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,8,3                        ## @scd
	.comm	_pcm,8,3                        ## @pcm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcm_ram_dma_w                  ; -- Begin function pcm_ram_dma_w
	.p2align	2
_pcm_ram_dma_w:                         ; @pcm_ram_dma_w
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x10, _cdc@GOTPAGE
Lloh1:
	ldr	x10, [x10, _cdc@GOTPAGEOFF]
	ldr	w8, [x10, #8]
Lloh2:
	adrp	x9, _scd@GOTPAGE
Lloh3:
	ldr	x9, [x9, _scd@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x9]
	ldr	w9, [x11, #20]
	add	w12, w9, w0, lsr #1
	str	w12, [x11, #20]
	add	w11, w8, w0, lsl #1
	str	w11, [x10, #8]
	cbz	w0, LBB0_3
; %bb.1:
	ubfiz	w9, w9, #2, #10
	ldr	x10, [x10]
Lloh5:
	adrp	x11, _pcm@GOTPAGE
Lloh6:
	ldr	x11, [x11, _pcm@GOTPAGEOFF]
Lloh7:
	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, #0xffe
	subs	w0, w0, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_cdc,16,3                       ; @cdc
	.comm	_scd,8,3                        ; @scd
	.comm	_pcm,8,3                        ; @pcm
.subsections_via_symbols
