	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_mac_in_nig           ## -- Begin function bnx2x_set_mac_in_nig
	.p2align	4, 0x90
_bnx2x_set_mac_in_nig:                  ## @bnx2x_set_mac_in_nig
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_BP_PORT
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_NIG_REG_LLH0_FUNC_MEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_NIG_REG_LLH1_FUNC_MEM@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_IS_MF_SI
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_IS_MF_AFEX
	testl	%eax, %eax
	je	LBB0_12
LBB0_5:
	movq	_BNX2X_LLH_CAM_MAX_PF_LINE@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jl	LBB0_12
## %bb.6:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %ecx
	callq	_DP
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.7:
	leal	(%r13,%r15,8), %esi
	movl	2(%r12), %eax
	bswapl	%eax
	movl	%eax, -56(%rbp)
	movzwl	(%r12), %eax
	rolw	$8, %ax
	movzwl	%ax, %eax
	movl	%eax, -52(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	_REG_WR_DMAE
LBB0_8:
	movq	%rbx, %rdi
	callq	_BP_PORT
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	movq	_NIG_REG_LLH0_FUNC_MEM_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_NIG_REG_LLH1_FUNC_MEM_ENABLE@GOTPCREL(%rip), %rax
LBB0_11:
	shll	$2, %r15d
	movslq	%r15d, %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NIG_REG_LLH1_FUNC_MEM,4,2      ## @NIG_REG_LLH1_FUNC_MEM
	.comm	_NIG_REG_LLH0_FUNC_MEM,4,2      ## @NIG_REG_LLH0_FUNC_MEM
	.comm	_BNX2X_LLH_CAM_MAX_PF_LINE,4,2  ## @BNX2X_LLH_CAM_MAX_PF_LINE
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Going to %s LLH configuration at entry %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"ADD"

L_.str.2:                               ## @.str.2
	.asciz	"DELETE"

	.comm	_NIG_REG_LLH1_FUNC_MEM_ENABLE,8,3 ## @NIG_REG_LLH1_FUNC_MEM_ENABLE
	.comm	_NIG_REG_LLH0_FUNC_MEM_ENABLE,8,3 ## @NIG_REG_LLH0_FUNC_MEM_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_mac_in_nig           ; -- Begin function bnx2x_set_mac_in_nig
	.p2align	2
_bnx2x_set_mac_in_nig:                  ; @bnx2x_set_mac_in_nig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	bl	_BP_PORT
Lloh3:
	adrp	x8, _NIG_REG_LLH1_FUNC_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIG_REG_LLH1_FUNC_MEM@GOTPAGEOFF]
Lloh5:
	adrp	x9, _NIG_REG_LLH0_FUNC_MEM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NIG_REG_LLH0_FUNC_MEM@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w23, [x8]
	mov	x0, x20
	bl	_IS_MF_SI
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_IS_MF_AFEX
	cbz	w0, LBB0_6
LBB0_2:
Lloh7:
	adrp	x8, _BNX2X_LLH_CAM_MAX_PF_LINE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BNX2X_LLH_CAM_MAX_PF_LINE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w21
	b.lt	LBB0_6
; %bb.3:
Lloh10:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, l_.str.1@PAGE
Lloh14:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh15:
	adrp	x9, l_.str.2@PAGE
Lloh16:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w19, #0
	csel	x2, x9, x8, eq
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	bl	_DP
	cbz	w19, LBB0_5
; %bb.4:
	add	w1, w23, w21, lsl #3
	ldur	w8, [x22, #2]
	rev	w8, w8
	ldrh	w9, [x22]
	rev16	w9, w9
	stp	w8, w9, [sp]
	mov	x2, sp
	mov	x0, x20
	mov	w3, #2
	bl	_REG_WR_DMAE
LBB0_5:
	mov	x0, x20
	bl	_BP_PORT
Lloh19:
	adrp	x8, _NIG_REG_LLH1_FUNC_MEM_ENABLE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NIG_REG_LLH1_FUNC_MEM_ENABLE@GOTPAGEOFF]
Lloh21:
	adrp	x9, _NIG_REG_LLH0_FUNC_MEM_ENABLE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NIG_REG_LLH0_FUNC_MEM_ENABLE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	lsl	w9, w21, #2
	add	x1, x8, w9, sxtw
	mov	x0, x20
	mov	x2, x19
	bl	_REG_WR
LBB0_6:
	ldr	x8, [sp, #8]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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
	add	sp, sp, #80
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_NIG_REG_LLH1_FUNC_MEM,4,2      ; @NIG_REG_LLH1_FUNC_MEM
	.comm	_NIG_REG_LLH0_FUNC_MEM,4,2      ; @NIG_REG_LLH0_FUNC_MEM
	.comm	_BNX2X_LLH_CAM_MAX_PF_LINE,4,2  ; @BNX2X_LLH_CAM_MAX_PF_LINE
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Going to %s LLH configuration at entry %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"ADD"

l_.str.2:                               ; @.str.2
	.asciz	"DELETE"

	.comm	_NIG_REG_LLH1_FUNC_MEM_ENABLE,8,3 ; @NIG_REG_LLH1_FUNC_MEM_ENABLE
	.comm	_NIG_REG_LLH0_FUNC_MEM_ENABLE,8,3 ; @NIG_REG_LLH0_FUNC_MEM_ENABLE
.subsections_via_symbols
