	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_mci_process_next
_at91_mci_process_next:                 ## @at91_mci_process_next
	.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
	movl	(%rdi), %eax
	movq	_FL_SENT_COMMAND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_1
## %bb.2:
	movq	_FL_SENT_STOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_3
LBB0_6:
	leaq	20(%rbx), %rdi
	callq	_del_timer
	xorl	%eax, %eax
	callq	_cpu_is_at91rm9200
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_at91_reset_host
LBB0_8:
	movl	16(%rbx), %edi
	movq	8(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mmc_request_done               ## TAILCALL
LBB0_1:
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	8(%rbx), %rax
	movq	8(%rax), %rsi
	jmp	LBB0_5
LBB0_3:
	movq	8(%rbx), %rdx
	movq	(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.4:
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_at91_mci_send_command          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FL_SENT_COMMAND,4,2            ## @FL_SENT_COMMAND
	.comm	_FL_SENT_STOP,4,2               ## @FL_SENT_STOP
	.no_dead_strip	_at91_mci_process_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_mci_process_next
_at91_mci_process_next:                 ; @at91_mci_process_next
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FL_SENT_COMMAND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FL_SENT_COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x9, _FL_SENT_STOP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FL_SENT_STOP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_2:
	add	x0, x19, #20
	bl	_del_timer
	bl	_cpu_is_at91rm9200
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_at91_reset_host
LBB0_4:
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmc_request_done
LBB0_5:
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #8]
	b	LBB0_8
LBB0_6:
	ldr	x10, [x19, #8]
	ldr	x1, [x10]
	cbz	x1, LBB0_2
; %bb.7:
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_at91_mci_send_command
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FL_SENT_COMMAND,4,2            ; @FL_SENT_COMMAND
	.comm	_FL_SENT_STOP,4,2               ; @FL_SENT_STOP
	.no_dead_strip	_at91_mci_process_next
.subsections_via_symbols
