	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_link_attn
_bnx2x_link_attn:                       ## @bnx2x_link_attn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_STATS_EVENT_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bnx2x_stats_handle
	leaq	32(%rbx), %rdi
	leaq	8(%rbx), %r14
	movq	%r14, %rsi
	callq	_bnx2x_link_update
	movq	%rbx, %rdi
	callq	_bnx2x_init_dropless_fc
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.1:
	movq	(%r14), %rax
	movq	_MAC_TYPE_EMAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_port_stats@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bnx2x_sp
	movq	(%rax), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_3:
	movq	(%rbx), %rax
	movq	_BNX2X_STATE_OPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_STATS_EVENT_LINK_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bnx2x_stats_handle
LBB0_5:
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.6:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_bnx2x_set_local_cmng
LBB0_8:
	movq	%rbx, %rdi
	callq	___bnx2x_link_report
	movq	%rbx, %rdi
	callq	_IS_MF
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnx2x_link_sync_notify         ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATS_EVENT_STOP,4,2           ## @STATS_EVENT_STOP
	.comm	_MAC_TYPE_EMAC,8,3              ## @MAC_TYPE_EMAC
	.comm	_port_stats,4,2                 ## @port_stats
	.comm	_BNX2X_STATE_OPEN,8,3           ## @BNX2X_STATE_OPEN
	.comm	_STATS_EVENT_LINK_UP,4,2        ## @STATS_EVENT_LINK_UP
	.no_dead_strip	_bnx2x_link_attn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_link_attn
_bnx2x_link_attn:                       ; @bnx2x_link_attn
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _STATS_EVENT_STOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATS_EVENT_STOP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_bnx2x_stats_handle
	add	x0, x19, #32
	add	x20, x19, #8
	mov	x1, x20
	bl	_bnx2x_link_update
	mov	x0, x19
	bl	_bnx2x_init_dropless_fc
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _MAC_TYPE_EMAC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAC_TYPE_EMAC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _port_stats@GOTPAGE
Lloh7:
	ldr	x8, [x8, _port_stats@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bnx2x_sp
	ldr	x0, [x0]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_3:
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _BNX2X_STATE_OPEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BNX2X_STATE_OPEN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _STATS_EVENT_LINK_UP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STATS_EVENT_LINK_UP@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bnx2x_stats_handle
LBB0_5:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_bnx2x_set_local_cmng
LBB0_8:
	mov	x0, x19
	bl	___bnx2x_link_report
	mov	x0, x19
	bl	_IS_MF
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_link_sync_notify
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_STATS_EVENT_STOP,4,2           ; @STATS_EVENT_STOP
	.comm	_MAC_TYPE_EMAC,8,3              ; @MAC_TYPE_EMAC
	.comm	_port_stats,4,2                 ; @port_stats
	.comm	_BNX2X_STATE_OPEN,8,3           ; @BNX2X_STATE_OPEN
	.comm	_STATS_EVENT_LINK_UP,4,2        ; @STATS_EVENT_LINK_UP
	.no_dead_strip	_bnx2x_link_attn
.subsections_via_symbols
