	.file	"extr_scsi_error.c_scsi_error_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"scsi_eh_%d: sleeping\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"scsi_eh_%d: waking up %d/%d/%d\n"
	.align 8
.LC2:
	.string	"Error handler scsi_eh_%d exiting\n"
	.text
	.p2align 4
	.globl	scsi_error_handler
	.type	scsi_error_handler, @function
scsi_error_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
.L2:
	xor	eax, eax
	call	kthread_should_stop@PLT
	test	eax, eax
	jne	.L12
.L9:
	mov	edi, DWORD PTR TASK_INTERRUPTIBLE[rip]
	call	set_current_state@PLT
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L3
	cmp	QWORD PTR 8[rbx], 0
	je	.L4
.L3:
	cmp	rax, QWORD PTR 16[rbx]
	je	.L5
.L4:
	mov	esi, DWORD PTR 32[rbx]
	mov	rdi, rbp
	xor	eax, eax
	call	printk@PLT
	mov	edi, 1
	mov	esi, eax
	call	SCSI_LOG_ERROR_RECOVERY@PLT
	xor	eax, eax
	call	schedule@PLT
	xor	eax, eax
	call	kthread_should_stop@PLT
	test	eax, eax
	je	.L9
.L12:
	mov	edi, DWORD PTR TASK_RUNNING[rip]
	call	__set_current_state@PLT
	mov	esi, DWORD PTR 32[rbx]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printk@PLT
	mov	edi, 1
	mov	esi, eax
	call	SCSI_LOG_ERROR_RECOVERY@PLT
	mov	QWORD PTR 24[rbx], 0
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR TASK_RUNNING[rip]
	call	__set_current_state@PLT
	mov	rdx, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR 32[rbx]
	xor	eax, eax
	mov	r8, QWORD PTR 16[rbx]
	mov	rcx, QWORD PTR [rbx]
	lea	rdi, .LC1[rip]
	call	printk@PLT
	mov	edi, 1
	mov	esi, eax
	call	SCSI_LOG_ERROR_RECOVERY@PLT
	mov	rax, QWORD PTR 40[rbx]
	mov	rdi, rbx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L7
	call	rax
.L8:
	mov	rdi, rbx
	call	scsi_restart_operations@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	call	scsi_unjam_host@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	scsi_error_handler, .-scsi_error_handler
	.comm	TASK_RUNNING,4,4
	.comm	TASK_INTERRUPTIBLE,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_scsi_error.c_scsi_error_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"scsi_eh_%d: sleeping\012\000"
	.align	2
.LC1:
	.ascii	"scsi_eh_%d: waking up %d/%d/%d\012\000"
	.align	2
.LC2:
	.ascii	"Error handler scsi_eh_%d exiting\012\000"
	.text
	.align	2
	.global	scsi_error_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	scsi_error_handler, %function
scsi_error_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r7, .L16
	ldr	r5, .L16+4
	ldr	r6, .L16+8
	ldr	r8, .L16+12
	sub	sp, sp, #8
.L2:
	bl	kthread_should_stop
	cmp	r0, #0
	bne	.L15
.L9:
	ldr	r0, [r5]
	bl	set_current_state
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L3
	ldr	r2, [r4, #4]
	cmp	r2, #0
	beq	.L4
.L3:
	ldr	r2, [r4, #8]
	cmp	r3, r2
	beq	.L5
.L4:
	ldr	r1, [r4, #16]
	mov	r0, r6
	bl	printk
	mov	r1, r0
	mov	r0, #1
	bl	SCSI_LOG_ERROR_RECOVERY
	bl	schedule
	bl	kthread_should_stop
	cmp	r0, #0
	beq	.L9
.L15:
	ldr	r0, [r7]
	bl	__set_current_state
	ldr	r1, [r4, #16]
	ldr	r0, .L16+16
	bl	printk
	mov	r1, r0
	mov	r0, #1
	bl	SCSI_LOG_ERROR_RECOVERY
	mov	r0, #0
	str	r0, [r4, #12]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r0, [r7]
	bl	__set_current_state
	ldr	r2, [r4, #8]
	ldr	r3, [r4]
	str	r2, [sp]
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #16]
	mov	r0, r8
	bl	printk
	mov	r1, r0
	mov	r0, #1
	bl	SCSI_LOG_ERROR_RECOVERY
	ldr	r3, [r4, #20]
	mov	r0, r4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L7
	blx	r3
.L8:
	mov	r0, r4
	bl	scsi_restart_operations
	b	.L2
.L7:
	bl	scsi_unjam_host
	b	.L8
.L17:
	.align	2
.L16:
	.word	TASK_RUNNING
	.word	TASK_INTERRUPTIBLE
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	scsi_error_handler, .-scsi_error_handler
	.comm	TASK_RUNNING,4,4
	.comm	TASK_INTERRUPTIBLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
