	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_phy_probe_info
_fill_phy_probe_info:                   ## @fill_phy_probe_info
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r12, %rdi
	callq	_niu_lock_parent
	movl	$8, %r13d
	movq	_MII_PHYSID1@GOTPCREL(%rip), %r14
	movq	_MII_PHYSID2@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_NIU_PMA_PMD_DEV_ADDR@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rcx, %rbx
	movl	(%r14), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_mdio_read
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	(%r15), %edx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_mdio_read
	movq	_PHY_TYPE_PMA_PMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	movl	%r13d, %r8d
	callq	_phy_record
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_NIU_PCS_DEV_ADDR@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_MII_PHYSID1@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_mdio_read
	movl	%eax, %ebx
	movl	(%r14), %edx
	movq	_MII_PHYSID2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_mdio_read
	movq	_PHY_TYPE_PCS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	%r13d, %r8d
	callq	_phy_record
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %r14
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_mii_read
	movl	%eax, %ebx
	movq	_MII_PHYSID2@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_mii_read
	movq	_PHY_TYPE_MII@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	%r13d, %r8d
	callq	_phy_record
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rcx
	incl	%r13d
	cmpl	$32, %r13d
	jne	LBB0_1
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %ebx
LBB0_7:
	movq	%r12, %rdi
	callq	_niu_unlock_parent
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIU_PMA_PMD_DEV_ADDR,4,2       ## @NIU_PMA_PMD_DEV_ADDR
	.comm	_MII_PHYSID1,4,2                ## @MII_PHYSID1
	.comm	_MII_PHYSID2,4,2                ## @MII_PHYSID2
	.comm	_PHY_TYPE_PMA_PMD,4,2           ## @PHY_TYPE_PMA_PMD
	.comm	_NIU_PCS_DEV_ADDR,4,2           ## @NIU_PCS_DEV_ADDR
	.comm	_PHY_TYPE_PCS,4,2               ## @PHY_TYPE_PCS
	.comm	_PHY_TYPE_MII,4,2               ## @PHY_TYPE_MII
	.no_dead_strip	_fill_phy_probe_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_phy_probe_info
_fill_phy_probe_info:                   ; @fill_phy_probe_info
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	bl	_niu_lock_parent
	mov	w22, #8
Lloh0:
	adrp	x24, _NIU_PMA_PMD_DEV_ADDR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NIU_PMA_PMD_DEV_ADDR@GOTPAGEOFF]
Lloh2:
	adrp	x25, _MII_PHYSID1@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MII_PHYSID1@GOTPAGEOFF]
Lloh4:
	adrp	x26, _MII_PHYSID2@GOTPAGE
Lloh5:
	ldr	x26, [x26, _MII_PHYSID2@GOTPAGEOFF]
Lloh6:
	adrp	x27, _PHY_TYPE_PMA_PMD@GOTPAGE
Lloh7:
	ldr	x27, [x27, _PHY_TYPE_PMA_PMD@GOTPAGEOFF]
Lloh8:
	adrp	x28, _NIU_PCS_DEV_ADDR@GOTPAGE
Lloh9:
	ldr	x28, [x28, _NIU_PCS_DEV_ADDR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x1, x22
	bl	_mdio_read
	mov	x23, x0
	ldr	w2, [x24]
	ldr	w3, [x26]
	mov	x0, x19
	mov	x1, x22
	bl	_mdio_read
	mov	x3, x0
	ldr	w5, [x27]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x4, x22
	bl	_phy_record
	cbnz	w0, LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x28]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x1, x22
	bl	_mdio_read
	mov	x23, x0
	ldr	w2, [x28]
	ldr	w3, [x26]
	mov	x0, x19
	mov	x1, x22
	bl	_mdio_read
	mov	x3, x0
Lloh10:
	adrp	x8, _PHY_TYPE_PCS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PHY_TYPE_PCS@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x4, x22
	bl	_phy_record
	cbnz	w0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x25]
	mov	x0, x19
	mov	x1, x22
	bl	_mii_read
	mov	x23, x0
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x22
	bl	_mii_read
	mov	x3, x0
Lloh13:
	adrp	x8, _PHY_TYPE_MII@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PHY_TYPE_MII@GOTPAGEOFF]
Lloh15:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x4, x22
	bl	_phy_record
	cbnz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w22, w22, #1
	cmp	w22, #32
	b.ne	LBB0_1
; %bb.5:
	mov	w23, #0
	b	LBB0_7
LBB0_6:
	mov	x23, x0
LBB0_7:
	mov	x0, x19
	bl	_niu_unlock_parent
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NIU_PMA_PMD_DEV_ADDR,4,2       ; @NIU_PMA_PMD_DEV_ADDR
	.comm	_MII_PHYSID1,4,2                ; @MII_PHYSID1
	.comm	_MII_PHYSID2,4,2                ; @MII_PHYSID2
	.comm	_PHY_TYPE_PMA_PMD,4,2           ; @PHY_TYPE_PMA_PMD
	.comm	_NIU_PCS_DEV_ADDR,4,2           ; @NIU_PCS_DEV_ADDR
	.comm	_PHY_TYPE_PCS,4,2               ; @PHY_TYPE_PCS
	.comm	_PHY_TYPE_MII,4,2               ; @PHY_TYPE_MII
	.no_dead_strip	_fill_phy_probe_info
.subsections_via_symbols
