	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_blk_cqe_recovery           ## -- Begin function mmc_blk_cqe_recovery
	.p2align	4, 0x90
_mmc_blk_cqe_recovery:                  ## @mmc_blk_cqe_recovery
	.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	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_mmc_hostname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_mmc_cqe_recovery
	movl	(%r14), %edi
	movq	_MMC_BLK_CQE_RECOVERY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rsi
	callq	_mmc_blk_reset
	jmp	LBB0_3
LBB0_2:
	movl	%edx, %esi
	callq	_mmc_blk_reset_success
LBB0_3:
	movq	%rbx, %rdi
	callq	_mmc_hostname
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: CQE recovery start\n"

	.comm	_MMC_BLK_CQE_RECOVERY,4,2       ## @MMC_BLK_CQE_RECOVERY
L_.str.1:                               ## @.str.1
	.asciz	"%s: CQE recovery done\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_blk_cqe_recovery           ; -- Begin function mmc_blk_cqe_recovery
	.p2align	2
_mmc_blk_cqe_recovery:                  ; @mmc_blk_cqe_recovery
	.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, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	mov	x0, x19
	bl	_mmc_hostname
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	bl	_mmc_cqe_recovery
	mov	x8, x0
	ldr	w0, [x20]
Lloh2:
	adrp	x9, _MMC_BLK_CQE_RECOVERY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMC_BLK_CQE_RECOVERY@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x1, x19
	bl	_mmc_blk_reset
	b	LBB0_3
LBB0_2:
	mov	x1, x2
	bl	_mmc_blk_reset_success
LBB0_3:
	mov	x0, x19
	bl	_mmc_hostname
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_debug
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: CQE recovery start\n"

	.comm	_MMC_BLK_CQE_RECOVERY,4,2       ; @MMC_BLK_CQE_RECOVERY
l_.str.1:                               ; @.str.1
	.asciz	"%s: CQE recovery done\n"

.subsections_via_symbols
