	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv3310_update_interface
_mv3310_update_interface:               ## @mv3310_update_interface
	.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), %rsi
	movq	_PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_PHY_INTERFACE_MODE_2500BASEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PHY_INTERFACE_MODE_10GKR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rdx, %rsi
	je	LBB0_3
## %bb.1:
	cmpq	%rcx, %rsi
	je	LBB0_3
## %bb.2:
	cmpq	%rax, %rsi
	je	LBB0_3
LBB0_9:
	popq	%rbp
	retq
LBB0_3:
	cmpq	$0, 16(%rdi)
	je	LBB0_9
## %bb.4:
	movl	8(%rdi), %r8d
	leal	-130(%r8), %esi
	cmpl	$3, %esi
	jae	LBB0_5
## %bb.7:
	movq	%rdx, %rax
	jmp	LBB0_8
LBB0_5:
	cmpl	$129, %r8d
	je	LBB0_8
## %bb.6:
	movq	%rcx, %rax
	cmpl	$128, %r8d
	jne	LBB0_9
LBB0_8:
	movq	%rax, (%rdi)
	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_10GKR,8,3   ## @PHY_INTERFACE_MODE_10GKR
	.no_dead_strip	_mv3310_update_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv3310_update_interface
_mv3310_update_interface:               ; @mv3310_update_interface
	.cfi_startproc
; %bb.0:
	ldr	x11, [x0]
Lloh0:
	adrp	x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _PHY_INTERFACE_MODE_2500BASEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_2500BASEX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x10, _PHY_INTERFACE_MODE_10GKR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PHY_INTERFACE_MODE_10GKR@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x11, x9
	ccmp	x11, x8, #4, ne
	ccmp	x11, x10, #4, ne
	b.ne	LBB0_6
; %bb.1:
	ldr	x11, [x0, #16]
	cbz	x11, LBB0_6
; %bb.2:
	ldr	w11, [x0, #8]
	sub	w12, w11, #130
	cmp	w12, #3
	b.hs	LBB0_4
; %bb.3:
	mov	x8, x9
	b	LBB0_8
LBB0_4:
	cmp	w11, #129
	b.eq	LBB0_7
; %bb.5:
	cmp	w11, #128
	b.eq	LBB0_8
LBB0_6:
	ret
LBB0_7:
	mov	x8, x10
LBB0_8:
	str	x8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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_10GKR,8,3   ; @PHY_INTERFACE_MODE_10GKR
	.no_dead_strip	_mv3310_update_interface
.subsections_via_symbols
