	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_link_sync_notify
_bnx2x_link_sync_notify:                ## @bnx2x_link_sync_notify
	.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
	movq	%rdi, %r14
	movq	_VN_0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_BP_MAX_VN_NUM
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.1:
	movq	_MISC_REG_AEU_GENERAL_ATTN_0@GOTPCREL(%rip), %r15
	movq	_LINK_SYNC_ATTENTION_BIT_FUNC_0@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movq	%r14, %rdi
	callq	_BP_MAX_VN_NUM
	cmpl	%eax, %ebx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_BP_VN
	cmpl	%eax, %ebx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_func_by_vn
	movslq	(%r12), %rcx
	movslq	%eax, %rsi
	addq	%rcx, %rsi
	shlq	$2, %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_REG_WR
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VN_0,4,2                       ## @VN_0
	.comm	_MISC_REG_AEU_GENERAL_ATTN_0,8,3 ## @MISC_REG_AEU_GENERAL_ATTN_0
	.comm	_LINK_SYNC_ATTENTION_BIT_FUNC_0,4,2 ## @LINK_SYNC_ATTENTION_BIT_FUNC_0
	.no_dead_strip	_bnx2x_link_sync_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_link_sync_notify
_bnx2x_link_sync_notify:                ; @bnx2x_link_sync_notify
	.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, x0
Lloh0:
	adrp	x8, _VN_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VN_0@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_BP_MAX_VN_NUM
	cmp	w20, w0
	b.ge	LBB0_5
; %bb.1:
Lloh3:
	adrp	x21, _MISC_REG_AEU_GENERAL_ATTN_0@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MISC_REG_AEU_GENERAL_ATTN_0@GOTPAGEOFF]
Lloh5:
	adrp	x22, _LINK_SYNC_ATTENTION_BIT_FUNC_0@GOTPAGE
Lloh6:
	ldr	x22, [x22, _LINK_SYNC_ATTENTION_BIT_FUNC_0@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	mov	x0, x19
	bl	_BP_MAX_VN_NUM
	cmp	w20, w0
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_BP_VN
	cmp	w20, w0
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_func_by_vn
	ldr	x8, [x21]
	ldr	w9, [x22]
	add	w9, w9, w0
	lsl	w9, w9, #2
	add	x1, x8, w9, sxtw
	mov	x0, x19
	mov	w2, #1
	bl	_REG_WR
	b	LBB0_2
LBB0_5:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VN_0,4,2                       ; @VN_0
	.comm	_MISC_REG_AEU_GENERAL_ATTN_0,8,3 ; @MISC_REG_AEU_GENERAL_ATTN_0
	.comm	_LINK_SYNC_ATTENTION_BIT_FUNC_0,4,2 ; @LINK_SYNC_ATTENTION_BIT_FUNC_0
	.no_dead_strip	_bnx2x_link_sync_notify
.subsections_via_symbols
