	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx2_dma_read
_vx2_dma_read:                          ## @vx2_dma_read
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movslq	(%rdx), %rax
	movq	(%rsi), %r14
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	%rax, %r14
	movq	_VX_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_vx2_reg_addr
	movq	%rax, %r15
	leal	3(%r12), %eax
	testl	%r12d, %r12d
	cmovnsl	%r12d, %eax
	andl	$-4, %eax
	movl	%r12d, %edi
	subl	%eax, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_1
## %bb.11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_vx2_setup_pseudo_dma
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%r12), %eax
	movl	4(%rbx), %edx
	cmpl	%edx, %eax
	jle	LBB0_2
## %bb.3:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	subl	%ecx, %edx
	movl	%edx, %r13d
	cmpl	$4, %edx
	jl	LBB0_6
## %bb.4:
	movl	%r13d, %ebx
	shrl	$2, %ebx
	incl	%ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_inl
	movl	%eax, %edi
	callq	_le32_to_cpu
	movl	%eax, (%r14)
	addq	$4, %r14
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_5
LBB0_6:
	subl	%r13d, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	xorl	%eax, %eax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_2:
	movl	(%rbx), %eax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_7:
	addl	%r12d, %eax
	movl	%eax, (%rbx)
	cmpl	$4, %r12d
	jl	LBB0_10
## %bb.8:
	shrl	$2, %r12d
	incl	%r12d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_inl
	movl	%eax, %edi
	callq	_le32_to_cpu
	movl	%eax, (%r14)
	addq	$4, %r14
	decl	%r12d
	cmpl	$1, %r12d
	ja	LBB0_9
LBB0_10:
	movq	%r13, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vx2_release_pseudo_dma         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VX_DMA,4,2                     ## @VX_DMA
	.no_dead_strip	_vx2_dma_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx2_dma_read
_vx2_dma_read:                          ; @vx2_dma_read
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldrsw	x25, [x2]
	ldr	x24, [x1]
Lloh0:
	adrp	x8, _VX_DMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VX_DMA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_vx2_reg_addr
	mov	x20, x0
	negs	w8, w21
	and	w8, w8, #0x3
	and	w9, w21, #0x3
	csneg	w0, w9, w8, mi
	bl	_snd_BUG_ON
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	add	x24, x24, x25
	mov	x0, x19
	mov	w1, #0
	bl	_vx2_setup_pseudo_dma
	ldr	w8, [x22, #4]
	add	w9, w25, w21
	cmp	w9, w8
	b.le	LBB0_7
; %bb.3:
	sub	w8, w8, w25
	sub	w21, w21, w8
	cmp	w8, #4
	b.lt	LBB0_6
; %bb.4:
	lsr	w8, w8, #2
	add	w25, w8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_inl
	bl	_le32_to_cpu
	str	w0, [x24], #4
	sub	w25, w25, #1
	cmp	w25, #1
	b.hi	LBB0_5
LBB0_6:
	mov	w8, #0
	ldr	x24, [x23]
	b	LBB0_8
LBB0_7:
	ldr	w8, [x22]
LBB0_8:
	add	w8, w8, w21
	str	w8, [x22]
	cmp	w21, #4
	b.lt	LBB0_11
; %bb.9:
	lsr	w8, w21, #2
	add	w21, w8, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_inl
	bl	_le32_to_cpu
	str	w0, [x24], #4
	sub	w21, w21, #1
	cmp	w21, #1
	b.hi	LBB0_10
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_vx2_release_pseudo_dma
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VX_DMA,4,2                     ; @VX_DMA
	.no_dead_strip	_vx2_dma_read
.subsections_via_symbols
