	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxcmci_cmd_done
_mxcmci_cmd_done:                       ## @mxcmci_cmd_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_mxcmci_read_response
	movq	$0, 24(%rbx)
	cmpq	$0, 8(%rbx)
	je	LBB0_1
LBB0_2:
	movq	%rbx, %rdi
	callq	_mxcmci_use_dma
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mxcmci_finish_request          ## TAILCALL
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mxcmci_cmd_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxcmci_cmd_done
_mxcmci_cmd_done:                       ; @mxcmci_cmd_done
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_mxcmci_read_response
	str	xzr, [x19, #24]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_mxcmci_use_dma
	cbz	w0, LBB0_5
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_1
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mxcmci_finish_request
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_work
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mxcmci_cmd_done
.subsections_via_symbols
