	.file	"extr_lpfc_init.c_lpfc_reset_hba.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lpfc_reset_hba
	.type	lpfc_reset_hba, @function
lpfc_reset_hba:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	eax, DWORD PTR 4[rdi]
	mov	rbp, rdi
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR LPFC_HBA_ERROR[rip]
	mov	DWORD PTR [rdi], eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR LPFC_MBX_WAIT[rip]
	call	lpfc_offline_prep@PLT
	mov	rdi, rbp
	call	lpfc_offline@PLT
	mov	rdi, rbp
	call	lpfc_sli_brdrestart@PLT
	mov	rdi, rbp
	call	lpfc_online@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	lpfc_unblock_mgmt_io@PLT
	.cfi_endproc
.LFE0:
	.size	lpfc_reset_hba, .-lpfc_reset_hba
	.comm	LPFC_MBX_WAIT,4,4
	.comm	LPFC_HBA_ERROR,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_lpfc_init.c_lpfc_reset_hba.c"
	.text
	.align	2
	.global	lpfc_reset_hba
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_reset_hba, %function
lpfc_reset_hba:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, lr}
	cmp	r3, #0
	mov	r4, r0
	bne	.L2
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [r0]
	pop	{r4, pc}
.L2:
	ldr	r3, .L7+4
	ldr	r1, [r3]
	bl	lpfc_offline_prep
	mov	r0, r4
	bl	lpfc_offline
	mov	r0, r4
	bl	lpfc_sli_brdrestart
	mov	r0, r4
	bl	lpfc_online
	mov	r0, r4
	pop	{r4, lr}
	b	lpfc_unblock_mgmt_io
.L8:
	.align	2
.L7:
	.word	LPFC_HBA_ERROR
	.word	LPFC_MBX_WAIT
	.size	lpfc_reset_hba, .-lpfc_reset_hba
	.comm	LPFC_MBX_WAIT,4,4
	.comm	LPFC_HBA_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
