	.file	"extr_sdhci.c_sdhci_cmd_irq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Got command interrupt 0x%08x, but there is no active command.\n"
	.text
	.p2align 4
	.type	sdhci_cmd_irq, @function
sdhci_cmd_irq:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L13
	test	DWORD PTR SDHCI_INT_TIMEOUT[rip], esi
	jne	.L14
	test	DWORD PTR SDHCI_INT_CRC[rip], esi
	je	.L5
	mov	edx, DWORD PTR MMC_ERR_BADCRC[rip]
	mov	DWORD PTR [rax], edx
.L4:
	jmp	sdhci_finish_command@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edx, DWORD PTR MMC_ERR_TIMEOUT[rip]
	mov	DWORD PTR [rax], edx
	jmp	sdhci_finish_command@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR SDHCI_INT_END_BIT[rip]
	or	ecx, DWORD PTR SDHCI_INT_INDEX[rip]
	test	ecx, esi
	je	.L4
	mov	edx, DWORD PTR MMC_ERR_FIFO[rip]
	mov	DWORD PTR [rax], edx
	jmp	sdhci_finish_command@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	edx, esi
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 8[rsp], rdi
	call	slot_printf@PLT
	mov	rdi, QWORD PTR 8[rsp]
	add	rsp, 24
	.cfi_def_cfa_offset 8
	jmp	sdhci_dumpregs@PLT
	.cfi_endproc
.LFE0:
	.size	sdhci_cmd_irq, .-sdhci_cmd_irq
	.comm	SDHCI_INT_TIMEOUT,4,4
	.comm	SDHCI_INT_INDEX,4,4
	.comm	SDHCI_INT_END_BIT,4,4
	.comm	SDHCI_INT_CRC,4,4
	.comm	MMC_ERR_TIMEOUT,4,4
	.comm	MMC_ERR_FIFO,4,4
	.comm	MMC_ERR_BADCRC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sdhci.c_sdhci_cmd_irq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Got command interrupt 0x%08x, but there is no activ"
	.ascii	"e command.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdhci_cmd_irq, %function
sdhci_cmd_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, lr}
	cmp	r3, #0
	mov	r4, r0
	beq	.L11
	ldr	r2, .L13
	ldr	r2, [r2]
	tst	r1, r2
	bne	.L12
	ldr	r2, .L13+4
	ldr	r2, [r2]
	tst	r1, r2
	beq	.L5
	ldr	r2, .L13+8
	mov	r0, r4
	pop	{r4, lr}
	ldr	r2, [r2]
	str	r2, [r3]
	b	sdhci_finish_command
.L12:
	ldr	r2, .L13+12
	mov	r0, r4
	pop	{r4, lr}
	ldr	r2, [r2]
	str	r2, [r3]
	b	sdhci_finish_command
.L5:
	ldr	r2, .L13+16
	ldr	r0, .L13+20
	ldr	r2, [r2]
	ldr	r0, [r0]
	orr	r2, r2, r0
	tst	r2, r1
	ldrne	r2, .L13+24
	mov	r0, r4
	pop	{r4, lr}
	ldrne	r2, [r2]
	strne	r2, [r3]
	b	sdhci_finish_command
.L11:
	mov	r2, r1
	ldr	r1, .L13+28
	bl	slot_printf
	mov	r0, r4
	pop	{r4, lr}
	b	sdhci_dumpregs
.L14:
	.align	2
.L13:
	.word	SDHCI_INT_TIMEOUT
	.word	SDHCI_INT_CRC
	.word	MMC_ERR_BADCRC
	.word	MMC_ERR_TIMEOUT
	.word	SDHCI_INT_END_BIT
	.word	SDHCI_INT_INDEX
	.word	MMC_ERR_FIFO
	.word	.LC0
	.size	sdhci_cmd_irq, .-sdhci_cmd_irq
	.comm	SDHCI_INT_TIMEOUT,4,4
	.comm	SDHCI_INT_INDEX,4,4
	.comm	SDHCI_INT_END_BIT,4,4
	.comm	SDHCI_INT_CRC,4,4
	.comm	MMC_ERR_TIMEOUT,4,4
	.comm	MMC_ERR_FIFO,4,4
	.comm	MMC_ERR_BADCRC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
