	.file	"extr_ecore_vf.c_ecore_vf_pf_acquire.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"BB"
.LC1:
	.string	"AH"
.LC2:
	.string	"resources acquired\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"PF uses an incompatible fastpath HSI %02x.%02x [VF requires %02x.%02x]. Please change to a VF driver using %02x.xx.\n"
	.align 8
.LC4:
	.string	"PF uses very old drivers. Please change to a VF driver using no later than 8.8.x.x.\n"
	.align 8
.LC5:
	.string	"PF is old - try re-acquire to see if it supports FW-version override\n"
	.align 8
.LC6:
	.string	"PF rejected acquisition by VF\n"
	.align 8
.LC7:
	.string	"PF returned error %d to VF acquisition request\n"
	.align 8
.LC8:
	.string	"attempting to acquire resources\n"
	.align 8
.LC9:
	.string	"VF_UPDATE_ACQUIRE_RESC_RESP Failed: status = 0x%x.\n"
	.section	.rodata.str1.1
.LC10:
	.string	"Chip details - %s%d\n"
.LC11:
	.string	"100g VF\n"
	.section	.rodata.str1.8
	.align 8
.LC12:
	.string	"PF is using older fastpath HSI; %02x.%02x is configured\n"
	.text
	.p2align 4
	.type	ecore_vf_pf_acquire, @function
ecore_vf_pf_acquire:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	edx, 104
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 136
	.cfi_def_cfa_offset 192
	mov	rbx, QWORD PTR 16[rdi]
	mov	esi, DWORD PTR CHANNEL_TLV_ACQUIRE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	lea	r13, 32[rsp]
	mov	r12, QWORD PTR 16[rbx]
	lea	rax, 8[r12]
	mov	QWORD PTR 8[rsp], rax
	call	ecore_vf_pf_prep@PLT
	xor	esi, esi
	mov	edx, 88
	mov	rdi, r13
	mov	r15, rax
	lea	r14, 64[rax]
	mov	eax, DWORD PTR 8[rbp]
	mov	QWORD PTR 24[rsp], r14
	mov	DWORD PTR 48[r15], eax
	mov	rax, QWORD PTR ECORE_MAX_VF_CHAINS_PER_PF[rip]
	mov	QWORD PTR 96[r15], rax
	mov	QWORD PTR 88[r15], rax
	mov	QWORD PTR 80[r15], rax
	mov	eax, DWORD PTR ECORE_ETH_VF_NUM_MAC_FILTERS[rip]
	mov	DWORD PTR 72[r15], eax
	mov	eax, DWORD PTR ECORE_ETH_VF_NUM_VLAN_FILTERS[rip]
	mov	DWORD PTR 68[r15], eax
	mov	eax, DWORD PTR ECORE_ETH_VF_DEFAULT_NUM_CIDS[rip]
	mov	DWORD PTR 64[r15], eax
	call	OSAL_MEMSET@PLT
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rbp
	call	OSAL_VF_FILL_ACQUIRE_RESC_REQ@PLT
	mov	rax, QWORD PTR 32[rsp]
	mov	QWORD PTR 40[r15], rax
	mov	eax, DWORD PTR FW_MAJOR_VERSION[rip]
	mov	DWORD PTR 36[r15], eax
	mov	eax, DWORD PTR FW_MINOR_VERSION[rip]
	mov	DWORD PTR 32[r15], eax
	mov	eax, DWORD PTR FW_REVISION_VERSION[rip]
	mov	DWORD PTR 28[r15], eax
	mov	eax, DWORD PTR FW_ENGINEERING_VERSION[rip]
	mov	DWORD PTR 24[r15], eax
	mov	rax, QWORD PTR ETH_HSI_VER_MAJOR[rip]
	mov	QWORD PTR [r15], rax
	mov	rax, QWORD PTR ETH_HSI_VER_MINOR[rip]
	mov	QWORD PTR 16[r15], rax
	mov	eax, DWORD PTR 8[r15]
	or	eax, DWORD PTR VFPF_ACQUIRE_CAP_100G[rip]
	cmp	QWORD PTR 32[rbx], 0
	mov	DWORD PTR 8[r15], eax
	je	.L2
	mov	edx, DWORD PTR VFPF_ACQUIRE_CAP_PHYSICAL_BAR[rip]
	or	edx, DWORD PTR VFPF_ACQUIRE_CAP_QUEUE_QIDS[rip]
	or	eax, edx
	mov	DWORD PTR 8[r15], eax
	mov	eax, DWORD PTR ECORE_ETH_VF_MAX_NUM_CIDS[rip]
	mov	DWORD PTR 64[r15], eax
