	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function toshsd_irq
_toshsd_irq:                            ## @toshsd_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rsi, %rdi
	callq	_spin_lock
	movq	_SD_CARDSTATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r13), %rdi
	callq	_ioread32
	movl	%eax, %r15d
	movq	_SD_INTMASKCARD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r13), %rdi
	callq	_ioread32
	movq	_IRQ_DONT_CARE_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	%eax, %ebx
	notl	%ebx
	movq	32(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	andl	%r15d, %ebx
	je	LBB0_1
## %bb.2:
	movq	_SD_BUF_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	32(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	testl	%r12d, %r12d
	jne	LBB0_9
	jmp	LBB0_13
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_23
LBB0_4:
	movq	_SD_BUF_CRC_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_EILSEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	32(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	testl	%r12d, %r12d
	jne	LBB0_9
	jmp	LBB0_13
LBB0_6:
	movq	_SD_BUF_ILLEGAL_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SD_BUF_CMD_INDEX_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %esi
	orl	%edx, %esi
	movq	_SD_BUF_STOP_BIT_END_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_SD_BUF_OVERFLOW@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
	movl	%r8d, %edi
	orl	%r9d, %edi
	orl	%esi, %edi
	movq	_SD_BUF_UNDERFLOW@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	_SD_BUF_DATA_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	%esi, %eax
	orl	%r10d, %eax
	orl	%edi, %eax
	testl	%ebx, %eax
	je	LBB0_13
## %bb.7:
	movq	32(%r13), %rdi
	testl	%ebx, %edx
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rax, %rdx
	testl	%ebx, %ecx
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
	testl	%ebx, %r8d
	leaq	L_.str.7(%rip), %r8
	cmoveq	%rax, %r8
	testl	%ebx, %r9d
	leaq	L_.str.8(%rip), %r9
	cmoveq	%rax, %r9
	testl	%ebx, %esi
	leaq	L_.str.9(%rip), %r11
	cmoveq	%rax, %r11
	testl	%ebx, %r10d
	leaq	L_.str.10(%rip), %r10
	cmoveq	%rax, %r10
	movq	%rax, %r12
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r11
	callq	_dev_err
	addq	$16, %rsp
	movq	_SD_ERRORSTATUS0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r13), %rdi
	callq	_ioread32
	movq	_SD_ERR0_RESP_CMD_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	leaq	L_.str.12(%rip), %rdx
	movq	%r12, %r10
	cmoveq	%r12, %rdx
	movq	_SD_ERR0_RESP_NON_CMD12_END_BIT_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	leaq	L_.str.13(%rip), %r8
	movq	%r8, %rcx
	cmoveq	%r12, %rcx
	movq	_SD_ERR0_RESP_CMD12_END_BIT_ERR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	cmoveq	%r12, %r8
	movq	_SD_ERR0_READ_DATA_END_BIT_ERR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	leaq	L_.str.14(%rip), %r9
	cmoveq	%r12, %r9
	movq	_SD_ERR0_WRITE_CRC_STATUS_END_BIT_ERR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	leaq	L_.str.15(%rip), %rsi
	cmoveq	%r12, %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	_SD_ERR0_RESP_NON_CMD12_CRC_ERR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	leaq	L_.str.16(%rip), %rdi
	movq	%rdi, %rsi
	cmoveq	%r12, %rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	_SD_ERR0_RESP_CMD12_CRC_ERR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	cmoveq	%r12, %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_SD_ERR0_READ_DATA_CRC_ERR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	leaq	L_.str.17(%rip), %rsi
	cmoveq	%r12, %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	_SD_ERR0_WRITE_CMD_CRC_ERR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	leaq	L_.str.18(%rip), %rsi
	cmoveq	%r12, %rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_SD_ERR1_NO_CMD_RESP@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	leaq	L_.str.19(%rip), %rsi
	cmoveq	%r12, %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_SD_ERR1_TIMEOUT_READ_DATA@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	leaq	L_.str.20(%rip), %r12
	cmoveq	%r10, %r12
	movq	%r10, %rdi
	movq	_SD_ERR1_TIMEOUT_CRS_STATUS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	leaq	L_.str.21(%rip), %r11
	cmoveq	%r10, %r11
	movq	_SD_ERR1_TIMEOUT_CRC_BUSY@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	leaq	L_.str.22(%rip), %r10
	cmoveq	%rdi, %r10
	movq	32(%r13), %rdi
	subq	$8, %rsp
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r11
	pushq	%r12
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_dev_err
	addq	$80, %rsp
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r12d, %r12d
	je	LBB0_13
LBB0_9:
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	%r12d, %ecx
	negl	%ecx
	movl	%ecx, (%rax)
LBB0_11:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_24
## %bb.12:
	movq	_SD_CARD_RESP_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SD_BUF_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	notl	%edi
	andl	%r15d, %edi
	movq	_SD_CARDSTATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r13), %rsi
	callq	_iowrite32
LBB0_13:
	movq	_SD_CARD_CARD_INSERTED_0@GOTPCREL(%rip), %r12
	movq	_SD_CARD_CARD_REMOVED_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%r12), %edi
	testl	%ebx, %edi
	je	LBB0_17
