	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksz8041_config_aneg
_ksz8041_config_aneg:                   ## @ksz8041_config_aneg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MICREL_PHY_FXEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	popq	%rbp
	jmp	_genphy_config_aneg             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MICREL_PHY_FXEN,4,2            ## @MICREL_PHY_FXEN
	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.no_dead_strip	_ksz8041_config_aneg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksz8041_config_aneg
_ksz8041_config_aneg:                   ; @ksz8041_config_aneg
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MICREL_PHY_FXEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MICREL_PHY_FXEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	mov	w0, #0
	ret
LBB0_2:
	b	_genphy_config_aneg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MICREL_PHY_FXEN,4,2            ; @MICREL_PHY_FXEN
	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.no_dead_strip	_ksz8041_config_aneg
.subsections_via_symbols