.L2:
	mov	eax, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR CHANNEL_TLV_LIST_END[rip]
	lea	rdi, 24[rbx]
	xor	r13d, r13d
	mov	edx, 4
	lea	r14, 80[r12]
	mov	DWORD PTR 60[r15], eax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 56[r15], eax
	call	ecore_add_tlv@PLT
	lea	rax, 12[rbx]
	mov	QWORD PTR 16[rsp], rax
.L3:
	mov	esi, DWORD PTR ECORE_MSG_IOV[rip]
	lea	rdx, .LC8[rip]
	mov	rdi, rbp
	call	DP_VERBOSE@PLT
	mov	rdi, QWORD PTR 16[rbx]
	xor	esi, esi
	mov	edx, 4
	call	OSAL_MEMSET@PLT
	mov	edx, 80
	mov	rsi, r14
	mov	rdi, rbp
	call	ecore_send_msg2pf@PLT
	cmp	eax, DWORD PTR ECORE_SUCCESS[rip]
	mov	r8d, eax
	jne	.L38
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	edx, 4
	add	r13d, 1
	call	OSAL_MEMCPY@PLT
	mov	rdx, QWORD PTR 80[r12]
	cmp	rdx, QWORD PTR PFVF_STATUS_SUCCESS[rip]
	je	.L40
	cmp	rdx, QWORD PTR PFVF_STATUS_NO_RESOURCE[rip]
	je	.L41
.L8:
	cmp	rdx, QWORD PTR PFVF_STATUS_NOT_SUPPORTED[rip]
	jne	.L10
	mov	r10, QWORD PTR 16[r12]
	test	r10, r10
	je	.L11
	mov	r9, QWORD PTR ETH_HSI_VER_MAJOR[rip]
	cmp	r10, r9
	jne	.L42
	lea	rdx, .LC6[rip]
	.p2align 4,,10
	.p2align 3
.L37:
	xor	esi, esi
	mov	rdi, rbp
	xor	eax, eax
	call	DP_NOTICE@PLT
	mov	r8d, DWORD PTR ECORE_INVAL[rip]
.L38:
	mov	r13d, r8d
.L13:
	mov	esi, r8d
	mov	rdi, rbp
	call	ecore_vf_pf_req_end@PLT
	mov	rax, QWORD PTR 120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L43
	add	rsp, 136
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR 8[r15]
	test	DWORD PTR VFPF_ACQUIRE_CAP_PRE_FP_HSI[rip], eax
	je	.L14
	lea	rdx, .LC4[rip]
	jmp	.L37
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	DP_INFO@PLT
	mov	eax, DWORD PTR VFPF_ACQUIRE_CAP_PRE_FP_HSI[rip]
	or	DWORD PTR 8[r15], eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L41:
	cmp	DWORD PTR VF_ACQUIRE_THRESH[rip], r13d
	jle	.L8
	mov	rsi, QWORD PTR 24[rsp]
	lea	rdx, 56[r12]
	mov	rdi, rbp
	call	ecore_vf_pf_acquire_reduce_resc@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L40:
	mov	eax, DWORD PTR 8[r12]
	test	DWORD PTR PFVF_ACQUIRE_CAP_POST_FW_OVERRIDE[rip], eax
	jne	.L5
	mov	eax, DWORD PTR VFPF_ACQUIRE_CAP_PRE_FP_HSI[rip]
	or	DWORD PTR 8[r15], eax
.L5:
	mov	esi, DWORD PTR ECORE_MSG_IOV[rip]
	lea	rdx, .LC2[rip]
	mov	rdi, rbp
	call	DP_VERBOSE@PLT
	mov	eax, DWORD PTR 8[r15]
	test	DWORD PTR VFPF_ACQUIRE_CAP_PRE_FP_HSI[rip], eax
	je	.L7
	mov	DWORD PTR [rbx], 1
