	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vf_close                 ## -- Begin function bnx2x_vf_close
	.p2align	4, 0x90
_bnx2x_vf_close:                        ## @bnx2x_vf_close
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_DP
	movq	%r12, %rdi
	callq	_vf_rxq_count
	testl	%eax, %eax
	jle	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_bnx2x_vf_queue_teardown
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movq	%r12, %rdi
	callq	_vf_rxq_count
	cmpl	%eax, %ebx
	jl	LBB0_4
LBB0_1:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rbx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_DP
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_vf_igu_disable
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_vf_clr_qtbl
	movq	%r12, -48(%rbp)
	movq	_VF_ACQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_bnx2x_set_vf_state@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_bnx2x_stats_safe_exec
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	jmp	LBB0_7
LBB0_5:
	movl	%eax, %r13d
LBB0_6:
	movl	(%r12), %esi
	leaq	L_.str.4(%rip), %rdi
	movl	%r13d, %edx
	callq	_BNX2X_ERR
	movl	%r13d, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"vf[%d]\n"

L_.str.1:                               ## @.str.1
	.asciz	"disabling igu\n"

L_.str.2:                               ## @.str.2
	.asciz	"clearing qtbl\n"

	.comm	_VF_ACQUIRED,4,2                ## @VF_ACQUIRED
	.comm	_bnx2x_set_vf_state,4,2         ## @bnx2x_set_vf_state
L_.str.3:                               ## @.str.3
	.asciz	"set state to acquired\n"

L_.str.4:                               ## @.str.4
	.asciz	"vf[%d] CLOSE error: rc %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vf_close                 ; -- Begin function bnx2x_vf_close
	.p2align	2
_bnx2x_vf_close:                        ; @bnx2x_vf_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _BNX2X_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BNX2X_MSG_IOV@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w8, [x1]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	mov	x0, x19
	bl	_vf_rxq_count
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_bnx2x_vf_queue_teardown
	cbnz	w0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	mov	x0, x19
	bl	_vf_rxq_count
	cmp	w22, w0
	b.lt	LBB0_2
LBB0_4:
	ldr	w0, [x23]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_vf_igu_disable
	ldr	w0, [x23]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_vf_clr_qtbl
Lloh8:
	adrp	x8, _VF_ACQUIRED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VF_ACQUIRED@GOTPAGEOFF]
	str	x19, [sp, #24]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh11:
	adrp	x8, _bnx2x_set_vf_state@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bnx2x_set_vf_state@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #16
	mov	x0, x20
	bl	_bnx2x_stats_safe_exec
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.5:
	ldr	w0, [x23]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_DP
	b	LBB0_8
LBB0_6:
	mov	x21, x0
LBB0_7:
	ldr	w1, [x19]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x21
	bl	_BNX2X_ERR
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vf[%d]\n"

l_.str.1:                               ; @.str.1
	.asciz	"disabling igu\n"

l_.str.2:                               ; @.str.2
	.asciz	"clearing qtbl\n"

	.comm	_VF_ACQUIRED,4,2                ; @VF_ACQUIRED
	.comm	_bnx2x_set_vf_state,4,2         ; @bnx2x_set_vf_state
l_.str.3:                               ; @.str.3
	.asciz	"set state to acquired\n"

l_.str.4:                               ; @.str.4
	.asciz	"vf[%d] CLOSE error: rc %d\n"

.subsections_via_symbols
