	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msmsdcc_request_end
_msmsdcc_request_end:                   ## @msmsdcc_request_end
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MMCICOMMAND@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	40(%rdi), %rsi
	xorl	%edi, %edi
	callq	_writel
	movl	32(%rbx), %edi
	callq	_BUG_ON
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %ecx
	movl	%ecx, (%rax)
LBB0_2:
	movq	(%r14), %rax
	movl	(%rax), %eax
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movl	$5, %edi
	callq	_mdelay
LBB0_4:
	movq	%rbx, %rdi
	callq	_spin_unlock
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	callq	_mmc_request_done
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_lock                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMCICOMMAND,8,3                ## @MMCICOMMAND
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_msmsdcc_request_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msmsdcc_request_end
_msmsdcc_request_end:                   ; @msmsdcc_request_end
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #40]
Lloh0:
	adrp	x9, _MMCICOMMAND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMCICOMMAND@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	w0, [x19, #32]
	bl	_BUG_ON
	stp	xzr, xzr, [x19, #16]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w9, [x19, #8]
	str	w9, [x8]
LBB0_2:
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ETIMEDOUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETIMEDOUT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmn	w8, w9
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #5
	bl	_mdelay
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_mmc_request_done
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_lock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MMCICOMMAND,8,3                ; @MMCICOMMAND
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_msmsdcc_request_end
.subsections_via_symbols
