	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_xor_is_complete
_mv_xor_is_complete:                    ## @mv_xor_is_complete
	.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	%rcx, %rbx
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_to_mv_xor_chan
	movq	%rax, %r15
	movl	(%r13), %edx
	movl	(%rax), %esi
	movl	%r14d, 4(%rax)
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movl	%esi, (%r12)
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movl	%edx, (%rbx)
LBB0_4:
	movl	%r14d, %edi
	callq	_dma_async_is_complete
	movl	%r14d, %ecx
	movl	%eax, %r14d
	movq	_DMA_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_5
## %bb.10:
	movq	%r15, %rdi
	callq	_mv_xor_clean_completed_slots
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%ecx, %r14d
	movq	%r15, %rdi
	callq	_mv_xor_slot_cleanup
	movl	(%r13), %edx
	movl	(%r15), %esi
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:
	movl	%esi, (%r12)
LBB0_7:
	testq	%rbx, %rbx
	movl	%r14d, %edi
	je	LBB0_9
## %bb.8:
	movl	%edx, (%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dma_async_is_complete          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_SUCCESS,4,2                ## @DMA_SUCCESS
	.no_dead_strip	_mv_xor_is_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_xor_is_complete
_mv_xor_is_complete:                    ; @mv_xor_is_complete
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	bl	_to_mv_xor_chan
	mov	x23, x0
	ldr	w2, [x22]
	ldr	w1, [x0]
	str	w19, [x0, #4]
	cbz	x21, LBB0_2
; %bb.1:
	str	w1, [x21]
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	str	w2, [x20]
LBB0_4:
	mov	x0, x19
	bl	_dma_async_is_complete
Lloh0:
	adrp	x8, _DMA_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:
	mov	x24, x0
	mov	x0, x23
	bl	_mv_xor_clean_completed_slots
	mov	x0, x24
	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
LBB0_6:
	mov	x0, x23
	bl	_mv_xor_slot_cleanup
	ldr	w2, [x22]
	ldr	w1, [x23]
	cbz	x21, LBB0_8
; %bb.7:
	str	w1, [x21]
LBB0_8:
	cbz	x20, LBB0_10
; %bb.9:
	str	w2, [x20]
LBB0_10:
	mov	x0, x19
	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
	b	_dma_async_is_complete
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_SUCCESS,4,2                ; @DMA_SUCCESS
	.no_dead_strip	_mv_xor_is_complete
.subsections_via_symbols
