	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_xumac_nig
_bnx2x_set_xumac_nig:                   ## @bnx2x_set_xumac_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	cmpq	$0, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_NIG_REG_P0_MAC_IN_EN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_NIG_REG_P1_MAC_IN_EN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_REG_WR
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.5:
	movq	_NIG_REG_P0_MAC_OUT_EN@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_NIG_REG_P1_MAC_OUT_EN@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_REG_WR
	cmpq	$0, (%rbx)
	jne	LBB0_7
## %bb.8:
	movq	_NIG_REG_P0_MAC_PAUSE_OUT_EN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_NIG_REG_P1_MAC_PAUSE_OUT_EN@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_WR                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIG_REG_P1_MAC_IN_EN,4,2       ## @NIG_REG_P1_MAC_IN_EN
	.comm	_NIG_REG_P0_MAC_IN_EN,4,2       ## @NIG_REG_P0_MAC_IN_EN
	.comm	_NIG_REG_P1_MAC_OUT_EN,4,2      ## @NIG_REG_P1_MAC_OUT_EN
	.comm	_NIG_REG_P0_MAC_OUT_EN,4,2      ## @NIG_REG_P0_MAC_OUT_EN
	.comm	_NIG_REG_P1_MAC_PAUSE_OUT_EN,4,2 ## @NIG_REG_P1_MAC_PAUSE_OUT_EN
	.comm	_NIG_REG_P0_MAC_PAUSE_OUT_EN,4,2 ## @NIG_REG_P0_MAC_PAUSE_OUT_EN
	.no_dead_strip	_bnx2x_set_xumac_nig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_xumac_nig
_bnx2x_set_xumac_nig:                   ; @bnx2x_set_xumac_nig
	.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, _NIG_REG_P1_MAC_IN_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIG_REG_P1_MAC_IN_EN@GOTPAGEOFF]
	ldp	x9, x22, [x0]
Lloh2:
	adrp	x10, _NIG_REG_P0_MAC_IN_EN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _NIG_REG_P0_MAC_IN_EN@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, x22
	bl	_REG_WR
Lloh4:
	adrp	x8, _NIG_REG_P1_MAC_OUT_EN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NIG_REG_P1_MAC_OUT_EN@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh6:
	adrp	x10, _NIG_REG_P0_MAC_OUT_EN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NIG_REG_P0_MAC_OUT_EN@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x19
	bl	_REG_WR
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _NIG_REG_P1_MAC_PAUSE_OUT_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NIG_REG_P1_MAC_PAUSE_OUT_EN@GOTPAGEOFF]
Lloh10:
	adrp	x10, _NIG_REG_P0_MAC_PAUSE_OUT_EN@GOTPAGE
Lloh11:
	ldr	x10, [x10, _NIG_REG_P0_MAC_PAUSE_OUT_EN@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x20
	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
	b	_REG_WR
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NIG_REG_P1_MAC_IN_EN,4,2       ; @NIG_REG_P1_MAC_IN_EN
	.comm	_NIG_REG_P0_MAC_IN_EN,4,2       ; @NIG_REG_P0_MAC_IN_EN
	.comm	_NIG_REG_P1_MAC_OUT_EN,4,2      ; @NIG_REG_P1_MAC_OUT_EN
	.comm	_NIG_REG_P0_MAC_OUT_EN,4,2      ; @NIG_REG_P0_MAC_OUT_EN
	.comm	_NIG_REG_P1_MAC_PAUSE_OUT_EN,4,2 ; @NIG_REG_P1_MAC_PAUSE_OUT_EN
	.comm	_NIG_REG_P0_MAC_PAUSE_OUT_EN,4,2 ; @NIG_REG_P0_MAC_PAUSE_OUT_EN
	.no_dead_strip	_bnx2x_set_xumac_nig
.subsections_via_symbols
