	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_link
_bnx2x_get_link:                        ## @bnx2x_get_link
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_MF_FUNC_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rbx)
	jne	LBB0_5
## %bb.1:
	movq	8(%rbx), %rcx
	movq	_BNX2X_STATE_OPEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_IS_VF
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_BNX2X_LINK_REPORT_LINK_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$20, %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
	jmp	LBB0_5
LBB0_4:
	movl	16(%rbx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MF_FUNC_DIS,4,2                ## @MF_FUNC_DIS
	.comm	_BNX2X_STATE_OPEN,8,3           ## @BNX2X_STATE_OPEN
	.comm	_BNX2X_LINK_REPORT_LINK_DOWN,4,2 ## @BNX2X_LINK_REPORT_LINK_DOWN
	.no_dead_strip	_bnx2x_get_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_link
_bnx2x_get_link:                        ; @bnx2x_get_link
	.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
	bl	_netdev_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MF_FUNC_DIS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MF_FUNC_DIS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _BNX2X_STATE_OPEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNX2X_STATE_OPEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_IS_VF
	cbz	x0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _BNX2X_LINK_REPORT_LINK_DOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_LINK_REPORT_LINK_DOWN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x19, #20
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w0, [x19, #16]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MF_FUNC_DIS,4,2                ; @MF_FUNC_DIS
	.comm	_BNX2X_STATE_OPEN,8,3           ; @BNX2X_STATE_OPEN
	.comm	_BNX2X_LINK_REPORT_LINK_DOWN,4,2 ; @BNX2X_LINK_REPORT_LINK_DOWN
	.no_dead_strip	_bnx2x_get_link
.subsections_via_symbols