## %bb.14:
	notl	%edi
	andl	%r15d, %edi
	movq	_SD_CARDSTATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r13), %rsi
	callq	_iowrite32
	testl	%ebx, (%r12)
	je	LBB0_16
## %bb.15:
	movq	%r13, %rdi
	callq	_toshsd_init
LBB0_16:
	movq	16(%r13), %rdi
	movl	$1, %esi
	callq	_mmc_detect_change
LBB0_17:
	movq	_SD_BUF_READ_ENABLE@GOTPCREL(%rip), %rcx
	movq	_SD_BUF_WRITE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	testl	%ebx, %eax
	je	LBB0_19
## %bb.18:
	notl	%eax
	andl	%eax, %r15d
	movq	_SD_CARDSTATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r13), %rsi
	movl	%r15d, %edi
	callq	_iowrite32
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_23
LBB0_24:
	movq	%r13, %rdi
	callq	_toshsd_init
	movq	16(%r13), %rdi
	movq	%rdi, %rsi
	callq	___toshsd_set_ios
	jmp	LBB0_23
LBB0_19:
	movq	_SD_CARD_RESP_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%ebx, %edi
	je	LBB0_21
## %bb.20:
	notl	%edi
	andl	%r15d, %edi
	movq	_SD_CARDSTATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r13), %rsi
	callq	_iowrite32
	movq	%r13, %rdi
	callq	_toshsd_cmd_irq
LBB0_21:
	movq	_SD_CARD_RW_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_23
## %bb.22:
	notl	%eax
	andl	%eax, %r15d
	movq	_SD_CARDSTATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r13), %rsi
	movl	%r15d, %edi
	callq	_iowrite32
	movq	%r13, %rdi
	callq	_toshsd_data_end_irq
LBB0_23:
	movq	%r13, %rdi
	callq	_spin_unlock
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_SD_CARDSTATUS,8,3              ## @SD_CARDSTATUS
	.comm	_SD_INTMASKCARD,8,3             ## @SD_INTMASKCARD
	.comm	_IRQ_DONT_CARE_BITS,4,2         ## @IRQ_DONT_CARE_BITS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IRQ status:%x mask:%x\n"

	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_SD_BUF_CMD_TIMEOUT,4,2         ## @SD_BUF_CMD_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
L_.str.1:                               ## @.str.1
	.asciz	"Timeout\n"

	.comm	_SD_BUF_CRC_ERR,4,2             ## @SD_BUF_CRC_ERR
	.comm	_EILSEQ,4,2                     ## @EILSEQ
L_.str.2:                               ## @.str.2
	.asciz	"BadCRC\n"

	.comm	_SD_BUF_ILLEGAL_ACCESS,4,2      ## @SD_BUF_ILLEGAL_ACCESS
	.comm	_SD_BUF_CMD_INDEX_ERR,4,2       ## @SD_BUF_CMD_INDEX_ERR
	.comm	_SD_BUF_STOP_BIT_END_ERR,4,2    ## @SD_BUF_STOP_BIT_END_ERR
	.comm	_SD_BUF_OVERFLOW,4,2            ## @SD_BUF_OVERFLOW
	.comm	_SD_BUF_UNDERFLOW,4,2           ## @SD_BUF_UNDERFLOW
	.comm	_SD_BUF_DATA_TIMEOUT,4,2        ## @SD_BUF_DATA_TIMEOUT
L_.str.3:                               ## @.str.3
	.asciz	"Buffer status error: { %s%s%s%s%s%s}\n"

L_.str.4:                               ## @.str.4
	.asciz	"ILLEGAL_ACC "

L_.str.5:                               ## @.str.5
	.space	1

