	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function setup_dma
LCPI0_0:
	.long	64                              ## 0x40
	.long	512                             ## 0x200
	.long	17                              ## 0x11
	.long	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_setup_dma:                             ## @setup_dma
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	_M_DEVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$96, %edi
	callq	_malloc
	movq	%rax, %rbx
	movl	28(%r15), %eax
	movl	%eax, 92(%rbx)
	movq	_sai_dma_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	%r14, 80(%rbx)
	movl	24(%r15), %eax
	movl	%eax, 72(%rbx)
	movq	16(%r15), %rax
	movl	(%rax), %edi
	callq	_rman_get_start
	movq	_I2S_TDR0@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 64(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movaps	LCPI0_0(%rip), %xmm1            ## xmm1 = [64,512,17,4]
	movups	%xmm1, (%rbx)
	movq	$0, 40(%rbx)
	movabsq	$8589934594, %rax               ## imm = 0x200000002
	movq	%rax, 16(%rbx)
	movups	%xmm0, 24(%rbx)
	movq	%rbx, (%r15)
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	callq	*(%rdi)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_DEVBUF,4,2                   ## @M_DEVBUF
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_sai_dma_intr,4,2               ## @sai_dma_intr
	.comm	_I2S_TDR0,8,3                   ## @I2S_TDR0
	.no_dead_strip	_setup_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function setup_dma
lCPI0_0:
	.long	64                              ; 0x40
	.long	512                             ; 0x200
	.long	17                              ; 0x11
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_setup_dma:                             ; @setup_dma
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _M_DEVBUF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_DEVBUF@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #96
	bl	_malloc
	mov	x20, x0
Lloh9:
	adrp	x8, _sai_dma_intr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sai_dma_intr@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldp	w10, w9, [x21, #24]
	stp	w8, w9, [x0, #88]
	str	x19, [x0, #80]
	str	w10, [x0, #72]
	ldr	x8, [x21, #16]
	ldr	w0, [x8]
	bl	_rman_get_start
Lloh12:
	adrp	x8, _I2S_TDR0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I2S_TDR0@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x8, x8, x0
	stp	xzr, x8, [x20, #56]
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x20]
	stp	xzr, xzr, [x20, #40]
	movi.2s	v0, #2
	str	d0, [x20, #16]
	stp	xzr, xzr, [x20, #24]
	str	x20, [x21]
	ldr	x0, [x21, #8]
	ldr	x8, [x0]
	mov	x1, x20
	blr	x8
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_M_DEVBUF,4,2                   ; @M_DEVBUF
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_sai_dma_intr,4,2               ; @sai_dma_intr
	.comm	_I2S_TDR0,8,3                   ; @I2S_TDR0
	.no_dead_strip	_setup_dma
.subsections_via_symbols
