	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function au1000_dma_start
_au1000_dma_start:                      ## @au1000_dma_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movl	4(%rbx), %edi
	callq	_init_dma
	movl	4(%rbx), %edi
	callq	_get_dma_active_buffer
	movl	4(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	callq	_clear_dma_done1
	movl	4(%rbx), %edi
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	callq	_set_dma_addr1
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	sarl	%esi
	callq	_set_dma_count1
	movl	4(%rbx), %edi
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_set_dma_addr0
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	sarl	%esi
	callq	_set_dma_count0
	jmp	LBB0_4
LBB0_2:
	callq	_clear_dma_done0
	movl	4(%rbx), %edi
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	callq	_set_dma_addr0
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	sarl	%esi
	callq	_set_dma_count0
	movl	4(%rbx), %edi
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_set_dma_addr1
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	sarl	%esi
	callq	_set_dma_count1
LBB0_4:
	movl	4(%rbx), %edi
	callq	_enable_dma_buffers
	movl	4(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_start_dma                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_au1000_dma_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function au1000_dma_start
_au1000_dma_start:                      ; @au1000_dma_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x19, #4]
	bl	_init_dma
	ldr	w0, [x19, #4]
	bl	_get_dma_active_buffer
	mov	x8, x0
	ldr	w0, [x19, #4]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_clear_dma_done1
	ldr	w0, [x19, #4]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	bl	_set_dma_addr1
	ldp	w8, w0, [x19]
	asr	w1, w8, #1
	bl	_set_dma_count1
	ldr	w0, [x19, #4]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_set_dma_addr0
	ldp	w8, w0, [x19]
	asr	w1, w8, #1
	bl	_set_dma_count0
	b	LBB0_5
LBB0_4:
	bl	_clear_dma_done0
	ldr	w0, [x19, #4]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	bl	_set_dma_addr0
	ldp	w8, w0, [x19]
	asr	w1, w8, #1
	bl	_set_dma_count0
	ldr	w0, [x19, #4]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_set_dma_addr1
	ldp	w8, w0, [x19]
	asr	w1, w8, #1
	bl	_set_dma_count1
LBB0_5:
	ldr	w0, [x19, #4]
	bl	_enable_dma_buffers
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_start_dma
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_au1000_dma_start
.subsections_via_symbols
