	.file	"extr_debug.c_usb_stor_show_sense.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"(Unknown Key)"
.LC1:
	.string	"(unknown ASC/ASCQ)"
.LC2:
	.string	"%s: %s (%s%x)\n"
.LC3:
	.string	"%s: %s\n"
	.text
	.p2align 4
	.globl	usb_stor_show_sense
	.type	usb_stor_show_sense, @function
usb_stor_show_sense:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	movzx	edi, sil
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, ecx
	movzx	ebx, bl
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	scsi_sense_key_string@PLT
	mov	rdx, rsp
	movzx	edi, bpl
	mov	esi, ebx
	mov	r12, rax
	call	scsi_extd_sense_format@PLT
	test	r12, r12
	mov	r8, QWORD PTR [rsp]
	mov	rcx, rax
	lea	rax, .LC0[rip]
	cmove	r12, rax
	test	rcx, rcx
	lea	rax, .LC1[rip]
	cmove	rcx, rax
	test	r8, r8
	je	.L4
	mov	r9d, ebx
	mov	rdx, r12
	mov	rdi, r13
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	usb_stor_dbg@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdx, r12
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	xor	eax, eax
	call	usb_stor_dbg@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	usb_stor_show_sense, .-usb_stor_show_sense
	.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_debug.c_usb_stor_show_sense.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(Unknown Key)\000"
	.align	2
.LC1:
	.ascii	"(unknown ASC/ASCQ)\000"
	.align	2
.LC2:
	.ascii	"%s: %s (%s%x)\012\000"
	.align	2
.LC3:
	.ascii	"%s: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	usb_stor_show_sense
	.syntax unified
	.arm
	.fpu softvfp
	.type	usb_stor_show_sense, %function
usb_stor_show_sense:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r3
	ldr	r3, .L10
	sub	sp, sp, #20
	mov	r6, r0
	mov	r0, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	scsi_sense_key_string
	mov	r1, r5
	mov	r4, r0
	add	r2, sp, #8
	mov	r0, r7
	bl	scsi_extd_sense_format
	ldr	r1, .L10+4
	cmp	r4, #0
	ldr	r2, [sp, #8]
	moveq	r4, r1
	cmp	r0, #0
	ldr	r3, .L10+8
	movne	r3, r0
	cmp	r2, #0
	beq	.L4
	stm	sp, {r2, r5}
	mov	r0, r6
	mov	r2, r4
	ldr	r1, .L10+12
	bl	usb_stor_dbg
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	mov	r2, r4
	mov	r0, r6
	ldr	r1, .L10+16
	bl	usb_stor_dbg
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	usb_stor_show_sense, .-usb_stor_show_sense
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
