	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_sanitize_settings          ## -- Begin function phy_sanitize_settings
	.p2align	4, 0x90
_phy_sanitize_settings:                 ## @phy_sanitize_settings
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
LBB0_2:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	callq	_phy_find_setting
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_phy_find_valid
	movq	_settings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	4(%rcx,%rax,8), %edx
	movl	%edx, 8(%rbx)
	movl	(%rcx,%rax,8), %eax
	movl	%eax, 4(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_settings,8,3                   ## @settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_sanitize_settings          ; -- Begin function phy_sanitize_settings
	.p2align	2
_phy_sanitize_settings:                 ; @phy_sanitize_settings
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _SUPPORTED_Autoneg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AUTONEG_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #12]
LBB0_2:
	ldp	w1, w0, [x19, #4]
	bl	_phy_find_setting
	mov	x1, x20
	bl	_phy_find_valid
Lloh6:
	adrp	x8, _settings@GOTPAGE
Lloh7:
	ldr	x8, [x8, _settings@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	d0, [x8, w0, sxtw #3]
	stur	d0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_settings,8,3                   ; @settings
.subsections_via_symbols
