	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_busy
_mmc_test_busy:                         ## @mmc_test_busy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %edi
	movq	_R1_READY_FOR_DATA@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_1
## %bb.2:
	callq	_R1_CURRENT_STATE
	movq	%rax, %rcx
	movq	_R1_STATE_PRG@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R1_READY_FOR_DATA,4,2          ## @R1_READY_FOR_DATA
	.comm	_R1_STATE_PRG,8,3               ## @R1_STATE_PRG
	.no_dead_strip	_mmc_test_busy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_test_busy
_mmc_test_busy:                         ; @mmc_test_busy
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _R1_READY_FOR_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R1_READY_FOR_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	bl	_R1_CURRENT_STATE
Lloh3:
	adrp	x8, _R1_STATE_PRG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R1_STATE_PRG@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_R1_READY_FOR_DATA,4,2          ; @R1_READY_FOR_DATA
	.comm	_R1_STATE_PRG,8,3               ; @R1_STATE_PRG
	.no_dead_strip	_mmc_test_busy
.subsections_via_symbols
