	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AT91F_MCI_SendCommand          ## -- Begin function AT91F_MCI_SendCommand
	.p2align	4, 0x90
_AT91F_MCI_SendCommand:                 ## @AT91F_MCI_SendCommand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AT91C_BASE_MCI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edx, (%rax)
	movl	%esi, 4(%rax)
	movl	8(%rax), %eax
	movq	_AT91C_MCI_CMDRDY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_AT91C_MCI_SR_ERROR@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_5
## %bb.3:
	movq	_AT91C_SDCARD_APP_OP_COND_CMD@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	sete	%cl
	movq	_AT91C_MMC_SEND_OP_COND_CMD@GOTPCREL(%rip), %rdx
	cmpl	%esi, (%rdx)
	sete	%dl
	orb	%cl, %dl
	cmpb	$1, %dl
	jne	LBB0_6
## %bb.4:
	movq	_AT91C_MCI_RCRCE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
LBB0_5:
	movq	_AT91C_CMD_SEND_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91C_BASE_MCI,8,3             ## @AT91C_BASE_MCI
	.comm	_AT91C_MCI_CMDRDY,4,2           ## @AT91C_MCI_CMDRDY
	.comm	_AT91C_MCI_SR_ERROR,4,2         ## @AT91C_MCI_SR_ERROR
	.comm	_AT91C_SDCARD_APP_OP_COND_CMD,4,2 ## @AT91C_SDCARD_APP_OP_COND_CMD
	.comm	_AT91C_MMC_SEND_OP_COND_CMD,4,2 ## @AT91C_MMC_SEND_OP_COND_CMD
	.comm	_AT91C_MCI_RCRCE,4,2            ## @AT91C_MCI_RCRCE
	.comm	_AT91C_CMD_SEND_OK,4,2          ## @AT91C_CMD_SEND_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AT91F_MCI_SendCommand          ; -- Begin function AT91F_MCI_SendCommand
	.p2align	2
_AT91F_MCI_SendCommand:                 ; @AT91F_MCI_SendCommand
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AT91C_BASE_MCI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91C_BASE_MCI@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	w2, w1, [x8]
	ldr	w8, [x8, #8]
Lloh3:
	adrp	x9, _AT91C_MCI_CMDRDY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AT91C_MCI_CMDRDY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
Lloh6:
	adrp	x9, _AT91C_MCI_SR_ERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AT91C_MCI_SR_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ands	w0, w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _AT91C_SDCARD_APP_OP_COND_CMD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AT91C_SDCARD_APP_OP_COND_CMD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _AT91C_MMC_SEND_OP_COND_CMD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AT91C_MMC_SEND_OP_COND_CMD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w9, w1
	ccmp	w8, w1, #4, ne
Lloh15:
	adrp	x8, _AT91C_MCI_RCRCE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AT91C_MCI_RCRCE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ccmp	w0, w8, #0, eq
	b.ne	LBB0_4
LBB0_3:
Lloh18:
	adrp	x8, _AT91C_CMD_SEND_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AT91C_CMD_SEND_OK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_4:
	ret
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91C_BASE_MCI,8,3             ; @AT91C_BASE_MCI
	.comm	_AT91C_MCI_CMDRDY,4,2           ; @AT91C_MCI_CMDRDY
	.comm	_AT91C_MCI_SR_ERROR,4,2         ; @AT91C_MCI_SR_ERROR
	.comm	_AT91C_SDCARD_APP_OP_COND_CMD,4,2 ; @AT91C_SDCARD_APP_OP_COND_CMD
	.comm	_AT91C_MMC_SEND_OP_COND_CMD,4,2 ; @AT91C_MMC_SEND_OP_COND_CMD
	.comm	_AT91C_MCI_RCRCE,4,2            ; @AT91C_MCI_RCRCE
	.comm	_AT91C_CMD_SEND_OK,4,2          ; @AT91C_CMD_SEND_OK
.subsections_via_symbols
