	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vfpf_release             ## -- Begin function bnx2x_vfpf_release
	.p2align	4, 0x90
_bnx2x_vfpf_release:                    ## @bnx2x_vfpf_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %r15
	leaq	12(%r15), %r14
	movq	_CHANNEL_TLV_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movl	$8, %ecx
	callq	_bnx2x_vfpf_prep
	leaq	-36(%rbp), %rsi
	movq	%r12, %rdi
	callq	_bnx2x_get_vf_id
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_1:
	leaq	8(%r15), %rbx
	movl	-36(%rbp), %eax
	movl	%eax, 8(%r15)
	movl	12(%r15), %edx
	movq	_CHANNEL_TLV_LIST_END@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$4, %r8d
	callq	_bnx2x_add_tlv
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_dp_tlv_list
	movl	(%r12), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_send_msg2pf
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	(%r15), %rsi
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_4
## %bb.3:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	xorl	%ebx, %ebx
LBB0_6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_vfpf_finalize
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_CHANNEL_TLV_RELEASE,4,2        ## @CHANNEL_TLV_RELEASE
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_CHANNEL_TLV_LIST_END,4,2       ## @CHANNEL_TLV_LIST_END
	.comm	_PFVF_STATUS_SUCCESS,8,3        ## @PFVF_STATUS_SUCCESS
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vf released\n"

L_.str.1:                               ## @.str.1
	.asciz	"PF failed our release request - are we out of sync? Response status: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vfpf_release             ; -- Begin function bnx2x_vfpf_release
	.p2align	2
_bnx2x_vfpf_release:                    ; @bnx2x_vfpf_release
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x21, [x0, #8]
	add	x20, x21, #12
Lloh0:
	adrp	x8, _CHANNEL_TLV_RELEASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_TLV_RELEASE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #8
	bl	_bnx2x_vfpf_prep
	add	x1, sp, #12
	mov	x0, x19
	bl	_bnx2x_get_vf_id
	cbz	x0, LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_5
LBB0_2:
	ldr	w8, [sp, #12]
	mov	x22, x21
	str	w8, [x22, #8]!
	ldr	w2, [x21, #12]
Lloh6:
	adrp	x8, _CHANNEL_TLV_LIST_END@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHANNEL_TLV_LIST_END@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #4
	bl	_bnx2x_add_tlv
	mov	x0, x19
	mov	x1, x22
	bl	_bnx2x_dp_tlv_list
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_send_msg2pf
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	x1, [x21]
Lloh9:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_6
; %bb.4:
Lloh12:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	mov	w22, #0
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_vfpf_finalize
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CHANNEL_TLV_RELEASE,4,2        ; @CHANNEL_TLV_RELEASE
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_CHANNEL_TLV_LIST_END,4,2       ; @CHANNEL_TLV_LIST_END
	.comm	_PFVF_STATUS_SUCCESS,8,3        ; @PFVF_STATUS_SUCCESS
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vf released\n"

l_.str.1:                               ; @.str.1
	.asciz	"PF failed our release request - are we out of sync? Response status: %d\n"

.subsections_via_symbols
