	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_direct_parallel_detect_used
_bnx2x_direct_parallel_detect_used:     ## @bnx2x_direct_parallel_detect_used
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %r12
	movq	_MDIO_REG_BANK_SERDES_DIGITAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_SERDES_DIGITAL_A_1000X_STATUS2@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	-44(%rbp), %r8
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_CL22_RD_OVER_CL45
	movq	_MDIO_REG_BANK_SERDES_DIGITAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	-44(%rbp), %r8
	callq	_CL22_RD_OVER_CL45
	movq	_MDIO_SERDES_DIGITAL_A_1000X_STATUS2_AN_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_3:
	movq	_MDIO_REG_BANK_10G_PARALLEL_DETECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %r8
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_CL22_RD_OVER_CL45
	movq	_MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS_PD_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -48(%rbp)
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	callq	_DP
	movl	$1, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPEED_AUTO_NEG,8,3             ## @SPEED_AUTO_NEG
	.comm	_MDIO_REG_BANK_SERDES_DIGITAL,4,2 ## @MDIO_REG_BANK_SERDES_DIGITAL
	.comm	_MDIO_SERDES_DIGITAL_A_1000X_STATUS2,4,2 ## @MDIO_SERDES_DIGITAL_A_1000X_STATUS2
	.comm	_MDIO_SERDES_DIGITAL_A_1000X_STATUS2_AN_DISABLED,4,2 ## @MDIO_SERDES_DIGITAL_A_1000X_STATUS2_AN_DISABLED
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1G parallel detect link on port %d\n"

	.comm	_MDIO_REG_BANK_10G_PARALLEL_DETECT,4,2 ## @MDIO_REG_BANK_10G_PARALLEL_DETECT
	.comm	_MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS,4,2 ## @MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS
	.comm	_MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS_PD_LINK,4,2 ## @MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS_PD_LINK
L_.str.1:                               ## @.str.1
	.asciz	"10G parallel detect link on port %d\n"

	.no_dead_strip	_bnx2x_direct_parallel_detect_used
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_direct_parallel_detect_used
_bnx2x_direct_parallel_detect_used:     ; @bnx2x_direct_parallel_detect_used
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SPEED_AUTO_NEG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPEED_AUTO_NEG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
Lloh3:
	adrp	x22, _MDIO_REG_BANK_SERDES_DIGITAL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MDIO_REG_BANK_SERDES_DIGITAL@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh5:
	adrp	x23, _MDIO_SERDES_DIGITAL_A_1000X_STATUS2@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MDIO_SERDES_DIGITAL_A_1000X_STATUS2@GOTPAGEOFF]
	ldr	w3, [x23]
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldr	w2, [x22]
	ldr	w3, [x23]
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldr	w8, [sp, #8]
Lloh7:
	adrp	x9, _MDIO_SERDES_DIGITAL_A_1000X_STATUS2_AN_DISABLED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MDIO_SERDES_DIGITAL_A_1000X_STATUS2_AN_DISABLED@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh12:
	adrp	x8, _MDIO_REG_BANK_10G_PARALLEL_DETECT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MDIO_REG_BANK_10G_PARALLEL_DETECT@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldr	w8, [sp, #12]
Lloh18:
	adrp	x9, _MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS_PD_LINK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS_PD_LINK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
Lloh23:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	w2, [x19]
	bl	_DP
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SPEED_AUTO_NEG,8,3             ; @SPEED_AUTO_NEG
	.comm	_MDIO_REG_BANK_SERDES_DIGITAL,4,2 ; @MDIO_REG_BANK_SERDES_DIGITAL
	.comm	_MDIO_SERDES_DIGITAL_A_1000X_STATUS2,4,2 ; @MDIO_SERDES_DIGITAL_A_1000X_STATUS2
	.comm	_MDIO_SERDES_DIGITAL_A_1000X_STATUS2_AN_DISABLED,4,2 ; @MDIO_SERDES_DIGITAL_A_1000X_STATUS2_AN_DISABLED
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1G parallel detect link on port %d\n"

	.comm	_MDIO_REG_BANK_10G_PARALLEL_DETECT,4,2 ; @MDIO_REG_BANK_10G_PARALLEL_DETECT
	.comm	_MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS,4,2 ; @MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS
	.comm	_MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS_PD_LINK,4,2 ; @MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS_PD_LINK
l_.str.1:                               ; @.str.1
	.asciz	"10G parallel detect link on port %d\n"

	.no_dead_strip	_bnx2x_direct_parallel_detect_used
.subsections_via_symbols
