	.file	"extr_sd.c_read_capacity_error.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Sense not available.\n"
	.text
	.p2align 4
	.type	read_capacity_error, @function
read_capacity_error:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	mov	esi, r8d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	call	sd_print_result@PLT
	mov	edi, ebp
	call	driver_byte@PLT
	test	DWORD PTR DRIVER_SENSE[rip], eax
	je	.L2
	mov	rsi, r13
	mov	rdi, rbx
	call	sd_print_sense_hdr@PLT
.L3:
	cmp	QWORD PTR 8[r12], 0
	je	.L4
	test	r14d, r14d
	jne	.L13
.L4:
	mov	QWORD PTR [rbx], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR KERN_NOTICE[rip]
	lea	rdx, .LC0[rip]
	mov	rsi, rbx
	call	sd_printk@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR NOT_READY[rip]
	cmp	QWORD PTR 0[r13], rax
	jne	.L4
	mov	DWORD PTR [r12], 1
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	read_capacity_error, .-read_capacity_error
	.comm	NOT_READY,8,8
	.comm	KERN_NOTICE,4,4
	.comm	DRIVER_SENSE,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_sd.c_read_capacity_error.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Sense not available.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_capacity_error, %function
read_capacity_error:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, [sp, #24]
	mov	r5, r1
	mov	r1, r8
	mov	r6, r3
	mov	r7, r2
	mov	r4, r0
	bl	sd_print_result
	mov	r0, r8
	bl	driver_byte
	ldr	r3, .L11
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L2
	mov	r1, r7
	mov	r0, r4
	bl	sd_print_sense_hdr
	ldr	r3, [r5, #4]
	cmp	r3, #0
	cmpne	r6, #0
	bne	.L10
.L4:
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L11+4
	mov	r1, r4
	ldr	r0, [r3]
	ldr	r2, .L11+8
	bl	sd_printk
	ldr	r3, [r5, #4]
	cmp	r3, #0
	cmpne	r6, #0
	beq	.L4
.L10:
	ldr	r3, .L11+12
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	moveq	r3, #1
	streq	r3, [r5]
	b	.L4
.L12:
	.align	2
.L11:
	.word	DRIVER_SENSE
	.word	KERN_NOTICE
	.word	.LC0
	.word	NOT_READY
	.size	read_capacity_error, .-read_capacity_error
	.comm	NOT_READY,4,4
	.comm	KERN_NOTICE,4,4
	.comm	DRIVER_SENSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
