	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vfpf_acquire             ## -- Begin function bnx2x_vfpf_acquire
	.p2align	4, 0x90
_bnx2x_vfpf_acquire:                    ## @bnx2x_vfpf_acquire
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	192(%rdi), %rbx
	leaq	8(%rbx), %r14
	movq	_CHANNEL_TLV_ACQUIRE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movl	$96, %ecx
	callq	_bnx2x_vfpf_prep
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	callq	_bnx2x_get_vf_id
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_20
LBB0_2:
	movl	-52(%rbp), %eax
	movl	%eax, 88(%rbx)
	movq	$0, 80(%rbx)
	movq	_ETH_FP_HSI_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%rbx)
	movq	%r13, 48(%rbx)
	movq	%r12, 56(%rbx)
	movq	128(%r15), %rax
	movq	%rax, 40(%rbx)
	movq	_VF_ACQUIRE_MAC_FILTERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	_VF_ACQUIRE_MC_FILTERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	_VF_ACQUIRE_VLAN_FILTERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	204(%r15), %eax
	movl	%eax, 96(%rbx)
	movq	8(%rbx), %rdx
	movq	_CHANNEL_TLV_PHYS_PORT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$4, %r8d
	callq	_bnx2x_add_tlv
	movq	_VF_CAP_SUPPORT_EXT_BULLETIN@GOTPCREL(%rip), %rax
	movl	64(%rbx), %ecx
	orl	(%rax), %ecx
	movq	_VF_CAP_SUPPORT_VLAN_FILTER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 64(%rbx)
	movq	8(%rbx), %rdx
	addq	$4, %rdx
	movq	_CHANNEL_TLV_LIST_END@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$4, %r8d
	callq	_bnx2x_add_tlv
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_dp_tlv_list
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movl	200(%r15), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_send_msg2pf
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_3
LBB0_20:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_vfpf_finalize
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%r15), %r12
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$88, %edx
	callq	_memcpy
	movq	88(%r15), %rax
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_PFVF_STATUS_NO_RESOURCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_VF_ACQUIRE_THRESH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_DP
	movq	56(%rbx), %rdi
	movq	64(%r15), %rsi
	callq	_min
	movq	%rax, 56(%rbx)
	movq	48(%rbx), %rdi
	movq	56(%r15), %rsi
	callq	_min
	movq	%rax, 48(%rbx)
	movq	40(%rbx), %rdi
	movq	32(%r15), %rsi
	callq	_min
	movq	%rax, 40(%rbx)
	movq	32(%rbx), %rdi
	movq	48(%r15), %rsi
	callq	_min
	movq	%rax, 32(%rbx)
	movq	24(%rbx), %rdi
	movq	16(%r15), %rsi
	callq	_min
	movq	%rax, 24(%rbx)
	movq	16(%rbx), %rdi
	movq	40(%r15), %rsi
	callq	_min
	movq	%rax, 16(%rbx)
	movq	192(%r15), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movl	200(%r15), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_send_msg2pf
	incl	%r14d
	testl	%eax, %eax
	je	LBB0_4
## %bb.12:
	movl	%eax, %r13d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_13:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	_CHANNEL_TLV_PHYS_PORT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_search_tlv_list
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	184(%r15), %rdi
	movq	(%rax), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_HAS_PHYS_PORT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_15:
	movq	_CHANNEL_TLV_FP_HSI_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_search_tlv_list
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	_ETH_FP_HSI_VERSION@GOTPCREL(%rip), %rax
	jne	LBB0_18
## %bb.16:
	movq	(%rax), %rax
	movq	_ETH_FP_HSI_VER_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_18
## %bb.17:
	leaq	L_.str.5(%rip), %rdi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_vfpf_finalize
	movq	%r15, %rdi
	callq	_bnx2x_vfpf_release
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_20
LBB0_7:
	movq	_CHANNEL_TLV_FP_HSI_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_search_tlv_list
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_10
## %bb.8:
	cmpl	$0, (%rax)
	je	LBB0_9
LBB0_10:
	movq	88(%r15), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	jmp	LBB0_1