.L7:
	mov	eax, DWORD PTR 8[r12]
	test	DWORD PTR PFVF_ACQUIRE_CAP_QUEUE_QIDS[rip], eax
	jne	.L16
	mov	rax, QWORD PTR 56[r12]
	add	rax, QWORD PTR 64[r12]
	mov	QWORD PTR 72[r12], rax
.L16:
	lea	rsi, 56[r12]
	mov	rdi, rbp
	call	OSAL_VF_UPDATE_ACQUIRE_RESC_RESP@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L44
	mov	eax, DWORD PTR 48[r12]
	mov	rdi, QWORD PTR 0[rbp]
	xor	r14d, r14d
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR 40[r12]
	mov	DWORD PTR 16[rdi], eax
	mov	rax, QWORD PTR 32[r12]
	mov	QWORD PTR 8[rdi], rax
	call	CHIP_REV_IS_A0@PLT
	mov	rdi, QWORD PTR 0[rbp]
	test	rax, rax
	sete	r14b
	call	ECORE_IS_BB@PLT
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	mov	ecx, r14d
	test	rax, rax
	lea	rax, .LC1[rip]
	lea	rsi, .LC10[rip]
	cmove	rdx, rax
	xor	eax, eax
	call	DP_INFO@PLT
	mov	rax, QWORD PTR 0[rbp]
	movzx	edx, WORD PTR 28[r12]
	mov	rdi, rbp
	mov	DWORD PTR [rax], edx
	call	IS_LEAD_HWFN@PLT
	test	rax, rax
	je	.L19
	mov	eax, DWORD PTR 8[r12]
	test	DWORD PTR PFVF_ACQUIRE_CAP_100G[rip], eax
	jne	.L45
.L19:
	mov	edx, DWORD PTR [rbx]
	mov	rax, QWORD PTR ETH_HSI_VER_MINOR[rip]
	test	edx, edx
	jne	.L22
	test	eax, eax
	jne	.L46
.L22:
	xor	r8d, r8d
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rsi, .LC7[rip]
	mov	rdi, rbp
	call	DP_ERR@PLT
	mov	r8d, DWORD PTR ECORE_AGAIN[rip]
	mov	r13d, r8d
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L42:
	mov	r8d, DWORD PTR 24[r12]
	push	r10
	.cfi_def_cfa_offset 200
	mov	rcx, r10
	xor	esi, esi
	push	QWORD PTR ETH_HSI_VER_MINOR[rip]
	.cfi_def_cfa_offset 208
	lea	rdx, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	DP_NOTICE@PLT
	mov	r8d, DWORD PTR ECORE_INVAL[rip]
	pop	rcx
	.cfi_def_cfa_offset 200
	pop	rsi
	.cfi_def_cfa_offset 192
	mov	r13d, r8d
	jmp	.L13
