	.file	"extr_dc395x.c_dc395x_eh_abort.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"eh_abort: (0x%p) target=<%02i-%i> cmd=%p\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"eh_abort: No such device\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"eh_abort: Command was waiting\n"
	.align 8
.LC3:
	.string	"eh_abort: Command in progress\n"
	.section	.rodata.str1.1
.LC4:
	.string	"eh_abort: Command not found\n"
	.text
	.p2align 4
	.type	dc395x_eh_abort, @function
dc395x_eh_abort:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r9, rdi
	lea	rsi, .LC0[rip]
	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
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR 8[rax]
	mov	r8d, DWORD PTR [rax]
	xor	eax, eax
	mov	r14, QWORD PTR [rdx]
	mov	rdx, rdi
	mov	edi, DWORD PTR KERN_INFO[rip]
	call	dprintkl@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, r14
	mov	esi, DWORD PTR 8[rax]
	mov	rdx, QWORD PTR [rax]
	call	find_dcb@PLT
	test	rax, rax
	je	.L9
	lea	rsi, 4[rax]
	mov	rdi, rbp
	mov	r12, rax
	call	find_cmd@PLT
	mov	r13, rax
	test	rax, rax
	je	.L4
	mov	rdi, rax
	call	list_del@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	pci_unmap_srb_sense@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	pci_unmap_srb@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	free_tag@PLT
	mov	rsi, r14
	mov	rdi, r13
	call	list_add_tail@PLT
	mov	edi, DWORD PTR KERN_DEBUG[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dprintkl@PLT
	mov	eax, DWORD PTR DID_ABORT[rip]
	sal	eax, 16
	mov	DWORD PTR 0[rbp], eax
	mov	eax, DWORD PTR SUCCESS[rip]
	add	rsp, 8
	.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
.L4:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	call	find_cmd@PLT
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR KERN_DEBUG[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	dprintkl@PLT
.L6:
	mov	eax, DWORD PTR FAILED[rip]
	add	rsp, 8
	.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
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR KERN_DEBUG[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dprintkl@PLT
	mov	eax, DWORD PTR FAILED[rip]
	add	rsp, 8
	.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
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR KERN_DEBUG[rip]
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	dprintkl@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	dc395x_eh_abort, .-dc395x_eh_abort
	.comm	SUCCESS,4,4
	.comm	KERN_INFO,4,4
	.comm	KERN_DEBUG,4,4
	.comm	FAILED,4,4
	.comm	DID_ABORT,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_dc395x.c_dc395x_eh_abort.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"eh_abort: (0x%p) target=<%02i-%i> cmd=%p\012\000"
	.align	2
.LC1:
	.ascii	"eh_abort: No such device\012\000"
	.align	2
.LC2:
	.ascii	"eh_abort: Command was waiting\012\000"
	.align	2
.LC3:
	.ascii	"eh_abort: Command in progress\012\000"
	.align	2
.LC4:
	.ascii	"eh_abort: Command not found\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dc395x_eh_abort, %function
dc395x_eh_abort:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r2, [r0, #4]
	sub	sp, sp, #12
	ldr	r0, [r2, #8]
	ldr	r3, [r2, #4]
	ldr	r7, [r0]
	str	r4, [sp, #4]
	ldr	r2, [r2]
	ldr	r1, .L10
	str	r2, [sp]
	ldr	r0, [r1]
	mov	r2, r4
	ldr	r1, .L10+4
	bl	dprintkl
	ldr	r3, [r4, #4]
	mov	r0, r7
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	bl	find_dcb
	subs	r5, r0, #0
	beq	.L9
	mov	r0, r4
	add	r1, r5, #4
	bl	find_cmd
	subs	r6, r0, #0
	beq	.L4
	bl	list_del
	mov	r1, r6
	mov	r0, r7
	bl	pci_unmap_srb_sense
	mov	r1, r6
	mov	r0, r7
	bl	pci_unmap_srb
	mov	r1, r6
	mov	r0, r5
	bl	free_tag
	mov	r1, r7
	mov	r0, r6
	bl	list_add_tail
	ldr	r3, .L10+8
	ldr	r1, .L10+12
	ldr	r0, [r3]
	bl	dprintkl
	ldr	r3, .L10+16
	ldr	r2, .L10+20
	ldr	r3, [r3]
	ldr	r0, [r2]
	lsl	r3, r3, #16
	str	r3, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	mov	r1, r5
	mov	r0, r4
	bl	find_cmd
	ldr	r3, .L10+8
	cmp	r0, #0
	ldrne	r1, .L10+24
	ldreq	r1, .L10+28
	ldr	r0, [r3]
	bl	dprintkl
	ldr	r3, .L10+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r3, .L10+8
	ldr	r1, .L10+36
	ldr	r0, [r3]
	bl	dprintkl
	ldr	r3, .L10+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	.align	2
.L10:
	.word	KERN_INFO
	.word	.LC0
	.word	KERN_DEBUG
	.word	.LC2
	.word	DID_ABORT
	.word	SUCCESS
	.word	.LC3
	.word	.LC4
	.word	FAILED
	.word	.LC1
	.size	dc395x_eh_abort, .-dc395x_eh_abort
	.comm	SUCCESS,4,4
	.comm	KERN_INFO,4,4
	.comm	KERN_DEBUG,4,4
	.comm	FAILED,4,4
	.comm	DID_ABORT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
