	.file	"extr_bfad_im.c_bfad_im_abort_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"scsi%d: abort cmnd %p iotag %x\n"
	.align 8
.LC1:
	.string	"scsi%d: complete abort 0x%p iotag 0x%x\n"
	.text
	.p2align 4
	.type	bfad_im_abort_handler, @function
bfad_im_abort_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	esi, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 16[rdi]
	mov	rbx, rdi
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	r14, QWORD PTR [rax]
	mov	r13, QWORD PTR 8[r14]
	mov	rdi, r13
	call	spin_lock_irqsave@PLT
	mov	r12, QWORD PTR 8[rbx]
	test	r12, r12
	je	.L12
	cmp	QWORD PTR 8[r12], rbx
	je	.L4
	mov	r12d, DWORD PTR FAILED[rip]
.L3:
	mov	rdi, r13
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L12:
	.cfi_restore_state
	mov	r12d, DWORD PTR SUCCESS[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR [r12]
	mov	rdi, r13
	call	bfa_trc@PLT
	mov	edx, DWORD PTR [r12]
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rax, QWORD PTR [r14]
	mov	edi, DWORD PTR KERN_INFO[rip]
	lea	rcx, .LC0[rip]
	mov	r9, rbx
	mov	rsi, r13
	push	rdx
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR bfa_log_level[rip]
	mov	r8d, DWORD PTR [rax]
	call	BFA_LOG@PLT
	mov	rdi, r12
	call	bfa_ioim_abort@PLT
	xor	esi, esi
	mov	rdi, r13
	call	spin_unlock_irqrestore@PLT
	pop	rcx
	.cfi_def_cfa_offset 56
	pop	rsi
	.cfi_def_cfa_offset 48
	cmp	r12, QWORD PTR 8[rbx]
	jne	.L5
	mov	ebp, 10
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR TASK_UNINTERRUPTIBLE[rip]
	call	set_current_state@PLT
	mov	edi, ebp
	call	schedule_timeout@PLT
	mov	eax, DWORD PTR HZ[rip]
	lea	edx, [rbp+rbp]
	sal	eax, 2
	cmp	eax, ebp
	cmovg	ebp, edx
	cmp	r12, QWORD PTR 8[rbx]
	je	.L7
.L5:
	mov	rdi, rbx
	call	[QWORD PTR [rbx]]
	mov	esi, DWORD PTR [r12]
	mov	rdi, r13
	call	bfa_trc@PLT
	mov	edx, DWORD PTR [r12]
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rax, QWORD PTR [r14]
	mov	edi, DWORD PTR KERN_INFO[rip]
	mov	r9, rbx
	mov	rsi, r13
	lea	rcx, .LC1[rip]
	push	rdx
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR bfa_log_level[rip]
	mov	r8d, DWORD PTR [rax]
	call	BFA_LOG@PLT
	mov	r12d, DWORD PTR SUCCESS[rip]
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	bfad_im_abort_handler, .-bfad_im_abort_handler
	.comm	bfa_log_level,4,4
	.comm	TASK_UNINTERRUPTIBLE,4,4
	.comm	SUCCESS,4,4
	.comm	KERN_INFO,4,4
	.comm	HZ,4,4
	.comm	FAILED,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_bfad_im.c_bfad_im_abort_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"scsi%d: abort cmnd %p iotag %x\012\000"
	.align	2
.LC1:
	.ascii	"scsi%d: complete abort 0x%p iotag 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfad_im_abort_handler, %function
bfad_im_abort_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r3, [r0, #8]
	mov	r1, #0
	ldr	r3, [r3]
	sub	sp, sp, #20
	ldr	r3, [r3]
	ldr	r8, [r3]
	ldr	r7, [r8, #4]
	mov	r0, r7
	bl	spin_lock_irqsave
	ldr	r5, [r4, #4]
	cmp	r5, #0
	beq	.L12
	ldr	r3, [r5, #4]
	cmp	r3, r4
	beq	.L4
	ldr	r3, .L13
	ldr	r4, [r3]
.L3:
	mov	r0, r7
	mov	r1, #0
	bl	spin_unlock_irqrestore
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	ldr	r3, .L13+4
	ldr	r4, [r3]
	b	.L3
.L4:
	ldr	r1, [r5]
	mov	r0, r7
	bl	bfa_trc
	ldr	r3, [r5]
	str	r4, [sp, #4]
	str	r3, [sp, #8]
	ldr	r3, [r8]
	ldr	fp, .L13+8
	ldr	r3, [r3]
	mov	r1, r7
	str	r3, [sp]
	ldr	r3, .L13+12
	ldr	r2, [fp]
	ldr	r0, [r3]
	ldr	r3, .L13+16
	bl	BFA_LOG
	mov	r0, r5
	bl	bfa_ioim_abort
	mov	r1, #0
	mov	r0, r7
	bl	spin_unlock_irqrestore
	ldr	r3, [r4, #4]
	cmp	r5, r3
	bne	.L5
	mov	r6, #10
	ldr	r9, .L13+20
	ldr	r10, .L13+24
.L7:
	ldr	r0, [r9]
	bl	set_current_state
	mov	r0, r6
	bl	schedule_timeout
	ldr	r3, [r10]
	cmp	r6, r3, lsl #2
	ldr	r3, [r4, #4]
	lsllt	r6, r6, #1
	cmp	r5, r3
	beq	.L7
.L5:
	ldr	r3, [r4]
	mov	r0, r4
	blx	r3
	ldr	r1, [r5]
	mov	r0, r7
	bl	bfa_trc
	ldr	r3, [r5]
	str	r4, [sp, #4]
	str	r3, [sp, #8]
	ldr	r3, [r8]
	mov	r1, r7
	ldr	r3, [r3]
	ldr	r2, [fp]
	str	r3, [sp]
	ldr	r3, .L13+12
	ldr	r0, [r3]
	ldr	r3, .L13+28
	bl	BFA_LOG
	ldr	r3, .L13+4
	ldr	r4, [r3]
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	.align	2
.L13:
	.word	FAILED
	.word	SUCCESS
	.word	bfa_log_level
	.word	KERN_INFO
	.word	.LC0
	.word	TASK_UNINTERRUPTIBLE
	.word	HZ
	.word	.LC1
	.size	bfad_im_abort_handler, .-bfad_im_abort_handler
	.comm	bfa_log_level,4,4
	.comm	TASK_UNINTERRUPTIBLE,4,4
	.comm	SUCCESS,4,4
	.comm	KERN_INFO,4,4
	.comm	HZ,4,4
	.comm	FAILED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
