	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_m3_playback_setup
_snd_m3_playback_setup:                 ## @snd_m3_playback_setup
	.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	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_MEMTYPE_INTERNAL_DATA@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r13), %ecx
	movq	_SRC3_DIRECTION_OFFSET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	leal	(%rcx,%rax), %edx
	addl	$12, %edx
	addl	$48, %ecx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_snd_m3_assp_write
	movl	(%r12), %esi
	movl	(%r13), %eax
	movl	(%rbx), %ecx
	leal	(%rax,%rcx), %edx
	addl	$19, %edx
	movq	_MINISRC_COEF_LOC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addl	4(%r13), %ecx
	movq	%r14, %rdi
	callq	_snd_m3_assp_write
	movl	(%r12), %esi
	movq	(%r15), %rax
	xorl	%edi, %edi
	cmpl	$45001, (%rax)                  ## imm = 0xAFC9
	movl	(%r13), %eax
	movl	(%rbx), %ecx
	leal	22(%rax,%rcx), %edx
	movl	$255, %ecx
	cmovll	%edi, %ecx
	movq	%r14, %rdi
	callq	_snd_m3_assp_write
	movq	_CDATA_DMA_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	(%r13), %edx
	movq	_DMACONTROL_AUTOREPEAT@GOTPCREL(%rip), %rax
	movq	_DMAC_PAGE3_SELECTOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	(%rax), %ecx
	movl	(%r12), %esi
	movq	_DMAC_BLOCKF_SELECTOR@GOTPCREL(%rip), %rax
	addl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_snd_m3_assp_write
	movq	_pv@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	(%r15), %rax
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %ecx
	addl	(%r13), %edx
	movq	%r14, %rdi
	callq	_snd_m3_assp_write
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMTYPE_INTERNAL_DATA,4,2      ## @MEMTYPE_INTERNAL_DATA
	.comm	_SRC3_DIRECTION_OFFSET,4,2      ## @SRC3_DIRECTION_OFFSET
	.comm	_MINISRC_COEF_LOC,4,2           ## @MINISRC_COEF_LOC
	.comm	_CDATA_DMA_CONTROL,4,2          ## @CDATA_DMA_CONTROL
	.comm	_DMACONTROL_AUTOREPEAT,4,2      ## @DMACONTROL_AUTOREPEAT
	.comm	_DMAC_PAGE3_SELECTOR,4,2        ## @DMAC_PAGE3_SELECTOR
	.comm	_DMAC_BLOCKF_SELECTOR,4,2       ## @DMAC_BLOCKF_SELECTOR
	.comm	_pv,8,3                         ## @pv
	.no_dead_strip	_snd_m3_playback_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_m3_playback_setup
_snd_m3_playback_setup:                 ; @snd_m3_playback_setup
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _MEMTYPE_INTERNAL_DATA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MEMTYPE_INTERNAL_DATA@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w8, [x19]
Lloh2:
	adrp	x23, _SRC3_DIRECTION_OFFSET@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SRC3_DIRECTION_OFFSET@GOTPAGEOFF]
	ldr	w9, [x23]
	add	w9, w8, w9
	add	w2, w9, #12
	add	w3, w8, #48
	bl	_snd_m3_assp_write
	ldr	w1, [x22]
	ldr	w8, [x23]
	ldp	w9, w10, [x19]
	add	w8, w9, w8
	add	w2, w8, #19
Lloh4:
	adrp	x8, _MINISRC_COEF_LOC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MINISRC_COEF_LOC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	add	w3, w8, w10
	mov	x0, x20
	bl	_snd_m3_assp_write
	ldr	w1, [x22]
	ldr	w8, [x19]
	ldr	w9, [x23]
	add	w8, w8, w9
	add	w2, w8, #22
	ldr	x8, [x21]
	ldr	w8, [x8]
	mov	w9, #45000
	mov	w10, #255
	cmp	w8, w9
	csel	w3, w10, wzr, gt
	mov	x0, x20
	bl	_snd_m3_assp_write
	ldr	w1, [x22]
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _CDATA_DMA_CONTROL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CDATA_DMA_CONTROL@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	add	w2, w9, w8
Lloh10:
	adrp	x8, _DMACONTROL_AUTOREPEAT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DMACONTROL_AUTOREPEAT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _DMAC_PAGE3_SELECTOR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DMAC_PAGE3_SELECTOR@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _DMAC_BLOCKF_SELECTOR@GOTPAGE
Lloh17:
	ldr	x10, [x10, _DMAC_BLOCKF_SELECTOR@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w3, w8, w10
	mov	x0, x20
	bl	_snd_m3_assp_write
Lloh19:
	adrp	x21, _pv@GOTPAGE
Lloh20:
	ldr	x21, [x21, _pv@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	ldr	w8, [x19]
	ldr	x9, [x21]
	add	x9, x9, x23
	ldp	w10, w3, [x9]
	add	w2, w10, w8
	mov	x0, x20
	bl	_snd_m3_assp_write
	add	x24, x24, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x23, x23, #8
	cmp	x24, w0, uxtw
	b.lo	LBB0_2
LBB0_3:
	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 AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMTYPE_INTERNAL_DATA,4,2      ; @MEMTYPE_INTERNAL_DATA
	.comm	_SRC3_DIRECTION_OFFSET,4,2      ; @SRC3_DIRECTION_OFFSET
	.comm	_MINISRC_COEF_LOC,4,2           ; @MINISRC_COEF_LOC
	.comm	_CDATA_DMA_CONTROL,4,2          ; @CDATA_DMA_CONTROL
	.comm	_DMACONTROL_AUTOREPEAT,4,2      ; @DMACONTROL_AUTOREPEAT
	.comm	_DMAC_PAGE3_SELECTOR,4,2        ; @DMAC_PAGE3_SELECTOR
	.comm	_DMAC_BLOCKF_SELECTOR,4,2       ; @DMAC_BLOCKF_SELECTOR
	.comm	_pv,8,3                         ; @pv
	.no_dead_strip	_snd_m3_playback_setup
.subsections_via_symbols
