	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv3310_config_init
_mv3310_config_init:                    ## @mv3310_config_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %r8
	movq	_PHY_INTERFACE_MODE_2500BASEX@GOTPCREL(%rip), %r9
	movq	_PHY_INTERFACE_MODE_XAUI@GOTPCREL(%rip), %r10
	movq	_PHY_INTERFACE_MODE_RXAUI@GOTPCREL(%rip), %r11
	movq	_PHY_INTERFACE_MODE_10GKR@GOTPCREL(%rip), %rsi
	movq	_ENODEV@GOTPCREL(%rip), %rdi
	xorl	%edx, %edx
	xorl	%eax, %eax
	subl	(%rdi), %eax
	cmpq	(%rsi), %rcx
	cmovel	%edx, %eax
	cmpq	(%r11), %rcx
	cmovel	%edx, %eax
	cmpq	(%r10), %rcx
	cmovel	%edx, %eax
	cmpq	(%r9), %rcx
	cmovel	%edx, %eax
	cmpq	(%r8), %rcx
	cmovel	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INTERFACE_MODE_SGMII,8,3   ## @PHY_INTERFACE_MODE_SGMII
	.comm	_PHY_INTERFACE_MODE_2500BASEX,8,3 ## @PHY_INTERFACE_MODE_2500BASEX
	.comm	_PHY_INTERFACE_MODE_XAUI,8,3    ## @PHY_INTERFACE_MODE_XAUI
	.comm	_PHY_INTERFACE_MODE_RXAUI,8,3   ## @PHY_INTERFACE_MODE_RXAUI
	.comm	_PHY_INTERFACE_MODE_10GKR,8,3   ## @PHY_INTERFACE_MODE_10GKR
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_mv3310_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv3310_config_init
_mv3310_config_init:                    ; @mv3310_config_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _PHY_INTERFACE_MODE_2500BASEX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PHY_INTERFACE_MODE_2500BASEX@GOTPAGEOFF]
Lloh5:
	adrp	x11, _PHY_INTERFACE_MODE_XAUI@GOTPAGE
Lloh6:
	ldr	x11, [x11, _PHY_INTERFACE_MODE_XAUI@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	ldr	x11, [x11]
Lloh9:
	adrp	x12, _PHY_INTERFACE_MODE_RXAUI@GOTPAGE
Lloh10:
	ldr	x12, [x12, _PHY_INTERFACE_MODE_RXAUI@GOTPAGEOFF]
Lloh11:
	adrp	x13, _PHY_INTERFACE_MODE_10GKR@GOTPAGE
Lloh12:
	ldr	x13, [x13, _PHY_INTERFACE_MODE_10GKR@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
Lloh14:
	ldr	x13, [x13]
	cmp	x9, x13
	ccmp	x9, x12, #4, ne
	ccmp	x9, x11, #4, ne
	ccmp	x9, x10, #4, ne
	ccmp	x9, x8, #4, ne
Lloh15:
	adrp	x8, _ENODEV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	csneg	w0, wzr, w8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INTERFACE_MODE_SGMII,8,3   ; @PHY_INTERFACE_MODE_SGMII
	.comm	_PHY_INTERFACE_MODE_2500BASEX,8,3 ; @PHY_INTERFACE_MODE_2500BASEX
	.comm	_PHY_INTERFACE_MODE_XAUI,8,3    ; @PHY_INTERFACE_MODE_XAUI
	.comm	_PHY_INTERFACE_MODE_RXAUI,8,3   ; @PHY_INTERFACE_MODE_RXAUI
	.comm	_PHY_INTERFACE_MODE_10GKR,8,3   ; @PHY_INTERFACE_MODE_10GKR
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_mv3310_config_init
.subsections_via_symbols