LBB0_18:
	movzwl	72(%r15), %eax
	orl	136(%r15), %eax
	movl	%eax, 136(%r15)
	movl	%eax, 180(%r15)
	movl	80(%r15), %eax
	movl	%eax, 176(%r15)
	movq	_INT_BLOCK_IGU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 156(%r15)
	movq	_CHIP_2_PORT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 152(%r15)
	movl	$-1, 4(%r15)
	movq	$0, 144(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 160(%r15)
	movq	_NO_WOL_FLAG@GOTPCREL(%rip), %rax
	movq	_NO_ISCSI_OOO_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_NO_ISCSI_FLAG@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_NO_FCOE_FLAG@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%r15)
	movq	32(%r15), %rax
	movq	%rax, 128(%r15)
	movq	24(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%r15)
	movq	16(%r15), %rax
	movq	%rax, 112(%r15)
	movl	76(%r15), %esi
	movl	104(%r15), %edi
	movl	$4, %edx
	callq	_strlcpy
	movq	8(%r15), %rdi
	callq	_is_valid_ether_addr
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	8(%r15), %rsi
	movq	96(%r15), %rax
	movq	(%rax), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	jmp	LBB0_20
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_CHANNEL_TLV_ACQUIRE,4,2        ## @CHANNEL_TLV_ACQUIRE
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_ETH_FP_HSI_VERSION,8,3         ## @ETH_FP_HSI_VERSION
	.comm	_VF_ACQUIRE_MAC_FILTERS,8,3     ## @VF_ACQUIRE_MAC_FILTERS
	.comm	_VF_ACQUIRE_MC_FILTERS,8,3      ## @VF_ACQUIRE_MC_FILTERS
	.comm	_VF_ACQUIRE_VLAN_FILTERS,8,3    ## @VF_ACQUIRE_VLAN_FILTERS
	.comm	_CHANNEL_TLV_PHYS_PORT_ID,4,2   ## @CHANNEL_TLV_PHYS_PORT_ID
	.comm	_VF_CAP_SUPPORT_EXT_BULLETIN,4,2 ## @VF_CAP_SUPPORT_EXT_BULLETIN
	.comm	_VF_CAP_SUPPORT_VLAN_FILTER,4,2 ## @VF_CAP_SUPPORT_VLAN_FILTER
	.comm	_CHANNEL_TLV_LIST_END,4,2       ## @CHANNEL_TLV_LIST_END
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attempting to acquire resources\n"

	.comm	_PFVF_STATUS_SUCCESS,8,3        ## @PFVF_STATUS_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"resources acquired\n"

	.comm	_PFVF_STATUS_NO_RESOURCE,8,3    ## @PFVF_STATUS_NO_RESOURCE
	.comm	_VF_ACQUIRE_THRESH,4,2          ## @VF_ACQUIRE_THRESH
L_.str.2:                               ## @.str.2
	.asciz	"PF unwilling to fulfill resource request. Try PF recommended amount\n"

	.comm	_CHANNEL_TLV_FP_HSI_SUPPORT,4,2 ## @CHANNEL_TLV_FP_HSI_SUPPORT
L_.str.3:                               ## @.str.3
	.asciz	"Old hypervisor - doesn't support current fastpath HSI version; Need to downgrade VF driver [or upgrade hypervisor]\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to get the requested amount of resources: %d. Breaking...\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_HAS_PHYS_PORT_ID,4,2           ## @HAS_PHYS_PORT_ID
	.comm	_ETH_FP_HSI_VER_2,8,3           ## @ETH_FP_HSI_VER_2
L_.str.5:                               ## @.str.5
	.asciz	"Old hypervisor - need to downgrade VF's driver\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_INT_BLOCK_IGU,4,2              ## @INT_BLOCK_IGU
	.comm	_CHIP_2_PORT_MODE,4,2           ## @CHIP_2_PORT_MODE
	.comm	_NO_WOL_FLAG,4,2                ## @NO_WOL_FLAG
	.comm	_NO_ISCSI_OOO_FLAG,4,2          ## @NO_ISCSI_OOO_FLAG
	.comm	_NO_ISCSI_FLAG,4,2              ## @NO_ISCSI_FLAG
	.comm	_NO_FCOE_FLAG,4,2               ## @NO_FCOE_FLAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vfpf_acquire             ; -- Begin function bnx2x_vfpf_acquire
	.p2align	2
