	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_mcast_validate_e1
_bnx2x_mcast_validate_e1:               ## @bnx2x_mcast_validate_e1
	.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	8(%rsi), %r15
	movq	%r15, %rdi
	callq	*(%r15)
	movl	%eax, %ebx
	movq	_BNX2X_MCAST_CMD_SET@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BNX2X_ERR
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_3:
	leal	-130(%r12), %eax
	cmpl	$2, %eax
	jb	LBB0_8
## %bb.4:
	cmpl	$128, %r12d
	je	LBB0_7
## %bb.5:
	cmpl	$129, %r12d
	jne	LBB0_15
## %bb.6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*24(%r15)
LBB0_7:
	movl	%ebx, (%r14)
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_DP
	jmp	LBB0_12
LBB0_8:
	movslq	(%r14), %rdx
	movq	8(%r15), %rsi
	cmpq	%rdx, %rsi
	jge	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	jmp	LBB0_2
LBB0_15:
	leaq	L_.str.4(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	jmp	LBB0_2
LBB0_10:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movl	(%r14), %esi
	testl	%esi, %esi
	jle	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	*24(%r15)
LBB0_12:
	xorl	%ebx, %ebx
	cmpl	$0, (%r14)
	je	LBB0_14
## %bb.13:
	movl	8(%r15), %eax
	addl	%eax, 16(%r15)
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MCAST_CMD_SET,4,2        ## @BNX2X_MCAST_CMD_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't use `set' command on e1!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
L_.str.1:                               ## @.str.1
	.asciz	"Command %d, p->mcast_list_len=%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Can't configure more than %d multicast MACs on 57710\n"

L_.str.3:                               ## @.str.3
	.asciz	"p->mcast_list_len=%d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unknown command: %d\n"

	.no_dead_strip	_bnx2x_mcast_validate_e1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_mcast_validate_e1
_bnx2x_mcast_validate_e1:               ; @bnx2x_mcast_validate_e1
	.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	x21, x2
	mov	x20, x1
	ldr	x19, [x1, #8]
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
Lloh0:
	adrp	x8, _BNX2X_MCAST_CMD_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MCAST_CMD_SET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	bl	_BNX2X_ERR
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_3:
	sub	w8, w21, #130
	cmp	w8, #2
	b.lo	LBB0_8
; %bb.4:
	mov	x22, x0
	cmp	w21, #128
	b.eq	LBB0_7
; %bb.5:
	cmp	w21, #129
	b.ne	LBB0_10
; %bb.6:
	ldr	x8, [x19, #24]
	mov	x0, x19
	mov	x1, #0
	blr	x8
LBB0_7:
	str	w22, [x20]
Lloh8:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w2, w21
	str	x22, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	b	LBB0_13
LBB0_8:
	ldrsw	x2, [x20]
	ldr	x8, [x19, #8]
	cmp	x8, x2
	b.ge	LBB0_11
; %bb.9:
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_10:
	str	x21, [sp]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_2
LBB0_11:
Lloh17:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_DP
	ldr	w1, [x20]
	cmp	w1, #1
	b.lt	LBB0_13
; %bb.12:
	ldr	x8, [x19, #24]
	mov	x0, x19
	blr	x8
LBB0_13:
	ldr	w8, [x20]
	cbz	w8, LBB0_15
; %bb.14:
	mov	w0, #0
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	add	w8, w9, w8
	str	w8, [x19, #16]
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MCAST_CMD_SET,4,2        ; @BNX2X_MCAST_CMD_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't use `set' command on e1!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
l_.str.1:                               ; @.str.1
	.asciz	"Command %d, p->mcast_list_len=%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Can't configure more than %d multicast MACs on 57710\n"

l_.str.3:                               ; @.str.3
	.asciz	"p->mcast_list_len=%d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unknown command: %d\n"

	.no_dead_strip	_bnx2x_mcast_validate_e1
.subsections_via_symbols
