	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scsp_dma
_scsp_dma:                              ## @scsp_dma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_scsp@GOTPCREL(%rip), %rax
	testb	$32, (%rax)
	movl	12(%rax), %esi
	movl	4(%rax), %ecx
	movl	8(%rax), %edx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_SCSPLOG
	movq	_scsp_ccr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andl	$224, 84(%rax)
	movl	$16, %edi
	callq	_scsp_sound_interrupt
	movl	$16, %edi
	popq	%rbp
	jmp	_scsp_main_interrupt            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_scsp,16,2                      ## @scsp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scsp dma: scsp_ram(%08lx) <- reg(%08lx) * %08lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"scsp dma: scsp_ram(%08lx) -> reg(%08lx) * %08lx\n"

	.comm	_scsp_ccr,8,3                   ## @scsp_ccr
	.no_dead_strip	_scsp_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scsp_dma
_scsp_dma:                              ; @scsp_dma
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _scsp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scsp@GOTPAGEOFF]
	ldp	w2, w1, [x8, #8]
	ldp	w9, w3, [x8]
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
Lloh4:
	adrp	x10, l_.str.1@PAGE
Lloh5:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w9, #0x20
	csel	x0, x10, x8, eq
	bl	_SCSPLOG
Lloh6:
	adrp	x8, _scsp_ccr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _scsp_ccr@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w9, [x8, #84]
	and	w9, w9, #0xe0
	str	w9, [x8, #84]
	mov	w0, #16
	bl	_scsp_sound_interrupt
	mov	w0, #16
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_scsp_main_interrupt
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_scsp,16,2                      ; @scsp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scsp dma: scsp_ram(%08lx) <- reg(%08lx) * %08lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"scsp dma: scsp_ram(%08lx) -> reg(%08lx) * %08lx\n"

	.comm	_scsp_ccr,8,3                   ; @scsp_ccr
	.no_dead_strip	_scsp_dma
.subsections_via_symbols
