	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_probe_phy
_ixgbe_probe_phy:                       ## @ixgbe_probe_phy
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$0, -20(%rbp)
	addq	$20, %rdi
	movl	%esi, 20(%rbx)
	callq	_mdio45_probe
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_ixgbe_get_phy_id
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movl	16(%rbx), %edi
	callq	_ixgbe_get_phy_type_from_id
	movq	%rax, (%rbx)
	movq	_ixgbe_phy_unknown@GOTPCREL(%rip), %rcx
	movl	$1, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	_MDIO_PMA_EXTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MDIO_MMD_PMAPMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	_MDIO_PMA_EXTABLE_10GBT@GOTPCREL(%rip), %rax
	movq	_MDIO_PMA_EXTABLE_1000BT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	andl	-20(%rbp), %ecx
	jne	LBB0_4
## %bb.5:
	movq	_ixgbe_phy_generic@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_ixgbe_phy_cu_unknown@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_7:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ixgbe_phy_unknown,8,3          ## @ixgbe_phy_unknown
	.comm	_MDIO_PMA_EXTABLE,4,2           ## @MDIO_PMA_EXTABLE
	.comm	_MDIO_MMD_PMAPMD,4,2            ## @MDIO_MMD_PMAPMD
	.comm	_MDIO_PMA_EXTABLE_10GBT,4,2     ## @MDIO_PMA_EXTABLE_10GBT
	.comm	_MDIO_PMA_EXTABLE_1000BT,4,2    ## @MDIO_PMA_EXTABLE_1000BT
	.comm	_ixgbe_phy_cu_unknown,8,3       ## @ixgbe_phy_cu_unknown
	.comm	_ixgbe_phy_generic,8,3          ## @ixgbe_phy_generic
	.no_dead_strip	_ixgbe_probe_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_probe_phy
_ixgbe_probe_phy:                       ; @ixgbe_probe_phy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	wzr, [sp, #12]
	str	w1, [x0, #20]!
	bl	_mdio45_probe
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_ixgbe_get_phy_id
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	ldr	w0, [x19, #16]
	bl	_ixgbe_get_phy_type_from_id
	str	x0, [x19]
Lloh0:
	adrp	x8, _ixgbe_phy_unknown@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ixgbe_phy_unknown@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _MDIO_PMA_EXTABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MDIO_PMA_EXTABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x9, _MDIO_MMD_PMAPMD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MDIO_MMD_PMAPMD@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x9]
	add	x3, sp, #12
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #12]
Lloh9:
	adrp	x9, _MDIO_PMA_EXTABLE_10GBT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MDIO_PMA_EXTABLE_10GBT@GOTPAGEOFF]
Lloh11:
	adrp	x10, _MDIO_PMA_EXTABLE_1000BT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _MDIO_PMA_EXTABLE_1000BT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _ixgbe_phy_generic@GOTPAGE
Lloh16:
	ldr	x11, [x11, _ixgbe_phy_generic@GOTPAGEOFF]
Lloh17:
	adrp	x12, _ixgbe_phy_cu_unknown@GOTPAGE
Lloh18:
	ldr	x12, [x12, _ixgbe_phy_cu_unknown@GOTPAGEOFF]
	orr	w9, w10, w9
	tst	w9, w8
	csel	x8, x11, x12, eq
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ixgbe_phy_unknown,8,3          ; @ixgbe_phy_unknown
	.comm	_MDIO_PMA_EXTABLE,4,2           ; @MDIO_PMA_EXTABLE
	.comm	_MDIO_MMD_PMAPMD,4,2            ; @MDIO_MMD_PMAPMD
	.comm	_MDIO_PMA_EXTABLE_10GBT,4,2     ; @MDIO_PMA_EXTABLE_10GBT
	.comm	_MDIO_PMA_EXTABLE_1000BT,4,2    ; @MDIO_PMA_EXTABLE_1000BT
	.comm	_ixgbe_phy_cu_unknown,8,3       ; @ixgbe_phy_cu_unknown
	.comm	_ixgbe_phy_generic,8,3          ; @ixgbe_phy_generic
	.no_dead_strip	_ixgbe_probe_phy
.subsections_via_symbols
