	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AT91F_MCIDeviceWaitReady       ## -- Begin function AT91F_MCIDeviceWaitReady
	.p2align	4, 0x90
_AT91F_MCIDeviceWaitReady:              ## @AT91F_MCIDeviceWaitReady
	.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
	decl	%edi
	movq	_AT91C_MCI_NOTBUSY@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edx
	movl	%edx, -4(%rbp)
	movl	-4(%rbp), %esi
	andl	(%rcx), %esi
	addl	$-1, %edi
	setb	%dl
	testl	%esi, %esi
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%dl, %dl
	jne	LBB0_1
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91C_BASE_MCI,8,3             ## @AT91C_BASE_MCI
	.comm	_AT91C_MCI_NOTBUSY,4,2          ## @AT91C_MCI_NOTBUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AT91F_MCIDeviceWaitReady       ; -- Begin function AT91F_MCIDeviceWaitReady
	.p2align	2
_AT91F_MCIDeviceWaitReady:              ; @AT91F_MCIDeviceWaitReady
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
Lloh0:
	adrp	x8, _AT91C_BASE_MCI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91C_BASE_MCI@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	w9, w0, #1
Lloh3:
	adrp	x10, _AT91C_MCI_NOTBUSY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AT91C_MCI_NOTBUSY@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	str	w11, [sp, #12]
	ldr	w12, [sp, #12]
	ldr	w13, [x10]
	subs	w9, w9, #1
	cset	w11, hs
	and	w12, w13, w12
	cbnz	w12, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	tbnz	w11, #0, LBB0_1
LBB0_3:
	add	sp, sp, #16
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91C_BASE_MCI,8,3             ; @AT91C_BASE_MCI
	.comm	_AT91C_MCI_NOTBUSY,4,2          ; @AT91C_MCI_NOTBUSY
.subsections_via_symbols
