	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd8111e_probe_ext_phy
_amd8111e_probe_ext_phy:                ## @amd8111e_probe_ext_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	%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
	callq	_netdev_priv
	movq	%rax, %r14
	movl	$30, %ebx
	movq	_MII_PHYSID1@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r15
	leaq	-44(%rbp), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	addl	$-1, %ebx
	jae	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rcx
	callq	_amd8111e_read_phy
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_MII_PHYSID2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rcx
	callq	_amd8111e_read_phy
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	-48(%rbp), %eax
	shll	$16, %eax
	orl	-44(%rbp), %eax
	movl	%eax, (%r14)
	movl	%ebx, 4(%r14)
	jmp	LBB0_6
LBB0_5:
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_PHYSID1,4,2                ## @MII_PHYSID1
	.comm	_MII_PHYSID2,4,2                ## @MII_PHYSID2
	.no_dead_strip	_amd8111e_probe_ext_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function amd8111e_probe_ext_phy
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_amd8111e_probe_ext_phy:                ; @amd8111e_probe_ext_phy
	.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
	bl	_netdev_priv
	mov	x19, x0
	mov	w20, #30
Lloh0:
	adrp	x21, _MII_PHYSID1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MII_PHYSID1@GOTPAGEOFF]
Lloh2:
	adrp	x22, _MII_PHYSID2@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MII_PHYSID2@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w20, w20, #1
	cmn	w20, #1
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_amd8111e_read_phy
	cbnz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x22]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_amd8111e_read_phy
	cbnz	x0, LBB0_1
; %bb.4:
	ldp	w9, w8, [sp, #8]
	orr	w8, w9, w8, lsl #16
	stp	w8, w20, [x19]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
LBB0_6:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_PHYSID1,4,2                ; @MII_PHYSID1
	.comm	_MII_PHYSID2,4,2                ; @MII_PHYSID2
	.no_dead_strip	_amd8111e_probe_ext_phy
.subsections_via_symbols
