	.file	"extr_zfcp_fsf.c_zfcp_fsf_send_els.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fssels1"
	.text
	.p2align 4
	.globl	zfcp_fsf_send_els
	.type	zfcp_fsf_send_els, @function
zfcp_fsf_send_els:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR [rdi]
	mov	r12d, DWORD PTR EIO[rip]
	mov	DWORD PTR 12[rsp], ecx
	mov	rdi, rbp
	neg	r12d
	call	spin_lock_irq@PLT
	mov	rdi, rbp
	call	zfcp_qdio_sbal_get@PLT
	test	rax, rax
	je	.L12
.L3:
	mov	rdi, rbp
	call	spin_unlock_irq@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edx, DWORD PTR SBAL_SFLAGS0_TYPE_WRITE_READ[rip]
	mov	esi, DWORD PTR FSF_QTCB_SEND_ELS[rip]
	xor	ecx, ecx
	mov	rdi, rbp
	call	zfcp_fsf_req_create@PLT
	mov	rdi, rax
	mov	r15, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L13
	mov	eax, DWORD PTR ZFCP_STATUS_FSFREQ_CLEANUP[rip]
	or	DWORD PTR 28[r15], eax
	mov	rdi, r14
	call	zfcp_adapter_multi_buffer_active@PLT
	test	eax, eax
	je	.L14
.L5:
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, r15
	mov	ecx, DWORD PTR 12[rsp]
	call	zfcp_fsf_setup_ct_els@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L15
.L6:
	mov	rdi, r15
	call	zfcp_fsf_req_free@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 16[r15]
	mov	esi, r13d
	mov	edi, DWORD PTR [rax]
	call	hton24@PLT
	mov	eax, DWORD PTR zfcp_fsf_send_els_handler[rip]
	mov	edx, r13d
	mov	rsi, r15
	lea	rdi, .LC0[rip]
	mov	DWORD PTR 8[r15], eax
	mov	DWORD PTR [rbx], r13d
	mov	QWORD PTR [r15], rbx
	call	zfcp_dbf_san_req@PLT
	mov	rdi, r15
	call	zfcp_fsf_req_send@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L3
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r15
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rsi, 24[r15]
	mov	edx, 2
	mov	rdi, rbp
	call	zfcp_qdio_sbal_limit@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	zfcp_fsf_send_els, .-zfcp_fsf_send_els
	.comm	zfcp_fsf_send_els_handler,4,4
	.comm	ZFCP_STATUS_FSFREQ_CLEANUP,4,4
	.comm	SBAL_SFLAGS0_TYPE_WRITE_READ,4,4
	.comm	FSF_QTCB_SEND_ELS,4,4
	.comm	EIO,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_zfcp_fsf.c_zfcp_fsf_send_els.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fssels1\000"
	.text
	.align	2
	.global	zfcp_fsf_send_els
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfcp_fsf_send_els, %function
zfcp_fsf_send_els:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r5, [r0]
	ldr	ip, .L16
	mov	r6, r0
	mov	r0, r5
	mov	r10, r3
	ldr	r4, [ip]
	mov	r8, r1
	mov	r7, r2
	bl	spin_lock_irq
	mov	r0, r5
	bl	zfcp_qdio_sbal_get
	subs	r3, r0, #0
	rsbne	r4, r4, #0
	beq	.L12
.L3:
	mov	r0, r5
	bl	spin_unlock_irq
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r2, .L16+4
	ldr	r1, .L16+8
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r0, r5
	bl	zfcp_fsf_req_create
	mov	r9, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L13
	ldr	r2, .L16+12
	ldr	r3, [r9, #16]
	ldr	r2, [r2]
	mov	r0, r6
	orr	r3, r3, r2
	str	r3, [r9, #16]
	bl	zfcp_adapter_multi_buffer_active
	cmp	r0, #0
	beq	.L14
.L5:
	mov	r3, r10
	mov	r0, r9
	ldr	r2, [r7, #4]
	ldr	r1, [r7, #8]
	bl	zfcp_fsf_setup_ct_els
	subs	r4, r0, #0
	beq	.L15
.L6:
	mov	r0, r9
	bl	zfcp_fsf_req_free
	b	.L3
.L15:
	ldr	r3, [r9, #8]
	mov	r1, r8
	ldr	r0, [r3]
	bl	hton24
	ldr	r3, .L16+16
	mov	r2, r8
	ldr	r3, [r3]
	mov	r1, r9
	str	r3, [r9, #4]
	ldr	r0, .L16+20
	str	r8, [r7]
	str	r7, [r9]
	bl	zfcp_dbf_san_req
	mov	r0, r9
	bl	zfcp_fsf_req_send
	subs	r4, r0, #0
	beq	.L3
	b	.L6
.L13:
	mov	r0, r9
	bl	PTR_ERR
	mov	r4, r0
	b	.L3
.L14:
	mov	r2, #2
	mov	r0, r5
	add	r1, r9, #12
	bl	zfcp_qdio_sbal_limit
	b	.L5
.L17:
	.align	2
.L16:
	.word	EIO
	.word	SBAL_SFLAGS0_TYPE_WRITE_READ
	.word	FSF_QTCB_SEND_ELS
	.word	ZFCP_STATUS_FSFREQ_CLEANUP
	.word	zfcp_fsf_send_els_handler
	.word	.LC0
	.size	zfcp_fsf_send_els, .-zfcp_fsf_send_els
	.comm	zfcp_fsf_send_els_handler,4,4
	.comm	ZFCP_STATUS_FSFREQ_CLEANUP,4,4
	.comm	SBAL_SFLAGS0_TYPE_WRITE_READ,4,4
	.comm	FSF_QTCB_SEND_ELS,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
