	.file	"extr_fnic_scsi.c_fnic_fcpio_fw_reset_cmpl_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"reset cmpl success\n"
.LC1:
	.string	"fnic fw_reset : failed %s\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Unexpected state %s while processing reset cmpl\n"
	.text
	.p2align 4
	.type	fnic_fcpio_fw_reset_cmpl_handler, @function
fnic_fcpio_fw_reset_cmpl_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	mov	rdi, rsi
	lea	r13, 8[rbp]
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rcx, 20[rsp]
	lea	rdx, 16[rsp]
	lea	rsi, 12[rsp]
	call	fcpio_header_dec@PLT
	mov	esi, DWORD PTR SCSI_NO_TAG[rip]
	mov	rdi, rbp
	call	fnic_cleanup_io@PLT
	xor	esi, esi
	mov	rdi, r13
	call	spin_lock_irqsave@PLT
	mov	rdi, QWORD PTR 0[rbp]
	cmp	rdi, QWORD PTR FNIC_IN_FC_TRANS_ETH_MODE[rip]
	jne	.L2
	mov	r12d, DWORD PTR 16[rsp]
	test	r12d, r12d
	jne	.L3
	mov	rax, QWORD PTR 24[rbp]
	mov	edi, DWORD PTR KERN_DEBUG[rip]
	lea	rdx, .LC0[rip]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	FNIC_SCSI_DBG@PLT
	mov	rax, QWORD PTR FNIC_IN_ETH_MODE[rip]
	mov	rdi, QWORD PTR 16[rbp]
	mov	QWORD PTR 0[rbp], rax
	test	rdi, rdi
	jne	.L15
.L5:
	mov	rdi, r13
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	mov	rdi, rbp
	call	fnic_flush_tx@PLT
.L7:
	mov	esi, DWORD PTR FNIC_FLAGS_FWRESET[rip]
	mov	rdi, rbp
	call	fnic_clear_state_flags@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	call	complete@PLT
	cmp	QWORD PTR 16[rbp], 0
	je	.L5
.L8:
	mov	rdi, r13
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	lea	rdi, 12[rbp]
	call	skb_queue_purge@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, r12d
	call	fnic_fcpio_status_to_str@PLT
	mov	edi, DWORD PTR KERN_DEBUG[rip]
	lea	rdx, .LC1[rip]
	mov	ecx, eax
	mov	rax, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	FNIC_SCSI_DBG@PLT
	mov	rax, QWORD PTR FNIC_IN_FC_MODE[rip]
	mov	QWORD PTR 0[rbp], rax
.L6:
	mov	rdi, QWORD PTR 16[rbp]
	mov	r12d, -1
	test	rdi, rdi
	je	.L8
	call	complete@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L2:
	call	fnic_state_to_str@PLT
	mov	edi, DWORD PTR KERN_DEBUG[rip]
	lea	rdx, .LC2[rip]
	mov	ecx, eax
	mov	rax, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	FNIC_SCSI_DBG@PLT
	jmp	.L6
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fnic_fcpio_fw_reset_cmpl_handler, .-fnic_fcpio_fw_reset_cmpl_handler
	.comm	SCSI_NO_TAG,4,4
	.comm	KERN_DEBUG,4,4
	.comm	FNIC_IN_FC_TRANS_ETH_MODE,8,8
	.comm	FNIC_IN_FC_MODE,8,8
	.comm	FNIC_IN_ETH_MODE,8,8
	.comm	FNIC_FLAGS_FWRESET,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_fnic_scsi.c_fnic_fcpio_fw_reset_cmpl_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"reset cmpl success\012\000"
	.align	2
.LC1:
	.ascii	"fnic fw_reset : failed %s\012\000"
	.align	2
.LC2:
	.ascii	"Unexpected state %s while processing reset cmpl\012"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fnic_fcpio_fw_reset_cmpl_handler, %function
fnic_fcpio_fw_reset_cmpl_handler:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	sub	sp, sp, #28
	ldr	ip, .L19
	add	r2, sp, #12
	mov	r0, r1
	add	r3, sp, #16
	add	r1, sp, #8
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	bl	fcpio_header_dec
	ldr	r3, .L19+4
	mov	r0, r4
	ldr	r1, [r3]
	add	r6, r4, #4
	bl	fnic_cleanup_io
	mov	r0, r6
	mov	r1, #0
	bl	spin_lock_irqsave
	ldr	r3, .L19+8
	ldr	r0, [r4]
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L2
	ldr	r5, [sp, #12]
	ldr	r2, .L19+12
	ldr	r3, [r4, #16]
	cmp	r5, #0
	ldr	r7, [r2]
	ldr	r1, [r3]
	bne	.L3
	mov	r0, r7
	ldr	r2, .L19+16
	bl	FNIC_SCSI_DBG
	ldr	r3, .L19+20
	ldr	r0, [r4, #12]
	ldr	r3, [r3]
	cmp	r0, #0
	str	r3, [r4]
	bne	.L17
.L5:
	mov	r0, r6
	mov	r1, #0
	bl	spin_unlock_irqrestore
	mov	r0, r4
	bl	fnic_flush_tx
.L7:
	ldr	r3, .L19+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	fnic_clear_state_flags
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L17:
	bl	complete
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L5
.L8:
	mov	r0, r6
	mov	r1, #0
	bl	spin_unlock_irqrestore
	add	r0, r4, #8
	bl	skb_queue_purge
	b	.L7
.L3:
	mov	r0, r5
	str	r1, [sp, #4]
	bl	fnic_fcpio_status_to_str
	ldr	r1, [sp, #4]
	mov	r3, r0
	ldr	r2, .L19+28
	mov	r0, r7
	bl	FNIC_SCSI_DBG
	ldr	r3, .L19+32
	ldr	r3, [r3]
	str	r3, [r4]
.L6:
	ldr	r0, [r4, #12]
	cmp	r0, #0
	mvneq	r5, #0
	beq	.L8
	bl	complete
	mvn	r5, #0
	b	.L8
.L2:
	ldr	r3, [r4, #16]
	ldr	r2, .L19+12
	ldr	r7, [r3]
	ldr	r5, [r2]
	bl	fnic_state_to_str
	mov	r1, r7
	mov	r3, r0
	ldr	r2, .L19+36
	mov	r0, r5
	bl	FNIC_SCSI_DBG
	b	.L6
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC3
	.word	SCSI_NO_TAG
	.word	FNIC_IN_FC_TRANS_ETH_MODE
	.word	KERN_DEBUG
	.word	.LC0
	.word	FNIC_IN_ETH_MODE
	.word	FNIC_FLAGS_FWRESET
	.word	.LC1
	.word	FNIC_IN_FC_MODE
	.word	.LC2
	.size	fnic_fcpio_fw_reset_cmpl_handler, .-fnic_fcpio_fw_reset_cmpl_handler
	.comm	SCSI_NO_TAG,4,4
	.comm	KERN_DEBUG,4,4
	.comm	FNIC_IN_FC_TRANS_ETH_MODE,4,4
	.comm	FNIC_IN_FC_MODE,4,4
	.comm	FNIC_IN_ETH_MODE,4,4
	.comm	FNIC_FLAGS_FWRESET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
