	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_solo_pcm_copy_kernel
_snd_solo_pcm_copy_kernel:              ## @snd_solo_pcm_copy_kernel
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_snd_pcm_substream_chip
	movq	%rax, %r12
	movq	_G723_FRAMES_PER_PAGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpq	%r14, %rcx
	ja	LBB0_11
## %bb.1:
	movq	8(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	divq	%rcx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	addq	%rdi, %rbx
	cmpq	%rsi, %rax
	jbe	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r15d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%esi, %r15d
	movl	4(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movq	%rsi, %r14
	callq	_SOLO_G723_EXT_ADDR
	movq	_G723_PERIOD_BLOCK@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movslq	%r15d, %rdx
	imulq	%rcx, %rdx
	addq	%rax, %rdx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rcx
	movq	_G723_PERIOD_BYTES@GOTPCREL(%rip), %r15
	movslq	(%r15), %r8
	imulq	%r8, %rcx
	addq	%rdx, %rcx
	movl	$0, (%rsp)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	callq	_solo_p2m_dma_t
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	movl	(%r15), %edx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_memcpy
	movslq	(%r15), %rdi
	incq	%r14
	movq	_G723_FRAMES_PER_PAGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	movq	%r14, %rsi
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_G723_FRAMES_PER_PAGE,8,3       ## @G723_FRAMES_PER_PAGE
	.comm	_G723_PERIOD_BLOCK,4,2          ## @G723_PERIOD_BLOCK
	.comm	_G723_PERIOD_BYTES,4,2          ## @G723_PERIOD_BYTES
	.no_dead_strip	_snd_solo_pcm_copy_kernel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_solo_pcm_copy_kernel
_snd_solo_pcm_copy_kernel:              ; @snd_solo_pcm_copy_kernel
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
	bl	_snd_pcm_substream_chip
Lloh0:
	adrp	x8, _G723_FRAMES_PER_PAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _G723_FRAMES_PER_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x19
	b.hi	LBB0_4
; %bb.1:
	mov	x23, x0
	mov	x27, #0
	ldr	x24, [x0, #8]
Lloh3:
	adrp	x28, _G723_PERIOD_BYTES@GOTPAGE
Lloh4:
	ldr	x28, [x28, _G723_PERIOD_BYTES@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	udiv	x8, x21, x8
	add	w26, w27, w8
	ldr	w25, [x23, #4]
	mov	x0, x24
	bl	_SOLO_G723_EXT_ADDR
Lloh5:
	adrp	x8, _G723_PERIOD_BLOCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _G723_PERIOD_BLOCK@GOTPAGEOFF]
Lloh7:
	ldrsw	x8, [x8]
	sxtw	x9, w26
	madd	x8, x8, x9, x0
	ldrsw	x9, [x22]
	ldrsw	x4, [x28]
	madd	x3, x4, x9, x8
	mov	x0, x24
	mov	w1, #0
	mov	x2, x25
                                        ; kill: def $w4 killed $w4 killed $x4
	mov	w5, #0
	mov	w6, #0
	bl	_solo_p2m_dma_t
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x23]
	ldr	w2, [x28]
	mov	x0, x20
	bl	_memcpy
	ldrsw	x8, [x28]
	add	x20, x20, x8
	add	x27, x27, #1
Lloh8:
	adrp	x8, _G723_FRAMES_PER_PAGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _G723_FRAMES_PER_PAGE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	udiv	x9, x19, x8
	cmp	x9, x27
	b.hi	LBB0_2
LBB0_4:
	mov	w0, #0
LBB0_5:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_G723_FRAMES_PER_PAGE,8,3       ; @G723_FRAMES_PER_PAGE
	.comm	_G723_PERIOD_BLOCK,4,2          ; @G723_PERIOD_BLOCK
	.comm	_G723_PERIOD_BYTES,4,2          ; @G723_PERIOD_BYTES
	.no_dead_strip	_snd_solo_pcm_copy_kernel
.subsections_via_symbols
