	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vf_release               ## -- Begin function bnx2x_vf_release
	.p2align	4, 0x90
_bnx2x_vf_release:                      ## @bnx2x_vf_release
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_CHANNEL_TLV_PF_RELEASE_VF@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_lock_vf_pf_channel
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_vf_free
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%ebx, %ecx
	callq	_WARN
LBB0_2:
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_unlock_vf_pf_channel
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PF releasing vf %d\n"

	.comm	_CHANNEL_TLV_PF_RELEASE_VF,4,2  ## @CHANNEL_TLV_PF_RELEASE_VF
L_.str.1:                               ## @.str.1
	.asciz	"VF[%d] Failed to allocate resources for release op- rc=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vf_release               ; -- Begin function bnx2x_vf_release
	.p2align	2
_bnx2x_vf_release:                      ; @bnx2x_vf_release
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _BNX2X_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x1]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh5:
	adrp	x22, _CHANNEL_TLV_PF_RELEASE_VF@GOTPAGE
Lloh6:
	ldr	x22, [x22, _CHANNEL_TLV_PF_RELEASE_VF@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_lock_vf_pf_channel
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_vf_free
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w2, [x19]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x3, x21
	bl	_WARN
LBB0_2:
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_unlock_vf_pf_channel
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PF releasing vf %d\n"

	.comm	_CHANNEL_TLV_PF_RELEASE_VF,4,2  ; @CHANNEL_TLV_PF_RELEASE_VF
l_.str.1:                               ; @.str.1
	.asciz	"VF[%d] Failed to allocate resources for release op- rc=%d\n"

.subsections_via_symbols
