	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_report_link
_bnxt_report_link:                      ## @bnxt_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	movl	4(%rdi), %edi
	je	LBB0_10
## %bb.1:
	callq	_netif_carrier_on
	movq	_BNXT_LINK_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movq	8(%rbx), %rcx
	cmpq	(%rax), %rcx
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %r14
	cmoveq	%rax, %r14
	movq	16(%rbx), %rax
	movq	_BNXT_LINK_PAUSE_BOTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_6
LBB0_10:
	callq	_netif_carrier_off
	movl	4(%rbx), %edi
	leaq	L_.str.16(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_err                     ## TAILCALL
LBB0_3:
	movq	_BNXT_LINK_PAUSE_TX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %r15
	jmp	LBB0_6
LBB0_5:
	movq	_BNXT_LINK_PAUSE_RX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %r15
	cmoveq	%rax, %r15
LBB0_6:
	movl	28(%rbx), %edi
	callq	_bnxt_fw_to_ethtool_speed
	movl	4(%rbx), %edi
	movslq	%eax, %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rcx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_netdev_info
	movq	_BNXT_FLAG_EEE_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.7:
	movl	4(%rbx), %edi
	cmpq	$0, 40(%rbx)
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.8(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_info
LBB0_8:
	movl	24(%rbx), %eax
	movq	_PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	4(%rbx), %edi
	movq	_BNXT_FEC_AUTONEG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	leaq	L_.str.12(%rip), %rcx
	leaq	L_.str.11(%rip), %rdx
	cmoveq	%rcx, %rdx
	movq	_BNXT_FEC_ENC_BASE_R@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_BNXT_FEC_ENC_RS@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	leaq	L_.str.15(%rip), %rax
	leaq	L_.str.14(%rip), %rsi
	cmoveq	%rax, %rsi
	testl	%ecx, %ecx
	leaq	L_.str.13(%rip), %rcx
	cmoveq	%rsi, %rcx
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_info                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_LINK_DUPLEX_FULL,8,3      ## @BNXT_LINK_DUPLEX_FULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"full"

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

	.comm	_BNXT_LINK_PAUSE_BOTH,8,3       ## @BNXT_LINK_PAUSE_BOTH
L_.str.2:                               ## @.str.2
	.asciz	"ON - receive & transmit"

	.comm	_BNXT_LINK_PAUSE_TX,8,3         ## @BNXT_LINK_PAUSE_TX
L_.str.3:                               ## @.str.3
	.asciz	"ON - transmit"

	.comm	_BNXT_LINK_PAUSE_RX,8,3         ## @BNXT_LINK_PAUSE_RX
L_.str.4:                               ## @.str.4
	.asciz	"ON - receive"

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

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

	.comm	_BNXT_FLAG_EEE_CAP,4,2          ## @BNXT_FLAG_EEE_CAP
L_.str.7:                               ## @.str.7
	.asciz	"EEE is %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"active"

L_.str.9:                               ## @.str.9
	.asciz	"not active"

	.comm	_PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED,4,2 ## @PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED
L_.str.10:                              ## @.str.10
	.asciz	"FEC autoneg %s encodings: %s\n"

	.comm	_BNXT_FEC_AUTONEG,4,2           ## @BNXT_FEC_AUTONEG
L_.str.11:                              ## @.str.11
	.asciz	"on"

L_.str.12:                              ## @.str.12
	.asciz	"off"

	.comm	_BNXT_FEC_ENC_BASE_R,4,2        ## @BNXT_FEC_ENC_BASE_R
L_.str.13:                              ## @.str.13
	.asciz	"BaseR"

	.comm	_BNXT_FEC_ENC_RS,4,2            ## @BNXT_FEC_ENC_RS
L_.str.14:                              ## @.str.14
	.asciz	"RS"

L_.str.15:                              ## @.str.15
	.asciz	"None"

L_.str.16:                              ## @.str.16
	.asciz	"NIC Link is Down\n"

	.no_dead_strip	_bnxt_report_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_report_link
_bnxt_report_link:                      ; @bnxt_report_link
	.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
	ldr	x8, [x0, #32]
	ldr	w0, [x0, #4]
	cbz	x8, LBB0_3
; %bb.1:
	bl	_netif_carrier_on
Lloh0:
	adrp	x8, _BNXT_LINK_DUPLEX_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNXT_LINK_DUPLEX_FULL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x10, l_.str.1@PAGE
Lloh4:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh5:
	adrp	x11, l_.str@PAGE
Lloh6:
	add	x11, x11, l_.str@PAGEOFF
	ldp	x12, x8, [x19, #8]
	cmp	x12, x9
	csel	x20, x11, x10, eq
Lloh7:
	adrp	x9, _BNXT_LINK_PAUSE_BOTH@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BNXT_LINK_PAUSE_BOTH@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh10:
	adrp	x21, l_.str.2@PAGE
Lloh11:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_3:
	bl	_netif_carrier_off
	ldr	w0, [x19, #4]
Lloh12:
	adrp	x1, l_.str.16@PAGE
Lloh13:
	add	x1, x1, l_.str.16@PAGEOFF
	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
	b	_netdev_err
LBB0_4:
Lloh14:
	adrp	x9, _BNXT_LINK_PAUSE_TX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BNXT_LINK_PAUSE_TX@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh17:
	adrp	x21, l_.str.3@PAGE
Lloh18:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh19:
	adrp	x9, _BNXT_LINK_PAUSE_RX@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BNXT_LINK_PAUSE_RX@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x10, l_.str.5@PAGE
Lloh23:
	add	x10, x10, l_.str.5@PAGEOFF
Lloh24:
	adrp	x11, l_.str.4@PAGE
Lloh25:
	add	x11, x11, l_.str.4@PAGEOFF
	cmp	x8, x9
	csel	x21, x11, x10, eq
LBB0_7:
	ldr	w0, [x19, #28]
	bl	_bnxt_fw_to_ethtool_speed
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19, #4]
	sxtw	x2, w0
	stp	x20, x21, [sp]
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x8
	bl	_netdev_info
	ldr	w8, [x19]
Lloh28:
	adrp	x9, _BNXT_FLAG_EEE_CAP@GOTPAGE
Lloh29:
	ldr	x9, [x9, _BNXT_FLAG_EEE_CAP@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w0, [x19, #4]
	ldr	x8, [x19, #40]
Lloh31:
	adrp	x9, l_.str.8@PAGE
Lloh32:
	add	x9, x9, l_.str.8@PAGEOFF
Lloh33:
	adrp	x10, l_.str.9@PAGE
Lloh34:
	add	x10, x10, l_.str.9@PAGEOFF
	cmp	x8, #0
	csel	x2, x10, x9, eq
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_netdev_info
LBB0_9:
	ldr	w8, [x19, #24]
Lloh37:
	adrp	x9, _PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED@GOTPAGE
Lloh38:
	ldr	x9, [x9, _PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.10:
Lloh40:
	adrp	x9, _BNXT_FEC_AUTONEG@GOTPAGE
Lloh41:
	ldr	x9, [x9, _BNXT_FEC_AUTONEG@GOTPAGEOFF]
	ldr	w0, [x19, #4]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	adrp	x10, l_.str.11@PAGE
Lloh44:
	add	x10, x10, l_.str.11@PAGEOFF
Lloh45:
	adrp	x11, l_.str.12@PAGE
Lloh46:
	add	x11, x11, l_.str.12@PAGEOFF
	tst	w9, w8
	csel	x2, x11, x10, eq
Lloh47:
	adrp	x9, _BNXT_FEC_ENC_BASE_R@GOTPAGE
Lloh48:
	ldr	x9, [x9, _BNXT_FEC_ENC_BASE_R@GOTPAGEOFF]
Lloh49:
	adrp	x10, _BNXT_FEC_ENC_RS@GOTPAGE
Lloh50:
	ldr	x10, [x10, _BNXT_FEC_ENC_RS@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
Lloh52:
	ldr	w10, [x10]
Lloh53:
	adrp	x11, l_.str.14@PAGE
Lloh54:
	add	x11, x11, l_.str.14@PAGEOFF
Lloh55:
	adrp	x12, l_.str.15@PAGE
Lloh56:
	add	x12, x12, l_.str.15@PAGEOFF
	tst	w10, w8
	csel	x10, x12, x11, eq
Lloh57:
	adrp	x11, l_.str.13@PAGE
Lloh58:
	add	x11, x11, l_.str.13@PAGEOFF
	tst	w9, w8
	csel	x8, x10, x11, eq
	str	x8, [sp]
Lloh59:
	adrp	x1, l_.str.10@PAGE
Lloh60:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_netdev_info
LBB0_11:
	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 AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh51
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_LINK_DUPLEX_FULL,8,3      ; @BNXT_LINK_DUPLEX_FULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"full"

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

	.comm	_BNXT_LINK_PAUSE_BOTH,8,3       ; @BNXT_LINK_PAUSE_BOTH
l_.str.2:                               ; @.str.2
	.asciz	"ON - receive & transmit"

	.comm	_BNXT_LINK_PAUSE_TX,8,3         ; @BNXT_LINK_PAUSE_TX
l_.str.3:                               ; @.str.3
	.asciz	"ON - transmit"

	.comm	_BNXT_LINK_PAUSE_RX,8,3         ; @BNXT_LINK_PAUSE_RX
l_.str.4:                               ; @.str.4
	.asciz	"ON - receive"

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

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

	.comm	_BNXT_FLAG_EEE_CAP,4,2          ; @BNXT_FLAG_EEE_CAP
l_.str.7:                               ; @.str.7
	.asciz	"EEE is %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"active"

l_.str.9:                               ; @.str.9
	.asciz	"not active"

	.comm	_PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED,4,2 ; @PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED
l_.str.10:                              ; @.str.10
	.asciz	"FEC autoneg %s encodings: %s\n"

	.comm	_BNXT_FEC_AUTONEG,4,2           ; @BNXT_FEC_AUTONEG
l_.str.11:                              ; @.str.11
	.asciz	"on"

l_.str.12:                              ; @.str.12
	.asciz	"off"

	.comm	_BNXT_FEC_ENC_BASE_R,4,2        ; @BNXT_FEC_ENC_BASE_R
l_.str.13:                              ; @.str.13
	.asciz	"BaseR"

	.comm	_BNXT_FEC_ENC_RS,4,2            ; @BNXT_FEC_ENC_RS
l_.str.14:                              ; @.str.14
	.asciz	"RS"

l_.str.15:                              ; @.str.15
	.asciz	"None"

l_.str.16:                              ; @.str.16
	.asciz	"NIC Link is Down\n"

	.no_dead_strip	_bnxt_report_link
.subsections_via_symbols