L_.str.6:                               ## @.str.6
	.asciz	"CMD_INDEX "

L_.str.7:                               ## @.str.7
	.asciz	"STOPBIT_END "

L_.str.8:                               ## @.str.8
	.asciz	"OVERFLOW "

L_.str.9:                               ## @.str.9
	.asciz	"UNDERFLOW "

L_.str.10:                              ## @.str.10
	.asciz	"DATA_TIMEOUT "

	.comm	_SD_ERRORSTATUS0,8,3            ## @SD_ERRORSTATUS0
L_.str.11:                              ## @.str.11
	.asciz	"detail error status { %s%s%s%s%s%s%s%s%s%s%s%s%s}\n"

	.comm	_SD_ERR0_RESP_CMD_ERR,4,2       ## @SD_ERR0_RESP_CMD_ERR
L_.str.12:                              ## @.str.12
	.asciz	"RESP_CMD "

	.comm	_SD_ERR0_RESP_NON_CMD12_END_BIT_ERR,4,2 ## @SD_ERR0_RESP_NON_CMD12_END_BIT_ERR
L_.str.13:                              ## @.str.13
	.asciz	"RESP_END_BIT "

	.comm	_SD_ERR0_RESP_CMD12_END_BIT_ERR,4,2 ## @SD_ERR0_RESP_CMD12_END_BIT_ERR
	.comm	_SD_ERR0_READ_DATA_END_BIT_ERR,4,2 ## @SD_ERR0_READ_DATA_END_BIT_ERR
L_.str.14:                              ## @.str.14
	.asciz	"READ_DATA_END_BIT "

	.comm	_SD_ERR0_WRITE_CRC_STATUS_END_BIT_ERR,4,2 ## @SD_ERR0_WRITE_CRC_STATUS_END_BIT_ERR
L_.str.15:                              ## @.str.15
	.asciz	"WRITE_CMD_END_BIT "

	.comm	_SD_ERR0_RESP_NON_CMD12_CRC_ERR,4,2 ## @SD_ERR0_RESP_NON_CMD12_CRC_ERR
L_.str.16:                              ## @.str.16
	.asciz	"RESP_CRC "

	.comm	_SD_ERR0_RESP_CMD12_CRC_ERR,4,2 ## @SD_ERR0_RESP_CMD12_CRC_ERR
	.comm	_SD_ERR0_READ_DATA_CRC_ERR,4,2  ## @SD_ERR0_READ_DATA_CRC_ERR
L_.str.17:                              ## @.str.17
	.asciz	"READ_DATA_CRC "

	.comm	_SD_ERR0_WRITE_CMD_CRC_ERR,4,2  ## @SD_ERR0_WRITE_CMD_CRC_ERR
L_.str.18:                              ## @.str.18
	.asciz	"WRITE_CMD_CRC "

	.comm	_SD_ERR1_NO_CMD_RESP,4,2        ## @SD_ERR1_NO_CMD_RESP
L_.str.19:                              ## @.str.19
	.asciz	"NO_CMD_RESP "

	.comm	_SD_ERR1_TIMEOUT_READ_DATA,4,2  ## @SD_ERR1_TIMEOUT_READ_DATA
L_.str.20:                              ## @.str.20
	.asciz	"READ_DATA_TIMEOUT "

	.comm	_SD_ERR1_TIMEOUT_CRS_STATUS,4,2 ## @SD_ERR1_TIMEOUT_CRS_STATUS
L_.str.21:                              ## @.str.21
	.asciz	"CRS_STATUS_TIMEOUT "

	.comm	_SD_ERR1_TIMEOUT_CRC_BUSY,4,2   ## @SD_ERR1_TIMEOUT_CRC_BUSY
L_.str.22:                              ## @.str.22
	.asciz	"CRC_BUSY_TIMEOUT "

	.comm	_EIO,4,2                        ## @EIO
	.comm	_SD_CARD_RESP_END,4,2           ## @SD_CARD_RESP_END
	.comm	_SD_CARD_CARD_INSERTED_0,4,2    ## @SD_CARD_CARD_INSERTED_0
	.comm	_SD_CARD_CARD_REMOVED_0,4,2     ## @SD_CARD_CARD_REMOVED_0
	.comm	_SD_BUF_READ_ENABLE,4,2         ## @SD_BUF_READ_ENABLE
	.comm	_SD_BUF_WRITE_ENABLE,4,2        ## @SD_BUF_WRITE_ENABLE
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.comm	_SD_CARD_RW_END,4,2             ## @SD_CARD_RW_END
	.no_dead_strip	_toshsd_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function toshsd_irq
