	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_vfop_mcast
_bnx2x_vfop_mcast:                      ## @bnx2x_vfop_mcast
	.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, %r15
	movq	%rdi, %r14
	callq	_bnx2x_vfop_cur
	movq	%rax, %rbx
	movq	32(%rax), %r13
	movq	8(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r12d
	movq	%r15, %rdi
	callq	_bnx2x_vfop_reset_wq
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	js	LBB0_15
## %bb.1:
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %ecx
	callq	_DP
	cmpl	$130, %r12d
	je	LBB0_5
## %bb.2:
	cmpl	$129, %r12d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_13
## %bb.3:
	cmpl	$128, %r12d
	jne	LBB0_14
## %bb.4:
	movl	$130, (%rbx)
	movq	_BNX2X_MCAST_CMD_DEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_config_mcast
	movq	%rax, 8(%rbx)
	movq	_VFOP_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bnx2x_vfop_finalize
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	*(%rdi)
	testl	%eax, %eax
	je	LBB0_6
## %bb.16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpl	$0, 16(%rbx)
	je	LBB0_7
## %bb.8:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_INIT_LIST_HEAD
	cmpl	$0, 16(%rbx)
	jle	LBB0_11
## %bb.9:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rdi
	addq	%r14, %rdi
	movq	%r13, %rsi
	callq	_list_add_tail
	incq	%r12
	movslq	16(%rbx), %rax
	addq	$4, %r14
	cmpq	%rax, %r12
	jl	LBB0_10
LBB0_11:
	movl	$129, (%rbx)
	movq	_BNX2X_MCAST_CMD_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_config_mcast
	movq	%rax, %rsi
	movq	%rax, 8(%rbx)
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_12
LBB0_7:
	movq	8(%rbx), %rsi
LBB0_12:
	movq	_VFOP_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_bnx2x_vfop_finalize
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_13:
	callq	*(%rdi)
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	movq	%rsi, 8(%rbx)
	movq	_VFOP_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_bnx2x_vfop_finalize
LBB0_14:
	movl	%r12d, %edi
	callq	_bnx2x_vfop_default
	movq	8(%rbx), %rsi
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
	movq	24(%rbx), %rdi
	callq	_kfree
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vfop_end                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vf[%d] STATE: %d\n"

	.comm	_BNX2X_MCAST_CMD_DEL,4,2        ## @BNX2X_MCAST_CMD_DEL
	.comm	_VFOP_CONT,4,2                  ## @VFOP_CONT
	.comm	_BNX2X_MCAST_CMD_ADD,4,2        ## @BNX2X_MCAST_CMD_ADD
	.comm	_VFOP_DONE,4,2                  ## @VFOP_DONE
L_.str.1:                               ## @.str.1
	.asciz	"MCAST CONFIG error: rc %d\n"

	.no_dead_strip	_bnx2x_vfop_mcast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_vfop_mcast
_bnx2x_vfop_mcast:                      ; @bnx2x_vfop_mcast
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_bnx2x_vfop_cur
	mov	x21, x0
	ldr	x24, [x0, #32]
	ldr	x23, [x24, #8]
	ldr	w22, [x0]
	mov	x0, x19
	bl	_bnx2x_vfop_reset_wq
	ldr	x1, [x21, #8]
	tbnz	x1, #63, LBB0_16
; %bb.1:
Lloh0:
	adrp	x8, _BNX2X_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x22
	bl	_DP
	cmp	w22, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w22, #129
	b.eq	LBB0_14
; %bb.3:
	cmp	w22, #128
	b.ne	LBB0_15
; %bb.4:
	mov	w8, #130
	str	w8, [x21]
Lloh5:
	adrp	x8, _BNX2X_MCAST_CMD_DEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BNX2X_MCAST_CMD_DEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_bnx2x_config_mcast
	mov	x1, x0
	str	x0, [x21, #8]
Lloh8:
	adrp	x8, _VFOP_CONT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VFOP_CONT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bnx2x_vfop_finalize
LBB0_5:
	ldr	x8, [x23]
	mov	x0, x23
	blr	x8
	cbz	w0, LBB0_7
; %bb.6:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_12
; %bb.8:
	mov	x0, x24
	bl	_INIT_LIST_HEAD
	ldr	w8, [x21, #16]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x25, #0
	mov	x26, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #24]
	add	x0, x8, x25
	mov	x1, x24
	bl	_list_add_tail
	add	x26, x26, #1
	ldrsw	x8, [x21, #16]
	add	x25, x25, #4
	cmp	x26, x8
	b.lt	LBB0_10
LBB0_11:
	mov	w8, #129
	str	w8, [x21]
Lloh11:
	adrp	x8, _BNX2X_MCAST_CMD_ADD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_MCAST_CMD_ADD@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_bnx2x_config_mcast
	mov	x1, x0
	str	x0, [x21, #8]
	b	LBB0_13
LBB0_12:
	ldr	x1, [x21, #8]
LBB0_13:
Lloh14:
	adrp	x8, _VFOP_DONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VFOP_DONE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bnx2x_vfop_finalize
LBB0_14:
	ldr	x8, [x23]
	mov	x0, x23
	blr	x8
	cmp	w0, #0
	cset	w1, ne
	str	x1, [x21, #8]
Lloh17:
	adrp	x8, _VFOP_DONE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VFOP_DONE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bnx2x_vfop_finalize
LBB0_15:
	mov	x0, x22
	bl	_bnx2x_vfop_default
	ldr	x1, [x21, #8]
LBB0_16:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
	ldr	x0, [x21, #24]
	bl	_kfree
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_bnx2x_vfop_end
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vf[%d] STATE: %d\n"

	.comm	_BNX2X_MCAST_CMD_DEL,4,2        ; @BNX2X_MCAST_CMD_DEL
	.comm	_VFOP_CONT,4,2                  ; @VFOP_CONT
	.comm	_BNX2X_MCAST_CMD_ADD,4,2        ; @BNX2X_MCAST_CMD_ADD
	.comm	_VFOP_DONE,4,2                  ; @VFOP_DONE
l_.str.1:                               ; @.str.1
	.asciz	"MCAST CONFIG error: rc %d\n"

	.no_dead_strip	_bnx2x_vfop_mcast
.subsections_via_symbols
