	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msmsdcc_command_expired
_msmsdcc_command_expired:               ## @msmsdcc_command_expired
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	16(%rbx), %r15
	movl	(%rbx), %edi
	callq	_mmc_hostname
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	32(%rbx), %r9d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_pr_err
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movq	(%r15), %rax
	movl	%ecx, (%rax)
	movq	%rbx, %rdi
	callq	_msmsdcc_stop_data
	movq	_MMCICOMMAND@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%rbx), %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmc_request_done               ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_info
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Command expiry misfire\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Command timeout (%p %p %p %p)\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_MMCICOMMAND,8,3                ## @MMCICOMMAND
	.no_dead_strip	_msmsdcc_command_expired
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msmsdcc_command_expired
_msmsdcc_command_expired:               ; @msmsdcc_command_expired
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x21, [x20, #16]
	ldr	w0, [x20]
	bl	_mmc_hostname
	mov	x1, x0
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x3, [x21]
	ldr	w4, [x21, #8]
	ldr	w5, [x20, #32]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_pr_err
Lloh2:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w8, w8
	ldr	x9, [x21]
	str	w8, [x9]
	mov	x0, x20
	bl	_msmsdcc_stop_data
	ldr	x8, [x20, #24]
Lloh5:
	adrp	x9, _MMCICOMMAND@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MMCICOMMAND@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	stp	xzr, xzr, [x20, #8]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	w0, [x20]
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mmc_request_done
LBB0_2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Command expiry misfire\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Command timeout (%p %p %p %p)\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_MMCICOMMAND,8,3                ; @MMCICOMMAND
	.no_dead_strip	_msmsdcc_command_expired
.subsections_via_symbols