.L44:
	mov	ecx, eax
	lea	rdx, .LC9[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	esi, 1
	call	DP_NOTICE@PLT
	mov	r13d, DWORD PTR ECORE_AGAIN[rip]
	mov	r8d, r13d
	jmp	.L13
.L46:
	movsx	rdx, DWORD PTR 24[r12]
	xor	r8d, r8d
	mov	rcx, rdx
	cmp	rax, rdx
	jbe	.L13
	mov	rdx, QWORD PTR ETH_HSI_VER_MAJOR[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	DWORD PTR 8[rsp], r8d
	call	DP_INFO@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L13
.L45:
	lea	rdx, .LC11[rip]
	xor	esi, esi
	mov	rdi, rbp
	xor	eax, eax
	call	DP_NOTICE@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	DWORD PTR 4[rax], 2
	jmp	.L19
.L43:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ecore_vf_pf_acquire, .-ecore_vf_pf_acquire
	.comm	VF_ACQUIRE_THRESH,4,4
	.comm	VFPF_ACQUIRE_CAP_QUEUE_QIDS,4,4
	.comm	VFPF_ACQUIRE_CAP_PRE_FP_HSI,4,4
	.comm	VFPF_ACQUIRE_CAP_PHYSICAL_BAR,4,4
	.comm	VFPF_ACQUIRE_CAP_100G,4,4
	.comm	PFVF_STATUS_SUCCESS,8,8
	.comm	PFVF_STATUS_NO_RESOURCE,8,8
	.comm	PFVF_STATUS_NOT_SUPPORTED,8,8
	.comm	PFVF_ACQUIRE_CAP_QUEUE_QIDS,4,4
	.comm	PFVF_ACQUIRE_CAP_POST_FW_OVERRIDE,4,4
	.comm	PFVF_ACQUIRE_CAP_100G,4,4
	.comm	FW_REVISION_VERSION,4,4
	.comm	FW_MINOR_VERSION,4,4
	.comm	FW_MAJOR_VERSION,4,4
	.comm	FW_ENGINEERING_VERSION,4,4
	.comm	ETH_HSI_VER_MINOR,8,8
	.comm	ETH_HSI_VER_MAJOR,8,8
	.comm	ECORE_SUCCESS,4,4
	.comm	ECORE_MSG_IOV,4,4
	.comm	ECORE_MAX_VF_CHAINS_PER_PF,8,8
	.comm	ECORE_INVAL,4,4
	.comm	ECORE_ETH_VF_NUM_VLAN_FILTERS,4,4
	.comm	ECORE_ETH_VF_NUM_MAC_FILTERS,4,4
	.comm	ECORE_ETH_VF_MAX_NUM_CIDS,4,4
	.comm	ECORE_ETH_VF_DEFAULT_NUM_CIDS,4,4
	.comm	ECORE_AGAIN,4,4
	.comm	CHANNEL_TLV_LIST_END,4,4
	.comm	CHANNEL_TLV_ACQUIRE,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_ecore_vf.c_ecore_vf_pf_acquire.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"BB\000"
	.align	2
.LC1:
	.ascii	"AH\000"
	.align	2
.LC2:
	.ascii	"resources acquired\012\000"
	.align	2
.LC3:
	.ascii	"PF uses an incompatible fastpath HSI %02x.%02x [VF "
	.ascii	"requires %02x.%02x]. Please change to a VF driver u"
	.ascii	"sing %02x.xx.\012\000"
	.align	2
.LC4:
	.ascii	"PF uses very old drivers. Please change to a VF dri"
	.ascii	"ver using no later than 8.8.x.x.\012\000"
	.align	2
.LC5:
	.ascii	"PF is old - try re-acquire to see if it supports FW"
	.ascii	"-version override\012\000"
	.align	2
.LC6:
	.ascii	"PF rejected acquisition by VF\012\000"
	.align	2
.LC7:
	.ascii	"PF returned error %d to VF acquisition request\012\000"
	.align	2
.LC8:
	.ascii	"attempting to acquire resources\012\000"
	.align	2
.LC9:
	.ascii	"VF_UPDATE_ACQUIRE_RESC_RESP Failed: status = 0x%x.\012"
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"Chip details - %s%d\012\000"
	.align	2
.LC11:
	.ascii	"100g VF\012\000"
	.align	2
.LC12:
	.ascii	"PF is using older fastpath HSI; %02x.%02x is config"
	.ascii	"ured\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecore_vf_pf_acquire, %function
ecore_vf_pf_acquire:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L45
	ldr	r5, [r0, #8]
	ldr	r1, [r3]
	ldr	r3, .L45+4
	sub	sp, sp, #92
	mov	r2, #72
	ldr	r3, [r3]
	str	r3, [sp, #84]
	mov	r3,#0
	mov	r4, r0
	ldr	r6, [r5, #16]
	bl	ecore_vf_pf_prep
	mov	fp, r0
	ldr	ip, .L45+8
	ldr	r0, .L45+12
	ldr	r1, .L45+16
	ldr	r2, .L45+20
	ldr	lr, [r4, #4]
	ldr	r2, [r2]
	ldr	ip, [ip]
	ldr	r0, [r0]
	ldr	r1, [r1]
	str	lr, [fp, #36]
	str	ip, [fp, #56]
	add	r7, fp, #48
	str	r0, [fp, #52]
	str	r1, [fp, #48]
	str	r2, [fp, #68]
	mov	r1, #0
	str	r2, [fp, #64]
	str	r2, [fp, #60]
	add	r0, sp, #32
	mov	r2, #52
	str	r7, [sp, #28]
	bl	OSAL_MEMSET
	mov	r1, r7
	add	r2, sp, #32
	mov	r0, r4
	bl	OSAL_VF_FILL_ACQUIRE_RESC_REQ
	ldr	r2, .L45+24
	ldr	r0, .L45+28
	ldr	r1, [r2]
	ldr	r2, [sp, #36]
	ldr	r0, [r0]
	str	r2, [fp, #32]
	ldr	r2, [sp, #32]
	ldr	r3, .L45+32
	str	r2, [fp, #28]
	ldr	r2, [r5, #24]
	ldr	r7, .L45+36
	ldr	lr, .L45+40
	ldr	ip, .L45+44
	cmp	r2, #0
	str	r0, [fp, #16]
	ldr	r2, [fp, #4]
	ldr	r0, [r3]
	ldr	r3, .L45+48
	ldr	r7, [r7]
	ldr	lr, [lr]
	ldr	ip, [ip]
	orr	r2, r2, r1
	ldr	r1, [r3]
	add	r3, r6, #8
	str	r7, [fp, #24]
	str	lr, [fp, #20]
	str	ip, [fp, #12]
	str	r0, [fp]
	str	r1, [fp, #8]
	str	r3, [sp, #24]
	str	r2, [fp, #4]
	beq	.L2
	ldr	r0, .L45+52
	ldr	r1, .L45+56
	ldr	ip, [r0]
	ldr	r1, [r1]
	ldr	r0, .L45+60
	orr	r1, r1, ip
	ldr	r0, [r0]
	orr	r2, r1, r2
	str	r2, [fp, #4]
	str	r0, [fp, #48]
.L2:
	mov	r7, #0
	ldr	r0, [r5, #8]
	ldr	r1, [r5, #4]
	ldr	r2, .L45+64
	str	r0, [fp, #44]
	str	r1, [fp, #40]
	add	r0, r5, #20
	ldr	r1, [r2]
	mov	r2, #4
	bl	ecore_add_tlv
	ldr	r9, .L45+68
	add	r3, r6, #48
	ldr	r10, .L45+72
	ldr	r8, .L45+76
	str	r3, [sp, #20]
.L3:
	ldr	r3, .L45+80
	ldr	r2, .L45+84
	ldr	r1, [r3]
	mov	r0, r4
	bl	DP_VERBOSE
	mov	r2, #4
	mov	r1, #0
	ldr	r0, [r5, #16]
	bl	OSAL_MEMSET
	mov	r2, #44
	mov	r0, r4
	ldr	r1, [sp, #20]
	bl	ecore_send_msg2pf
	ldr	r3, [r9]
	cmp	r0, r3
	bne	.L38
	mov	r2, #4
	ldr	r1, [sp, #24]
	add	r0, r5, #12
	bl	OSAL_MEMCPY
	ldr	r2, [r6, #48]
	ldr	r3, [r10]
	add	r7, r7, #1
	cmp	r2, r3
	beq	.L39
	ldr	r3, .L45+88
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L40
.L8:
	ldr	r3, .L45+92
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L10
	ldr	r1, [r6, #12]
	cmp	r1, #0
	beq	.L11
	ldr	r3, .L45+32
	ldr	r3, [r3]
	cmp	r1, r3
	moveq	r1, #0
	ldreq	r2, .L45+96
	bne	.L41
.L36:
	mov	r0, r4
	bl	DP_NOTICE
	ldr	r3, .L45+100
	ldr	r1, [r3]
	mov	r7, r1
.L13:
	mov	r0, r4
	bl	ecore_vf_pf_req_end
	ldr	r3, .L45+4
	ldr	r2, [r3]
	ldr	r3, [sp, #84]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L42
	mov	r0, r7
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	ldr	r2, [fp, #4]
	ldr	r3, [r8]
	tst	r2, r3
	ldrne	r2, .L45+104
	bne	.L36
.L14:
	mov	r0, r4
	ldr	r1, .L45+108
	bl	DP_INFO
	ldr	r3, [fp, #4]
	ldr	r2, [r8]
	orr	r3, r3, r2
	str	r3, [fp, #4]
	b	.L3
.L40:
	ldr	r3, .L45+112
	ldr	r3, [r3]
	cmp	r3, r7
	ble	.L8
	mov	r0, r4
	ldr	r1, [sp, #28]
	add	r2, r6, #36
	bl	ecore_vf_pf_acquire_reduce_resc
	b	.L3
.L38:
	mov	r1, r0
	mov	r7, r0
	b	.L13
.L39:
	ldr	r2, .L45+116
	ldr	r1, [r6, #8]
	ldr	r2, [r2]
	ldr	r7, .L45+76
	tst	r1, r2
	ldreq	r2, [fp, #4]
	ldreq	r1, [r7]
	ldr	r3, .L45+80
	orreq	r2, r2, r1
	streq	r2, [fp, #4]
	ldr	r1, [r3]
	ldr	r2, .L45+120
	mov	r0, r4
	bl	DP_VERBOSE
	ldr	r3, [r7]
	ldr	r2, [fp, #4]
	mov	r0, r4
	tst	r2, r3
	movne	r3, #1
	strne	r3, [r5]
	ldr	r3, .L45+124
	ldr	r2, [r6, #8]
	ldr	r3, [r3]
	add	r1, r6, #36
	tst	r2, r3
	ldreq	r3, [r6, #40]
	ldreq	r2, [r6, #36]
	addeq	r3, r3, r2
	streq	r3, [r6, #44]
	bl	OSAL_VF_UPDATE_ACQUIRE_RESC_RESP
	subs	r7, r0, #0
	bne	.L43
	ldr	r1, [r6, #32]
	ldr	r2, [r6, #28]
	ldr	r3, [r6, #24]
	ldr	r0, [r4]
	str	r1, [r5, #4]
	str	r2, [r0, #12]
	str	r3, [r0, #8]
	bl	ECORE_IS_BB
	mov	r2, r0
	ldr	r3, .L45+128
	cmp	r2, #0
	ldr	r0, [r4]
	ldr	r8, .L45+132
	moveq	r8, r3
	bl	CHIP_REV_IS_A0
	clz	r3, r0
	mov	r2, r8
	ldr	r1, .L45+136
	lsr	r3, r3, #5
	mov	r0, r4
	bl	DP_INFO
	ldr	r3, [r4]
	ldrh	r2, [r6, #20]
	mov	r0, r4
	str	r2, [r3]
	bl	IS_LEAD_HWFN
	cmp	r0, #0
	beq	.L19
	ldr	r3, .L45+140
	ldr	r2, [r6, #8]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L44
.L19:
	ldr	r3, .L45+48
	ldr	r2, [r3]
	ldr	r3, [r5]
	subs	r1, r2, #0
	movne	r1, #1
	cmp	r3, #0
	movne	r1, #0
	cmp	r1, #0
	beq	.L13
	ldr	r3, [r6, #16]
	cmp	r2, r3
	movls	r1, #0
	bls	.L13
	ldr	r2, .L45+32
	ldr	r1, .L45+144
	mov	r0, r4
	ldr	r2, [r2]
	bl	DP_INFO
	mov	r1, #0
	b	.L13
.L10:
	ldr	r1, .L45+148
	mov	r0, r4
	bl	DP_ERR
	ldr	r3, .L45+152
	ldr	r1, [r3]
	mov	r7, r1
	b	.L13
.L41:
	ldr	r2, .L45+48
	mov	r0, r4
	ldr	r2, [r2]
	str	r1, [sp, #12]
	str	r3, [sp, #4]
	str	r2, [sp, #8]
	ldr	r2, [r6, #16]
	mov	r3, r1
	str	r2, [sp]
	mov	r1, #0
	ldr	r2, .L45+156
	bl	DP_NOTICE
	ldr	r3, .L45+100
	ldr	r1, [r3]
	mov	r7, r1
	b	.L13
.L43:
	mov	r3, r7
	mov	r1, #1
	mov	r0, r4
	ldr	r2, .L45+160
	bl	DP_NOTICE
	ldr	r3, .L45+152
	ldr	r7, [r3]
	mov	r1, r7
	b	.L13
.L44:
	ldr	r2, .L45+164
	mov	r1, r7
	mov	r0, r4
	bl	DP_NOTICE
	mov	r2, #2
	ldr	r3, [r4]
	str	r2, [r3, #4]
	b	.L19
.L42:
	bl	__stack_chk_fail
.L46:
	.align	2
.L45:
	.word	CHANNEL_TLV_ACQUIRE
	.word	.LC13
	.word	ECORE_ETH_VF_NUM_MAC_FILTERS
	.word	ECORE_ETH_VF_NUM_VLAN_FILTERS
	.word	ECORE_ETH_VF_DEFAULT_NUM_CIDS
	.word	ECORE_MAX_VF_CHAINS_PER_PF
	.word	VFPF_ACQUIRE_CAP_100G
	.word	FW_REVISION_VERSION
	.word	ETH_HSI_VER_MAJOR
	.word	FW_MAJOR_VERSION
	.word	FW_MINOR_VERSION
	.word	FW_ENGINEERING_VERSION
	.word	ETH_HSI_VER_MINOR
	.word	VFPF_ACQUIRE_CAP_QUEUE_QIDS
	.word	VFPF_ACQUIRE_CAP_PHYSICAL_BAR
	.word	ECORE_ETH_VF_MAX_NUM_CIDS
	.word	CHANNEL_TLV_LIST_END
	.word	ECORE_SUCCESS
	.word	PFVF_STATUS_SUCCESS
	.word	VFPF_ACQUIRE_CAP_PRE_FP_HSI
	.word	ECORE_MSG_IOV
	.word	.LC8
	.word	PFVF_STATUS_NO_RESOURCE
	.word	PFVF_STATUS_NOT_SUPPORTED
	.word	.LC6
	.word	ECORE_INVAL
	.word	.LC4
	.word	.LC5
	.word	VF_ACQUIRE_THRESH
	.word	PFVF_ACQUIRE_CAP_POST_FW_OVERRIDE
	.word	.LC2
	.word	PFVF_ACQUIRE_CAP_QUEUE_QIDS
	.word	.LC1
	.word	.LC0
	.word	.LC10
	.word	PFVF_ACQUIRE_CAP_100G
	.word	.LC12
	.word	.LC7
	.word	ECORE_AGAIN
	.word	.LC3
	.word	.LC9
	.word	.LC11
	.size	ecore_vf_pf_acquire, .-ecore_vf_pf_acquire
	.comm	VF_ACQUIRE_THRESH,4,4
	.comm	VFPF_ACQUIRE_CAP_QUEUE_QIDS,4,4
	.comm	VFPF_ACQUIRE_CAP_PRE_FP_HSI,4,4
	.comm	VFPF_ACQUIRE_CAP_PHYSICAL_BAR,4,4
	.comm	VFPF_ACQUIRE_CAP_100G,4,4
	.comm	PFVF_STATUS_SUCCESS,4,4
	.comm	PFVF_STATUS_NO_RESOURCE,4,4
	.comm	PFVF_STATUS_NOT_SUPPORTED,4,4
	.comm	PFVF_ACQUIRE_CAP_QUEUE_QIDS,4,4
	.comm	PFVF_ACQUIRE_CAP_POST_FW_OVERRIDE,4,4
	.comm	PFVF_ACQUIRE_CAP_100G,4,4
	.comm	FW_REVISION_VERSION,4,4
	.comm	FW_MINOR_VERSION,4,4
	.comm	FW_MAJOR_VERSION,4,4
	.comm	FW_ENGINEERING_VERSION,4,4
	.comm	ETH_HSI_VER_MINOR,4,4
	.comm	ETH_HSI_VER_MAJOR,4,4
	.comm	ECORE_SUCCESS,4,4
	.comm	ECORE_MSG_IOV,4,4
	.comm	ECORE_MAX_VF_CHAINS_PER_PF,4,4
	.comm	ECORE_INVAL,4,4
	.comm	ECORE_ETH_VF_NUM_VLAN_FILTERS,4,4
	.comm	ECORE_ETH_VF_NUM_MAC_FILTERS,4,4
	.comm	ECORE_ETH_VF_MAX_NUM_CIDS,4,4
	.comm	ECORE_ETH_VF_DEFAULT_NUM_CIDS,4,4
	.comm	ECORE_AGAIN,4,4
	.comm	CHANNEL_TLV_LIST_END,4,4
	.comm	CHANNEL_TLV_ACQUIRE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