_toshsd_irq:                            ; @toshsd_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x1
	bl	_spin_lock
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x22, _SD_CARDSTATUS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SD_CARDSTATUS@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_ioread32
	mov	x21, x0
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _SD_INTMASKCARD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SD_INTMASKCARD@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ioread32
                                        ; kill: def $w0 killed $w0 def $x0
Lloh8:
	adrp	x8, _IRQ_DONT_CARE_BITS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_DONT_CARE_BITS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w8, w8, w0
	bic	w23, w21, w8
	ldr	x8, [x19, #32]
	stp	x21, x0, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_dev_dbg
	cbz	w23, LBB0_3
; %bb.1:
Lloh13:
	adrp	x24, _SD_BUF_CMD_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x24, [x24, _SD_BUF_CMD_TIMEOUT@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh15:
	adrp	x25, _ETIMEDOUT@GOTPAGE
Lloh16:
	ldr	x25, [x25, _ETIMEDOUT@GOTPAGEOFF]
	tst	w8, w23
	b.eq	LBB0_4
; %bb.2:
	ldr	w26, [x25]
	ldr	x0, [x19, #32]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	cbnz	w26, LBB0_8
	b	LBB0_12
LBB0_3:
Lloh19:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	b	LBB0_23
LBB0_4:
Lloh22:
	adrp	x8, _SD_BUF_CRC_ERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SD_BUF_CRC_ERR@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_6
; %bb.5:
Lloh25:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
Lloh27:
	ldr	w26, [x8]
	ldr	x0, [x19, #32]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	cbnz	w26, LBB0_8
	b	LBB0_12
LBB0_6:
Lloh30:
	adrp	x8, _SD_BUF_ILLEGAL_ACCESS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SD_BUF_ILLEGAL_ACCESS@GOTPAGEOFF]
Lloh32:
	ldr	w13, [x8]
Lloh33:
	adrp	x8, _SD_BUF_CMD_INDEX_ERR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SD_BUF_CMD_INDEX_ERR@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	orr	w10, w8, w13
Lloh36:
	adrp	x9, _SD_BUF_STOP_BIT_END_ERR@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SD_BUF_STOP_BIT_END_ERR@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x11, _SD_BUF_OVERFLOW@GOTPAGE
Lloh40:
	ldr	x11, [x11, _SD_BUF_OVERFLOW@GOTPAGEOFF]
	orr	w12, w10, w9
Lloh41:
	ldr	w10, [x11]
	orr	w12, w12, w10
Lloh42:
	adrp	x11, _SD_BUF_UNDERFLOW@GOTPAGE
Lloh43:
	ldr	x11, [x11, _SD_BUF_UNDERFLOW@GOTPAGEOFF]
Lloh44:
	ldr	w11, [x11]
	orr	w14, w12, w11
Lloh45:
	adrp	x12, _SD_BUF_DATA_TIMEOUT@GOTPAGE
Lloh46:
	ldr	x12, [x12, _SD_BUF_DATA_TIMEOUT@GOTPAGEOFF]
Lloh47:
	ldr	w12, [x12]
	orr	w14, w14, w12
	tst	w14, w23
	b.eq	LBB0_12
; %bb.7:
	ldr	x0, [x19, #32]
Lloh48:
	adrp	x14, l_.str.4@PAGE
Lloh49:
	add	x14, x14, l_.str.4@PAGEOFF
Lloh50:
	adrp	x26, l_.str.5@PAGE
Lloh51:
	add	x26, x26, l_.str.5@PAGEOFF
	tst	w13, w23
	csel	x13, x26, x14, eq
Lloh52:
	adrp	x14, l_.str.6@PAGE
Lloh53:
	add	x14, x14, l_.str.6@PAGEOFF
	tst	w8, w23
	csel	x8, x26, x14, eq
Lloh54:
	adrp	x14, l_.str.7@PAGE
Lloh55:
	add	x14, x14, l_.str.7@PAGEOFF
	tst	w9, w23
	csel	x9, x26, x14, eq
Lloh56:
	adrp	x14, l_.str.8@PAGE
Lloh57:
	add	x14, x14, l_.str.8@PAGEOFF
	tst	w10, w23
	csel	x10, x26, x14, eq
Lloh58:
	adrp	x14, l_.str.9@PAGE
Lloh59:
	add	x14, x14, l_.str.9@PAGEOFF
	tst	w11, w23
	csel	x11, x26, x14, eq
Lloh60:
	adrp	x14, l_.str.10@PAGE
Lloh61:
	add	x14, x14, l_.str.10@PAGEOFF
	tst	w12, w23
	csel	x12, x26, x14, eq
	stp	x11, x12, [sp, #32]
	stp	x9, x10, [sp, #16]
	stp	x13, x8, [sp]
Lloh62:
	adrp	x1, l_.str.3@PAGE
Lloh63:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	ldr	x8, [x19, #8]
Lloh64:
	adrp	x9, _SD_ERRORSTATUS0@GOTPAGE
Lloh65:
	ldr	x9, [x9, _SD_ERRORSTATUS0@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ioread32
	mov	x8, x0
	ldr	x0, [x19, #32]
Lloh67:
	adrp	x9, _SD_ERR0_RESP_CMD_ERR@GOTPAGE
Lloh68:
	ldr	x9, [x9, _SD_ERR0_RESP_CMD_ERR@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
Lloh70:
	adrp	x10, l_.str.12@PAGE
Lloh71:
	add	x10, x10, l_.str.12@PAGEOFF
	tst	w9, w8
	csel	x9, x26, x10, eq
Lloh72:
	adrp	x10, _SD_ERR0_RESP_NON_CMD12_END_BIT_ERR@GOTPAGE
Lloh73:
	ldr	x10, [x10, _SD_ERR0_RESP_NON_CMD12_END_BIT_ERR@GOTPAGEOFF]
Lloh74:
	ldr	w10, [x10]
Lloh75:
	adrp	x11, l_.str.13@PAGE
Lloh76:
	add	x11, x11, l_.str.13@PAGEOFF
	tst	w10, w8
Lloh77:
	adrp	x12, _SD_ERR0_RESP_CMD12_END_BIT_ERR@GOTPAGE
Lloh78:
	ldr	x12, [x12, _SD_ERR0_RESP_CMD12_END_BIT_ERR@GOTPAGEOFF]
	csel	x10, x26, x11, eq
Lloh79:
	ldr	w12, [x12]
	tst	w12, w8
	csel	x11, x26, x11, eq
Lloh80:
	adrp	x12, _SD_ERR0_READ_DATA_END_BIT_ERR@GOTPAGE
Lloh81:
	ldr	x12, [x12, _SD_ERR0_READ_DATA_END_BIT_ERR@GOTPAGEOFF]
Lloh82:
	ldr	w12, [x12]
Lloh83:
	adrp	x13, l_.str.14@PAGE
Lloh84:
	add	x13, x13, l_.str.14@PAGEOFF
	tst	w12, w8
Lloh85:
	adrp	x12, _SD_ERR0_WRITE_CRC_STATUS_END_BIT_ERR@GOTPAGE
Lloh86:
	ldr	x12, [x12, _SD_ERR0_WRITE_CRC_STATUS_END_BIT_ERR@GOTPAGEOFF]
	csel	x13, x26, x13, eq
Lloh87:
	ldr	w12, [x12]
Lloh88:
	adrp	x14, l_.str.15@PAGE
Lloh89:
	add	x14, x14, l_.str.15@PAGEOFF
	tst	w12, w8
	csel	x12, x26, x14, eq
Lloh90:
	adrp	x14, _SD_ERR0_RESP_NON_CMD12_CRC_ERR@GOTPAGE
Lloh91:
	ldr	x14, [x14, _SD_ERR0_RESP_NON_CMD12_CRC_ERR@GOTPAGEOFF]
Lloh92:
	ldr	w14, [x14]
Lloh93:
	adrp	x15, l_.str.16@PAGE
Lloh94:
	add	x15, x15, l_.str.16@PAGEOFF
	tst	w14, w8
	csel	x14, x26, x15, eq
Lloh95:
	adrp	x16, _SD_ERR0_RESP_CMD12_CRC_ERR@GOTPAGE
Lloh96:
	ldr	x16, [x16, _SD_ERR0_RESP_CMD12_CRC_ERR@GOTPAGEOFF]
Lloh97:
	ldr	w16, [x16]
	tst	w16, w8
	csel	x15, x26, x15, eq
Lloh98:
	adrp	x16, _SD_ERR0_READ_DATA_CRC_ERR@GOTPAGE
Lloh99:
	ldr	x16, [x16, _SD_ERR0_READ_DATA_CRC_ERR@GOTPAGEOFF]
Lloh100:
	ldr	w16, [x16]
Lloh101:
	adrp	x17, l_.str.17@PAGE
Lloh102:
	add	x17, x17, l_.str.17@PAGEOFF
	tst	w16, w8
	csel	x16, x26, x17, eq
Lloh103:
	adrp	x17, _SD_ERR0_WRITE_CMD_CRC_ERR@GOTPAGE
Lloh104:
	ldr	x17, [x17, _SD_ERR0_WRITE_CMD_CRC_ERR@GOTPAGEOFF]
Lloh105:
	ldr	w17, [x17]
Lloh106:
	adrp	x1, l_.str.18@PAGE
Lloh107:
	add	x1, x1, l_.str.18@PAGEOFF
	tst	w17, w8
	csel	x17, x26, x1, eq
Lloh108:
	adrp	x1, _SD_ERR1_NO_CMD_RESP@GOTPAGE
Lloh109:
	ldr	x1, [x1, _SD_ERR1_NO_CMD_RESP@GOTPAGEOFF]
Lloh110:
	adrp	x2, l_.str.19@PAGE
Lloh111:
	add	x2, x2, l_.str.19@PAGEOFF
Lloh112:
	ldr	w1, [x1]
	tst	w1, w8
	csel	x1, x26, x2, eq
Lloh113:
	adrp	x2, _SD_ERR1_TIMEOUT_READ_DATA@GOTPAGE
Lloh114:
	ldr	x2, [x2, _SD_ERR1_TIMEOUT_READ_DATA@GOTPAGEOFF]
Lloh115:
	ldr	w2, [x2]
Lloh116:
	adrp	x3, l_.str.20@PAGE
Lloh117:
	add	x3, x3, l_.str.20@PAGEOFF
	tst	w2, w8
	csel	x2, x26, x3, eq
Lloh118:
	adrp	x3, _SD_ERR1_TIMEOUT_CRS_STATUS@GOTPAGE
Lloh119:
	ldr	x3, [x3, _SD_ERR1_TIMEOUT_CRS_STATUS@GOTPAGEOFF]
Lloh120:
	ldr	w3, [x3]
Lloh121:
	adrp	x4, l_.str.21@PAGE
Lloh122:
	add	x4, x4, l_.str.21@PAGEOFF
	tst	w3, w8
Lloh123:
	adrp	x3, _SD_ERR1_TIMEOUT_CRC_BUSY@GOTPAGE
Lloh124:
	ldr	x3, [x3, _SD_ERR1_TIMEOUT_CRC_BUSY@GOTPAGEOFF]
	csel	x4, x26, x4, eq
Lloh125:
	ldr	w3, [x3]
Lloh126:
	adrp	x5, l_.str.22@PAGE
Lloh127:
	add	x5, x5, l_.str.22@PAGEOFF
	tst	w3, w8
	csel	x8, x26, x5, eq
	stp	x4, x8, [sp, #88]
	stp	x1, x2, [sp, #72]
	stp	x16, x17, [sp, #56]
	stp	x14, x15, [sp, #40]
	stp	x13, x12, [sp, #24]
	stp	x10, x11, [sp, #8]
Lloh128:
	adrp	x1, l_.str.11@PAGE
Lloh129:
	add	x1, x1, l_.str.11@PAGEOFF
	str	x9, [sp]
	bl	_dev_err
Lloh130:
	adrp	x8, _EIO@GOTPAGE
Lloh131:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh132:
	ldr	w26, [x8]
	cbz	w26, LBB0_12
LBB0_8:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.9:
	neg	w9, w26
	str	w9, [x8]
LBB0_10:
	ldr	w8, [x25]
	cmp	w8, w26
	b.ne	LBB0_18
; %bb.11:
	ldr	w8, [x24]
Lloh133:
	adrp	x9, _SD_CARD_RESP_END@GOTPAGE
Lloh134:
	ldr	x9, [x9, _SD_CARD_RESP_END@GOTPAGEOFF]
Lloh135:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w0, w21, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_iowrite32
LBB0_12:
Lloh136:
	adrp	x24, _SD_CARD_CARD_INSERTED_0@GOTPAGE
Lloh137:
	ldr	x24, [x24, _SD_CARD_CARD_INSERTED_0@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh138:
	adrp	x9, _SD_CARD_CARD_REMOVED_0@GOTPAGE
Lloh139:
	ldr	x9, [x9, _SD_CARD_CARD_REMOVED_0@GOTPAGEOFF]
Lloh140:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w23
	b.eq	LBB0_16
; %bb.13:
	bic	w0, w21, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_iowrite32
	ldr	w8, [x24]
	tst	w8, w23
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_toshsd_init
LBB0_15:
	ldr	x0, [x19, #16]
	mov	w1, #1
	bl	_mmc_detect_change
LBB0_16:
Lloh141:
	adrp	x8, _SD_BUF_READ_ENABLE@GOTPAGE
Lloh142:
	ldr	x8, [x8, _SD_BUF_READ_ENABLE@GOTPAGEOFF]
Lloh143:
	ldr	w8, [x8]
Lloh144:
	adrp	x9, _SD_BUF_WRITE_ENABLE@GOTPAGE
Lloh145:
	ldr	x9, [x9, _SD_BUF_WRITE_ENABLE@GOTPAGEOFF]
Lloh146:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w23
	b.eq	LBB0_19
; %bb.17:
	bic	w0, w21, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_iowrite32
Lloh147:
	adrp	x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh148:
	ldr	x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
Lloh149:
	ldr	w20, [x8]
	b	LBB0_23
LBB0_18:
	mov	x0, x19
	bl	_toshsd_init
	ldr	x0, [x19, #16]
	mov	x1, x0
	bl	___toshsd_set_ios
	b	LBB0_23
LBB0_19:
Lloh150:
	adrp	x8, _SD_CARD_RESP_END@GOTPAGE
Lloh151:
	ldr	x8, [x8, _SD_CARD_RESP_END@GOTPAGEOFF]
Lloh152:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_21
; %bb.20:
	bic	w0, w21, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_iowrite32
	mov	x0, x19
	bl	_toshsd_cmd_irq
LBB0_21:
Lloh153:
	adrp	x8, _SD_CARD_RW_END@GOTPAGE
Lloh154:
	ldr	x8, [x8, _SD_CARD_RW_END@GOTPAGEOFF]
Lloh155:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_23
; %bb.22:
	bic	w0, w21, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_iowrite32
	mov	x0, x19
	bl	_toshsd_data_end_irq
LBB0_23:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpAdd	Lloh128, Lloh129
	.loh AdrpAdd	Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh112
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGot	Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_SD_CARDSTATUS,8,3              ; @SD_CARDSTATUS
	.comm	_SD_INTMASKCARD,8,3             ; @SD_INTMASKCARD
	.comm	_IRQ_DONT_CARE_BITS,4,2         ; @IRQ_DONT_CARE_BITS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IRQ status:%x mask:%x\n"

	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_SD_BUF_CMD_TIMEOUT,4,2         ; @SD_BUF_CMD_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
l_.str.1:                               ; @.str.1
	.asciz	"Timeout\n"

	.comm	_SD_BUF_CRC_ERR,4,2             ; @SD_BUF_CRC_ERR
	.comm	_EILSEQ,4,2                     ; @EILSEQ
l_.str.2:                               ; @.str.2
	.asciz	"BadCRC\n"

	.comm	_SD_BUF_ILLEGAL_ACCESS,4,2      ; @SD_BUF_ILLEGAL_ACCESS
	.comm	_SD_BUF_CMD_INDEX_ERR,4,2       ; @SD_BUF_CMD_INDEX_ERR
	.comm	_SD_BUF_STOP_BIT_END_ERR,4,2    ; @SD_BUF_STOP_BIT_END_ERR
	.comm	_SD_BUF_OVERFLOW,4,2            ; @SD_BUF_OVERFLOW
	.comm	_SD_BUF_UNDERFLOW,4,2           ; @SD_BUF_UNDERFLOW
	.comm	_SD_BUF_DATA_TIMEOUT,4,2        ; @SD_BUF_DATA_TIMEOUT
l_.str.3:                               ; @.str.3
	.asciz	"Buffer status error: { %s%s%s%s%s%s}\n"

l_.str.4:                               ; @.str.4
	.asciz	"ILLEGAL_ACC "

l_.str.5:                               ; @.str.5
	.space	1

l_.str.6:                               ; @.str.6
	.asciz	"CMD_INDEX "

l_.str.7:                               ; @.str.7
	.asciz	"STOPBIT_END "

l_.str.8:                               ; @.str.8
	.asciz	"OVERFLOW "

l_.str.9:                               ; @.str.9
	.asciz	"UNDERFLOW "

l_.str.10:                              ; @.str.10
	.asciz	"DATA_TIMEOUT "

	.comm	_SD_ERRORSTATUS0,8,3            ; @SD_ERRORSTATUS0
l_.str.11:                              ; @.str.11
	.asciz	"detail error status { %s%s%s%s%s%s%s%s%s%s%s%s%s}\n"

	.comm	_SD_ERR0_RESP_CMD_ERR,4,2       ; @SD_ERR0_RESP_CMD_ERR
l_.str.12:                              ; @.str.12
	.asciz	"RESP_CMD "

	.comm	_SD_ERR0_RESP_NON_CMD12_END_BIT_ERR,4,2 ; @SD_ERR0_RESP_NON_CMD12_END_BIT_ERR
l_.str.13:                              ; @.str.13
	.asciz	"RESP_END_BIT "

	.comm	_SD_ERR0_RESP_CMD12_END_BIT_ERR,4,2 ; @SD_ERR0_RESP_CMD12_END_BIT_ERR
	.comm	_SD_ERR0_READ_DATA_END_BIT_ERR,4,2 ; @SD_ERR0_READ_DATA_END_BIT_ERR
l_.str.14:                              ; @.str.14
	.asciz	"READ_DATA_END_BIT "

	.comm	_SD_ERR0_WRITE_CRC_STATUS_END_BIT_ERR,4,2 ; @SD_ERR0_WRITE_CRC_STATUS_END_BIT_ERR
l_.str.15:                              ; @.str.15
	.asciz	"WRITE_CMD_END_BIT "

	.comm	_SD_ERR0_RESP_NON_CMD12_CRC_ERR,4,2 ; @SD_ERR0_RESP_NON_CMD12_CRC_ERR
l_.str.16:                              ; @.str.16
	.asciz	"RESP_CRC "

	.comm	_SD_ERR0_RESP_CMD12_CRC_ERR,4,2 ; @SD_ERR0_RESP_CMD12_CRC_ERR
	.comm	_SD_ERR0_READ_DATA_CRC_ERR,4,2  ; @SD_ERR0_READ_DATA_CRC_ERR
l_.str.17:                              ; @.str.17
	.asciz	"READ_DATA_CRC "

	.comm	_SD_ERR0_WRITE_CMD_CRC_ERR,4,2  ; @SD_ERR0_WRITE_CMD_CRC_ERR
l_.str.18:                              ; @.str.18
	.asciz	"WRITE_CMD_CRC "

	.comm	_SD_ERR1_NO_CMD_RESP,4,2        ; @SD_ERR1_NO_CMD_RESP
l_.str.19:                              ; @.str.19
	.asciz	"NO_CMD_RESP "

	.comm	_SD_ERR1_TIMEOUT_READ_DATA,4,2  ; @SD_ERR1_TIMEOUT_READ_DATA
l_.str.20:                              ; @.str.20
	.asciz	"READ_DATA_TIMEOUT "

	.comm	_SD_ERR1_TIMEOUT_CRS_STATUS,4,2 ; @SD_ERR1_TIMEOUT_CRS_STATUS
l_.str.21:                              ; @.str.21
	.asciz	"CRS_STATUS_TIMEOUT "

	.comm	_SD_ERR1_TIMEOUT_CRC_BUSY,4,2   ; @SD_ERR1_TIMEOUT_CRC_BUSY
l_.str.22:                              ; @.str.22
	.asciz	"CRC_BUSY_TIMEOUT "

	.comm	_EIO,4,2                        ; @EIO
	.comm	_SD_CARD_RESP_END,4,2           ; @SD_CARD_RESP_END
	.comm	_SD_CARD_CARD_INSERTED_0,4,2    ; @SD_CARD_CARD_INSERTED_0
	.comm	_SD_CARD_CARD_REMOVED_0,4,2     ; @SD_CARD_CARD_REMOVED_0
	.comm	_SD_BUF_READ_ENABLE,4,2         ; @SD_BUF_READ_ENABLE
	.comm	_SD_BUF_WRITE_ENABLE,4,2        ; @SD_BUF_WRITE_ENABLE
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.comm	_SD_CARD_RW_END,4,2             ; @SD_CARD_RW_END
	.no_dead_strip	_toshsd_irq
.subsections_via_symbols
