	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_eth_mac              ## -- Begin function bnx2x_set_eth_mac
	.p2align	4, 0x90
_bnx2x_set_eth_mac:                     ## @bnx2x_set_eth_mac
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_is_zero_ether_addr
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_IS_MF_STORAGE_SD
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_IS_MF_FCOE_AFEX
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movq	_NETIF_MSG_IFDOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	$0, -32(%rbp)
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	_RAMROD_COMP_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %r15
	movq	%r15, %rsi
	callq	___set_bit
	movq	8(%rbx), %rax
	movq	16(%rbx), %rdx
	movl	(%rax), %esi
	movq	_BNX2X_ETH_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	movq	%r15, %r9
	callq	_bnx2x_set_mac_one
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vfpf_config_mac          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.comm	_NETIF_MSG_IFDOWN,4,2           ## @NETIF_MSG_IFDOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignoring Zero MAC for STORAGE SD mode\n"

L_.str.1:                               ## @.str.1
	.asciz	"Adding Eth MAC\n"

	.comm	_RAMROD_COMP_WAIT,4,2           ## @RAMROD_COMP_WAIT
	.comm	_BNX2X_ETH_MAC,4,2              ## @BNX2X_ETH_MAC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_eth_mac              ; -- Begin function bnx2x_set_eth_mac
	.p2align	2
_bnx2x_set_eth_mac:                     ; @bnx2x_set_eth_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_is_zero_ether_addr
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_IS_MF_STORAGE_SD
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_IS_MF_FCOE_AFEX
	cbz	x0, LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NETIF_MSG_IFDOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_MSG_IFDOWN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	mov	w0, #0
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_7
; %bb.5:
	str	xzr, [sp, #8]
Lloh8:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
Lloh13:
	adrp	x8, _RAMROD_COMP_WAIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RAMROD_COMP_WAIT@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
	ldp	x8, x2, [x19, #8]
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _BNX2X_ETH_MAC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BNX2X_ETH_MAC@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	add	x5, sp, #8
	mov	x0, x19
	mov	x3, x20
	bl	_bnx2x_set_mac_one
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	ldp	x9, x8, [x19]
	ldr	w1, [x8]
	ldr	w2, [x9]
	mov	x0, x19
	mov	w3, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_bnx2x_vfpf_config_mac
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.comm	_NETIF_MSG_IFDOWN,4,2           ; @NETIF_MSG_IFDOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignoring Zero MAC for STORAGE SD mode\n"

l_.str.1:                               ; @.str.1
	.asciz	"Adding Eth MAC\n"

	.comm	_RAMROD_COMP_WAIT,4,2           ; @RAMROD_COMP_WAIT
	.comm	_BNX2X_ETH_MAC,4,2              ; @BNX2X_ETH_MAC
.subsections_via_symbols
