	.file	"extr_qla_iocb.c_qla24xx_abort_iocb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qla24xx_abort_iocb, @function
qla24xx_abort_iocb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, 64
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	xor	esi, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 16[rdi]
	mov	r12, QWORD PTR 24[rdi]
	mov	rdi, rbx
	mov	r13, QWORD PTR [rax]
	call	memset@PLT
	mov	eax, DWORD PTR ABORT_IOCB_TYPE[rip]
	mov	esi, DWORD PTR 8[rbp]
	mov	DWORD PTR [rbx], 1
	mov	edi, DWORD PTR 0[r13]
	mov	DWORD PTR 56[rbx], eax
	call	MAKE_HANDLE@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	QWORD PTR 48[rbx], rax
	mov	rax, QWORD PTR 0[rbp]
	test	rax, rax
	je	.L2
	mov	edi, DWORD PTR 12[rax]
	call	cpu_to_le16@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	QWORD PTR 40[rbx], rax
	mov	rax, QWORD PTR 32[rbx]
	mov	ecx, DWORD PTR 8[rdx]
	mov	DWORD PTR [rax], ecx
	mov	ecx, DWORD PTR 4[rdx]
	mov	DWORD PTR 4[rax], ecx
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR 8[rax], edx
.L2:
	mov	esi, DWORD PTR 36[rbp]
	mov	edi, DWORD PTR 32[rbp]
	call	MAKE_HANDLE@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR 32[rbp]
	mov	QWORD PTR 24[rbx], rax
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR 16[rbx], eax
	call	cpu_to_le16@PLT
	mov	QWORD PTR 8[rbx], rax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	jmp	wmb@PLT
	.cfi_endproc
.LFE0:
	.size	qla24xx_abort_iocb, .-qla24xx_abort_iocb
	.comm	ABORT_IOCB_TYPE,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_qla_iocb.c_qla24xx_abort_iocb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qla24xx_abort_iocb, %function
qla24xx_abort_iocb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r3, [r0, #8]
	mov	r4, r1
	mov	r0, r1
	mov	r2, #32
	mov	r1, #0
	ldr	r7, [r3]
	ldr	r6, [r5, #12]
	bl	memset
	mov	r3, #1
	ldr	r2, .L8
	ldr	r1, [r5, #4]
	ldr	r2, [r2]
	ldr	r0, [r7]
	str	r3, [r4]
	str	r2, [r4, #28]
	bl	MAKE_HANDLE
	bl	cpu_to_le32
	ldr	r3, [r5]
	str	r0, [r4, #24]
	cmp	r3, #0
	beq	.L2
	ldr	r0, [r3, #12]
	bl	cpu_to_le16
	ldr	r2, [r5]
	ldr	r3, [r4, #16]
	ldr	r1, [r2, #8]
	str	r0, [r4, #20]
	str	r1, [r3]
	ldr	r1, [r2, #4]
	str	r1, [r3, #4]
	ldr	r2, [r2]
	str	r2, [r3, #8]
.L2:
	ldr	r1, [r5, #20]
	ldr	r0, [r5, #16]
	bl	MAKE_HANDLE
	bl	cpu_to_le32
	ldr	r3, [r6]
	str	r0, [r4, #12]
	str	r3, [r4, #8]
	ldr	r0, [r5, #16]
	bl	cpu_to_le16
	str	r0, [r4, #4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	wmb
.L9:
	.align	2
.L8:
	.word	ABORT_IOCB_TYPE
	.size	qla24xx_abort_iocb, .-qla24xx_abort_iocb
	.comm	ABORT_IOCB_TYPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
