	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdhci_cqe_irq                  ## -- Begin function sdhci_cqe_irq
	.p2align	4, 0x90
_sdhci_cqe_irq:                         ## @sdhci_cqe_irq
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_SDHCI_INT_INDEX@GOTPCREL(%rip), %rax
	movq	_SDHCI_INT_END_BIT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %esi
	movq	_SDHCI_INT_CRC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	testl	%r15d, %esi
	je	LBB0_4
## %bb.3:
	movq	_EILSEQ@GOTPCREL(%rip), %rsi
	jmp	LBB0_7
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_4:
	movq	_SDHCI_INT_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_5
## %bb.6:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rsi
LBB0_7:
	xorl	%eax, %eax
	subl	(%rsi), %eax
LBB0_8:
	movl	%eax, (%rdx)
	movq	_SDHCI_INT_DATA_END_BIT@GOTPCREL(%rip), %rax
	movq	_SDHCI_INT_DATA_CRC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	testl	%r15d, %edx
	je	LBB0_10
## %bb.9:
	movq	_EILSEQ@GOTPCREL(%rip), %rdx
	jmp	LBB0_15
LBB0_10:
	movq	_SDHCI_INT_DATA_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_12
## %bb.11:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rdx
	jmp	LBB0_15
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_12:
	movq	_SDHCI_INT_ADMA_ERROR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_13
## %bb.14:
	movq	_EIO@GOTPCREL(%rip), %rdx
LBB0_15:
	xorl	%eax, %eax
	subl	(%rdx), %eax
LBB0_16:
	movl	%eax, (%rcx)
	movl	(%r14), %esi
	andl	%r15d, %esi
	movq	_SDHCI_INT_STATUS@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_sdhci_writel
	movq	_SDHCI_INT_BUS_POWER@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_18
## %bb.17:
	movl	4(%r14), %edi
	callq	_mmc_hostname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_18:
	movq	_SDHCI_INT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	(%r14), %ebx
	notl	%ebx
	movl	$1, %r12d
	andl	%r15d, %ebx
	je	LBB0_20
## %bb.19:
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sdhci_writel
	movl	4(%r14), %edi
	callq	_mmc_hostname
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_pr_err
	movq	%r14, %rdi
	callq	_sdhci_dumpregs
LBB0_20:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_INT_INDEX,4,2            ## @SDHCI_INT_INDEX
	.comm	_SDHCI_INT_END_BIT,4,2          ## @SDHCI_INT_END_BIT
	.comm	_SDHCI_INT_CRC,4,2              ## @SDHCI_INT_CRC
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.comm	_SDHCI_INT_TIMEOUT,4,2          ## @SDHCI_INT_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_SDHCI_INT_DATA_END_BIT,4,2     ## @SDHCI_INT_DATA_END_BIT
	.comm	_SDHCI_INT_DATA_CRC,4,2         ## @SDHCI_INT_DATA_CRC
	.comm	_SDHCI_INT_DATA_TIMEOUT,4,2     ## @SDHCI_INT_DATA_TIMEOUT
	.comm	_SDHCI_INT_ADMA_ERROR,4,2       ## @SDHCI_INT_ADMA_ERROR
	.comm	_EIO,4,2                        ## @EIO
	.comm	_SDHCI_INT_STATUS,4,2           ## @SDHCI_INT_STATUS
	.comm	_SDHCI_INT_BUS_POWER,4,2        ## @SDHCI_INT_BUS_POWER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Card is consuming too much power!\n"

	.comm	_SDHCI_INT_ERROR,4,2            ## @SDHCI_INT_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"%s: CQE: Unexpected interrupt 0x%08x.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdhci_cqe_irq                  ; -- Begin function sdhci_cqe_irq
	.p2align	2
_sdhci_cqe_irq:                         ; @sdhci_cqe_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SDHCI_INT_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDHCI_INT_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SDHCI_INT_END_BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDHCI_INT_END_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SDHCI_INT_CRC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SDHCI_INT_CRC@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w9, w8, w9
Lloh9:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
	tst	w9, w1
	b.eq	LBB0_4
