	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x__link_status_update      ## -- Begin function bnx2x__link_status_update
	.p2align	4, 0x90
_bnx2x__link_status_update:             ## @bnx2x__link_status_update
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_BNX2X_STATE_OPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_bnx2x_dcbx_pmf_update
	leaq	48(%rbx), %rdi
	leaq	8(%rbx), %rsi
	callq	_bnx2x_link_status_update
	cmpl	$0, 8(%rbx)
	jne	LBB0_3
## %bb.4:
	movq	_STATS_EVENT_STOP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_2500baseX_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_Pause@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_Asym_Pause@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	104(%rbx), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rcx)
	movq	112(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, 96(%rbx)
	movq	%rbx, %rdi
	callq	_BP_PORT
	movl	%eax, 88(%rbx)
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	80(%rbx), %rdx
	movq	%rcx, (%rdx)
	movq	_BNX2X_FLOW_CTRL_NONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	72(%rbx), %rsi
	movq	%rdx, (%rsi)
	movq	_SPEED_10000@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	64(%rbx), %rdi
	movq	%rsi, (%rdi)
	movq	48(%rbx), %rsi
	movl	$8323072, (%rsi)                ## imm = 0x7F0000
	movq	_SWITCH_CFG_10G@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 56(%rbx)
	movq	_MAC_TYPE_BMAC@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 40(%rbx)
	movq	(%rdx), %rdx
	movq	%rdx, 32(%rbx)
	movq	_LINK_STATUS_LINK_UP@GOTPCREL(%rip), %rdx
	movq	_LINK_STATUS_SPEED_AND_DUPLEX_10GTFD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	movl	%esi, 12(%rbx)
	movl	$1, 8(%rbx)
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	(%rcx), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	callq	___bnx2x_link_report
	movq	%rbx, %rdi
	callq	_bnx2x_sample_bulletin
	movq	_STATS_EVENT_LINK_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bnx2x_stats_handle             ## TAILCALL
LBB0_3:
	movq	_STATS_EVENT_LINK_UP@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bnx2x_stats_handle
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bnx2x_link_report              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_STATE_OPEN,8,3           ## @BNX2X_STATE_OPEN
	.comm	_STATS_EVENT_LINK_UP,4,2        ## @STATS_EVENT_LINK_UP
	.comm	_STATS_EVENT_STOP,4,2           ## @STATS_EVENT_STOP
	.comm	_SUPPORTED_10baseT_Half,4,2     ## @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ## @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,4,2    ## @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ## @SUPPORTED_100baseT_Full
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_2500baseX_Full,4,2   ## @SUPPORTED_2500baseX_Full
	.comm	_SUPPORTED_10000baseT_Full,4,2  ## @SUPPORTED_10000baseT_Full
	.comm	_SUPPORTED_TP,4,2               ## @SUPPORTED_TP
	.comm	_SUPPORTED_FIBRE,4,2            ## @SUPPORTED_FIBRE
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.comm	_SUPPORTED_Pause,4,2            ## @SUPPORTED_Pause
	.comm	_SUPPORTED_Asym_Pause,4,2       ## @SUPPORTED_Asym_Pause
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_BNX2X_FLOW_CTRL_NONE,8,3       ## @BNX2X_FLOW_CTRL_NONE
	.comm	_SPEED_10000,8,3                ## @SPEED_10000
	.comm	_SWITCH_CFG_10G,4,2             ## @SWITCH_CFG_10G
	.comm	_MAC_TYPE_BMAC,4,2              ## @MAC_TYPE_BMAC
	.comm	_LINK_STATUS_LINK_UP,4,2        ## @LINK_STATUS_LINK_UP
	.comm	_LINK_STATUS_SPEED_AND_DUPLEX_10GTFD,4,2 ## @LINK_STATUS_SPEED_AND_DUPLEX_10GTFD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x__link_status_update      ; -- Begin function bnx2x__link_status_update
	.p2align	2
_bnx2x__link_status_update:             ; @bnx2x__link_status_update
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BNX2X_STATE_OPEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNX2X_STATE_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_IS_PF
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_bnx2x_dcbx_pmf_update
	add	x0, x19, #48
	add	x1, x19, #8
	bl	_bnx2x_link_status_update
Lloh3:
	adrp	x8, _STATS_EVENT_STOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STATS_EVENT_STOP@GOTPAGEOFF]
	ldr	w9, [x19, #8]
Lloh5:
	adrp	x10, _STATS_EVENT_LINK_UP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _STATS_EVENT_LINK_UP@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x8, x10, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bnx2x_stats_handle
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_link_report
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh7:
	adrp	x8, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh13:
	adrp	x9, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh17:
	ldr	x10, [x10, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh18:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh19:
	adrp	x9, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _SUPPORTED_2500baseX_Full@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SUPPORTED_2500baseX_Full@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x10, _SUPPORTED_10000baseT_Full@GOTPAGE
Lloh26:
	ldr	x10, [x10, _SUPPORTED_10000baseT_Full@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh27:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh28:
	adrp	x9, _SUPPORTED_TP@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SUPPORTED_TP@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh31:
	adrp	x9, _SUPPORTED_FIBRE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
Lloh34:
	adrp	x10, _SUPPORTED_Autoneg@GOTPAGE
Lloh35:
	ldr	x10, [x10, _SUPPORTED_Autoneg@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh36:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh37:
	adrp	x9, _SUPPORTED_Pause@GOTPAGE
Lloh38:
	ldr	x9, [x9, _SUPPORTED_Pause@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh40:
	adrp	x9, _SUPPORTED_Asym_Pause@GOTPAGE
Lloh41:
	ldr	x9, [x9, _SUPPORTED_Asym_Pause@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldp	x9, x10, [x19, #104]
	ldr	w11, [x9]
	orr	w8, w8, w11
	str	w8, [x9]
	str	w8, [x10]
	str	x19, [x19, #96]
	mov	x0, x19
	bl	_BP_PORT
	str	w0, [x19, #88]
Lloh43:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x10, [x19, #80]
Lloh45:
	adrp	x11, _BNX2X_FLOW_CTRL_NONE@GOTPAGE
Lloh46:
	ldr	x11, [x11, _BNX2X_FLOW_CTRL_NONE@GOTPAGEOFF]
	str	x9, [x10]
	ldr	x9, [x11]
	ldr	x10, [x19, #72]
	str	x9, [x10]
Lloh47:
	adrp	x9, _SPEED_10000@GOTPAGE
Lloh48:
	ldr	x9, [x9, _SPEED_10000@GOTPAGEOFF]
	ldr	x10, [x9]
	ldr	x12, [x19, #64]
	str	x10, [x12]
	ldr	x10, [x19, #48]
	mov	w12, #8323072
	str	w12, [x10]
Lloh49:
	adrp	x10, _SWITCH_CFG_10G@GOTPAGE
Lloh50:
	ldr	x10, [x10, _SWITCH_CFG_10G@GOTPAGEOFF]
Lloh51:
	ldr	w10, [x10]
	str	w10, [x19, #56]
Lloh52:
	adrp	x10, _MAC_TYPE_BMAC@GOTPAGE
Lloh53:
	ldr	x10, [x10, _MAC_TYPE_BMAC@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	str	w10, [x19, #40]
	ldr	x9, [x9]
	str	x9, [x19, #32]
Lloh55:
	adrp	x9, _LINK_STATUS_LINK_UP@GOTPAGE
Lloh56:
	ldr	x9, [x9, _LINK_STATUS_LINK_UP@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
Lloh58:
	adrp	x10, _LINK_STATUS_SPEED_AND_DUPLEX_10GTFD@GOTPAGE
Lloh59:
	ldr	x10, [x10, _LINK_STATUS_SPEED_AND_DUPLEX_10GTFD@GOTPAGEOFF]
Lloh60:
	ldr	w10, [x10]
	orr	w9, w10, w9
	mov	w10, #1
	stp	w10, w9, [x19, #8]
	ldr	x8, [x8]
	ldr	x9, [x11]
	stp	x9, x8, [x19, #16]
	mov	x0, x19
	bl	___bnx2x_link_report
	mov	x0, x19
	bl	_bnx2x_sample_bulletin
Lloh61:
	adrp	x8, _STATS_EVENT_LINK_UP@GOTPAGE
Lloh62:
	ldr	x8, [x8, _STATS_EVENT_LINK_UP@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_stats_handle
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_STATE_OPEN,8,3           ; @BNX2X_STATE_OPEN
	.comm	_STATS_EVENT_LINK_UP,4,2        ; @STATS_EVENT_LINK_UP
	.comm	_STATS_EVENT_STOP,4,2           ; @STATS_EVENT_STOP
	.comm	_SUPPORTED_10baseT_Half,4,2     ; @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ; @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,4,2    ; @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ; @SUPPORTED_100baseT_Full
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_2500baseX_Full,4,2   ; @SUPPORTED_2500baseX_Full
	.comm	_SUPPORTED_10000baseT_Full,4,2  ; @SUPPORTED_10000baseT_Full
	.comm	_SUPPORTED_TP,4,2               ; @SUPPORTED_TP
	.comm	_SUPPORTED_FIBRE,4,2            ; @SUPPORTED_FIBRE
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.comm	_SUPPORTED_Pause,4,2            ; @SUPPORTED_Pause
	.comm	_SUPPORTED_Asym_Pause,4,2       ; @SUPPORTED_Asym_Pause
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_BNX2X_FLOW_CTRL_NONE,8,3       ; @BNX2X_FLOW_CTRL_NONE
	.comm	_SPEED_10000,8,3                ; @SPEED_10000
	.comm	_SWITCH_CFG_10G,4,2             ; @SWITCH_CFG_10G
	.comm	_MAC_TYPE_BMAC,4,2              ; @MAC_TYPE_BMAC
	.comm	_LINK_STATUS_LINK_UP,4,2        ; @LINK_STATUS_LINK_UP
	.comm	_LINK_STATUS_SPEED_AND_DUPLEX_10GTFD,4,2 ; @LINK_STATUS_SPEED_AND_DUPLEX_10GTFD
.subsections_via_symbols
