	.file	"extr_fcoe.c_fcoe_if_destroy.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Destroying interface\n"
	.text
	.p2align 4
	.type	fcoe_if_destroy, @function
fcoe_if_destroy:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	lport_priv@PLT
	lea	rsi, .LC0[rip]
	mov	r12, QWORD PTR 8[rax]
	mov	rbp, rax
	mov	r13, QWORD PTR [r12]
	mov	rdi, r13
	call	FCOE_NETDEV_DBG@PLT
	mov	rdi, rbx
	call	fc_fabric_logoff@PLT
	mov	rdi, rbx
	call	fc_lport_destroy@PLT
	lea	rdi, 4[rbp]
	call	del_timer_sync@PLT
	mov	rdi, rbx
	call	fcoe_clean_pending_queue@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	is_zero_ether_addr@PLT
	test	eax, eax
	je	.L8
.L2:
	cmp	QWORD PTR 8[rbx], 0
	je	.L3
	xor	eax, eax
	call	synchronize_net@PLT
.L4:
	mov	rdi, rbx
	call	fcoe_percpu_clean@PLT
	mov	edi, DWORD PTR [rbx]
	call	fc_remove_host@PLT
	mov	edi, DWORD PTR [rbx]
	call	scsi_remove_host@PLT
	mov	rdi, rbx
	call	fc_fcp_destroy@PLT
	mov	rdi, rbx
	call	fc_exch_mgr_free@PLT
	mov	rdi, rbx
	call	fc_lport_free_stats@PLT
	cmp	QWORD PTR 8[rbx], 0
	jne	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, r12
	call	fcoe_interface_remove@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r13
	call	dev_uc_del@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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	scsi_host_put@PLT
	.cfi_endproc
.LFE0:
	.size	fcoe_if_destroy, .-fcoe_if_destroy
	.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_fcoe.c_fcoe_if_destroy.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Destroying interface\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fcoe_if_destroy, %function
fcoe_if_destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	bl	lport_priv
	mov	r5, r0
	ldr	r6, [r0, #8]
	ldr	r1, .L9
	ldr	r7, [r6]
	mov	r0, r7
	bl	FCOE_NETDEV_DBG
	mov	r0, r4
	bl	fc_fabric_logoff
	mov	r0, r4
	bl	fc_lport_destroy
	add	r0, r5, #4
	bl	del_timer_sync
	mov	r0, r4
	bl	fcoe_clean_pending_queue
	ldr	r0, [r5]
	bl	is_zero_ether_addr
	cmp	r0, #0
	beq	.L8
.L2:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L3
	bl	synchronize_net
.L4:
	mov	r0, r4
	bl	fcoe_percpu_clean
	ldr	r0, [r4]
	bl	fc_remove_host
	ldr	r0, [r4]
	bl	scsi_remove_host
	mov	r0, r4
	bl	fc_fcp_destroy
	mov	r0, r4
	bl	fc_exch_mgr_free
	mov	r0, r4
	bl	fc_lport_free_stats
	ldr	r3, [r4, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r0, [r4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	scsi_host_put
.L3:
	mov	r0, r6
	bl	fcoe_interface_remove
	b	.L4
.L8:
	mov	r0, r7
	ldr	r1, [r5]
	bl	dev_uc_del
	b	.L2
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	fcoe_if_destroy, .-fcoe_if_destroy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
