	.file	"extr_qlcnic_sriov_pf.c_qlcnic_pci_sriov_disable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qlcnic_pci_sriov_disable, @function
qlcnic_pci_sriov_disable:
.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	r13, QWORD PTR [rdi]
	mov	rbp, rdi
	mov	rdi, r13
	call	netif_running@PLT
	test	rax, rax
	jne	.L12
.L2:
	mov	rdi, rbp
	call	qlcnic_sriov_pf_disable@PLT
	mov	rdi, rbp
	call	qlcnic_sriov_pf_cleanup@PLT
	mov	rdi, rbp
	call	qlcnic_83xx_configure_opmode@PLT
	test	rax, rax
	je	.L3
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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, r13
	xor	r12d, r12d
	call	netif_running@PLT
	test	rax, rax
	je	.L1
	mov	rsi, r13
	mov	rdi, rbp
	call	__qlcnic_up@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L12:
	.cfi_restore_state
	mov	rsi, r13
	mov	rdi, rbp
	call	__qlcnic_down@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	qlcnic_pci_sriov_disable, .-qlcnic_pci_sriov_disable
	.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_qlcnic_sriov_pf.c_qlcnic_pci_sriov_disable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_pci_sriov_disable, %function
qlcnic_pci_sriov_disable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r0]
	mov	r4, r0
	mov	r0, r6
	bl	netif_running
	cmp	r0, #0
	bne	.L13
.L2:
	mov	r0, r4
	bl	qlcnic_sriov_pf_disable
	mov	r0, r4
	bl	qlcnic_sriov_pf_cleanup
	mov	r0, r4
	bl	qlcnic_83xx_configure_opmode
	subs	r5, r0, #0
	beq	.L3
	ldr	r3, .L14
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, r6
	bl	netif_running
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r1, r6
	mov	r0, r4
	bl	__qlcnic_up
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L13:
	mov	r1, r6
	mov	r0, r4
	bl	__qlcnic_down
	b	.L2
.L15:
	.align	2
.L14:
	.word	EIO
	.size	qlcnic_pci_sriov_disable, .-qlcnic_pci_sriov_disable
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
