	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_identify_phy_generic     ## -- Begin function ixgbe_identify_phy_generic
	.p2align	4, 0x90
_ixgbe_identify_phy_generic:            ## @ixgbe_identify_phy_generic
	.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	_IXGBE_ERR_PHY_ADDR_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	$0, -44(%rbp)
	movq	(%rdi), %rax
	movq	_ixgbe_phy_unknown@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.1:
	movq	%rdi, %r14
	movq	_IXGBE_MAX_PHY_ADDR@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	jle	LBB0_5
## %bb.2:
	leaq	8(%r14), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, (%r12)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_mdio45_probe
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	(%r13), %rbx
	jl	LBB0_3
LBB0_5:
	testq	%r15, %r15
	je	LBB0_15
## %bb.6:
	movq	$0, 8(%r14)
	jmp	LBB0_16
LBB0_8:
	movq	%r14, %rdi
	callq	_ixgbe_get_phy_id
	movl	24(%r14), %edi
	callq	_ixgbe_get_phy_type_from_id
	movq	%rax, (%r14)
	movq	_ixgbe_phy_unknown@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.9:
	movq	_MDIO_PMA_EXTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MDIO_MMD_PMAPMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	callq	*16(%r14)
	movq	_MDIO_PMA_EXTABLE_10GBT@GOTPCREL(%rip), %rax
	movq	_MDIO_PMA_EXTABLE_1000BT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, -44(%rbp)
	je	LBB0_13
## %bb.10:
	movq	_ixgbe_phy_cu_unknown@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_ixgbe_phy_generic@GOTPCREL(%rip), %rax
LBB0_14:
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_15:
	xorl	%r15d, %r15d
LBB0_16:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ERR_PHY_ADDR_INVALID,8,3 ## @IXGBE_ERR_PHY_ADDR_INVALID
	.comm	_ixgbe_phy_unknown,8,3          ## @ixgbe_phy_unknown
	.comm	_IXGBE_MAX_PHY_ADDR,8,3         ## @IXGBE_MAX_PHY_ADDR
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_identify_phy_generic     ; -- Begin function ixgbe_identify_phy_generic
	.p2align	2
_ixgbe_identify_phy_generic:            ; @ixgbe_identify_phy_generic
	.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
Lloh0:
	adrp	x8, _IXGBE_ERR_PHY_ADDR_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_ERR_PHY_ADDR_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	str	wzr, [sp, #12]
	ldr	x8, [x0]
Lloh3:
	adrp	x23, _ixgbe_phy_unknown@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ixgbe_phy_unknown@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x24, _IXGBE_MAX_PHY_ADDR@GOTPAGE
Lloh6:
	ldr	x24, [x24, _IXGBE_MAX_PHY_ADDR@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
	add	x22, x19, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x21, [x22]
	mov	x0, x22
	mov	x1, x21
	bl	_mdio45_probe
	cbz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	x8, [x24]
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_5:
	cbz	x20, LBB0_11
; %bb.6:
	str	xzr, [x19, #8]
	b	LBB0_11
LBB0_7:
	mov	x0, x19
	bl	_ixgbe_get_phy_id
	ldr	w0, [x19, #24]
	bl	_ixgbe_get_phy_type_from_id
	str	x0, [x19]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.8:
	ldr	x8, [x19, #16]
Lloh7:
	adrp	x9, _MDIO_PMA_EXTABLE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MDIO_PMA_EXTABLE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
Lloh10:
	adrp	x9, _MDIO_MMD_PMAPMD@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MDIO_MMD_PMAPMD@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x9]
	add	x3, sp, #12
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #12]
Lloh13:
	adrp	x9, _MDIO_PMA_EXTABLE_10GBT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MDIO_PMA_EXTABLE_10GBT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _MDIO_PMA_EXTABLE_1000BT@GOTPAGE
Lloh17:
	ldr	x10, [x10, _MDIO_PMA_EXTABLE_1000BT@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_12
; %bb.9:
	mov	x20, #0
Lloh19:
	adrp	x8, _ixgbe_phy_cu_unknown@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ixgbe_phy_cu_unknown@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
	mov	x20, #0
LBB0_11:
	mov	x0, x20
	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
LBB0_12:
	mov	x20, #0
Lloh21:
	adrp	x8, _ixgbe_phy_generic@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ixgbe_phy_generic@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ERR_PHY_ADDR_INVALID,8,3 ; @IXGBE_ERR_PHY_ADDR_INVALID
	.comm	_ixgbe_phy_unknown,8,3          ; @ixgbe_phy_unknown
	.comm	_IXGBE_MAX_PHY_ADDR,8,3         ; @IXGBE_MAX_PHY_ADDR
	.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
.subsections_via_symbols
