	.file	"extr_bnx2x_sriov.c_bnx2x_vfop_release.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Acquired"
.LC1:
	.string	"Reset"
.LC2:
	.string	"Enabled"
.LC3:
	.string	"Free"
.LC4:
	.string	"Unknown"
.LC5:
	.string	"vfop->rc %d\n"
.LC6:
	.string	"VF[%d] STATE: %s\n"
.LC7:
	.string	"about to free resources\n"
.LC8:
	.string	"VF[%d] RELEASE error: rc %d\n"
	.text
	.p2align 4
	.type	bnx2x_vfop_release, @function
bnx2x_vfop_release:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	bnx2x_vfop_cur@PLT
	mov	edi, DWORD PTR BNX2X_MSG_IOV[rip]
	lea	rsi, .LC5[rip]
	mov	DWORD PTR 8[rsp], 0
	mov	r12, rax
	lea	rax, bnx2x_vfop_release[rip]
	mov	rdx, QWORD PTR [r12]
	mov	QWORD PTR [rsp], rax
	xor	eax, eax
	call	DP@PLT
	mov	rdx, QWORD PTR [r12]
	test	rdx, rdx
	js	.L2
	mov	eax, DWORD PTR 0[rbp]
	lea	rcx, .LC3[rip]
	cmp	eax, 129
	je	.L3
	lea	rcx, .LC0[rip]
	cmp	eax, 131
	je	.L3
	lea	rcx, .LC2[rip]
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	lea	rcx, .LC1[rip]
	lea	rax, .LC4[rip]
	cmovne	rcx, rax
.L3:
	mov	edi, DWORD PTR BNX2X_MSG_IOV[rip]
	mov	edx, DWORD PTR 4[rbp]
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	DP@PLT
	mov	edi, DWORD PTR 0[rbp]
	cmp	edi, 130
	je	.L4
	jg	.L5
	lea	eax, -128[rdi]
	cmp	eax, 1
	ja	.L6
.L7:
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	bnx2x_vfop_end@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 32
	.cfi_remember_state
	.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
.L5:
	.cfi_restore_state
	cmp	edi, 131
	jne	.L6
	mov	edi, DWORD PTR BNX2X_MSG_IOV[rip]
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	DP@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	bnx2x_vf_free_resc@PLT
	mov	rdx, QWORD PTR [r12]
	mov	edi, DWORD PTR BNX2X_MSG_IOV[rip]
	xor	eax, eax
	lea	rsi, .LC5[rip]
	call	DP@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	call	bnx2x_vfop_default@PLT
	mov	rdx, QWORD PTR [r12]
.L2:
	mov	esi, DWORD PTR 4[rbp]
	lea	rdi, .LC8[rip]
	call	BNX2X_ERR@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdx, rsp
	mov	rsi, rbp
	mov	rdi, r13
	call	bnx2x_vfop_close_cmd@PLT
	mov	QWORD PTR [r12], rax
	mov	rdx, rax
	test	rax, rax
	je	.L1
	jmp	.L2
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bnx2x_vfop_release, .-bnx2x_vfop_release
	.comm	BNX2X_MSG_IOV,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_bnx2x_sriov.c_bnx2x_vfop_release.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Acquired\000"
	.align	2
.LC1:
	.ascii	"Reset\000"
	.align	2
.LC2:
	.ascii	"Enabled\000"
	.align	2
.LC3:
	.ascii	"Free\000"
	.align	2
.LC4:
	.ascii	"Unknown\000"
	.align	2
.LC5:
	.ascii	"vfop->rc %d\012\000"
	.align	2
.LC6:
	.ascii	"VF[%d] STATE: %s\012\000"
	.align	2
.LC7:
	.ascii	"about to free resources\012\000"
	.align	2
.LC8:
	.ascii	"VF[%d] RELEASE error: rc %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_vfop_release, %function
bnx2x_vfop_release:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L19
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r1
	mov	r6, r0
	bl	bnx2x_vfop_cur
	mov	r1, #0
	mov	r5, r0
	ldr	r7, .L19+4
	ldr	r3, .L19+8
	ldr	r2, [r0]
	str	r1, [sp, #8]
	ldr	r0, [r7]
	ldr	r1, .L19+12
	str	r3, [sp, #4]
	bl	DP
	ldr	r2, [r5]
	cmp	r2, #0
	blt	.L2
	ldr	r1, [r4]
	ldr	r0, [r7]
	cmp	r1, #129
	ldr	r2, [r4, #4]
	beq	.L12
	cmp	r1, #131
	beq	.L13
	cmp	r1, #130
	beq	.L14
	ldr	ip, .L19+16
	cmp	r1, #128
	ldr	r3, .L19+20
	movne	r3, ip
.L3:
	ldr	r1, .L19+24
	bl	DP
	ldr	r0, [r4]
	cmp	r0, #130
	beq	.L4
	bgt	.L5
	sub	r3, r0, #128
	cmp	r3, #1
	bls	.L7
.L6:
	bl	bnx2x_vfop_default
	ldr	r2, [r5]
.L2:
	ldr	r1, [r4, #4]
	ldr	r0, .L19+28
	bl	BNX2X_ERR
.L7:
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	bnx2x_vfop_end
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	ldr	r3, .L19+32
	b	.L3
.L5:
	cmp	r0, #131
	bne	.L6
	ldr	r1, .L19+36
	ldr	r0, [r7]
	bl	DP
	mov	r1, r4
	mov	r0, r6
	bl	bnx2x_vf_free_resc
	ldr	r0, [r7]
	ldr	r2, [r5]
	ldr	r1, .L19+12
	bl	DP
	b	.L7
.L4:
	add	r2, sp, #4
	mov	r1, r4
	mov	r0, r6
	bl	bnx2x_vfop_close_cmd
	cmp	r0, #0
	mov	r2, r0
	str	r0, [r5]
	beq	.L1
	b	.L2
.L13:
	ldr	r3, .L19+40
	b	.L3
.L14:
	ldr	r3, .L19+44
	b	.L3
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC9
	.word	BNX2X_MSG_IOV
	.word	bnx2x_vfop_release
	.word	.LC5
	.word	.LC4
	.word	.LC1
	.word	.LC6
	.word	.LC8
	.word	.LC3
	.word	.LC7
	.word	.LC0
	.word	.LC2
	.size	bnx2x_vfop_release, .-bnx2x_vfop_release
	.comm	BNX2X_MSG_IOV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
