	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ScspSlotDebugAudio
_ScspSlotDebugAudio:                    ## @ScspSlotDebugAudio
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movslq	%ecx, %rax
	leaq	(%rsi,%rax,4), %r12
	movq	_scsp_bufL@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	movq	_scsp_bufR@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	movq	(%rdi), %rcx
	movq	_SCSP_ENV_DECAY_END@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jge	LBB0_3
## %bb.1:
	movq	%rdi, %r13
	cmpq	$0, 8(%rdi)
	jne	LBB0_3
## %bb.2:
	movq	%rsi, %rbx
	leal	(,%r15,4), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memset
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_ScspGenerateAudioForSlot
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	callq	_ScspConvert32uto16s
	movl	%r15d, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scsp_bufL,8,3                  ## @scsp_bufL
	.comm	_scsp_bufR,8,3                  ## @scsp_bufR
	.comm	_SCSP_ENV_DECAY_END,8,3         ## @SCSP_ENV_DECAY_END
	.no_dead_strip	_ScspSlotDebugAudio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ScspSlotDebugAudio
_ScspSlotDebugAudio:                    ; @ScspSlotDebugAudio
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	add	x22, x1, w3, sxtw #2
Lloh0:
	adrp	x8, _scsp_bufL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scsp_bufL@GOTPAGEOFF]
Lloh2:
	str	x1, [x8]
Lloh3:
	adrp	x8, _scsp_bufR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _scsp_bufR@GOTPAGEOFF]
Lloh5:
	str	x22, [x8]
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _SCSP_ENV_DECAY_END@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SCSP_ENV_DECAY_END@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	x23, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
LBB0_2:
	mov	w19, #0
	b	LBB0_4
LBB0_3:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	lsl	w24, w3, #2
	mov	x0, x1
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	mov	x0, x22
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	mov	x0, x23
	mov	x1, x19
	bl	_ScspGenerateAudioForSlot
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_ScspConvert32uto16s
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_scsp_bufL,8,3                  ; @scsp_bufL
	.comm	_scsp_bufR,8,3                  ; @scsp_bufR
	.comm	_SCSP_ENV_DECAY_END,8,3         ; @SCSP_ENV_DECAY_END
	.no_dead_strip	_ScspSlotDebugAudio
.subsections_via_symbols