_bnx2x_vfpf_acquire:                    ; @bnx2x_vfpf_acquire
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x21, [x0, #192]
	add	x20, x21, #8
Lloh0:
	adrp	x8, _CHANNEL_TLV_ACQUIRE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_TLV_ACQUIRE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #96
	bl	_bnx2x_vfpf_prep
	add	x1, sp, #12
	mov	x0, x19
	bl	_bnx2x_get_vf_id
	cbz	x0, LBB0_3
LBB0_1:
Lloh3:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_4
LBB0_3:
	ldr	w8, [sp, #12]
	str	w8, [x21, #88]
Lloh5:
	adrp	x8, _ETH_FP_HSI_VERSION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_FP_HSI_VERSION@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	stp	x8, xzr, [x21, #72]
	stp	x23, x22, [x21, #48]
Lloh8:
	adrp	x8, _VF_ACQUIRE_MAC_FILTERS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VF_ACQUIRE_MAC_FILTERS@GOTPAGEOFF]
	ldr	x9, [x19, #128]
Lloh10:
	ldr	x8, [x8]
	stp	x8, x9, [x21, #32]
Lloh11:
	adrp	x8, _VF_ACQUIRE_MC_FILTERS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VF_ACQUIRE_MC_FILTERS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _VF_ACQUIRE_VLAN_FILTERS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _VF_ACQUIRE_VLAN_FILTERS@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	stp	x8, x9, [x21, #16]
	ldr	w8, [x19, #204]
	str	w8, [x21, #96]
	ldr	x2, [x21, #8]
Lloh17:
	adrp	x8, _CHANNEL_TLV_PHYS_PORT_ID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CHANNEL_TLV_PHYS_PORT_ID@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #4
	bl	_bnx2x_add_tlv
Lloh20:
	adrp	x8, _VF_CAP_SUPPORT_EXT_BULLETIN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VF_CAP_SUPPORT_EXT_BULLETIN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x21, #64]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _VF_CAP_SUPPORT_VLAN_FILTER@GOTPAGE
Lloh24:
	ldr	x9, [x9, _VF_CAP_SUPPORT_VLAN_FILTER@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x21, #64]
	ldr	x8, [x21, #8]
	add	x2, x8, #4
Lloh26:
	adrp	x8, _CHANNEL_TLV_LIST_END@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CHANNEL_TLV_LIST_END@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #4
	bl	_bnx2x_add_tlv
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_dp_tlv_list
Lloh29:
	adrp	x28, _BNX2X_MSG_SP@GOTPAGE
Lloh30:
	ldr	x28, [x28, _BNX2X_MSG_SP@GOTPAGEOFF]
	ldr	w0, [x28]
Lloh31:
	adrp	x1, l_.str@PAGE
Lloh32:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	ldr	w2, [x19, #200]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_send_msg2pf
	mov	x25, x0
	cbz	w0, LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_vfpf_finalize
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	add	x22, x19, #8
	mov	w26, #1
Lloh33:
	adrp	x27, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh34:
	ldr	x27, [x27, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh35:
	adrp	x23, _VF_ACQUIRE_THRESH@GOTPAGE
Lloh36:
	ldr	x23, [x23, _VF_ACQUIRE_THRESH@GOTPAGEOFF]
Lloh37:
	adrp	x24, l_.str@PAGE
Lloh38:
	add	x24, x24, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	w2, #88
	bl	_memcpy
	ldr	x8, [x19, #88]
	ldr	x9, [x27]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh39:
	adrp	x9, _PFVF_STATUS_NO_RESOURCE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PFVF_STATUS_NO_RESOURCE@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	ldr	w10, [x23]
	cmp	x8, x9
	ccmp	w26, w10, #0, eq
	b.ge	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x28]
Lloh42:
	adrp	x1, l_.str.2@PAGE
Lloh43:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
	ldr	x0, [x21, #56]
	ldr	x1, [x19, #64]
	bl	_min
	str	x0, [x21, #56]
	ldr	x0, [x21, #48]
	ldr	x1, [x19, #56]
	bl	_min
	str	x0, [x21, #48]
	ldr	x0, [x21, #40]
	ldr	x1, [x19, #32]
	bl	_min
	str	x0, [x21, #40]
	ldr	x0, [x21, #32]
	ldr	x1, [x19, #48]
	bl	_min
	str	x0, [x21, #32]
	ldr	x0, [x21, #24]
	ldr	x1, [x19, #16]
	bl	_min
	str	x0, [x21, #24]
	ldr	x0, [x21, #16]
	ldr	x1, [x19, #40]
	bl	_min
	str	x0, [x21, #16]
	ldr	x0, [x19, #192]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x28]
	mov	x1, x24
	bl	_DP
	ldr	w2, [x19, #200]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_send_msg2pf
	add	w26, w26, #1
	cbz	w0, LBB0_6
; %bb.9:
	mov	x25, x0
	b	LBB0_4
LBB0_10:
	ldr	w0, [x28]
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
Lloh46:
	adrp	x8, _CHANNEL_TLV_PHYS_PORT_ID@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CHANNEL_TLV_PHYS_PORT_ID@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_search_tlv_list
Lloh49:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh50:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	cbz	x0, LBB0_12
; %bb.11:
	ldr	x8, [x19, #184]
	ldr	x1, [x0]
	ldr	w2, [x22]
	mov	x0, x8
	bl	_memcpy
Lloh51:
	adrp	x8, _HAS_PHYS_PORT_ID@GOTPAGE
Lloh52:
	ldr	x8, [x8, _HAS_PHYS_PORT_ID@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_12:
Lloh54:
	adrp	x8, _CHANNEL_TLV_FP_HSI_SUPPORT@GOTPAGE
Lloh55:
	ldr	x8, [x8, _CHANNEL_TLV_FP_HSI_SUPPORT@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_search_tlv_list
Lloh57:
	adrp	x8, _ETH_FP_HSI_VERSION@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ETH_FP_HSI_VERSION@GOTPAGEOFF]
	cbnz	x0, LBB0_18
; %bb.13:
	ldr	x8, [x8]
Lloh59:
	adrp	x9, _ETH_FP_HSI_VER_2@GOTPAGE
Lloh60:
	ldr	x9, [x9, _ETH_FP_HSI_VER_2@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_18
; %bb.14:
Lloh62:
	adrp	x0, l_.str.5@PAGE
Lloh63:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_BNX2X_ERR
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_vfpf_finalize
	mov	x0, x19
	bl	_bnx2x_vfpf_release
Lloh64:
	adrp	x8, _EINVAL@GOTPAGE
Lloh65:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_15:
Lloh66:
	adrp	x8, _CHANNEL_TLV_FP_HSI_SUPPORT@GOTPAGE
Lloh67:
	ldr	x8, [x8, _CHANNEL_TLV_FP_HSI_SUPPORT@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_search_tlv_list
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w8, [x0]
	cbz	w8, LBB0_21
LBB0_17:
	ldr	x8, [x19, #88]
	str	x8, [sp]
Lloh69:
	adrp	x0, l_.str.4@PAGE
Lloh70:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_1
LBB0_18:
	ldrh	w8, [x19, #72]
	ldr	w9, [x19, #136]
	orr	w8, w9, w8
	str	w8, [x19, #136]
	ldp	w1, w9, [x19, #76]
	stp	w9, w8, [x19, #176]
Lloh71:
	adrp	x8, _INT_BLOCK_IGU@GOTPAGE
Lloh72:
	ldr	x8, [x8, _INT_BLOCK_IGU@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
Lloh74:
	adrp	x9, _CHIP_2_PORT_MODE@GOTPAGE
Lloh75:
	ldr	x9, [x9, _CHIP_2_PORT_MODE@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
Lloh77:
	adrp	x10, _NO_WOL_FLAG@GOTPAGE
Lloh78:
	ldr	x10, [x10, _NO_WOL_FLAG@GOTPAGEOFF]
	stp	w9, w8, [x19, #152]
Lloh79:
	ldr	w8, [x10]
Lloh80:
	adrp	x9, _NO_ISCSI_OOO_FLAG@GOTPAGE
Lloh81:
	ldr	x9, [x9, _NO_ISCSI_OOO_FLAG@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh83:
	adrp	x9, _NO_ISCSI_FLAG@GOTPAGE
Lloh84:
	ldr	x9, [x9, _NO_ISCSI_FLAG@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh86:
	adrp	x9, _NO_FCOE_FLAG@GOTPAGE
Lloh87:
	ldr	x9, [x9, _NO_FCOE_FLAG@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w8, w9
	mov	w9, #-1
	stp	xzr, xzr, [x19, #160]
	stp	w8, w9, [x19]
	ldr	x8, [x19, #32]
	str	x8, [x19, #128]
	ldp	x9, x8, [x19, #16]
	ldr	w8, [x8]
	str	w8, [x19, #120]
	str	xzr, [x19, #144]
	str	x9, [x19, #112]
	ldr	w0, [x19, #104]
	mov	w2, #4
	bl	_strlcpy
	ldr	x0, [x19, #8]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_20
; %bb.19:
	ldr	x8, [x19, #96]
	ldr	x0, [x8]
	ldr	x1, [x19, #8]
	ldr	w2, [x22]
	bl	_memcpy
LBB0_20:
	mov	w25, #0
	b	LBB0_4
LBB0_21:
Lloh89:
	adrp	x0, l_.str.3@PAGE
Lloh90:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	_CHANNEL_TLV_ACQUIRE,4,2        ; @CHANNEL_TLV_ACQUIRE
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_ETH_FP_HSI_VERSION,8,3         ; @ETH_FP_HSI_VERSION
	.comm	_VF_ACQUIRE_MAC_FILTERS,8,3     ; @VF_ACQUIRE_MAC_FILTERS
	.comm	_VF_ACQUIRE_MC_FILTERS,8,3      ; @VF_ACQUIRE_MC_FILTERS
	.comm	_VF_ACQUIRE_VLAN_FILTERS,8,3    ; @VF_ACQUIRE_VLAN_FILTERS
	.comm	_CHANNEL_TLV_PHYS_PORT_ID,4,2   ; @CHANNEL_TLV_PHYS_PORT_ID
	.comm	_VF_CAP_SUPPORT_EXT_BULLETIN,4,2 ; @VF_CAP_SUPPORT_EXT_BULLETIN
	.comm	_VF_CAP_SUPPORT_VLAN_FILTER,4,2 ; @VF_CAP_SUPPORT_VLAN_FILTER
	.comm	_CHANNEL_TLV_LIST_END,4,2       ; @CHANNEL_TLV_LIST_END
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attempting to acquire resources\n"

	.comm	_PFVF_STATUS_SUCCESS,8,3        ; @PFVF_STATUS_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"resources acquired\n"

	.comm	_PFVF_STATUS_NO_RESOURCE,8,3    ; @PFVF_STATUS_NO_RESOURCE
	.comm	_VF_ACQUIRE_THRESH,4,2          ; @VF_ACQUIRE_THRESH
l_.str.2:                               ; @.str.2
	.asciz	"PF unwilling to fulfill resource request. Try PF recommended amount\n"

	.comm	_CHANNEL_TLV_FP_HSI_SUPPORT,4,2 ; @CHANNEL_TLV_FP_HSI_SUPPORT
l_.str.3:                               ; @.str.3
	.asciz	"Old hypervisor - doesn't support current fastpath HSI version; Need to downgrade VF driver [or upgrade hypervisor]\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to get the requested amount of resources: %d. Breaking...\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_HAS_PHYS_PORT_ID,4,2           ; @HAS_PHYS_PORT_ID
	.comm	_ETH_FP_HSI_VER_2,8,3           ; @ETH_FP_HSI_VER_2
l_.str.5:                               ; @.str.5
	.asciz	"Old hypervisor - need to downgrade VF's driver\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_INT_BLOCK_IGU,4,2              ; @INT_BLOCK_IGU
	.comm	_CHIP_2_PORT_MODE,4,2           ; @CHIP_2_PORT_MODE
	.comm	_NO_WOL_FLAG,4,2                ; @NO_WOL_FLAG
	.comm	_NO_ISCSI_OOO_FLAG,4,2          ; @NO_ISCSI_OOO_FLAG
	.comm	_NO_ISCSI_FLAG,4,2              ; @NO_ISCSI_FLAG
	.comm	_NO_FCOE_FLAG,4,2               ; @NO_FCOE_FLAG
.subsections_via_symbols
