	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_vfop_release
_bnx2x_vfop_release:                    ## @bnx2x_vfop_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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_bnx2x_vfop_cur
	movq	%rax, %r15
	movups	l___const.bnx2x_vfop_release.cmd(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	js	LBB0_10
## %bb.1:
	movl	(%r12), %edi
	movl	(%rbx), %eax
	movl	4(%rbx), %edx
	leal	-129(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_2
## %bb.3:
	movslq	%ecx, %rax
	leaq	l_reltable.bnx2x_vfop_release(%rip), %rsi
	movslq	(%rsi,%rax,4), %rcx
	addq	%rsi, %rcx
	jmp	LBB0_4
LBB0_2:
	cmpl	$128, %eax
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movl	(%rbx), %edi
	leal	-128(%rdi), %eax
	cmpl	$2, %eax
	jb	LBB0_11
## %bb.5:
	cmpl	$131, %edi
	je	LBB0_8
## %bb.6:
	cmpl	$130, %edi
	jne	LBB0_9
## %bb.7:
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_vfop_close_cmd
	movq	%rax, %rdx
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_12
LBB0_8:
	movl	(%r12), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_vf_free_resc
	movl	(%r12), %edi
	movq	(%r15), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	jmp	LBB0_11
LBB0_9:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_bnx2x_vfop_default
	movq	(%r15), %rdx
LBB0_10:
	movl	4(%rbx), %esi
	leaq	L_.str.8(%rip), %rdi
	callq	_BNX2X_ERR
LBB0_11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_bnx2x_vfop_end
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	3                               ## @__const.bnx2x_vfop_release.cmd
l___const.bnx2x_vfop_release.cmd:
	.quad	_bnx2x_vfop_release
	.long	0                               ## 0x0
	.space	4

	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vfop->rc %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"VF[%d] STATE: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Free"

L_.str.3:                               ## @.str.3
	.asciz	"Acquired"

L_.str.4:                               ## @.str.4
	.asciz	"Enabled"

L_.str.5:                               ## @.str.5
	.asciz	"Reset"

L_.str.6:                               ## @.str.6
	.asciz	"Unknown"

L_.str.7:                               ## @.str.7
	.asciz	"about to free resources\n"

L_.str.8:                               ## @.str.8
	.asciz	"VF[%d] RELEASE error: rc %d\n"

	.no_dead_strip	_bnx2x_vfop_release
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.bnx2x_vfop_release
l_reltable.bnx2x_vfop_release:
	.long	L_.str.2-l_reltable.bnx2x_vfop_release
	.long	L_.str.4-l_reltable.bnx2x_vfop_release
	.long	L_.str.3-l_reltable.bnx2x_vfop_release

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_vfop_release
_bnx2x_vfop_release:                    ; @bnx2x_vfop_release
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_bnx2x_vfop_cur
	mov	x21, x0
Lloh0:
	adrp	x8, l___const.bnx2x_vfop_release.cmd@PAGE
Lloh1:
	add	x8, x8, l___const.bnx2x_vfop_release.cmd@PAGEOFF
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp, #16]
Lloh3:
	adrp	x22, _BNX2X_MSG_IOV@GOTPAGE
Lloh4:
	ldr	x22, [x22, _BNX2X_MSG_IOV@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	ldr	x2, [x21]
	tbnz	x2, #63, LBB0_10
; %bb.1:
	ldr	w0, [x22]
	ldp	w9, w8, [x19]
	sub	w10, w9, #129
	cmp	w10, #3
	b.hs	LBB0_3
; %bb.2:
Lloh7:
	adrp	x9, l_switch.table.bnx2x_vfop_release@PAGE
Lloh8:
	add	x9, x9, l_switch.table.bnx2x_vfop_release@PAGEOFF
	ldr	x9, [x9, w10, sxtw #3]
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x10, l_.str.6@PAGE
Lloh10:
	add	x10, x10, l_.str.6@PAGEOFF
Lloh11:
	adrp	x11, l_.str.5@PAGE
Lloh12:
	add	x11, x11, l_.str.5@PAGEOFF
	cmp	w9, #128
	csel	x9, x11, x10, eq
LBB0_4:
	stp	x8, x9, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	ldr	w0, [x19]
	sub	w8, w0, #128
	cmp	w8, #2
	b.lo	LBB0_11
; %bb.5:
	cmp	w0, #131
	b.eq	LBB0_8
; %bb.6:
	cmp	w0, #130
	b.ne	LBB0_9
; %bb.7:
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_vfop_close_cmd
	mov	x2, x0
	str	x0, [x21]
	cbnz	x0, LBB0_10
	b	LBB0_12
LBB0_8:
	ldr	w0, [x22]
Lloh15:
	adrp	x1, l_.str.7@PAGE
Lloh16:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_DP
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_vf_free_resc
	ldr	w0, [x22]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	b	LBB0_11
LBB0_9:
	bl	_bnx2x_vfop_default
	ldr	x2, [x21]
LBB0_10:
	ldr	w1, [x19, #4]
Lloh19:
	adrp	x0, l_.str.8@PAGE
Lloh20:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_BNX2X_ERR
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_bnx2x_vfop_end
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAddLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @__const.bnx2x_vfop_release.cmd
l___const.bnx2x_vfop_release.cmd:
	.quad	_bnx2x_vfop_release
	.long	0                               ; 0x0
	.space	4

	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vfop->rc %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"VF[%d] STATE: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Free"

l_.str.3:                               ; @.str.3
	.asciz	"Acquired"

l_.str.4:                               ; @.str.4
	.asciz	"Enabled"

l_.str.5:                               ; @.str.5
	.asciz	"Reset"

l_.str.6:                               ; @.str.6
	.asciz	"Unknown"

l_.str.7:                               ; @.str.7
	.asciz	"about to free resources\n"

l_.str.8:                               ; @.str.8
	.asciz	"VF[%d] RELEASE error: rc %d\n"

	.no_dead_strip	_bnx2x_vfop_release
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.bnx2x_vfop_release
l_switch.table.bnx2x_vfop_release:
	.quad	l_.str.2
	.quad	l_.str.4
	.quad	l_.str.3

.subsections_via_symbols
