	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6000_pcm_start
_s6000_pcm_start:                       ## @s6000_pcm_start
	.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
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx), %r14
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	(%r15), %rax
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	sete	%bl
	movl	(%r12,%rbx,4), %r12d
	movl	%r12d, %edi
	callq	_DMA_MASK_DMAC
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_DMA_INDEX_CHNL
	movl	%ebx, %r9d
	xorl	$1, %r9d
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	pushq	$1
	pushq	$0
	pushq	$0
	pushq	$-1
	pushq	$4
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_s6dmac_enable_chan
	addq	$64, %rsp
	movq	%r15, %rdi
	callq	_s6000_pcm_enqueue_dma
	movq	%r15, %rdi
	callq	_s6000_pcm_enqueue_dma
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.no_dead_strip	_s6000_pcm_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6000_pcm_start
_s6000_pcm_start:                       ; @s6000_pcm_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldp	x9, x8, [x0, #8]
	ldr	x20, [x8]
	ldr	x8, [x9]
	ldr	x8, [x8]
	ldr	x23, [x8]
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w21, ne
	cset	w22, eq
	ldr	w23, [x23, w22, uxtw #2]
	mov	x0, x23
	bl	_DMA_MASK_DMAC
	mov	x24, x0
	mov	x0, x23
	bl	_DMA_INDEX_CHNL
	mov	x1, x0
	mov	x10, #4294967296
	mov	w8, #-1
	mov	x9, #17179869184
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
	mov	x0, x24
	mov	w2, #1
	mov	w3, #0
	mov	x4, x22
	mov	x5, x21
	mov	w6, #0
	mov	w7, #0
	bl	_s6dmac_enable_chan
	mov	x0, x19
	bl	_s6000_pcm_enqueue_dma
	mov	x0, x19
	bl	_s6000_pcm_enqueue_dma
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.no_dead_strip	_s6000_pcm_start
.subsections_via_symbols
