	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_report_link
_bnx2_report_link:                      ## @bnx2_report_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	movl	12(%rdi), %edi
	je	LBB0_9
## %bb.1:
	callq	_netif_carrier_on
	movl	12(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_bnx2_xceiver_str
	movl	16(%rbx), %ecx
	movq	(%rbx), %rdx
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %r8
	cmoveq	%rdx, %r8
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_netdev_info
	movl	8(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	_FLOW_CTRL_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.4:
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_cont
	movq	_FLOW_CTRL_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_7
## %bb.5:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_6
LBB0_9:
	callq	_netif_carrier_off
	movl	12(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_bnx2_xceiver_str
	leaq	L_.str.8(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_netdev_err
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str.5(%rip), %rdi
LBB0_6:
	callq	_pr_cont
LBB0_7:
	leaq	L_.str.6(%rip), %rdi
	callq	_pr_cont
LBB0_8:
	leaq	L_.str.7(%rip), %rdi
	callq	_pr_cont
LBB0_10:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnx2_report_fw_link            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NIC %s Link is Up, %d Mbps %s duplex"

	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
L_.str.1:                               ## @.str.1
	.asciz	"full"

L_.str.2:                               ## @.str.2
	.asciz	"half"

	.comm	_FLOW_CTRL_RX,4,2               ## @FLOW_CTRL_RX
L_.str.3:                               ## @.str.3
	.asciz	", receive "

	.comm	_FLOW_CTRL_TX,4,2               ## @FLOW_CTRL_TX
L_.str.4:                               ## @.str.4
	.asciz	"& transmit "

L_.str.5:                               ## @.str.5
	.asciz	", transmit "

L_.str.6:                               ## @.str.6
	.asciz	"flow control ON"

L_.str.7:                               ## @.str.7
	.asciz	"\n"

L_.str.8:                               ## @.str.8
	.asciz	"NIC %s Link is Down\n"

	.no_dead_strip	_bnx2_report_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_report_link
_bnx2_report_link:                      ; @bnx2_report_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
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	w0, [x0, #12]
	cbz	x8, LBB0_5
; %bb.1:
	bl	_netif_carrier_on
	ldr	w20, [x19, #12]
	mov	x0, x19
	bl	_bnx2_xceiver_str
	mov	x2, x0
	ldr	w3, [x19, #16]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, l_.str.2@PAGE
Lloh4:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh5:
	adrp	x11, l_.str.1@PAGE
Lloh6:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x8, x9
	csel	x4, x11, x10, eq
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_info
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_9
; %bb.2:
Lloh9:
	adrp	x9, _FLOW_CTRL_RX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FLOW_CTRL_RX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_cont
	ldr	w8, [x19, #8]
Lloh14:
	adrp	x9, _FLOW_CTRL_TX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FLOW_CTRL_TX@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_7
LBB0_5:
	bl	_netif_carrier_off
	ldr	w20, [x19, #12]
	mov	x0, x19
	bl	_bnx2_xceiver_str
	mov	x2, x0
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
	b	LBB0_10
LBB0_6:
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_7:
	bl	_pr_cont
LBB0_8:
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_cont
LBB0_9:
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_cont
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2_report_fw_link
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NIC %s Link is Up, %d Mbps %s duplex"

	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
l_.str.1:                               ; @.str.1
	.asciz	"full"

l_.str.2:                               ; @.str.2
	.asciz	"half"

	.comm	_FLOW_CTRL_RX,4,2               ; @FLOW_CTRL_RX
l_.str.3:                               ; @.str.3
	.asciz	", receive "

	.comm	_FLOW_CTRL_TX,4,2               ; @FLOW_CTRL_TX
l_.str.4:                               ; @.str.4
	.asciz	"& transmit "

l_.str.5:                               ; @.str.5
	.asciz	", transmit "

l_.str.6:                               ; @.str.6
	.asciz	"flow control ON"

l_.str.7:                               ; @.str.7
	.asciz	"\n"

l_.str.8:                               ; @.str.8
	.asciz	"NIC %s Link is Down\n"

	.no_dead_strip	_bnx2_report_link
.subsections_via_symbols
