	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vf_queue_teardown        ## -- Begin function bnx2x_vf_queue_teardown
	.p2align	4, 0x90
_bnx2x_vf_queue_teardown:               ## @bnx2x_vf_queue_teardown
	.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
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %ecx
	callq	_DP
	movq	_LEADING_IDX@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_bnx2x_vf_rxmode
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_bnx2x_validate_vf_sp_objs
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_BNX2X_VF_FILTER_VLAN_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_bnx2x_vf_vlan_mac_clear
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.4:
	movq	_BNX2X_VF_FILTER_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_bnx2x_vf_vlan_mac_clear
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movq	_BNX2X_VF_FILTER_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_bnx2x_vf_vlan_mac_clear
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_bnx2x_vf_mcast
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_bnx2x_vf_queue_destroy
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_BNX2X_ERR
	jmp	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
LBB0_10:
	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	"vf[%d:%d]\n"

	.comm	_LEADING_IDX,4,2                ## @LEADING_IDX
	.comm	_BNX2X_VF_FILTER_VLAN_MAC,4,2   ## @BNX2X_VF_FILTER_VLAN_MAC
	.comm	_BNX2X_VF_FILTER_VLAN,4,2       ## @BNX2X_VF_FILTER_VLAN
	.comm	_BNX2X_VF_FILTER_MAC,4,2        ## @BNX2X_VF_FILTER_MAC
L_.str.1:                               ## @.str.1
	.asciz	"vf[%d:%d] 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_queue_teardown        ; -- Begin function bnx2x_vf_queue_teardown
	.p2align	2
_bnx2x_vf_queue_teardown:               ; @bnx2x_vf_queue_teardown
	.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, x2
	mov	x20, x1
	mov	x21, 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
	mov	x3, x19
	bl	_DP
Lloh5:
	adrp	x8, _LEADING_IDX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LEADING_IDX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_7
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_bnx2x_vf_rxmode
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	bl	_bnx2x_validate_vf_sp_objs
	cbz	x0, LBB0_7
; %bb.3:
Lloh8:
	adrp	x8, _BNX2X_VF_FILTER_VLAN_MAC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNX2X_VF_FILTER_VLAN_MAC@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_bnx2x_vf_vlan_mac_clear
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.4:
Lloh11:
	adrp	x8, _BNX2X_VF_FILTER_VLAN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_VF_FILTER_VLAN@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_bnx2x_vf_vlan_mac_clear
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.5:
Lloh14:
	adrp	x8, _BNX2X_VF_FILTER_MAC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BNX2X_VF_FILTER_MAC@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_bnx2x_vf_vlan_mac_clear
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_bnx2x_vf_mcast
	mov	x22, x0
	cbnz	w0, LBB0_8
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_bnx2x_vf_queue_destroy
	mov	x22, x0
	cbz	w0, LBB0_9
LBB0_8:
	ldr	w1, [x20]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x19
	mov	x3, x22
	bl	_BNX2X_ERR
LBB0_9:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vf[%d:%d]\n"

	.comm	_LEADING_IDX,4,2                ; @LEADING_IDX
	.comm	_BNX2X_VF_FILTER_VLAN_MAC,4,2   ; @BNX2X_VF_FILTER_VLAN_MAC
	.comm	_BNX2X_VF_FILTER_VLAN,4,2       ; @BNX2X_VF_FILTER_VLAN
	.comm	_BNX2X_VF_FILTER_MAC,4,2        ; @BNX2X_VF_FILTER_MAC
l_.str.1:                               ; @.str.1
	.asciz	"vf[%d:%d] error: rc %d\n"

.subsections_via_symbols