; %bb.2:
	ldr	w9, [x8]
	b	LBB0_6
LBB0_3:
	mov	w0, #0
	b	LBB0_19
LBB0_4:
Lloh11:
	adrp	x9, _SDHCI_INT_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SDHCI_INT_TIMEOUT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_10
; %bb.5:
Lloh14:
	adrp	x9, _ETIMEDOUT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ETIMEDOUT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
LBB0_6:
	neg	w9, w9
LBB0_7:
	str	w9, [x2]
Lloh17:
	adrp	x9, _SDHCI_INT_DATA_END_BIT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SDHCI_INT_DATA_END_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _SDHCI_INT_DATA_CRC@GOTPAGE
Lloh21:
	ldr	x10, [x10, _SDHCI_INT_DATA_CRC@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w20
	b.ne	LBB0_13
; %bb.8:
Lloh23:
	adrp	x8, _SDHCI_INT_DATA_TIMEOUT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SDHCI_INT_DATA_TIMEOUT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.9:
Lloh26:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
	mov	w9, #0
	b	LBB0_7
LBB0_11:
Lloh28:
	adrp	x8, _SDHCI_INT_ADMA_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SDHCI_INT_ADMA_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_20
; %bb.12:
Lloh31:
	adrp	x8, _EIO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_14:
	str	w8, [x3]
	ldr	w8, [x19]
	and	w1, w8, w20
Lloh33:
	adrp	x21, _SDHCI_INT_STATUS@GOTPAGE
Lloh34:
	ldr	x21, [x21, _SDHCI_INT_STATUS@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_sdhci_writel
Lloh35:
	adrp	x8, _SDHCI_INT_BUS_POWER@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SDHCI_INT_BUS_POWER@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_16
; %bb.15:
	ldr	w0, [x19, #4]
	bl	_mmc_hostname
	mov	x1, x0
Lloh38:
	adrp	x0, l_.str@PAGE
Lloh39:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_16:
	ldr	w8, [x19]
Lloh40:
	adrp	x9, _SDHCI_INT_ERROR@GOTPAGE
Lloh41:
	ldr	x9, [x9, _SDHCI_INT_ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	w20, w20, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_sdhci_writel
	ldr	w0, [x19, #4]
	bl	_mmc_hostname
	mov	x1, x0
	str	x20, [sp]
Lloh43:
	adrp	x0, l_.str.1@PAGE
Lloh44:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	mov	x0, x19
	bl	_sdhci_dumpregs
LBB0_18:
	mov	w0, #1
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_20:
	mov	w8, #0
	b	LBB0_14
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_INT_INDEX,4,2            ; @SDHCI_INT_INDEX
	.comm	_SDHCI_INT_END_BIT,4,2          ; @SDHCI_INT_END_BIT
	.comm	_SDHCI_INT_CRC,4,2              ; @SDHCI_INT_CRC
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.comm	_SDHCI_INT_TIMEOUT,4,2          ; @SDHCI_INT_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_SDHCI_INT_DATA_END_BIT,4,2     ; @SDHCI_INT_DATA_END_BIT
	.comm	_SDHCI_INT_DATA_CRC,4,2         ; @SDHCI_INT_DATA_CRC
	.comm	_SDHCI_INT_DATA_TIMEOUT,4,2     ; @SDHCI_INT_DATA_TIMEOUT
	.comm	_SDHCI_INT_ADMA_ERROR,4,2       ; @SDHCI_INT_ADMA_ERROR
	.comm	_EIO,4,2                        ; @EIO
	.comm	_SDHCI_INT_STATUS,4,2           ; @SDHCI_INT_STATUS
	.comm	_SDHCI_INT_BUS_POWER,4,2        ; @SDHCI_INT_BUS_POWER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Card is consuming too much power!\n"

	.comm	_SDHCI_INT_ERROR,4,2            ; @SDHCI_INT_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"%s: CQE: Unexpected interrupt 0x%08x.\n"

.subsections_via_symbols
