	.file	"extr_bfa_fcs_rport.c_bfa_fcs_rport_hal_offline_action.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Remote port (WWN = %s) connectivity lost for logical port (WWN = %s)\n"
	.align 8
.LC1:
	.string	"Remote port (WWN = %s) offlined by logical port (WWN = %s)\n"
	.text
	.p2align 4
	.type	bfa_fcs_rport_hal_offline_action, @function
bfa_fcs_rport_hal_offline_action:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -56
	mov	r15, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rsi, rsp
	mov	rbx, rsp
	mov	rax, QWORD PTR [r15]
	mov	r13, QWORD PTR [rax]
	movsx	rax, DWORD PTR BFA_STRING_32[rip]
	add	rax, 15
	mov	rcx, rax
	mov	rdx, rax
	and	rcx, -4096
	and	rdx, -16
	sub	rsi, rcx
	mov	rcx, rsi
	cmp	rsp, rcx
	je	.L3
.L24:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rcx
	jne	.L24
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L25
.L4:
	mov	rdx, rax
	mov	rcx, rsp
	and	rax, -4096
	mov	r14, rsp
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L6
.L26:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L26
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L27
.L7:
	mov	eax, DWORD PTR 24[r12]
	test	eax, eax
	je	.L28
	add	DWORD PTR 20[r12], 1
	mov	rdi, r15
	call	bfa_fcs_lport_get_pwwn@PLT
	mov	rdi, r14
	mov	esi, eax
	call	wwn2str@PLT
	mov	esi, DWORD PTR 16[r12]
	mov	rdi, rsp
	call	wwn2str@PLT
	mov	edi, DWORD PTR [r12]
	call	BFA_FCS_PID_IS_WKA@PLT
	test	eax, eax
	je	.L29
.L10:
	mov	rdi, r15
	call	bfa_fcs_lport_is_initiator@PLT
	test	rax, rax
	jne	.L30
.L13:
	mov	rsp, rbx
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L31
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, r12
	call	bfa_fcs_rport_fcs_offline_action@PLT
	mov	rsp, rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	mov	edi, DWORD PTR 4[r12]
	call	bfa_fcs_itnim_rport_offline@PLT
	mov	edi, DWORD PTR [r12]
	call	BFA_FCS_PID_IS_WKA@PLT
	test	eax, eax
	jne	.L13
	mov	rdi, r12
	call	bfa_fcs_rpf_rport_offline@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rdi, QWORD PTR 8[r12]
	call	bfa_fcs_lport_is_online@PLT
	cmp	rax, QWORD PTR BFA_TRUE[rip]
	mov	r9, r14
	mov	r8, rsp
	je	.L32
	mov	edx, DWORD PTR bfa_log_level[rip]
	mov	edi, DWORD PTR KERN_INFO[rip]
	mov	rsi, r13
	lea	rcx, .LC1[rip]
	call	BFA_LOG@PLT
	mov	esi, DWORD PTR BFA_RPORT_AEN_OFFLINE[rip]
	xor	edx, edx
	mov	rdi, r12
	call	bfa_fcs_rport_aen_post@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L32:
	mov	edx, DWORD PTR bfa_log_level[rip]
	mov	edi, DWORD PTR KERN_ERR[rip]
	mov	rsi, r13
	lea	rcx, .LC0[rip]
	call	BFA_LOG@PLT
	mov	esi, DWORD PTR BFA_RPORT_AEN_DISCONNECT[rip]
	xor	edx, edx
	mov	rdi, r12
	call	bfa_fcs_rport_aen_post@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L27:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bfa_fcs_rport_hal_offline_action, .-bfa_fcs_rport_hal_offline_action
	.comm	bfa_log_level,4,4
	.comm	KERN_INFO,4,4
	.comm	KERN_ERR,4,4
	.comm	BFA_TRUE,8,8
	.comm	BFA_STRING_32,4,4
	.comm	BFA_RPORT_AEN_OFFLINE,4,4
	.comm	BFA_RPORT_AEN_DISCONNECT,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_bfa_fcs_rport.c_bfa_fcs_rport_hal_offline_action.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Remote port (WWN = %s) connectivity lost for logica"
	.ascii	"l port (WWN = %s)\012\000"
	.align	2
