	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_riptide_prepare
_snd_riptide_prepare:                   ## @snd_riptide_prepare
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	%rax, %r12
	movq	(%rbx), %r14
	movq	%rbx, %rdi
	callq	_get_pcmhwdev
	movq	%rax, %r15
	movq	8(%r12), %r13
	testq	%r13, %r13
	sete	%al
	testq	%r15, %r15
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_37
LBB0_2:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %esi
	movl	(%r14), %edx
	movl	4(%r14), %ecx
	movl	8(%r14), %r8d
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_snd_printdd
	movq	%r12, %rdi
	callq	_spin_lock_irq
	movl	(%r14), %ecx
	movl	4(%r14), %edx
	movl	8(%r14), %r15d
	cmpl	$2, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	je	LBB0_8
## %bb.3:
	cmpl	$1, %ecx
	jne	LBB0_12
## %bb.4:
	cmpl	$48000, %r15d                   ## imm = 0xBB80
	jne	LBB0_7
## %bb.5:
	movq	_SNDRV_PCM_FORMAT_S16_LE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_6
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$88, %rax
	jmp	LBB0_11
LBB0_8:
	cmpl	$48000, %r15d                   ## imm = 0xBB80
	jne	LBB0_10
## %bb.9:
	movq	_SNDRV_PCM_FORMAT_S16_LE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jne	LBB0_10
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$80, %rax
	jmp	LBB0_11
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$96, %rax
LBB0_11:
	movq	(%rax), %rbx
LBB0_12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	72(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_snd_printdd
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	cmpq	$0, 72(%rsi)
	je	LBB0_24
## %bb.13:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movl	16(%r14), %esi
	movq	%r14, %rdi
	callq	_frames_to_bytes
	movl	%eax, %ebx
	movl	12(%r14), %esi
	movq	%r14, %rdi
	callq	_frames_to_bytes
	movl	%eax, %r8d
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
                                        ## kill: def $ebx killed $ebx def $rbx
	decl	%ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r14d
	shrl	%eax
	leal	(%rbx,%rax), %ecx
	movl	%r14d, %edx
	shll	$7, %edx
	cmpl	%edx, %ecx
	ja	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	leal	(%r14,%r14), %ecx
	cmpl	%r8d, %ecx
	ja	LBB0_14
LBB0_16:
	leal	(%rbx,%r14), %eax
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	divl	%r14d
	movl	%eax, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, 4(%rax)
	movl	%edx, 8(%rax)
	leaq	L_.str.2(%rip), %rdi
	movl	%edx, %r12d
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_snd_printdd
	addl	%r14d, %ebx
	jae	LBB0_18
## %bb.17:
	xorl	%ebx, %ebx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_18:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r12d
	movl	$1, %eax
	cmovael	%r12d, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	leaq	(%r12,%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	64(%rcx), %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%r12,%rbx)
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	%r13d, %esi
	shll	%cl, %esi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_snd_pcm_sgbuf_get_addr
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r12,%rbx)
	addl	%r14d, %r15d
	movl	%r15d, %eax
	xorl	%edx, %edx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	divl	(%rcx)
	movl	%edx, %r15d
	cmpl	$1, %edx
	adcl	$0, %r13d
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r12,%rbx)
	movq	_IEOS_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IEOB_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_IEOC_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%r12,%rbx)
	subl	%r14d, -52(%rbp)                ## 4-byte Folded Spill
	movq	-128(%rbp), %rax                ## 8-byte Reload
	incq	%rax
	addq	$32, %rbx
	cmpq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_22
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	56(%rcx), %r12
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	64(%rcx), %edi
	addl	%ebx, %edi
	callq	_cpu_to_le32
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, 24(%rdx)
	jmp	LBB0_21
LBB0_22:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_23:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	56(%rsi), %rcx
	shlq	$5, %rbx
	movq	%rax, (%rcx,%rbx)
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
LBB0_24:
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.25:
	movq	16(%rsi), %rdx
	cmpq	%rdx, %rbx
	je	LBB0_29
## %bb.26:
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.27:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	52(%rax), %esi
	movq	%r13, %rdi
	callq	_freelbuspath
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_28:
	movl	44(%rsi), %r8d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	52(%rax), %esi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	$48, %rcx
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_alloclbuspath
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, 16(%rsi)
	movl	$0, 24(%rsi)
LBB0_29:
	cmpl	%r15d, 24(%rsi)
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	jne	LBB0_32
## %bb.30:
	cmpq	%r8, 32(%rsi)
	jne	LBB0_32
