	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___bnx2x_link_report            ## -- Begin function __bnx2x_link_report
	.p2align	4, 0x90
___bnx2x_link_report:                   ## @__bnx2x_link_report
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_CHIP_IS_E1
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_bnx2x_read_mf_cfg
LBB0_3:
	leaq	-48(%rbp), %r14
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_fill_report_data
	leaq	8(%r12), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	movq	_BNX2X_LINK_REPORT_LINK_DOWN@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	leaq	-40(%rbp), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_14
LBB0_6:
	incl	16(%r12)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_memcpy
	movl	(%r14), %edi
	leaq	-40(%rbp), %r15
	movq	%r15, %rsi
	callq	_test_bit
	movl	(%r12), %edi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	callq	_netif_carrier_off
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_14
LBB0_8:
	callq	_netif_carrier_on
	movq	_BNX2X_LINK_REPORT_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r14
	cmoveq	%rax, %r14
	cmpq	$0, -40(%rbp)
	je	LBB0_9
## %bb.10:
	movq	_BNX2X_LINK_REPORT_RX_FC_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	_BNX2X_LINK_REPORT_TX_FC_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %r8
	cmoveq	%rax, %r8
	jmp	LBB0_13
LBB0_9:
	leaq	L_.str.6(%rip), %r8
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str.5(%rip), %r8
LBB0_13:
	movl	(%r12), %edi
	movl	-48(%rbp), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rcx
	callq	_netdev_info
LBB0_14:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_LINK_REPORT_LINK_DOWN,4,2 ## @BNX2X_LINK_REPORT_LINK_DOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NIC Link is Down\n"

	.comm	_BNX2X_LINK_REPORT_FD,4,2       ## @BNX2X_LINK_REPORT_FD
L_.str.1:                               ## @.str.1
	.asciz	"full"

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

	.comm	_BNX2X_LINK_REPORT_RX_FC_ON,4,2 ## @BNX2X_LINK_REPORT_RX_FC_ON
	.comm	_BNX2X_LINK_REPORT_TX_FC_ON,4,2 ## @BNX2X_LINK_REPORT_TX_FC_ON
L_.str.3:                               ## @.str.3
	.asciz	"ON - receive & transmit"

L_.str.4:                               ## @.str.4
	.asciz	"ON - receive"

L_.str.5:                               ## @.str.5
	.asciz	"ON - transmit"

L_.str.6:                               ## @.str.6
	.asciz	"none"

L_.str.7:                               ## @.str.7
	.asciz	"NIC Link is Up, %d Mbps %s duplex, Flow control: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___bnx2x_link_report            ; -- Begin function __bnx2x_link_report
	.p2align	2
___bnx2x_link_report:                   ; @__bnx2x_link_report
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_IS_PF
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_CHIP_IS_E1
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_bnx2x_read_mf_cfg
LBB0_3:
	mov	x1, sp
	mov	x0, x19
	bl	_bnx2x_fill_report_data
	add	x20, x19, #8
	mov	x0, sp
	mov	x1, x20
	mov	w2, #16
	bl	_memcmp
	cbz	w0, LBB0_14
; %bb.4:
Lloh0:
	adrp	x21, _BNX2X_LINK_REPORT_LINK_DOWN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BNX2X_LINK_REPORT_LINK_DOWN@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x21]
	mov	x8, sp
	add	x1, x8, #8
	bl	_test_bit
	cbnz	x0, LBB0_14
LBB0_6:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x22, sp
	mov	x1, sp
	mov	x0, x20
	mov	w2, #16
	bl	_memcpy
	ldr	w0, [x21]
	add	x21, x22, #8
	mov	x1, x21
	bl	_test_bit
	mov	x8, x0
	ldr	w0, [x19]
	cbz	x8, LBB0_8
; %bb.7:
	bl	_netif_carrier_off
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
	b	LBB0_14
LBB0_8:
	bl	_netif_carrier_on
Lloh4:
	adrp	x8, _BNX2X_LINK_REPORT_FD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BNX2X_LINK_REPORT_FD@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_clear_bit
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x20, x9, x8, eq
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_11
; %bb.9:
Lloh11:
	adrp	x8, _BNX2X_LINK_REPORT_RX_FC_ON@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_LINK_REPORT_RX_FC_ON@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_12
; %bb.10:
Lloh14:
	adrp	x8, _BNX2X_LINK_REPORT_TX_FC_ON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BNX2X_LINK_REPORT_TX_FC_ON@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
Lloh17:
	adrp	x8, l_.str.3@PAGE
Lloh18:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh19:
	adrp	x9, l_.str.4@PAGE
Lloh20:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	x0, #0
	csel	x4, x9, x8, eq
	b	LBB0_13
LBB0_11:
Lloh21:
	adrp	x4, l_.str.6@PAGE
Lloh22:
	add	x4, x4, l_.str.6@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh23:
	adrp	x4, l_.str.5@PAGE
Lloh24:
	add	x4, x4, l_.str.5@PAGEOFF
LBB0_13:
	ldr	w0, [x19]
	ldr	w2, [sp]
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x3, x20
	bl	_netdev_info
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_LINK_REPORT_LINK_DOWN,4,2 ; @BNX2X_LINK_REPORT_LINK_DOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NIC Link is Down\n"

	.comm	_BNX2X_LINK_REPORT_FD,4,2       ; @BNX2X_LINK_REPORT_FD
l_.str.1:                               ; @.str.1
	.asciz	"full"

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

	.comm	_BNX2X_LINK_REPORT_RX_FC_ON,4,2 ; @BNX2X_LINK_REPORT_RX_FC_ON
	.comm	_BNX2X_LINK_REPORT_TX_FC_ON,4,2 ; @BNX2X_LINK_REPORT_TX_FC_ON
l_.str.3:                               ; @.str.3
	.asciz	"ON - receive & transmit"

l_.str.4:                               ; @.str.4
	.asciz	"ON - receive"

l_.str.5:                               ; @.str.5
	.asciz	"ON - transmit"

l_.str.6:                               ; @.str.6
	.asciz	"none"

l_.str.7:                               ; @.str.7
	.asciz	"NIC Link is Up, %d Mbps %s duplex, Flow control: %s\n"

.subsections_via_symbols
