	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __send_command
___send_command:                        ## @__send_command
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_EXI_DEVICE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EXI_SPEED32MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_EXI_Select
	testl	%eax, %eax
	setne	%r15b
	movq	_EXI_READWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	$4, %edx
	xorl	%r8d, %r8d
	callq	_EXI_Imm
	testl	%eax, %eax
	setne	%r14b
	movl	%ebx, %edi
	callq	_EXI_Sync
	testl	%eax, %eax
	setne	%r12b
	movl	%ebx, %edi
	callq	_EXI_Deselect
	testl	%eax, %eax
	setne	%al
	andb	%r12b, %al
	andb	%r14b, %al
	andb	%r15b, %al
	movzbl	%al, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXI_DEVICE_0,4,2               ## @EXI_DEVICE_0
	.comm	_EXI_SPEED32MHZ,4,2             ## @EXI_SPEED32MHZ
	.comm	_EXI_READWRITE,4,2              ## @EXI_READWRITE
	.no_dead_strip	___send_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __send_command
___send_command:                        ; @__send_command
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _EXI_DEVICE_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXI_DEVICE_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _EXI_SPEED32MHZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXI_SPEED32MHZ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_EXI_Select
	mov	x21, x0
Lloh6:
	adrp	x8, _EXI_READWRITE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EXI_READWRITE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	mov	x4, #0
	bl	_EXI_Imm
	mov	x19, x0
	mov	x0, x20
	bl	_EXI_Sync
	mov	x22, x0
	mov	x0, x20
	bl	_EXI_Deselect
	cmp	w0, #0
	ccmp	w22, #0, #4, ne
	ccmp	w19, #0, #4, ne
	ccmp	w21, #0, #4, ne
	cset	w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXI_DEVICE_0,4,2               ; @EXI_DEVICE_0
	.comm	_EXI_SPEED32MHZ,4,2             ; @EXI_SPEED32MHZ
	.comm	_EXI_READWRITE,4,2              ; @EXI_READWRITE
	.no_dead_strip	___send_command
.subsections_via_symbols