## %bb.31:
	xorl	%ebx, %ebx
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, 40(%rsi)
	je	LBB0_36
LBB0_32:
	movl	%r15d, 24(%rsi)
	movq	%r8, 32(%rsi)
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 40(%rsi)
	movl	(%rsi), %edx
	movq	%rsi, %rbx
	movl	48(%rsi), %esi
	movq	%r13, %rdi
	callq	_setsampleformat
	testq	%rax, %rax
	jne	LBB0_35
## %bb.33:
	movl	44(%rbx), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_setsamplerate
	testq	%rax, %rax
	je	LBB0_34
LBB0_35:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_36:
	movq	%r12, %rdi
	callq	_spin_unlock_irq
LBB0_37:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	xorl	%ebx, %ebx
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prepare id %d ch: %d f:0x%x r:%d\n"

	.comm	_SNDRV_PCM_FORMAT_S16_LE,8,3    ## @SNDRV_PCM_FORMAT_S16_LE
L_.str.1:                               ## @.str.1
	.asciz	"use sgdlist at 0x%p\n"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"create sgd size: 0x%x pages %d of size 0x%x for period 0x%x\n"

	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_IEOB_ENABLE,4,2                ## @IEOB_ENABLE
	.comm	_IEOS_ENABLE,4,2                ## @IEOS_ENABLE
	.comm	_IEOC_ENABLE,4,2                ## @IEOC_ENABLE
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_snd_riptide_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_riptide_prepare
_snd_riptide_prepare:                   ; @snd_riptide_prepare
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_snd_pcm_substream_chip
	mov	x22, x0
	ldr	x28, [x19]
	mov	x0, x19
	bl	_get_pcmhwdev
	mov	x21, x0
	ldr	x20, [x22, #8]
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_32
LBB0_2:
	ldr	w1, [x21]
	ldp	w8, w9, [x28]
	ldr	w10, [x28, #8]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_snd_printdd
	mov	x0, x22
	bl	_spin_lock_irq
	ldp	w26, w25, [x28]
	ldr	w24, [x28, #8]
	cmp	w26, #2
	b.eq	LBB0_5
; %bb.3:
	cmp	w26, #1
	b.ne	LBB0_7
; %bb.4:
Lloh5:
	adrp	x8, _SNDRV_PCM_FORMAT_S16_LE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNDRV_PCM_FORMAT_S16_LE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	mov	w9, #48000
	cmp	w24, w9
	ccmp	x8, x25, #0, eq
	add	x8, x21, #88
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _SNDRV_PCM_FORMAT_S16_LE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNDRV_PCM_FORMAT_S16_LE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	w9, #48000
	cmp	w24, w9
	ccmp	x8, x25, #0, eq
	add	x8, x21, #96
LBB0_6:
	add	x9, x21, #80
	csel	x8, x8, x9, ne
	ldr	x23, [x8]
	b	LBB0_8
LBB0_7:
	mov	x23, #0
LBB0_8:
	ldr	w1, [x21, #72]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_snd_printdd
	ldr	x8, [x21, #72]
	cbz	x8, LBB0_19
; %bb.9:
	stp	x23, x19, [sp, #64]             ; 16-byte Folded Spill
	ldr	w1, [x28, #16]
	mov	x0, x28
	bl	_frames_to_bytes
	mov	x27, x0
	ldr	w1, [x28, #12]
	mov	x0, x28
	bl	_frames_to_bytes
                                        ; kill: def $w0 killed $w0 def $x0
Lloh13:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x8]
	sub	w8, w27, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x28, x9
	lsr	w9, w9, #1
	add	w10, w8, w9
	lsl	w11, w28, #1
	cmp	w10, w28, lsl #7
	ccmp	w11, w0, #0, ls
	b.hi	LBB0_10
; %bb.11:
	adds	w8, w8, w28
	cset	w19, hs
	udiv	w23, w8, w28
	stp	w27, w23, [x21, #4]
	stp	x28, x0, [sp, #8]
	str	x23, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x27
	bl	_snd_printdd
	tbz	w19, #0, LBB0_13
; %bb.12:
	mov	x23, #0
	b	LBB0_18
LBB0_13:
	str	w26, [sp, #28]                  ; 4-byte Folded Spill
	str	x25, [sp, #32]                  ; 8-byte Folded Spill
	str	w24, [sp, #44]                  ; 4-byte Folded Spill
	stp	x20, x22, [sp, #48]             ; 16-byte Folded Spill
	mov	x26, #0
	mov	x24, #0
	mov	x20, #0
	mov	w22, #0
	mov	w19, #0
	cmp	w23, #1
	csinc	w23, w23, wzr, hi
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x20, x25, x26
	ldr	w0, [x21, #64]
	bl	_cpu_to_le32
	str	x0, [x20, #24]
Lloh18:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	lsl	w1, w19, w8
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_snd_pcm_sgbuf_get_addr
	add	w0, w0, w22
	bl	_cpu_to_le32
	str	x0, [x20, #16]
	add	w8, w22, w28
Lloh21:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	udiv	w10, w8, w9
	msub	w22, w10, w9, w8
	cmp	w22, #0
	cinc	w19, w19, eq
	mov	x0, x28
	bl	_cpu_to_le32
	str	x0, [x20]
Lloh24:
	adrp	x8, _IEOB_ENABLE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IEOB_ENABLE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _IEOS_ENABLE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IEOS_ENABLE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh30:
	adrp	x9, _IEOC_ENABLE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IEOC_ENABLE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_cpu_to_le32
	str	x0, [x20, #8]
	sub	w27, w27, w28
	add	x24, x24, #1
	add	x26, x26, #32
	cmp	x24, x23
	b.eq	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x21, #56]
	cbz	x20, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [x21, #64]
	add	w0, w26, w8
	bl	_cpu_to_le32
	str	x0, [x20, #24]
	b	LBB0_14
LBB0_17:
	ldp	x20, x22, [sp, #48]             ; 16-byte Folded Reload
	ldr	w24, [sp, #44]                  ; 4-byte Folded Reload
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	ldr	w26, [sp, #28]                  ; 4-byte Folded Reload
LBB0_18:
	mov	x0, x27
	bl	_cpu_to_le32
	ldr	x8, [x21, #56]
	lsl	x9, x23, #5
	str	x0, [x8, x9]
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
LBB0_19:
	cbz	x23, LBB0_24
; %bb.20:
	ldr	x2, [x21, #16]
	cmp	x23, x2
	b.eq	LBB0_24
; %bb.21:
	cbz	x2, LBB0_23
; %bb.22:
	ldr	w1, [x21, #52]
	mov	x0, x20
	bl	_freelbuspath
LBB0_23:
	ldr	w1, [x21, #52]
	add	x3, x21, #48
	ldr	w4, [x21, #44]
	mov	x0, x20
	mov	x2, x23
	bl	_alloclbuspath
	str	x23, [x21, #16]
	str	wzr, [x21, #24]
LBB0_24:
	ldr	w8, [x21, #24]
	cmp	w8, w24
	b.ne	LBB0_27
; %bb.25:
	ldr	x8, [x21, #32]
	cmp	x8, x25
	b.ne	LBB0_27
; %bb.26:
	ldr	w8, [x21, #40]
	cmp	w8, w26
	b.eq	LBB0_30
LBB0_27:
	str	w24, [x21, #24]
	str	x25, [x21, #32]
	str	w26, [x21, #40]
	ldr	w1, [x21, #48]
	ldr	w2, [x21]
	mov	x0, x20
	mov	x3, x26
	mov	x4, x25
	bl	_setsampleformat
	cbnz	x0, LBB0_29
; %bb.28:
	ldr	w1, [x21, #44]
	mov	x0, x20
	mov	x2, x24
	bl	_setsamplerate
	cbz	x0, LBB0_30
LBB0_29:
Lloh33:
	adrp	x8, _EIO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_31
LBB0_30:
	mov	w20, #0
LBB0_31:
	mov	x0, x22
	bl	_spin_unlock_irq
LBB0_32:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prepare id %d ch: %d f:0x%x r:%d\n"

	.comm	_SNDRV_PCM_FORMAT_S16_LE,8,3    ; @SNDRV_PCM_FORMAT_S16_LE
l_.str.1:                               ; @.str.1
	.asciz	"use sgdlist at 0x%p\n"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"create sgd size: 0x%x pages %d of size 0x%x for period 0x%x\n"

	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_IEOB_ENABLE,4,2                ; @IEOB_ENABLE
	.comm	_IEOS_ENABLE,4,2                ; @IEOS_ENABLE
	.comm	_IEOC_ENABLE,4,2                ; @IEOC_ENABLE
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_snd_riptide_prepare
.subsections_via_symbols