.LC1:
	.ascii	"Remote port (WWN = %s) offlined by logical port (WW"
	.ascii	"N = %s)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_fcs_rport_hal_offline_action, %function
bfa_fcs_rport_hal_offline_action:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	ldr	r3, .L17
	ldr	r5, [r0, #8]
	ldr	r3, [r3]
	mov	r6, sp
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r1, [r0, #20]
	ldr	r2, [r5]
	add	r8, sp, #8
	sub	sp, sp, r3
	ldr	r3, .L17+4
	cmp	r1, #0
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r9, [r2]
	beq	.L12
	mov	r4, r0
	ldr	r3, [r0, #16]
	mov	r0, r5
	add	r3, r3, #1
	str	r3, [r4, #16]
	bl	bfa_fcs_lport_get_pwwn
	add	r7, sp, #8
	mov	r1, r0
	mov	r0, r8
	bl	wwn2str
	ldr	r1, [r4, #12]
	mov	r0, r7
	bl	wwn2str
	ldr	r0, [r4]
	bl	BFA_FCS_PID_IS_WKA
	subs	r10, r0, #0
	beq	.L13
.L4:
	mov	r0, r5
	bl	bfa_fcs_lport_is_initiator
	cmp	r0, #0
	bne	.L14
.L7:
	mov	sp, r6
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	ldr	r0, [r4, #4]
	bl	bfa_fcs_itnim_rport_offline
	ldr	r0, [r4]
	bl	BFA_FCS_PID_IS_WKA
	cmp	r0, #0
	bne	.L7
	mov	r0, r4
	bl	bfa_fcs_rpf_rport_offline
	b	.L7
.L13:
	ldr	r0, [r4, #8]
	bl	bfa_fcs_lport_is_online
	ldr	r3, .L17+8
	ldr	r2, .L17+12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L16
	ldr	r3, .L17+16
	ldr	r2, [r2]
	ldr	r0, [r3]
	mov	r1, r9
	ldr	r3, .L17+20
	stm	sp, {r7, r8}
	bl	BFA_LOG
	ldr	r3, .L17+24
	mov	r2, r10
	ldr	r1, [r3]
	mov	r0, r4
	bl	bfa_fcs_rport_aen_post
	mov	r0, r5
	bl	bfa_fcs_lport_is_initiator
	cmp	r0, #0
	beq	.L7
	b	.L14
.L12:
	bl	bfa_fcs_rport_fcs_offline_action
	mov	sp, r6
	b	.L1
.L16:
	ldr	r3, .L17+28
	mov	r1, r9
	ldr	r2, [r2]
	ldr	r0, [r3]
	stm	sp, {r7, r8}
	ldr	r3, .L17+32
	bl	BFA_LOG
	ldr	r3, .L17+36
	mov	r2, r10
	mov	r0, r4
	ldr	r1, [r3]
	bl	bfa_fcs_rport_aen_post
	b	.L4
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	BFA_STRING_32
	.word	.LC2
	.word	BFA_TRUE
	.word	bfa_log_level
	.word	KERN_INFO
	.word	.LC1
	.word	BFA_RPORT_AEN_OFFLINE
	.word	KERN_ERR
	.word	.LC0
	.word	BFA_RPORT_AEN_DISCONNECT
	.size	bfa_fcs_rport_hal_offline_action, .-bfa_fcs_rport_hal_offline_action
	.comm	bfa_log_level,4,4
	.comm	KERN_INFO,4,4
	.comm	KERN_ERR,4,4
	.comm	BFA_TRUE,4,4
	.comm	BFA_STRING_32,4,4
	.comm	BFA_RPORT_AEN_OFFLINE,4,4
	.comm	BFA_RPORT_AEN_DISCONNECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
